Log Message
[css3-text] Add repaint tests for -webkit-text-decoration-line https://bugs.webkit.org/show_bug.cgi?id=94480
Patch by Bruno de Oliveira Abinader <[email protected]> on 2012-08-21 Reviewed by Julien Chaffraix. Changeset r125205 introduced new CSS3 property "-webkit-text-decoration-line". This patch adds repaint layout tests for this property. * fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png: Added. * fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.txt: Added. * fast/css3-text-decoration/repaint/repaint-text-decoration-line.html: Added. Expected results generated from Chromium Linux build.
Modified Paths
Added Paths
- trunk/LayoutTests/fast/css3-text-decoration/repaint/
- trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png
- trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.txt
- trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line.html
Diff
Modified: trunk/LayoutTests/ChangeLog (126223 => 126224)
--- trunk/LayoutTests/ChangeLog 2012-08-21 23:53:21 UTC (rev 126223)
+++ trunk/LayoutTests/ChangeLog 2012-08-21 23:55:27 UTC (rev 126224)
@@ -1,3 +1,18 @@
+2012-08-21 Bruno de Oliveira Abinader <[email protected]>
+
+ [css3-text] Add repaint tests for -webkit-text-decoration-line
+ https://bugs.webkit.org/show_bug.cgi?id=94480
+
+ Reviewed by Julien Chaffraix.
+
+ Changeset r125205 introduced new CSS3 property "-webkit-text-decoration-line".
+ This patch adds repaint layout tests for this property.
+
+ * fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png: Added.
+ * fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.txt: Added.
+ * fast/css3-text-decoration/repaint/repaint-text-decoration-line.html: Added.
+ Expected results generated from Chromium Linux build.
+
2012-08-21 Levi Weintraub <[email protected]>
Unreviewed gardening. Further rebaselining following r126110.
Added: trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png (0 => 126224)
--- trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png (rev 0)
+++ trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png 2012-08-21 23:55:27 UTC (rev 126224)
@@ -0,0 +1,6 @@
+\x89PNG
+
+
+IHDR X ' )tEXtchecksum 86e4bdff17fc16b156e95308df23e46c\x89\x8CE\xDF \x8EIDATx\x9C\xED\xDDA\x8E\xE3 @\xC1\xF1(w\xCC\xFB\x94\xF4 `a?\xD3rR\xB5\x8D@a\xF7\xF4\xB1\xEC\xE3\xFD~\xFF \xA0\xF3\xFF\xAF\xFF \xC0\xA7X 1\x81 X 1\x81 X 1\x81 X 1\x81 {\xCD~\xF8\xF9\xF9Y,c,~=\x8Ec\xF1\xABw\xC7 \x9F\xCD &\xB0 b &\xB0 b &\xB0 b &\xB0 b\xD3\x8D\xAE\xAD_%
+ \xF0ͦ\xACq\x9B\x9D\xC7 \xD8\xCF! @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @lX\xC7mv `\xBF\x93\xDF"\\xF1FE \xDF\xCC! @L` \xC4 @L` \xC4 @L` \xC4 @L` Ħ\x815\x96֛^Y \xF0t&X 1\x81 X 1\x81 X 1\x81 X 1\x81 X \xB1i`K\xEBM\xAF\xAC x:, \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88\xBD\xCE-\xF3\xAC: \xC0\xCC\xC9\xC0c,~\x95_ \xC07sE X 1\x81 \x9B\xD6XZoze- \xC0ә` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` Ħ\x81u\xDCf\xE7\xF1 \xF6{\x9D[\xB6\xFE⍊ \xBE\x99+B \x80\x98\xC0 \x88 , \x80\xD8\xC9g\xB0<e 0\xE3!w \x80\x98+B \x80\x98\xC0 \x88y 6\x9D`\x8D\xDB\xEC< \xC0~\xAE b &\xB0 b &\xB0 b &\xB0 b &\xB0 b\xD3\xC0:\x96֛^Y \xF0t&X 1\x81 X 1\x81 X 1\x81 X 1\x81 X \xB1i`\x8D\xA5\xF5\xA6W\xD6 <\x9D @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @lX\xC7\xD2z\xD3+k \x9E\xCE &\xB0 b &\xB0 b &\xB0 b &\xB0 b 6
+\xAC\xB1\xB4\xDE\xF4\xCAZ \x80\xA73\xC1 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88M\xEBXZoze- \xC0ә` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @\xECun\x99\xF7\x85 \xCCL'X\xE36;\x8F \xB0\x9F+B \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\xD84\xB0\x8E\xA5\xF5\xA6W\xD6 <\x9D @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4^\xE7\x96y_( \xC0\xCCt\x825n\xB3\xF3x \xFB\xB9" \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88M\xEBXZoze- \xC0ә` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @\xECun\x99\xF7\x85 \xCCL'X\xE36;\x8F \xB0\x9F+B \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\xD84\xB0\x8E\xDB\xEC< \xC0~'\xBFE\xB8\xFE⍊ \xBE\x99+B \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88\xEF\xF7\xFB\xAF\xFF \xC0G1\xC1 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88 , \x80\x98\xC0 \x88\xFDE\xC1\xCD\xCA\xF6*K IEND\xAEB`\x82
\ No newline at end of file
Added: trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.txt (0 => 126224)
--- trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.txt 2012-08-21 23:55:27 UTC (rev 126224)
@@ -0,0 +1,19 @@
+> <
+
+> <
+
+> <
+
+> <
+
+> <
+
+> <
+
+> <
+
+> <
+
+> <
+
+> <
Added: trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line.html (0 => 126224)
--- trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line.html (rev 0)
+++ trunk/LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line.html 2012-08-21 23:55:27 UTC (rev 126224)
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <!-- Bugzilla link: http://webkit.org/b/94480 -->
+ <title>CSS Test: CSS3 text-decoration-line repaint</title>
+ <link rel="help" href=""
+ <meta name="flags" content="ahem"/>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText(true);
+ </script>
+ <script src="" type="text/_javascript_"></script>
+ <script>
+ function repaintTest() {
+ document.getElementById("test-underline").style.webkitTextDecorationLine = 'underline';
+ document.getElementById("test-overline").style.webkitTextDecorationLine = 'overline';
+ document.getElementById("test-line-through").style.webkitTextDecorationLine = 'line-through';
+ document.getElementById("test-all").style.webkitTextDecorationLine = 'underline overline line-through';
+ document.getElementById("test-invalid-blink").style.webkitTextDecorationLine = 'blink';
+ document.getElementById("test-invalid-inherit").style.webkitTextDecorationLine = 'inherit';
+ document.getElementById("test-initial-explicit").style.webkitTextDecorationLine = 'initial';
+ document.getElementById("test-initial-empty").style.webkitTextDecorationLine = '';
+ document.getElementById("test-parent").style.webkitTextDecorationLine = 'underline';
+ document.getElementById("test-ancestor").style.webkitTextDecorationLine = 'overline';
+ }
+ </script>
+ </head>
+ <body _onload_="runRepaintTest();" style="font: 10px Ahem; -webkit-font-smoothing: none;">
+ <!-- Valid values repaint ("webkit-text-decoration-line" overwrites "text-decoration" on repaintTest(). -->
+ <p><span id="test-underline" style="text-decoration: none;">> <</span></p>
+ <p><span id="test-overline" style="text-decoration: none;">> <</span></p>
+ <p><span id="test-line-through" style="text-decoration: none;">> <</span></p>
+ <p><span id="test-all" style="text-decoration: none;">> <</span></p>
+
+ <!-- Parent value is not set, so fallback to initial "none" value. -->
+ <p><span id="test-invalid-inherit" style="text-decoration: underline;">> <</span></p>
+
+ <!-- Explicit 'initial' value computed style is 'none'. -->
+ <p><span id="test-initial-explicit" style="text-decoration: underline;">> <</span></p>
+
+ <!-- "text-decoration-line" property does not accept 'blink' value. -->
+ <p><span id="test-invalid-blink" style="text-decoration: underline;">> <</span></p>
+
+ <!-- Empty value treated as invalid, so fallback to last valid value "underline". -->
+ <p><span id="test-initial-empty" style="text-decoration: underline;">> <</span></p>
+
+ <!-- Ancestor inherits "-webkit-text-decoration-line" value from parent on repaintTest(). -->
+ <p><span id="test-parent"><span>> <</span></span></p>
+
+ <!-- Ancestor overwrites parent value on repaintTest(). -->
+ <p><span style="-webkit-text-decoration-style: underline;"><span id="test-ancestor">> <</span></span></p>
+ </body>
+</html>
_______________________________________________ webkit-changes mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-changes
