- From: poot <cvsmail@w3.org>
- Date: Fri, 31 Jul 2009 08:04:20 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Update the spec to refer to current CSSOM terminology for LinkStyle/StyleSheet. (whatwg r3501) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2698&r2=1.2699&f=h http://html5.org/tools/web-apps-tracker?from=3500&to=3501 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2698 retrieving revision 1.2699 diff -u -d -r1.2698 -r1.2699 --- Overview.html 30 Jul 2009 22:47:06 -0000 1.2698 +++ Overview.html 30 Jul 2009 23:03:59 -0000 1.2699 @@ -9839,19 +9839,18 @@ <code>LinkStyle</code> interface's <code title="dom-LinkStyle-sheet">sheet</code> attribute return null.</p> <p>Otherwise, the <code>LinkStyle</code> interface's <code title="dom-LinkStyle-sheet">sheet</code> attribute must return a - <code>StyleSheet</code> object with the attributes implemented as - follows: <a href="#references">[CSSOM]</a></p> + <code>StyleSheet</code> object with the following properties: <a href="#references">[CSSOM]</a></p> - <dl><dt>The content type (<code title="dom-stylesheet-type">type</code> DOM attribute)</dt> + <dl><dt>The style sheet type</dt> - <dd><p>The content type must be the same as the style's specified + <dd><p>The style sheet type must be the same as the style's specified type. For <code><a href="#the-style-element">style</a></code> elements, this is the same as the <code title="attr-style-type"><a href="#attr-style-type">type</a></code> content attribute's value, or <code title="">text/css</code> if that is omitted. For <code><a href="#the-link-element">link</a></code> elements, this is the <a href="#content-type" title="Content-Type">Content-Type metadata of the specified resource</a>.</dd> - <dt>The location (<code title="dom-stylesheet-href">href</code> DOM attribute)</dt> + <dt>The style sheet location</dt> <dd><p>For <code><a href="#the-link-element">link</a></code> elements, the location must be the result of <a href="#resolve-a-url" title="resolve a url">resolving</a> the @@ -9861,19 +9860,32 @@ note that this might not match the style sheet URL, if the base URL has changed for instance --> - <dt>The intended destination media for style information (<code title="dom-stylesheet-media">media</code> DOM attribute)</dt> + <dt>The style sheet media</dt> <dd><p>The media must be the same as the value of the element's - <code title="">media</code> content attribute.</dd> + <code title="">media</code> content attribute, or the empty string, + if the attribute is omitted.</dd> - <dt>The style sheet title (<code title="dom-stylesheet-title">title</code> DOM attribute)</dt> + <dt>The style sheet title</dt> <dd><p>The title must be the same as the value of the element's <code title="dom-title"><a href="#dom-title">title</a></code> content attribute, if the attribute is present and has a non-empty value. If the attribute is absent or its value is the empty string, then the style sheet does - not have a title. The title is used for defining <span>alternative - style sheet sets</span>.</dd> + not have a title (it is the empty string). The title is used for + defining <span>alternative style sheet sets</span>.</dd> + + <dt>The style sheet alternate flag</dt> + + <dd><p>For <code><a href="#the-link-element">link</a></code> elements, true if <a href="#the-link-is-an-alternative-stylesheet">the link is an + alternative stylesheet</a>. In all other cases, false.</dd> + +<!-- + <dt>The style sheet disabled flag</dt> + (not included, because I assume CSSOM will change to not require + this spec to initialise the value, but will instead initialise it + based on the other values) +--> </dl><p>The <dfn id="dom-linkstyle-disabled" title="dom-LinkStyle-disabled"><code>disabled</code></dfn> DOM attribute on <code><a href="#the-link-element">link</a></code> and <code><a href="#the-style-element">style</a></code> elements must @@ -48017,8 +48029,8 @@ contributes to the <a href="#styling">styling processing model</a>.<p>The specified resource is a resource that describes how to present the document. Exactly how the resource is to be processed depends on the actual type of the resource.<p>If the <code title="rel-alternate"><a href="#link-type-alternate">alternate</a></code> keyword is - also specified on the <code><a href="#the-link-element">link</a></code> element, then the link is an - alternative stylesheet; in this case, the <code title="attr-title"><a href="#the-title-attribute">title</a></code> attribute must be specified on the + also specified on the <code><a href="#the-link-element">link</a></code> element, then <dfn id="the-link-is-an-alternative-stylesheet">the link + is an alternative stylesheet</dfn>; in this case, the <code title="attr-title"><a href="#the-title-attribute">title</a></code> attribute must be specified on the <code><a href="#the-link-element">link</a></code> element, with a non-empty value.<p>The default type for resources given by the <code title="rel-stylesheet"><a href="#link-type-stylesheet">stylesheet</a></code> keyword is <code title="">text/css</code>.<div class="impl"> <p><strong>Quirk</strong>: If the document has been set to @@ -65771,6 +65783,7 @@ Ajai Tirumali, Alan Plum, Alastair Campbell, + Alex Bishop, Alex Nicolaou, Alex Rousskov, Alexander J. Vincent,
Received on Thursday, 30 July 2009 23:04:56 UTC