11<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
33< html lang =en >
4- < head > < meta content =" text/html; charset=utf-8 " http-equiv = Content-Type >
5-
4+ < head >
5+ < meta content =" text/html; charset=utf-8 " http-equiv = Content-Type >
66 < title > CSS Style Attributes</ title >
7+
8+ < link href ="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright "
9+ rel ="license ">
10+ < link href ="#contents " rel =contents >
11+ < link href ="#index " rel =index >
712 < link href ="../default.css " rel =stylesheet type ="text/css ">
8- < link href ="http://www.w3.org/StyleSheets/TR/W3C-ED " rel =stylesheet
9- type ="text/css ">
13+ < link href ="../csslogo.ico " rel ="shortcut icon " type ="image/x-icon ">
14+ < link href ="http://www.w3.org/StyleSheets/TR/W3C-ED.css " rel =stylesheet
15+ type ="text/css ">
1016 < script defer =defer
11- src ="http://test.csswg.org/harness/annotate.js#css-style-attr-1_dev "
12- type ="text/javascript "> </ script >
17+ src ="http://test.csswg.org/harness/annotate.js#css-style-attr-1_dev "
18+ type ="text/javascript "> </ script >
1319
14- < body >
20+ < body class = h-entry >
1521 < div class =head > <!--begin-logo-->
1622 < p > < a href ="http://www.w3.org/ "> < img alt =W3C height =48
1723 src ="http://www.w3.org/Icons/w3c_home " width =72 > </ a > <!--end-logo-->
1824
19- < h1 > CSS Style Attributes</ h1 >
25+ < h1 class = p-name > CSS Style Attributes</ h1 >
2026
21- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 3 January 2012</ h2 >
27+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft < span
28+ class =dt-updated > < span class =value-title title =20130911 > 11 September
29+ 2013</ span > </ span > </ h2 >
2230
2331 < dl >
24- < dt > This version:</ dt >
25- <!-- <dd><dd><a href="http://www.w3.org/TR/2012/WD-css-style-attr-20120103/">http://www.w3.org/TR/2012/WD-css-style-attr-20120103/</a></dd> -->
32+ < dt > This version:
2633
27- < dd > < a
34+ < dd > < a class = u-url
2835 href ="http://dev.w3.org/csswg/css-style-attr/ "> http://dev.w3.org/csswg/css-style-attr/</ a >
29-
3036
3137 < dt > Latest version:
3238
3339 < dd > < a
3440 href ="http://www.w3.org/TR/css-style-attr/ "> http://www.w3.org/TR/css-style-attr/</ a >
35-
41+
42+ < dt > Editor's draft:
43+
44+ < dd > < a
45+ href ="http://dev.w3.org/csswg/css-style-attr/ "> http://dev.w3.org/csswg/css-style-attr/</ a >
46+ (< a
47+ href ="https://dvcs.w3.org/hg/csswg/log/tip/css-style-attr/Overview.src.html "> change
48+ log</ a > )
3649
3750 < dt > Previous version:
3851
3952 < dd > < a
40- href ="http://www.w3.org/TR/2010/WD -css-style-attr-20100121 / "> http://www.w3.org/TR/2010/WD -css-style-attr-20100121 /</ a >
41-
53+ href ="http://www.w3.org/TR/2010/CR -css-style-attr-20101012 / "> http://www.w3.org/TR/2010/CR -css-style-attr-20101012 /</ a >
54+
4255 < dt > Feedback:
43- < dd > < a href ="mailto:www-style@w3.org?subject=%5Bcss-style-attr%5D%20feedback "> www-style@w3.org</ a >
44- with subject line “< kbd > [css-style-attr] < var > … message topic …</ var > </ kbd > ”
45- (< a rel ="discussion " href ="http://lists.w3.org/Archives/Public/www-style/ "> archives</ a > )
56+
57+ < dd > < a
58+ href ="mailto:www-style@w3.org?subject=%5Bcss-style-attr%5D%20feedback "> www-style@w3.org</ a >
59+ with subject line “< kbd > [css-style-attr] < var > … message topic
60+ …</ var > </ kbd > ” (< a
61+ href ="http://lists.w3.org/Archives/Public/www-style/ "
62+ rel =discussion > archives</ a > )
4663
4764 < dt > Editors:
4865
49- < dd class =vcard > < a class ="fn url " href ="http://tantek.com/ "
50- lang =tr > Tantek Çelik</ a > (< span class ="company role url "> Invited
51- Expert</ span > , formerly < a href ="http://www.microsoft.com/ "> Microsoft
52- Corporation</ a > ) << a class =email
66+ < dd class ="p-author h-card vcard "> < a class ="p-name fn u-url url "
67+ href ="http://tantek.com/ " lang =tr rel =author > Tantek Çelik</ a > (< a
68+ class ="p-org org h-org " href ="https://mozilla.org/ "> Mozilla</ a > , and
69+ formerly at < a href ="http://microsoft.com/ "> Microsoft Corporation</ a > )
70+ << a class ="u-email email "
5371 href ="mailto:tantek@cs.stanford.edu "> tantek@cs.stanford.edu</ a > >
5472
55- < dd class =vcard > < a class ="fn n url "
56- href ="http://fantasai.inkedblade.net/contact "> < span
57- class =given-name > Elika</ span > < abbr class =additional-name > J.</ abbr >
58- < span class =family-name > Etemad</ span > </ a > (< span
59- class ="company role "> Invited Expert</ span > )
73+ < dd class ="p-author h-card vcard "> < a class ="p-name fn n u-url url "
74+ href ="http://fantasai.inkedblade.net/contact " rel =author > < span
75+ class ="p-given-name given-name "> Elika</ span > < abbr
76+ class ="p-additional-name additional-name "> J.</ abbr > < span
77+ class ="p-family-name family-name "> Etemad</ span > </ a > (< a
78+ class ="p-org org h-org " href ="https://mozilla.org/ "> Mozilla</ a > )
6079
6180 < dt > Previous Editors:
6281
@@ -68,23 +87,23 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 3 January 2012</h2>
6887 < dd class =vcard > < span class =fn > Marc Attinasi</ span > (< span
6988 class =org > AOL/Netscape</ span > ), << a class =email
7089 href ="mailto:attinasi@netscape.com "> attinasi@netscape.com</ a > >
71-
72- < dt > Test Suite:
7390
74- < dd > < a
75- href ="http://test.csswg.org/suites/css-style-attr/nightly-unstable/ "> http://test.csswg.org/suites/css-style-attr/nightly-unstable/</ a >
91+ < dt > Test suite:
92+
93+ < dd > < a
94+ href ="http://test.csswg.org/suites/css-style-attr/nightly-unstable/ "> http://test.csswg.org/suites/css-style-attr/nightly-unstable/</ a >
7695 </ dl >
7796 <!--begin-copyright-->
7897 < p class =copyright > < a
7998 href ="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright "
80- rel =license > Copyright</ a > © 2012 < a
81- href =" http://www.w3.org/ " > < acronym
82- title =" World Wide Web Consortium " > W3C </ acronym > </ a > < sup > ® </ sup > ( < a
83- href =" http://www.csail.mit.edu/ " > < acronym
84- title =" Massachusetts Institute of Technology " > MIT </ acronym > </ a > , < a
85- href =" http://www.ercim.eu/ " > < acronym
86- title =" European Research Consortium for Informatics and Mathematics " > ERCIM </ acronym > </ a > ,
87- < a href ="http://www.keio.ac.jp / "> Keio </ a > ), All Rights Reserved. W3C < a
99+ rel =license > Copyright</ a > © 2013 < a href =" http://www.w3.org/ " > < abbr
100+ title =" World Wide Web Consortium " > W3C </ abbr > </ a > < sup > ® </ sup > ( < a
101+ href =" http://www.csail.mit.edu/ " > < abbr
102+ title =" Massachusetts Institute of Technology " > MIT </ abbr > </ a > , < a
103+ href =" http://www.ercim.eu/ " > < abbr
104+ title =" European Research Consortium for Informatics and Mathematics " > ERCIM </ abbr > </ a > ,
105+ < a href =" http://www.keio.ac.jp/ " > Keio </ a > , < a
106+ href ="http://ev.buaa.edu.cn / "> Beihang </ a > ), All Rights Reserved. W3C < a
88107 href ="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer "> liability</ a > ,
89108 < a
90109 href ="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks "> trademark</ a >
@@ -97,13 +116,12 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 3 January 2012</h2>
97116
98117 < h2 class ="no-num no-toc " id =abstract > Abstract</ h2 >
99118
100- < p > Markup languages such as HTML < a href ="#HTML401 "
119+ < p > < span class = p-summary > Markup languages such as HTML < a href ="#HTML401 "
101120 rel =biblioentry > [HTML401]<!--{{HTML401}}--> </ a > and SVG < a href ="#SVG11 "
102121 rel =biblioentry > [SVG11]<!--{{SVG11}}--> </ a > provide a style attribute on
103122 most elements, to hold inline style information that applies to those
104- elements. One of the possible style sheet languages is CSS. This draft
105- describes the syntax and interpretation of the CSS fragment that can be
106- used in such style attributes.
123+ elements. This draft describes the syntax and interpretation of the CSS
124+ fragment that can be used in such style attributes. </ span >
107125
108126 < h2 class ="no-num no-toc " id =status > Status of this document</ h2 >
109127 <!--begin-status-->
@@ -120,24 +138,25 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
120138 www-style@w3.org</ a > (see < a
121139 href ="http://www.w3.org/Mail/Request "> instructions</ a > ) is preferred for
122140 discussion of this specification. When sending e-mail, please put the text
123- “css-style-attr” in the subject, preferably like this:
124- “[<!----> css-style-attr<!----> ] < em > …summary of
125- comment…</ em > ”
141+ “css-style-attr” in the subject, preferably like this:
142+ “[<!----> css-style-attr<!----> ] < em > …summary of comment…</ em > ”
126143
127- < p > This document was produced by the < a href ="/Style/CSS/members "> CSS
128- Working Group</ a > (part of the < a href ="/Style/ "> Style Activity</ a > ).
144+ < p > This document was produced by the < a
145+ href ="http://www.w3.org/Style/CSS/members "> CSS Working Group</ a > (part of
146+ the < a href ="http://www.w3.org/Style/ "> Style Activity</ a > ).
129147
130148 < p > This document was produced by a group operating under the < a
131- href ="/Consortium/Patent-Policy-20040205/ "> 5 February 2004 W3C Patent
132- Policy</ a > . W3C maintains a < a href ="/2004/01/pp-impl/32061/status "
149+ href ="http://www.w3.org/Consortium/Patent-Policy-20040205/ "> 5 February
150+ 2004 W3C Patent Policy</ a > . W3C maintains a < a
151+ href ="http://www.w3.org/2004/01/pp-impl/32061/status "
133152 rel =disclosure > public list of any patent disclosures</ a > made in
134153 connection with the deliverables of the group; that page also includes
135154 instructions for disclosing a patent. An individual who has actual
136155 knowledge of a patent which the individual believes contains < a
137- href ="/Consortium/Patent-Policy-20040205/#def-essential "> Essential
156+ href ="http://www.w3.org /Consortium/Patent-Policy-20040205/#def-essential "> Essential
138157 Claim(s)</ a > must disclose the information in accordance with < a
139- href ="/ Consortium/Patent-Policy-20040205/#sec-Disclosure "> section 6 of the
140- W3C Patent Policy</ a > .</ p >
158+ href ="http://www.w3.org/ Consortium/Patent-Policy-20040205/#sec-Disclosure "> section
159+ 6 of the W3C Patent Policy</ a > .</ p >
141160 <!--end-status-->
142161
143162 < p > For this specification to exit the CR stage, the following conditions
@@ -146,7 +165,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
146165 < ol >
147166 < li >
148167 < p > There must be at least two interoperable implementations. For the
149- purposes of this criterion, we define the following terms:</ p >
168+ purposes of this criterion, we define the following terms:
150169
151170 < dl >
152171 < dt > interoperable
@@ -161,12 +180,12 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
161180 there must one or more additional UAs which can also pass those
162181 equivalent tests in the same way for the purpose of interoperability.
163182 The equivalent tests must be made publicly available for the purposes
164- of peer review.</ p >
183+ of peer review.
165184
166185 < dt > implementation
167186
168187 < dd >
169- < p > a user agent which:</ p >
188+ < p > a user agent which:
170189
171190 < ol >
172191 < li > implements the specification.
@@ -186,7 +205,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
186205 < p > A minimum of three months of the CR period must elapse. That is, this
187206 specification will not exit CR before (DATE OF PUBLICATION PLUS THREE
188207 MONTHS). When the specification exits CR, an implementation report will
189- be published. At this point, no such report exists.</ p >
208+ be published. At this point, no such report exists.
190209 </ ol >
191210
192211 < p > A CSS Style Attributes < a href ="http://www.w3.org/Style/CSS/Test/ "> Test
@@ -224,15 +243,15 @@ <h2 id=intro><span class=secno>1. </span>Introduction</h2>
224243 < p > Some document formats have a < dfn id =style-attribute > style
225244 attribute</ dfn > to permit the author to directly apply style information
226245 to specific elements in documents. If a document format defines a style
227- attribute (whether named ‘ < code class =property > style</ code > ’
228- or something else) and the attribute accepts CSS as its value, then this
246+ attribute (whether named ‘ < code class =property > style</ code > ’ or
247+ something else) and the attribute accepts CSS as its value, then this
229248 specification defines that < dfn id =style-attribute0 > style
230- attribute</ dfn > ’ s syntax and interpretation.
249+ attribute</ dfn > ’ s syntax and interpretation.
231250
232251 < div class =example >
233252 < p > The following example shows the use of the < code > style</ code > attribute
234253 in HTML < a href ="#HTML401 "
235- rel =biblioentry > [HTML401]<!--{{HTML401}}--> </ a > :</ p >
254+ rel =biblioentry > [HTML401]<!--{{HTML401}}--> </ a > :
236255
237256 < pre > <p style="< em > color: #090; line-height: 1.2</ em > ">...</p></ pre >
238257 </ div >
@@ -276,7 +295,7 @@ <h2 id=conformance><span class=secno>2. </span>Conformance</h2>
276295 < code > class="example"</ code > , like this:
277296
278297 < div class =example >
279- < p > This is an example of an informative example.</ p >
298+ < p > This is an example of an informative example.
280299 </ div >
281300
282301 < p > Informative notes begin with the word "Note" and are set apart from the
@@ -295,9 +314,13 @@ <h2 id=syntax><span class=secno>3. </span>Syntax and Parsing</h2>
295314 grammar</ a > :
296315
297316 < pre >
317+
298318declaration-list
319+
299320 : S* declaration? [ ';' S* declaration? ]*
321+
300322 ;
323+
301324</ pre >
302325
303326 < p class =note > Note that following the CSS2.1 convention, comment tokens are
@@ -326,8 +349,8 @@ <h2 id=interpret><span class=secno>4. </span>Cascading and Interpretation</h2>
326349 data must be resolved relative to the style attribute's element (or to the
327350 document if per-element resolution is not defined) when the attribute's
328351 value is parsed<!-- so dynamic changes to
352+
329353the base URL don't affect the CSS ~Hixie --> .
330-
331354
332355 < p > Aside from the differences in cascading, the declarations in a style
333356 attribute must be interpreted exactly as if they were given in a CSS style
@@ -346,7 +369,7 @@ <h2 id=ack><span class=secno>5. </span>Acknowledgments</h2>
346369 Hickson</ span > </ span > , < span class =vcard > < span class ="fn n "> < span
347370 class =given-name > Eric</ span > < abbr class =additional-name > A.</ abbr > < span
348371 class =family-name > Meyer</ span > </ span > </ span > , < span class =vcard > < span
349- class =fn > Björn Höhrmann </ span > </ span > .
372+ class =fn > Björn Höhrmann </ span > </ span > .
350373
351374 < h2 id =references > < span class =secno > 6. </ span > References</ h2 >
352375
@@ -355,17 +378,17 @@ <h3 class=no-num id=normative-references>Normative references</h3>
355378 <!-- Sorted by label -->
356379
357380 < dl class =bibliography >
358- < dt style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
381+ < dd style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
359382 <!---->
360383
361384 < dt id =CSS21 > [CSS21]
362385
363386 < dd > Bert Bos; et al. < a
364387 href ="http://www.w3.org/TR/2011/REC-CSS2-20110607 "> < cite > Cascading Style
365- Sheets Level 2 Revision 1 (CSS  2.1) Specification.</ cite > </ a > 7 June
388+ Sheets Level 2 Revision 1 (CSS 2.1) Specification.</ cite > </ a > 7 June
366389 2011. W3C Recommendation. URL: < a
367390 href ="http://www.w3.org/TR/2011/REC-CSS2-20110607 "> http://www.w3.org/TR/2011/REC-CSS2-20110607</ a >
368- </ dd >
391+ </ dd >
369392 <!---->
370393
371394 < dt id =RFC2119 > [RFC2119]
@@ -374,7 +397,7 @@ <h3 class=no-num id=normative-references>Normative references</h3>
374397 words for use in RFCs to Indicate Requirement Levels.</ cite > </ a > Internet
375398 RFC 2119. URL: < a
376399 href ="http://www.ietf.org/rfc/rfc2119.txt "> http://www.ietf.org/rfc/rfc2119.txt</ a >
377- </ dd >
400+ </ dd >
378401 <!---->
379402 </ dl >
380403 <!--end-normative-->
@@ -384,7 +407,7 @@ <h3 class=no-num id=informative-references>Informative references</h3>
384407 <!-- Sorted by label -->
385408
386409 < dl class =bibliography >
387- < dt style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
410+ < dd style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
388411 <!---->
389412
390413 < dt id =HTML401 > [HTML401]
@@ -393,27 +416,35 @@ <h3 class=no-num id=informative-references>Informative references</h3>
393416 href ="http://www.w3.org/TR/1999/REC-html401-19991224 "> < cite > HTML 4.01
394417 Specification.</ cite > </ a > 24 December 1999. W3C Recommendation. URL: < a
395418 href ="http://www.w3.org/TR/1999/REC-html401-19991224 "> http://www.w3.org/TR/1999/REC-html401-19991224</ a >
396- </ dd >
419+ </ dd >
397420 <!---->
398421
399422 < dt id =SVG11 > [SVG11]
400423
401- < dd > Erik Dahlström ; et al. < a
424+ < dd > Erik Dahlström ; et al. < a
402425 href ="http://www.w3.org/TR/2011/REC-SVG11-20110816/ "> < cite > Scalable
403426 Vector Graphics (SVG) 1.1 (Second Edition).</ cite > </ a > 16 August 2011.
404427 W3C Recommendation. URL: < a
405428 href ="http://www.w3.org/TR/2011/REC-SVG11-20110816/ "> http://www.w3.org/TR/2011/REC-SVG11-20110816/</ a >
406- </ dd >
429+ </ dd >
407430 <!---->
408431 </ dl >
409432 <!--end-informative-->
410433</ html >
411434<!-- Keep this comment at the end of the file
435+
412436Local variables:
437+
413438mode: sgml
439+
414440sgml-declaration:"~/SGML/HTML4.decl"
441+
415442sgml-default-doctype-name:"html"
443+
416444sgml-minimize-attributes:t
445+
417446sgml-nofill-elements:("pre" "style" "br")
447+
418448End:
449+
419450-->
0 commit comments