Bug 155416 - Negative outline offset could break curved outline-style: auto
Summary: Negative outline offset could break curved outline-style: auto
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-13 18:24 PDT by zalan
Modified: 2016-03-14 11:12 PDT (History)
2 users (show)

See Also:


Attachments
Patch (4.80 KB, patch)
2016-03-13 19:40 PDT, zalan
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2016-03-13 18:24:04 PDT
when the abs(offset) value is higher than the border radius value.
Comment 1 zalan 2016-03-13 19:40:19 PDT
Created attachment 273917 [details]
Patch
Comment 2 Tim Horton 2016-03-14 10:11:41 PDT
Comment on attachment 273917 [details]
Patch

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

> Source/WebCore/platform/graphics/PathUtilities.cpp:439
> +        FloatSize adjustedRadius = radius;

I think you can expandedTo/shrunkTo here.
Comment 3 zalan 2016-03-14 11:12:48 PDT
Committed r198142: <http://trac.webkit.org/changeset/198142>