Skip to content

Commit 18cc9fb

Browse files
author
Simon Pieters
committed
1 parent 25a561c commit 18cc9fb

2 files changed

Lines changed: 23 additions & 27 deletions

File tree

cssom/Overview.html

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<h1>CSS Object Model (CSSOM)</h1>
1717

1818

19-
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 30 April 2014</h2>
19+
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 4 September 2014</h2>
2020

2121
<dl>
2222

@@ -90,7 +90,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2>
9090
can be found in the
9191
<a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
9292

93-
<p class="dontpublish">This is the 30 April 2014 Editor's Draft of CSSOM. Please send comments to
93+
<p class="dontpublish">This is the 4 September 2014 Editor's Draft of CSSOM. Please send comments to
9494
<a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a>
9595
(<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
9696
with <samp>[cssom]</samp> at the start of the subject line.
@@ -1468,7 +1468,7 @@ <h4 id="fetching-css-style-sheets"><span class="secno">6.3.1 </span>Fetching CSS
14681468
<a class="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#concept-request" title="concept-request">request</a>), follow these steps:
14691469

14701470
<ol>
1471-
<li><p>Let <var>origin</var> be <var>document</var>'s <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a>.
1471+
<li><p>Let <var>origin</var> be <var>document</var>'s <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a>.
14721472

14731473
<li><p>Let <var>request</var> be a new <a class="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#concept-request" title="concept-request">request</a>, with the
14741474
<a class="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#concept-request-url" title="concept-request-url">url</a> <var>parsed URL</var>,
@@ -1482,8 +1482,8 @@ <h4 id="fetching-css-style-sheets"><span class="secno">6.3.1 </span>Fetching CSS
14821482
<li><p>If <var>response</var> is a <a class="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#concept-network-error" title="concept-network-error">network error</a>, return an error.
14831483

14841484
<li><p>If <var>document</var> is in <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-document-quirks" title="concept-document-quirks">quirks mode</a>, <var>response</var> is
1485-
<span title="">CORS-same-origin</span><!--XXX xref--> and the <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#content-type">Content-Type metadata</a> of <var>response</var> is not a
1486-
<a href="#supported-styling-language">supported styling language</a> change the <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#content-type">Content-Type metadata</a> of <var>response</var> to
1485+
<span title="">CORS-same-origin</span><!--XXX xref--> and the <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#content-type">Content-Type metadata</a> of <var>response</var> is not a
1486+
<a href="#supported-styling-language">supported styling language</a> change the <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#content-type">Content-Type metadata</a> of <var>response</var> to
14871487
<code title="">text/css</code>.
14881488

14891489
<li><p>If <var>response</var> is not in a <a href="#supported-styling-language">supported styling language</a> return an error.</li>
@@ -1579,7 +1579,7 @@ <h4 id="requirements-on-user-agents-implementing-the-xml-stylesheet-processing-i
15791579

15801580
<li><p>Let <var>document</var> be <var>node</var>'s <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-node-document" title="concept-node-document">node document</a>
15811581

1582-
<li><p>Let <var>base URL</var> be <var>document</var>'s <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#document-base-url">document base URL</a>.
1582+
<li><p>Let <var>base URL</var> be <var>document</var>'s <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#document-base-url">document base URL</a>.
15831583

15841584
<li><p>Let <var>referrer</var> be <var>document</var>'s <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#the-document's-address" title="the document's address">address</a>.
15851585

@@ -1640,7 +1640,7 @@ <h4 id="requirements-on-user-agents-implementing-the-xml-stylesheet-processing-i
16401640
</ol>
16411641

16421642
<p>A style sheet referenced by an <a class="external" data-anolis-spec="xmlss" href="http://www.w3.org/TR/xml-stylesheet/#dt-xml-stylesheet">xml-stylesheet processing instruction</a> using the rules in this section, in the context of
1643-
the <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#document">Document</a></code> of an <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-xhtml-syntax.html#xml-parser">XML parser</a> is said to be
1643+
the <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#document">Document</a></code> of an <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/xhtml.html#xml-parser">XML parser</a> is said to be
16441644
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#a-style-sheet-that-is-blocking-scripts">a style sheet that is blocking scripts</a> if the <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#processinginstruction">ProcessingInstruction</a></code>
16451645
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-node" title="concept-node">node</a> was created by that <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#document">Document</a></code>'s parser, and the style sheet was
16461646
enabled when the node was created by the parser, and the <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#style-sheet-ready">style sheet ready</a> flag is not yet set, and, the last time the
@@ -1672,12 +1672,12 @@ <h4 id="requirements-on-user-agents-implementing-the-http-link-header"><span cla
16721672

16731673
<li><p>Let <var>input URL</var> be the value specified. <span class="issue" title="">Be more specific</span>
16741674

1675-
<li><p>Let <var>base URL</var> be the document's <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#document-base-url">document base URL</a>. <span class="issue" title="">Is there a document at this
1675+
<li><p>Let <var>base URL</var> be the document's <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#document-base-url">document base URL</a>. <span class="issue" title="">Is there a document at this
16761676
point?</span>
16771677

16781678
<li><p>Let <var>referrer</var> be the document's <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#the-document's-address" title="the document's address">address</a>.
16791679

1680-
<li><p>Let <var>origin</var> be the document's <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a>.
1680+
<li><p>Let <var>origin</var> be the document's <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a>.
16811681

16821682
<li><p>Let <var>parsed URL</var> be the return value of invoking the <a class="external" data-anolis-spec="url" href="http://url.spec.whatwg.org/#concept-url-parser" title="concept-url-parser">URL parser</a> with the
16831683
string <var>input URL</var> and the base URL <var>base URL</var>.
@@ -2952,7 +2952,7 @@ <h3 id="the-elementcssinlinestyle-interface"><span class="secno">7.1 </span>The
29522952

29532953
<p>If the user agent supports HTML, the following IDL applies: <a class="informative" href="#refsHTML">[HTML]</a>
29542954

2955-
<pre class="idl"><a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#htmlelement">HTMLElement</a> implements <a href="#elementcssinlinestyle">ElementCSSInlineStyle</a>;</pre>
2955+
<pre class="idl"><a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#htmlelement">HTMLElement</a> implements <a href="#elementcssinlinestyle">ElementCSSInlineStyle</a>;</pre>
29562956

29572957
<p>If the user agent supports SVG, the following IDL applies: <a class="informative" href="#refsSVG">[SVG]</a>
29582958

