| 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');
|
|
|