Fixes for CSS2 references.
authorCameron McCormack <cam@mcc.id.au>
Mon, 20 Aug 2012 11:08:32 +1000
changeset 291 576e4858f8c7
parent 290 fa49351fc52c
child 292 5f3eba437bbe
Fixes for CSS2 references.
master/fonts.html
master/refs.html
master/styling.html
--- a/master/fonts.html	Mon Aug 20 10:59:34 2012 +1000
+++ b/master/fonts.html	Mon Aug 20 11:08:32 2012 +1000
@@ -100,7 +100,7 @@
 <p>SVG utilizes the
 <a href="http://dev.w3.org/csswg/css3-fonts/">WebFonts</a>
 facility defined in
-([<a href="refs.html#ref-CSS3Fonts">CSS3 Fonts</a>]) as a key
+([<a href="refs.html#ref-CSS3FONTS">CSS3 Fonts</a>]) as a key
 mechanism for reliable delivery of font data to end users. In a
 common scenario, SVG authoring applications generate
 compressed, subsetted WebFonts
--- a/master/refs.html	Mon Aug 20 10:59:34 2012 +1000
+++ b/master/refs.html	Mon Aug 20 11:08:32 2012 +1000
@@ -65,7 +65,7 @@
     http://www.w3.org/TR/css3-color/.
   </dd>
   
-  <dt id="ref-CSS3Fonts" class="normref">[CSS3Fonts]</dt>
+  <dt id="ref-CSS3FONTS" class="normref">[CSS3FONTS]</dt>
   <dd>
     <cite class="w3cwd"><a href="http://dev.w3.org/csswg/css3-fonts/">CSS3 Fonts</a></cite>,
     J. Daggett, ed
--- a/master/styling.html	Mon Aug 20 10:59:34 2012 +1000
+++ b/master/styling.html	Mon Aug 20 11:08:32 2012 +1000
@@ -43,10 +43,10 @@
 additional SVG-specific rules explicitly mentioned in this
 specification, the normative definition of properties that are
 shared with CSS and XSL is the definition of the property from
-<a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">the CSS2 specification</a>
+<a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">the CSS 2.1 specification</a>
 [<a href="refs.html#ref-CSS21">CSS21</a>].</p>
 
-<p id='PropertiesFromCSS2'>The following properties are shared between CSS2 and SVG.
+<p id='PropertiesFromCSS2'>The following properties are shared between CSS 2.1 and SVG.
 Most of these properties are also defined in XSL:</p>
 
 <ul>
@@ -87,7 +87,7 @@
       <a>'lighting-color'</a>
       properties.
       (The SVG properties which support color allow a color
-      specification which is extended from CSS2 to accommodate
+      specification which is extended from CSS 2.1 to accommodate
       color definitions in arbitrary color spaces. See <a
       href="color.html#ColorProfileDescriptions">Color profile
       descriptions</a>.)</li>
@@ -100,7 +100,7 @@
   </li>
 </ul>
 
-<p>The following SVG properties are not defined in CSS2. The
+<p>The following SVG properties are not defined in CSS 2.1. The
 complete normative definitions for these properties are found in
 this specification:</p>
 
@@ -382,13 +382,13 @@
 <p>For user agents that support CSS, the presentation
 attributes must be translated to corresponding CSS style rules
 according to rules described in
-<a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html#q12">Precedence of non-CSS presentational hints</a>
+<a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html#preshint">Precedence of non-CSS presentational hints</a>
 ([<a href="refs.html#ref-CSS21">CSS21</a>], section 6.4.4),
 with the additional
 clarification that the presentation attributes are conceptually
 inserted into a new author style sheet which is the first in
 the author style sheet collection. The presentation attributes
-thus will participate in the CSS2 cascade
+thus will participate in the CSS 2.1 cascade
 as if they were replaced by corresponding CSS style
 rules placed at the start of the author style sheet with a
 specificity of zero. In general, this means that the
@@ -553,38 +553,40 @@
 <edit:example href='images/styling/StyleAttribute.svg' image='no' link='yes'/>
 
 <p>In an SVG user agent that supports CSS style sheets, the
-following facilities from CSS2 must be supported:</p>
+following facilities from CSS 2.1 must be supported:</p>
 
 <ul>
-  <li>CSS2 <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/selector.html">selectors</a>
+  <li>CSS 2.1 <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/selector.html">selectors</a>
   within style sheets ([<a href="refs.html#ref-CSS21">CSS21</a>], chapter 5).
   Because SVG is intended to be used as one component in a
-  multiple namespace XML application and CSS2 is not namespace
+  multiple namespace XML application and CSS 2.1 is not namespace
   aware, type selectors will only match against the local part
   of the element's qualified name.</li>
 
   <li><a href="http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/">External CSS style sheets</a>
   [<a href="refs.html#ref-XML-SS">XML-SS</a>], CSS
   style sheets within <a>'style element'</a> elements and CSS
