Skip to content

Commit c3c52de

Browse files
committed
[css-box-3] Add cross-reference section on borders, for parallelism. w3c#3007
1 parent d862130 commit c3c52de

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

css-box-3/Overview.bs

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ Margins {#margins}
201201
sets the margin for all four sides
202202
while the margin <a>longhand properties</a> only set their respective side.
203203
This specification defines the <a>physical</a> 'margin' <a>longhands</a>;
204-
[[css-logical-1]] additionally defines <a>flow-relative</a> 'margin' <a>longhands</a>.
204+
[[css-logical-1#margin-properties]] additionally
205+
defines <a>flow-relative</a> 'margin' <a>longhands</a>.
205206
Both sets of properties control the same set of margins:
206207
they are just different ways of indexing each side.
207208

@@ -383,7 +384,8 @@ Padding {#paddings}
383384
sets the padding for all four sides
384385
while the padding <a>longhand properties</a> only set their respective side.
385386
This specification defines the <a>physical</a> 'padding' <a>longhands</a>;
386-
[[css-logical-1]] additionally defines <a>flow-relative</a> 'padding' <a>longhands</a>.
387+
[[css-logical-1#padding-properties]] additionally
388+
defines <a>flow-relative</a> 'padding' <a>longhands</a>.
387389
Both sets of properties control the same set of padding:
388390
they are just different ways of indexing each side.
389391

@@ -461,6 +463,21 @@ Padding Shorthand: the 'padding' property {#padding-shorthand}
461463
</pre>
462464
</div>
463465

466+
Borders {#borders}
467+
=======
468+
469+
<dfn export lt="border">Borders</dfn> fill the <a>border area</a>,
470+
to visually delineate the edges of the box,
471+
The <dfn export>border properties</dfn> specify the thickness
472+
of the <a>border area</a> of a box,
473+
as well as its drawing style and color.
474+
See [[css-backgrounds-3#borders]] for the definition
475+
of the physical variants of these properties;
476+
[[css-logical-1#border-properties]] additionally
477+
defines <a>flow-relative</a> border <a>longhands</a>.
478+
Both sets of properties control the same set of borders:
479+
they are just different ways of indexing each side.
480+
464481
Changes Since CSS Level 2 {#changes}
465482
=========================
466483

0 commit comments

Comments
 (0)