This change makes the HTML parser allow additional tags in <select> besides <option>, <optgroup>, and <hr>. This change is in support of the customizable <select> feature but is being shipped first because it can be done separately and has some compat risk which I'd like to get feedback on. This feature is gated by the temporary policy (SelectParserRelaxationEnabled). This is a temporary transition period, and the policy will stop working on milestone M141. Customizable select explainer: https://open-ui.org/components/customizableselect/ I did a compat analysis and determined that the vast majority of sites which would see the effects of the parser changes would not have their behavior changed. More details here: https://github.com/whatwg/html/issues/10310 If there are major issues with this change, I will reassess and make adjustments to the parser as needed.
I believe there is low interop risk because other vendors are reviewing the proposal in WHATWG and are not objected to changing the parser behavior here. There is a compat risk if websites are relying on the old parser behavior. As I mentioned in the main description, I have done an analysis and based on the websites I have investigated I believe there is low risk. If we encounter issues then I will adjust the parser as needed.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
While the OT is going, the old parser behavior will need to be maintained. This isn't a significant maintenance burden.
None
Shipping on desktop | 134 |
Origin trial desktop first | 134 |
Origin trial desktop last | 140 |
DevTrial on desktop | 128 |
Shipping on Android | 134 |
Origin trial Android first | 134 |
Origin trial Android last | 140 |
DevTrial on Android | 128 |
Shipping on WebView | 134 |
Origin trial WebView first | 134 |
Origin trial WebView last | 140 |
LGTM
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM%3DNeDj4P68z1A1Kq8-Wk2vu_Nu0jidG4ZwN3SHigxAug80%3Dqw%40mail.gmail.com.