Skip to content

Commit 2eddcc6

Browse files
SebastianZtabatkins
authored andcommitted
[css-break-3] Bikeshed improvements related to property values (#141) (#226)
1 parent 5919ac6 commit 2eddcc6

File tree

1 file changed

+29
-118
lines changed

1 file changed

+29
-118
lines changed

css-break/Overview.bs

Lines changed: 29 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -243,34 +243,13 @@ Controlling Breaks</h2>
243243
<h3 id="break-between">
244244
Breaks Between Boxes: the 'break-before' and 'break-after' properties</h3>
245245

246-
<table class="propdef">
247-
<tr>
248-
<th>Name:
249-
<td><dfn>break-before</dfn>, <dfn>break-after</dfn>
250-
<tr>
251-
<th>Value:
252-
<td>auto | avoid |
253-
avoid-page | page | left | right | recto | verso |
254-
avoid-column | column | avoid-region | region
255-
<tr>
256-
<th>Initial:
257-
<td>auto
258-
<tr>
259-
<th>Applies to:
260-
<td>block-level elements, table row groups, table rows (but see prose)
261-
<tr>
262-
<th>Inherited:
263-
<td>no
264-
<tr>
265-
<th>Percentages:
266-
<td>N/A
267-
<tr>
268-
<th>Media:
269-
<td>visual
270-
<tr>
271-
<th>Computed&nbsp;value:
272-
<td>specified value
273-
</table>
246+
<pre class="propdef">
247+
Name: break-before, break-after
248+
Value: auto | avoid | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region
249+
Initial: auto
250+
Applies to: block-level elements, table row groups, table rows (but see prose)
251+
Inherited: no
252+
</pre>
274253

275254
<p>
276255
These properties specify page/column/region break behavior
@@ -395,33 +374,14 @@ Region Break Values</h4>
395374
<h3 id="break-within">
396375
Breaks Within Boxes: the 'break-inside' property</h3>
397376

398-
<table class="propdef">
399-
<tr>
400-
<th>Name:
401-
<td><dfn>break-inside</dfn>
402-
<tr>
403-
<th>Value:
404-
<td>auto | avoid | avoid-page | avoid-column | avoid-region
405-
<tr>
406-
<th>Initial:
407-
<td>auto
408-
<tr>
409-
<th>Applies to:
410-
<td>elements in the normal flow that establish formatting contexts,
411-
or that are block containers, table row groups, or table rows
412-
<tr>
413-
<th>Inherited:
414-
<td>no
415-
<tr>
416-
<th>Percentages:
417-
<td>N/A
418-
<tr>
419-
<th>Media:
420-
<td>visual
421-
<tr>
422-
<th>Computed&nbsp;value:
423-
<td>specified value
424-
</table>
377+
<pre class="propdef">
378+
Name: break-inside
379+
Value: auto | avoid | avoid-page | avoid-column | avoid-region
380+
Initial: auto
381+
Applies to: elements in the normal flow that establish formatting contexts,
382+
or that are block containers, table row groups, or table rows
383+
Inherited: no
384+
</pre>
425385

426386
<p>
427387
This property specifies page/column/region break behavior
@@ -454,40 +414,13 @@ Breaks Within Boxes: the 'break-inside' property</h3>
454414
<h3 id="widows-orphans">
455415
Breaks Between Lines: 'orphans', 'widows'</h3>
456416

457-
<table class="propdef">
458-
<tr>
459-
<th>Name:
460-
<td><dfn>orphans</dfn>, <dfn>widows</dfn>
461-
462-
<tr>
463-
<th>Value:
464-
<td>&lt;integer&gt;
465-
466-
<tr>
467-
<th>Initial:
468-
<td>2
469-
470-
<tr>
471-
<th>Applies to:
472-
<td>block containers
473-
474-
<tr>
475-
<th>Inherited:
476-
<td>yes
477-
478-
<tr>
479-
<th>Percentages:
480-
<td>N/A
481-
482-
<tr>
483-
<th>Media:
484-
<td>visual
485-
486-
<tr>
487-
<th>Computed value:
488-
<td>specified value
489-
490-
</table>
417+
<pre class="propdef">
418+
Name: orphans, widows
419+
Value: <<integer>>
420+
Initial: 2
421+
Applies to: block containers
422+
Inherited: yes
423+
</pre>
491424

492425
<p>
493426
The 'orphans' property specifies the minimum number
@@ -997,35 +930,13 @@ Splitting Boxes</h3>
997930
<h3 id="break-decoration">
998931
Fragmented Borders and Backgrounds: the 'box-decoration-break' property</h3>
999932

1000-
<table class=propdef>
1001-
<tr>
1002-
<th>Name:
1003-
<td><dfn>box-decoration-break</dfn>
1004-
<tr>
1005-
<th><a href="#values">Value</a>:
1006-
<td>slice | clone
1007-
<tr>
1008-
<th>Initial:
1009-
<td>slice
1010-
<tr>
1011-
<th>Applies to:
1012-
<td>all elements
1013-
<tr>
1014-
<th>Inherited:
1015-
<td>no
1016-
<tr>
1017-
<th>Percentages:
1018-
<td>N/A
1019-
<tr>
1020-
<th>Media:
1021-
<td>visual
1022-
<tr>
1023-
<th>Computed value:
1024-
<td>as specified
1025-
<tr>
1026-
<th>Animatable:
1027-
<td>no
1028-
</table>
933+
<pre class="propdef">
934+
Name: box-decoration-break
935+
Value: slice | clone
936+
Initial: slice
937+
Applies to: all elements
938+
Inherited: no
939+
</pre>
1029940

1030941
<p>
1031942
When a break (page/column/region/line<!-- ISSUE-182-->) splits a box,

0 commit comments

Comments
 (0)