New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix intrinsic sizing of block container containing a BFC root after floats #30012
Fix intrinsic sizing of block container containing a BFC root after floats #30012
Conversation
@bors-servo try=wpt-2020 |
…ts, r=<try> Fix intrinsic sizing of block container containing a BFC root after floats A block that establishes an independent formatting context is placed next to previous floats, so we should add their sizes when computing the intrinsic contribution of the parent block container. --- <!-- 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] These changes fix #30011 - [X] These changes do not require tests because the spec says "CSS 2 does not define the exact algorithm". <!-- 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. -->
I had a full testcase at home that I can check when I get back, but I think this matches what other browser do. |
Test results for linux-wpt-layout-2020 from try job (#5595526567): Flaky unexpected result (2)Stable unexpected results that are known to be intermittent (1)
|
☔ The latest upstream changes (presumably 9c333ab) made this pull request unmergeable. Please resolve the merge conflicts. |
…loats A block that establishes an independent formatting context is placed next to previous floats, so we should add their sizes when computing the intrinsic contribution of the parent block container.
1f4459c
to
9e67a67
Compare
@bors-servo try=wpt-2020 |
…ts, r=<try> Fix intrinsic sizing of block container containing a BFC root after floats A block that establishes an independent formatting context is placed next to previous floats, so we should add their sizes when computing the intrinsic contribution of the parent block container. --- <!-- 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] These changes fix #30011 - [X] These changes do not require tests because the spec says "CSS 2 does not define the exact algorithm". <!-- 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. -->
Test results for linux-wpt-layout-2020 from try job (#5600521128): Flaky unexpected result (1)
Stable unexpected results that are known to be intermittent (1)
|
💥 Test timed out |
A block that establishes an independent formatting context is placed
next to previous floats, so we should add their sizes when computing
the intrinsic contribution of the parent block container.
./mach build -d
does not report any errors./mach test-tidy
does not report any errors