Skip to content

Commit ce95d3a

Browse files
committed
[css3-overflow] Reorder text describing shorthand property and describe the longhand properties.
1 parent de9b55d commit ce95d3a

File tree

2 files changed

+29
-13
lines changed

2 files changed

+29
-13
lines changed

css3-overflow/Overview.html

+14-7
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,13 @@ <h2 id=intro><span class=secno>1. </span> Introduction</h2>
364364

365365
<h2 id=overflow-properties><span class=secno>2. </span>Overflow properties</h2>
366366

367+
<p> The ‘<a href="#overflow-x"><code class=css>overflow-x</code></a>
368+
property specifies the handling of overflow in the horizontal direction
369+
(i.e., overflow from the left and right sides of the box), and the ‘<a
370+
href="#overflow-y"><code class=css>overflow-y</code></a>’ property
371+
specifies the handling of overflow in the vertical direction (i.e.,
372+
overflow from the top and bottom sides of the box)
373+
367374
<table class=propdef>
368375
<tbody>
369376
<tr>
@@ -423,6 +430,13 @@ <h2 id=overflow-properties><span class=secno>2. </span>Overflow properties</h2>
423430
grammar</abbr>
424431
</table>
425432

433+
<p> The ‘<a href="#overflow"><code class=property>overflow</code></a>
434+
property is a shorthand property that sets the specified values of both
435+
<a href="#overflow-x"><code class=property>overflow-x</code></a>’ and
436+
<a href="#overflow-y"><code class=property>overflow-y</code></a>’ to
437+
the value specified for ‘<a href="#overflow"><code
438+
class=property>overflow</code></a>’.
439+
426440
<table class=propdef>
427441
<tbody>
428442
<tr>
@@ -512,13 +526,6 @@ <h2 id=overflow-properties><span class=secno>2. </span>Overflow properties</h2>
512526
href="#fragment-overflow">fragment overflow</a>.
513527
</dl>
514528

515-
<p> The ‘<a href="#overflow"><code class=property>overflow</code></a>
516-
property is a shorthand property that sets the specified values of both
517-
<a href="#overflow-x"><code class=property>overflow-x</code></a>’ and
518-
<a href="#overflow-y"><code class=property>overflow-y</code></a>’ to
519-
the value specified for ‘<a href="#overflow"><code
520-
class=property>overflow</code></a>’.
521-
522529
<div id=overflow-computed-values>
523530
<p>The computed values of ‘<a href="#overflow-x"><code
524531
class=property>overflow-x</code></a>’ and ‘<a

css3-overflow/Overview.src.html

+15-6
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,15 @@ <h2 id="intro">
239239

240240
<h2 id="overflow-properties">Overflow properties</h2>
241241

242+
<p>
243+
The ''overflow-x'' property specifies
244+
the handling of overflow in the horizontal direction
245+
(i.e., overflow from the left and right sides of the box),
246+
and the ''overflow-y'' property specifies the handling
247+
of overflow in the vertical direction
248+
(i.e., overflow from the top and bottom sides of the box)
249+
</p>
250+
242251
<table class=propdef>
243252
<tr>
244253
<th>Name:
@@ -272,6 +281,12 @@ <h2 id="overflow-properties">Overflow properties</h2>
272281
<td><abbr title="follows order of property value definition">per grammar</abbr>
273282
</table>
274283

284+
<p>
285+
The 'overflow' property is a shorthand property
286+
that sets the specified values of both 'overflow-x' and 'overflow-y'
287+
to the value specified for 'overflow'.
288+
</p>
289+
275290
<table class=propdef>
276291
<tr>
277292
<th>Name:
@@ -334,12 +349,6 @@ <h2 id="overflow-properties">Overflow properties</h2>
334349
</dd>
335350
</dl>
336351

337-
<p>
338-
The 'overflow' property is a shorthand property
339-
that sets the specified values of both 'overflow-x' and 'overflow-y'
340-
to the value specified for 'overflow'.
341-
</p>
342-
343352
<div id="overflow-computed-values">
344353
<p>The computed values of 'overflow-x' and 'overflow-y'
345354
are determined from the cascaded values [[!CSS3CASCADE]]

0 commit comments

Comments
 (0)