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

Unified Diff: LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-expected.txt

Issue 17155007: [CSS3] Parsing the property, text-justify. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parsingTextJustify
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/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-expected.txt
diff --git a/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-expected.txt b/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..034e26d314e17d5889a4d5d10fd9d1d70ba06fb1
--- /dev/null
+++ b/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-expected.txt
@@ -0,0 +1,109 @@
+This test checks that -webkit-text-justify parses properly the properties from CSS 3 Text.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Test the initial value:
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Value 'auto':
+PASS e.style.webkitTextJustify is 'auto'
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Value 'none':
+PASS e.style.webkitTextJustify is 'none'
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be none. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be none (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be none. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Value 'inter-word':
+PASS e.style.webkitTextJustify is 'inter-word'
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be inter-word. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be inter-word (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be inter-word. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Value 'distribute':
+PASS e.style.webkitTextJustify is 'distribute'
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be distribute. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be distribute (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be distribute. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Invalid value test - '-webkit-left':
+FAIL e.style.webkitTextJustify should be auto. Was -webkit-left.
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Invalid value test - '-webkit-right':
+FAIL e.style.webkitTextJustify should be auto. Was -webkit-right.
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Invalid value test - '-webkit-center':
+FAIL e.style.webkitTextJustify should be auto. Was -webkit-center.
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Invalid value test - '-webkit-match-parent':
+FAIL e.style.webkitTextJustify should be auto. Was -webkit-match-parent.
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Invalid value test - '-webkit-auto':
+FAIL e.style.webkitTextJustify should be auto. Was -webkit-auto.
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Invalid value test - 'solid':
+FAIL e.style.webkitTextJustify should be auto. Was solid.
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Invalid value test - 'normal':
+FAIL e.style.webkitTextJustify should be auto. Was normal.
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Invalid value test - 'bold':
+FAIL e.style.webkitTextJustify should be auto. Was bold.
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Invalid value test - 'background':
+FAIL e.style.webkitTextJustify should be auto. Was background.
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Invalid value test - 'ltr':
+FAIL e.style.webkitTextJustify should be auto. Was ltr.
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Computed value test - 'inherit':
+PASS e.style.webkitTextJustify is 'inherit'
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be inherit. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+Computed value test - 'initial':
+PASS e.style.webkitTextJustify is 'initial'
+FAIL e.style.getPropertyCSSValue('-webkit-text-justify').cssText should be initial. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextJustify should be auto (of type string). Was undefined (of type undefined).
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-justify').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+hello world

Powered by Google App Engine
This is Rietveld 408576698