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..f38024bc560c007d06f5d866f103ffcf8e43c4cd |
--- /dev/null |
+++ b/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-expected.txt |
@@ -0,0 +1,104 @@ |
+This test checks that 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: |
+PASS computedStyle.textJustify is 'auto' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
+ |
+Value 'auto': |
+PASS e.style.textJustify is 'auto' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
+PASS computedStyle.textJustify is 'auto' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
+ |
+Value 'none': |
+PASS e.style.textJustify is 'none' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'none' |
+PASS computedStyle.textJustify is 'none' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' |
+ |
+Value 'inter-word': |
+PASS e.style.textJustify is 'inter-word' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'inter-word' |
+PASS computedStyle.textJustify is 'inter-word' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'inter-word' |
+ |
+Value 'distribute': |
+PASS e.style.textJustify is 'distribute' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'distribute' |
+PASS computedStyle.textJustify is 'distribute' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' |
+ |
+Invalid value test - '-webkit-left': |
+PASS e.style.textJustify is 'auto' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
+PASS computedStyle.textJustify is 'auto' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
+ |
+Invalid value test - '-webkit-right': |
+PASS e.style.textJustify is 'auto' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
+PASS computedStyle.textJustify is 'auto' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
+ |
+Invalid value test - 'solid': |
+PASS e.style.textJustify is 'auto' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
+PASS computedStyle.textJustify is 'auto' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
+ |
+Invalid value test - 'normal': |
+PASS e.style.textJustify is 'auto' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
+PASS computedStyle.textJustify is 'auto' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
+ |
+Value of ancestor is 'auto': |
+PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-justify').cssText is 'auto' |
+PASS window.getComputedStyle(child).getPropertyCSSValue('text-justify').cssText is 'auto' |
+ |
+Value of ancestor is 'none': |
+PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-justify').cssText is 'none' |
+PASS window.getComputedStyle(child).getPropertyCSSValue('text-justify').cssText is 'none' |
+ |
+Value of ancestor is 'inter-word': |
+PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-justify').cssText is 'inter-word' |
+PASS window.getComputedStyle(child).getPropertyCSSValue('text-justify').cssText is 'inter-word' |
+ |
+Value of ancestor is 'distribute': |
+PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-justify').cssText is 'distribute' |
+PASS window.getComputedStyle(child).getPropertyCSSValue('text-justify').cssText is 'distribute' |
+ |
+Value of ancestor is 'inter-word, while child is 'distribute': |
+PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-justify').cssText is 'inter-word' |
+PASS window.getComputedStyle(child).getPropertyCSSValue('text-justify').cssText is 'distribute' |
+ |
+Value of ancestor is 'none, while child is 'inter-word': |
+PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-justify').cssText is 'none' |
+PASS window.getComputedStyle(child).getPropertyCSSValue('text-justify').cssText is 'inter-word' |
+ |
+Computed value test - 'initial': |
+PASS e.style.textJustify is 'initial' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'initial' |
+PASS computedStyle.textJustify is 'auto' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
+ |
+Computed value test - 'inherit': |
+PASS e.style.textJustify is 'inherit' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'inherit' |
+PASS computedStyle.textJustify is 'none' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' |
+ |
+Computed value test - 'inherit': |
+PASS e.style.textJustify is 'inherit' |
+PASS e.style.getPropertyCSSValue('text-justify').cssText is 'inherit' |
+PASS computedStyle.textJustify is 'distribute' |
+PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' |
+ |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+hello world |
+inherit test |