From 0d32a7f9957362d4c9c8e199333d5b961d1173b5 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Thu, 2 Jan 2014 12:43:22 +1000 Subject: [PATCH] removed mention of icon density (closes #118) --- index.html | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/index.html b/index.html index d71108a81..1d0206355 100644 --- a/index.html +++ b/index.html @@ -122,11 +122,9 @@

"type": "image/webp" }, { "src": "icon/hd_small", - "density": "2", "sizes": "64x64" }, { "src": "icon/hd_hi", - "density": "2", "sizes": "128x128" }] } @@ -834,42 +832,8 @@

Each icon object represents an icon for an application - suitable to use at some dimensions and screen density. + suitable to use in various contexts (e.g., an application menu).

-
-

- density member -

-

- The density member of an icon is the - device pixel density for which this icon was designed. The device - pixel density is expressed as the number of dots per 'px' unit - (equivalent to a dppx as defined in - [[!css3-values]]). The value is a positive number greater than 0. If - the developer ommits the value, the user agent assumes the value - 1. -

-

- The steps for processing a density of an icon are given by - the following algorithm. The algorithm thanks an icon - object as an argument and returns a positive number. -

-
    -
  1. Let value be the result of calling the - [[\GetOwnProperty]] internal method of icon passing - "density" as the argument. -
  2. -
  3. Let result be the result of - parseFloat(value); -
  4. -
  5. If result is NaN, +0, −0, +∞, or −∞, or - less than 0, return 1. -
  6. -
  7. Return result. -
  8. -
-

sizes members