Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uplayout: Allow inline elements to be containing blocks for absolutely-positioned elements. #5911
Conversation
highfive
commented
May 1, 2015
hoppipolla-critic-bot
commented
May 1, 2015
|
Critic review: https://critic.hoppipolla.co.uk/r/4869 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
|
|
components/layout/flow.rs, line 1328 [r1] (raw file): Comments from the review on Reviewable.io |
e8e8c5c
to
8c2f813
|
|
|
Reviewed files:
tests/ref/basic.list, line 45 [r4] (raw file): Comments from the review on Reviewable.io |
|
Reviewed files:
Comments from the review on Reviewable.io |
8c2f813
to
48b64e0
|
It was merge fallout. Rebased and fixed. r? @mbrubeck |
|
Reviewed files:
components/layout/display_list_builder.rs, line 1494 [r4] (raw file): Comments from the review on Reviewable.io |
|
Reviewed files:
Comments from the review on Reviewable.io |
|
Reviewed files:
components/layout/flow.rs, line 1381 [r5] (raw file): components/layout/fragment.rs, line 1659 [r5] (raw file): components/layout/fragment.rs, line 1824 [r5] (raw file): Comments from the review on Reviewable.io |
|
Reviewed files:
components/layout/inline.rs, line 1458 [r5] (raw file): components/layout/inline.rs, line 1467 [r5] (raw file): components/layout/inline.rs, line 1581 [r5] (raw file): Comments from the review on Reviewable.io |
|
Review complete; some minor comments on Reviewable above. |
|
components/gfx/display_list/mod.rs, line 544 [r3] (raw file): components/layout/fragment.rs, line 1659 [r5] (raw file): Comments from the review on Reviewable.io |
48b64e0
to
8e551f8
|
I can reproduce the test failure locally on Linux; the box is offset downward 1px in |
|
|
63073d0
to
79eb797
|
|
|
Reviewed files:
Comments from the review on Reviewable.io |
79eb797
to
9a8fdac
9a8fdac
to
a299a2c
|
@bors-servo: r=mbrubeck |
|
|
…brubeck r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5911) <!-- Reviewable:end -->
|
If I remember correctly, this is because there is not a 1:1 mapping between iinline elements and inline flows. A single inline flow may contain fragments from multiple elements. When traversing the flow tree, one can't simply look at "the inline element" of an inline flow. |
pcwalton commentedMay 1, 2015
r? @mbrubeck