You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2class="no-num no-toc no-ref" id=status><spanclass=content>Status of this document</span></h2>
35
-
<divdata-fill-with=status><p><em>This section describes the status of this document at the time of
36
-
its publication. Other documents may supersede this document. A list of
37
-
current W3C publications and the latest revision of this technical report
38
-
can be found in the <ahref=http://www.w3.org/TR/>W3C technical reports
39
-
index at http://www.w3.org/TR/.</a></em>
40
-
41
-
<p>Publication as a Last Call Working Draft does not imply endorsement by the W3C
42
-
Membership. This is a draft document and may be updated, replaced or
43
-
obsoleted by other documents at any time. It is inappropriate to cite this
44
-
document as other than work in progress.
45
-
46
-
<p>The (<ahref=http://lists.w3.org/Archives/Public/www-style/>archived</a>) public
47
-
mailing list <ahref=mailto:www-style@w3.org>www-style@w3.org</a> (see
48
-
<ahref=http://www.w3.org/Mail/Request>instructions</a>) is preferred
49
-
for discussion of this specification. When sending e-mail, please put the
50
-
text “css-cascade” in the subject, preferably like this:
51
-
“[<!---->css-cascade<!---->] <em>…summary of comment…</em>”
52
-
53
-
<p>This document was produced by the <ahref=http://www.w3.org/Style/CSS/members>CSS Working Group</a> (part of
54
-
the <ahref=http://www.w3.org/Style/>Style Activity</a>).
55
-
56
-
<p>This document was produced by a group operating under the <ahref=http://www.w3.org/Consortium/Patent-Policy-20040205/>5 February
57
-
2004 W3C Patent Policy</a>. W3C maintains a <ahref=http://www.w3.org/2004/01/pp-impl/32061/statusrel=disclosure>public list of any patent disclosures</a> made in
58
-
connection with the deliverables of the group; that page also includes
59
-
instructions for disclosing a patent. An individual who has actual
60
-
knowledge of a patent which the individual believes contains <ahref=http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential>Essential
61
-
Claim(s)</a> must disclose the information in accordance with <ahref=http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure>section
62
-
6 of the W3C Patent Policy</a>.</p>
63
-
64
-
<p>This specification is a <strong>Last Call Working Draft</strong>. All
65
-
persons are encouraged to review this document and <strong>send comments
66
-
to the <ahref=http://lists.w3.org/Archives/Public/www-style/>www-style</a>
67
-
mailing list</strong> as described above. The <strong>deadline for
68
-
comments</strong> is <strong>22 August 2013</strong>.</div>
35
+
<divdata-fill-with=status><p>
36
+
This is a public copy of the editors' draft.
37
+
It is provided for discussion only and may change at any moment.
38
+
Its publication here does not imply endorsement of its contents by W3C.
39
+
Don't cite this document other than as work in progress.
40
+
41
+
<p>
42
+
The (<ahref=http://lists.w3.org/Archives/Public/www-style/>archived</a>) public mailing list
(see <ahref=http://www.w3.org/Mail/Request>instructions</a>)
45
+
is preferred for discussion of this specification.
46
+
When sending e-mail,
47
+
please put the text “css-cascade” in the subject,
48
+
preferably like this:
49
+
“[css-cascade] <em>…summary of comment…</em>”
50
+
51
+
<p>
52
+
This document was produced by the <ahref=/Style/CSS/members>CSS Working Group</a>
53
+
(part of the <ahref=/Style/>Style Activity</a>).
54
+
55
+
<p>
56
+
This document was produced by a group operating under
57
+
the <ahref=/Consortium/Patent-Policy-20040205/>5 February 2004 W3C Patent Policy</a>.
58
+
W3C maintains a <ahref=/2004/01/pp-impl/32061/statusrel=disclosure>public list of any patent disclosures</a>
59
+
made in connection with the deliverables of the group;
60
+
that page also includes instructions for disclosing a patent.
61
+
An individual who has actual knowledge of a patent which the individual believes contains <ahref=/Consortium/Patent-Policy-20040205/#def-essential>Essential Claim(s)</a>
62
+
must disclose the information in accordance with <ahref=/Consortium/Patent-Policy-20040205/#sec-Disclosure>section 6 of the W3C Patent Policy</a>.</div>
69
63
<divdata-fill-with=at-risk></div>
70
64
71
65
<h2class="no-num no-toc no-ref" id=contents><spanclass=content>Table of contents</span></h2>
The <dfndata-dfn-type=at-ruleid=at-ruledef-import><aclass=cssdata-link-type=maybehref=#at-ruledef-import>@import</a></dfn> rule allows users to import style rules from other style sheets.
139
133
Any <aclass=cssdata-link-type=maybehref=#at-ruledef-import>@import</a> rules must precede all other at-rules and style rules in a style sheet
140
-
(besides <aclass=cssdata-link-type=maybehref=http://www.w3.org/TR/css3-syntax/#charset>@charset</a>, which must be the first thing in the style sheet if it exists),
134
+
(besides <aclass=cssdata-link-type=maybehref=http://dev.w3.org/csswg/css-syntax-3/#charset>@charset</a>, which must be the first thing in the style sheet if it exists),
141
135
or else the <aclass=cssdata-link-type=maybehref=#at-ruledef-import>@import</a> rule is invalid.
142
136
The syntax of <aclass=cssdata-link-type=maybehref=#at-ruledef-import>@import</a> is:
For example, the CSS 2.1 <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-fonts/#propdef-fonttitle=font>font</a> property
236
-
is a <ahref=#shorthand-properties>shorthand</a> property for setting <aclass=propertydata-link-type=propdesctitle=font-style>font-style</a>, <aclass=propertydata-link-type=propdesctitle=font-variant>font-variant</a>, <aclass=propertydata-link-type=propdesctitle=font-weight>font-weight</a>, <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-fonts/#propdef-font-sizetitle=font-size>font-size</a>, <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-linebox/#line-heighttitle=line-height>line-height</a>, and <aclass=propertydata-link-type=propdesctitle=font-family>font-family</a> all at once.
229
+
For example, the CSS 2.1 <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-fonts-3/#propdef-fonttitle=font>font</a> property
230
+
is a <ahref=#shorthand-properties>shorthand</a> property for setting <aclass=propertydata-link-type=propdesctitle=font-style>font-style</a>, <aclass=propertydata-link-type=propdesctitle=font-variant>font-variant</a>, <aclass=propertydata-link-type=propdesctitle=font-weight>font-weight</a>, <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-fonts-3/#propdef-font-sizetitle=font-size>font-size</a>, <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-inline-3/#line-heighttitle=line-height>line-height</a>, and <aclass=propertydata-link-type=propdesctitle=font-family>font-family</a> all at once.
The <spanclass=cssdata-link-type=maybe>all</span> property is a <ahref=#shorthand-properties>shorthand</a> that resets <emtitle="">all</em> CSS properties
320
-
except <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-writing-modes/#direction0title=direction>direction</a> and <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-writing-modes/#unicode-bidi0title=unicode-bidi>unicode-bidi</a>.
314
+
except <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-writing-modes-3/#direction0title=direction>direction</a> and <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-writing-modes-3/#unicode-bidi0title=unicode-bidi>unicode-bidi</a>.
321
315
It only accepts the <ahref=http://www.w3.org/TR/css3-values/#common-keywords>CSS-wide keywords</a>.
while the <ahref=#used-value>used value</a> is an absolute length, such as <spanclass=cssdata-link-type=maybe>100px</span>. <adata-biblio-type=informativedata-link-type=bibliohref=#css21title=CSS21>[CSS21]</a>
495
489
496
490
<pclass=example>
497
-
As another example, a <code><div></code> might have a computed <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-break/#break-beforetitle=break-before>break-before</a> value of <spanclass=cssdata-link-type=maybe>auto</span>,
498
-
but acquire a used <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-break/#break-beforetitle=break-before>break-before</a> value of <spanclass=cssdata-link-type=maybe>page</span> by propagation from its first child. <adata-biblio-type=informativedata-link-type=bibliohref=#css3-breaktitle=CSS3-BREAK>[CSS3-BREAK]</a>
491
+
As another example, a <code><div></code> might have a computed <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-break-3/#break-beforetitle=break-before>break-before</a> value of <spanclass=cssdata-link-type=maybe>auto</span>,
492
+
but acquire a used <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-break-3/#break-beforetitle=break-before>break-before</a> value of <spanclass=cssdata-link-type=maybe>page</span> by propagation from its first child. <adata-biblio-type=informativedata-link-type=bibliohref=#css3-breaktitle=CSS3-BREAK>[CSS3-BREAK]</a>
499
493
500
494
<pclass=example>
501
495
Lastly, if a property does not apply to an element,
For example, a user agent may only be able to render borders with integer pixel widths
513
507
and may therefore have to approximate the <ahref=#used-valuetitle="used value">used</a> width.
514
508
Also, the font size of an element may need adjustment based on the availability of fonts
515
-
or the value of the <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-fonts/#propdef-font-size-adjusttitle=font-size-adjust>font-size-adjust</a> property.
509
+
or the value of the <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-fonts-3/#propdef-font-size-adjusttitle=font-size-adjust>font-size-adjust</a> property.
516
510
The <dfndata-dfn-type=dfnid=actual-value>actual value</dfn> is the used value after any such adjustments have been made.
<li>Dropped the <spanclass=cssdata-link-type=maybe>default</span> keyword.
999
993
<li>Added the <aclass=cssdata-link-type=maybehref=#valuedef-unset>unset</a> keyword.
1000
-
<li>Excluded <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-writing-modes/#unicode-bidi0title=unicode-bidi>unicode-bidi</a> and <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-writing-modes/#direction0title=direction>direction</a> from the <aclass=propertydata-link-type=propdeschref=#propdef-alltitle=all>all</a> shorthand.
994
+
<li>Excluded <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-writing-modes-3/#unicode-bidi0title=unicode-bidi>unicode-bidi</a> and <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-writing-modes-3/#direction0title=direction>direction</a> from the <aclass=propertydata-link-type=propdeschref=#propdef-alltitle=all>all</a> shorthand.
0 commit comments