svg2: Add 'iframe' to elements list that establish new viewports. (co...

details:   https://svgwg.org/hg/svg2/rev/01c72c9e7295
branches:  
changeset: 608:01c72c9e7295
user:      Satoru Takagi <sa-takagi@kddi.com>
date:      Tue Feb 04 18:04:11 2014 +0900
description:
Add 'iframe' to elements list that establish new viewports. (coords.html)

diffstat:

 master/coords.html   |  2 ++
 master/embedded.html |  2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (44 lines):

diff --git a/master/coords.html b/master/coords.html
--- a/master/coords.html
+++ b/master/coords.html
@@ -832,16 +832,18 @@ PreserveAspectRatio</a>.</p>
 
   <li>A <a>'symbol'</a> element define new
   viewports whenever they are instanced by a <a>'use'</a> element.</li>
 
   <li>An <a>'image'</a> element that
   references an SVG file will result in the establishment of a
   temporary new viewport since the referenced resource by
   definition will have an <a>'svg'</a> element.</li>
+  
+  <li>An <a>'iframe'</a> element that references an SVG file establishes new viewport like the situation of <a>'image'</a> element.</li>
 
   <li>A <a>'foreignObject'</a> element
   creates a new viewport for rendering the content that is
   within the element.</li>
 </ul>
 
 <p>Whether a new viewport also establishes a new additional
 clipping path is determined by the value of the <a>'overflow'</a> property on the element
diff --git a/master/embedded.html b/master/embedded.html
--- a/master/embedded.html
+++ b/master/embedded.html
@@ -324,17 +324,17 @@ elements within an SVG file.</p>
 </edit:with>
 
 <h2 id="IframeElement">The <span class='element-name'>'iframe'</span> element</h2>
 <edit:with element='iframe'>
 <edit:elementsummary name='iframe'/>
 
 <p>The <a>'iframe'</a> element introduces the function that is almost equivalent to <a href='http://www.w3.org/TR/html5/embedded-content-0.html#the-iframe-element'>'iframe' element of html5.0</a> into svg. Except for any SVG-specific rules explicitly mentioned in this specification, the normative definition for this element is the <a href='http://www.w3.org/TR/html5/embedded-content-0.html#the-iframe-element'>'iframe' element of html5.0.</a></p>
 
-<p>The <a>'iframe'</a> element introduces a new nested browsing context. Placement of browsing context is established in accordance with Placement and scaling of the referenced resource using <a>'x'</a>, <a>'y'</a>, <a>'width'</a>, <a>'height'</a>, <a>'frameWidth'</a>, <a>'frameHeight'</a> and <a>'preserveAspectRatio'</a> attributes.</p>
+<p>The <a>'iframe'</a> element introduces a new nested browsing context. Placement of browsing context is established in accordance with placement and scaling of the referenced resource using <a>'x'</a>, <a>'y'</a>, <a>'width'</a>, <a>'height'</a>, <a>'frameWidth'</a>, <a>'frameHeight'</a> and <a>'preserveAspectRatio'</a> attributes.</p>
 
 <p>The <a>'frameWidth'</a> and <a>'frameHeight'</a> specifies the natural (intrinsic) size (dimension) of browsing context(in CSS pixel) in non negative value. Unlike from <a>'canvas'</a>, floating point values are acceptable as intrinsic width and height. (See also <a href='http://dev.w3.org/csswg/css-images/#sizing'>CSS Image Values and Replaced Content Module Level 4 #sizing</a>) </p>
 
 <p>If <a>'frameWidth'</a> or <a>'frameHeight'</a> attributes are not specified, values of <a>'width'</a> or <a>'height'</a> are assigned to corresponding DOM attributes.</p>
 <p class="issue">Are 'frameWidth' and 'frameHeight' really required? They may only be the same as 'width' and 'height'.</p>
 
 <p>Differ from <a>'image'</a> element, even if <a>'iframe'</a> element references an SVG document, placement and scaling is achieved toward browsing context based on its intrinsic size. After that, referred SVG document will be arranged based on <a href='coords.html#ViewportSpace'>initial viewport establishment process</a> for browsing context. </p>
 

Received on Tuesday, 4 February 2014 09:09:25 UTC