1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:38:10 +00:00

LibWeb: Respect width and height attributes of <iframe>

We have to respect the width and height attributes of <iframe> elements
the same way as <img> elements.
This commit is contained in:
Luke Wilde 2022-10-10 17:22:30 +01:00 committed by Andreas Kling
parent 8589f1115e
commit 6a7c560849
2 changed files with 17 additions and 0 deletions

View file

@ -23,6 +23,8 @@ public:
void set_current_navigation_was_lazy_loaded(bool value) { m_current_navigation_was_lazy_loaded = value; }
virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
private:
HTMLIFrameElement(DOM::Document&, DOM::QualifiedName);