aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/debug.patch
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-06-14 13:00:09 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-06-20 17:46:45 +0200
commit4cb43326024f2bf88357d32bfb56f293eaf2366d (patch)
treeee2d2b21f42617927748017f6be7ba99647359d3 /components/script/dom/bindings/codegen/parser/debug.patch
parentffccc5c88b8d47efc777b0bc9d2620bed4bc84d7 (diff)
downloadservo-4cb43326024f2bf88357d32bfb56f293eaf2366d.tar.gz
servo-4cb43326024f2bf88357d32bfb56f293eaf2366d.zip
Correct rendering of floated root
Fix two issues around floating a root element: 1. In the StackingContext code handle the case where a root element is a Float fragment and not a Box fragment. This fixes a debug assertion failure in the css/CSS2/float/float-root.html test. 2. When initializing the SequentialLayoutState, use the containing block width as the maximum inline float placement position instead of infinity. This fixes the rendering of css/CSS2/float/float-root.html. Note that css/CSS2/float/float-root.html was passing before, because both the test and reference were subject to the same bug. This fixes a couple other tests as well.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/debug.patch')
0 files changed, 0 insertions, 0 deletions