mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 14:28:49 +00:00
LibWeb: Use the right StyleInvalidationReason for iframe geometry change
This commit is contained in:
parent
f45e24864b
commit
f625ea27d0
Notes:
github-actions[bot]
2024-12-25 12:27:43 +00:00
Author: https://github.com/awesomekling
Commit: f625ea27d0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3037
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ void HTMLIFrameElement::attribute_changed(FlyString const& name, Optional<String
|
|||
|
||||
if (name == HTML::AttributeNames::width || name == HTML::AttributeNames::height) {
|
||||
// FIXME: This should only invalidate the layout, not the style.
|
||||
invalidate_style(DOM::StyleInvalidationReason::ElementAttributeChange);
|
||||
invalidate_style(DOM::StyleInvalidationReason::HTMLIFrameElementGeometryChange);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue