Bug 1445525 [wpt PR 10022] - [css-typed-om] support break-after, break-before, break-inside, a=testonly
authorHwanseung Lee <hs1217.lee@samsung.com>
Mon, 09 Apr 2018 16:43:26 +0000
changeset 467034 930fb88c0e15a9a455e796c6f0ab14dc502111ef
parent 467033 f9c81729f17d9434a4e014016c7560ab8bf3bf33
child 467035 efb9eca198d4d976ac80bc10b336bf8467e9cf71
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
bugs1445525, 10022, 820299, 960701, 542980
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 1445525 [wpt PR 10022] - [css-typed-om] support break-after, break-before, break-inside, a=testonly Automatic update from web-platform-tests[css-typed-om] support break-after, break-before, break-inside break-after, break-before, break-inside are added to support in whitelist. and test file are also added. Bug: 820299 Change-Id: I9eb35a7371dd385edf3c039aea367b42e194e1e1 Reviewed-on: https://chromium-review.googlesource.com/960701 Reviewed-by: Darren Shen <shend@chromium.org> Commit-Queue: Hwanseung Lee <hwanseung@chromium.org> Cr-Commit-Position: refs/heads/master@{#542980} wpt-commits: bdec0b6e6b15265a097696694a9b5241098377c3 wpt-pr: 10022 wpt-commits: bdec0b6e6b15265a097696694a9b5241098377c3 wpt-pr: 10022
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/break.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -317290,16 +317290,22 @@
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/box-sizing.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/box-sizing.html",
      {}
     ]
    ],
+   "css/css-typed-om/the-stylepropertymap/properties/break.html": [
+    [
+     "/css/css-typed-om/the-stylepropertymap/properties/break.html",
+     {}
+    ]
+   ],
    "css/css-typed-om/the-stylepropertymap/properties/caret-color.html": [
     [
      "/css/css-typed-om/the-stylepropertymap/properties/caret-color.html",
      {}
     ]
    ],
    "css/css-typed-om/the-stylepropertymap/properties/clear.html": [
     [
@@ -522465,16 +522471,20 @@
   "css/css-typed-om/the-stylepropertymap/properties/bottom.html": [
    "e710943711544b28d07676df15966950c0d76efa",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/box-sizing.html": [
    "6fb5b014ffbbe4fe9c0019cea618a001fefdbedd",
    "testharness"
   ],
+  "css/css-typed-om/the-stylepropertymap/properties/break.html": [
+   "d23705e018072f14ceb36d364df671f7fd6a6617",
+   "testharness"
+  ],
   "css/css-typed-om/the-stylepropertymap/properties/caret-color.html": [
    "d4139aeff755abe89ee1e04fcd34ccfba4efe91c",
    "testharness"
   ],
   "css/css-typed-om/the-stylepropertymap/properties/clear.html": [
    "376585635ab5752db4b2078f6247fa621a954282",
    "testharness"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/break.html
@@ -0,0 +1,41 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>'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';
+
+for (const suffix of ['after', 'before']) {
+  runPropertyTests('break-' + suffix, [
+    { syntax: 'auto' },
+    { syntax: 'avoid' },
+    { syntax: 'avoid-column' },
+    { syntax: 'avoid-page' },
+    { syntax: 'avoid-region' },
+    { syntax: 'column' },
+    { syntax: 'left' },
+    { syntax: 'page' },
+    { syntax: 'recto' },
+    { syntax: 'region' },
+    { syntax: 'right' },
+    { syntax: 'verso' },
+  ]);
+}
+
+runPropertyTests('break-inside', [
+    { syntax: 'auto' },
+    { syntax: 'avoid' },
+    { syntax: 'avoid-column' },
+    { syntax: 'avoid-page' },
+    { syntax: 'avoid-region' },
+  ]);
+
+</script>