Skip to content

layout: Remove some bogus code that tried to handle absolutely-positioned flows separately when storing overflow. - #9405

Merged
bors-servo merged 1 commit into
servo:masterfrom
pcwalton:absolute-positioning-overflow
Jan 25, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
pcwalton:absolute-positioning-overflow

Conversation

@pcwalton

Copy link
Copy Markdown
Contributor

This code dates back to the time when absolutely positioned flows were
ignored by all of their ancestors up to the containing block. This
hasn't been true for at least a year.

Closes #9306.
Closes #9309.
Is a partial fix for #9308.

r? @glennw

Review on Reviewable

@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify layout code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 23, 2016
@glennw

glennw commented Jan 23, 2016

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit d81d1df has been approved by glennw

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit d81d1df with merge 3061d50...

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jan 23, 2016
bors-servo pushed a commit that referenced this pull request Jan 23, 2016
layout: Remove some bogus code that tried to handle absolutely-positioned flows separately when storing overflow.

This code dates back to the time when absolutely positioned flows were
ignored by all of their ancestors up to the containing block. This
hasn't been true for at least a year.

Closes #9306.
Closes #9309.
Is a partial fix for #9308.

r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9405)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jan 23, 2016
@KiChjang

Copy link
Copy Markdown
Contributor
Ran 9335 tests finished in 334.0 seconds.
  • 9334 ran as expected. 55 tests skipped.
  • 1 tests passed unexpectedly

Tests with unexpected results:
  ▶ PASS [expected FAIL] /css21_dev/html4/numbers-units-018.htm

Intermittent pass or real test pass?
The test-wpt failure is #8157.

@nox

nox commented Jan 23, 2016

Copy link
Copy Markdown
Contributor

@KiChjang Looks like a proper pass, there are some absolutely-positioned elements in that test.

@jdm

jdm commented Jan 23, 2016

Copy link
Copy Markdown
Member

@pcwalton Just to confirm, does the presence of the tests under the html/ directory imply that these changes to can only be verified manually?

@glennw

glennw commented Jan 23, 2016

Copy link
Copy Markdown
Member

@jdm I had assumed so, since the fix changes the bounding rectangle of the scrolling region. But perhaps that does interact with layout / paint in another way that can be tested @pcwalton ?

@pcwalton

Copy link
Copy Markdown
Contributor Author

Yeah, I can't think of a good way to test this automatically.

@pcwalton
pcwalton force-pushed the absolute-positioning-overflow branch from d81d1df to 9c7b9fa Compare January 25, 2016 18:50
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Jan 25, 2016
@pcwalton

Copy link
Copy Markdown
Contributor Author

@bors-servo: r=glennw

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 9c7b9fa has been approved by glennw

@highfive highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jan 25, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 9c7b9fa with merge 4755cc5...

@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jan 25, 2016
bors-servo pushed a commit that referenced this pull request Jan 25, 2016
layout: Remove some bogus code that tried to handle absolutely-positioned flows separately when storing overflow.

This code dates back to the time when absolutely positioned flows were
ignored by all of their ancestors up to the containing block. This
hasn't been true for at least a year.

Closes #9306.
Closes #9309.
Is a partial fix for #9308.

r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9405)
<!-- Reviewable:end -->
absolutely-positioned flows separately when storing overflow.

This code dates back to the time when absolutely positioned flows were
ignored by all of their ancestors up to the containing block. This
hasn't been true for at least a year.

Closes servo#9306.
Closes servo#9309.
Is a partial fix for servo#9308.
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 9c7b9fa into servo:master Jan 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unexpected scrollable area with right:-Xpx + overflow:hidden unexpected overflow

7 participants