Skip to content

Commit bd8f88c

Browse files
committed
[css-overflow] Bikeshed fixes
1 parent 35dd5a6 commit bd8f88c

2 files changed

Lines changed: 28 additions & 28 deletions

File tree

css-overflow/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -375,12 +375,12 @@ Introduction</h2>
375375
(i.e., overflow from the left and right sides of the box),
376376
and the 'overflow-y' property specifies the handling
377377
of overflow in the vertical direction
378-
(i.e., overflow from the top and bottom sides of the box)
378+
(i.e., overflow from the top and bottom sides of the box)
379379
</p>
380380

381381
<pre class=propdef>
382382
Name: overflow-x, overflow-y
383-
Value: ''visible'' | ''hidden'' | ''scroll'' | ''overflow/auto''
383+
Value: ''visible'' | ''hidden'' | ''scroll'' | ''auto''
384384
Initial: ''visible''
385385
Applies to: block containers [[!CSS21]], flex containers [[!CSS3-FLEXBOX]], and grid containers [[!CSS3-GRID-LAYOUT]]
386386
Inherited: no
@@ -399,7 +399,7 @@ Introduction</h2>
399399

400400
<pre class=propdef>
401401
Name: overflow
402-
Value: ''visible'' | ''hidden'' | ''scroll'' | ''overflow/auto''
402+
Value: ''visible'' | ''hidden'' | ''scroll'' | ''auto''
403403
Initial: see individual properties
404404
Applies to: block containers [[!CSS21]], flex containers [[!CSS3-FLEXBOX]], and grid containers [[!CSS3-GRID-LAYOUT]]
405405
Inherited: no
@@ -430,7 +430,7 @@ Introduction</h2>
430430

431431
<p>The values of these properties are:</p>
432432

433-
<dl dfn-for="overflow" dfn-type="value">
433+
<dl dfn-for="overflow, overflow-x, overflow-y" dfn-type="value">
434434
<dt><dfn>visible</dfn>
435435
<dd>
436436
There is no special handling of overflow, that is, it
@@ -477,7 +477,7 @@ and extends it further.
477477

478478
<pre class=propdef>
479479
Name: continue
480-
Value: ''continue/auto'' | ''overflow'' | ''paginate'' | ''fragments'' | ''discard''
480+
Value: ''auto'' | ''overflow'' | ''paginate'' | ''fragments'' | ''discard''
481481
Initial: auto
482482
Applies to: block containers [[!CSS21]], flex containers [[!CSS3-FLEXBOX]], and grid containers [[!CSS3-GRID-LAYOUT]]
483483
Inherited: no
@@ -1032,7 +1032,7 @@ the ''continue/fragments'' value of the 'continue' property.
10321032

10331033
<pre class=propdef>
10341034
Name: max-lines
1035-
Value: ''none'' | <<integer>>
1035+
Value: ''none'' | ''&lt;integer>''
10361036
Initial: ''none''
10371037
Applies to: fragment boxes
10381038
Inherited: no

css-overflow/Overview.html

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@
767767
<h1 class="p-name no-ref" id="title">CSS Overflow Module Level 3</h1>
768768

769769
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft,
770-
<time class="dt-updated" datetime="2015-03-13">13 March 2015</time></span></h2>
770+
<time class="dt-updated" datetime="2015-03-18">18 March 2015</time></span></h2>
771771

772772
<div data-fill-with="spec-metadata">
773773
<dl>
@@ -1228,21 +1228,21 @@ <h2 class="heading settled" data-level="3" id="overflow-properties"><span class=
12281228
(i.e., overflow from the left and right sides of the box),
12291229
and the <a class="property" data-link-type="propdesc" href="#propdef-overflow-y">overflow-y</a> property specifies the handling
12301230
of overflow in the vertical direction
1231-
(i.e., overflow from the top and bottom sides of the box)
1231+
(i.e., overflow from the top and bottom sides of the box)
12321232
</p>
12331233

12341234

