- From: poot <cvsmail@w3.org>
- Date: Thu, 26 Feb 2009 08:40:45 +0900 (JST)
- To: public-html-diffs@w3.org
Stylistic tweaks; mention the rendering rules for dim attributes. (whatwg r2869) 10.3.3 Attributes for embedded content and images http://people.w3.org/mike/diffs/html5/spec/Overview.1.2042.html#attributes-for-embedded-content-and-images width http://people.w3.org/mike/diffs/html5/spec/Overview.1.2042.html#dom-dim-width 1 Introduction http://people.w3.org/mike/diffs/html5/spec/Overview.1.2042.html#introduction The width and height attributes on applet, embed, iframe, img, object or video elements, and input elements with a type attribute in the Image Button state, map to the dimension properties 'width' and 'height' on the element respectively. http://people.w3.org/mike/diffs/html5/spec/Overview.1.2042.html#dimRendering 1.2 Audience http://people.w3.org/mike/diffs/html5/spec/Overview.1.2042.html#audience 4.8.17 Dimension attributes http://people.w3.org/mike/diffs/html5/spec/Overview.1.2042.html#dimension-attributes http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2041&r2=1.2042&f=h http://html5.org/tools/web-apps-tracker?from=2868&to=2869 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2041 retrieving revision 1.2042 diff -u -d -r1.2041 -r1.2042 --- Overview.html 25 Feb 2009 14:11:16 -0000 1.2041 +++ Overview.html 25 Feb 2009 23:37:29 -0000 1.2042 @@ -1027,7 +1027,7 @@ vague subject referred to as Web Applications. This specification attempts to rectify this, while at the same time updating the HTML specifications to address issues raised in the past few years.<h3 id=audience><span class=secno>1.2 </span>Audience</h3><p><em>This section is non-normative.</em><p>This specification is intended for authors of documents and - scripts that use the features defined in this specificaton, and + scripts that use the features defined in this specification, and implementors of tools that are intended to conform to this specification, and individuals wishing to establish the correctness of documents or implementations with respect to the requirements of @@ -18560,7 +18560,7 @@ intrinsic width to the intrinsic height in the resource. The <var title="">specified width</var> and <var title="">specified height</var> are the values of the <code title=attr-dim-width><a href=#attr-dim-width>width</a></code> and <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> attributes respectively.<p>The two attributes must be omitted if the resource in question does not have both an intrinsic width and an intrinsic height.<p class=note>Basically, the dimension attributes can't be used to - stretch the image.<p>The <dfn id=dom-dim-width title=dom-dim-width><code>width</code></dfn> and <dfn id=dom-dim-height title=dom-dim-height><code>height</code></dfn> DOM attributes on + stretch the image.<p>User agents are expected to use these attributes <a href=#dimRendering>as hints for the rendering</a>.<p>The <dfn id=dom-dim-width title=dom-dim-width><code>width</code></dfn> and <dfn id=dom-dim-height title=dom-dim-height><code>height</code></dfn> DOM attributes on the <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-object-element>object</a></code>, and <code><a href=#video>video</a></code> elements must <a href=#reflect>reflect</a> the respective content attributes of the same name.</p><!-- XXX check @@ -48232,7 +48232,8 @@ 'border-right-width', 'border-bottom-width', and 'border-left-width' properties, and four setting the element's 'border-top-style', 'border-right-style', 'border-bottom-style', and 'border-left-style' - properties to the value 'solid'.<p>The <code title=attr-dim-width><a href=#attr-dim-width>width</a></code> and <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> attributes on + properties to the value 'solid'.<p id=dimRendering>The <code title=attr-dim-width><a href=#attr-dim-width>width</a></code> + and <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> attributes on <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-img-element>img</a></code>, <code><a href=#the-object-element>object</a></code> or <code><a href=#video>video</a></code> elements, and <code><a href=#the-input-element>input</a></code> elements with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href=#image-button-state title=attr-input-type-image>Image Button</a> state, <a href=#maps-to-the-pixel-length-property title="maps to the pixel length property">map to the dimension
Received on Wednesday, 25 February 2009 23:41:25 UTC