Bug 1446870 [wpt PR 10087] - [css-typed-om] Add support for min/max-width/height., a=testonly
authorDarren Shen <shend@chromium.org>
Mon, 09 Apr 2018 17:17:50 +0000
changeset 467109 4b23e6eb7bbafcbc947bd72aba1447d194a75b7b
parent 467108 66e876e58decf19838f06aaba2b23a4dacf2a6b2
child 467110 589906fa46564c712a0d9fc29fe86358cad14cb9
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
bugs1446870, 10087, 820299, 968003, 543980
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 1446870 [wpt PR 10087] - [css-typed-om] Add support for min/max-width/height., a=testonly Automatic update from web-platform-tests[css-typed-om] Add support for min/max-width/height. Add support & tests for (min/max)-(width/height). Note that the typed om spec specifies the old specs for these properties: https://drafts.csswg.org/css21/visudet.html Bug: 820299 Change-Id: I9c65f7f24d84b83ea2e2f167f8fb86be967eff06 Reviewed-on: https://chromium-review.googlesource.com/968003 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by: nainar <nainar@chromium.org> Cr-Commit-Position: refs/heads/master@{#543980} wpt-commits: 918f9684ec3846ac5bf588678dbdde6d58e22fc8 wpt-pr: 10087 wpt-commits: 918f9684ec3846ac5bf588678dbdde6d58e22fc8 wpt-pr: 10087
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/height.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/width.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -522762,17 +522762,17 @@
    "c4a42872dca602b71f021799d29e404cfa7ed90e",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/font-weight.html": [
    "6429fa7266a227e93cb0a5d3eb19468b0f73fce8",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/height.html": [
-   "36b8677eb45f8555da4381e1644624df2f2060e0",
+   "617ec941ab1cbd02b31b8a9bb7ce6da311109476",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/isolation.html": [
    "883b36434d3e3d8fee25f0ae0fee9884b5ceef44",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/left.html": [
    "354512fcb071a863f11305f36cf3605ceef733b8",
@@ -522942,17 +522942,17 @@
    "5b8de5bb7b87b82729c5ea92d80409128124acaf",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/white-space.html": [
    "b51dea7a7d0f93f13fda93c0f27e5084fa4c3b3e",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/width.html": [
-   "d429f7a88012179ef3d604b79b3db4aaba0ca426",
+   "205915eb7162e23fd5600488304dd8dfa8e51ee2",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/writing-mode.html": [
    "3867e6c80011aaccb4b18efa37dea27d62dcf428",
    "testharness"
   ],
   "css/css-ui/OWNERS": [
    "beeb8a77d396e48731fd1e69a922b6e2c84c2caa",
--- a/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/height.html
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/height.html
@@ -14,9 +14,32 @@
 'use strict';
 
 runPropertyTests('height', [
   { syntax: 'auto' },
   { syntax: '<percentage>', specified: assert_is_equal_with_range_handling },
   { syntax: '<length>', specified: assert_is_equal_with_range_handling },
 ]);
 
+runPropertyTests('min-height', [
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+runPropertyTests('max-height', [
+  { syntax: 'none' },
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
 </script>
--- a/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/width.html
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/width.html
@@ -20,9 +20,32 @@ runPropertyTests('width', [
     specified: assert_is_equal_with_range_handling
   },
   {
     syntax: '<length>',
     specified: assert_is_equal_with_range_handling
   },
 ]);
 
+runPropertyTests('min-width', [
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
+runPropertyTests('max-width', [
+  { syntax: 'none' },
+  {
+    syntax: '<percentage>',
+    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<length>',
+    specified: assert_is_equal_with_range_handling
+  },
+]);
+
 </script>