Closed Bug 1493019 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 13124 - [css-layout-api] Adds ability to specify percentage{Inline,Block}Size.

Categories

(Core :: CSS Parsing and Computation, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13124 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/13124
Details from upstream follow.

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
>  [css-layout-api] Adds ability to specify percentage{Inline,Block}Size.
>  
>  This allows developers to specify the size which percentages in the
>  block (wrt child writing mode) direction should be resolved against.
>  Currently inline percentages still resolve against the available
>  inline-size.
>  
>  This adds a "OverrideContainingBlockPercentageResolutionLogicalHeight"
>  field on layout box, which both the logic for
>  LayoutBox::ComputePercenatgeLogicalHeight and
>  LayoutBox::ComputeReplacedLogicalHeight use.
>  
>  The follow similar logic to LayoutGrid, in that in quirks mode,
>  percentages are treated as indefinite (doesn't "walk-up" the tree).
>  
>  Change-Id: I256381687d2eed7693a908074f7f5032d5963e2b
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1232206
>  WPT-Export-Revision: f2a25211d57630939c3be4140bed1dec5fad55f9
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 19 tests
FAIL   : 19

New tests that have failures or other problems:
/css/css-layout-api/child-constraints/available-size-for-percentages-htb-htb.https.html: FAIL
/css/css-layout-api/child-constraints/available-size-for-percentages-htb-vrl.https.html: FAIL
/css/css-layout-api/child-constraints/available-size-for-percentages-invalid.https.html: FAIL
/css/css-layout-api/child-constraints/available-size-for-percentages-vrl-htb.https.html: FAIL
/css/css-layout-api/child-constraints/available-size-for-percentages-vrl-vrl.https.html: FAIL
/css/css-layout-api/child-constraints/percentage-size-htb-htb.https.html: FAIL
/css/css-layout-api/child-constraints/percentage-size-htb-vrl.https.html: FAIL
/css/css-layout-api/child-constraints/percentage-size-invalid.https.html: FAIL
/css/css-layout-api/child-constraints/percentage-size-quirks-mode.https.html: FAIL
/css/css-layout-api/child-constraints/percentage-size-vrl-htb.https.html: FAIL
/css/css-layout-api/child-constraints/percentage-size-vrl-vrl.https.html: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fb6c44a6bfa3
[wpt PR 13124] - [css-layout-api] Adds ability to specify percentage{Inline,Block}Size., a=testonly
https://hg.mozilla.org/mozilla-central/rev/fb6c44a6bfa3
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.