Open
Bug 1197736
Opened 10 years ago
Updated 2 years ago
Implement the `:blank` pseudo-class
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox43 | --- | affected |
People
(Reporter: dbaron, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-needed)
We should implement the :blank pseudo-class. We already have :moz-only-whitespace which is almost the same, except :moz-only-whitespace considers '\f' (form feed) to be whitespace and the current spec for https://drafts.csswg.org/selectors-4/#the-blank-pseudo does not. (We should figure out whether that's a spec bug!)
Comment 1•10 years ago
|
||
Form feed is considered white space in the HTML spec:
https://html.spec.whatwg.org/multipage/syntax.html
(search for 0x0C to find the places it's mentioned)
It seems like a good idea if these two specs agreed.
I think the CSS spec should be updated to include \f.
Reporter | ||
Comment 2•10 years ago
|
||
:blank
now matches user input elements (<input>
, <textarea>
, etc.) that have a value of null
or the empty string.
Blocks: selectors-4
Type: defect → enhancement
Summary: implement :blank pseudo-class → Implement the `:blank` pseudo-class
See Also: → https://github.com/w3c/csswg-drafts/issues/1967
Updated•5 years ago
|
Keywords: dev-doc-needed
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•