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

Unified Diff: LayoutTests/fast/css3-text/css3-text-indent/getComputedStyle/script-tests/getComputedStyle-text-indent.js

Issue 22336008: Use the runtime flag and remove '-webkit-' prefix for CSS3 text-indent. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch 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/fast/css3-text/css3-text-indent/getComputedStyle/script-tests/getComputedStyle-text-indent.js
diff --git a/LayoutTests/fast/css3-text/css3-text-indent/getComputedStyle/script-tests/getComputedStyle-text-indent.js b/LayoutTests/fast/css3-text/css3-text-indent/getComputedStyle/script-tests/getComputedStyle-text-indent.js
index f0fc3cb1133d906e7ce527a7dc6f093471123f40..9eaca07bb42d8f1b748e5d15491033b961c077ac 100644
--- a/LayoutTests/fast/css3-text/css3-text-indent/getComputedStyle/script-tests/getComputedStyle-text-indent.js
+++ b/LayoutTests/fast/css3-text/css3-text-indent/getComputedStyle/script-tests/getComputedStyle-text-indent.js
@@ -29,7 +29,7 @@ function invalidValueSettingTest(value, defaultValue)
debug('');
}
-description("This tests check that text-indent parses properly the properties from CSS3 Text.");
+description("This test checks that text-indent parses properly the properties from CSS3 Text.");
e = document.getElementById('test');
@@ -41,22 +41,22 @@ valueSettingTest('10em', '10em', '100px');
valueSettingTest('20ex', '20ex', '200px');
valueSettingTest('50%', '50%', '50%');
valueSettingTest('calc(10px + 20px)', 'calc(30px)', '30px');
-valueSettingTest('10em -webkit-each-line', '10em -webkit-each-line', '100px -webkit-each-line');
-valueSettingTest('-webkit-each-line 10em', '10em -webkit-each-line', '100px -webkit-each-line');
-valueSettingTest('20ex -webkit-each-line', '20ex -webkit-each-line', '200px -webkit-each-line');
-valueSettingTest('-webkit-each-line 20ex', '20ex -webkit-each-line', '200px -webkit-each-line');
-valueSettingTest('30% -webkit-each-line', '30% -webkit-each-line', '30% -webkit-each-line');
-valueSettingTest('-webkit-each-line 30%', '30% -webkit-each-line', '30% -webkit-each-line');
-valueSettingTest('calc(10px + 20px) -webkit-each-line', 'calc(30px) -webkit-each-line', '30px -webkit-each-line');
-valueSettingTest('-webkit-each-line calc(10px + 20px)', 'calc(30px) -webkit-each-line', '30px -webkit-each-line');
+valueSettingTest('10em each-line', '10em each-line', '100px each-line');
+valueSettingTest('each-line 10em', '10em each-line', '100px each-line');
+valueSettingTest('20ex each-line', '20ex each-line', '200px each-line');
+valueSettingTest('each-line 20ex', '20ex each-line', '200px each-line');
+valueSettingTest('30% each-line', '30% each-line', '30% each-line');
+valueSettingTest('each-line 30%', '30% each-line', '30% each-line');
+valueSettingTest('calc(10px + 20px) each-line', 'calc(30px) each-line', '30px each-line');
+valueSettingTest('each-line calc(10px + 20px)', 'calc(30px) each-line', '30px each-line');
debug('');
defaultValue = '0px'
e.style.textIndent = defaultValue;
invalidValueSettingTest('10m', defaultValue);
-invalidValueSettingTest('10m -webkit-each-line', defaultValue);
-invalidValueSettingTest('-webkit-each-line 10m', defaultValue);
+invalidValueSettingTest('10m each-line', defaultValue);
+invalidValueSettingTest('each-line 10m', defaultValue);
invalidValueSettingTest('10em 10em', defaultValue);
-invalidValueSettingTest('-webkit-each-line', defaultValue);
-invalidValueSettingTest('10em -webkit-each-line 10em', defaultValue);
-invalidValueSettingTest('-webkit-each-line 10em -webkit-each-line', defaultValue);
+invalidValueSettingTest('each-line', defaultValue);
+invalidValueSettingTest('10em each-line 10em', defaultValue);
+invalidValueSettingTest('each-line 10em each-line', defaultValue);

Powered by Google App Engine
This is Rietveld 408576698