Skip to content

Commit cf1c850

Browse files
committed
[css-syntax] Remove accidental double-nesting of links.
--HG-- extra : rebase_source : 7bf51d5c3ac36983aed11443146482957b725407
1 parent ea912d8 commit cf1c850

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

css-syntax/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2299,7 +2299,7 @@ Parse a list of declarations</h4>
22992299

23002300
Note: Despite the name,
23012301
this actually parses a mixed list of declarations and at-rules,
2302-
as CSS 2.1 does for <a href=http://www.w3.org/TR/CSS21/page.html#page-box>''@page''</a>.
2302+
as CSS 2.1 does for ''@page''.
23032303
Unexpected at-rules (which could be all of them, in a given context)
23042304
are invalid and should be ignored by the consumer.
23052305

css-syntax/Overview.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
</p>
5959
<h1 class="p-name no-ref" id=title>CSS Syntax Module Level 3</h1>
6060
<h2 class="no-num no-toc no-ref heading settled" id=subtitle><span class=content>Editor’s Draft,
61-
<span class=dt-updated><span class=value-title title=20141025>25 October 2014</span></span></span></h2>
62-
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-syntax/>http://dev.w3.org/csswg/css-syntax/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-syntax-3/>http://www.w3.org/TR/css-syntax-3/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2014/CR-css-syntax-3-20140220/ rel=previous>http://www.w3.org/TR/2014/CR-css-syntax-3-20140220/</a><dd><a href=http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/ rel=previous>http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/</a><dd><a href=http://www.w3.org/TR/2013/WD-css-syntax-3-20130919/ rel=previous>http://www.w3.org/TR/2013/WD-css-syntax-3-20130919/</a><dt>Feedback:<dd><span><a href="mailto:www-style@w3.org?subject=[css-syntax] feedback">www-style@w3.org</a> with subject line “<kbd>[css-syntax] <var>… message topic …</var></kbd>” (<a href=http://lists.w3.org/Archives/Public/www-style/ rel=discussion>archives</a>)</span><dt>Editors:<dd><div class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://xanthir.com/contact/>Tab Atkins Jr.</a> (<span class="p-org org">Google</span>)</div><dd><div class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://exyr.org/about/>Simon Sapin</a> (<span class="p-org org">Mozilla</span>)</div></dl></div>
61+
<span class=dt-updated><span class=value-title title=20141105>5 November 2014</span></span></span></h2>
62+
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-syntax/>http://dev.w3.org/csswg/css-syntax/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-syntax-3/>http://www.w3.org/TR/css-syntax-3/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2014/CR-css-syntax-3-20140220/ rel=previous>http://www.w3.org/TR/2014/CR-css-syntax-3-20140220/</a><dd><a href=http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/ rel=previous>http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/</a><dd><a href=http://www.w3.org/TR/2013/WD-css-syntax-3-20130919/ rel=previous>http://www.w3.org/TR/2013/WD-css-syntax-3-20130919/</a><dt>Feedback:<dd><span><a href="mailto:www-style@w3.org?subject=%5Bcss-syntax%5D%20feedback">www-style@w3.org</a> with subject line “<kbd>[css-syntax] <var>… message topic …</var></kbd>” (<a href=http://lists.w3.org/Archives/Public/www-style/ rel=discussion>archives</a>)</span><dt class=editor>Editors:<dd class=editor><div class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://xanthir.com/contact/>Tab Atkins Jr.</a> (<span class="p-org org">Google</span>)</div><dd class=editor><div class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://exyr.org/about/>Simon Sapin</a> (<span class="p-org org">Mozilla</span>)</div></dl></div>
6363
<div data-fill-with=warning></div>
6464
<p class=copyright data-fill-with=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2014 <a href=http://www.w3.org/><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href=http://www.csail.mit.edu/><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href=http://www.ercim.eu/><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href=http://www.keio.ac.jp/>Keio</a>, <a href=http://ev.buaa.edu.cn/>Beihang</a>), All Rights Reserved. W3C <a href=http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer>liability</a>, <a href=http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks>trademark</a> and <a href=http://www.w3.org/Consortium/Legal/copyright-documents>document use</a> rules apply.
6565
</p>
@@ -2848,7 +2848,7 @@ <h2 class="heading settled" data-level=5 id=parsing><span class=secno>5. </span>
28482848

28492849
<p class=note>Note: Most qualified rules will be style rules,
28502850
where the prelude is a selector <a data-biblio-type=informative data-link-type=biblio href=#biblio-select title=SELECT>[SELECT]</a>
2851-
and the block a <a data-link-type=dfn href=#parse-a-list-of-declarations title="parse a list of declarations">list of declarations</a>.</p>
2851+
and the block a <i title="parse a list of declarations">list of declarations</i>.</p>
28522852

