blob: 690d3b04eac1501065b50e49d70138e6499d8994 [file] [log] [blame]
Test computed style on the overflow property.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Shorthand tests
PASS computedStyle.getPropertyValue('overflow-x') is "scroll"
PASS computedStyle.getPropertyValue('overflow-y') is "scroll"
PASS computedStyle.getPropertyValue('overflow') is "scroll"
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "auto"
PASS computedStyle.getPropertyValue('overflow') is "auto"
PASS computedStyle.getPropertyValue('overflow-x') is "visible"
PASS computedStyle.getPropertyValue('overflow-y') is "visible"
PASS computedStyle.getPropertyValue('overflow') is "visible"
PASS computedStyle.getPropertyValue('overflow-x') is "hidden"
PASS computedStyle.getPropertyValue('overflow-y') is "hidden"
PASS computedStyle.getPropertyValue('overflow') is "hidden"
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "auto"
PASS computedStyle.getPropertyValue('overflow') is "auto"
Paged tests
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "-webkit-paged-x"
PASS computedStyle.getPropertyValue('overflow') is "auto -webkit-paged-x"
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "-webkit-paged-y"
PASS computedStyle.getPropertyValue('overflow') is "auto -webkit-paged-y"
Longhand tests
PASS computedStyle.getPropertyValue('overflow-x') is "scroll"
PASS computedStyle.getPropertyValue('overflow-y') is "scroll"
PASS computedStyle.getPropertyValue('overflow') is "scroll"
PASS e.style.overflowX is "scroll"
PASS e.style.overflowY is "scroll"
PASS e.style.overflow is "scroll"
PASS computedStyle.getPropertyValue('overflow-x') is "scroll"
PASS computedStyle.getPropertyValue('overflow-y') is "auto"
PASS computedStyle.getPropertyValue('overflow') is "scroll auto"
PASS e.style.overflowX is "scroll"
PASS e.style.overflowY is "auto"
PASS e.style.overflow is "scroll auto"
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "scroll"
PASS computedStyle.getPropertyValue('overflow') is "auto scroll"
PASS e.style.overflowX is "auto"
PASS e.style.overflowY is "scroll"
PASS e.style.overflow is "auto scroll"
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "hidden"
PASS computedStyle.getPropertyValue('overflow') is "auto hidden"
PASS e.style.overflowX is "visible"
PASS e.style.overflowY is "hidden"
PASS e.style.overflow is "visible hidden"
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "hidden"
PASS computedStyle.getPropertyValue('overflow') is "auto hidden"
PASS e.style.overflowX is "overlay"
PASS e.style.overflowY is "hidden"
PASS e.style.overflow is "overlay hidden"
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "-webkit-paged-y"
PASS computedStyle.getPropertyValue('overflow') is "auto -webkit-paged-y"
PASS e.style.overflowX is "visible"
PASS e.style.overflowY is "-webkit-paged-y"
PASS e.style.overflow is "visible -webkit-paged-y"
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "-webkit-paged-x"
PASS computedStyle.getPropertyValue('overflow') is "auto -webkit-paged-x"
PASS e.style.overflowX is "auto"
PASS e.style.overflowY is "-webkit-paged-x"
PASS e.style.overflow is "auto -webkit-paged-x"
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "-webkit-paged-x"
PASS computedStyle.getPropertyValue('overflow') is "auto -webkit-paged-x"
PASS e.style.overflowX is "auto"
PASS e.style.overflowY is "-webkit-paged-x"
PASS e.style.overflow is "auto -webkit-paged-x"
PASS computedStyle.getPropertyValue('overflow-x') is "auto"
PASS computedStyle.getPropertyValue('overflow-y') is "-webkit-paged-x"
PASS computedStyle.getPropertyValue('overflow') is "auto -webkit-paged-x"
PASS e.style.overflowX is "auto"
PASS e.style.overflowY is "-webkit-paged-x"
PASS e.style.overflow is "auto -webkit-paged-x"
PASS successfullyParsed is true
TEST COMPLETE