@@ -3018,8 +3018,8 @@ <h3 id="the-getstyleutils-interface"><span class="secno">7.3 </span>The <code ti
30183018
<pre class="idl">[NoInterfaceObject]
30193019
interface <dfn id="getstyleutils">GetStyleUtils</dfn> {
30203020
[SameObject] readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-cascadedstyle" title="dom-GetStyleUtils-cascadedStyle">cascadedStyle</a>;
3021-
<!--[SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>;
3022-
-->[SameObject] readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-rawcomputedstyle" title="dom-GetStyleUtils-rawComputedStyle">rawComputedStyle</a>;
3021+
[SameObject] readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-defaultstyle" title="dom-GetStyleUtils-defaultStyle">defaultStyle</a>;
3022+
[SameObject] readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-rawcomputedstyle" title="dom-GetStyleUtils-rawComputedStyle">rawComputedStyle</a>;
30233023
[SameObject] readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-usedstyle" title="dom-GetStyleUtils-usedStyle">usedStyle</a>;
30243024
};</pre>
30253025

@@ -3039,23 +3039,21 @@ <h3 id="the-getstyleutils-interface"><span class="secno">7.3 </span>The <code ti
30393039
<dd><p>The <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a>.
30403040
</dl>
30413041

3042-
<!--
3043-
<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a live <span>CSS declaration block</span>
3042+
<p class="atrisk">The <dfn id="dom-getstyleutils-defaultstyle" title="dom-GetStyleUtils-defaultStyle"><code>defaultStyle</code></dfn> attribute must return a live <a href="#css-declaration-block">CSS declaration block</a>
30443043
with the following properties:
30453044
<dl>
3046-
<dt><span title=concept-css-declaration-block-readonly-flag>readonly flag</span>
3045+
<dt><a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a>
30473046
<dd><p>Set.
3048-
<dt><span title=concept-css-declaration-block-declarations>declarations</span>
3049-
<dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span>, in lexicographical order, with the value being
3050-
the <span>computed value</span> computed for the <span data-anolis-spec=dom>context object</span> using the user-agent-level style rules and user-level style
3051-
rules associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level
3047+
<dt><a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a>
3048+
<dd><p>All longhand properties that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a>, in lexicographical order, with the value being
3049+
the <a href="#computed-value">computed value</a> computed for the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a> using the user-agent-level style rules and user-level style
3050+
rules associated with the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <a href="#associated-document">associated document</a>, ignoring transitions, animations, author-level
30523051
style rules, author-level presentational hints and override-level style rules.</p>
3053-
<dt><span title=contept-css-declaration-block-parent-css-rule>parent CSS rule</span>
3052+
<dt><a href="#contept-css-declaration-block-parent-css-rule" title="contept-css-declaration-block-parent-css-rule">parent CSS rule</a>
30543053
<dd><p>Null.
3055-
<dt><span title=concept-css-declaration-block-owner-node>owner node</span>
3056-
<dd><p>The <span data-anolis-spec=dom>context object</span>.
3054+
<dt><a href="#concept-css-declaration-block-owner-node" title="concept-css-declaration-block-owner-node">owner node</a>
3055+
<dd><p>The <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a>.
30573056
</dl>
3058-
-->
30593057

30603058
<p class="atrisk">The <dfn id="dom-getstyleutils-rawcomputedstyle" title="dom-GetStyleUtils-rawComputedStyle"><code>rawComputedStyle</code></dfn> attribute must return a live <a href="#css-declaration-block">CSS declaration
30613059
block</a> with the following properties:

cssom/Overview.src.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2935,8 +2935,8 @@ <h3>The <code title>GetStyleUtils</code> Interface</h3>
29352935
<pre class=idl>[NoInterfaceObject]
29362936
interface <dfn>GetStyleUtils</dfn> {
29372937
[SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-cascadedStyle>cascadedStyle</span>;
2938-
<!--[SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>;
2939-
-->[SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-rawComputedStyle>rawComputedStyle</span>;
2938+
[SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>;
2939+
[SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-rawComputedStyle>rawComputedStyle</span>;
29402940
[SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-usedStyle>usedStyle</span>;
29412941
};</pre>
29422942

@@ -2956,7 +2956,6 @@ <h3>The <code title>GetStyleUtils</code> Interface</h3>
29562956
<dd><p>The <span data-anolis-spec=dom>context object</span>.
29572957
</dl>
29582958

2959-
<!--
29602959
<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a live <span>CSS declaration block</span>
29612960
with the following properties:
29622961
<dl>
@@ -2972,7 +2971,6 @@ <h3>The <code title>GetStyleUtils</code> Interface</h3>
29722971
<dt><span title=concept-css-declaration-block-owner-node>owner node</span>
29732972
<dd><p>The <span data-anolis-spec=dom>context object</span>.
29742973
</dl>
2975-
-->
29762974

29772975
<p class=atrisk>The <dfn title=dom-GetStyleUtils-rawComputedStyle><code>rawComputedStyle</code></dfn> attribute must return a live <span>CSS declaration
29782976
block</span> with the following properties:

0 commit comments

Comments
 (0)