[Webkit-unassigned] [Bug 14893] New: WebKit confuses width/height for Media Queries device-aspect-ratio evaluation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 6 21:08:30 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14893
Summary: WebKit confuses width/height for Media Queries device-
aspect-ratio evaluation
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: oliver at apple.com
In WebCore/css/MediaQueryEvaluator.cpp the method
device_aspect_ratioMediaFeatureEval() confuses width and height in line 241.
As a result, the MQ evaluation of "device-aspect-ratio" always fails.
To correct the bug, line 241 must read:
return b != 0 && cmpvalue(a * (int)sg.width(), b * (int)sg.height(),
op);
<rdar://problem/5380295>
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list