You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applies to: All elements. In SVG, it applies to <a>container elements</a> without the <a>'defs'</a> element and all <a>graphics elements</a>
164
164
Inherited: no
@@ -182,10 +182,6 @@ <h3 id="the-clip-path">Clipping Shape: the 'clip-path' property</h3>
182
182
<p>If specified in combination with a <<basic-shape>> it provides the reference box for the <<basic-shape>>.</p>
183
183
<p>If specified by itself, uses the edges of the specified box, including any corner shaping (e.g. defined by 'border-radius' [[!CSS3BG]]), as clipping path. See also <ahref="http://www.w3.org/TR/css-shapes/#shapes-from-box-values">“Shapes from box values”</a> [[!CSS-SHAPES]].</p>
184
184
</dd>
185
-
<dt><dfndfn-type=value>bounding-box</dfn></dt>
186
-
<dd>
187
-
The reference box is the <i>bounding client rect</i>. For further definition see <<shape-box>>.
<p>Defines the coordinate system for the contents of the <aelement>clipPath</a>.</p>
234
-
<p>If <code>clipPathUnits="userSpaceOnUse"</code>, the contents of the <aelement>clipPath</a> represent values in the current user coordinate system in place at the time when the <aelement>clipPath</a> element is referenced (i.e., the user coordinate system for the element referencing the <aelement>clipPath</a> element via the 'clip-path' property).</p>
235
-
<p>If <code>clipPathUnits="objectBoundingBox"</code>, then the user coordinate system for the contents of the <aelement>clipPath</a> element is established using the bounding box of the element to which the clipping path is applied (see <a>object bounding box units</a>).</p>
<p>The contents of the <aelement>clipPath</a> represent values in the current user coordinate system in place at the time when the <aelement>clipPath</a> element is referenced (i.e., the user coordinate system for the element referencing the <aelement>clipPath</a> element via the 'clip-path' property).</p>
<p>The user coordinate system for the contents of the <aelement>clipPath</a> element is established using the bounding box of the element to which the clipping path is applied (see <a>object bounding box units</a>).</p>
238
+
</dd>
239
+
</dt>
236
240
<p>If attribute <aelement-attr>clipPathUnits</a> is not specified, then the effect is as if a value of <avaluefor=clipPathUnits>userSpaceOnUse</a> were specified.</p>
237
241
<p>Animatable: yes.</p>
238
242
</dd>
@@ -522,7 +526,7 @@ <h3 id="the-mask-origin">Positioning Area: the 'mask-origin' property</h3>
522
526
523
527
<preclass='propdef'>
524
528
Name: mask-origin
525
-
Value: <<box>> | bounding-box
529
+
Value: <<box>>
526
530
Initial: border-box
527
531
Applies to: All elements. In SVG, it applies to <a>container elements</a> without the <a>'defs'</a> element and all <a>graphics elements</a>
528
532
Inherited: no
@@ -546,30 +550,6 @@ <h3 id="the-mask-origin">Positioning Area: the 'mask-origin' property</h3>
546
550
<dt><dfn>content-box</dfn>
547
551
<dd>
548
552
The position is relative to the content box respectively object bounding box [[!SVG11]] for objects without associated layout box.
549
-
<dt><dfn>bounding-box</dfn></dt>
550
-
<dd>
551
-
<p>The position relative to the <i>bounding client rect</i>.</p>
552
-
<divclass="example">
553
-
<p>The <i>bounding client rect</i> includes the border box of the element as well as the border box of the descendants.</p>
554
-
<pre><codeclass=html><div id="element">
555
-
<div id="content"></div>
556
-
</div></code></pre>
557
-
<divclass=figure>
558
-
<imgsrc="images/bounding-box-overflow.svg" width="241" height="221" alt="Values for rect shape">
559
-
<pclass=caption>This diagram illustrates an element and an overflowing descendant. The dashed line represents the <i>bounding client rect</i> and covers the element and the descendant.</p>
560
-
</div>
561
-
</div>
562
-
<divclass="example">
563
-
<p>In this example the descendant is transformed. The <i>bounding client rect</i> includes the transformed border box of the descendant. It does <em>not</em> include any transform on the element.</p>
564
-
<pre><codeclass=css>#content {
565
-
transform: translate(50px, 50px);
566
-
}</code></pre>
567
-
<divclass=figure>
568
-
<imgsrc="images/bounding-box-transform.svg" width="601" height="258.5" alt="Values for rect shape">
569
-
<pclass=caption>This diagram illustrates an element and a transformed descendant. The dashed line represents the <i>bounding client rect</i> and covers the element and the descendant.</p>
570
-
</div>
571
-
</div>
572
-
</dd>
573
553
</dl>
574
554
575
555
Note: There is no corresponding box for <avaluefor=mask-origin>padding-box</a> on objects without associated layout box and <avaluefor=mask-origin>content-box</a> is chosen instead.
<p>Defines the coordinate system for attributes <aelement-attr>x</a>, <aelement-attr>y</a>, <aelement-attr>width</a> and <aelement-attr>height</a>.</p>
829
-
<p>If <code>maskUnits="userSpaceOnUse"</code>, <aelement-attr>x</a>, <aelement-attr>y</a>, <aelement-attr>width</a> and <aelement-attr>height</a> represent values in the current user coordinate system in place at the time when the <aelement>mask</a> element is referenced (i.e., the user coordinate system for the element referencing the <aelement>mask</a> element via the 'mask' property).</p>
830
-
<p>If <code>maskUnits="objectBoundingBox"</code>, <aelement-attr>x</a>, <aelement-attr>y</a>, <aelement-attr>width</a> and <aelement-attr>height</a> represent fractions or percentages of the bounding box of the element to which the mask is applied. (See <a>object bounding box units</a>.)</p>
<p><aelement-attr>x</a>, <aelement-attr>y</a>, <aelement-attr>width</a> and <aelement-attr>height</a> represent values in the current user coordinate system in place at the time when the <aelement>mask</a> element is referenced (i.e., the user coordinate system for the element referencing the <aelement>mask</a> element via the 'mask' property).</p>
<p><aelement-attr>x</a>, <aelement-attr>y</a>, <aelement-attr>width</a> and <aelement-attr>height</a> represent fractions or percentages of the bounding box of the element to which the mask is applied. (See <a>object bounding box units</a>.)</p>
817
+
</dd>
818
+
</dl>
831
819
<p>If attribute <aelement-attr>maskUnits</a> is not specified, then the effect is as if a value of <avaluefor=maskUnits>objectBoundingBox</a> were specified.</p>
<p>Defines the coordinate system for the contents of the <aelement>mask</a>.</p>
839
-
<p>If <code>maskContentUnits="userSpaceOnUse"</code>, the user coordinate system for the contents of the <aelement>mask</a> element is the current user coordinate system in place at the time when the <aelement>mask</a> element is referenced (i.e., the user coordinate system for the element referencing the <aelement>mask</a> element via the 'mask' property).</p>
840
-
<p>If <code>maskContentUnits="objectBoundingBox"</code>, the user coordinate system for the contents of the <aelement>mask</a> is established using the bounding box of the element to which the mask is applied. (See <a>object bounding box units</a>.)</p>
<p>The user coordinate system for the contents of the <aelement>mask</a> element is the current user coordinate system in place at the time when the <aelement>mask</a> element is referenced (i.e., the user coordinate system for the element referencing the <aelement>mask</a> element via the 'mask' property).</p>
<p>The user coordinate system for the contents of the <aelement>mask</a> is established using the bounding box of the element to which the mask is applied. (See <a>object bounding box units</a>.)</p>
835
+
</dd>
836
+
</dl>
841
837
<p>If attribute <aelement-attr>maskContentUnits</a> is not specified, then the effect is as if a value of <avaluefor=maskContentUnits>userSpaceOnUse</a> were specified.</p>
0 commit comments