RESOLVED FIXED 17301
(Acid3) width/height media queries need to use the correct viewport and update on viewport-resize
https://bugs.webkit.org/show_bug.cgi?id=17301
Summary (Acid3) width/height media queries need to use the correct viewport and updat...
Dave Hyatt
Reported 2008-02-10 17:32:56 PST
width/height media queries are always being evaluated with respect to the top-level frame. This is wrong.
Attachments
Work in progress (15.40 KB, patch)
2008-02-10 17:43 PST, Dave Hyatt
no flags
Patch for review (21.92 KB, patch)
2008-02-21 14:58 PST, Dave Hyatt
oliver: review+
Dave Hyatt
Comment 1 2008-02-10 17:33:44 PST
This is the reason test 46 of Acid3 now fails.
Dave Hyatt
Comment 2 2008-02-10 17:43:48 PST
Created attachment 19055 [details] Work in progress This patch gets us further in the media queries section. However, we fail once the viewport is dynamically resized. In order to pass we'll need to record the fact that we are "viewport-sensitive" and force a complete style recalc on every resize (ugh).
Dave Hyatt
Comment 3 2008-02-21 14:58:53 PST
Created attachment 19262 [details] Patch for review
Oliver Hunt
Comment 4 2008-02-21 16:01:32 PST
Comment on attachment 19262 [details] Patch for review r=me with a testcase -- text only if possible :D
Dave Hyatt
Comment 5 2008-02-21 16:16:34 PST
Fixed in r30466-7.
Note You need to log in before you can comment on or make changes to this bug.