<attachment> should have an inactive style (gray in background)
[WebKit-https.git] / Source / WebCore / ChangeLog
index b1ad67aa1499b9b234e16e0874c7ded5999bcdf7..72fb7a8b6b70b2df3b80849b084e9cf5dee7890c 100644 (file)
@@ -1,3 +1,19 @@
+2015-02-27  Timothy Horton  <timothy_horton@apple.com>
+
+        <attachment> should have an inactive style (gray in background)
+        https://bugs.webkit.org/show_bug.cgi?id=142103
+        <rdar://problem/19982486>
+
+        Reviewed by Dan Bernstein.
+
+        * rendering/RenderThemeMac.mm:
+        (WebCore::attachmentLabelInactiveBackgroundColor):
+        (WebCore::attachmentLabelInactiveTextColor):
+        (WebCore::RenderThemeMac::paintAttachmentLabelBackground):
+        (WebCore::RenderThemeMac::paintAttachmentLabel):
+        Use a gray background and gray text when the selection containing the
+        attachment isn't focused and active.
+
 2015-02-27  Brady Eidson  <beidson@apple.com>
 
         Add a "block-cookies" rule to the user content filter.