Bug 1447881 [wpt PR 10134] - [css-typed-om] support block-size and inline-size, a=testonly
authorHwanseung Lee <hs1217.lee@samsung.com>
Mon, 09 Apr 2018 18:12:06 +0000
changeset 467183 ef9bce229bcce13d8bbbecd8d51d388adb9c0702
parent 467182 739a2ad639eb6b8910970d236031b6cf0f5d6dd4
child 467184 1c178deec30f8b05ed3300f0b0e59efcc31fe240
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
bugs1447881, 10134, 820299, 973561, 545802
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 1447881 [wpt PR 10134] - [css-typed-om] support block-size and inline-size, a=testonly Automatic update from web-platform-tests[css-typed-om] support block-size and inline-size block-size[1], inline-size[2], max-block-size[3], max-inline-size[4], min-block-size[5], min-inline-size[6] are added to support in whitelist. and test file are also added. [1]https://drafts.csswg.org/css-logical-1/#propdef-block-size [2]https://drafts.csswg.org/css-logical-1/#propdef-inline-size [3]https://drafts.csswg.org/css-logical-1/#propdef-max-block-size [4]https://drafts.csswg.org/css-logical-1/#propdef-max-inline-size [5]https://drafts.csswg.org/css-logical-1/#propdef-min-block-size [6]https://drafts.csswg.org/css-logical-1/#propdef-min-inline-size Bug: 820299 Change-Id: I97c589deea28bfedc82ec1b1686ceaf9979cb95e Reviewed-on: https://chromium-review.googlesource.com/973561 Commit-Queue: Hwanseung Lee <hwanseung@chromium.org> Reviewed-by: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#545802} wpt-commits: a890989795f8c8d005db4fd5fe859b171c6c1d98 wpt-pr: 10134 wpt-commits: a890989795f8c8d005db4fd5fe859b171c6c1d98 wpt-pr: 10134
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/block-size.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/inline-size.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -317566,16 +317566,22 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/background.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/background.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/block-size.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/block-size.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/border-collapse.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/border-collapse.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/border-color.html": [
     [
@@ -317818,16 +317824,22 @@
     ]
    ],
    "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": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/inline-size.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/isolation.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/isolation.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/left.html": [
     [
@@ -523185,16 +523197,20 @@
   "css/css-typed-om/the-stylepropertymap/properties/background-image.html": [
    "1255fea8e74561e14720ccf422fd841e1d3e32fa",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/background.html": [
    "32d684e452a4bafd7b58a0b33d42d32aa51ac091",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/block-size.html": [
+   "4dc26a97d56a24c053efac27b5988456d750d186",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/border-collapse.html": [
    "93e71097d3b28c88f51210a2f2a9fcf433f80cba",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/border-color.html": [
    "5b8adde602ac79d8b1ea92bd29f25d8756d72f8a",
    "testharness"
   ],
@@ -523353,16 +523369,20 @@
   "css/css-typed-om/the-stylepropertymap/properties/font.html": [
    "6f3f672ecb0ad0b4391b7c7fbd8bb666b77a1efc",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/height.html": [
    "617ec941ab1cbd02b31b8a9bb7ce6da311109476",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/inline-size.html": [
+   "531ad3bba92bfdb60377dc755d40f3300d0843e0",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/isolation.html": [
    "883b36434d3e3d8fee25f0ae0fee9884b5ceef44",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/left.html": [
    "354512fcb071a863f11305f36cf3605ceef733b8",
    "testharness"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/block-size.html
@@ -0,0 +1,51 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'block-size' property</title>
+<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-get">
+<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-set">
+<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#property-stle-value-normalization">
+<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';
+
+runPropertyTests('block-size', [
+  { syntax: 'auto' },
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+runPropertyTests('min-block-size', [
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+runPropertyTests('max-block-size', [
+  { syntax: 'none' },
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+</script>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/inline-size.html
@@ -0,0 +1,51 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'inline-size' property</title>
+<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-get">
+<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-set">
+<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#property-stle-value-normalization">
+<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';
+
+runPropertyTests('inline-size', [
+  { syntax: 'auto' },
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+runPropertyTests('min-inline-size', [
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+runPropertyTests('max-inline-size', [
+  { syntax: 'none' },
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+</script>
\ No newline at end of file