Bug 17614 - Media Queries don't work correctly when used to load stylesheets
Summary: Media Queries don't work correctly when used to load stylesheets
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P3 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 13:16 PST by Dave Hyatt
Modified: 2023-07-01 10:33 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2008-02-29 13:16:32 PST
Media queries right now are divided into two categories and constructed differently.  "Simple" media queries, e.g., the kind used when examining <link>'s media attribute, do not have enough information to handle certain types of queries correctly.

These queries need to have a pointer to the m_frame, they need a root style to latch on to for resolution of units like em, and they also need a place to hang viewport-dependent query results other than the style selector (since that has not been built yet).
Comment 1 Ahmad Saleem 2023-07-01 10:33:21 PDT
@Antti & @Tim - Can we close this old bug now?