Files
Alison Maher 320330ab20 Bug 1602531 [wpt PR 20682] - [css-layout-api] IntrinsicSizes Implementation, a=testonly
Automatic update from web-platform-tests
[css-layout-api] IntrinsicSizes Implementation

This change adds support for the CSS Layout API intrinsicSizes()
callback function. The implementation closely matches that of the
layout() callback function.
  - Spec:
    https://drafts.css-houdini.org/css-layout-api/#intrinsicsizes
  - Algorithm:
    https://drafts.css-houdini.org/css-layout-api/#invoke-an-intrinsic-sizes-callback

The implementation also involved exposure of the
IntrinsicSizesResultOptions type.
  - Spec:
    https://drafts.css-houdini.org/css-layout-api/#dictdef-intrinsicsizesresultoptions

Support was also added for the Child intrinsicSizes() function.
  - Spec:
    https://drafts.css-houdini.org/css-layout-api/#dom-layoutchild-intrinsicsizes
  - Algorithm:
    https://drafts.css-houdini.org/css-layout-api/#dom-layoutchild-intrinsicsizes

Bug: 726125
Change-Id: Ifc6064e069b4c9c5218c9d783b7d9de6a480e7ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1949536
Commit-Queue: Ian Kilpatrick <[email protected]>
Reviewed-by: Kent Tamura <[email protected]>
Reviewed-by: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/master@{#725834}

--
Rename some colliding references

--

wpt-commits: f160db31bb6fdf94c6c914a779a1b47b9e0e4e30, 5f8d15ebdcf0495c271c81776971061be1366445
wpt-pr: 20682
2020-01-03 11:35:50 +00:00

12 lines
148 B
HTML

<!DOCTYPE html>
<style>
.result {
background: green;
border: solid 2px;
height: 100px;
width: 100px;
}
</style>
<div class="result"></div>