File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2060,9 +2060,7 @@ is a [=list=] of {{CSSTransformComponent}}s.
20602060--------------------------------------------------
20612061
20622062{{CSSPositionValue}} objects represent <<position>> values,
2063- used by properties such as 'background-position' .
2064-
2065- Issue(312): background-position is a shorthand
2063+ used by properties such as 'object-position' .
20662064
20672065<pre class='idl'>
20682066[Constructor(CSSNumericValue x, CSSNumericValue y)]
@@ -2111,7 +2109,7 @@ The {{CSSPositionValue/x}} attribute expresses the offset from the left edge of
21112109
21122110 <pre class='lang-css'>
21132111 .example {
2114- background -position: center bottom 10px;
2112+ object -position: center bottom 10px;
21152113 }
21162114 </pre>
21172115
@@ -2120,10 +2118,10 @@ The {{CSSPositionValue/x}} attribute expresses the offset from the left edge of
21202118 <pre class='lang-javascript'>
21212119 let map = document.querySelector('.example' ).styleMap;
21222120
2123- map.get('background -position' ).x;
2121+ map.get('object -position' ).x;
21242122 // CSS.percent(50)
21252123
2126- map.get('background -position' ).y;
2124+ map.get('object -position' ).y;
21272125 // CSSMathSum(CSS.percent(100), CSS.px(-10))
21282126 </pre>
21292127</div>
You can’t perform that action at this time.
0 commit comments