[Webkit-unassigned] [Bug 71724] Optimize double border and outline rendering to avoid transparency layers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 15 16:47:26 PST 2011


--- Comment #4 from David Barr <davidbarr at chromium.org>  2011-11-15 16:47:26 PST ---
> Do we have any pixel tests for double outlines? If not, we should.
For outlines we have good coverage. For rounded/alpha non-solid borders, less so.

> > Source/WebCore/rendering/RenderBoxModelObject.cpp:1624
> > +static void calculateThirds(const BorderEdge edges[], RoundedRect& outerThird, RoundedRect& innerThird)
> Can we use this new method in an existing code?

Probably ought to inline it, I think it ultimately will have only the one caller.

> > Source/WebCore/rendering/RenderObject.cpp:1158
> This is copied from BorderEdge::getDoubleBorderStripeWidths(). Please share that code.

Alternatively, reduce the scope of this patch to just optimize the border case and defer unifying the code to:
https://bugs.webkit.org/show_bug.cgi?id=60749 (Border and outline rendering should share code)

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list