-  <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#q8">declaration
+  <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#rule-sets">declaration
   blocks</a> ([<a href="refs.html#ref-CSS21">CSS21</a>], section 4.1.7)
   within <a>'style attribute'</a> attributes attached to
   specific SVG elements.</li>
 
-  <li>CSS2 rules for <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html">assigning
+  <li>CSS 2.1 rules for <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html">assigning
   property values, cascading and inheritance</a>
   ([<a href="refs.html#ref-CSS21">CSS21</a>], chapter 6).</li>
 
-  <li><a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/fonts.html#font-descriptions">@font-face</a>,
-  <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/media.html#at-media-rule">@media</a>,
+  <li><a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/media.html#at-media-rule">@media</a>,
   <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html#at-import">@import</a>
-  and <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#x66">@charset</a>
+  and <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#charset">@charset</a>
   rules within style sheets
   ([<a href="refs.html#ref-CSS21">CSS21</a>], sections 15.3.1, 7.2.1, 6.3 and 4.4).</li>
 
-  <li>CSS2's <a
+  <li><a href="http://www.w3.org/TR/2011/WD-css3-fonts-20111004/#font-face-rule">@font-face</a> rules
+  within style sheets ([<a href="refs.html#ref-CSS3FONTS">CSS3FONTS</a>], section 4.1).</li>
+
+  <li>CSS 2.1's <a
   href="http://www.w3.org/TR/2011/REC-CSS2-20110607/selector.html#dynamic-pseudo-classes">dynamic pseudo-classes</a>
-  :hover, :active and :focus and <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/selector.html#q15">pseudo-classes</a>
+  :hover, :active and :focus and <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/selector.html#pseudo-class-selectors">pseudo-classes</a>
   :first-child, :visited, :link and :lang
   ([<a href="refs.html#ref-CSS21">CSS21</a>], section 5.11).
   The remaining CSS2 pseudo-classes, including those having to do with
@@ -610,14 +612,14 @@
 
 <p>SVG defines an <a href="color.html#ColorProfileAtRule">@color-profile</a>
 <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#at-rules'>at-rule</a>
-([<a href='refs.html#ref-CSS2'>CSS21</a>], section 4.1.6)
+([<a href='refs.html#ref-CSS21'>CSS21</a>], section 4.1.6)
 for defining color profiles so that ICC color profiles can be
 applied to CSS-styled SVG content.</p>
 
 <p>Note the following about relative URIs and external CSS
-style sheets: The CSS2 specification
+style sheets: The CSS 2.1 specification
 <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#uri'>says</a>
-([<a href='refs.html#ref-CSS2'>CSS21</a>], section 4.3.4)
+([<a href='refs.html#ref-CSS21'>CSS21</a>], section 4.3.4)
 that relative URIs (as defined in <a href="http://www.ietf.org/rfc/rfc2396.txt"><cite>Uniform Resource Identifiers (URI): Generic Syntax</cite></a>
 [<a href="refs.html#ref-RFC3986">RFC3986</a>]) within
 style sheets are resolved such that the base URI is that of the
@@ -629,7 +631,7 @@
 href="http://www.w3.org/TR/2008/REC-xml-20081126/">XML10</a>], which is
 case-sensitive. CSS property declarations specified either in
 CSS style sheets or in a <a>'style attribute'</a> attribute, on the other
-hand, are <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#q4">generally case-insensitive with some exceptions</a>
+hand, are <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#characters">generally case-insensitive with some exceptions</a>
 ([<a href="refs.html#ref-CSS21">CSS21</a>], section 4.1.3).</p>
 
 <p>Because presentation attributes are expressed as XML
@@ -688,29 +690,29 @@
 
 <ul>
   <li>Shared properties. Many of SVG's properties are shared
-  between CSS2, XSL and SVG. (See <a
+  between CSS 2.1, XSL and SVG. (See <a
   href="styling.html#PropertiesFromCSS2">list of shared
   properties</a>).</li>
 
   <li>Syntax rules. (The normative references are
   <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html">CSS2 syntax and basic data types</a>
-  and <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/grammar.html">The grammar of CSS2</a>;
-  in [<a href='refs.html#ref-CSS2'>CSS21</a>], chapter 4 and appendix D.)</li>
+  and <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/grammar.html">The grammar of CSS 2.1</a>;
+  in [<a href='refs.html#ref-CSS21'>CSS21</a>], chapter 4 and appendix D.)</li>
 
   <li>Allowable data types. (The normative reference is <a
-  href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html">CSS2 syntax
-  and basic data types</a> ([<a href='refs.html#ref-CSS2'>CSS21</a>], chapter 4), with the exception that SVG
+  href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html">CSS 2.1 syntax
+  and basic data types</a> ([<a href='refs.html#ref-CSS21'>CSS21</a>], chapter 4), with the exception that SVG
   length and angle values without a unit identifier.  See <a
   href="coords.html#Units">Units</a>.)</li>
 
   <li><a href="styling.html#Inheritance">Inheritance
   rules</a>.</li>
 
