diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-layout-api/fallback-layout-invalid-fragment.https.html')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-layout-api/fallback-layout-invalid-fragment.https.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-layout-api/fallback-layout-invalid-fragment.https.html b/tests/wpt/web-platform-tests/css/css-layout-api/fallback-layout-invalid-fragment.https.html index e4253ff3935..2e33e8761d3 100644 --- a/tests/wpt/web-platform-tests/css/css-layout-api/fallback-layout-invalid-fragment.https.html +++ b/tests/wpt/web-platform-tests/css/css-layout-api/fallback-layout-invalid-fragment.https.html @@ -32,10 +32,10 @@ registerLayout('bad-request', class { static get inputProperties() { return ['--fail']; } - *intrinsicSizes() {} - *layout(children, _, __, styleMap) { + async intrinsicSizes() {} + async layout(children, _, __, styleMap) { if (styleMap.get('--fail').toString() !== 'true') { - this.fragment = yield children[0].layoutNextFragment({}); + this.fragment = await children[0].layoutNextFragment({}); } // Return, if the fragment is invalid (we skipped the if statement above) |