[html5] r7929 - [giow] (3) Define img.lowsrc, needed for compat Fixing https://www.w3.org/Bugs/P [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Jun 6 14:50:59 PDT 2013


Author: ianh
Date: 2013-06-06 14:50:58 -0700 (Thu, 06 Jun 2013)
New Revision: 7929

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Define img.lowsrc, needed for compat
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=10341
Affected topics: HTML, Rendering

Modified: complete.html
===================================================================
--- complete.html	2013-06-06 21:34:01 UTC (rev 7928)
+++ complete.html	2013-06-06 21:50:58 UTC (rev 7929)
@@ -93971,16 +93971,16 @@
   <code><a href=#the-p-element>p</a></code>, <code><a href=#plaintext>plaintext</a></code>, <code><a href=#the-pre-element>pre</a></code>, <code><a href=#the-ul-element>ul</a></code>, <code><a href=#xmp>xmp</a></code></p>
 
   <p>In <a href=#quirks-mode>quirks mode</a>, any <a href=#concept-rendering-elements-with-margins title=concept-rendering-elements-with-margins>element
-  with default margins</a> that is the child of a <code><a href=#the-body-element>body</a></code>, <code>td<code>, or
+  with default margins</a> that is the child of a <code><a href=#the-body-element>body</a></code>, <code><a href=#the-td-element>td</a></code>, or
   <code><a href=#the-th-element>th</a></code> element and has no <a href=#concept-rendering-substantial title=concept-rendering-substantial>substantial</a>
   previous siblings is expected to have a user-agent level style sheet rule that sets its
-  'margin-top' property to zero.</code></code></p>
+  'margin-top' property to zero.</p>
 
   <p>In <a href=#quirks-mode>quirks mode</a>, any <a href=#concept-rendering-elements-with-margins title=concept-rendering-elements-with-margins>element
-  with default margins</a> that is the child of a <code><a href=#the-body-element>body</a></code>, <code>td<code>, or
+  with default margins</a> that is the child of a <code><a href=#the-body-element>body</a></code>, <code><a href=#the-td-element>td</a></code>, or
   <code><a href=#the-th-element>th</a></code> element, has no <a href=#concept-rendering-substantial title=concept-rendering-substantial>substantial</a>
   previous siblings, and is <a href=#concept-rendering-blank title=concept-rendering-blank>blank</a>, is expected to have
-  a user-agent level style sheet rule that sets its 'margin-bottom' property to zero also.</code></code></p>
+  a user-agent level style sheet rule that sets its 'margin-bottom' property to zero also.</p>
 
   <p>In <a href=#quirks-mode>quirks mode</a>, any <a href=#concept-rendering-elements-with-margins title=concept-rendering-elements-with-margins>element
   with default margins</a> that is the child of a <code><a href=#the-td-element>td</a></code> or <code><a href=#the-th-element>th</a></code> element, has
@@ -96626,6 +96626,7 @@
 
   <hr><pre class=idl>partial interface <a href=#htmlimageelement id=HTMLImageElement-partial>HTMLImageElement</a> {
            attribute DOMString <a href=#dom-img-name title=dom-img-name>name</a>;
+           attribute DOMString <a href=#dom-img-lowsrc title=dom-img-lowsrc>lowsrc</a>;
            attribute DOMString <a href=#dom-img-align title=dom-img-align>align</a>;
            attribute unsigned long <a href=#dom-img-hspace title=dom-img-hspace>hspace</a>;
            attribute unsigned long <a href=#dom-img-vspace title=dom-img-vspace>vspace</a>;
@@ -96644,7 +96645,11 @@
   content attribute, which for the purposes of reflection is defined
   as containing a <a href=#url>URL</a>.</p>
 
-  <!-- lowsrc is explicitly not given here, see http://www.w3.org/Bugs/Public/show_bug.cgi?id=10341 -->
+  <p>The <dfn id=dom-img-lowsrc title=dom-img-lowsrc><code>lowsrc</code></dfn> IDL
+  attribute of the <code><a href=#the-img-element>img</a></code> element must <a href=#reflect>reflect</a>
+  the element's <code title=attr-img-lowsrc><a href=#attr-img-lowsrc>lowsrc</a></code>
+  content attribute, which for the purposes of reflection is defined
+  as containing a <a href=#url>URL</a>.</p>
 
   <hr><pre class=idl>partial interface <a href=#htmlinputelement id=HTMLInputElement-partial>HTMLInputElement</a> {
            attribute DOMString <a href=#dom-input-align title=dom-input-align>align</a>;

Modified: index
===================================================================
--- index	2013-06-06 21:34:01 UTC (rev 7928)
+++ index	2013-06-06 21:50:58 UTC (rev 7929)
@@ -93971,16 +93971,16 @@
   <code><a href=#the-p-element>p</a></code>, <code><a href=#plaintext>plaintext</a></code>, <code><a href=#the-pre-element>pre</a></code>, <code><a href=#the-ul-element>ul</a></code>, <code><a href=#xmp>xmp</a></code></p>
 
   <p>In <a href=#quirks-mode>quirks mode</a>, any <a href=#concept-rendering-elements-with-margins title=concept-rendering-elements-with-margins>element
-  with default margins</a> that is the child of a <code><a href=#the-body-element>body</a></code>, <code>td<code>, or
+  with default margins</a> that is the child of a <code><a href=#the-body-element>body</a></code>, <code><a href=#the-td-element>td</a></code>, or
   <code><a href=#the-th-element>th</a></code> element and has no <a href=#concept-rendering-substantial title=concept-rendering-substantial>substantial</a>
   previous siblings is expected to have a user-agent level style sheet rule that sets its
