| Index: LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last.js
|
| diff --git a/LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last.js b/LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last.js
|
| index 9521a0c175d1ae9c2d42a6b524b781c6f2af055c..edcdbf22b5214642c61978d1de788f477f5550c5 100644
|
| --- a/LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last.js
|
| +++ b/LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last.js
|
| @@ -14,27 +14,27 @@ function testComputedStyle(propertyJS, propertyCSS, type, value)
|
| function valueSettingTest(value)
|
| {
|
| debug("Value '" + value + "':");
|
| - e.style.webkitTextAlignLast = value;
|
| - testElementStyle("webkitTextAlignLast", "-webkit-text-align-last", "[object CSSPrimitiveValue]", value);
|
| - testComputedStyle("webkitTextAlignLast", "-webkit-text-align-last", "[object CSSPrimitiveValue]", value);
|
| + e.style.textAlignLast = value;
|
| + testElementStyle("textAlignLast", "text-align-last", "[object CSSPrimitiveValue]", value);
|
| + testComputedStyle("textAlignLast", "text-align-last", "[object CSSPrimitiveValue]", value);
|
| debug('');
|
| }
|
|
|
| function invalidValueSettingTest(value, defaultValue)
|
| {
|
| debug("Invalid value test - '" + value + "':");
|
| - e.style.webkitTextAlignLast = value;
|
| - testElementStyle("webkitTextAlignLast", "-webkit-text-align-last", "[object CSSPrimitiveValue]", defaultValue);
|
| - testComputedStyle("webkitTextAlignLast", "-webkit-text-align-last", "[object CSSPrimitiveValue]", defaultValue);
|
| + e.style.textAlignLast = value;
|
| + testElementStyle("textAlignLast", "text-align-last", "[object CSSPrimitiveValue]", defaultValue);
|
| + testComputedStyle("textAlignLast", "text-align-last", "[object CSSPrimitiveValue]", defaultValue);
|
| debug('');
|
| }
|
|
|
| -description("This test checks that -webkit-text-align-last parses properly the properties from CSS 3 Text.");
|
| +description("This test checks that text-align-last parses properly the properties from CSS 3 Text.");
|
|
|
| e = document.getElementById('test');
|
|
|
| debug("Test the initial value:");
|
| -testComputedStyle("webkitTextAlignLast", "-webkit-text-align-last", "[object CSSPrimitiveValue]", 'auto');
|
| +testComputedStyle("textAlignLast", "text-align-last", "[object CSSPrimitiveValue]", 'auto');
|
| debug('');
|
|
|
| valueSettingTest('start');
|
|
|