Andreas Kling
74469a0c1f
LibWeb: Make CSS::ComputedProperties GC-allocated
2024-12-22 10:12:49 +01:00
Andreas Kling
c1cad8fa0e
LibWeb: Rename CSS::StyleProperties => CSS::ComputedProperties
...
Now that StyleProperties is only used to hold computed properties, let's
name it ComputedProperties.
2024-12-22 10:12:49 +01:00
Andreas Kling
a7b791050e
LibWeb: Only negotiate NavigableContainerViewport size with objects
...
Size negotiation should not occur for other viewports, such as iframe,
since that would allow content inside the iframe to affect the size of
the iframe in the containing document.
300 new subtest passes on WPT. :^)
2024-11-27 14:47:05 +01:00
Andreas Kling
733c6b14ff
LibWeb: Teach HTMLObjectElement to negotiate natural size with SVGs
...
We do this by generalizing the code previously used for SVGSVGBox into
something that can be used for NavigableViewportContainer as well.
2024-11-26 18:32:48 +01:00
Andreas Kling
dd7623eb30
LibWeb: Rename NestedBrowsingContextP => NavigableContainerViewportP
...
...where P is for Paintable :^)
2024-11-26 18:32:48 +01:00
Andreas Kling
11d966f3ba
LibWeb: Make NavigableContainerViewport always have a NavigableContainer
...
Let's not limit this to only corresponding to an HTMLIFrameElement.
2024-11-26 18:32:48 +01:00
Andreas Kling
443a8539e9
LibWeb: Rename Layout::FrameBox => NavigableContainerViewport
2024-11-26 18:32:48 +01:00