blob: 441c9301353679de35d5fd52c6d536e08c77b605 [file] [log] [blame]
This test checks that the value of -webkit-text-justify is properly inherited to the child.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Value of ancestor is 'auto':
PASS window.getComputedStyle(ancestor).getPropertyCSSValue('-webkit-text-justify').cssText is 'auto'
PASS window.getComputedStyle(child).getPropertyCSSValue('-webkit-text-justify').cssText is 'auto'
Value of ancestor is 'none':
PASS window.getComputedStyle(ancestor).getPropertyCSSValue('-webkit-text-justify').cssText is 'none'
PASS window.getComputedStyle(child).getPropertyCSSValue('-webkit-text-justify').cssText is 'none'
Value of ancestor is 'inter-word':
PASS window.getComputedStyle(ancestor).getPropertyCSSValue('-webkit-text-justify').cssText is 'inter-word'
PASS window.getComputedStyle(child).getPropertyCSSValue('-webkit-text-justify').cssText is 'inter-word'
Value of ancestor is 'distribute':
PASS window.getComputedStyle(ancestor).getPropertyCSSValue('-webkit-text-justify').cssText is 'distribute'
PASS window.getComputedStyle(child).getPropertyCSSValue('-webkit-text-justify').cssText is 'distribute'
Value of ancestor is 'inter-word, while child is 'distribute':
PASS window.getComputedStyle(ancestor).getPropertyCSSValue('-webkit-text-justify').cssText is 'inter-word'
PASS window.getComputedStyle(child).getPropertyCSSValue('-webkit-text-justify').cssText is 'distribute'
Value of ancestor is 'distribute, while child is 'none':
PASS window.getComputedStyle(ancestor).getPropertyCSSValue('-webkit-text-justify').cssText is 'distribute'
PASS window.getComputedStyle(child).getPropertyCSSValue('-webkit-text-justify').cssText is 'none'
PASS successfullyParsed is true
TEST COMPLETE
hello world