1235-
<table class="definition propdef">
1235+
<table class="definition propdef" data-link-for-hint="overflow-x">
12361236
<tbody>
12371237
<tr>
12381238
<th>Name:
12391239
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-overflow-x">overflow-x<a class="self-link" href="#propdef-overflow-x"></a></dfn>, <dfn class="css" data-dfn-type="property" data-export="" id="propdef-overflow-y">overflow-y<a class="self-link" href="#propdef-overflow-y"></a></dfn>
1240-
<tr>
1240+
<tr class="value">
12411241
<th>Value:
1242-
<td class="prod"><a class="css" data-link-type="maybe" href="#valdef-overflow-visible">visible</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-type="maybe" href="#valdef-overflow-hidden">hidden</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-type="maybe" href="#valdef-overflow-scroll">scroll</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-type="maybe" href="#valdef-overflow-auto">auto</a>
1242+
<td class="prod"><a class="css" data-link-for-hint="overflow-x" data-link-type="maybe" href="#valdef-overflow-visible">visible</a> <a data-link-for-hint="overflow-x" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="overflow-x" data-link-type="maybe" href="#valdef-overflow-hidden">hidden</a> <a data-link-for-hint="overflow-x" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="overflow-x" data-link-type="maybe" href="#valdef-overflow-scroll">scroll</a> <a data-link-for-hint="overflow-x" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="overflow-x" data-link-type="maybe" href="#valdef-overflow-auto">auto</a>
12431243
<tr>
12441244
<th>Initial:
1245-
<td><a class="css" data-link-type="maybe" href="#valdef-overflow-visible">visible</a>
1245+
<td><a class="css" data-link-for-hint="overflow-x" data-link-type="maybe" href="#valdef-overflow-visible">visible</a>
12461246
<tr>
12471247
<th>Applies to:
12481248
<td>block containers <a data-link-type="biblio" href="#biblio-css21">[CSS21]</a>, flex containers <a data-link-type="biblio" href="#biblio-css3-flexbox">[CSS3-FLEXBOX]</a>, and grid containers <a data-link-type="biblio" href="#biblio-css3-grid-layout">[CSS3-GRID-LAYOUT]</a>
@@ -1273,14 +1273,14 @@ <h2 class="heading settled" data-level="3" id="overflow-properties"><span class=
12731273
</p>
12741274

12751275

1276-
<table class="definition propdef">
1276+
<table class="definition propdef" data-link-for-hint="overflow">
12771277
<tbody>
12781278
<tr>
12791279
<th>Name:
12801280
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-overflow">overflow<a class="self-link" href="#propdef-overflow"></a></dfn>
1281-
<tr>
1281+
<tr class="value">
12821282
<th>Value:
1283-
<td class="prod"><a class="css" data-link-type="maybe" href="#valdef-overflow-visible">visible</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-type="maybe" href="#valdef-overflow-hidden">hidden</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-type="maybe" href="#valdef-overflow-scroll">scroll</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-type="maybe" href="#valdef-overflow-auto">auto</a>
1283+
<td class="prod"><a class="css" data-link-for-hint="overflow" data-link-type="maybe" href="#valdef-overflow-visible">visible</a> <a data-link-for-hint="overflow" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="overflow" data-link-type="maybe" href="#valdef-overflow-hidden">hidden</a> <a data-link-for-hint="overflow" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="overflow" data-link-type="maybe" href="#valdef-overflow-scroll">scroll</a> <a data-link-for-hint="overflow" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="overflow" data-link-type="maybe" href="#valdef-overflow-auto">auto</a>
12841284
<tr>
12851285
<th>Initial:
12861286
<td>see individual properties
@@ -1341,19 +1341,19 @@ <h2 class="heading settled" data-level="3" id="overflow-properties"><span class=
13411341

13421342
<dl>
13431343

1344-
<dt><dfn class="css" data-dfn-for="overflow" data-dfn-type="value" data-export="" id="valdef-overflow-visible">visible<a class="self-link" href="#valdef-overflow-visible"></a></dfn>
1344+
<dt><dfn class="css" data-dfn-for="overflow, overflow-x, overflow-y" data-dfn-type="value" data-export="" id="valdef-overflow-visible">visible<a class="self-link" href="#valdef-overflow-visible"></a></dfn>
13451345

13461346
<dd>
13471347
There is no special handling of overflow, that is, it
13481348
may be rendered outside the block container.
13491349

13501350

13511351

1352-
<dt><dfn class="css" data-dfn-for="overflow" data-dfn-type="value" data-export="" id="valdef-overflow-hidden">hidden<a class="self-link" href="#valdef-overflow-hidden"></a></dfn>
1352+
<dt><dfn class="css" data-dfn-for="overflow, overflow-x, overflow-y" data-dfn-type="value" data-export="" id="valdef-overflow-hidden">hidden<a class="self-link" href="#valdef-overflow-hidden"></a></dfn>
13531353

1354-
<dt><dfn class="css" data-dfn-for="overflow" data-dfn-type="value" data-export="" id="valdef-overflow-scroll">scroll<a class="self-link" href="#valdef-overflow-scroll"></a></dfn>
1354+
<dt><dfn class="css" data-dfn-for="overflow, overflow-x, overflow-y" data-dfn-type="value" data-export="" id="valdef-overflow-scroll">scroll<a class="self-link" href="#valdef-overflow-scroll"></a></dfn>
13551355

1356-
<dt><dfn class="css" data-dfn-for="overflow" data-dfn-type="value" data-export="" id="valdef-overflow-auto">auto<a class="self-link" href="#valdef-overflow-auto"></a></dfn>
1356+
<dt><dfn class="css" data-dfn-for="overflow, overflow-x, overflow-y" data-dfn-type="value" data-export="" id="valdef-overflow-auto">auto<a class="self-link" href="#valdef-overflow-auto"></a></dfn>
13571357

