HTMLBody-ScrollArea_quirksmode.html
Details
- Test
/css/cssom-view/HTMLBody-ScrollArea_quirksmode.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Ensure that body element is loaded. |
| PASS | Ensure that style.overflowY can be set properly. |
| FAIL | document.compatMode should be BackCompat in quirks. assert_equals: Should be in quirks mode. expected "BackCompat" but got "CSS1Compat" |
| FAIL | document.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… |
| FAIL | scrollingElement 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... |
| FAIL | scrollingElement 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... |
| PASS | When body potentially scrollable, document.body.scrollHeight changes when changing the height of the body content in quirks. |
| FAIL | When body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. visible, scroll) assert_equals: expected 600 but got 240 |
| FAIL | When body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. scroll, visible) assert_equals: expected 600 but got 190 |
| FAIL | When body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. visible, visible) assert_equals: expected 600 but got 190 |