[Bug 24387] New: Expose media queries to workers

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24387

            Bug ID: 24387
           Summary: Expose media queries to workers
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM View
          Assignee: simonp@opera.com
          Reporter: jonas@sicking.cc
        QA Contact: public-css-bugzilla@w3.org

We should expose the media-queries API to Web Workers.

This is going to be especially important for ServiceWorkers who will want to
decide which resources to download based on properties of the client.

Since workers don't have a window, we can only expose a subset of the
properties. I.e. properties that are specific to the hardware and not dependent
on the current window size etc.

Things like device-resolution is especially interesting since most of the time
that is hardware dependent. However the user might plug in additional monitors
which might have a different resolution. Not sure what the answer is here.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 24 January 2014 23:22:12 UTC