-  <li>The color keywords from CSS2 that correspond to the
+  <li>The color keywords from CSS 2.1 that correspond to the
   colors used by objects in the user's environment. (The
   normative reference is 
-  <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#system-colors">CSS2
-  system colors</a>; in [<a href='refs.html#ref-CSS2'>CSS21</a>], section 18.2.)</li>
+  <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#system-colors">CSS 2.1
+  system colors</a>; in [<a href='refs.html#ref-CSS21'>CSS21</a>], section 18.2.)</li>
 
   <li>For implementations that support CSS styling of SVG
   content, then that styling must be compatible with various
@@ -777,7 +779,7 @@
         medium for style information. It may be a single media
         descriptor or a comma-separated list. The default value for
         this attribute is "all". The set of recognized
-        <em>media-descriptors</em> are the list of <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/media.html#media-types'>media types recognized by CSS2</a>
+        <em>media-descriptors</em> are the list of <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/media.html#media-types'>media types recognized by CSS 2.1</a>
         ([<a href="refs.html#ref-CSS21">CSS21</a>], section 7.3).<br />
          <span class="anim-target"><a
         href="animate.html#Animatable">Animatable</a>:
@@ -902,20 +904,20 @@
 
 <p>Whether or not the user agent supports CSS, property
 inheritance in SVG follows the property inheritance rules
-defined in the CSS2 specification. The normative definition for
+defined in the CSS 2.1 specification. The normative definition for
 property inheritance is the <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html#inheritance">Inheritance</a> section
-of the CSS2 specification ([<a href="refs.html#ref-CSS21">CSS21</a>], section 6.2).</p>
+of the CSS 2.1 specification ([<a href="refs.html#ref-CSS21">CSS21</a>], section 6.2).</p>
 
 <p>The definition of each property indicates whether the
 property can inherit the value of its parent.</p>
 
-<p>In SVG, as in CSS2, most elements inherit 
+<p>In SVG, as in CSS 2.1, most elements inherit 
 <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html#computed-value'>computed values</a>
-([<a href='refs.html#ref-CSS2'>CSS21</a>], section 6.1.2).
+([<a href='refs.html#ref-CSS21'>CSS21</a>], section 6.1.2).
 For cases where something other than
 computed values are inherited, the property definition will
 describe the inheritance rules. For <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html#specified-value'>specified values</a>
-([<a href='refs.html#ref-CSS2'>CSS21</a>], section 6.1.1)
+([<a href='refs.html#ref-CSS21'>CSS21</a>], section 6.1.1)
 which are expressed in user units, in
 pixels (e.g., <span class='attr-value'>20px</span>) or in absolute values,
 the computed value equals the specified
@@ -999,7 +1001,7 @@
 
 <p>The user agent shall maintain a
 <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html#cascade'>user agent style sheet</a>
-([<a href='refs.html#ref-CSS2'>CSS21</a>], section 6.4)
+([<a href='refs.html#ref-CSS21'>CSS21</a>], section 6.4)
 for elements in the SVG namespace for
 <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/media.html#visual-media-group'>visual media</a>
 ([<a href="refs.html#ref-CSS21">CSS21</a>], section 7.3.1).
@@ -1039,8 +1041,8 @@
 <p>For the purposes of aural media, SVG represents a stylable
 XML grammar. In user agents that support CSS aural style
 sheets, <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/aural.html'>aural style properties</a>
-([<a href='refs.html#ref-CSS2'>CSS21</a>], chapter 19)
-can be applied as defined in CSS2.</p>
+([<a href='refs.html#ref-CSS21'>CSS21</a>], chapter 19)
+can be applied as defined in CSS 2.1.</p>
 
 <p>Aural style properties can be applied to any SVG element
 that can contain character data content, including
@@ -1050,13 +1052,13 @@
 <a>'tref'</a>,
 <a>'altGlyph'</a> and
 <a>'textPath'</a>.
-On user agents that support aural style sheets, the following CSS2
+On user agents that support aural style sheets, the following CSS 2.1
 properties can be applied:</p>
 
     <table class='vert' summary="aural styling properties">
       <tr>
         <th>Aural property</th>
-        <th>Definition in [<a href='refs.html#ref-CSS2'>CSS21</a>]</th>
+        <th>Definition in [<a href='refs.html#ref-CSS21'>CSS21</a>]</th>
       </tr>
       <tr>
         <td id="AzimuthProperty"><span class="attr-name">'azimuth'</span></td>
@@ -1112,7 +1114,7 @@
       </tr>
       <tr>
         <td id="SpeakHeaderProperty"><span class="attr-name">'speak-header'</span></td>
-        <td><a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/tables.html#propdef-speak-header">Section 17.7.1</a></td>
+        <td><a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/aural.html#propdef-speak-header">Section 17.7.1</a></td>
       </tr>
       <tr>
         <td id="SpeakNumeralProperty"><span class="attr-name">'speak-numeral'</span></td>