13581358
<dd>
13591359

@@ -1401,14 +1401,14 @@ <h2 class="heading settled" data-level="4" id="fragmentation"><span class="secno
14011401
and extends it further.</p>
14021402

14031403

1404-
<table class="definition propdef">
1404+
<table class="definition propdef" data-link-for-hint="continue">
14051405
<tbody>
14061406
<tr>
14071407
<th>Name:
14081408
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-continue">continue<a class="self-link" href="#propdef-continue"></a></dfn>
1409-
<tr>
1409+
<tr class="value">
14101410
<th>Value:
1411-
<td class="prod"><a class="css" data-link-type="maybe" href="#valdef-continue-auto">auto</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-type="maybe" href="#valdef-continue-overflow">overflow</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-type="maybe" href="#valdef-continue-paginate">paginate</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-type="maybe" href="#valdef-continue-fragments">fragments</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-type="maybe" href="#valdef-continue-discard">discard</a>
1411+
<td class="prod"><a class="css" data-link-for-hint="continue" data-link-type="maybe" href="#valdef-continue-auto">auto</a> <a data-link-for-hint="continue" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="continue" data-link-type="maybe" href="#valdef-continue-overflow">overflow</a> <a data-link-for-hint="continue" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="continue" data-link-type="maybe" href="#valdef-continue-paginate">paginate</a> <a data-link-for-hint="continue" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="continue" data-link-type="maybe" href="#valdef-continue-fragments">fragments</a> <a data-link-for-hint="continue" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="continue" data-link-type="maybe" href="#valdef-continue-discard">discard</a>
14121412
<tr>
14131413
<th>Initial:
14141414
<td>auto
@@ -2128,17 +2128,17 @@ <h3 class="heading settled" data-level="6.2" id="max-lines"><span class="secno">
21282128
</p>
21292129

21302130

2131-
<table class="definition propdef">
2131+
<table class="definition propdef" data-link-for-hint="max-lines">
21322132
<tbody>
21332133
<tr>
21342134
<th>Name:
21352135
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-max-lines">max-lines<a class="self-link" href="#propdef-max-lines"></a></dfn>
2136-
<tr>
2136+
<tr class="value">
21372137
<th>Value:
2138-
<td class="prod"><a class="css" data-link-type="maybe" href="#valdef-max-lines-none">none</a> <a data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="production css" data-link-type="type" href="http://dev.w3.org/csswg/css-values-3/#integer-value">&lt;integer></a>
2138+
<td class="prod"><a class="css" data-link-for-hint="max-lines" data-link-type="maybe" href="#valdef-max-lines-none">none</a> <a data-link-for-hint="max-lines" data-link-type="grammar" href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a> <a class="css" data-link-for-hint="max-lines" data-link-type="maybe" href="#valdef-max-lines-integer">&lt;integer></a>
21392139
<tr>
21402140
<th>Initial:
2141-
<td><a class="css" data-link-type="maybe" href="#valdef-max-lines-none">none</a>
2141+
<td><a class="css" data-link-for-hint="max-lines" data-link-type="maybe" href="#valdef-max-lines-none">none</a>
21422142
<tr>
21432143
<th>Applies to:
21442144
<td>fragment boxes
@@ -2176,7 +2176,7 @@ <h3 class="heading settled" data-level="6.2" id="max-lines"><span class="secno">
21762176

21772177

21782178

2179-
<dt><dfn class="css" data-dfn-for="max-lines" data-dfn-type="value" data-export="" id="valdef-max-lines-integer"><a class="production css" data-link-type="type" href="http://dev.w3.org/csswg/css-values-3/#integer-value" title="Expands to: ">&lt;integer></a><a class="self-link" href="#valdef-max-lines-integer"></a></dfn>
2179+
<dt><dfn class="css" data-dfn-for="max-lines" data-dfn-type="value" data-export="" id="valdef-max-lines-integer"><a class="production css" data-link-type="type" href="http://dev.w3.org/csswg/css-values-3/#integer-value">&lt;integer></a><a class="self-link" href="#valdef-max-lines-integer"></a></dfn>
21802180

21812181
<dd>
21822182

@@ -2479,7 +2479,7 @@ <h3 class="no-num heading settled" id="index-defined-here"><span class="content"
24792479
<li>3d-preserving descendant, <a href="#3d_preserving-descendant">2.2</a>
24802480
<li>auto
24812481
<ul>
2482-
<li>value for overflow, <a href="#valdef-overflow-auto">3</a>
2482+
<li>value for overflow, overflow-x, overflow-y, <a href="#valdef-overflow-auto">3</a>
24832483
<li>value for continue, <a href="#valdef-continue-auto">4</a>
24842484
</ul>
24852485
<li>border-box overflow, <a href="#border_box-overflow">2.3</a>

0 commit comments

Comments
 (0)