mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
layout: Remove workaround for body
while building overflow frame for StackingContextTree
construction. (#38825)
While building the stacking context tree we were assuming that `<body>` would have propagated its `overflow` value to the viewport, and thus its used `overflow` would be `visible`. However, the element that propagates `overflow` can be the root element instead. Since #38598 we are correctly taking this into account in `effective_overflow()`, so we no longer need to do anything special in the stacking context logic. Testing: `css/css-overflow/overflow-body-propagation-012.html` Fixes: #38799 Signed-off-by: Shubham Gupta <shubham13297@gmail.com>
This commit is contained in:
parent
4784ff0375
commit
09db6b8669
4 changed files with 61 additions and 19 deletions
17
tests/wpt/meta/MANIFEST.json
vendored
17
tests/wpt/meta/MANIFEST.json
vendored
|
@ -231653,6 +231653,19 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"overflow-body-propagation-012.html": [
|
||||
"483b92e79b4f362e7cb6b5a8020103f48798b21a",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-overflow/overflow-body-propagation-012-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"overflow-canvas.html": [
|
||||
"e9529cb0bc81202c5689a507435ea088028a97fc",
|
||||
[
|
||||
|
@ -446720,6 +446733,10 @@
|
|||
"0d440ef20afa3d2456b702b2a1727a9f0717c4c1",
|
||||
[]
|
||||
],
|
||||
"overflow-body-propagation-012-ref.html": [
|
||||
"06b64c94334582ca9674f26648ef2be9c3c0e6c2",
|
||||
[]
|
||||
],
|
||||
"overflow-canvas-ref.html": [
|
||||
"3ad440e371906b2fa4bc2ec4ae5c430267cf11c1",
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue