diff options
author | bors-servo <infra@servo.org> | 2023-06-16 17:11:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 17:11:58 +0200 |
commit | 0b310e6e6a5fdfcede859d14974dd7f368ec405b (patch) | |
tree | 429a54de0edb313b518268ee38cc14d6e96b1b52 /components/script/dom/bindings/codegen | |
parent | db684cb9f1736ec84a63aae6da629831eda64bfc (diff) | |
parent | ae3c22aa887d6c74acab6cc899b19a7cb41cd131 (diff) | |
download | servo-0b310e6e6a5fdfcede859d14974dd7f368ec405b.tar.gz servo-0b310e6e6a5fdfcede859d14974dd7f368ec405b.zip |
Auto merge of #29880 - mrobinson:fix-float-stacking-context-order, r=Loirooriol
Don't pass float stacking containers up to parent stacking contexts
Don't pass up float stacking containers to parent stacking contexts
Instead of passing up stacking containers created by floated content,
keep them in their original parent stacking containers. This is in in
line with specification text for stacking containers:
> To paint a stacking container, given a box root and a canvas canvas:
>
> 1. Paint a stacking context given root and canvas, treating root as
> if it created a new stacking context, but omitting any positioned
> descendants or descendants that actually create a stacking context
> (letting the parent stacking context paint them, instead).
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/bindings/codegen')
0 files changed, 0 insertions, 0 deletions