Skip to content

Commit

Permalink
[giow] (3) Try a different definition of 'being rendered' that goes m…
Browse files Browse the repository at this point in the history
…ore directly to the point. This should not make any practical difference except that it handles cases where an element is in a Document that has no browsing context.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22040
Affected topics: Rendering

git-svn-id: http://svn.whatwg.org/webapps@7989 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 18, 2013
1 parent 8547856 commit bc3e4f2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 25 deletions.
12 changes: 4 additions & 8 deletions complete.html
Expand Up @@ -93448,14 +93448,10 @@ <h3 id=introduction-13><span class=secno>14.1 </span>Introduction</h3>
<i>media-independent</i> language). User agent implementors are encouraged to adapt the
suggestions in this section to their target media.</p>

<hr><p>An element is <dfn id=being-rendered>being rendered</dfn> if it is <a href=#in-a-document>in a <code>Document</code></a>,
either its parent node is itself <a href=#being-rendered>being rendered</a> or it is the <code><a href=#document>Document</a></code>
node, and it is not explicitly excluded from the rendering using either:</p>

<ul class=brief><li>the CSS 'display' property's 'none' value, or</li>
<li>the 'visibility' property's 'collapse' value unless it is being treated as equivalent to the 'hidden' value, or</li>
<li>some equivalent in other styling languages.</li>
</ul><p class=note>Just being off-screen does not mean the element is not <a href=#being-rendered>being
<hr><p>An element is <dfn id=being-rendered>being rendered</dfn> if it has any associated CSS layout boxes, SVG layout
boxes, or some equivalent in other styling languages.</p>

<p class=note>Just being off-screen does not mean the element is not <a href=#being-rendered>being
rendered</a>. The presence of the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute normally
means the element is not <a href=#being-rendered>being rendered</a>, though this might be overridden by the style
sheets.</p>
Expand Down
12 changes: 4 additions & 8 deletions index
Expand Up @@ -93448,14 +93448,10 @@ document.body.appendChild(text);
<i>media-independent</i> language). User agent implementors are encouraged to adapt the
suggestions in this section to their target media.</p>

<hr><p>An element is <dfn id=being-rendered>being rendered</dfn> if it is <a href=#in-a-document>in a <code>Document</code></a>,
either its parent node is itself <a href=#being-rendered>being rendered</a> or it is the <code><a href=#document>Document</a></code>
node, and it is not explicitly excluded from the rendering using either:</p>

<ul class=brief><li>the CSS 'display' property's 'none' value, or</li>
<li>the 'visibility' property's 'collapse' value unless it is being treated as equivalent to the 'hidden' value, or</li>
<li>some equivalent in other styling languages.</li>
</ul><p class=note>Just being off-screen does not mean the element is not <a href=#being-rendered>being
<hr><p>An element is <dfn id=being-rendered>being rendered</dfn> if it has any associated CSS layout boxes, SVG layout
boxes, or some equivalent in other styling languages.</p>

<p class=note>Just being off-screen does not mean the element is not <a href=#being-rendered>being
rendered</a>. The presence of the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute normally
means the element is not <a href=#being-rendered>being rendered</a>, though this might be overridden by the style
sheets.</p>
Expand Down
11 changes: 2 additions & 9 deletions source
Expand Up @@ -104400,15 +104400,8 @@ document.body.appendChild(text);

<hr>

<p>An element is <dfn>being rendered</dfn> if it is <span>in a <code>Document</code></span>,
either its parent node is itself <span>being rendered</span> or it is the <code>Document</code>
node, and it is not explicitly excluded from the rendering using either:</p>

<ul class="brief">
<li>the CSS 'display' property's 'none' value, or</li>
<li>the 'visibility' property's 'collapse' value unless it is being treated as equivalent to the 'hidden' value, or</li>
<li>some equivalent in other styling languages.</li>
</ul>
<p>An element is <dfn>being rendered</dfn> if it has any associated CSS layout boxes, SVG layout
boxes, or some equivalent in other styling languages.</p>

<p class="note">Just being off-screen does not mean the element is not <span>being
rendered</span>. The presence of the <code title="attr-hidden">hidden</code> attribute normally
Expand Down

0 comments on commit bc3e4f2

Please sign in to comment.