Bug 1514953 [wpt PR 14575] - [css-text] Remove "exploratory" comment for test backed up by the spec, a=testonly
authorFlorian Rivoal <git@florian.rivoal.net>
Wed, 19 Dec 2018 12:10:18 +0000
changeset 515060 e9b3326a79050b49c12fb0f9effea94222f8808d
parent 515059 de2be76ffd366e3db6374657e3146a9ca2d30c87
child 515061 7d14383c78ae5b9198665389f33390fe2ddeafc3
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1514953, 14575
milestone66.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 1514953 [wpt PR 14575] - [css-text] Remove "exploratory" comment for test backed up by the spec, a=testonly Automatic update from web-platform-tests [css-text] Remove "exploratory" comment for test backed up by the spec The comment about this test being exploratory is wrong. Assuming that the claim that “people using indic scripts expect the user agent to keep the orthographic syllable as a single unit” is true, the spec definition's of typographic character/letter unit are sufficient to justify the test. -- wpt-commits: 691e737caf050c5aac0f9675409d73238a3f55d2 wpt-pr: 14575
testing/web-platform/tests/css/css-text/word-break/word-break-break-all-008.html
--- a/testing/web-platform/tests/css/css-text/word-break/word-break-break-all-008.html
+++ b/testing/web-platform/tests/css/css-text/word-break/word-break-break-all-008.html
@@ -1,14 +1,22 @@
 <!DOCTYPE html>
 <html  lang="en" >
 <head>
 <meta charset="utf-8">
 <title>word-break: break-all, syllabic cluster</title>
-<meta name="assert" content="[Exploratory test] word-break: break-all means lines may break between any two typographic letter units. An indic syllable cluster should be wrapped as a unit to the next line.">
+<meta name="assert" content="word-break: break-all means lines may break between any two typographic letter units. An indic syllable cluster should be wrapped as a unit to the next line.">
+<meta name="flags" content="should">
+<!--
+  Marking as "should"
+  because while the spec requires this behavior
+  about typographic letter units,
+  it is handwavy about what constitutes one,
+  and appeals to the UA's knowledge of "the right thing to do" for that language.
+-->
 <link rel='help' href='https://drafts.csswg.org/css-text-3/#word-break-property'>
 <link rel='match' href='reference/word-break-break-all-ref-008.html'>
 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
 <style type='text/css'>
 .test { word-break: break-all; }
 /* the CSS below is not part of the test */
 .test, .ref { border: 1px solid orange;  margin: 20px;  padding: 10px; width: 390px; font: 36px/1.5 sans-serif; }
 </style>
@@ -16,14 +24,10 @@
 <body>
 <div id='instructions'>Test passes if the two orange boxes are the same.</div>
 <div class="test" lang="hi"><div id="testdiv"><span id="testspan">हिन्दी हिन्दी हिन्दी</span></div></div>
 <div class="ref" lang="hi"><span>हिन्दी हिन्दी हि<br/>न्दी</span></div>
 <script>
 var sentenceWidth = document.getElementById('testspan').offsetWidth
 document.getElementById('testdiv').style.width = String(sentenceWidth - 5)+'px'
 </script>
-<!--
-Notes:
-This test is exploratory because indic conjuncts containing more than one consonant are not covered by the extended grapheme cluster definition, and therefore constitute more than one typographic unit, as defined in the CSS spec. Nevertheless, people using indic scripts expect the user agent to keep the orthographic syllable as a single unit.
--->
 </body>
-</html>
\ No newline at end of file
+</html>