| Index: LayoutTests/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt
|
| diff --git a/LayoutTests/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt b/LayoutTests/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt
|
| index 6f483e9ba9988e835dfc5df93cb993ef09448f9e..ddd82c9f657c4dee5f286fc5706a19d11f8d2fb3 100644
|
| --- a/LayoutTests/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt
|
| +++ b/LayoutTests/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt
|
| @@ -7,15 +7,15 @@ Test the initial value:
|
| PASS computedStyle.textIndent is '0px'
|
| PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
|
|
| -Value '10em':
|
| -PASS e.style.textIndent is '10em'
|
| -PASS e.style.getPropertyValue('text-indent') is '10em'
|
| +Value '100px':
|
| +PASS e.style.textIndent is '100px'
|
| +PASS e.style.getPropertyValue('text-indent') is '100px'
|
| PASS computedStyle.textIndent is '100px'
|
| PASS computedStyle.getPropertyValue('text-indent') is '100px'
|
|
|
| -Value '20ex':
|
| -PASS e.style.textIndent is '20ex'
|
| -PASS e.style.getPropertyValue('text-indent') is '20ex'
|
| +Value '20em':
|
| +PASS e.style.textIndent is '20em'
|
| +PASS e.style.getPropertyValue('text-indent') is '20em'
|
| PASS computedStyle.textIndent is '200px'
|
| PASS computedStyle.getPropertyValue('text-indent') is '200px'
|
|
|
| @@ -31,27 +31,27 @@ PASS e.style.getPropertyValue('text-indent') is 'calc(30px)'
|
| PASS computedStyle.textIndent is '30px'
|
| PASS computedStyle.getPropertyValue('text-indent') is '30px'
|
|
|
| -Value '10em each-line':
|
| -PASS e.style.textIndent is '10em each-line'
|
| -PASS e.style.getPropertyValue('text-indent') is '10em each-line'
|
| +Value '100px each-line':
|
| +PASS e.style.textIndent is '100px each-line'
|
| +PASS e.style.getPropertyValue('text-indent') is '100px each-line'
|
| PASS computedStyle.textIndent is '100px each-line'
|
| PASS computedStyle.getPropertyValue('text-indent') is '100px each-line'
|
|
|
| -Value 'each-line 10em':
|
| -PASS e.style.textIndent is '10em each-line'
|
| -PASS e.style.getPropertyValue('text-indent') is '10em each-line'
|
| +Value 'each-line 100px':
|
| +PASS e.style.textIndent is 'each-line 100px'
|
| +PASS e.style.getPropertyValue('text-indent') is 'each-line 100px'
|
| PASS computedStyle.textIndent is '100px each-line'
|
| PASS computedStyle.getPropertyValue('text-indent') is '100px each-line'
|
|
|
| -Value '20ex each-line':
|
| -PASS e.style.textIndent is '20ex each-line'
|
| -PASS e.style.getPropertyValue('text-indent') is '20ex each-line'
|
| +Value '20em each-line':
|
| +PASS e.style.textIndent is '20em each-line'
|
| +PASS e.style.getPropertyValue('text-indent') is '20em each-line'
|
| PASS computedStyle.textIndent is '200px each-line'
|
| PASS computedStyle.getPropertyValue('text-indent') is '200px each-line'
|
|
|
| -Value 'each-line 20ex':
|
| -PASS e.style.textIndent is '20ex each-line'
|
| -PASS e.style.getPropertyValue('text-indent') is '20ex each-line'
|
| +Value 'each-line 20em':
|
| +PASS e.style.textIndent is 'each-line 20em'
|
| +PASS e.style.getPropertyValue('text-indent') is 'each-line 20em'
|
| PASS computedStyle.textIndent is '200px each-line'
|
| PASS computedStyle.getPropertyValue('text-indent') is '200px each-line'
|
|
|
| @@ -62,8 +62,8 @@ PASS computedStyle.textIndent is '30% each-line'
|
| PASS computedStyle.getPropertyValue('text-indent') is '30% each-line'
|
|
|
| Value 'each-line 30%':
|
| -PASS e.style.textIndent is '30% each-line'
|
| -PASS e.style.getPropertyValue('text-indent') is '30% each-line'
|
| +PASS e.style.textIndent is 'each-line 30%'
|
| +PASS e.style.getPropertyValue('text-indent') is 'each-line 30%'
|
| PASS computedStyle.textIndent is '30% each-line'
|
| PASS computedStyle.getPropertyValue('text-indent') is '30% each-line'
|
|
|
| @@ -74,11 +74,131 @@ PASS computedStyle.textIndent is '30px each-line'
|
| PASS computedStyle.getPropertyValue('text-indent') is '30px each-line'
|
|
|
| Value 'each-line calc(10px + 20px)':
|
| -PASS e.style.textIndent is 'calc(30px) each-line'
|
| -PASS e.style.getPropertyValue('text-indent') is 'calc(30px) each-line'
|
| +PASS e.style.textIndent is 'each-line calc(30px)'
|
| +PASS e.style.getPropertyValue('text-indent') is 'each-line calc(30px)'
|
| PASS computedStyle.textIndent is '30px each-line'
|
| PASS computedStyle.getPropertyValue('text-indent') is '30px each-line'
|
|
|
| +Value '100px hanging':
|
| +PASS e.style.textIndent is '100px hanging'
|
| +PASS e.style.getPropertyValue('text-indent') is '100px hanging'
|
| +PASS computedStyle.textIndent is '100px hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '100px hanging'
|
| +
|
| +Value 'hanging 100px':
|
| +PASS e.style.textIndent is 'hanging 100px'
|
| +PASS e.style.getPropertyValue('text-indent') is 'hanging 100px'
|
| +PASS computedStyle.textIndent is '100px hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '100px hanging'
|
| +
|
| +Value '20em hanging':
|
| +PASS e.style.textIndent is '20em hanging'
|
| +PASS e.style.getPropertyValue('text-indent') is '20em hanging'
|
| +PASS computedStyle.textIndent is '200px hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '200px hanging'
|
| +
|
| +Value 'hanging 20em':
|
| +PASS e.style.textIndent is 'hanging 20em'
|
| +PASS e.style.getPropertyValue('text-indent') is 'hanging 20em'
|
| +PASS computedStyle.textIndent is '200px hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '200px hanging'
|
| +
|
| +Value '30% hanging':
|
| +PASS e.style.textIndent is '30% hanging'
|
| +PASS e.style.getPropertyValue('text-indent') is '30% hanging'
|
| +PASS computedStyle.textIndent is '30% hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '30% hanging'
|
| +
|
| +Value 'hanging 30%':
|
| +PASS e.style.textIndent is 'hanging 30%'
|
| +PASS e.style.getPropertyValue('text-indent') is 'hanging 30%'
|
| +PASS computedStyle.textIndent is '30% hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '30% hanging'
|
| +
|
| +Value 'calc(10px + 20px) hanging':
|
| +PASS e.style.textIndent is 'calc(30px) hanging'
|
| +PASS e.style.getPropertyValue('text-indent') is 'calc(30px) hanging'
|
| +PASS computedStyle.textIndent is '30px hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '30px hanging'
|
| +
|
| +Value 'hanging calc(10px + 20px)':
|
| +PASS e.style.textIndent is 'hanging calc(30px)'
|
| +PASS e.style.getPropertyValue('text-indent') is 'hanging calc(30px)'
|
| +PASS computedStyle.textIndent is '30px hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '30px hanging'
|
| +
|
| +Value '100px each-line hanging':
|
| +PASS e.style.textIndent is '100px each-line hanging'
|
| +PASS e.style.getPropertyValue('text-indent') is '100px each-line hanging'
|
| +PASS computedStyle.textIndent is '100px each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '100px each-line hanging'
|
| +
|
| +Value 'each-line 100px hanging':
|
| +PASS e.style.textIndent is 'each-line 100px hanging'
|
| +PASS e.style.getPropertyValue('text-indent') is 'each-line 100px hanging'
|
| +PASS computedStyle.textIndent is '100px each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '100px each-line hanging'
|
| +
|
| +Value 'each-line hanging 100px':
|
| +PASS e.style.textIndent is 'each-line hanging 100px'
|
| +PASS e.style.getPropertyValue('text-indent') is 'each-line hanging 100px'
|
| +PASS computedStyle.textIndent is '100px each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '100px each-line hanging'
|
| +
|
| +Value '100px hanging each-line':
|
| +PASS e.style.textIndent is '100px hanging each-line'
|
| +PASS e.style.getPropertyValue('text-indent') is '100px hanging each-line'
|
| +PASS computedStyle.textIndent is '100px each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '100px each-line hanging'
|
| +
|
| +Value 'hanging 100px each-line':
|
| +PASS e.style.textIndent is 'hanging 100px each-line'
|
| +PASS e.style.getPropertyValue('text-indent') is 'hanging 100px each-line'
|
| +PASS computedStyle.textIndent is '100px each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '100px each-line hanging'
|
| +
|
| +Value 'hanging each-line 100px':
|
| +PASS e.style.textIndent is 'hanging each-line 100px'
|
| +PASS e.style.getPropertyValue('text-indent') is 'hanging each-line 100px'
|
| +PASS computedStyle.textIndent is '100px each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '100px each-line hanging'
|
| +
|
| +Value '30% each-line hanging':
|
| +PASS e.style.textIndent is '30% each-line hanging'
|
| +PASS e.style.getPropertyValue('text-indent') is '30% each-line hanging'
|
| +PASS computedStyle.textIndent is '30% each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '30% each-line hanging'
|
| +
|
| +Value 'each-line 30% hanging':
|
| +PASS e.style.textIndent is 'each-line 30% hanging'
|
| +PASS e.style.getPropertyValue('text-indent') is 'each-line 30% hanging'
|
| +PASS computedStyle.textIndent is '30% each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '30% each-line hanging'
|
| +
|
| +Value 'each-line hanging 30%':
|
| +PASS e.style.textIndent is 'each-line hanging 30%'
|
| +PASS e.style.getPropertyValue('text-indent') is 'each-line hanging 30%'
|
| +PASS computedStyle.textIndent is '30% each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '30% each-line hanging'
|
| +
|
| +Value '30% hanging each-line':
|
| +PASS e.style.textIndent is '30% hanging each-line'
|
| +PASS e.style.getPropertyValue('text-indent') is '30% hanging each-line'
|
| +PASS computedStyle.textIndent is '30% each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '30% each-line hanging'
|
| +
|
| +Value 'hanging 30% each-line':
|
| +PASS e.style.textIndent is 'hanging 30% each-line'
|
| +PASS e.style.getPropertyValue('text-indent') is 'hanging 30% each-line'
|
| +PASS computedStyle.textIndent is '30% each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '30% each-line hanging'
|
| +
|
| +Value 'hanging each-line 30%':
|
| +PASS e.style.textIndent is 'hanging each-line 30%'
|
| +PASS e.style.getPropertyValue('text-indent') is 'hanging each-line 30%'
|
| +PASS computedStyle.textIndent is '30% each-line hanging'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '30% each-line hanging'
|
| +
|
|
|
| Invalid value test - '10m':
|
| PASS e.style.textIndent is '0px'
|
| @@ -86,6 +206,24 @@ PASS e.style.getPropertyValue('text-indent') is '0px'
|
| PASS computedStyle.textIndent is '0px'
|
| PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
|
|
| +Invalid value test - '100px 100px':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| +Invalid value test - '100px line':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| +Invalid value test - '100px hang':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| Invalid value test - '10m each-line':
|
| PASS e.style.textIndent is '0px'
|
| PASS e.style.getPropertyValue('text-indent') is '0px'
|
| @@ -98,7 +236,19 @@ PASS e.style.getPropertyValue('text-indent') is '0px'
|
| PASS computedStyle.textIndent is '0px'
|
| PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
|
|
| -Invalid value test - '10em 10em':
|
| +Invalid value test - '10m hangning':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| +Invalid value test - 'hanging 10m':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| +Invalid value test - '10m each-line hanging':
|
| PASS e.style.textIndent is '0px'
|
| PASS e.style.getPropertyValue('text-indent') is '0px'
|
| PASS computedStyle.textIndent is '0px'
|
| @@ -110,13 +260,49 @@ PASS e.style.getPropertyValue('text-indent') is '0px'
|
| PASS computedStyle.textIndent is '0px'
|
| PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
|
|
| -Invalid value test - '10em each-line 10em':
|
| +Invalid value test - 'hanging':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| +Invalid value test - 'each-line hanging':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| +Invalid value test - '100px each-line 100px':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| +Invalid value test - '100px hanging 100px':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| +Invalid value test - 'each-line 100px each-line':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| +Invalid value test - 'hanging 100px hanging':
|
| +PASS e.style.textIndent is '0px'
|
| +PASS e.style.getPropertyValue('text-indent') is '0px'
|
| +PASS computedStyle.textIndent is '0px'
|
| +PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
| +
|
| +Invalid value test - '100px line hanging':
|
| PASS e.style.textIndent is '0px'
|
| PASS e.style.getPropertyValue('text-indent') is '0px'
|
| PASS computedStyle.textIndent is '0px'
|
| PASS computedStyle.getPropertyValue('text-indent') is '0px'
|
|
|
| -Invalid value test - 'each-line 10em each-line':
|
| +Invalid value test - '100px each-line hang':
|
| PASS e.style.textIndent is '0px'
|
| PASS e.style.getPropertyValue('text-indent') is '0px'
|
| PASS computedStyle.textIndent is '0px'
|
|
|