[Bug 21184] New: Need clarification of scroll behavior in WebElement click() method

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

            Bug ID: 21184
           Summary: Need clarification of scroll behavior in WebElement
                    click() method
    Classification: Unclassified
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: james.h.evans.jr@gmail.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

In section 14.3.1.1, the spec says click operates on the middle of the element.
It further states:

"If the element is outside the viewport (according to the [CSS21] spec), the
implementation should bring the element into view first. The implementation may
invoke scrollIntoView on the underlying DOM Element."

It is unclear what the method should do if, after scrolling the element into
view, the middle of the element (as defined in this section) is still not
visible in the viewport.

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

Received on Monday, 4 March 2013 12:40:38 UTC