[html5] r1582 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri May 9 00:36:35 PDT 2008


Author: ianh
Date: 2008-05-09 00:36:34 -0700 (Fri, 09 May 2008)
New Revision: 1582

Modified:
   index
   source
Log:
[] (0) Require preprocessing of media queries since CSS doesn't recognise the vertical tab character.

Modified: index
===================================================================
--- index	2008-05-09 07:02:15 UTC (rev 1581)
+++ index	2008-05-09 07:36:34 UTC (rev 1582)
@@ -2324,6 +2324,18 @@
      ECMAScript Bindings defined in the Web IDL specification, as this
      specification uses that specification's terminology. <a
      href="#refsWebIDL">[WebIDL]</a></p>
+
+   <dt id=mq>Media Queries
+
+   <dd>
+    <p>Implementations must support some version of the Media Queries
+     language. However, when applying the rules of the Media Queries
+     specification to media queries found in content attributes of <a
+     href="#html-elements">HTML elements</a>, user agents must act as if all
+     U+000B LINE TABULATION characters in the attribute were in fact U+0020
+     SPACE characters. This is required to provide a consistent processing of
+     <a href="#space" title="space character">space characters</a> in HTML.
+     <a href="#refsMQ">[MQ]</a></p>
   </dl>
 
   <p>This specification does not require support of any particular network
@@ -7677,7 +7689,7 @@
 
   <p>The <dfn id=media0 title=attr-link-media><code>media</code></dfn>
    attribute says which media the resource applies to. The value must be a
-   valid media query. <a href="#refsMQ">[MQ]</a>
+   valid <a href="#mq">media query</a>. <a href="#refsMQ">[MQ]</a>
 
   <p>If the link is a <a href="#hyperlink1" title="hyperlink
    link">hyperlink</a> then the <code title=attr-link-media><a
@@ -8531,9 +8543,9 @@
 
   <p>The <dfn id=media2 title=attr-style-media><code>media</code></dfn>
    attribute says which media the styles apply to. The value must be a valid
-   media query. <a href="#refsMQ">[MQ]</a> User agents must only apply the
-   styles to <span>views</span> while their state match the listed media. <a
-   href="#refsDOM3VIEWS">[DOM3VIEWS]</a>
+   <a href="#mq">media query</a>. <a href="#refsMQ">[MQ]</a> User agents must
+   only apply the styles to <span>views</span> while their state match the
+   listed media. <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a>
 
   <p id=style-default-media>The default, if the <code
    title=attr-style-media><a href="#media2">media</a></code> attribute is
@@ -15272,8 +15284,8 @@
      <li>the <var title="">candidate</var> element has a <code
       title=attr-source-media><a href="#media9">media</a></code> attribute
       and that attribute's value, when processed according to the rules for
-      media queries, does not match the current environment, <a
-      href="#refsMQ">[MQ]</a>
+      <a href="#mq">media queries</a>, does not match the current
+      environment, <a href="#refsMQ">[MQ]</a>
     </ul>
 
     <p>...then the <var title="">candidate</var> is not suitable; go to the
@@ -17310,7 +17322,8 @@
    attribute gives the intended media type of the <a href="#media8">media
    resource</a>, to help the user agent determine if this <a
    href="#media8">media resource</a> is useful to the user before downloading
-   it. Its value must be a valid media query. <a href="#refsMQ">[MQ]</a>
+   it. Its value must be a valid <a href="#mq">media query</a>. <a
+   href="#refsMQ">[MQ]</a>
 
   <p>Either the <code title=attr-source-type><a href="#type8">type</a></code>
    attribute, the <code title=attr-source-media><a
@@ -34025,8 +34038,8 @@
 
   <p>The <dfn id=media12 title=attr-hyperlink-media><code>media</code></dfn>
    attribute describes for which media the target document was designed. It
-   is purely advisory. The value must be a valid media query. <a
-   href="#refsMQ">[MQ]</a> The default, if the <code
+   is purely advisory. The value must be a valid <a href="#mq">media
+   query</a>. <a href="#refsMQ">[MQ]</a> The default, if the <code
    title=attr-hyperlink-media><a href="#media12">media</a></code> attribute
    is omitted, is <code>all</code>.
 

