W3C home > Mailing lists > Public > public-browser-tools-testing@w3.org > January to March 2013

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 04 Mar 2013 12:40:37 +0000
To: public-browser-tools-testing@w3.org
Message-ID: <bug-21184-5015@http.www.w3.org/Bugs/Public/>

            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, 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

This archive was generated by hypermail 2.3.1 : Thursday, 12 February 2015 15:39:01 UTC