HTMLBody-ScrollArea_quirksmode.html

FAILExpected3 of 10 subtests pass370 ms

Details

Test
/css/cssom-view/HTMLBody-ScrollArea_quirksmode.html
Harness
OK

Subtests

StatusSubtestMessage
PASSEnsure that body element is loaded.
PASSEnsure that style.overflowY can be set properly.
FAILdocument.compatMode should be BackCompat in quirks.
assert_equals: Should be in quirks mode. expected "BackCompat" but got "CSS1Compat"
assert_equals: Should be in quirks mode. expected "BackCompat" but got "CSS1Compat"
FAILdocument.scrollingElement should be body element in quirks.
assert_equals: scrollingElement in quirks mode should default to body element. expected Element node <body id="thebody" style=""> <div id="thediv"></div> ... but got Element node <html style=""><h…
assert_equals: scrollingElement in quirks mode should default to body element. expected Element node <body id="thebody" style=""> <div id="thediv"></div> ... but got Element node <html style=""><h…
FAILscrollingElement in quirks should be null when body is potentially scrollable.
assert_equals: In quirks, we would expect null here (because of potentially scrollable body) expected null but got Element node <html style="overflow-y: scroll;"><head><meta name="viewp...
assert_equals: In quirks, we would expect null here (because of potentially scrollable body) expected null but got Element node <html style="overflow-y: scroll;"><head><meta name="viewp...
FAILscrollingElement in quirks should be body if any of document and body has a visible overflow.
assert_equals: expected Element node <body id="thebody" style="overflow-y: scroll;"> <div ... but got Element node <html style="overflow-y: visible;"><head><meta name="view...
assert_equals: expected Element node <body id="thebody" style="overflow-y: scroll;"> <div ... but got Element node <html style="overflow-y: visible;"><head><meta name="view...
PASSWhen body potentially scrollable, document.body.scrollHeight changes when changing the height of the body content in quirks.
FAILWhen body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. visible, scroll)
assert_equals: expected 600 but got 240
assert_equals: expected 600 but got 240
FAILWhen body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. scroll, visible)
assert_equals: expected 600 but got 190
assert_equals: expected 600 but got 190
FAILWhen body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. visible, visible)
assert_equals: expected 600 but got 190
assert_equals: expected 600 but got 190