mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 82b73b315ce7ed1554e7a9b7bced66a5831e4ee5
This commit is contained in:
parent
00a9f30773
commit
76712d7d25
353 changed files with 6528 additions and 1307 deletions
|
@ -14,8 +14,15 @@
|
|||
|
||||
<div id="test"></div>
|
||||
|
||||
<script>
|
||||
promise_test(async function() {
|
||||
await importWorklet(CSS.layoutWorklet, {url: 'support/layout-position-child-worklet.js'});
|
||||
<script id="code" type="text/worklet">
|
||||
registerLayout('test', class {
|
||||
async intrinsicSizes() {}
|
||||
async layout() {}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
promise_test(async function() {
|
||||
await importWorklet(CSS.layoutWorklet, document.getElementById('code').textContent);
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue