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

Unified Diff: LayoutTests/platform/chromium-mac/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt

Issue 18445003: Some rebaselines in the spirit of https://groups.google.com/a/chromium.org/forum/#!search/on$20layo… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/platform/chromium-mac/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt
diff --git a/LayoutTests/platform/chromium-mac/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt b/LayoutTests/platform/chromium-mac/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt
index 8b137891791fe96927ad78e64b0aad7bded08bdc..5777c69ddfeb3a197d753dd1a88acd508434c1d7 100644
--- a/LayoutTests/platform/chromium-mac/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt
+++ b/LayoutTests/platform/chromium-mac/fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt
@@ -1 +1,128 @@
+This tests check that text-indent parses properly the properties from CSS3 Text.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+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'
+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'
+FAIL computedStyle.textIndent should be 200px. Was 160px.
+FAIL computedStyle.getPropertyValue('text-indent') should be 200px. Was 160px.
+
+Value '50%':
+PASS e.style.textIndent is '50%'
+PASS e.style.getPropertyValue('text-indent') is '50%'
+PASS computedStyle.textIndent is '50%'
+PASS computedStyle.getPropertyValue('text-indent') is '50%'
+
+Value 'calc(10px + 20px)':
+PASS e.style.textIndent is 'calc(30px)'
+PASS e.style.getPropertyValue('text-indent') is 'calc(30px)'
+PASS computedStyle.textIndent is '30px'
+PASS computedStyle.getPropertyValue('text-indent') is '30px'
+
+Value '10em -webkit-each-line':
+FAIL e.style.textIndent should be 10em -webkit-each-line. Was calc(30px).
+FAIL e.style.getPropertyValue('text-indent') should be 10em -webkit-each-line. Was calc(30px).
+FAIL computedStyle.textIndent should be 100px -webkit-each-line. Was 30px.
+FAIL computedStyle.getPropertyValue('text-indent') should be 100px -webkit-each-line. Was 30px.
+
+Value '-webkit-each-line 10em':
+FAIL e.style.textIndent should be 10em -webkit-each-line. Was calc(30px).
+FAIL e.style.getPropertyValue('text-indent') should be 10em -webkit-each-line. Was calc(30px).
+FAIL computedStyle.textIndent should be 100px -webkit-each-line. Was 30px.
+FAIL computedStyle.getPropertyValue('text-indent') should be 100px -webkit-each-line. Was 30px.
+
+Value '20ex -webkit-each-line':
+FAIL e.style.textIndent should be 20ex -webkit-each-line. Was calc(30px).
+FAIL e.style.getPropertyValue('text-indent') should be 20ex -webkit-each-line. Was calc(30px).
+FAIL computedStyle.textIndent should be 200px -webkit-each-line. Was 30px.
+FAIL computedStyle.getPropertyValue('text-indent') should be 200px -webkit-each-line. Was 30px.
+
+Value '-webkit-each-line 20ex':
+FAIL e.style.textIndent should be 20ex -webkit-each-line. Was calc(30px).
+FAIL e.style.getPropertyValue('text-indent') should be 20ex -webkit-each-line. Was calc(30px).
+FAIL computedStyle.textIndent should be 200px -webkit-each-line. Was 30px.
+FAIL computedStyle.getPropertyValue('text-indent') should be 200px -webkit-each-line. Was 30px.
+
+Value '30% -webkit-each-line':
+FAIL e.style.textIndent should be 30% -webkit-each-line. Was calc(30px).
+FAIL e.style.getPropertyValue('text-indent') should be 30% -webkit-each-line. Was calc(30px).
+FAIL computedStyle.textIndent should be 30% -webkit-each-line. Was 30px.
+FAIL computedStyle.getPropertyValue('text-indent') should be 30% -webkit-each-line. Was 30px.
+
+Value '-webkit-each-line 30%':
+FAIL e.style.textIndent should be 30% -webkit-each-line. Was calc(30px).
+FAIL e.style.getPropertyValue('text-indent') should be 30% -webkit-each-line. Was calc(30px).
+FAIL computedStyle.textIndent should be 30% -webkit-each-line. Was 30px.
+FAIL computedStyle.getPropertyValue('text-indent') should be 30% -webkit-each-line. Was 30px.
+
+Value 'calc(10px + 20px) -webkit-each-line':
+FAIL e.style.textIndent should be calc(30px) -webkit-each-line. Was calc(30px).
+FAIL e.style.getPropertyValue('text-indent') should be calc(30px) -webkit-each-line. Was calc(30px).
+FAIL computedStyle.textIndent should be 30px -webkit-each-line. Was 30px.
+FAIL computedStyle.getPropertyValue('text-indent') should be 30px -webkit-each-line. Was 30px.
+
+Value '-webkit-each-line calc(10px + 20px)':
+FAIL e.style.textIndent should be calc(30px) -webkit-each-line. Was calc(30px).
+FAIL e.style.getPropertyValue('text-indent') should be calc(30px) -webkit-each-line. Was calc(30px).
+FAIL computedStyle.textIndent should be 30px -webkit-each-line. Was 30px.
+FAIL computedStyle.getPropertyValue('text-indent') should be 30px -webkit-each-line. Was 30px.
+
+
+Invalid value test - '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 -webkit-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 - '-webkit-each-line 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 - '10em 10em':
+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 - '-webkit-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 - '10em -webkit-each-line 10em':
+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 - '-webkit-each-line 10em -webkit-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'
+
+PASS successfullyParsed is true
+
+TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698