Skip to content

Commit

Permalink
[e] (0) Coordinate with CSS Images better
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20192
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7935 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 7, 2013
1 parent 7c2672b commit 959bcc3
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 11 deletions.
14 changes: 10 additions & 4 deletions complete.html
Expand Up @@ -3779,6 +3779,9 @@ <h4 id=dependencies><span class=secno>2.2.2 </span>Dependencies</h4>
Image Values and Replaced Content</cite> specification to define the interaction of certain HTML
elements with the CSS 'element()' function. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>

<p>The term <dfn id=default-object-size>default object size</dfn> is also defined in the <cite>CSS Image Values and
Replaced Content</cite> specification. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>

<p>Support for the CSS Object Model is required for implementations that support scripting. The
following features and terms are defined in the CSSOM specifications: <a href=#refsCSSOM>[CSSOM]</a> <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a>

Expand Down Expand Up @@ -26254,12 +26257,15 @@ <h4 id=the-video-element><span class=secno>4.8.6 </span>The <dfn id=video><code>
<p>The intrinsic width of a <code><a href=#the-video-element>video</a></code> element's playback area is the intrinsic width of
the <a href=#poster-frame>poster frame</a>, if that is available and the element currently
<a href=#represents>represents</a> its poster frame; otherwise, it is the <a href=#concept-video-intrinsic-width title=concept-video-intrinsic-width>intrinsic width</a> of the video resource, if that is
available; otherwise it is 300 CSS pixels.</p>
available; otherwise the intrinsic width is missing.</p>

<p>The intrinsic height of a <code><a href=#the-video-element>video</a></code> element's playback area is the intrinsic height of
the <a href=#poster-frame>poster frame</a>, if that is available and the element currently
<a href=#represents>represents</a> its poster frame; otherwise it is the <a href=#concept-video-intrinsic-height title=concept-video-intrinsic-height>intrinsic height</a> of the video resource, if that is
available; otherwise it is 150 CSS pixels.</p>
available; otherwise the intrinsic height is missing.</p>

<p>The <a href=#default-object-size>default object size</a> is a width of 300 CSS pixels and a height of 150 CSS
pixels. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>

<hr><p>User agents should provide controls to enable or disable the
display of closed captions, audio description tracks, and other
Expand Down Expand Up @@ -37029,7 +37035,7 @@ <h6 id=drawing-images><span class=secno>4.8.11.2.14 </span>Drawing images</h6>
If the image has no intrinsic dimensions, the <i>concrete object size</i> must be used instead,
as determined using the CSS "<a href=http://dev.w3.org/csswg/css3-images/#default-sizing>Concrete Object Size Resolution</a>"
algorithm, with the <i>specified size</i> having neither a definite width nor height, nor any
additional contraints, the object's intrinsic properties being those of the <var title="">image</var> argument, and the <i>default object size</i> being the size of the
additional contraints, the object's intrinsic properties being those of the <var title="">image</var> argument, and the <i><a href=#default-object-size>default object size</a></i> being the size of the
<a href=#scratch-bitmap>scratch bitmap</a>. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>

<p>The source rectangle is the rectangle whose corners are the four points (<var title="">sx</var>, <var title="">sy</var>), (<span title=""><var title="">sx</var>+<var title="">sw</var></span>, <var title="">sy</var>), (<span title=""><var title="">sx</var>+<var title="">sw</var></span>, <span title=""><var title="">sy</var>+<var title="">sh</var></span>),
Expand Down Expand Up @@ -101055,7 +101061,7 @@ <h2 class=no-num id=references>References</h2><!--REFS-->
<dd><cite><a href=http://dev.w3.org/csswg/css3-fonts/>CSS Fonts Module Level 3</a></cite>, J. Daggett. W3C.</dd>

<dt id=refsCSSIMAGES>[CSSIMAGES]</dt>
<dd><cite><a href=http://dev.w3.org/csswg/css4-images/>CSS Image Values and Replaced Content Module</a></cite>, E. Etemad, T. Atkins. W3C.</dd>
<dd><cite><a href=http://dev.w3.org/csswg/css-images/>CSS Image Values and Replaced Content Module</a></cite>, E. Etemad, T. Atkins. W3C.</dd>

<dt id=refsCSSOM>[CSSOM]</dt>
<dd><cite><a href=http://dev.w3.org/csswg/cssom/>Cascading Style Sheets Object Model (CSSOM)</a></cite>, S. Pieters, G. Adams. W3C.</dd>
Expand Down
14 changes: 10 additions & 4 deletions index
Expand Up @@ -3779,6 +3779,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
Image Values and Replaced Content</cite> specification to define the interaction of certain HTML
elements with the CSS 'element()' function. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>

<p>The term <dfn id=default-object-size>default object size</dfn> is also defined in the <cite>CSS Image Values and
Replaced Content</cite> specification. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>

<p>Support for the CSS Object Model is required for implementations that support scripting. The
following features and terms are defined in the CSSOM specifications: <a href=#refsCSSOM>[CSSOM]</a> <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a>

Expand Down Expand Up @@ -26254,12 +26257,15 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<p>The intrinsic width of a <code><a href=#the-video-element>video</a></code> element's playback area is the intrinsic width of
the <a href=#poster-frame>poster frame</a>, if that is available and the element currently
<a href=#represents>represents</a> its poster frame; otherwise, it is the <a href=#concept-video-intrinsic-width title=concept-video-intrinsic-width>intrinsic width</a> of the video resource, if that is
available; otherwise it is 300 CSS pixels.</p>
available; otherwise the intrinsic width is missing.</p>

<p>The intrinsic height of a <code><a href=#the-video-element>video</a></code> element's playback area is the intrinsic height of
the <a href=#poster-frame>poster frame</a>, if that is available and the element currently
<a href=#represents>represents</a> its poster frame; otherwise it is the <a href=#concept-video-intrinsic-height title=concept-video-intrinsic-height>intrinsic height</a> of the video resource, if that is
available; otherwise it is 150 CSS pixels.</p>
available; otherwise the intrinsic height is missing.</p>

<p>The <a href=#default-object-size>default object size</a> is a width of 300 CSS pixels and a height of 150 CSS
pixels. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>

<hr><p>User agents should provide controls to enable or disable the
display of closed captions, audio description tracks, and other
Expand Down Expand Up @@ -37029,7 +37035,7 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
If the image has no intrinsic dimensions, the <i>concrete object size</i> must be used instead,
as determined using the CSS "<a href=http://dev.w3.org/csswg/css3-images/#default-sizing>Concrete Object Size Resolution</a>"
algorithm, with the <i>specified size</i> having neither a definite width nor height, nor any
additional contraints, the object's intrinsic properties being those of the <var title="">image</var> argument, and the <i>default object size</i> being the size of the
additional contraints, the object's intrinsic properties being those of the <var title="">image</var> argument, and the <i><a href=#default-object-size>default object size</a></i> being the size of the
<a href=#scratch-bitmap>scratch bitmap</a>. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>

<p>The source rectangle is the rectangle whose corners are the four points (<var title="">sx</var>, <var title="">sy</var>), (<span title=""><var title="">sx</var>+<var title="">sw</var></span>, <var title="">sy</var>), (<span title=""><var title="">sx</var>+<var title="">sw</var></span>, <span title=""><var title="">sy</var>+<var title="">sh</var></span>),
Expand Down Expand Up @@ -101055,7 +101061,7 @@ if (s = prompt('What is your name?')) {
<dd><cite><a href=http://dev.w3.org/csswg/css3-fonts/>CSS Fonts Module Level 3</a></cite>, J. Daggett. W3C.</dd>

<dt id=refsCSSIMAGES>[CSSIMAGES]</dt>
<dd><cite><a href=http://dev.w3.org/csswg/css4-images/>CSS Image Values and Replaced Content Module</a></cite>, E. Etemad, T. Atkins. W3C.</dd>
<dd><cite><a href=http://dev.w3.org/csswg/css-images/>CSS Image Values and Replaced Content Module</a></cite>, E. Etemad, T. Atkins. W3C.</dd>

<dt id=refsCSSOM>[CSSOM]</dt>
<dd><cite><a href=http://dev.w3.org/csswg/cssom/>Cascading Style Sheets Object Model (CSSOM)</a></cite>, S. Pieters, G. Adams. W3C.</dd>
Expand Down
12 changes: 9 additions & 3 deletions source
Expand Up @@ -2621,6 +2621,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
Image Values and Replaced Content</cite> specification to define the interaction of certain HTML
elements with the CSS 'element()' function. <a href="#refsCSSIMAGES">[CSSIMAGES]</a></p>

<p>The term <dfn>default object size</dfn> is also defined in the <cite>CSS Image Values and
Replaced Content</cite> specification. <a href="#refsCSSIMAGES">[CSSIMAGES]</a></p>

<p>Support for the CSS Object Model is required for implementations that support scripting. The
following features and terms are defined in the CSSOM specifications: <a
href="#refsCSSOM">[CSSOM]</a> <a href="#refsCSSOMVIEW">[CSSOMVIEW]</a>
Expand Down Expand Up @@ -27713,13 +27716,16 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
the <span>poster frame</span>, if that is available and the element currently
<span>represents</span> its poster frame; otherwise, it is the <span
title="concept-video-intrinsic-width">intrinsic width</span> of the video resource, if that is
available; otherwise it is 300 CSS pixels.</p>
available; otherwise the intrinsic width is missing.</p>

<p>The intrinsic height of a <code>video</code> element's playback area is the intrinsic height of
the <span>poster frame</span>, if that is available and the element currently
<span>represents</span> its poster frame; otherwise it is the <span
title="concept-video-intrinsic-height">intrinsic height</span> of the video resource, if that is
available; otherwise it is 150 CSS pixels.</p>
available; otherwise the intrinsic height is missing.</p>

<p>The <span>default object size</span> is a width of 300 CSS pixels and a height of 150 CSS
pixels. <a href="#refsCSSIMAGES">[CSSIMAGES]</a></p>

<hr>

Expand Down Expand Up @@ -113248,7 +113254,7 @@ if (s = prompt('What is your name?')) {
<dd><cite><a href="http://dev.w3.org/csswg/css3-fonts/">CSS Fonts Module Level 3</a></cite>, J. Daggett. W3C.</dd>

<dt id="refsCSSIMAGES">[CSSIMAGES]</dt>
<dd><cite><a href="http://dev.w3.org/csswg/css4-images/">CSS Image Values and Replaced Content Module</a></cite>, E. Etemad, T. Atkins. W3C.</dd>
<dd><cite><a href="http://dev.w3.org/csswg/css-images/">CSS Image Values and Replaced Content Module</a></cite>, E. Etemad, T. Atkins. W3C.</dd>

<dt id="refsCSSOM">[CSSOM]</dt>
<dd><cite><a href="http://dev.w3.org/csswg/cssom/">Cascading Style Sheets Object Model (CSSOM)</a></cite>, S. Pieters, G. Adams. W3C.</dd>
Expand Down

0 comments on commit 959bcc3

Please sign in to comment.