Bug 17614
| Summary: | Media Queries don't work correctly when used to load stylesheets | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dave Hyatt <hyatt> |
| Component: | CSS | Assignee: | Dave Hyatt <hyatt> |
| Status: | ASSIGNED | ||
| Severity: | Normal | CC: | ahmad.saleem792, koivisto, ntim, pknight |
| Priority: | P3 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
Dave Hyatt
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).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
@Antti & @Tim - Can we close this old bug now?