https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7cf8b31850c212e68883f583185b9885a31143cc authored by Geoffrey Sneddon on 30 March 2018, 03:09:04 UTC
Test for used column-count when column-count/width are not auto
Tip revision: 7cf8b31
constraints-fixed-inline-size-fixed-vrl.https.html
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
.test {
  background: red;
  height: 100px;
  writing-mode: vertical-rl;
}

@supports (display: layout(test)) {
  .test {
    background: green;
    display: layout(test);
  }
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>
back to top