Created attachment 98054 [details] testcase Attaching a simple testcase that shows a border's color bleeding into the surrounding text. The text should be black, but is getting stuck with the border's blue color.
Created attachment 98060 [details] Patch
Comment on attachment 98060 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=98060&action=review > Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:901 > CGContextSaveGState(context); save() calls CGContextSaveGState() so you can remove that. > Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:918 > CGContextRestoreGState(context); > m_data->endTransparencyLayer(); > m_data->m_userToDeviceTransformKnownToBeIdentity = false; > + > + restore(); restore() calls restorePlatformState() which calls both CGContextRestoreGState() and does m_data->m_userToDeviceTransformKnownToBeIdentity = false so you can remove those lines. > LayoutTests/compositing/color-matching/color-leakage.html:16 > +<html> > + <head> > + <style> > + div { > + color: black; > + border-top: 1px solid blue; > + border-bottom: 1px solid rgba(0,0,0,0.9); > + } > + </style> > +</head> > +<body> > + <div> > + This should be black > + </div> > +</body> > +</html> This test needs to be changed to make the pixel failure more detectable (larger text, use Ahem etc).
Created attachment 98081 [details] Patch
Comment on attachment 98081 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=98081&action=review > LayoutTests/fast/css/color-leakage.html:23 > + This text and the Ahem text above should be black. Remove this text. Put in an HTML comment about the Ahem text being black, to reduce text diffs between platforms.
Comment on attachment 98081 [details] Patch Attachment 98081 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8921152 New failing tests: fast/css/color-leakage.html
Created attachment 98083 [details] Archive of layout-test-results from ec2-cr-linux-01 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-01 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Committed r89397: <http://trac.webkit.org/changeset/89397>
*** Bug 66793 has been marked as a duplicate of this bug. ***