Modified: source
===================================================================
--- source	2008-05-09 07:02:15 UTC (rev 1581)
+++ source	2008-05-09 07:36:34 UTC (rev 1582)
@@ -599,6 +599,21 @@
 
    </dd>
 
+   <dt id=mq>Media Queries</dt>
+
+   <dd>
+
+    <p>Implementations must support some version of the Media Queries
+    language. However, when applying the rules of the Media Queries
+    specification to media queries found in content attributes of
+    <span>HTML elements</span>, user agents must act as if all U+000B
+    LINE TABULATION characters in the attribute were in fact U+0020
+    SPACE characters. This is required to provide a consistent
+    processing of <span title="space character">space
+    characters</span> in HTML. <a href="#refsMQ">[MQ]</a></p>
+
+   </dd>
+
   </dl>
 
   <p>This specification does not require support of any particular
@@ -6107,7 +6122,8 @@
 
   <p>The <dfn title="attr-link-media"><code>media</code></dfn>
   attribute says which media the resource applies to. The value must
-  be a valid media query. <a href="#refsMQ">[MQ]</a></p>
+  be a valid <a href="#mq">media query</a>. <a
+  href="#refsMQ">[MQ]</a></p>
 
   <p>If the link is a <span title="hyperlink link">hyperlink</span>
   then the <code title="attr-link-media">media</code> attribute is
@@ -6903,9 +6919,10 @@
 
   <p>The <dfn title="attr-style-media"><code>media</code></dfn>
   attribute says which media the styles apply to. The value must be a
-  valid media query. <a href="#refsMQ">[MQ]</a> User agents must only
-  apply the styles to <span>views</span> while their state match the
-  listed media. <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a></p>
+  valid <a href="#mq">media query</a>. <a href="#refsMQ">[MQ]</a> User
+  agents must only apply the styles to <span>views</span> while their
+  state match the listed media. <a
+  href="#refsDOM3VIEWS">[DOM3VIEWS]</a></p>
 
   <p id="style-default-media">The default, if the <code
   title="attr-style-media">media</code> attribute is omitted, is
@@ -13255,9 +13272,9 @@
 
      <li>the <var title="">candidate</var> element has a <code
      title="attr-source-media">media</code> attribute and that
-     attribute's value, when processed according to the rules for
-     media queries, does not match the current environment, <a
-     href="#refsMQ">[MQ]</a></li>
+     attribute's value, when processed according to the rules for <a
+     href="#mq">media queries</a>, does not match the current
+     environment, <a href="#refsMQ">[MQ]</a></li>
 
     </ul>
 
@@ -15015,7 +15032,7 @@
   attribute gives the intended media type of the <span>media
   resource</span>, to help the user agent determine if this
   <span>media resource</span> is useful to the user before downloading
-  it. Its value must be a valid media query. <a
+  it. Its value must be a valid <a href="#mq">media query</a>. <a
   href="#refsMQ">[MQ]</a></p>
 
   <p>Either the <code title="attr-source-type">type</code> attribute,
@@ -31844,10 +31861,10 @@
 
   <p>The <dfn title="attr-hyperlink-media"><code>media</code></dfn>
   attribute describes for which media the target document was
-  designed. It is purely advisory. The value must be a valid media
-  query. <a href="#refsMQ">[MQ]</a> The default, if the <code
-  title="attr-hyperlink-media">media</code> attribute is omitted, is
-  <code>all</code>.</p>
+  designed. It is purely advisory. The value must be a valid <a
+  href="#mq">media query</a>. <a href="#refsMQ">[MQ]</a> The default,
+  if the <code title="attr-hyperlink-media">media</code> attribute is
+  omitted, is <code>all</code>.</p>
 
   <p>The <dfn
   title="attr-hyperlink-hreflang"><code>hreflang</code></dfn>




More information about the Commit-Watchers mailing list