mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Update web-platform-tests to revision 5934bd3aca20a07917ad46fe7cebe10c68d5e497
This commit is contained in:
parent
e41f1662dc
commit
64b58d76c6
67 changed files with 656 additions and 278 deletions
|
@ -0,0 +1,24 @@
|
|||
<!doctype html>
|
||||
<title>Test `contain: strict` to Flexbox does not crash</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/css-contain-1/#contain-property">
|
||||
<link rel="author" href="mailto:kojii@chromium.org">
|
||||
<style>
|
||||
body {
|
||||
contain: strict;
|
||||
display: flex;
|
||||
}
|
||||
html {
|
||||
outline: 1px auto;
|
||||
}
|
||||
</style>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<div id="target"></div>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
test(() => {
|
||||
document.body.offsetTop;
|
||||
target.style.width = '100px';
|
||||
document.body.offsetTop;
|
||||
}, "Pass if no crash");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue