[Bug 28143] New: An option's visibility can be different from the enclosing select visibility

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

            Bug ID: 28143
           Summary: An option's visibility can be different from the
                    enclosing select visibility
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: barancev@gmail.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org
            Blocks: 20860

"OPTIONs and OPTGROUP elements must be displayed if and only if the enclosing
select element is displayed."

An option's visibility can be different from the enclosing select visibility.

1. http://jsfiddle.net/d26xvdpt/ -- an invisible select that contains visible
options.

2. http://jsfiddle.net/atpqa5fw/ -- a visible select with invisible options.

a) <option value="hidden" style="visibility:hidden">Hidden option</option>
Such an option has no visible text but it is present in the dropdown.
It can be selected in Chrome and IE but it cannot be selected in Firefox.

b) <option value="invisible" style="display:none">Invisible option</option>
Such an option is not present in the dropdown in Chrome and Firefox, but it is
present and visible (and selectable) in IE.

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

Received on Thursday, 5 March 2015 06:45:26 UTC