Skip to content

Commit

Permalink
Fix broken cross-references to CSSOM
Browse files Browse the repository at this point in the history
Fixes #848 by updating things related to CSS style sheet sets to the
latest CSSOM terminology.
  • Loading branch information
zcorpan authored and domenic committed Aug 15, 2016
1 parent d6630fe commit 4d76ef6
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3646,7 +3646,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<dfn data-noexport="" data-x="concept-css-style-sheet-CSS-rules" data-x-href="https://drafts.csswg.org/cssom/#concept-css-style-sheet-css-rules">CSS rules</dfn>,
<dfn data-noexport="" data-x="concept-css-style-sheet-origin-clean-flag" data-x-href="https://drafts.csswg.org/cssom/#concept-css-style-sheet-origin-clean-flag">origin-clean flag</dfn>
</li>
<li><dfn data-noexport="">Alternative style sheet sets</dfn> and the <dfn data-noexport="">preferred style sheet set</dfn></li>
<li><dfn data-noexport="" data-x-href="https://drafts.csswg.org/cssom/#css-style-sheet-set">CSS style sheet set</dfn></li>
<li><dfn data-noexport="" data-x-href="https://drafts.csswg.org/cssom/#css-style-sheet-set-name">CSS style sheet set name</dfn></li>
<li><dfn data-noexport="" data-x-href="https://drafts.csswg.org/cssom/#preferred-css-style-sheet-set-name">preferred CSS style sheet set name</dfn></li>
<li><dfn data-noexport="" data-x-href="https://drafts.csswg.org/cssom/#change-the-preferred-css-style-sheet-set-name">change the preferred CSS style sheet set name</dfn></li>
<li><dfn data-noexport="" data-x-href="https://drafts.csswg.org/cssom/#serialize-a-css-value">Serialising a CSS value</dfn></li>
<li><dfn data-noexport="" data-x-href="https://drafts.csswg.org/cssom-view/#run-the-resize-steps">run the resize steps</dfn></li>
<li><dfn data-noexport="" data-x-href="https://drafts.csswg.org/cssom-view/#run-the-scroll-steps">run the scroll steps</dfn></li>
Expand Down Expand Up @@ -12769,7 +12772,7 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
<p>The <dfn><code data-x="attr-link-title">title</code></dfn> attribute gives the title of the
link. With one exception, it is purely advisory. The value is text. The exception is for style
sheet links, where the <code data-x="attr-link-title">title</code> attribute defines
<span>alternative style sheet sets</span>.</p>
<span data-x="CSS style sheet set">CSS style sheet sets</span>.</p>

<p class="note">The <code data-x="attr-link-title">title</code> attribute on <code>link</code>
elements differs from the global <code data-x="attr-title">title</code> attribute of most other
Expand Down Expand Up @@ -13597,8 +13600,8 @@ people expect to have work and what is necessary.

<dd>

<p>This pragma sets the name of the default <span data-x="alternative style sheet
sets">alternative style sheet set</span>.</p>
<p>This pragma sets the <span data-x="CSS style sheet set name">name</span> of the default
<span>CSS style sheet set</span>.</p>

<div w-nodev>

Expand All @@ -13607,8 +13610,9 @@ people expect to have work and what is necessary.
<li><p>If the <code>meta</code> element has no <code data-x="attr-meta-content">content</code>
attribute, or if that attribute's value is the empty string, then abort these steps.</p></li>

<li><p>Set the <span>preferred style sheet set</span> to the value of the element's <code
data-x="attr-meta-content">content</code> attribute. <ref spec=CSSOM></p></li>
<li><p><span>Change the preferred CSS style sheet set name</span> with the name being the value
of the element's <code data-x="attr-meta-content">content</code> attribute. <ref
spec=CSSOM></p></li>

</ol>

Expand Down Expand Up @@ -14141,10 +14145,10 @@ interface <dfn>HTMLStyleElement</dfn> : <span>HTMLElement</span> {
value is text. <ref spec="CSP"></p>

<p id="title-on-style">The <dfn><code data-x="attr-style-title">title</code></dfn> attribute on
<code>style</code> elements defines <span>alternative style sheet sets</span>. If the
<code>style</code> element has no <code data-x="attr-style-title">title</code> attribute, then it
has no title; the <code data-x="attr-title">title</code> attribute of ancestors does not apply to
the <code>style</code> element. <ref spec=CSSOM></p>
<code>style</code> elements defines <span data-x="CSS style sheet set">CSS style sheet
sets</span>. If the <code>style</code> element has no <code data-x="attr-style-title">title</code>
attribute, then it has no title; the <code data-x="attr-title">title</code> attribute of ancestors
does not apply to the <code>style</code> element. <ref spec=CSSOM></p>

<p class="note">The <code data-x="attr-style-title">title</code> attribute on <code>style</code>
elements, like the <code data-x="attr-link-title">title</code> attribute on <code>link</code>
Expand Down Expand Up @@ -116977,7 +116981,7 @@ interface <dfn>External</dfn> {
<th> <code data-x="">title</code>
<td> <code data-x="attr-link-title">link</code>;
<code data-x="attr-style-title">style</code>
<td> Alternative style sheet set name
<td> <span>CSS style sheet set name</span>
<td> <a href="#attribute-text">Text</a>
<tr>
<th> <code data-x="">translate</code>
Expand Down

0 comments on commit 4d76ef6

Please sign in to comment.