Bug 1449816 [wpt PR 10227] - [css-typed-om] Add a few keyword properties., a=testonly
authorDarren Shen <shend@chromium.org>
Mon, 09 Apr 2018 21:33:10 +0000
changeset 467251 2eb0e12efd4516aa869c81c17f78660b0f0d04f0
parent 467250 1cb51ca5e7004b25c5a3150552dbc1c7e0b7375c
child 467252 8bcfbeb41e46af08b78c070d4dd71e0ca63d048f
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
bugs1449816, 10227, 820299, 985337, 547665
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 1449816 [wpt PR 10227] - [css-typed-om] Add a few keyword properties., a=testonly Automatic update from web-platform-tests[css-typed-om] Add a few keyword properties. Add support for the following properties: - image-rendering - text-anchor - text-combine-upright - text-overflow - text-rendering - transform-style - user-select Lots of failing tests, usually because a keyword isn't implemented in Blink yet. Bug: 820299 Change-Id: Ifd0193ac55d12a31d28b486166ad78a38012314b Reviewed-on: https://chromium-review.googlesource.com/985337 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#547665} wpt-commits: 7164dbb89f01dc5c55d27067f014b50c06d0d73e wpt-pr: 10227 wpt-commits: 7164dbb89f01dc5c55d27067f014b50c06d0d73e wpt-pr: 10227
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/image-rendering.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-anchor.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-combine-upright.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-overflow.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-rendering.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/transform-style.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/user-select.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -318168,16 +318168,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/image-rendering.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/image-rendering.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": [
     [
@@ -318372,16 +318378,28 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/text-align.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/text-align.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/text-anchor.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/text-anchor.html",
+     {}
+    ]
+   ],
+   "css/css-typed-om/the-stylepropertymap/properties/text-combine-upright.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/text-combine-upright.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/text-decoration-color.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/text-decoration-color.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/text-decoration-line.html": [
     [
@@ -318426,16 +318444,28 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/text-orientation.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/text-orientation.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/text-overflow.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/text-overflow.html",
+     {}
+    ]
+   ],
+   "css/css-typed-om/the-stylepropertymap/properties/text-rendering.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/text-rendering.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/text-transform.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/text-transform.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/top.html": [
     [
@@ -318444,16 +318474,22 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/transform-interpolated.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/transform-interpolated.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/transform-style.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/transform-style.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/transform.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/transform.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/transition-duration.html": [
     [
@@ -318462,16 +318498,22 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/unicode-bidi.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/unicode-bidi.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/user-select.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/user-select.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/vertical-align.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/vertical-align.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/visibility.html": [
     [
@@ -523999,16 +524041,20 @@
   "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/image-rendering.html": [
+   "6d1fffc1886bf0318487e7b51d48a30a467d55dd",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/inline-size.html": [
    "531ad3bba92bfdb60377dc755d40f3300d0843e0",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/isolation.html": [
    "883b36434d3e3d8fee25f0ae0fee9884b5ceef44",
    "testharness"
   ],
@@ -524139,16 +524185,24 @@
   "css/css-typed-om/the-stylepropertymap/properties/table-layout.html": [
    "e56449111778ad18152a42d54fc88097950f15f0",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/text-align.html": [
    "88a1f5866a767c25dec2ef75728c68c5631d371f",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/text-anchor.html": [
+   "84258638bb77a8d001570dc1751ce80ed8506a54",
+   "testharness"
+  ],
+  "css/css-typed-om/the-stylepropertymap/properties/text-combine-upright.html": [
+   "a0bc476f703a11611f74af5e1ee813373842b614",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/text-decoration-color.html": [
    "fe6d3765ca8fea1c1963a310d0aa35fa68089a9b",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/text-decoration-line.html": [
    "0bd9668c45b14a0c52869ed0627cc408af550a25",
    "testharness"
   ],
@@ -524175,40 +524229,56 @@
   "css/css-typed-om/the-stylepropertymap/properties/text-emphasis-color.html": [
    "9419ab219034d1fb732965ebd3a03934bcaddf5a",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/text-orientation.html": [
    "919ebc1fadf6e097071a0f1618afeed0849f18e6",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/text-overflow.html": [
+   "f0aab5cd85a0a63f3c3d2ac2cbd8721cdffdc0dd",
+   "testharness"
+  ],
+  "css/css-typed-om/the-stylepropertymap/properties/text-rendering.html": [
+   "2e18286848b05dda619c9708d858d19b7dbcd8d2",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/text-transform.html": [
    "53f0482b667f049170dcdfb5de29dedc6897d09a",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/top.html": [
    "218b50f6b7d8209514bca8d0a8121263b07ab1e2",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/transform-interpolated.html": [
    "85cbf6daa2686a518566e4ccbfc2ba39197b190e",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/transform-style.html": [
+   "b36e671f379b935611a0c29348c469115b204488",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/transform.html": [
    "2723b6d3e9a213a1b33e9ecfafd5fd42eb8bca33",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/transition-duration.html": [
    "fe613a427b8c057fb859eb70a58d506c6a0b3cde",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/unicode-bidi.html": [
    "b676714807b4fcdfd5ba7555f7c2ee3d1d9590d2",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/user-select.html": [
+   "a4c544daf99e01d99b9115fb575248f8dad337df",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/vertical-align.html": [
    "41ae6fd66b5a0e6f3b5f154d839362a4921712cc",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/visibility.html": [
    "5b8de5bb7b87b82729c5ea92d80409128124acaf",
    "testharness"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/image-rendering.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'image-rendering' 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('image-rendering', [
+  { syntax: 'auto' },
+  { syntax: 'smooth' },
+  { syntax: 'high-quality' },
+  { syntax: 'crisp-edges' },
+  { syntax: 'pixelated' },
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-anchor.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'text-anchor' 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('text-anchor', [
+  { syntax: 'start' },
+  { syntax: 'middle' },
+  { syntax: 'end' },
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-combine-upright.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'text-combine-upright' 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('text-combine-upright', [
+  { syntax: 'none' },
+  { syntax: 'all' },
+]);
+
+runUnsupportedPropertyTests('text-combine-upright', [
+  'digits 3'
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-overflow.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'text-overflow' 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('text-overflow', [
+  { syntax: 'clip' },
+  { syntax: 'ellipsis' },
+  { syntax: 'fade' },
+]);
+
+runUnsupportedPropertyTests('text-overflow', [
+  'clip ellipsis', '"..."', 'fade(1px, 50%)'
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-rendering.html
@@ -0,0 +1,23 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'text-rendering' 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('text-rendering', [
+  { syntax: 'auto' },
+  { syntax: 'optimizeSpeed' },
+  { syntax: 'optimizeLegibility' },
+  { syntax: 'geometricPrecision' },
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/transform-style.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'transform-style' 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('transform-style', [
+  { syntax: 'auto' },
+  { syntax: 'flat' },
+  { syntax: 'preserve-3d' },
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/user-select.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'user-select' 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('user-select', [
+  { syntax: 'auto' },
+  { syntax: 'text' },
+  { syntax: 'none' },
+  { syntax: 'contain' },
+  { syntax: 'all' },
+]);
+
+</script>