aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/Configuration.py
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2020-03-02 08:43:43 +0100
committerMartin Robinson <mrobinson@igalia.com>2020-03-11 12:47:06 +0100
commitc3b1c92ac1d3d4b79e4941deccc7bd0d04a4bb91 (patch)
treea3e9e95867d4b4cc4dd139f53e029cedfe794336 /components/script/dom/bindings/codegen/Configuration.py
parente3c91f7c4919e96e80c5d0ef8e9acb3e4461b1c3 (diff)
downloadservo-c3b1c92ac1d3d4b79e4941deccc7bd0d04a4bb91.tar.gz
servo-c3b1c92ac1d3d4b79e4941deccc7bd0d04a4bb91.zip
layout_2020: Paint hoisted positioned fragments in tree order
Instead of painting hoisted position fragments in the order to which they are hoisted, paint them in tree order and properly incorporate them into the stacking context. We do this by creating a placeholder fragment in the original tree position of hoisted fragments. The ghost fragment contains an atomic id which links back to the hoisted fragment in the containing block. While building the stacking context, we keep track of containing blocks and their children. When encountering a placeholder fragment we look at the containing block's hoisted children in order to properly paint the hoisted fragment. One notable design modification in this change is that hoisted fragments no longer need an AnonymousFragment as their parent. Instead they are now direct children of the fragment that establishes their containing block.
Diffstat (limited to 'components/script/dom/bindings/codegen/Configuration.py')
0 files changed, 0 insertions, 0 deletions