Selects should scale when rendering while zoomed
[WebKit-https.git] / Source / WebCore / ChangeLog
index ff104b84c524c7b296b9ce6928e1d3f826b00f12..156c3c1dd4d9c33e1a3d24b1571538f8048e6fe0 100644 (file)
@@ -1,3 +1,17 @@
+2015-08-13 Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        Selects should scale when rendering while zoomed
+        https://bugs.webkit.org/show_bug.cgi?id=147868
+
+        Reviewed by Daniel Bates.
+
+        When rendering zoomed <select> elements, draw to an image buffer instead of drawing directly
+        into the context. This allows us to scale the image buffer up before rendering.
+
+        * rendering/RenderThemeMac.mm:
+        (WebCore::RenderThemeMac::paintMenuList): Use ThemeMac::drawCellOrFocusRingWithViewIntoContext
+            to render search fields, utilizing an offscreen image buffer only when necessary.
+
 2015-08-13  Alex Christensen  <achristensen@webkit.org>
 
         [Win] Unreviewed build fix after r188388.