[Webkit-unassigned] [Bug 101222] New: vw, vh, vmax etc within the @viewport rule should be relative to the initial viewport

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 5 08:00:39 PST 2012


           Summary: vw, vh, vmax etc within the @viewport rule should be
                    relative to the initial viewport
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: WebExposed
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kenneth at webkit.org
                CC: peter at chromium.org, tmpsantos at gmail.com

initial viewport: This refers to the viewport before any UA or author styles have overridden the viewport given by the window or viewing area of the UA. Note that the initial viewport size will change with the size of the window or viewing area.

actual viewport: This is the viewport you get after the cascaded viewport descriptors, and the following constraining procedure have been applied.

It seems that ChromeClient::pageRect() currently represents the actual viewport (meaning 1 css unit is not necessarily equal to 1px).

It could make sense to clean up ChromeClient::windowRect and ::pageRect, so that we would have initialViewportRect(), actualViewportRect() and windowRect(). That makes their purpose more clear.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list