Repository navigation
Fully implement the "align descendants" rule for div. - #7825
Conversation
|
This test should go somewhere under |
|
I'm guess the test should be named something like Does it make sense to upstream the test as-is, without a test for #7301? |
|
Upstreaming happens automatically, so it's fine to make changes there. |
This adds -servo-left and -servo-right to complement -servo-center. This intentionally doesn't try to address issue servo#7301.
Flows never care about their own text-align, only the text-align of their parent; change the text-align flags to account for that. Make the "align descendants" rule use the flags instead of the current node's style. Fixes servo#7301.
|
Moved tests. Added fix for #7301, since it turned out to be easier than I thought it would be. |
|
Reviewed 8 of 8 files at r1, 2 of 2 files at r2. Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
📌 Commit a31461b has been approved by |
Fully implement the "align descendants" rule for div. This adds -servo-left and -servo-right to complement -servo-center. ~~This intentionally doesn't try to address issue #7301.~~ Commit added to address #7301. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7825) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-wpt |
|
⚡ Previous build results for android, gonk, linux-dev, linux-rel, mac-dev-ref-unit are reusable. Rebuilding only mac-rel-css, mac-rel-wpt... |
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
This adds -servo-left and -servo-right to complement -servo-center.
This intentionally doesn't try to address issue #7301.Commit added to address #7301.