-  'margin-top' property to zero.</code></code></p>
+  'margin-top' property to zero.</p>
 
   <p>In <a href=#quirks-mode>quirks mode</a>, any <a href=#concept-rendering-elements-with-margins title=concept-rendering-elements-with-margins>element
-  with default margins</a> that is the child of a <code><a href=#the-body-element>body</a></code>, <code>td<code>, or
+  with default margins</a> that is the child of a <code><a href=#the-body-element>body</a></code>, <code><a href=#the-td-element>td</a></code>, or
   <code><a href=#the-th-element>th</a></code> element, has no <a href=#concept-rendering-substantial title=concept-rendering-substantial>substantial</a>
   previous siblings, and is <a href=#concept-rendering-blank title=concept-rendering-blank>blank</a>, is expected to have
-  a user-agent level style sheet rule that sets its 'margin-bottom' property to zero also.</code></code></p>
+  a user-agent level style sheet rule that sets its 'margin-bottom' property to zero also.</p>
 
   <p>In <a href=#quirks-mode>quirks mode</a>, any <a href=#concept-rendering-elements-with-margins title=concept-rendering-elements-with-margins>element
   with default margins</a> that is the child of a <code><a href=#the-td-element>td</a></code> or <code><a href=#the-th-element>th</a></code> element, has
@@ -96626,6 +96626,7 @@
 
   <hr><pre class=idl>partial interface <a href=#htmlimageelement id=HTMLImageElement-partial>HTMLImageElement</a> {
            attribute DOMString <a href=#dom-img-name title=dom-img-name>name</a>;
+           attribute DOMString <a href=#dom-img-lowsrc title=dom-img-lowsrc>lowsrc</a>;
            attribute DOMString <a href=#dom-img-align title=dom-img-align>align</a>;
            attribute unsigned long <a href=#dom-img-hspace title=dom-img-hspace>hspace</a>;
            attribute unsigned long <a href=#dom-img-vspace title=dom-img-vspace>vspace</a>;
@@ -96644,7 +96645,11 @@
   content attribute, which for the purposes of reflection is defined
   as containing a <a href=#url>URL</a>.</p>
 
-  <!-- lowsrc is explicitly not given here, see http://www.w3.org/Bugs/Public/show_bug.cgi?id=10341 -->
+  <p>The <dfn id=dom-img-lowsrc title=dom-img-lowsrc><code>lowsrc</code></dfn> IDL
+  attribute of the <code><a href=#the-img-element>img</a></code> element must <a href=#reflect>reflect</a>
+  the element's <code title=attr-img-lowsrc><a href=#attr-img-lowsrc>lowsrc</a></code>
+  content attribute, which for the purposes of reflection is defined
+  as containing a <a href=#url>URL</a>.</p>
 
   <hr><pre class=idl>partial interface <a href=#htmlinputelement id=HTMLInputElement-partial>HTMLInputElement</a> {
            attribute DOMString <a href=#dom-input-align title=dom-input-align>align</a>;

Modified: source
===================================================================
--- source	2013-06-06 21:34:01 UTC (rev 7928)
+++ source	2013-06-06 21:50:58 UTC (rev 7929)
@@ -104880,13 +104880,13 @@
   <code>p</code>, <code>plaintext</code>, <code>pre</code>, <code>ul</code>, <code>xmp</code></p>
 
   <p>In <span>quirks mode</span>, any <span title="concept-rendering-elements-with-margins">element
-  with default margins</span> that is the child of a <code>body</code>, <code>td<code>, or
+  with default margins</span> that is the child of a <code>body</code>, <code>td</code>, or
   <code>th</code> element and has no <span title="concept-rendering-substantial">substantial</span>
   previous siblings is expected to have a user-agent level style sheet rule that sets its
   'margin-top' property to zero.</p>
 
   <p>In <span>quirks mode</span>, any <span title="concept-rendering-elements-with-margins">element
-  with default margins</span> that is the child of a <code>body</code>, <code>td<code>, or
+  with default margins</span> that is the child of a <code>body</code>, <code>td</code>, or
   <code>th</code> element, has no <span title="concept-rendering-substantial">substantial</span>
   previous siblings, and is <span title="concept-rendering-blank">blank</span>, is expected to have
   a user-agent level style sheet rule that sets its 'margin-bottom' property to zero also.</p>
@@ -107930,6 +107930,7 @@
 
   <pre class="idl">partial interface <span id="HTMLImageElement-partial">HTMLImageElement</span> {
            attribute DOMString <span title="dom-img-name">name</span>;
+           attribute DOMString <span title="dom-img-lowsrc">lowsrc</span>;
            attribute DOMString <span title="dom-img-align">align</span>;
            attribute unsigned long <span title="dom-img-hspace">hspace</span>;
            attribute unsigned long <span title="dom-img-vspace">vspace</span>;
@@ -107952,7 +107953,11 @@
   content attribute, which for the purposes of reflection is defined
   as containing a <span>URL</span>.</p>
 
-  <!-- lowsrc is explicitly not given here, see http://www.w3.org/Bugs/Public/show_bug.cgi?id=10341 -->
+  <p>The <dfn title="dom-img-lowsrc"><code>lowsrc</code></dfn> IDL
+  attribute of the <code>img</code> element must <span>reflect</span>
+  the element's <code title="attr-img-lowsrc">lowsrc</code>
+  content attribute, which for the purposes of reflection is defined
+  as containing a <span>URL</span>.</p>
 
   <hr>
 




More information about the Commit-Watchers mailing list