-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
unexpected overflow with display:inline-block + margin #9308
Labels
Comments
92 tasks
This was referenced Jan 18, 2016
Closed
pcwalton
added a commit
to pcwalton/servo
that referenced
this issue
Jan 23, 2016
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
pushed a commit
that referenced
this issue
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 -->
pcwalton
added a commit
to pcwalton/servo
that referenced
this issue
Jan 25, 2016
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
pushed a commit
that referenced
this issue
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 -->
Smaller test case:
Shouldn't scroll. The problem goes away if margins on the document element are set to zero. |
pcwalton
added a commit
to pcwalton/servo
that referenced
this issue
Jan 27, 2016
instead of expanding the block size of its border box. Closes servo#9308.
pcwalton
added a commit
to pcwalton/servo
that referenced
this issue
Jan 27, 2016
instead of expanding the block size of its border box. Closes servo#9308.
pcwalton
added a commit
to pcwalton/servo
that referenced
this issue
Jan 27, 2016
instead of expanding the block size of its border box. Closes servo#9308.
bors-servo
pushed a commit
that referenced
this issue
Jan 27, 2016
Expand the block size of the root flow's margin box to the viewport size instead of expanding the block size of its border box. Closes #9308. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9438) <!-- Reviewable:end -->
bors-servo
pushed a commit
that referenced
this issue
Jan 28, 2016
Expand the block size of the root flow's margin box to the viewport size instead of expanding the block size of its border box. Closes #9308. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9438) <!-- Reviewable:end -->
pcwalton
added a commit
to pcwalton/servo
that referenced
this issue
Jan 28, 2016
instead of expanding the block size of its border box. Closes servo#9308.
bors-servo
pushed a commit
that referenced
this issue
Jan 28, 2016
Expand the block size of the root flow's margin box to the viewport size instead of expanding the block size of its border box. Closes #9308. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9438) <!-- Reviewable:end -->
bors-servo
pushed a commit
that referenced
this issue
Jan 28, 2016
Expand the block size of the root flow's margin box to the viewport size instead of expanding the block size of its border box. Closes #9308. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9438) <!-- Reviewable:end -->
bors-servo
pushed a commit
that referenced
this issue
Jan 29, 2016
Expand the block size of the root flow's margin box to the viewport size instead of expanding the block size of its border box. Closes #9308. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9438) <!-- Reviewable:end -->
bors-servo
pushed a commit
that referenced
this issue
Jan 29, 2016
Expand the block size of the root flow's margin box to the viewport size instead of expanding the block size of its border box. Closes #9308. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9438) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following example makes the body element scrollable. The extra area is apparently directly related to the margin value.
Note: using
block
instead ofinline-block
reduces the scrollable area, but it's still possible to scroll.The text was updated successfully, but these errors were encountered: