Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Split the rendering and obsolete features sections from each …
…other.

git-svn-id: http://svn.whatwg.org/webapps@2475 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 29, 2008
1 parent b563812 commit 88830e9
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 83 deletions.
116 changes: 65 additions & 51 deletions index
Expand Up @@ -965,24 +965,26 @@
<li><a href=#serializing-html-fragments><span class=secno>8.4 </span>Serializing HTML fragments</a></li>
<li><a href=#parsing-html-fragments><span class=secno>8.5 </span>Parsing HTML fragments</a></li>
<li><a href=#named-character-references><span class=secno>8.6 </span>Named character references</a></ol></li>
<li><a href=#rendering><span class=secno>9 </span>Rendering and user-agent behavior</a>
<li><a href=#rendering><span class=secno>9 </span>Rendering</a>
<ol>
<li><a href=#rendering-and-the-dom><span class=secno>9.1 </span>Rendering and the DOM</a></li>
<li><a href=#rendering-and-menus/toolbars><span class=secno>9.2 </span>Rendering and menus/toolbars</a>
<li><a href=#rendering-and-menus/toolbars><span class=secno>9.1 </span>Rendering and menus/toolbars</a>
<ol>
<li><a href="#the-'icon'-property"><span class=secno>9.2.1 </span>The 'icon' property</a></ol></li>
<li><a href=#obsolete-elements,-attributes,-and-apis><span class=secno>9.3 </span>Obsolete elements, attributes, and APIs</a>
<li><a href="#the-'icon'-property"><span class=secno>9.1.1 </span>The 'icon' property</a></ol></ol></li>
<li><a href=#obsolete-features><span class=secno>10 </span>Obsolete features</a>
<ol>
<li><a href=#obsolete-elements><span class=secno>10.1 </span>Obsolete elements</a>
<ol>
<li><a href=#the-body-element-0><span class=secno>9.3.1 </span>The <code>body</code> element</a></li>
<li><a href=#the-applet-element><span class=secno>9.3.2 </span>The <code>applet</code> element</a></ol></ol></li>
<li><a href=#no><span class=secno>10 </span>Things that you can't do with this specification because
<li><a href=#the-body-element-0><span class=secno>10.1.1 </span>The <code>body</code> element</a></li>
<li><a href=#the-applet-element><span class=secno>10.1.2 </span>The <code>applet</code> element</a></ol></ol></li>
<li><a href=#no><span class=secno>11 </span>Things that you can't do with this specification because
they are better handled using other technologies that are further
described herein</a>
<ol>
<li><a href=#localization><span class=secno>10.1 </span>Localization</a></li>
<li><a href=#declarative-2d-vector-graphics-and-animation><span class=secno>10.2 </span>Declarative 2D vector graphics and animation</a></li>
<li><a href=#declarative-3d-scenes><span class=secno>10.3 </span>Declarative 3D scenes</a></li>
<li><a href=#timers><span class=secno>10.4 </span>Timers</a></ol></li>
<li><a href=#localization><span class=secno>11.1 </span>Localization</a></li>
<li><a href=#declarative-2d-vector-graphics-and-animation><span class=secno>11.2 </span>Declarative 2D vector graphics and animation</a></li>
<li><a href=#declarative-3d-scenes><span class=secno>11.3 </span>Declarative 3D scenes</a></li>
<li><a href=#timers><span class=secno>11.4 </span>Timers</a></li>
<li><a href=#rendering-and-the-dom><span class=secno>11.5 </span>Rendering and the DOM</a></ol></li>
<li><a class=no-num href=#index>Index</a></li>
<li><a class=no-num href=#references>References</a></li>
<li><a class=no-num href=#acknowledgements>Acknowledgements</a></ol>
Expand Down Expand Up @@ -53289,7 +53291,7 @@ http://lxr.mozilla.org/seamonkey/search?string=nested



<h2 id=rendering><span class=secno>9 </span>Rendering and user-agent behavior</h2>
<h2 id=rendering><span class=secno>9 </span>Rendering</h2>

<!-- XXX

Expand Down Expand Up @@ -53454,38 +53456,14 @@ xh|section xh|section xh|section xh|section xh|section xh|h1 { /* same styles as
be compared case-insensitively.</p>


<h3 id=rendering-and-the-dom><span class=secno>9.1 </span>Rendering and the DOM</h3>
<p class=XXX>Need to define the content attributes of BODY in
terms of CSS or something.</p>

<p class=XXX>This section is wrong. mediaMode will end up on
Window, I think. All views implement Window.</p>

<p>Any object implement the <code>AbstractView</code> interface must
also implement the <code><a href=#mediamodeabstractview>MediaModeAbstractView</a></code> interface.</p>

<pre class=idl>interface <dfn id=mediamodeabstractview>MediaModeAbstractView</dfn> {
readonly attribute DOMString <a href=#mediamode>mediaMode</a>;
};</pre>
<h3 id=rendering-and-menus/toolbars><span class=secno>9.1 </span>Rendering and menus/toolbars</h3>

<p>The <dfn id=mediamode><code>mediaMode</code></dfn> attribute on objects
implementing the <code><a href=#mediamodeabstractview>MediaModeAbstractView</a></code> interface must
return the string that represents the canvas' current rendering mode
(<code>screen</code>, <code>print</code>, etc). This is a lowercase
string, as <a href=http://www.w3.org/TR/CSS21/media.html#media-types>defined by
the CSS specification</a>. <a href=#refsCSS21>[CSS21]</a></p>

<p>Some user agents may support multiple media, in which case there
will exist multiple objects implementing the
<code>AbstractView</code> interface. Only the default view
implements the <code><a href=#window>Window</a></code> interface. The other views can be
reached using the <code><a href=#view>view</a></code> attribute of the
<code>UIEvent</code> interface, during event propagation. There is no
way currently to enumerate all the views.</p>

<!-- XXX examples! -->

<h3 id=rendering-and-menus/toolbars><span class=secno>9.2 </span>Rendering and menus/toolbars</h3>

<h4 id="the-'icon'-property"><span class=secno>9.2.1 </span>The 'icon' property</h4>
<h4 id="the-'icon'-property"><span class=secno>9.1.1 </span>The 'icon' property</h4>

<p>UAs should use the command's Icon as the default generic icon
provided by the user agent when the 'icon' property computes to
Expand All @@ -53495,12 +53473,16 @@ xh|section xh|section xh|section xh|section xh|section xh|h1 { /* same styles as
that image instead.</p>


<h3 id=obsolete-elements,-attributes,-and-apis><span class=secno>9.3 </span>Obsolete elements, attributes, and APIs</h3>

<h4 id=the-body-element-0><span class=secno>9.3.1 </span>The <code><a href=#the-body-element>body</a></code> element</h4>
<h2 id=obsolete-features><span class=secno>10 </span>Obsolete features</h2>

<p>Authors and documents must not use the features listed in this
section. They are documented to enable user agents to support legacy
content in an interoperable fashion.</p>

<h3 id=obsolete-elements><span class=secno>10.1 </span>Obsolete elements</h3>

<p class=XXX>Need to define the content attributes in terms
of CSS or something.</p>
<h4 id=the-body-element-0><span class=secno>10.1.1 </span>The <code><a href=#the-body-element>body</a></code> element</h4>

<pre class=idl>[XXX] interface <a href=#htmldocument>HTMLDocument</a> {
attribute DOMString <a href=#dom-document-fgcolor title=dom-document-fgColor>fgColor</a>;
Expand Down Expand Up @@ -53576,7 +53558,7 @@ xh|section xh|section xh|section xh|section xh|section xh|h1 { /* same styles as



<h4 id=the-applet-element><span class=secno>9.3.2 </span>The <dfn><code>applet</code></dfn> element</h4>
<h4 id=the-applet-element><span class=secno>10.1.2 </span>The <dfn><code>applet</code></dfn> element</h4>

<p>The <code><a href=#the-applet-element>applet</a></code> element is a Java-specific variant of the
<code><a href=#the-embed-element>embed</a></code> element. In HTML5 the <code><a href=#the-applet-element>applet</a></code> element
Expand Down Expand Up @@ -53606,7 +53588,7 @@ xh|section xh|section xh|section xh|section xh|section xh|h1 { /* same styles as



<h2 id=no><span class=secno>10 </span>Things that you can't do with this specification because
<h2 id=no><span class=secno>11 </span>Things that you can't do with this specification because
they are better handled using other technologies that are further
described herein</h2>

Expand All @@ -53618,7 +53600,7 @@ xh|section xh|section xh|section xh|section xh|section xh|h1 { /* same styles as
that can be integrated into this one. This section covers some of
the more common requests.</p>

<h3 id=localization><span class=secno>10.1 </span>Localization</h3>
<h3 id=localization><span class=secno>11.1 </span>Localization</h3>

<p>If you wish to create localized versions of an HTML application,
the best solution is to preprocess the files on the server, and then
Expand All @@ -53627,13 +53609,13 @@ xh|section xh|section xh|section xh|section xh|section xh|h1 { /* same styles as
<!-- <p>XXX example here</p> -->

<!--XXXSVG (remove next section)-->
<h3 id=declarative-2d-vector-graphics-and-animation><span class=secno>10.2 </span>Declarative 2D vector graphics and animation</h3>
<h3 id=declarative-2d-vector-graphics-and-animation><span class=secno>11.2 </span>Declarative 2D vector graphics and animation</h3>
<p>Embedding vector graphics into XHTML documents is the domain of
SVG.</p>

<!-- <p>XXX example here</p> -->

<h3 id=declarative-3d-scenes><span class=secno>10.3 </span>Declarative 3D scenes</h3>
<h3 id=declarative-3d-scenes><span class=secno>11.3 </span>Declarative 3D scenes</h3>

<p>Embedding 3D imagery into XHTML documents is the domain of X3D,
or technologies based on X3D that are namespace-aware.</p>
Expand All @@ -53642,7 +53624,7 @@ xh|section xh|section xh|section xh|section xh|section xh|h1 { /* same styles as



<h3 id=timers><span class=secno>10.4 </span>Timers</h3>
<h3 id=timers><span class=secno>11.4 </span>Timers</h3>

<p class=XXX>This section is expected to be moved to its own
specification in due course. It needs a lot of work to actually make
Expand Down Expand Up @@ -53714,6 +53696,38 @@ interface <dfn id=timeouthandler>TimeoutHandler</dfn> {



<h3 id=rendering-and-the-dom><span class=secno>11.5 </span>Rendering and the DOM</h3>

<p class=XXX>This section is expected to be moved to its own
specification in due course. It needs a lot of work to actually make
it into a semi-decent spec.</p>

<p>Any object implement the <code>AbstractView</code> interface must
also implement the <code><a href=#mediamodeabstractview>MediaModeAbstractView</a></code> interface.</p>

<pre class=idl>interface <dfn id=mediamodeabstractview>MediaModeAbstractView</dfn> {
readonly attribute DOMString <a href=#mediamode>mediaMode</a>;
};</pre>

<p>The <dfn id=mediamode><code>mediaMode</code></dfn> attribute on objects
implementing the <code><a href=#mediamodeabstractview>MediaModeAbstractView</a></code> interface must
return the string that represents the canvas' current rendering mode
(<code>screen</code>, <code>print</code>, etc). This is a lowercase
string, as <a href=http://www.w3.org/TR/CSS21/media.html#media-types>defined by
the CSS specification</a>. <a href=#refsCSS21>[CSS21]</a></p>

<p>Some user agents may support multiple media, in which case there
will exist multiple objects implementing the
<code>AbstractView</code> interface. Only the default view
implements the <code><a href=#window>Window</a></code> interface. The other views can be
reached using the <code><a href=#view>view</a></code> attribute of the
<code>UIEvent</code> interface, during event propagation. There is no
way currently to enumerate all the views.</p>

<!-- XXX examples! -->




<h2 class=no-num id=index>Index</h2>

Expand Down
76 changes: 44 additions & 32 deletions source
Expand Up @@ -58193,7 +58193,7 @@ http://lxr.mozilla.org/seamonkey/search?string=nested



<h2 id="rendering">Rendering and user-agent behavior</h2>
<h2 id="rendering">Rendering</h2>

<!-- XXX

Expand Down Expand Up @@ -58358,35 +58358,10 @@ xh|section xh|section xh|section xh|section xh|section xh|h1 { /* same styles as
be compared case-insensitively.</p>


<h3>Rendering and the DOM</h3>

<p class="XXX">This section is wrong. mediaMode will end up on
Window, I think. All views implement Window.</p>

<p>Any object implement the <code>AbstractView</code> interface must
also implement the <code>MediaModeAbstractView</code> interface.</p>
<p class="XXX">Need to define the content attributes of BODY in
terms of CSS or something.</p>

<pre class="idl">interface <dfn>MediaModeAbstractView</dfn> {
readonly attribute DOMString <span>mediaMode</span>;
};</pre>

<p>The <dfn><code>mediaMode</code></dfn> attribute on objects
implementing the <code>MediaModeAbstractView</code> interface must
return the string that represents the canvas' current rendering mode
(<code>screen</code>, <code>print</code>, etc). This is a lowercase
string, as <a
href="http://www.w3.org/TR/CSS21/media.html#media-types">defined by
the CSS specification</a>. <a href="#refsCSS21">[CSS21]</a></p>

<p>Some user agents may support multiple media, in which case there
will exist multiple objects implementing the
<code>AbstractView</code> interface. Only the default view
implements the <code>Window</code> interface. The other views can be
reached using the <code>view</code> attribute of the
<code>UIEvent</code> interface, during event propagation. There is no
way currently to enumerate all the views.</p>

<!-- XXX examples! -->

<h3>Rendering and menus/toolbars</h3>

Expand All @@ -58400,12 +58375,16 @@ xh|section xh|section xh|section xh|section xh|section xh|h1 { /* same styles as
that image instead.</p>


<h3>Obsolete elements, attributes, and APIs</h3>

<h4>The <code>body</code> element</h4>
<h2>Obsolete features</h2>

<p class="XXX">Need to define the content attributes in terms
of CSS or something.</p>
<p>Authors and documents must not use the features listed in this
section. They are documented to enable user agents to support legacy
content in an interoperable fashion.</p>

<h3>Obsolete elements</h3>

<h4>The <code>body</code> element</h4>

<pre class="idl">[XXX] interface <span>HTMLDocument</span> {
attribute DOMString <span title="dom-document-fgColor">fgColor</span>;
Expand Down Expand Up @@ -58631,6 +58610,39 @@ interface <dfn>TimeoutHandler</dfn> {



<h3>Rendering and the DOM</h3>

<p class="XXX">This section is expected to be moved to its own
specification in due course. It needs a lot of work to actually make
it into a semi-decent spec.</p>

<p>Any object implement the <code>AbstractView</code> interface must
also implement the <code>MediaModeAbstractView</code> interface.</p>

<pre class="idl">interface <dfn>MediaModeAbstractView</dfn> {
readonly attribute DOMString <span>mediaMode</span>;
};</pre>

<p>The <dfn><code>mediaMode</code></dfn> attribute on objects
implementing the <code>MediaModeAbstractView</code> interface must
return the string that represents the canvas' current rendering mode
(<code>screen</code>, <code>print</code>, etc). This is a lowercase
string, as <a
href="http://www.w3.org/TR/CSS21/media.html#media-types">defined by
the CSS specification</a>. <a href="#refsCSS21">[CSS21]</a></p>

<p>Some user agents may support multiple media, in which case there
will exist multiple objects implementing the
<code>AbstractView</code> interface. Only the default view
implements the <code>Window</code> interface. The other views can be
reached using the <code>view</code> attribute of the
<code>UIEvent</code> interface, during event propagation. There is no
way currently to enumerate all the views.</p>

<!-- XXX examples! -->




<h2 class="no-num">Index</h2>

Expand Down

0 comments on commit 88830e9

Please sign in to comment.