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

Unified Diff: LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last-inherited.js

Issue 19041005: Introduce css3TextEnabled instead of CSS3_TEXT. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 7 years, 5 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-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last-inherited.js
diff --git a/LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last-inherited.js b/LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last-inherited.js
index b51243d1cb00975dae86a045caa6ebc13bab71f6..a035e6fcb4556d137705d55e56092607db8ac817 100644
--- a/LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last-inherited.js
+++ b/LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last-inherited.js
@@ -1,26 +1,26 @@
function testComputedStyle(a_value, c_value)
{
- shouldBe("window.getComputedStyle(ancestor).getPropertyCSSValue('-webkit-text-align-last').cssText", "'" + a_value + "'");
- shouldBe("window.getComputedStyle(child).getPropertyCSSValue('-webkit-text-align-last').cssText", "'" + c_value + "'");
+ shouldBe("window.getComputedStyle(ancestor).getPropertyCSSValue('text-align-last').cssText", "'" + a_value + "'");
+ shouldBe("window.getComputedStyle(child).getPropertyCSSValue('text-align-last').cssText", "'" + c_value + "'");
debug('');
}
function ownValueTest(a_value, c_value)
{
debug("Value of ancestor is '" + a_value + ", while child is '" + c_value + "':");
- ancestor.style.webkitTextAlignLast = a_value;
- child.style.webkitTextAlignLast = c_value;
+ ancestor.style.textAlignLast = a_value;
+ child.style.textAlignLast = c_value;
testComputedStyle(a_value, c_value);
}
function inheritanceTest(a_value)
{
debug("Value of ancestor is '" + a_value + "':");
- ancestor.style.webkitTextAlignLast = a_value;
+ ancestor.style.textAlignLast = a_value;
testComputedStyle(a_value, a_value);
}
-description("This test checks that the value of -webkit-text-align-last is properly inherited to the child.");
+description("This test checks that the value of text-align-last is properly inherited to the child.");
ancestor = document.getElementById('ancestor');
child = document.getElementById('child');

Powered by Google App Engine
This is Rietveld 408576698