Skip to content

Commit

Permalink
[css-text-3] Add word-break:break-word as deprecated value
Browse files Browse the repository at this point in the history
Closes #2390
  • Loading branch information
frivoal committed Feb 27, 2019
1 parent 9b24675 commit 8067e5c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
10 changes: 9 additions & 1 deletion css-text-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2004,7 +2004,7 @@ Line Breaking Details</h3>

<pre class="propdef">
Name: word-break
Value: normal | keep-all | break-all
Value: normal | keep-all | break-all | break-word
Initial: normal
Applies to: <a>inline boxes</a>
Inherited: yes
Expand Down Expand Up @@ -2246,6 +2246,13 @@ Line Breaking Details</h3>
word-break/word-break-break-all-004.html
</wpt>

<p>For compatibility with legacy content,
the 'word-break' property also supports a deprecated <dfn value for=word-break>break-word</dfn> keyword.
When specified, this has the same effect as
''word-break: normal'' and ''overflow-wrap: anywhere'',
regardless of the actual value of the 'overflow-wrap' property.
<!-- This is officially sad -->

<h3 id="line-break-property">
Line Breaking Strictness: the 'line-break' property</h3>

Expand Down Expand Up @@ -4683,6 +4690,7 @@ Changes</h2>

* Clarify that ''hyphens: none'' does not suppress wrapping opportunities after U+002D or U+2010.
* Fix stray text leftover when removing percentages as a possible value for word-spacing.
* Add support for ''word-break: break-word'' as a deprecated value, as needed for compatibility with this previously proprietary syntax.

<h3 class="no-num" id="changes-2018-12-06">
Changes from the <a href="https://www.w3.org/TR/2018/WD-css-text-3-20181206/">6 December 2018 Working Draft</a></h3>
Expand Down
8 changes: 5 additions & 3 deletions css-text-3/issues-lc-2013.html
Original file line number Diff line number Diff line change
Expand Up @@ -859,15 +859,17 @@ <h1>CSS Text Level 3 Disposition of Comments for 2013-10-10 LCWD</h1>
<span class="oi">Closed: Invalid</span>
<span>Note: Invalidated by issue 91.</span>
<span>Resolved: Editor's discretion</span></pre>
<pre class=' d' id='issue-94'>
<pre class=' a' id='issue-94'>
<span>Issue 94. <a href='#issue-94'>#</a></span>
<span>Summary: Add 'word-break: break-word' to spec</span>
<span>Comment: <a href='https://www.w3.org/mid/BLUPR03MB5524D8C851835C9CB3D1046AFCF0@BLUPR03MB552.namprd03.prod.outlook.com'>https://www.w3.org/mid/BLUPR03MB5524D8C851835C9CB3D1046AFCF0@BLUPR03MB552.namprd03.prod.outlook.com</a> <a href="mid:BLUPR03MB5524D8C851835C9CB3D1046AFCF0@BLUPR03MB552.namprd03.prod.outlook.com"><abbr title="Open Message">&#x2386;</abbr></a></span>
<span>Comment: <a href='https://code.google.com/p/chromium/issues/detail?id=492202'>https://code.google.com/p/chromium/issues/detail?id=492202</a></span>
<span>Comment: <a href='https://lists.w3.org/Archives/Public/www-style/2016Aug/0047.html'>https://lists.w3.org/Archives/Public/www-style/2016Aug/0047.html</a> <a href="https://www.w3.org/Mail/flatten/index?subject=https%3A%2F%2Flists.w3.org%2FArchives%2FPublic%2Fwww-style/2016Aug/0047.html"><abbr title="Thread">&#x2208;</abbr></a></span>
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/2390'>https://github.com/w3c/csswg-drafts/issues/2390</a></span>
<span class="d">Closed: Deferred</span>
<span>Resolved: <a href='https://lists.w3.org/Archives/Public/www-style/2016Mar/0352.html'>https://lists.w3.org/Archives/Public/www-style/2016Mar/0352.html</a> <a href="https://www.w3.org/Mail/flatten/index?subject=https%3A%2F%2Flists.w3.org%2FArchives%2FPublic%2Fwww-style/2016Mar/0352.html"><abbr title="Thread">&#x2208;</abbr></a></span></pre>
<span>Comment: <a href='https://lists.w3.org/Archives/Public/www-style/2016Mar/0352.html'>https://lists.w3.org/Archives/Public/www-style/2016Mar/0352.html</a> <a href="https://www.w3.org/Mail/flatten/index?subject=https%3A%2F%2Flists.w3.org%2FArchives%2FPublic%2Fwww-style/2016Mar/0352.html"><abbr title="Thread">&#x2208;</abbr></a></span>
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/2390#issuecomment-466736750'>https://github.com/w3c/csswg-drafts/issues/2390#issuecomment-466736750</a></span>
<span class="a">Closed: Accepted</span>
<span>Resolved: <a href='https://github.com/w3c/csswg-drafts/issues/2390#issuecomment-467685010'>https://github.com/w3c/csswg-drafts/issues/2390#issuecomment-467685010</a></span></pre>
<pre class=' a' id='issue-95'>
<span>Issue 95. <a href='#issue-95'>#</a></span>
<span>Summary: Legacy line-breaking rules for replaced elements</span>
Expand Down
6 changes: 4 additions & 2 deletions css-text-3/issues-lc-2013.txt
Original file line number Diff line number Diff line change
Expand Up @@ -834,8 +834,10 @@ Comment: https://www.w3.org/mid/BLUPR03MB5524D8C851835C9CB3D1046AFCF0@BLUPR03MB
Comment: https://code.google.com/p/chromium/issues/detail?id=492202
Comment: https://lists.w3.org/Archives/Public/www-style/2016Aug/0047.html
Comment: https://github.com/w3c/csswg-drafts/issues/2390
Closed: Deferred
Resolved: https://lists.w3.org/Archives/Public/www-style/2016Mar/0352.html
Comment: https://lists.w3.org/Archives/Public/www-style/2016Mar/0352.html
Comment: https://github.com/w3c/csswg-drafts/issues/2390#issuecomment-466736750
Closed: Accepted
Resolved: https://github.com/w3c/csswg-drafts/issues/2390#issuecomment-467685010
----
Issue 95.
Summary: Legacy line-breaking rules for replaced elements
Expand Down
1 change: 1 addition & 0 deletions css-text-3/test-coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ <h3 id="breaking-rules-for-letters-the-word-break-property"><a href="https://dra
<li>Symbols that line-break the same way as letters of a particular category are affected the same way as those letters.
<li>does not suppress <code>&lt;wbr></code>
<li>line-break:anywhere wins over word-break:keep-all
<li>tests for word-break:break-word
</ul>

<p>Covered, but could have more:
Expand Down

0 comments on commit 8067e5c

Please sign in to comment.