Re: SVG/profiles/1.1F2/master coords.html,1.16,1.17 intro.html,1.25,1.26

Hi Chris.

Some comments on this change:

Chris Lilley via cvs-syncmail:
> +  <dd>
> +    <p>
> +      The rootmost
> +      <a href="struct.html#SVGElement"><span class="element-name">'svg'</span></a>
> +      element is the furthest
> +      <a href="struct.html#SVGElement"><span class="element-name">'svg'</span></a>
> +      ancestor element that does not exit an
> +      <a href="intro.html#TermSVGContext"><span class="svg-term">SVG context</span></a>.
> +      See also
> +      <a href="intro.html#TermSVGDocumentFragment"><span class="svg-term">SVG document fragment</span></a>.
> +    </p>
> +  </dd>

Is the definition of “rootmost ‘svg’ element” materially different from
“outermost ‘svg’ element”, which is already in the spec?  It would be
good to have only the one definition, if they are not.

> Index: coords.html
> …
> +<h2 id="IntrinsicSizing">Intrinsic sizing properties of the viewport of SVG content</h2>
> +<p>SVG needs to specify how to calculate some intrinsic sizing properties  to
> +enable inclusion within other languages. The intrinsic width and height
> +of the <a href="intro.html#TermViewport"><span class="svg-term">viewport</span></a> of SVG content must be determined from the <a href="struct.html#SVGElementWidthAttribute"><span class="attr-name">'width'</span></a> and <a href="struct.html#SVGElementHeightAttribute"><span
> +class="attr-name">'height'</span></a>
> +    attributes. If either of these are not specified, the
> +    lacuna value
> +    of <span class="attr-value">'100%'</span> must
> + be used. <em>Note:</em> the  <a href="struct.html#SVGElementWidthAttribute"><span class="attr-name">'width'</span></a> and <a href="struct.html#SVGElementHeightAttribute"><span

SVG 1.1 doesn’t have the lacuna value definition.  I think we can just
do s/lacuna// here.

> +  class="attr-name">'height'</span></a>
> + attributes are <em>not the same</em> as the CSS width and height properties. Specifically, percentage values <em>do not
> +provide an intrinsic width or height, and do not indicate a percentage of the containing block</em>. Rather, once the viewport is established, they indicate the portion of the viewport that is actually covered by image data.</p>
> +
> +<p>The intrinsic aspect ratio of the <a href="intro.html#TermViewport"><span class="svg-term">viewport</span></a> of SVG content is necessary
> +for example, when including SVG from an object element in HTML styled with
> +CSS.  It is possible (indeed, common) for an SVG graphic to have an intrinsic aspect ratio but not to have an intrinsic width or height.
> +The intrinsic aspect ratio must be calculated based upon the
> +following rules:</p>
> +<ul>
> +<li><p>The aspect ratio is calculated by dividing a width by a height.</p></li>
> +<li><p>If the <a href="struct.html#SVGElementWidthAttribute"><span class="attr-name">'width'</span></a> and <a href="struct.html#SVGElementHeightAttribute"><span
> +class="attr-name">'height'</span></a> of the <a href="intro.html#TermRootmostSVGElement"><span class="svg-term">rootmost 'svg' element</span></a> are both specified with 
> +unit identifiers (in, mm, cm, pt, pc, px, em, ex) or in <a href="intro.html#TermUserUnits"><span class="svg-term">user units</span></a>, then the aspect ratio is
> +calculated from the <a href="struct.html#SVGElementWidthAttribute"><span class="attr-name">'width'</span></a> and <a href="struct.html#SVGElementHeightAttribute"><span
> +class="attr-name">'height'</span></a> attributes after resolving both values to user units.</p></li>
> +<li><p>If either/both of the <a href="struct.html#SVGElementWidthAttribute"><span class="attr-name">'width'</span></a> and <a href="struct.html#SVGElementHeightAttribute"><span
> +class="attr-name">'height'</span></a> of the <a href="intro.html#TermRootmostSVGElement"><span class="svg-term">rootmost 'svg' element</span></a> are in
> +percentage units (or omitted), the aspect ratio is calculated from the width and
> +height values of the <a href="coords.html#ViewBoxAttribute"><span
> +    class="attr-name">'viewBox'</span></a> specified for the <a href="intro.html#TermCurrentSVGDocumentFragment"><span class="svg-term">current SVG document fragment</span></a>. If the <a href="coords.html#ViewBoxAttribute"><span
> +    class="attr-name">'viewBox'</span></a> is not correctly specified, or set to <span class="attr-value">'none'</span>,
> +the intrinsic aspect ratio cannot be calculated and is considered unspecified.</p></li>

SVG 1.1 doesn’t have the ‘none’ value for viewBox.  I think we can just
delete that parenthetical clause there.

> +</ul>
> +
> +<p>Examples:</p>
> +
> +<div class="example">
> +<div class="exampleheader">
> +<strong>Example:</strong> Intrinsic Aspect Ratio 1
> +</div>
> +
> +<div class="examplesource">
> +<pre><![CDATA[<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny"
> +     width="10cm" height="5cm">
> +  ...
> +</svg>]]></pre>
> +</div>
> +</div>

The styling of these examples doesn’t seem to match those in the rest of
the 1.1 spec.  Also I don’t think we should be using version="1.2"
baseProfile="tiny" there.

I can make these changes if you agree.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Friday, 19 November 2010 18:55:01 UTC