mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-04 16:11:54 +00:00
LibWeb: Set iframe border to 0px when frameborder attribute is invalid
Corresponds to 6e19cef90e
This commit is contained in:
parent
415dd1be06
commit
6b8adb522c
Notes:
github-actions[bot]
2025-03-14 20:34:42 +00:00
Author: https://github.com/AtkinsSJ
Commit: 6b8adb522c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3945
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 33 additions and 4 deletions
|
@ -48,6 +48,8 @@ private:
|
|||
virtual void removed_from(Node* old_parent, Node& old_root) override;
|
||||
virtual void attribute_changed(FlyString const& name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_) override;
|
||||
virtual i32 default_tab_index_value() const override;
|
||||
virtual bool is_presentational_hint(FlyString const&) const override;
|
||||
virtual void apply_presentational_hints(GC::Ref<CSS::CascadedProperties>) const override;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-iframe-element:dimension-attributes
|
||||
virtual bool supports_dimension_attributes() const override { return true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue