Summary: | Delete button icon does not properly update when the device resolution changes dynamically | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Beth Dakin <bdakin> | ||||||
Component: | Layout and Rendering | Assignee: | Beth Dakin <bdakin> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bdakin | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Beth Dakin
2011-09-09 23:31:09 PDT
Created attachment 107562 [details]
Patch
Comment on attachment 107562 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=107562&action=review > Source/WebCore/ChangeLog:15 > + takes an optional bool parameter indicated whether or not the change affects the > + Editor since page scale changes don't affect Editor. It seems like the bool parameter indicates whether it’s the device scale factor changing or the page scale factor changing. Calling it “affectsEditor” seems kind of wrong. Instead of adding a bool and attaching the deviceScaleFactorChanged work into the existing function, I suggest putting the code to iterate all the frames and call deviceScaleFactorChanged on each editor directly into Page::setDeviceScaleFactor. You wouldn’t have to touch Frame.h/cpp at all. Iterating all the frames in a page is simple and can be done without recursion. Created attachment 107567 [details]
Patch
Thanks! Fixed with revision 95244. |