Skip to content

Commit 1329d5a

Browse files
committed
[css-text] Add overflow-wrap to overview of hyphenation section
1 parent 46d0186 commit 1329d5a

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

css-text/Overview.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ <h2 class="no-num no-toc" id=contents> Table of Contents</h2>
246246
property</a>
247247
</ul>
248248

249-
<li><a href="#hyphenation"><span class=secno>6. </span>Hyphenation</a>
249+
<li><a href="#hyphenation"><span class=secno>6. </span>Breaking Within
250+
Words</a>
250251
<ul class=toc>
251252
<li><a href="#hyphens"><span class=secno>6.1. </span>Hyphenation
252253
Control: the ‘<code class=property>hyphens</code>’ property</a>
@@ -1438,7 +1439,7 @@ <h3 id=word-break><span class=secno>5.3. </span> Breaking Rules for
14381439
due to ‘<code class=css>break-all</code>’, the characters must still
14391440
be shaped as if the word were not broken.
14401441

1441-
<h2 id=hyphenation><span class=secno>6. </span>Hyphenation</h2>
1442+
<h2 id=hyphenation><span class=secno>6. </span>Breaking Within Words</h2>
14421443

14431444
<p><dfn id=hyphenation0 title="hyphenation|hyphenate">Hyphenation</dfn>
14441445
allows the controlled splitting of words to improve the layout of
@@ -1462,6 +1463,11 @@ <h2 id=hyphenation><span class=secno>6. </span>Hyphenation</h2>
14621463
which is particularly important in long-word languages like German.
14631464
https://bugzilla.mozilla.org/show_bug.cgi?id=418975 -->
14641465

1466+
<p>CSS also provides the ‘<a href="#overflow-wrap0"><code
1467+
class=property>overflow-wrap</code></a>’ property, which can allow
1468+
arbitrary breaking within words when the text would otherwise overflow its
1469+
container.
1470+
14651471
<h3 id=hyphens><span class=secno>6.1. </span>Hyphenation Control: the ‘<a
14661472
href="#hyphens0"><code class=property>hyphens</code></a>’ property</h3>
14671473

css-text/Overview.src.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ <h3 id="word-break">
10331033
due to ''break-all'', the characters must still be shaped as if the
10341034
word were not broken.</p>
10351035

1036-
<h2 id="hyphenation">Hyphenation</h2>
1036+
<h2 id="hyphenation">Breaking Within Words</h2>
10371037

10381038
<p><dfn title="hyphenation|hyphenate">Hyphenation</dfn>
10391039
allows the controlled splitting of words
@@ -1057,6 +1057,10 @@ <h2 id="hyphenation">Hyphenation</h2>
10571057
which is particularly important in long-word languages like German.
10581058
https://bugzilla.mozilla.org/show_bug.cgi?id=418975 -->
10591059

1060+
<p>CSS also provides the 'overflow-wrap' property, which can allow
1061+
arbitrary breaking within words when the text would otherwise overflow
1062+
its container.
1063+
10601064
<h3 id="hyphens">Hyphenation Control: the 'hyphens' property</h3>
10611065

10621066
<table class=propdef>

0 commit comments

Comments
 (0)