-
Notifications
You must be signed in to change notification settings - Fork 29
Implement <select> parser "relaxation" — for "customizable" <select> - #113
Implement <select> parser "relaxation" — for "customizable" <select> #113sideshowbarker merged 1 commit into
Conversation
cdf2934 to
a1d8a3d
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@hsivonen
hsivonen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the delay.
As discussed on Matrix, I think the way this patch makes the cloning work on what the parser saw is incorrect and the spec instead requires the cloning to work on what's in the live DOM, which may be different if the option element opens, the network stalls, setTimeout modifies the DOM, and network resumes.
Further remarks in an inline comment.
f7b4c0f to
87fe37a
Compare
0466829 to
b3bbf98
Compare
@hsivonen
hsivonen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry that I've been in a very bad time management loop.
This looks very good, but there are some minor issues.
Thank you!
b3bbf98 to
66f24d6
Compare
This comment was marked as outdated.
This comment was marked as outdated.
66f24d6 to
8ad0683
Compare
sideshowbarker
commented
Mar 12, 2026
@hsivonen OK, all comments now resolved, I think. Ready for you to review again.
@hsivonen
hsivonen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge this. Thank you and sorry about delay.
@hsivonen
hsivonen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you!
Relax "select"-element parsing to allow more child elements, and handle the "selectedcontent" element for cloning "option"-element content.
39f24fc to
f275246
Compare
Uh oh!
There was an error while loading. Please reload this page.
Relax
selectparsing to allow more child elements, and handle theselectedcontentelement for cloningoptioncontent.