aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-layout-api/fallback-layout-invalid-fragment.https.html
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2019-08-08 10:23:28 +0000
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2019-08-08 14:19:30 +0000
commit9f1d1e8b63592f56aaeba2cfa0eb99edab1531be (patch)
tree0b8948fb1ac1270c16de298c2856b972f494ecd0 /tests/wpt/web-platform-tests/css/css-layout-api/fallback-layout-invalid-fragment.https.html
parent555fa75b2c7f4faa0818e86296a4ea3d5b8e4d42 (diff)
downloadservo-9f1d1e8b63592f56aaeba2cfa0eb99edab1531be.tar.gz
servo-9f1d1e8b63592f56aaeba2cfa0eb99edab1531be.zip
Update web-platform-tests to revision 0d4300c5045a5587c2eb3d1416b11ffeecf5dadc
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.html6
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)