Closed
Bug 1630334
Opened 4 years ago
Closed 2 years ago
[meta] Mass rewrite boolean attribute selectors in CSS
Categories
(Toolkit :: Themes, task)
Toolkit
Themes
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: ntim, Unassigned)
Details
(Keywords: meta, Whiteboard: [fxperf])
Boolean attributes like [open="true"] and [checked="true"] should be re-written to [open] and [checked].
Because:
- matching [open="true"] is slower than matching [open] in the style system (according to :emilio, but it makes sense when you think of it)
- With HTML boolean attributes, [checked=false] behaves like [checked=checked] or [checked=true], so when migrating XUL boolean attributes over to HTML, having the CSS matching on [checked] will be helpful
- It's also just cleaner and part of the CSS guidelines
Reporter | ||
Updated•4 years ago
|
Whiteboard: [fxperf]
Comment 1•2 years ago
|
||
not used, closing
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•