aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-layout-api/fallback-layout-invalid-fragment.https.html
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-08-09 07:34:23 -0400
committerGitHub <noreply@github.com>2019-08-09 07:34:23 -0400
commit6775c69da128608fa6f7f11e19232c05a3b92365 (patch)
tree9424c5ed8c468e6d31b6c50e7b1d6235fdc9257b /tests/wpt/web-platform-tests/css/css-layout-api/fallback-layout-invalid-fragment.https.html
parent90fb4c3589718805f0b6d83c5e74222cf6234cb9 (diff)
parent9f1d1e8b63592f56aaeba2cfa0eb99edab1531be (diff)
downloadservo-6775c69da128608fa6f7f11e19232c05a3b92365.tar.gz
servo-6775c69da128608fa6f7f11e19232c05a3b92365.zip
Auto merge of #23935 - servo-wpt-sync:wpt_update_08-08-2019, r=servo-wpt-sync
Sync WPT with upstream (08-08-2019) Automated downstream sync of changes from upstream as of 08-08-2019. [no-wpt-sync] <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23935) <!-- Reviewable:end -->
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)