Changeset 244728 in webkit


Ignore:
Timestamp:
Apr 29, 2019 1:08:51 AM (5 years ago)
Author:
jfernandez@igalia.com
Message:

Update the CSS Text WPT test suite
https://bugs.webkit.org/show_bug.cgi?id=197326

Unreviewed test gardening.

LayoutTests/imported/w3c:

  • web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-007.html:
  • web-platform-tests/css/css-text/overflow-wrap/w3c-import.log:
  • web-platform-tests/css/css-text/parsing/text-transform-valid.html:
  • web-platform-tests/css/css-text/parsing/word-break-invalid-expected.txt:
  • web-platform-tests/css/css-text/parsing/word-break-invalid.html:
  • web-platform-tests/css/css-text/parsing/word-break-valid-expected.txt:
  • web-platform-tests/css/css-text/parsing/word-break-valid.html:
  • web-platform-tests/css/css-text/text-transform/w3c-import.log:
  • web-platform-tests/css/css-text/white-space/break-spaces-003-expected.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-003.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-004.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-005-expected.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-005.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-006-expected.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-006.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-007-expected.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-007.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-008-expected.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-008.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-009-expected.html:
  • web-platform-tests/css/css-text/white-space/break-spaces-009.html:
  • web-platform-tests/css/css-text/white-space/pre-wrap-008-expected.html:
  • web-platform-tests/css/css-text/white-space/pre-wrap-008.html:
  • web-platform-tests/css/css-text/white-space/pre-wrap-015.html:
  • web-platform-tests/css/css-text/white-space/pre-wrap-016.html:
  • web-platform-tests/css/css-text/white-space/textarea-break-spaces-001-expected.html:
  • web-platform-tests/css/css-text/white-space/w3c-import.log:

LayoutTests:

