Skip to content

Commit 3bee580

Browse files
committed
[css-text-4] hyphenate- properties can't accept negative integers #12517
1 parent a36be2a commit 3bee580

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

css-text-4/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7883,7 +7883,7 @@ Hyphenation Character Limits: the 'hyphenate-limit-chars' property</h4>
78837883

78847884
<pre class="propdef">
78857885
Name: hyphenate-limit-chars
7886-
Value: [ auto | <<integer>> ]{1,3}
7886+
Value: [ auto | <<integer [0,infinity]>> ]{1,3}
78877887
Initial: auto
78887888
Applies to: text
78897889
Inherited: yes
@@ -7946,7 +7946,7 @@ Hyphenation Line Limits: the 'hyphenate-limit-lines' and 'hyphenate-limit-last'
79467946

79477947
<pre class="propdef">
79487948
Name: hyphenate-limit-lines
7949-
Value: no-limit | <<integer>>
7949+
Value: no-limit | <<integer [0,infinity]>>
79507950
Initial: no-limit
79517951
Applies to: block containers
79527952
Inherited: yes
@@ -13342,6 +13342,8 @@ Changes</h2>
1334213342
(<a href="https://github.com/w3c/csswg-drafts/issues/9979">Issue 9979</a>)
1334313343
* Clarified that 'text-autospace' has no effect on plain-text copy &amp; paste.
1334413344
(<a href="https://github.com/w3c/csswg-drafts/issues/8511">Issue 8511</a>)
13345+
* Clarified that 'hyphenate-limit-lines' and 'hyphenate-limit-chars' only accept non-negative integers.
13346+
(<a href="https://github.com/w3c/csswg-drafts/issues/12517">Issue 12517</a>)
1334513347

1334613348
Significant changes since the <a href="https://www.w3.org/TR/2024/WD-css-text-4-2024052">29 May 2024 Working Draft</a> include:
1334713349
* Added <css>avoid-orphans</css> to 'text-wrap-style'.

0 commit comments

Comments
 (0)