Bug 1453221 [wpt PR 10375] - [css-typed-om] Support remaining text properties., a=testonly
authorDarren Shen <shend@chromium.org>
Thu, 19 Apr 2018 15:33:41 +0000
changeset 468415 55fc0f108ec50b6ed65e2b359152f2b8d5eb30a8
parent 468414 225ad933fa2f31e7514ad7505417dcf37767ac11
child 468416 5dc5eb7c23c57aef6aca9947654204d867ace740
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
bugs1453221, 10375, 820299, 1002340, 549783
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 1453221 [wpt PR 10375] - [css-typed-om] Support remaining text properties., a=testonly Automatic update from web-platform-tests[css-typed-om] Support remaining text properties. Known failures: - letter-spacing: a <length> of 0 resolves to "normal", but should compute to "0". - line-break: "anywhere" not supported. - overflow-wrap & word-wrap: "break-spaces" not supported - word-spacing: "normal" should compute to "normal" and should be able to set word-spacing to a <percentage>. Bug: 820299 Change-Id: If5bac479521de6f1658a38a295df01de98f433f2 Reviewed-on: https://chromium-review.googlesource.com/1002340 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#549783} -- wpt-commits: 3b7b8db90148105a987cc367165f7551edd8519f wpt-pr: 10375 wpt-commits: 3b7b8db90148105a987cc367165f7551edd8519f wpt-pr: 10375
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/hyphens.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/letter-spacing.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/line-break.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/overflow-wrap.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/word-break.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/word-spacing.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/word-wrap.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -319314,16 +319314,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/hyphens.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/hyphens.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": [
     [
@@ -319338,16 +319344,28 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/left.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/left.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/letter-spacing.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/letter-spacing.html",
+     {}
+    ]
+   ],
+   "css/css-typed-om/the-stylepropertymap/properties/line-break.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/line-break.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/line-height.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/line-height.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/list-style-image.html": [
     [
@@ -319452,16 +319470,22 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/overflow-anchor.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/overflow-anchor.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/overflow-wrap.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/overflow-wrap.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/overflow.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/overflow.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/padding.html": [
     [
@@ -319800,16 +319824,34 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/width.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/width.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/word-break.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/word-break.html",
+     {}
+    ]
+   ],
+   "css/css-typed-om/the-stylepropertymap/properties/word-spacing.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/word-spacing.html",
+     {}
+    ]
+   ],
+   "css/css-typed-om/the-stylepropertymap/properties/word-wrap.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/word-wrap.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/writing-mode.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/writing-mode.html",
      {}
     ]
    ],
    "css/css-ui/box-sizing-027.html": [
     [
@@ -525933,32 +525975,44 @@
   "css/css-typed-om/the-stylepropertymap/properties/grid.html": [
    "13ec601464ba9935b2167493c77d6189737f5380",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/height.html": [
    "617ec941ab1cbd02b31b8a9bb7ce6da311109476",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/hyphens.html": [
+   "847c72cd8422cf0cddac12df61a05a6bbf356a5f",
+   "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"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/left.html": [
    "354512fcb071a863f11305f36cf3605ceef733b8",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/letter-spacing.html": [
+   "2bcb0a1dcc04e0693525d3f435be6d56f1e4c199",
+   "testharness"
+  ],
+  "css/css-typed-om/the-stylepropertymap/properties/line-break.html": [
+   "d6ddc99d14b441faa9f20888e148a9e9a10884ae",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/line-height.html": [
    "8b28d0af963cd08b63a446107af4bd476b239531",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/list-style-image.html": [
    "47ea38df9db4281e59199b6c8d6abb77b5ac8221",
    "testharness"
   ],
@@ -526025,16 +526079,20 @@
   "css/css-typed-om/the-stylepropertymap/properties/outline-style.html": [
    "c9a622aacc8c61581110670cb7044a89b11956d4",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/overflow-anchor.html": [
    "7f7518700368b9414101ff4f58b91776eb2ecb04",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/overflow-wrap.html": [
+   "42fab7853a73270d46eb2e60a12491107637c73c",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/overflow.html": [
    "b6ba9ba8ebc6433caffe0c8f83e1f679a26ba7c4",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/padding.html": [
    "70c2e29badef7528469bcf11e1cb7bbc6cd519ea",
    "testharness"
   ],
@@ -526261,16 +526319,28 @@
   "css/css-typed-om/the-stylepropertymap/properties/white-space.html": [
    "b51dea7a7d0f93f13fda93c0f27e5084fa4c3b3e",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/width.html": [
    "205915eb7162e23fd5600488304dd8dfa8e51ee2",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/word-break.html": [
+   "c9881c4d7ebff22f896ebfb66a3e2b9fc1742e7d",
+   "testharness"
+  ],
+  "css/css-typed-om/the-stylepropertymap/properties/word-spacing.html": [
+   "beda072fe09e5b409c41f0a623a26a14ea1d149d",
+   "testharness"
+  ],
+  "css/css-typed-om/the-stylepropertymap/properties/word-wrap.html": [
+   "bc9dcf534d595b93ec0ffd7a0be24b64c4f7ef40",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/writing-mode.html": [
    "3867e6c80011aaccb4b18efa37dea27d62dcf428",
    "testharness"
   ],
   "css/css-ui/OWNERS": [
    "beeb8a77d396e48731fd1e69a922b6e2c84c2caa",
    "support"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/hyphens.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'hyphens' 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('hyphens', [
+  { syntax: 'none' },
+  { syntax: 'manual' },
+  { syntax: 'auto' }
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/letter-spacing.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'letter-spacing' 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('letter-spacing', [
+  { syntax: 'normal' },
+  { syntax: '<length>' },
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/line-break.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'line-break' 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('line-break', [
+  { syntax: 'auto' },
+  { syntax: 'loose' },
+  { syntax: 'normal' },
+  { syntax: 'strict' },
+  { syntax: 'anywhere' },
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/overflow-wrap.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'overflow-wrap' 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('overflow-wrap', [
+  { syntax: 'normal' },
+  { syntax: 'break-word' },
+  { syntax: 'break-spaces' },
+]);
+
+runUnsupportedPropertyTests('overflow-wrap', [
+  'break-overflow break-spaces'
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/word-break.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'word-break' 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('word-break', [
+  { syntax: 'normal' },
+  { syntax: 'keep-all' },
+  { syntax: 'break-all' },
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/word-spacing.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'word-spacing' 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('word-spacing', [
+  { syntax: 'normal' },
+  { syntax: '<length>' },
+  { syntax: '<percentage>' },
+]);
+
+</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/word-wrap.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'word-wrap' 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('word-wrap', [
+  { syntax: 'normal' },
+  { syntax: 'break-word' },
+  { syntax: 'break-spaces' },
+]);
+
+runUnsupportedPropertyTests('word-wrap', [
+  'break-word break-spaces'
+]);
+
+</script>