Skip to content

Commit 33b4c01

Browse files
committed
[css2] Added transparent value for border-color prop, added comment about hidden and table borders
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40822
1 parent 251f0b9 commit 33b4c01

1 file changed

Lines changed: 31 additions & 8 deletions

File tree

css2/visudet.src

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: visudet.src,v 2.0 1998-02-02 18:49:48 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.1 1998-02-07 02:03:00 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual rendering model details</TITLE>
@@ -364,10 +364,22 @@ of the top, right, bottom and left borders:
364364
<!-- #include src=properties/border-color.srb -->
365365

366366
<P>The <span class="propinst-border-color">'border-color'</span>
367-
property sets the color of the four borders. <span
368-
class="propinst-border-color">'border-color'</span> can have from one
369-
to four values, and the values are set on the different sides as for
370-
<span class="propinst-border-width">'border-width'</span>.
367+
property sets the color of the four borders. Values have the following
368+
meanings:</p>
369+
370+
<dl>
371+
<dt><span class="index-inst" title="&lt;color&gt;"><span
372+
class="value-inst-color"><strong>&lt;color&gt;</strong></span></span>
373+
<dd>Specifies a color value.
374+
<dt><strong>transparent</strong>
375+
<dd>The border is transparent (though it may have width).
376+
</dl>
377+
378+
379+
<P>The <span class="propinst-border-color">'border-color'</span>
380+
property can have from one to four values, and the values are set on
381+
the different sides as for <span
382+
class="propinst-border-width">'border-width'</span>.
371383

372384
<P>If an element's border color is not specified
373385
with a border property, user agents must use the value
@@ -403,10 +415,13 @@ value type, which make take one of the following:</p>
403415

404416
<dl>
405417
<dt><strong><span class="index-def" title="'none'::as border style"><a name="value-def-none" class="value-def">none</a></span></strong>
406-
<dd>No border.
418+
<dd>No border. <strong>Note.</strong> This value forces
419+
the computed value of <span class="propinst-border-width">'border-width'</span>
420+
to be '0'.
407421
<dt><strong><span class="index-def" title="'hidden'"><a name="value-def-hidden" class="value-def">hidden</a></span></strong>
408-
<dd>Same as 'none', except in <a
409-
href="tables.html#border-conflict-resolution">tables</a>.
422+
<dd>Same as 'none', except in terms of <a
423+
href="tables.html#border-conflict-resolution">border conflict
424+
resolution</a> for <a href="tables.html">table elements</a>.
410425
<dt><strong><span class="index-def" title="'dotted'"><a name="value-def-dotted" class="value-def">dotted</a></span></strong>
411426
<dd>The border is a series of dots.
412427
<dt><strong><span class="index-def" title="'dashed'"><a name="value-def-dashed" class="value-def">dashed</a></span></strong>
@@ -1231,6 +1246,14 @@ generated box appears:</p>
12311246
<DD>Align the bottom of the box with the bottom of the line box.
12321247
</DL>
12331248

1249+
<div class="note"><P>
1250+
<em><strong>Note.</strong> Values of this property have
1251+
slightly different meanings in the context of tables.
1252+
Please consult the section on <a href="tables.html#vertical-align">
1253+
vertical alignment of table context</a> for details.
1254+
</em>
1255+
</div>
1256+
12341257
<H2><a name="floating-constraints">Floating constraints</a></H2>
12351258

12361259
<P> A floating box is positioned subject to the following

0 commit comments

Comments
 (0)