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

Unified Diff: LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line.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-line.html
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line.html b/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line.html
index e2891093bfd69d066b0d79e4fd79a389aa5f77d9..cf82991cbafbfc70772467968f6f83e37b6478a4 100644
--- a/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line.html
+++ b/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line.html
@@ -12,21 +12,21 @@
<script src="../../../repaint/resources/repaint.js" 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';
+ document.getElementById("test-underline").style.textDecorationLine = 'underline';
+ document.getElementById("test-overline").style.textDecorationLine = 'overline';
+ document.getElementById("test-line-through").style.textDecorationLine = 'line-through';
+ document.getElementById("test-all").style.textDecorationLine = 'underline overline line-through';
+ document.getElementById("test-invalid-blink").style.textDecorationLine = 'blink';
+ document.getElementById("test-invalid-inherit").style.textDecorationLine = 'inherit';
+ document.getElementById("test-initial-explicit").style.textDecorationLine = 'initial';
+ document.getElementById("test-initial-empty").style.textDecorationLine = '';
+ document.getElementById("test-parent").style.textDecorationLine = 'underline';
+ document.getElementById("test-ancestor").style.textDecorationLine = '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(). -->
+ <!-- Valid values repaint ("text-decoration-line" overwrites "text-decoration" on repaintTest(). -->
<p><span id="test-underline" style="text-decoration: none;">&gt; &lt;</span></p>
<p><span id="test-overline" style="text-decoration: none;">&gt; &lt;</span></p>
<p><span id="test-line-through" style="text-decoration: none;">&gt; &lt;</span></p>
@@ -44,10 +44,10 @@
<!-- Empty value treated as invalid, so fallback to last valid value "underline". -->
<p><span id="test-initial-empty" style="text-decoration: underline;">&gt; &lt;</span></p>
- <!-- Ancestor inherits "-webkit-text-decoration-line" value from parent on repaintTest(). -->
+ <!-- Ancestor inherits "text-decoration-line" value from parent on repaintTest(). -->
<p><span id="test-parent"><span>&gt; &lt;</span></span></p>
<!-- Ancestor overwrites parent value on repaintTest(). -->
- <p><span style="-webkit-text-decoration-style: underline;"><span id="test-ancestor">&gt; &lt;</span></span></p>
+ <p><span style="text-decoration-style: underline;"><span id="test-ancestor">&gt; &lt;</span></span></p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698