Bug 156742

Summary: [Cairo] GraphicsContext::drawFocusRing methods are not consistent to each other
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2 Keywords: Cairo, LayoutTestFailure
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Try to fix EFL build mrobinson: review+

Description Carlos Garcia Campos 2016-04-19 06:17:47 PDT
We are rendering the focus ring differently depending on whether a path is used or a vector of rectangles. This is causing that some reftests fail because they assume we always render the focus ring the same way. For example fast/images/image-map-outline-in-positioned-container.html, when rendering the test GraphicsContext::drawFocusRing is called with a path, and when rendering the reference it's called with a vector of rectangles, producing different results.
Comment 1 Carlos Garcia Campos 2016-04-19 06:20:55 PDT
Created attachment 276719 [details]
Patch
Comment 2 Carlos Garcia Campos 2016-04-19 06:48:43 PDT
Created attachment 276721 [details]
Try to fix EFL build
Comment 3 Carlos Garcia Campos 2016-04-19 08:10:29 PDT
Committed r199727: <http://trac.webkit.org/changeset/199727>