Summary

Harness status: OK

Found 10 tests

Details

ResultTest NameMessage
PassEnsure that body element is loaded.
Asserts run
Pass
assert_equals("thediv", "thediv")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:35:5)
Pass
assert_equals("thebody", "thebody")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:38:5)
PassEnsure that style.overflowY can be set properly.
Asserts run
Pass
assert_equals("hidden", "hidden", "Could not set document.body.style.overflowY to 'hidden'.")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:43:5)
Pass
assert_equals("scroll", "scroll", "Could not set document.body.style.overflowY to 'scroll'.")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:45:5)
Pass
assert_equals("scroll", "scroll", "Could not set document.documentElement.style.overflow to 'scroll'.")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:47:5)
Passdocument.compatMode should be BackCompat in quirks.
Asserts run
Pass
assert_equals("BackCompat", "BackCompat", "Should be in quirks mode.")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:53:5)
Passdocument.scrollingElement should be body element in quirks.
Asserts run
Pass
assert_equals("thebody", "thebody")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:58:5)
Pass
assert_equals(Element node <body id="thebody" style="">     <div id="thediv"></div> ..., Element node <body id="thebody" style="">     <div id="thediv"></div> ..., "scrollingElement in quirks mode should default to body element.")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:59:5)
PassscrollingElement in quirks should be null when body is potentially scrollable.
Asserts run
Pass
assert_equals("scroll", "scroll", "Could not set document.documentElement.style.overflowY to 'scroll'.")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:65:5)
Pass
assert_equals("thebody", "thebody")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:68:5)
Pass
assert_equals("scroll", "scroll", "Could not set document.body.style.overflowY to 'scroll'.")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:70:5)
Pass
assert_equals(null, null, "In quirks, we would expect null here (because of potentially scrollable body)")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:77:5)
PassscrollingElement in quirks should be body if any of document and body has a visible overflow.
Asserts run
Pass
assert_equals("visible", "visible")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:83:5)
Pass
assert_equals(Element node <body id="thebody" style="overflow-y: scroll;">     <div ..., Element node <body id="thebody" style="overflow-y: scroll;">     <div ...)
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:84:5)
Pass
assert_equals("scroll", "scroll")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:87:5)
Pass
assert_equals("visible", "visible")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:89:5)
Pass
assert_equals(Element node <body id="thebody" style="overflow-y: visible;">     <div..., Element node <body id="thebody" style="overflow-y: visible;">     <div...)
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:90:5)
Pass
assert_equals("visible", "visible")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:93:5)
Pass
assert_equals(Element node <body id="thebody" style="overflow-y: visible;">     <div..., Element node <body id="thebody" style="overflow-y: visible;">     <div...)
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:94:5)
PassWhen body potentially scrollable, document.body.scrollHeight changes when changing the height of the body content in quirks.
Asserts run
Pass
assert_equals("scroll", "scroll")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:100:5)
Pass
assert_equals("scroll", "scroll")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:102:5)
Pass
assert_greater_than(720, 400, "Window not large enough for valid test run.")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:104:5)
Pass
assert_not_equals(90, 720)
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:105:5)
Pass
assert_equals("170px", "170px")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:109:5)
Pass
assert_equals("190px", "190px")
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:113:5)
Pass
assert_equals(240, 240)
    at Test.<anonymous> ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:114:5)
PassWhen body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. visible, scroll)
Asserts run
Pass
assert_equals("scroll", "scroll")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:120:5)
Pass
assert_equals("visible", "visible")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:122:5)
Pass
assert_greater_than(720, 400, "Window not large enough for valid test run.")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:124:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:125:5)
Pass
assert_equals("170px", "170px")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:129:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:130:5)
Pass
assert_equals("190px", "190px")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:134:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:135:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:136:5)
PassWhen body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. scroll, visible)
Asserts run
Pass
assert_equals("visible", "visible")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:120:5)
Pass
assert_equals("scroll", "scroll")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:122:5)
Pass
assert_greater_than(720, 400, "Window not large enough for valid test run.")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:124:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:125:5)
Pass
assert_equals("170px", "170px")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:129:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:130:5)
Pass
assert_equals("190px", "190px")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:134:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:135:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:136:5)
PassWhen body not potentially scrollable, document.body.scrollHeight always equals window.innerHeight in quirks. (cond. visible, visible)
Asserts run
Pass
assert_equals("visible", "visible")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:120:5)
Pass
assert_equals("visible", "visible")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:122:5)
Pass
assert_greater_than(720, 400, "Window not large enough for valid test run.")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:124:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:125:5)
Pass
assert_equals("170px", "170px")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:129:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:130:5)
Pass
assert_equals("190px", "190px")
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:134:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:135:5)
Pass
assert_equals(720, 720)
    at testNotPotScrollable ( /css/cssom-view/HTMLBody-ScrollArea_quirksmode.html:136:5)