Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Unified Diff: LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html

Issue 14576017: Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed updated on text-underline-position for now (to be discussed & re-added later) Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html b/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
index 8b41bdf800eaf97a8138ef21a067f2fdfcb4ac00..b8843cdec05e26025c6c15b3a61d406f5cf3274b 100644
--- a/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
+++ b/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
@@ -12,22 +12,22 @@
<script src="../../../repaint/resources/repaint.js" type="text/javascript"></script>
<script>
function repaintTest() {
- document.getElementById("test-initial-blank").style.webkitTextDecorationStyle = '';
- document.getElementById("test-initial-explicit").style.webkitTextDecorationStyle = 'initial';
- document.getElementById("test-invalid-unknown").style.webkitTextDecorationStyle = 'unknown';
- document.getElementById("test-inherit-explicit").style.webkitTextDecorationStyle = 'inherit';
- document.getElementById("test-repaint-parent").style.webkitTextDecorationStyle = 'double';
+ document.getElementById("test-initial-blank").style.textDecorationStyle = '';
+ document.getElementById("test-initial-explicit").style.textDecorationStyle = 'initial';
+ document.getElementById("test-invalid-unknown").style.textDecorationStyle = 'unknown';
+ document.getElementById("test-inherit-explicit").style.textDecorationStyle = 'inherit';
+ document.getElementById("test-repaint-parent").style.textDecorationStyle = 'double';
}
</script>
</head>
<body onload="runRepaintTest();" style="font: 20px Ahem; -webkit-font-smoothing: none; -webkit-text-stroke: 1px black; -webkit-text-fill-color: white;">
<!-- Blank and 'initial' values fallbacks to 'solid' on repaintTest(). -->
- <p><span id="test-initial-blank" style="text-decoration: underline; -webkit-text-decoration-style: double;">lorem ipsum</span></p>
- <p><span id="test-initial-explicit" style="text-decoration: underline; -webkit-text-decoration-style: double;">lorem ipsum</span></p>
+ <p><span id="test-initial-blank" style="text-decoration: underline; text-decoration-style: double;">lorem ipsum</span></p>
+ <p><span id="test-initial-explicit" style="text-decoration: underline; text-decoration-style: double;">lorem ipsum</span></p>
<!-- Unknown value is ignored and fallback to last valid value on repaintTest() -->
- <p><span id="test-invalid-unknown" style="text-decoration: underline; -webkit-text-decoration-style: double;">lorem ipsum</span></p>
+ <p><span id="test-invalid-unknown" style="text-decoration: underline; text-decoration-style: double;">lorem ipsum</span></p>
<!-- Ancestor can explicitly request 'inherit' from parent on repaintTest() -->
- <p><span style="text-decoration: underline; -webkit-text-decoration-style: double;"><span id="test-inherit-explicit" style="-webkit-text-decoration-style: dashed;">lorem ipsum</span></span></p>
+ <p><span style="text-decoration: underline; text-decoration-style: double;"><span id="test-inherit-explicit" style="text-decoration-style: dashed;">lorem ipsum</span></span></p>
<!-- Ancestor span should not inherit 'double' style from parent on repaintTest(). -->
<p><span id="test-repaint-parent" style="text-decoration: underline;"><span>lorem ipsum</span></span></p>
</body>

Powered by Google App Engine
This is Rietveld 408576698