Bug 261120

Summary: OPTION element: Update OPTION label even if it has invalid markup
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, karlcow, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
URL: http://wpt.live/html/semantics/forms/the-option-element/dynamic-content-change-rendering.html
See Also: https://bugs.webkit.org/show_bug.cgi?id=232029

Description Ahmad Saleem 2023-09-04 10:20:02 PDT
Hi Team,

While going through Blink's commit and WPT failures, came across another failing test:

WPT Test Case: https://wpt.fyi/results/html/semantics/forms/the-option-element/dynamic-content-change-rendering.html?label=experimental&label=master&aligned

WPT Test Case Live Link: 

Test Case: https://jsfiddle.net/65hdeoar/

Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/027aefc6b58096d2aba33def4e882d61b5c70c1f

^ Empty in Safari while show option in Chrome Canary while 118 and Firefox Nightly 118 as well.

Just wanted to raise, so we can fix it.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-09-11 10:20:13 PDT
<rdar://problem/115297883>