28532853
<dt><dfn data-dfn-type=dfn data-export="" id=declaration>declaration<a class=self-link href=#declaration></a></dfn>
28542854
<dd>
@@ -3786,7 +3786,7 @@ <h4 class="heading settled" data-level=5.3.6 id=parse-list-of-declarations><span
37863786

37873787
<p class=note>Note: Despite the name,
37883788
this actually parses a mixed list of declarations and at-rules,
3789-
as CSS 2.1 does for <a href=http://www.w3.org/TR/CSS21/page.html#page-box><a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-page-3/#at-ruledef-page title=@page>@page</a></a>.
3789+
as CSS 2.1 does for <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-page-3/#at-ruledef-page title=@page>@page</a>.
37903790
Unexpected at-rules (which could be all of them, in a given context)
37913791
are invalid and should be ignored by the consumer.</p>
37923792

@@ -4602,18 +4602,18 @@ <h2 class="heading settled" data-level=9 id=css-stylesheets><span class=secno>9.
46024602
CSS stylesheets</span><a class=self-link href=#css-stylesheets></a></h2>
46034603

46044604
<p>To <dfn data-dfn-type=dfn data-noexport="" id=parse-a-css-stylesheet>parse a CSS stylesheet<a class=self-link href=#parse-a-css-stylesheet></a></dfn>,
4605-
first <a data-link-type=dfn href=#parse-a-stylesheet title="parse a stylesheet">parse a stylesheet</a>.
4606-
Interpret all of the resulting top-level <a data-link-type=dfn href=#qualified-rule title="qualified rules">qualified rules</a> as <a data-link-type=dfn href=#style-rule title="style rules">style rules</a>, defined below.</p>
4605+
first <i>parse a stylesheet</i>.
4606+
Interpret all of the resulting top-level <i>qualified rules</i> as <i>style rules</i>, defined below.</p>
46074607

46084608
<p>If any style rule is invalid,
46094609
or any at-rule is not recognized or is invalid according to its grammar or context,
4610-
it’s a <a data-link-type=dfn href=#parse-error title="parse error">parse error</a>.
4610+
it’s a <i>parse error</i>.
46114611
Discard that rule.</p>
46124612

46134613
<h3 class="heading settled" data-level=9.1 id=style-rules><span class=secno>9.1. </span><span class=content>
46144614
Style rules</span><a class=self-link href=#style-rules></a></h3>
46154615

4616-
<p>A <dfn data-dfn-type=dfn data-noexport="" id=style-rule>style rule<a class=self-link href=#style-rule></a></dfn> is a <a data-link-type=dfn href=#qualified-rule title="qualified rule">qualified rule</a>
4616+
<p>A <dfn data-dfn-type=dfn data-noexport="" id=style-rule>style rule<a class=self-link href=#style-rule></a></dfn> is a <i>qualified rule</i>
46174617
that associates a <a href=http://dev.w3.org/csswg/selectors4/#selector-list>selector list</a> <a data-biblio-type=normative data-link-type=biblio href=#biblio-select title=SELECT>[SELECT]</a>
46184618
with a list of property declarations.
46194619
They are also called
@@ -4626,19 +4626,19 @@ <h3 class="heading settled" data-level=9.1 id=style-rules><span class=secno>9.1.
46264626
the entire style rule is invalid.</p>
46274627

46284628
<p>The content of the qualified rule’s block is parsed as a
4629-
<a data-link-type=dfn href=#parse-a-list-of-declarations title="parse a list of declarations">list of declarations</a>.
4629+
<i title="parse a list of declarations">list of declarations</i>.
46304630
Unless defined otherwise by another specification or a future level of this specification,
46314631
at-rules in that list are invalid
46324632
and must be ignored.
46334633
Declaration for an unknown CSS property
46344634
or whose value does not match the syntax defined by the property are invalid
46354635
and must be ignored.
46364636
The validity of the style rule’s contents have no effect on the validity of the style rule itself.
4637-
Unless otherwise specified, property names are <a data-link-type=dfn href=#ascii-case-insensitive title="ASCII case-insensitive">ASCII case-insensitive</a>.</p>
4637+
Unless otherwise specified, property names are <i>ASCII case-insensitive</i>.</p>
46384638

46394639
<p class=note>Note: The names of Custom Properties <a data-biblio-type=informative data-link-type=biblio href=#biblio-css-variables title=CSS-VARIABLES>[CSS-VARIABLES]</a> are case-sensitive.</p>
46404640

4641-
<p><a data-link-type=dfn href=#qualified-rule title="Qualified rules">Qualified rules</a> at the top-level of a CSS stylesheet are style rules.
4641+
<p><i>Qualified rules</i> at the top-level of a CSS stylesheet are style rules.
46424642
Qualified rules in other contexts may or may not be style rules,
46434643
as defined by the context.</p>
46444644

0 commit comments

Comments
 (0)