mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Implement HTMLOptionElement.label more correctly
This shouldn't just be a simple reflection of the label attribute. It also needs fallback to the HTMLOptionElement.text property if the label attribute is absent.
This commit is contained in:
committed by
Andreas Kling
parent
f7993495bd
commit
4c2d4cdf50
Notes:
github-actions[bot]
2024-11-15 11:55:47 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/4c2d4cdf501 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2355
@@ -7,7 +7,7 @@ interface HTMLOptionElement : HTMLElement {
|
||||
|
||||
[CEReactions, Reflect] attribute boolean disabled;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
[CEReactions, Reflect] attribute DOMString label;
|
||||
[CEReactions] attribute DOMString label;
|
||||
[CEReactions, Reflect=selected] attribute boolean defaultSelected;
|
||||
attribute boolean selected;
|
||||
[CEReactions] attribute DOMString value;
|
||||
|
||||
Reference in New Issue
Block a user