Bug 101534 - [Cairo] Do not check rounded border all clipped out
Summary: [Cairo] Do not check rounded border all clipped out
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: KyungTae Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-07 18:18 PST by KyungTae Kim
Modified: 2017-03-11 10:57 PST (History)
3 users (show)

See Also:


Attachments
Patch (2.24 KB, patch)
2012-11-07 18:29 PST, KyungTae Kim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description KyungTae Kim 2012-11-07 18:18:40 PST
With r92340, if no corner intersects the clip region, we pretend outerBorder is rectangular to improve performance.
But in Cairo port, a rounded rect border can look different with a rect border because a complex clip handles different with a simple clip in Cairo.
In mobile environment with floating point zoom, it can cause the inconsistency in border that had been painted on several different tiles.
Comment 1 KyungTae Kim 2012-11-07 18:29:45 PST
Created attachment 172909 [details]
Patch
Comment 2 Dominik Röttsches (drott) 2012-11-08 01:01:31 PST
Comment on attachment 172909 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=172909&action=review

> Source/WebCore/rendering/RenderBoxModelObject.cpp:1866
> +// because a complex clip handles different with a simple clip in Cairo.

What do you mean by "handles different with simple clip"? Shouldn't the Cairo backend be fixed then?
Comment 3 Anders Carlsson 2014-02-05 11:07:59 PST
Comment on attachment 172909 [details]
Patch

Clearing review flag on patches from before 2014. If this patch is still relevant, please reset the r? flag.