diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-01 12:33:07 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-01 12:33:07 -0600 |
commit | dcaf66397a06246b9b4fdca3a10af1508a11f1e8 (patch) | |
tree | ef0eb3ee1205fa85d2a2ed84f69221e356d5b69f /components/script/dom/bindings/codegen/GlobalGen.py | |
parent | 9f85370885c84ebb58cd7f4a72a6e78948f468dc (diff) | |
parent | ce327b823133c9947b424542645fe9c427606070 (diff) | |
download | servo-dcaf66397a06246b9b4fdca3a10af1508a11f1e8.tar.gz servo-dcaf66397a06246b9b4fdca3a10af1508a11f1e8.zip |
Auto merge of #7313 - pcwalton:position-relative-percentage-overflow, r=mbrubeck
layout: Make overflow calculation take relative percentages into account.
This necessitated changing overflow to be calculated by the parent flow
if relatively positioned children are present. That is because the
overflow regions cannot be calculated without knowing relative offsets,
which themselves cannot be calculated without knowing the parent size
(because of percentages). To accomplish this without sacrificing
parallelism in the non-relative case, this patch splits overflow into
"early" and "late" computation. Late overflow computation cannot be
parallelized across children, while early overflow computation can.
Makes the "Apple Music" text show up over the full-bleed promotional
background on apple.com.
r? @SimonSapin -- would appreciate a look over the iframe test case that was changed.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7313)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/codegen/GlobalGen.py')
0 files changed, 0 insertions, 0 deletions