mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
parent
a0b44ff5e7
commit
85b424464a
Notes:
github-actions[bot]
2025-01-21 16:49:39 +00:00
Author: https://github.com/trflynn89
Commit: 85b424464a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3335
191 changed files with 574 additions and 574 deletions
|
@ -33,7 +33,7 @@ HTMLFormElement* HTMLLegendElement::form()
|
|||
// The form IDL attribute's behavior depends on whether the legend element is in a fieldset element or not.
|
||||
// If the legend has a fieldset element as its parent, then the form IDL attribute must return the same value as the form IDL attribute on that fieldset element.
|
||||
if (is<HTML::HTMLFieldSetElement>(parent_element())) {
|
||||
return verify_cast<HTML::HTMLFieldSetElement>(parent_element())->form();
|
||||
return as<HTML::HTMLFieldSetElement>(parent_element())->form();
|
||||
}
|
||||
|
||||
// Otherwise, it must return null.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue