forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't enforce end points for dotted line on text
Sometimes the first or the last dot of dotted line for text is too heavy and long. We should improve this. Bug: 807368 Change-Id: I2851c964892b145154514c6f38e8025a8c29a7b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2319501 Commit-Queue: Sang Woo Ko <sangwoo108@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#795789}
- Loading branch information
1 parent
7888f7d
commit d8031b1
Showing
23 changed files
with
69 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
...arty/blink/web_tests/fast/css3-text/css3-text-decoration/text-decoration-dotted-line.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>CSS Test: CSS3 text-decoration dotted line for text test</title> | ||
<link rel="help" href="http://http://dev.w3.org/csswg/css3-text/#text-decoration-style"/> | ||
<meta name="flags" content="ahem"/> | ||
<style> | ||
.overline { | ||
text-decoration: overline; | ||
text-decoration-skip-ink: auto; | ||
text-decoration-style: dotted; | ||
text-decoration-skip-ink: none; | ||
text-decoration-color: red; | ||
} | ||
|
||
.line-through { | ||
text-decoration: line-through; | ||
text-decoration-skip-ink: auto; | ||
text-decoration-style: dotted; | ||
text-decoration-skip-ink: none; | ||
text-decoration-color: red; | ||
} | ||
|
||
.underline { | ||
text-decoration: underline; | ||
text-decoration-skip-ink: auto; | ||
text-decoration-style: dotted; | ||
text-decoration-skip-ink: none; | ||
text-decoration-color: red; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="overline">Lorem ipsum dolor sit amet</div> | ||
<div class="overline">Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a.</div> | ||
<div class="overline">Quisque velit nisi, pretium ut lacinia in, elementum id enim.</div> | ||
<div class="overline">Nulla porttitor accumsan tincidunt.</div> | ||
<div class="overline">Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.</div> | ||
|
||
<div class="line-through">Lorem ipsum dolor sit amet</div> | ||
<div class="line-through">Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a.</div> | ||
<div class="line-through">Quisque velit nisi, pretium ut lacinia in, elementum id enim.</div> | ||
<div class="line-through">Nulla porttitor accumsan tincidunt.</div> | ||
<div class="line-through">Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.</div> | ||
|
||
<div class="underline">Lorem ipsum dolor sit amet</div> | ||
<div class="underline">Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a.</div> | ||
<div class="underline">Quisque velit nisi, pretium ut lacinia in, elementum id enim.</div> | ||
<div class="underline">Nulla porttitor accumsan tincidunt.</div> | ||
<div class="underline">Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.</div> | ||
</body> | ||
</html> |
Binary file modified
BIN
+137 Bytes
(100%)
...tests/fast/css3-text/css3-text-decoration/text-decoration-skip-ink-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-22 Bytes
(100%)
...eb_tests/fast/css3-text/css3-text-decoration/text-decoration-style-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+39.9 KB
...ux/fast/css3-text/css3-text-decoration/text-decoration-dotted-line-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-12 Bytes
(100%)
...rm/linux/fast/css3-text/css3-text-decoration/text-decoration-style-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.75 KB
(100%)
.../fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
...nk/web_tests/platform/linux/paint/markers/composition-marker-basic-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4 Bytes
(100%)
...color-scheme/composition_marker/composition-marker-basic-dark-mode-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.5 KB
...etina/fast/css3-text/css3-text-decoration/text-decoration-skip-ink-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.21 KB
...c-retina/fast/css3-text/css3-text-decoration/text-decoration-style-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.6 KB
.../fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.01 KB
...b_tests/platform/mac-retina/paint/markers/composition-marker-basic-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.46 KB
...color-scheme/composition_marker/composition-marker-basic-dark-mode-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12.7 KB
...ac/fast/css3-text/css3-text-decoration/text-decoration-dotted-line-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.76 KB
(110%)
.../fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4 Bytes
(100%)
...link/web_tests/platform/mac/paint/markers/composition-marker-basic-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6 Bytes
(100%)
...color-scheme/composition_marker/composition-marker-basic-dark-mode-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12.5 KB
...in/fast/css3-text/css3-text-decoration/text-decoration-dotted-line-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.05 KB
(110%)
.../fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...link/web_tests/platform/win/paint/markers/composition-marker-basic-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1 Byte
(100%)
...color-scheme/composition_marker/composition-marker-basic-dark-mode-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.