From 23c3bbfded9543005e57866221975230aa93efa4 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Thu, 31 Mar 2016 13:08:26 +1100 Subject: [PATCH] Feat (splashscreens): remove splash screen from spec (closes #9) --- index.html | 54 +++--------------------------------------------------- 1 file changed, 3 insertions(+), 51 deletions(-) diff --git a/index.html b/index.html index 45dca1e5b..51dae7b2e 100644 --- a/index.html +++ b/index.html @@ -151,17 +151,6 @@

"sizes": "128x128", "density": 2 }], - "splash_screens": [{ - "src": "splash/lowres", - "sizes": "320x240" - }, { - "src": "splash/hd_small", - "sizes": "1334x750" - }, { - "src": "splash/hd_hi", - "sizes": "1920x1080", - "density": 3 - }], "scope": "/racer/", "start_url": "/racer/start.html", "display": "fullscreen", @@ -973,11 +962,6 @@

manifest, manifest URL, and "icons" as arguments. -
  • Let splash screens of parsed manifest be - the result of running the steps for processing an array of - images with manifest, manifest URL, and - "splash_screens" as arguments. -
  • Let scope of parsed manifest be the result of running the steps for processing the scope member with manifest, manifest URL, @@ -1420,38 +1404,6 @@

  • -
    -

    - splash_screens member -

    -
    -

    - The splash_screens - member is an array of image objects that can - serve as a loading screen for the web application. A splash screen - indicates to the end user that a loading process is occurring (in - effect, that the web application is being prepared by the user agent - in the background). As the splash_screens member is an - array of image objects, developers can use unique image - objects definitions to target minimum screen resolutions and pixel - densities. -

    -

    - This feature is primarily intended for user agents that take a - perceptible amount of time to self-initialize (e.g., take longer than - 200ms to be able to render content) - as such, it is OPTIONAL for a - user agent to display a splash screen while the web application is - being loaded. On launching a web application, if displaying a splash - screen, the user agent MUST queue a post-load task on the - Document of the start URL to remove the - splashscreen, or, alternatively can follow platform conventions for - how long a splash screen is displayed (e.g., a minimum of 1 second). -

    -

    - The splash_screens member is processed using the - steps for processing an array of images. -

    -

    icons member @@ -1994,9 +1946,9 @@

    represents an image that is used as part of a web application, suitable to use in various contexts depending on the semantics of the member that is using the object (e.g., an icon that is part of an application - menu, a splashscreen, etc.). For an image object, this specification - provides developers with a means of specifying the dimensions, optimal - pixel density, and media type of an image (i.e., a "responsive image" + menu, etc.). For an image object, this specification provides + developers with a means of specifying the dimensions, optimal pixel + density, and media type of an image (i.e., a "responsive image" solution [[respimg-usecases]]). A user agent can use these values to select an image that is best suited to display on the end-user's device or most closely matches the end-user's preferences.