Location:
trunk/LayoutTests
Files:
31 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r244700 r244728  
     12019-04-29  Javier Fernandez  <jfernandez@igalia.com>
     2
     3        Update the CSS Text WPT test suite
     4        https://bugs.webkit.org/show_bug.cgi?id=197326
     5
     6        Unreviewed test gardening.
     7
     8        * TestExpectations:
     9          - The break-spaces-008.html fails due to bug 197277
     10
    1112019-04-26  Youenn Fablet  <youenn@apple.com>
    212
  • trunk/LayoutTests/TestExpectations

    r244700 r244728  
    19711971webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-004.html [ Skip ]
    19721972webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions.html [ Skip ]
     1973
     1974webkit.org/b/197277 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-008.html [ ImageOnlyFailure ]
    19731975
    19741976
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r244725 r244728  
     12019-04-29  Javier Fernandez  <jfernandez@igalia.com>
     2
     3        Update the CSS Text WPT test suite
     4        https://bugs.webkit.org/show_bug.cgi?id=197326
     5
     6        Unreviewed test gardening.
     7
     8        * web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-007.html:
     9        * web-platform-tests/css/css-text/overflow-wrap/w3c-import.log:
     10        * web-platform-tests/css/css-text/parsing/text-transform-valid.html:
     11        * web-platform-tests/css/css-text/parsing/word-break-invalid-expected.txt:
     12        * web-platform-tests/css/css-text/parsing/word-break-invalid.html:
     13        * web-platform-tests/css/css-text/parsing/word-break-valid-expected.txt:
     14        * web-platform-tests/css/css-text/parsing/word-break-valid.html:
     15        * web-platform-tests/css/css-text/text-transform/w3c-import.log:
     16        * web-platform-tests/css/css-text/white-space/break-spaces-003-expected.html:
     17        * web-platform-tests/css/css-text/white-space/break-spaces-003.html:
     18        * web-platform-tests/css/css-text/white-space/break-spaces-004.html:
     19        * web-platform-tests/css/css-text/white-space/break-spaces-005-expected.html:
     20        * web-platform-tests/css/css-text/white-space/break-spaces-005.html:
     21        * web-platform-tests/css/css-text/white-space/break-spaces-006-expected.html:
     22        * web-platform-tests/css/css-text/white-space/break-spaces-006.html:
     23        * web-platform-tests/css/css-text/white-space/break-spaces-007-expected.html:
     24        * web-platform-tests/css/css-text/white-space/break-spaces-007.html:
     25        * web-platform-tests/css/css-text/white-space/break-spaces-008-expected.html:
     26        * web-platform-tests/css/css-text/white-space/break-spaces-008.html:
     27        * web-platform-tests/css/css-text/white-space/break-spaces-009-expected.html:
     28        * web-platform-tests/css/css-text/white-space/break-spaces-009.html:
     29        * web-platform-tests/css/css-text/white-space/pre-wrap-008-expected.html:
     30        * web-platform-tests/css/css-text/white-space/pre-wrap-008.html:
     31        * web-platform-tests/css/css-text/white-space/pre-wrap-015.html:
     32        * web-platform-tests/css/css-text/white-space/pre-wrap-016.html:
     33        * web-platform-tests/css/css-text/white-space/textarea-break-spaces-001-expected.html:
     34        * web-platform-tests/css/css-text/white-space/w3c-import.log:
     35
    1362019-04-28  Youenn Fablet  <youenn@apple.com>
    237
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-007.html

    r243664 r244728  
    44<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
    55<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-break-word">
    6 <link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-break-spaces">
     6<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-pre-wrap">
    77<meta name="flags" content="ahem">
    88<link rel="match" href="reference/overflow-wrap-break-word-001-ref.html">
    9 <meta name="assert" content="A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: break-spaces' property, that must prevent the word to be broken.">
     9<meta name="assert" content="A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: pre-wrap' property, that must prevent the word to be broken.">
    1010<style>
    1111div {
    12    position: relative;
    13    font-size: 20px;
    14    font-family: Ahem;
     12  position: relative;
     13  font-size: 20px;
     14  font-family: Ahem;
     15  line-height: 1em;
    1516}
    1617.red {
     
    2526.test {
    2627  color: green;
    27   line-height: 1em;
    2828  width: 5ch;
    2929
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/w3c-import.log

    r244036 r244728  
    5757/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-span-001.html
    5858/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-span-002.html
     59/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-cluster-001-expected.html
     60/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-cluster-001.html
     61/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-cluster-002-expected.html
     62/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-cluster-002.html
    5963/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-001-expected.html
    6064/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-001.html
     
    6569/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-004-expected.html
    6670/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-004.html
     71/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-normal-keep-all-001-expected.html
     72/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-normal-keep-all-001.html
    6773/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/word-wrap-001-expected.html
    6874/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/word-wrap-001.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-transform-valid.html

    r242550 r244728  
    2323test_valid_value("text-transform", "uppercase full-size-kana");
    2424test_valid_value("text-transform", "full-width full-size-kana");
    25 test_valid_value("text-transform", "full-width lowercase");
    26 test_valid_value("text-transform", "full-size-kana capitalize");
    27 test_valid_value("text-transform", "full-size-kana full-width");
     25
     26// serialization canonicalizes the order of values: https://drafts.csswg.org/cssom/#serialize-a-css-value
     27test_valid_value("text-transform", "full-width lowercase", "lowercase full-width");
     28test_valid_value("text-transform", "full-size-kana capitalize", "capitalize full-size-kana");
     29test_valid_value("text-transform", "full-size-kana full-width", "full-width full-size-kana");
    2830
    2931test_valid_value("text-transform", "capitalize full-width full-size-kana");
    30 test_valid_value("text-transform", "full-width full-size-kana uppercase");
    31 test_valid_value("text-transform", "full-size-kana lowercase full-width");
    32 test_valid_value("text-transform", "lowercase full-size-kana full-width");
    33 test_valid_value("text-transform", "full-width uppercase full-size-kana");
    34 test_valid_value("text-transform", "full-size-kana full-width capitalize");
     32
     33// serialization canonicalizes the order of values
     34test_valid_value("text-transform", "full-width full-size-kana uppercase", "uppercase full-width full-size-kana");
     35test_valid_value("text-transform", "full-size-kana lowercase full-width", "lowercase full-width full-size-kana");
     36test_valid_value("text-transform", "lowercase full-size-kana full-width", "lowercase full-width full-size-kana");
     37test_valid_value("text-transform", "full-width uppercase full-size-kana", "uppercase full-width full-size-kana");
     38test_valid_value("text-transform", "full-size-kana full-width capitalize", "capitalize full-width full-size-kana");
    3539</script>
    3640</body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/word-break-invalid-expected.txt

    r242550 r244728  
    33PASS e.style['word-break'] = "normal keep-all" should not set the property value
    44PASS e.style['word-break'] = "break-all break-all" should not set the property value
     5PASS e.style['word-break'] = "normal break-word" should not set the property value
     6PASS e.style['word-break'] = "break-word normal" should not set the property value
     7PASS e.style['word-break'] = "keep-all break-word" should not set the property value
     8PASS e.style['word-break'] = "break-all break-word" should not set the property value
     9PASS e.style['word-break'] = "word-break" should not set the property value
    510
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/word-break-invalid.html

    r242550 r244728  
    55<title>CSS Text Module Test: parsing word-break with invalid values</title>
    66<link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-word-break">
    7 <meta name="assert" content="word-break supports only the grammar 'normal | keep-all | break-all'.">
     7<meta name="assert" content="word-break supports only the grammar 'normal | keep-all | break-all | break-word'.">
    88<script src="/resources/testharness.js"></script>
    99<script src="/resources/testharnessreport.js"></script>
     
    1515test_invalid_value("word-break", "normal keep-all");
    1616test_invalid_value("word-break", "break-all break-all");
     17test_invalid_value("word-break", "normal break-word");
     18test_invalid_value("word-break", "break-word normal");
     19test_invalid_value("word-break", "keep-all break-word");
     20test_invalid_value("word-break", "break-all break-word");
     21test_invalid_value("word-break", "word-break");
    1722</script>
    1823</body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/word-break-valid-expected.txt

    r242550 r244728  
    33PASS e.style['word-break'] = "keep-all" should set the property value
    44PASS e.style['word-break'] = "break-all" should set the property value
     5PASS e.style['word-break'] = "break-word" should set the property value
    56
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/word-break-valid.html

    r242550 r244728  
    55<title>CSS Text Module Test: parsing word-break with valid values</title>
    66<link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-word-break">
    7 <meta name="assert" content="word-break supports the full grammar 'normal | keep-all | break-all'.">
     7<meta name="assert" content="word-break supports the full grammar 'normal | keep-all | break-all | break-word'.">
    88<script src="/resources/testharness.js"></script>
    99<script src="/resources/testharnessreport.js"></script>
     
    1515test_valid_value("word-break", "keep-all");
    1616test_valid_value("word-break", "break-all");
     17test_valid_value("word-break", "break-word");
    1718</script>
    1819</body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-transform/w3c-import.log

    r242550 r244728  
    7979/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-transform/text-transform-lowercase-002-expected.xht
    8080/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-transform/text-transform-lowercase-002.xht
     81/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-transform/text-transform-multiple-001-expected.html
     82/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-transform/text-transform-multiple-001.html
    8183/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-transform/text-transform-none-001-expected.xht
    8284/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-transform/text-transform-none-001.xht
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-003-expected.html

    r244036 r244728  
    55<style>
    66div {
    7   position: relative;
    87  width: 100px;
    98  height: 100px;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-003.html

    r244036 r244728  
    88<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-word-break-break-word">
    99<meta name="flags" content="ahem">
    10 <link rel="match" href="reference/pre-wrap-001-ref.html">
    11 <meta name="assert" content="The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.">
     10<link rel="match" href="reference/white-space-break-spaces-005-ref.html">
     11<meta name="assert" content="break-word + break-spaces do not allow a break
     12between the last character of a word and the first space of a sequence of preserved spaces
     13if there are other wrapping opportunities earlier in the line.">
    1214<style>
    1315div {
    14    position: relative;
    1516   font: 25px/1 Ahem;
    1617}
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-004.html

    r243664 r244728  
    1212<style>
    1313div {
    14   position: relative;
    1514  font: 20px/1 Ahem;
    1615}
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-005-expected.html

    r242550 r244728  
    55<style>
    66div {
    7   position: relative;
    87  width: 100px;
    98  height: 100px;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-005.html

    r243664 r244728  
    1010<style>
    1111div {
    12   position: relative;
    1312  font: 10px/1 Ahem;
    1413}
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-006-expected.html

    r242550 r244728  
    55<style>
    66div {
    7   position: relative;
    87  width: 100px;
    98  height: 100px;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-006.html

    r243664 r244728  
    1212<style>
    1313div {
    14   position: relative;
    1514  font: 25px/1 Ahem;
    1615}
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-007-expected.html

    r242550 r244728  
    55<style>
    66div {
    7   position: relative;
    87  width: 100px;
    98  height: 100px;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-007.html

    r243664 r244728  
    99<link rel="match" href="reference/white-space-break-spaces-005-ref.html">
    1010<meta name="flags" content="ahem">
    11 <meta name="assert" content="A single leading white-space should be used, honoring white-space: break-spaces, to avoid overflow; however, a single preserved white-space at the end of the line cannot be wrapped, hence it hangs when breaking after it to move the rest of the text to the next line.">
     11<meta name="assert" content="A single leading white-space should be used, honoring white-space: break-spaces, to avoid overflow; however, a single preserved white-space at the end of the line cannot be wrapped, hence it overflows when breaking after it to move the rest of the text to the next line.">
    1212<style>
    1313div {
    14   position: relative;
    1514  font: 25px/1 Ahem;
    1615}
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-008-expected.html

    r242550 r244728  
    55<style>
    66div {
    7   position: relative;
    87  width: 100px;
    98  height: 100px;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-008.html

    r243664 r244728  
    99<link rel="match" href="reference/white-space-break-spaces-005-ref.html">
    1010<meta name="flags" content="ahem">
    11 <meta name="assert" content="White spaces are preserved, honoring the 'white-space: break-spaces', which may lead to overfow. However, we can break before the first white-space after the word honoring the 'break-all' value.">
     11<meta name="assert" content="White spaces are preserved, honoring the 'white-space: break-spaces', which may lead to overfow. However, we can break before the las letter in the word honoring the 'break-all' value.">
    1212<style>
    1313div {
    14   position: relative;
    1514  font: 25px/1 Ahem;
    1615}
     
    3130<body>
    3231  <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
    33   <div class="fail">XXXX<br><span>X</span>XX<span>X</span><br><span>XXXX</span><br><span>XXXX</span></div>
     32  <div class="fail">XXX<span>X</span><br>X<span>X</span>XX<br><span>XXXX</span><br><span>XXXX</span></div>
    3433  <div class="test">XXXX XX</div>
    3534</body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009-expected.html

    r244036 r244728  
    55<style>
    66div {
    7   position: relative;
    87  width: 100px;
    98  height: 100px;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009.html

    r244036 r244728  
    1414<style>
    1515div {
    16   position: relative;
    1716  font: 25px/1 Ahem;
    1817}
     
    2827  color: red;
    2928  width: 4ch;
    30   z-index: -1;
    3129
    3230  white-space: break-spaces;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-008-expected.html

    r243437 r244728  
    55<style>
    66div {
    7   position: relative;
    87  width: 100px;
    98  height: 100px;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-008.html

    r243664 r244728  
    1010<style>
    1111div {
    12    position: relative;
    1312   font-size: 20px;
    1413   font-family: Ahem;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-015.html

    r243664 r244728  
    1010<style>
    1111div {
    12   position: relative;
    1312  font: 20px/1 Ahem;
    1413}
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-016.html

    r243664 r244728  
    1010<style>
    1111div {
    12    position: relative;
    1312   font-size: 20px;
    1413   font-family: Ahem;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/textarea-break-spaces-001-expected.html

    r244036 r244728  
    1515  margin: 0;
    1616  padding: 0;
    17   border-radius: 0px;
    1817  border: none;
    1918  outline: none;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/w3c-import.log

    r244036 r244728  
    1919/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-002-expected.html
    2020/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-002.html
     21/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-003-expected.html
     22/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-003.html
    2123/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-004-expected.html
    2224/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-004.html
     
    5153/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/control-chars-00B-expected.html
    5254/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/control-chars-00B.html
     55/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/control-chars-00C-expected.html
     56/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/control-chars-00C.html
    5357/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/control-chars-00D-expected.html
    5458/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/control-chars-00D.html
  • trunk/LayoutTests/platform/ios/TestExpectations

    r244197 r244728  
    30723072webkit.org/b/196169 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-003.html [ ImageOnlyFailure ]
    30733073
     3074imported/w3c/web-platform-tests/css/css-text/white-space/textarea-break-spaces-001.html [ ImageOnlyFailure ]
     3075
    30743076# unsupported
    30753077fast/dynamic/mail-autosize-viewport-unit.html [ Failure ]
Note: See TracChangeset for help on using the changeset viewer.