2222
2323 < h1 > CSS Backgrounds and Borders Module Level 3</ h1 >
2424
25- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 8 January 2011</ h2 >
25+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 20 January
26+ 2011</ h2 >
2627
2728 < dl >
2829 < dt > This version:
2930
30- < dd > <!--<a href="http://www.w3.org/TR/2011/WD-css3-background-20110108 ">http://www.w3.org/TR/2011/ED-css3-background-20110108 </a>-->
31+ < dd > <!--<a href="http://www.w3.org/TR/2011/WD-css3-background-20110120 ">http://www.w3.org/TR/2011/ED-css3-background-20110120 </a>-->
3132 < a
3233 href ="http://dev.w3.org/csswg/css3-background "> http://dev.w3.org/csswg/css3-background</ a >
3334
@@ -1261,8 +1262,10 @@ <h3 id=the-background-clip><span class=secno>3.7. </span>The ‘<a
12611262 </ dl >
12621263
12631264 < p class =note > Note that the root element has a different background
1264- painting area. See < a href ="#special-backgrounds "> “The backgrounds of
1265- special elements.”</ a >
1265+ painting area, and thus the ‘< a href ="#background-clip "> < code
1266+ class =property > background-clip</ code > </ a > ’ property has no effect
1267+ when specified on it. See < a href ="#special-backgrounds "> “The
1268+ backgrounds of special elements.”</ a >
12661269
12671270 < p class =note > Note that the background is always drawn < em > behind</ em > the
12681271 border, if any. See “Elaborate description of Stacking Contexts” in < a
@@ -1511,10 +1514,11 @@ <h3 id=the-background-size><span class=secno>3.9. </span>The ‘<a
15111514 background-image: url(flower.png) }
15121515</ pre >
15131516
1514- < p > The following example rounds the height of the image to 25%, down from
1515- the specified value of 30%. At 30%, three images would fit entirely and a
1516- fourth only partially. After rounding, four images fit. The width of the
1517- image is 20% of the background area width and is not rounded.
1517+ < p > The following example rounds the height of the image to 33.̅3%,
1518+ up from the specified value of 30%. At 30%, three images would fit
1519+ entirely and a fourth only partially. After rounding, three images fit.
1520+ The width of the image is 20% of the background area width and is not
1521+ rounded.
15181522
15191523 < pre >
15201524p {
@@ -1569,9 +1573,9 @@ <h3 id=the-background-size><span class=secno>3.9. </span>The ‘<a
15691573 background-size: 3em } /* = '3em auto' */
15701574</ pre >
15711575
1572- < p > In the following example, the background is shown with a width of 3em
1573- or slightly smaller, so that it fits a whole number of times in the width
1574- of the background. The height is scaled proportionally to keep the
1576+ < p > In the following example, the background is shown with a width of
1577+ approximately 3em: scaled so that it fits a whole number of times in the
1578+ width of the background. The height is scaled proportionally to keep the
15751579 original aspect ratio:
15761580
15771581 < pre >
@@ -1593,9 +1597,11 @@ <h3 id=the-background-size><span class=secno>3.9. </span>The ‘<a
15931597</ pre >
15941598
15951599 < p > In the following example, the background image is shown with a height
1596- of 4em or slightly less, so that it fits a whole number of times in the
1597- background height. The width is the width that correspond to a 4em height
1598- at the original aspect ratio or slightly less:
1600+ of approximately 4em: scaled slightly so that it fits a whole number of
1601+ times in the background height. The width is the approximately the width
1602+ that correspond to a 4em height at the original aspect ratio: scaled
1603+ slightly so that it fits a whole number of times in the background width.
1604+
15991605
16001606 < pre >
16011607div {
@@ -1720,7 +1726,7 @@ <h3 id=the-background><span class=secno>3.10. </span>The ‘<a
17201726
17211727 < pre >
17221728body { background: red }
1723- p { background: 40% url("chess.png") / 10em gray
1729+ p { background: url("chess.png") 40% / 10em gray
17241730 round fixed border-box; }
17251731</ pre >
17261732
@@ -1760,7 +1766,7 @@ <h3 id=the-background><span class=secno>3.10. </span>The ‘<a
17601766 full width of the element:
17611767
17621768 < pre >
1763- E { background: #CCC top left url("metal.jpg") / 100% auto no-repeat}
1769+ E { background: #CCC url("metal.jpg") top left / 100% auto no-repeat}
17641770</ pre >
17651771 </ div >
17661772
0 commit comments