Fri, 18 Apr 2014 22:43:17 +0200
[css-masking] Change stroke bounding box algorithm for containers to a recursive algorithm
css-masking-1/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/css-masking-1/Overview.src.html Fri Apr 18 22:41:54 2014 +0200 1.2 +++ b/css-masking-1/Overview.src.html Fri Apr 18 22:43:17 2014 +0200 1.3 @@ -1234,9 +1234,8 @@ 1.4 <li>Let <var>parent</var> be the <a>container element</a> if it is one, or the root of the <a>'use'</a> element's shadow tree otherwise.</li> 1.5 <li>For each child <var>child</var> of <var>parent</var> 1.6 <ol> 1.7 - <li>Let <var>childBox</var> be a rectangle initialized to (0, 0, 0, 0).</li> 1.8 <li>Invoke the stroke bounding box algorithm with <var>child</var>.</li> 1.9 - <li>Set <var>childBox</var> to the returned box value of the invoked algorithm.</li> 1.10 + <li>Let <var>childBox</var> be the returned box value of the invoked algorithm.</li> 1.11 <li>Map <var>childBox</var> from the coordinate space of <var>child</var> to the coordinate space of <var>parent</var>.</li> 1.12 </ol> 1.13 <li>Let <var>box</var> be the union of all <var>childBox</var>es.</li>