aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-properties-values-api
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2020-05-28 08:18:22 +0000
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2020-05-28 11:23:41 +0000
commit1b463fce85f9be158bdadb3c3c896c227a47d149 (patch)
treeb6e5e875beba9a281b6ad140a85f462d97733406 /tests/wpt/web-platform-tests/css/css-properties-values-api
parentb0f0bd8282e797c03430a24bd31702b7f5743fad (diff)
downloadservo-1b463fce85f9be158bdadb3c3c896c227a47d149.tar.gz
servo-1b463fce85f9be158bdadb3c3c896c227a47d149.zip
Update web-platform-tests to revision 5c34fc630374b9eb0559139a486ff1a2e4247c4f
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-properties-values-api')
-rw-r--r--tests/wpt/web-platform-tests/css/css-properties-values-api/at-property-non-matching-media-crash.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-properties-values-api/at-property-non-matching-media-crash.html b/tests/wpt/web-platform-tests/css/css-properties-values-api/at-property-non-matching-media-crash.html
new file mode 100644
index 00000000000..c5b894f3496
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-properties-values-api/at-property-non-matching-media-crash.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html class="test-wait">
+ <link rel="help" href="https://crbug.com/1085994">
+ <style id="style">
+ @property --x {
+ syntax: "<length>";
+ inherits: false;
+ initial-value: 0px;
+ }
+ </style>
+ <script>
+ document.documentElement.offsetTop;
+ style.setAttribute('media', 'braille');
+ document.documentElement.className = '';
+ </script>
+ <p>
+ PASS if no crash
+ </p>
+</html>