Commit a8b3949f authored by Chromium WPT Sync's avatar Chromium WPT Sync Committed by Commit Bot

Import wpt@1e5a5fefe15c4fcc1a3267daf1d75598f736c82f

Using wpt-import in Chromium dea26b73.
With Chromium commits locally applied on WPT:
303956b6 "Enable WPT tests for the Generic Sensor classes"
0ade0386 "Web Animations: Fix bugs in procedure to process a keyframes argument"
c3895d83 "Revert "Reland: Use PostTask to schedule cross-process postMessage forwarding.""


Build: https://ci.chromium.org/buildbot/chromium.infra.cron/wpt-importer/15536

Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md

TBR=danyao

No-Export: true
Change-Id: I7d713441772805e708c67d765d6b27edd566f380
Reviewed-on: https://chromium-review.googlesource.com/1012223
Commit-Queue: Blink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Reviewed-by: default avatarBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550692}
parent 02bb467e
......@@ -12,9 +12,17 @@
</head>
<body>
<script>
// For <final-bg-layer>, implementations serialize <background-color> after <bg-image>, contrary to spec.
// Safari removes quotes.
test_valid_value("background", '1px 2px / 3px 4px space round fixed border-box padding-box, red url("https://example.com/")', ['1px 2px / 3px 4px space round fixed border-box padding-box, url("https://example.com/") red', '1px 2px / 3px 4px space round fixed border-box padding-box, url(https://example.com/) red']);
// Background serialization varies across browsers. https://github.com/w3c/csswg-drafts/issues/418
test_valid_value("background",
'url("https://example.com/") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url("https://example.com/") 1px 2px / 3px 4px space round local padding-box content-box', [
'url("https://example.com/") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url("https://example.com/") 1px 2px / 3px 4px space round local padding-box content-box', // spec
'url("https://example.com/") local space round 1px 2px / 3px 4px padding-box content-box, url("https://example.com/") local space round 1px 2px / 3px 4px padding-box content-box rgb(5, 6, 7)', // Edge
'url("https://example.com/") space round local 1px 2px / 3px 4px padding-box content-box, rgb(5, 6, 7) url("https://example.com/") space round local 1px 2px / 3px 4px padding-box content-box', // Firefox
'url("https://example.com/") 1px 2px / 3px 4px space round local padding-box content-box, url("https://example.com/") 1px 2px / 3px 4px space round local padding-box content-box rgb(5, 6, 7)', // Blink
'url(https://example.com/) 1px 2px / 3px 4px space round local padding-box content-box, url(https://example.com/) 1px 2px / 3px 4px space round local padding-box content-box rgb(5, 6, 7)' // WebKit omits quotes - https://bugs.webkit.org/show_bug.cgi?id=28869
]);
</script>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment