1515 src ="http://www.w3.org/Icons/w3c_home " width =72 > </ a > < a class =logo
1616 href ="../../ " rel =in-activity > < img alt ="CSS WG "
1717 src ="../../../Woolly/woolly-icon.png "> </ a > < span
18+ < < < < < < < Overview .html
19+ class =id > css3-background-20080114</ span > </ p >
20+ =======
1821 class=id> css3-background-20071225</ span >
22+ > > > > > > > 1.10
1923
2024 < h1 id =css3-backgrounds > CSS3 Backgrounds and Borders Module</ h1 >
2125
26+ < < < < < < < Overview .html
27+ < h2 class ="no-num no-toc " id =w3c-working > W3C Working Draft 14 January 2008</ h2 >
28+ =======
2229 < h2 class ="no-num no-toc " id =w3c-working > W3C Working Draft 25 December
2330 2007</ h2 >
31+ > > > > > > > 1.10
2432
2533 < dl >
2634 < dt > This version:
2735
2836 < dd > < a
37+ < < < < < < < Overview .html
38+ href ="http://www.w3.org/TR/2008/ED-css3-background-20080114 "> http://www.w3.org/TR/2008/ED-css3-background-20080114</ a >
39+ =======
2940 href="http://www.w3.org/TR/2007/ED-css3-background-20071225"> http://www.w3.org/TR/2007/ED-css3-background-20071225</ a >
41+ > > > > > > > 1.10
3042
3143
3244 < dt > Latest version:
@@ -58,7 +70,7 @@ <h2 class="no-num no-toc" id=w3c-working>W3C Working Draft 25 December
5870 <!--begin-copyright-->
5971 < p class =copyright > < a
6072 href ="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright "
61- rel =license > Copyright</ a > © 2007 < a
73+ rel =license > Copyright</ a > © 2008 < a
6274 href ="http://www.w3.org/ "> < acronym title ="World Wide Web
6375 Consortium "> W3C</ acronym > </ a > < sup > ®</ sup > (< a
6476 href ="http://www.csail.mit.edu/ "> < acronym title ="Massachusetts Institute
@@ -1660,7 +1672,13 @@ <h3 id=the-background-shadow><span class=secno>4.11. </span>The
16601672 </ ul >
16611673
16621674 < p > If an element has multiple boxes, all of them get drop shadows. If the
1675+ < < < < < < < Overview .html
1676+ box has a nonzero ‘ < a class =property
1677+ href ="#border-radius "> border-radius</ a > ’, the shadow is rounded in
1678+ the same way.
1679+ =======
16631680 box has a nonzero 'border-radius', the shadow is rounded in the same way.
1681+ > > > > > > > 1.10
16641682
16651683 < div class =example >
16661684 < p > Here is an example of single words with a drop shadow. Assume the words
@@ -2599,6 +2617,62 @@ <h3 id=the-border-radius><span class=secno>5.5. </span>The 'border-radius'
25992617 < td > two absolute <length>s
26002618 </ table >
26012619
2620+ < < < < < < < Overview .html
2621+ < table class =propdef id =name-18 >
2622+ < tbody >
2623+ < tr >
2624+ < td > < em > Name:</ em >
2625+
2626+ < td > < dfn id =border-radius > border-radius</ dfn >
2627+
2628+ < tr >
2629+ < td > < em > Value:</ em >
2630+
2631+ < td > < var > < a href ="#ltlengthgt0 "> <length></ a > </ var > {1,4} [ /
2632+ < var > < a href ="#ltlengthgt0 "> <length></ a > </ var > {1,4} ]?
2633+
2634+ < tr >
2635+ < td > < em > Initial:</ em >
2636+
2637+ < td > 0
2638+
2639+ < tr >
2640+ < td > < em > Applies to:</ em >
2641+
2642+ < td > all elements, except table element when ‘< span
2643+ class =property > border-collapse</ span > ’ is ‘< code
2644+ class =css > collapse</ code > ’
2645+
2646+ < tr >
2647+ < td > < em > Inherited:</ em >
2648+
2649+ < td > no
2650+
2651+ < tr >
2652+ < td > < em > Percentages:</ em >
2653+
2654+ < td > N/A
2655+
2656+ < tr >
2657+ < td > < em > Media:</ em >
2658+
2659+ < td > visual
2660+
2661+ < tr >
2662+ < td > < em > Computed value:</ em >
2663+
2664+ < td > see individual properties
2665+ </ table >
2666+
2667+ < p > The two length values of the ‘< code
2668+ class =css > border-*-radius</ code > ’ properties define the radii of a
2669+ quarter ellipse that defines the shape of the corner of the outer border
2670+ edge (see the diagram below). The first value is the horizontal radius. If
2671+ the second length is omitted it is equal to the first (and the corner is
2672+ thus a quarter circle). If either length is zero, the corner is square,
2673+ not rounded. The border radius also causes the element's background to be
2674+ rounded, even if the border is ‘< code class =css > none</ code > ’.
2675+ =======
26022676 < table class =propdef id =name-18 >
26032677 < tbody >
26042678 < tr >
@@ -2651,8 +2725,48 @@ <h3 id=the-border-radius><span class=secno>5.5. </span>The 'border-radius'
26512725 first (and the corner is thus a quarter circle). If either length is zero,
26522726 the corner is square, not rounded. The border radius also causes the
26532727 element's background to be rounded, even if the border is ''none''.
2728+ > > > > > > > 1.10
26542729 Negative values are not allowed.
26552730
2731+ < < < < < < < Overview .html
2732+ < p > The ‘< a class =property
2733+ href ="#border-radius "> border-radius</ a > ’ shorthand sets all four
2734+ ‘< code class =css > border-*-radius</ code > ’ properties. If values
2735+ are given before and after the slash, then the values before the slash set
2736+ the horizontal radius and the values after the slash set the vertical
2737+ radius. If there is no slash, then the values set both radii equally. The
2738+ four values for each radii are given in the order top-left, top-right,
2739+ bottom-right, bottom-left. If bottom-left is omitted it is the same as
2740+ top-right. If bottom-right is omitted it is the same as top-left. If
2741+ top-right is omitted it is the same as top-left.
2742+
2743+ < div class =example >
2744+ < pre >
2745+ border-radius: 4em;
2746+ </ pre >
2747+ would be equivalent to
2748+ < pre >
2749+ border-top-left-radius: 4em;
2750+ border-top-right-radius: 4em;
2751+ border-bottom-right-radius: 4em;
2752+ border-bottom-left-radius: 4em;
2753+ </ pre >
2754+ and
2755+ < pre >
2756+ border-radius: 2em 1em 4em / 0.5em 3em;
2757+ </ pre >
2758+ would be equivalent to
2759+ < pre >
2760+ border-top-left-radius: 2em 0.5em;
2761+ border-top-right-radius: 1em 3em;
2762+ border-bottom-right-radius: 4em 0.5em;
2763+ border-bottom-left-radius: 1em 3em;
2764+ </ pre >
2765+ </ div >
2766+
2767+ < p > The padding edge (inner border) radius is the outer border radius minus
2768+ the corresponding border thickness. In the case where this results in a
2769+ =======
26562770 < p > The 'border-radius' shorthand sets all four 'border-*-radius'
26572771 properties. If values are given before and after the slash, then the
26582772 values before the slash set the horizontal radius and the values after the
@@ -2688,6 +2802,7 @@ <h3 id=the-border-radius><span class=secno>5.5. </span>The 'border-radius'
26882802
26892803 < p > The padding edge (inner border) radius is the outer border radius minus
26902804 the corresponding border thickness. In the case where this results in a
2805+ > > > > > > > 1.10
26912806 negative value, the inner radius is zero. (In such cases its center might
26922807 not coincide with that of the outer border curve.) Backgrounds, but not
26932808 the < a href ="#the-border-image "> border-image</ a > , are clipped to the curve
@@ -2728,8 +2843,16 @@ <h3 id=the-border-radius><span class=secno>5.5. </span>The 'border-radius'
27282843
27292844 </ div >
27302845
2846+ < < < < < < < Overview .html
2847+ < p > All border styles ( ‘< code class =css > < a
2848+ href ="#solid "> solid</ a > </ code > ’, ‘< code class =css > < a
2849+ href ="#dotted "> dotted</ a > </ code > ’, ‘< code class =css > < a
2850+ href ="#inset "> inset</ a > </ code > ’, etc.) follow the curve of the
2851+ border.
2852+ =======
27312853 < p > All border styles ( ''solid'', ''dotted'', ''inset'', etc.) follow the
27322854 curve of the border.
2855+ > > > > > > > 1.10
27332856
27342857 < p > Corners do not overlap: When the sum of two adjacent corner radii
27352858 exceeds the size of the border box, UAs must reduce one or more of the
@@ -2822,9 +2945,15 @@ <h3 id=the-border-break><span class=secno>5.6. </span>The 'border-break'
28222945 < tr >
28232946 < td > < em > Value:</ em >
28242947
2948+ < < < < < < < Overview .html
2949+ < td > < var > < a href ="#ltborder-widthgt "> <border-width></ a > </ var > ||
2950+ < var > < a href ="#ltborder-stylegt "> <border-style></ a > </ var > ||
2951+ < var > < a href ="#ltcolorgt0 "> <color></ a > </ var >
2952+ =======
28252953 < td > < var > < 'border-width'></ var > || < var > < a
28262954 href ="#ltborder-stylegt "> <border-style></ a > </ var > || < var > < a
28272955 href ="#ltcolorgt0 "> <color></ a > </ var >
2956+ > > > > > > > 1.10
28282957
28292958 < tr >
28302959 < td > < em > Initial:</ em >
@@ -2901,9 +3030,15 @@ <h3 id=the-border-shorthands><span class=secno>5.7. </span>The
29013030 < tr >
29023031 < td > < em > Value:</ em >
29033032
3033+ < < < < < < < Overview .html
3034+ < td > < var > < a href ="#ltborder-widthgt "> <border-width></ a > </ var > ||
3035+ < var > < a href ="#ltborder-stylegt "> <border-style></ a > </ var > ||
3036+ < var > < a href ="#ltcolorgt0 "> <color></ a > </ var >
3037+ =======
29043038 < td > < var > < 'border-width'></ var > || < var > < a
29053039 href ="#ltborder-stylegt "> <border-style></ a > </ var > || < var > < a
29063040 href ="#ltcolorgt0 "> <color></ a > </ var >
3041+ > > > > > > > 1.10
29073042
29083043 < tr >
29093044 < td > < em > Initial:</ em >
@@ -2950,9 +3085,15 @@ <h3 id=the-border-shorthands><span class=secno>5.7. </span>The
29503085 < tr >
29513086 < td > < em > Value:</ em >
29523087
3088+ < < < < < < < Overview .html
3089+ < td > < var > < a href ="#ltborder-widthgt "> <border-width></ a > </ var > ||
3090+ < var > < a href ="#ltborder-stylegt "> <border-style></ a > </ var > ||
3091+ < var > < a href ="#ltcolorgt0 "> <color></ a > </ var >
3092+ =======
29533093 < td > < var > < 'border-width'></ var > || < var > < a
29543094 href ="#ltborder-stylegt "> <border-style></ a > </ var > || < var > < a
29553095 href ="#ltcolorgt0 "> <color></ a > </ var >
3096+ > > > > > > > 1.10
29563097
29573098 < tr >
29583099 < td > < em > Initial:</ em >
@@ -3756,7 +3897,11 @@ <h2 class=no-num id=property>Property index</h2>
37563897 < tr valign =baseline >
37573898 < td > < a class =property href ="#border2 "> border</ a >
37583899
3900+ < < < < < < < Overview .html
3901+ < td > <border-width> || <border-style> || <color>
3902+ =======
37593903 < td > < 'border-width'> || <border-style> || <color>
3904+ > > > > > > > 1.10
37603905
37613906 < td > See individual properties
37623907
@@ -3771,7 +3916,11 @@ <h2 class=no-num id=property>Property index</h2>
37713916 < tr valign =baseline >
37723917 < td > < a class =property href ="#border-break "> border-break</ a >
37733918
3919+ < < < < < < < Overview .html
3920+ < td > <border-width> || <border-style> || <color>
3921+ =======
37743922 < td > < 'border-width'> || <border-style> || <color>
3923+ > > > > > > > 1.10
37753924
37763925 < td > none
37773926
@@ -3831,6 +3980,22 @@ <h2 class=no-num id=property>Property index</h2>
38313980
38323981 < td > visual
38333982
3983+ < tr valign =baseline >
3984+ < td > < a class =property href ="#border-radius "> border-radius</ a >
3985+
3986+ < td > <length>{1,4} [ / <length>{1,4} ]?
3987+
3988+ < td > 0
3989+
3990+ < td > all elements, except table element when
3991+ ‘border-collapse’ is ‘collapse’
3992+
3993+ < td > no
3994+
3995+ < td > N/A
3996+
3997+ < td > visual
3998+
38343999 < tr valign =baseline >
38354000 < td > < a class =property href ="#border-shadow "> border-shadow</ a >
38364001
@@ -3869,7 +4034,11 @@ <h2 class=no-num id=property>Property index</h2>
38694034 href ="#border-bottom "> border-bottom</ a > , < a class =property
38704035 href ="#border-left "> border-left</ a >
38714036
4037+ < < < < < < < Overview .html
4038+ < td > <border-width> || <border-style> || <color>
4039+ =======
38724040 < td > < 'border-width'> || <border-style> || <color>
4041+ > > > > > > > 1.10
38734042
38744043 < td > See individual properties
38754044
@@ -3987,7 +4156,12 @@ <h2 class=no-num id=property>Property index</h2>
39874156 < li > < dfn id =overflow > 'overflow'</ dfn > , see < a href ="#CSS3BOX "
39884157 rel =biblioentry > [CSS3BOX]<!--{{CSS3BOX}}--> </ a >
39894158
4159+ < < < < < < < Overview .html
4160+ < li > < dfn id =z-index > ‘< span
4161+ class =property > z-index</ span > ’</ dfn > , see < a href ="#CSS3POS "
4162+ =======
39904163 < li> < dfn id =z-index > 'z-index'</ dfn > , see < a href ="#CSS3POS "
4164+ > > > > > > > 1.10
39914165 rel=biblioentry> [CSS3POS]<!--{{CSS3POS}}--> </ a >
39924166
39934167 < li > < dfn id =border-collapse > 'border-collapse'</ dfn > , see < a
0 commit comments