Implement parsing & constructing of selectedcontent element
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: keithamus, Assigned: jjaschke)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 10 obsolete files)
| Reporter | ||
Updated•1 year ago
|
Comment 2•6 months ago
•
|
||
Right, but the related browser compatibility data still needs to be updated once <selectedcontent> is implemented. So the dev-doc-needed flag should be kept for that.
Sebastian
| Assignee | ||
Comment 3•6 months ago
|
||
Updated•6 months ago
|
| Assignee | ||
Comment 4•6 months ago
|
||
| Assignee | ||
Comment 5•6 months ago
|
||
| Assignee | ||
Comment 6•6 months ago
|
||
| Assignee | ||
Comment 7•6 months ago
|
||
Comment 8•4 months ago
|
||
Comment on attachment 9536614 [details]
Bug 1974276, part 1 - Customizable Select: Add pref. r=keithamus!
Revision D278469 was moved to bug 2017595. Setting attachment 9536614 [details] to obsolete.
| Assignee | ||
Comment 9•3 months ago
|
||
| Assignee | ||
Comment 10•3 months ago
|
||
Implement the selectedcontent element's insertion steps (disabled logic,
ancestor walk) and post-connection steps (synchronous update from nearest
ancestor select). Add the core update algorithms on HTMLSelectElement:
UpdateDescendantSelectedContentElements, UpdateSelectedContentElement,
CloneOptionIntoSelectedContent, and GetEnabledSelectedContent.
| Assignee | ||
Comment 11•3 months ago
|
||
Call UpdateDescendantSelectedContentElements from SetSelectedIndex, SetValue,
UserFinishedInteracting (send select update notifications), BeforeSetAttr
(multiple attribute change), RestoreStateTo, and Reset.
| Assignee | ||
Comment 12•3 months ago
|
||
When an option element is popped off the stack of open elements, clone its
contents into the select's descendant selectedcontent elements if the option
is selected.
| Assignee | ||
Comment 13•3 months ago
|
||
Implement the selectedness setting algorithm from whatwg/html#12263: a
single-pass loop that skips options whose cached nearest ancestor select is
null, deselects all but the last selected option, auto-selects the first
enabled option if none selected, and synchronously updates descendant
selectedcontent elements.
Add cached nearest ancestor select pointer to HTMLOptionElement (per
whatwg/html#11790). Hook into BindToTree/UnbindFromTree as option
insertion/removal steps. Replace CheckSelectSomething in
InsertOptionsIntoList, RemoveOptionsFromList, and select's DoneAddingChildren
with RunSelectednessSettingAlgorithm when the customizable select pref is
enabled.
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
| Assignee | ||
Comment 14•3 months ago
|
||
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
| Reporter | ||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 15•2 months ago
|
||
Comment 16•2 months ago
|
||
| bugherder | ||
Comment 18•2 months ago
|
||
Comment on attachment 9559397 [details]
Bug 1974276, part 2 - Customizable Select: Implement selectedcontent update machinery. r=#dom-core,keithamus,emilio!
Revision D290554 was moved to bug 2038588. Setting attachment 9559397 [details] to obsolete.
Comment 19•2 months ago
|
||
Comment on attachment 9559398 [details]
Bug 1974276, part 3 - Customizable Select: Support options inside wrapper elements. r=#dom-core,keithamus,emilio!
Revision D290555 was moved to bug 1974784. Setting attachment 9559398 [details] to obsolete.
Updated•1 month ago
|
Updated•1 month ago
|
Comment 20•1 month ago
|
||
Marked as Dev-Doc-Complete, as this feature is sufficiently documented, even though at present this does not do anything.
Description
•