Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selectlist: Make <selectedoption> cloneNode all contents
This patch makes <selectedoption> replace its child contents with not just the textContent of the selected <option>, but instead the selected <option>'s entire child content via cloneNode(). This use case has been discussed here: openui/open-ui#571 We aren't sure yet if this will be the path forward, but prototyping it and getting feedback will help move this issue forward. Bug: 1121840 Change-Id: Ia7c007b2193a8a0777295e299b57704d72832056 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4810996 Commit-Queue: Joey Arhar <[email protected]> Reviewed-by: Mason Freed <[email protected]> Cr-Commit-Position: refs/heads/main@{#1192051}
- Loading branch information