- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 16 Aug 2011 23:56:04 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv17390 Modified Files: Overview.html Overview.src.html Log Message: Simplified 'object-position' to just use <bg-position>, like radial gradients. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.151 retrieving revision 1.152 diff -u -d -r1.151 -r1.152 --- Overview.html 16 Aug 2011 22:52:26 -0000 1.151 +++ Overview.html 16 Aug 2011 23:56:02 -0000 1.152 @@ -1768,9 +1768,7 @@ <tr> <th>Value: - <td>[ [ <percentage> | <length> | left | center | right ] [ - <percentage> | <length> | top | center | bottom ]? ] | [ [ left | - center | right ] || [ top | center | bottom ] ] + <td><bg-position> <tr> <th>Initial: @@ -1805,12 +1803,12 @@ <p>The ‘<a href="#object-position0"><code class=property>object-position</code></a>’ property determines the - alignment of the replaced element inside its box. The values have the same - meaning as the values for the <a - href="http://w3.org/TR/CSS21/colors.html#propdef-background-position">‘<code - class=property>background-position</code>’</a> property, using the - image as the image and the content box as the positioning area. <a - href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> + alignment of the replaced element inside its box. + <code><bg-position></code> comes from the <a + href="http://dev.w3.org/csswg/css3-background/#ltbg-positiongt">Backgrounds + & Borders Module</a>, and is resolved in the same way, using the image + as the image and the content box as the positioning area. <a href="#CSS21" + rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> <p class=note>Note that areas of the box not covered by the replaced element will show the element's background. Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.158 retrieving revision 1.159 diff -u -d -r1.158 -r1.159 --- Overview.src.html 16 Aug 2011 22:52:26 -0000 1.158 +++ Overview.src.html 16 Aug 2011 23:56:02 -0000 1.159 @@ -1242,8 +1242,7 @@ <td><dfn>object-position</dfn> <tr> <th>Value: - <td>[ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ - [ left | center | right ] || [ top | center | bottom ] ] + <td><bg-position> <tr> <th>Initial: <td>50% 50% @@ -1264,11 +1263,7 @@ <td>specified value </table> - <p>The 'object-position' property determines the alignment of the replaced - element inside its box. The values have the same meaning as the values for - the <a href="http://w3.org/TR/CSS21/colors.html#propdef-background-position">'background-position'</a> - property, using the image as the image and the content box as the positioning - area. [[!CSS21]]</p> + <p>The 'object-position' property determines the alignment of the replaced element inside its box. <code><bg-position></code> comes from the <a href="http://dev.w3.org/csswg/css3-background/#ltbg-positiongt">Backgrounds & Borders Module</a>, and is resolved in the same way, using the image as the image and the content box as the positioning area. [[!CSS21]]</p> <p class="note">Note that areas of the box not covered by the replaced element will show the element's background.</p>
Received on Tuesday, 16 August 2011 23:56:06 UTC