blob: 4fdb7a753cc0ca971f6fa2b332a7b628660ef940 [file] [log] [blame]
Test to make sure text-underline-position is computed properly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Initial value:
PASS e.style.textUnderlinePosition is ""
PASS computedStyle.textUnderlinePosition is "auto"
Value '':
PASS e.style.textUnderlinePosition is ""
PASS computedStyle.textUnderlinePosition is "auto"
Initial value (explicit):
PASS e.style.textUnderlinePosition is "initial"
PASS computedStyle.textUnderlinePosition is "auto"
Value 'auto':
PASS e.style.textUnderlinePosition is "auto"
PASS computedStyle.textUnderlinePosition is "auto"
Value 'under':
PASS e.style.textUnderlinePosition is "under"
PASS computedStyle.textUnderlinePosition is "under"
Ancestor inherits values from parent:
PASS e.style.textUnderlinePosition is ""
PASS computedStyle.textUnderlinePosition is "under"
Value 'auto under':
PASS e.style.textUnderlinePosition is ""
PASS computedStyle.textUnderlinePosition is "under"
Value 'under under':
PASS e.style.textUnderlinePosition is ""
PASS computedStyle.textUnderlinePosition is "under"
Value 'auto alphabetic under':
PASS e.style.textUnderlinePosition is ""
PASS computedStyle.textUnderlinePosition is "under"
PASS successfullyParsed is true
TEST COMPLETE