forked from mirrors/gecko-dev
Automatic update from web-platform-tests[css-layout-api] Fix DCHECK with the custom layout and multicol. There are probably larger changes that need to happen to ensure that the custom-layout and multicol play nicely together, but this removes a DCHECK crash for now. Bug: 823074 Change-Id: I98f4a34bd0c35e8cd3d23501ca64f38b96be9e7d Reviewed-on: https://chromium-review.googlesource.com/990780 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#550148} -- wpt-commits: 976e2c1f4b37821272f303aee639b62e1fd085f9 wpt-pr: 10287
21 lines
613 B
HTML
21 lines
613 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/">
|
|
<meta name="assert" content="This test checks that browser doesn't crash when the layout() function is used with multicol." />
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/common/worklet-reftest.js"></script>
|
|
|
|
<style>
|
|
#test {
|
|
display: layout('test');
|
|
columns: 2;
|
|
}
|
|
</style>
|
|
|
|
<div id="test"></div>
|
|
|
|
<script>
|
|
promise_test(async function() {
|
|
await importWorklet(CSS.layoutWorklet, {url: 'support/layout-position-child-worklet.js'});
|
|
});
|
|
</script>
|