[Bug 28487] New: Checking scrolling box of body for scrollTop doesn't match Gecko

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28487

            Bug ID: 28487
           Summary: Checking scrolling box of body for scrollTop doesn't
                    match Gecko
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM View
          Assignee: simonp@opera.com
          Reporter: simonp@opera.com
        QA Contact: public-css-bugzilla@w3.org

Consider http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3498

<!-- quirks -->
<html style="overflow:auto; background:url(image) no-repeat center center">
<body style="overflow:auto; height:1000px;" onload="document.body.scrollTop =
400">x

The body doesn't have a scrolling box (since it doesn't overflow, so it doesn't
have a scrolling mechanism). So it should scroll the viewport per spec. But
Gecko doesn't do that. I think it checks the overflow property without
considering if it actually overflows. That seems simpler/better.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 14 April 2015 09:21:24 UTC