Anchor, Area & Link elements should be selected by :enabled CSS Selector when 'href' attribute is set

UNCONFIRMED
Unassigned

Status

()

Core
DOM: Core & HTML
UNCONFIRMED
4 years ago
4 years ago

People

(Reporter: brunoabinader, Unassigned)

Tracking

({dev-doc-needed})

Trunk
dev-doc-needed
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:34.0) Gecko/20100101 Firefox/34.0 (Beta/Release)
Build ID: 20140805030300

Steps to reproduce:

Spec:
http://html.spec.whatwg.org/#selector-enabled

A query for ":enabled" should return Anchor, Area & Link elements if they contain an 'href' attribute, as specified.


Actual results:

None of these elements are currently selected by :enabled CSS selector.
(Reporter)

Updated

4 years ago
Component: Untriaged → DOM: Core & HTML
OS: Mac OS X → All
Product: Firefox → Core
Hardware: x86 → All
Version: 34 Branch → Trunk
This seems to be a recent-ish spec change?  I wonder why it was made: those elements can't be :disabled, so they shouldn't be :enabled either...
In that case I think we should raise a spec issue.  Given that these elements can't be disabled, matching :enabled doesn't make sense.
Adding dev-doc-needed, to keep on the doc radar, whatever the outcome of the spec issue will be.
Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.