Bug 1449176 [wpt PR 10196] - [css-typed-om] support r and rx and ry properties, a=testonly
authorHwanseung Lee <hs1217.lee@samsung.com>
Mon, 09 Apr 2018 18:18:25 +0000
changeset 467196 82ec32afc87e49787a48655ee0c8fc0d76f87293
parent 467195 a006df0d2383f73319a8fe538bb347218e7779ca
child 467197 54d89678fcd71638f020c62307571e14821bbdde
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
bugs1449176, 10196, 820299, 981918, 546302
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 1449176 [wpt PR 10196] - [css-typed-om] support r and rx and ry properties, a=testonly Automatic update from web-platform-tests[css-typed-om] support r and rx and ry properties r[1], rx[2], ry[3] are added to support in whitelist. and test file are also added. [1]https://svgwg.org/svg2-draft/geometry.html#R [2]https://svgwg.org/svg2-draft/geometry.html#RX [3]https://svgwg.org/svg2-draft/geometry.html#RY Bug: 820299 Change-Id: I51457648ca07aaf06cf15bd28452d5ad8099d2e3 Reviewed-on: https://chromium-review.googlesource.com/981918 Commit-Queue: Hwanseung Lee <hwanseung@chromium.org> Reviewed-by: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#546302} wpt-commits: 45d92ebc552d67936169a17e86980636b112bf18 wpt-pr: 10196 wpt-commits: 45d92ebc552d67936169a17e86980636b112bf18 wpt-pr: 10196
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/radius.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -318162,16 +318162,22 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/position.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/position.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/radius.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/radius.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/resize.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/resize.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/right.html": [
     [
@@ -523751,16 +523757,20 @@
   "css/css-typed-om/the-stylepropertymap/properties/pointer-events.html": [
    "71b42cb53d950eb62309b4567d3c7bc62dd1e28e",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/position.html": [
    "4e3eccee58cec470febe4cd9a9149f4b4436487e",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/radius.html": [
+   "ae21056fb993efb7112e0bc42fe1269f6bc0c72e",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/resize.html": [
    "533f287facbc82118469f75f9f88a1372848d3b2",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/resources/testsuite.js": [
    "7e6c530cf36cce5d7b8d02abbbefbdd4370d1be1",
    "support"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/radius.html
@@ -0,0 +1,51 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'radius' 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('r', [
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+runPropertyTests('rx', [
+  { syntax: 'auto' },
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+runPropertyTests('ry', [
+  { syntax: 'auto' },
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+</script>