Open
Bug 1691321
Opened 4 years ago
Updated 1 year ago
Make XUL hidden attribute an HTML-style boolean attribute
Categories
(Core :: XUL, task)
Core
XUL
Tracking
()
NEW
People
(Reporter: ntim, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
Reporter | ||
Comment 2•4 years ago
|
||
Depends on D104346
Updated•4 years ago
|
Assignee: nobody → ntim.bugs
Status: NEW → ASSIGNED
Reporter | ||
Updated•4 years ago
|
Assignee: ntim.bugs → nobody
Status: ASSIGNED → NEW
Reporter | ||
Comment 3•4 years ago
|
||
I need to make a rewrite of hidden="true"
to hidden=""
or hidden="hidden"
(I think I'll go with the former given this is the behaviour of the .hidden
JS property).
https://searchfox.org/mozilla-central/search?q=hidden%3D%22true%22&path=&case=true®exp=false (need to look out for attributes that aren't hidden
but end with hidden
)
Reporter | ||
Comment 4•4 years ago
|
||
Summary of remaining work:
- Figure out persisting
hidden
attribute removal (treecols rely on persistinghidden="false"
, which no-longer works in HTML land) - Rewriting
hidden="true"
in the codebase (not mandatory, but would be less confusing to do so) - Writing code in BrowserGlue.jsm to migrate: https://searchfox.org/mozilla-central/search?q=persist%3D%22.*hidden&path=&case=false®exp=true
- These 2 patches (they're pretty much done at time of writing, but might need updating later)
Reporter | ||
Comment 5•4 years ago
|
||
Depends on D104346
Comment 6•1 year ago
|
||
(In reply to Tim Nguyen :ntim from comment #4)
- Figure out persisting
hidden
attribute removal (treecols rely on persistinghidden="false"
, which no-longer works in HTML land)
This works now bug 15232 is fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•