Bug 1448335 [wpt PR 10157] - [css-typedom] Add support for the *-gap properties., a=testonly
authorRune Lillesveen <futhark@chromium.org>
Mon, 09 Apr 2018 18:14:09 +0000
changeset 467187 e025792ad0b2e55247db64ba924c4f52a6b4a5c0
parent 467186 4cfcb3612183d4dd0bfe26a40103525b8d6aa33d
child 467188 2727b165f16ccc4ee1830e9eb76af9da0daf1fe4
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1448335, 10157, 820299, 978247, 545896
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1448335 [wpt PR 10157] - [css-typedom] Add support for the *-gap properties., a=testonly Automatic update from web-platform-tests[css-typedom] Add support for the *-gap properties. Bug: 820299 Change-Id: I596113eeea7d4c13cf689364744bff7c261f93d3 Reviewed-on: https://chromium-review.googlesource.com/978247 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#545896} wpt-commits: 06f77f6bfaa86f3643a79f1ec2c49c6b6955cf18 wpt-pr: 10157 wpt-commits: 06f77f6bfaa86f3643a79f1ec2c49c6b6955cf18 wpt-pr: 10157
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/gap.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -317941,16 +317941,22 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/font.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/font.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/gap.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/gap.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/height.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/height.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/inline-size.html": [
     [
@@ -523546,16 +523552,20 @@
   "css/css-typed-om/the-stylepropertymap/properties/font-weight.html": [
    "6429fa7266a227e93cb0a5d3eb19468b0f73fce8",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/font.html": [
    "6f3f672ecb0ad0b4391b7c7fbd8bb666b77a1efc",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/gap.html": [
+   "e113dfd152548c6ba612d40af13ba5877673b043",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/height.html": [
    "617ec941ab1cbd02b31b8a9bb7ce6da311109476",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/inline-size.html": [
    "531ad3bba92bfdb60377dc755d40f3300d0843e0",
    "testharness"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/gap.html
@@ -0,0 +1,30 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'*-gap' properties</title>
+<link rel="help" href="https://drafts.css-houdini.org/css-typed-om/#dom-stylepropertymapreadonly-get">
+<link rel="help" href="https://drafts.css-houdini.org/css-typed-om/#dom-stylepropertymap-set">
+<link rel="help" href="https://drafts.css-houdini.org/css-typed-om/#reify-stylevalue">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="../../resources/testhelper.js"></script>
+<script src="resources/testsuite.js"></script>
+<body>
+<div id="log"></div>
+<script>
+'use strict';
+
+for (const prefix of ['column', 'row']) {
+  runPropertyTests(`${prefix}-gap`, [
+    { syntax: 'normal' },
+    {
+      syntax: '<length>',
+      specified: assert_is_equal_with_range_handling
+    },
+    {
+      syntax: '<percentage>',
+      specified: assert_is_equal_with_range_handling
+    },
+  ]);
+}
+
+</script>