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

Unified Diff: LayoutTests/editing/style/script-tests/inline-style-container.js

Issue 23111004: Re-land "[css3-text] Implement text-decoration property shorthand" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased after Alexis' function name changes in CSSComputedStyleDeclaration.cpp Created 7 years, 4 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/editing/style/script-tests/inline-style-container.js
diff --git a/LayoutTests/editing/style/script-tests/inline-style-container.js b/LayoutTests/editing/style/script-tests/inline-style-container.js
index 9d74e8cbc924127e936f011ee24ca70f2bb155c5..0cd5bba5faeeae19ee73aee8a2cc0ad5c0c629d2 100644
--- a/LayoutTests/editing/style/script-tests/inline-style-container.js
+++ b/LayoutTests/editing/style/script-tests/inline-style-container.js
@@ -50,10 +50,10 @@ testSingleToggle("fontSize", 4, '<i><b>hello</b></i>', '<i><b style="font-size:
testSingleToggle("fontSize", 4, '<i><b>hello</b> world</i>', '<i style="font-size: large;"><b>hello</b> world</i>');
testSingleToggle("fontSize", 4, '<font color="blue"><b>hello</b></font>', '<font color="blue"><b style="font-size: large;">hello</b></font>');
testSingleToggle("bold", null, '<span style="font-style: italic;">hello</span>', '<span style="font-style: italic; font-weight: bold;">hello</span>');
-testSingleToggle("underline", null, '<span style="font-style: italic;"><b>hello</b></span>', '<span style="font-style: italic; text-decoration: underline;"><b>hello</b></span>');
+testSingleToggle("underline", null, '<span style="font-style: italic;"><b>hello</b></span>', '<span style="font-style: italic; text-decoration-line: underline;"><b>hello</b></span>');
testSingleToggle("underline", null,
'<span style="color: blue;"><i><span style="font-size: large;"><b>hello</b> world</span></i></span>',
- '<span style="color: blue;"><i><span style="font-size: large; text-decoration: underline;"><b>hello</b> world</span></i></span>');
+ '<span style="color: blue;"><i><span style="font-size: large; text-decoration-line: underline;"><b>hello</b> world</span></i></span>');
document.body.removeChild(testContainer);
var successfullyParsed = true;

Powered by Google App Engine
This is Rietveld 408576698