Bug 100374 - [Chromium] Repaint issues with subpixel stroke
Summary: [Chromium] Repaint issues with subpixel stroke
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Florin Malita
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-25 06:41 PDT by Florin Malita
Modified: 2013-04-09 17:07 PDT (History)
7 users (show)

See Also:


Attachments
Repaint artifacts on Chromium. (334 bytes, image/svg+xml)
2012-10-25 06:41 PDT, Florin Malita
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florin Malita 2012-10-25 06:41:24 PDT
Created attachment 170627 [details]
Repaint artifacts on Chromium.

Chromium bug: http://code.google.com/p/chromium/issues/detail?id=156597

The attached test exhibits repaint "ghosting" on Chromium.

Subpixel stroke widths trigger Skia's hairline optimization (treating the stroke width as == 1 and modulating the color components). Combined with subpixel positioning, this means that we may end up touching pixels outside the computed repaint rect.

Mike mentioned he's considering addressing this in Skia if he can find a way that doesn't impact the hairline optimization. In the meantime, we could inflate the repaint rect by .5 when USE(SKIA) to make sure we're covering the stroke.
Comment 1 Stephen Chenney 2013-04-09 17:07:28 PDT
Marked LayoutTest bugs, bugs with Chromium IDs, and some others as WontFix. Test failure bugs still are trackable via TestExpectations or disabled unit tests.