Revision 208cfc11c0a61d6d44ec395699ff32c6dcf6ab52 authored by Manuel Rego Casasnovas on 19 March 2018, 16:01:26 UTC, committed by Chromium WPT Sync on 19 March 2018, 16:01:26 UTC
LayoutBox::FillAvailableMeasure() was not considering the case of
orthogonal elements when computing the margins.
The margins ended up being properly calculated but the size of
the orthogonal elements was wrong, as they considered
to have more or less space than the available one.

The method is modified in order to use
the containing block inline size in order to resolve the percentages:
https://www.w3.org/TR/css-writing-modes-3/#dimension-mapping

BUG=808758
TEST=external/wpt/css/css-writing-modes/sizing-orthogonal-percentage-margin-00*.html

Change-Id: Ib8c81dcd14589b3fefe806de3f8f75c000b1cac9
Reviewed-on: https://chromium-review.googlesource.com/968522
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544047}
1 parent 5dee619
History
File Mode Size
experimental-features
resources
OWNERS -rw-r--r-- 10 bytes
README.md -rw-r--r-- 2.5 KB
autoplay-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html -rw-r--r-- 1.3 KB
autoplay-allowed-by-feature-policy-attribute.https.sub.html -rw-r--r-- 1.2 KB
autoplay-allowed-by-feature-policy.https.sub.html -rw-r--r-- 1.3 KB
autoplay-allowed-by-feature-policy.https.sub.html.headers -rw-r--r-- 27 bytes
autoplay-default-feature-policy.https.sub.html -rw-r--r-- 1.3 KB
autoplay-disabled-by-feature-policy.https.sub.html -rw-r--r-- 1.3 KB
autoplay-disabled-by-feature-policy.https.sub.html.headers -rw-r--r-- 32 bytes
feature-policy-frame-policy-allowed-for-all.https.sub.html -rw-r--r-- 3.9 KB
feature-policy-frame-policy-allowed-for-all.https.sub.html.sub.headers -rw-r--r-- 30 bytes
feature-policy-frame-policy-allowed-for-self.https.sub.html -rw-r--r-- 3.9 KB
feature-policy-frame-policy-allowed-for-self.https.sub.html.sub.headers -rw-r--r-- 35 bytes
feature-policy-frame-policy-allowed-for-some.https.sub.html -rw-r--r-- 5.4 KB
feature-policy-frame-policy-allowed-for-some.https.sub.html.sub.headers -rw-r--r-- 104 bytes
feature-policy-frame-policy-disallowed-for-all.https.sub.html -rw-r--r-- 3.9 KB
feature-policy-frame-policy-disallowed-for-all.https.sub.html.sub.headers -rw-r--r-- 35 bytes
feature-policy-header-policy-allowed-for-all.https.sub.html -rw-r--r-- 1.7 KB
feature-policy-header-policy-allowed-for-all.https.sub.html.sub.headers -rw-r--r-- 30 bytes
feature-policy-header-policy-allowed-for-self.https.sub.html -rw-r--r-- 1.7 KB
feature-policy-header-policy-allowed-for-self.https.sub.html.sub.headers -rw-r--r-- 35 bytes
feature-policy-header-policy-allowed-for-some.https.sub.html -rw-r--r-- 2.2 KB
feature-policy-header-policy-allowed-for-some.https.sub.html.sub.headers -rw-r--r-- 104 bytes
feature-policy-header-policy-disallowed-for-all.https.sub.html -rw-r--r-- 1.7 KB
feature-policy-header-policy-disallowed-for-all.https.sub.html.sub.headers -rw-r--r-- 36 bytes
feature-policy-nested-header-policy-allowed-for-all.https.sub.html -rw-r--r-- 3.2 KB
feature-policy-nested-header-policy-allowed-for-all.https.sub.html.sub.headers -rw-r--r-- 30 bytes
feature-policy-nested-header-policy-allowed-for-self.https.sub.html -rw-r--r-- 3.2 KB
feature-policy-nested-header-policy-allowed-for-self.https.sub.html.sub.headers -rw-r--r-- 35 bytes
feature-policy-nested-header-policy-disallowed-for-all.https.sub.html -rw-r--r-- 2.3 KB
feature-policy-nested-header-policy-disallowed-for-all.https.sub.html.sub.headers -rw-r--r-- 35 bytes
interfaces.any.js -rw-r--r-- 564 bytes
payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html -rw-r--r-- 1.5 KB
payment-allowed-by-feature-policy-attribute.https.sub.html -rw-r--r-- 978 bytes
payment-allowed-by-feature-policy.https.sub.html -rw-r--r-- 1.7 KB
payment-allowed-by-feature-policy.https.sub.html.headers -rw-r--r-- 26 bytes
payment-default-feature-policy.https.sub.html -rw-r--r-- 1.7 KB
payment-disabled-by-feature-policy.https.sub.html -rw-r--r-- 1.7 KB
payment-disabled-by-feature-policy.https.sub.html.headers -rw-r--r-- 31 bytes
picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html -rw-r--r-- 1.2 KB
picture-in-picture-allowed-by-feature-policy-attribute.https.sub.html -rw-r--r-- 1.2 KB
picture-in-picture-allowed-by-feature-policy.https.sub.html -rw-r--r-- 1.2 KB
picture-in-picture-allowed-by-feature-policy.https.sub.html.headers -rw-r--r-- 37 bytes
picture-in-picture-default-feature-policy.https.sub.html -rw-r--r-- 1.2 KB
picture-in-picture-disabled-by-feature-policy.https.sub.html -rw-r--r-- 1.2 KB
picture-in-picture-disabled-by-feature-policy.https.sub.html.headers -rw-r--r-- 42 bytes

README.md

back to top