[html5] r8348 - [e] (0) Clarify <link sizes> semantics. Fixing https://www.w3.org/Bugs/Public/sh [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Dec 12 13:41:53 PST 2013


Author: ianh
Date: 2013-12-12 13:41:52 -0800 (Thu, 12 Dec 2013)
New Revision: 8348

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clarify <link sizes> semantics.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24014
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-12-12 20:05:51 UTC (rev 8347)
+++ complete.html	2013-12-12 21:41:52 UTC (rev 8348)
@@ -32686,8 +32686,13 @@
   ZERO (0) character and that are separated by a single U+0078 LATIN SMALL LETTER X or U+0058 LATIN
   CAPITAL LETTER X character.</p>
 
-  <p>The keywords represent icon sizes.</p>
+  <p>The keywords represent icon sizes in raw pixels (as opposed to CSS pixels).</p>
 
+  <p class=note>An icon that is 50 CSS pixels wide intended for displays with a device pixel
+  density of two device pixels per CSS pixel (2x, 192dpi) would have a width of 100 raw pixels. This
+  features does not support indicating that a different resource is to be used for small
+  high-resolution icons vs large low-resolution icons (e.g. 50×50 2x vs 100×100 1x).</p>
+
   <div class=impl>
 
   <p>To parse and process the attribute's value, the user agent must first <a href=#split-a-string-on-spaces title="split a

Modified: index
===================================================================
--- index	2013-12-12 20:05:51 UTC (rev 8347)
+++ index	2013-12-12 21:41:52 UTC (rev 8348)
@@ -32686,8 +32686,13 @@
   ZERO (0) character and that are separated by a single U+0078 LATIN SMALL LETTER X or U+0058 LATIN
   CAPITAL LETTER X character.</p>
 
-  <p>The keywords represent icon sizes.</p>
+  <p>The keywords represent icon sizes in raw pixels (as opposed to CSS pixels).</p>
 
+  <p class=note>An icon that is 50 CSS pixels wide intended for displays with a device pixel
+  density of two device pixels per CSS pixel (2x, 192dpi) would have a width of 100 raw pixels. This
+  features does not support indicating that a different resource is to be used for small
+  high-resolution icons vs large low-resolution icons (e.g. 50×50 2x vs 100×100 1x).</p>
+
   <div class=impl>
 
   <p>To parse and process the attribute's value, the user agent must first <a href=#split-a-string-on-spaces title="split a

Modified: source
===================================================================
--- source	2013-12-12 20:05:51 UTC (rev 8347)
+++ source	2013-12-12 21:41:52 UTC (rev 8348)
@@ -35494,8 +35494,13 @@
   ZERO (0) character and that are separated by a single U+0078 LATIN SMALL LETTER X or U+0058 LATIN
   CAPITAL LETTER X character.</p>
 
-  <p>The keywords represent icon sizes.</p>
+  <p>The keywords represent icon sizes in raw pixels (as opposed to CSS pixels).</p>
 
+  <p class="note">An icon that is 50 CSS pixels wide intended for displays with a device pixel
+  density of two device pixels per CSS pixel (2x, 192dpi) would have a width of 100 raw pixels. This
+  features does not support indicating that a different resource is to be used for small
+  high-resolution icons vs large low-resolution icons (e.g. 50×50 2x vs 100×100 1x).</p>
+
   <div class="impl">
 
   <p>To parse and process the attribute's value, the user agent must first <span data-x="split a




More information about the Commit-Watchers mailing list