[Bug 25182] New: Should element with 0 clientWidth and clientHeight be considered visible?

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

            Bug ID: 25182
           Summary: Should element with 0 clientWidth and clientHeight be
                    considered visible?
           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: botalov.andrey@gmail.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

Let's say there is element:
<span style="border-style:solid;border-width:5px;"></span>

This element has 0 clientWidth and clientHeight but its offsetWidth and
offsetHeight are positive numbers.

The spec currently says:
"The element must have a height and width greater than 0px" without saying type
of width/height.


I made a quick test and the following element is clickable in Google Chrome:
<span style="border-style:solid;border-width:5px;"
onclick="console.log(1000)"></span>

I think it should be clarified which type of width/height is meant.

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

Received on Thursday, 27 March 2014 20:55:17 UTC