[Bug 26298] New: Clarify whether anchors, areas and link elements should match :enabled selector if they have a disabled ancestor

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

            Bug ID: 26298
           Summary: Clarify whether anchors, areas and link elements
                    should match :enabled selector if they have a disabled
                    ancestor
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Selectors API
          Assignee: lachlan.hunt@lachy.id.au
          Reporter: bruno.d@partner.samsung.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: lachlan.hunt@lachy.id.au, mike@w3.org

The HTML spec says:

The :enabled pseudo-class must match any element falling into one of the
following categories:

    a elements that have an href attribute
    area elements that have an href attribute
    link elements that have an href attribute

However, a simple query for ":enabled" selector in both Firefox and Chrome
returns null if, for example, an anchor element which contains an "href"
attribute has a disabled ancestor.

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

Received on Wednesday, 9 July 2014 17:15:17 UTC