WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
118485
[CSS Shapes] Content isn't wrapping tightly to zero-width shape segment
https://bugs.webkit.org/show_bug.cgi?id=118485
Summary
[CSS Shapes] Content isn't wrapping tightly to zero-width shape segment
Alan Stearns
Reported
2013-07-08 14:47:23 PDT
Created
attachment 206272
[details]
reftest for Roman writing mode If a polygon is defined to have a zero-width segment - such as polygon(0% 0%, 0% 51%, 100% 100%, 0 100%) - then content that intersects with that segment wraps around the bounding box of the shape instead of up against the shape segment.
Attachments
reftest for Roman writing mode
(978 bytes, application/zip)
2013-07-08 14:47 PDT
,
Alan Stearns
no flags
Details
additional reftest
(1.54 KB, application/zip)
2013-07-08 17:16 PDT
,
Alan Stearns
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alan Stearns
Comment 1
2013-07-08 17:16:04 PDT
Created
attachment 206284
[details]
additional reftest The latest nightly appears to ignore empty shape segments, so the original reftest now passes. I've attached a new reftest that moves the empty segment to the midpoint of the float. Here I'd expect the inline content to start at that midline.
Radar WebKit Bug Importer
Comment 2
2014-01-31 11:22:20 PST
<
rdar://problem/15958849
>
Jon Lee
Comment 3
2014-03-04 21:56:27 PST
What's the latest on this?
Alan Stearns
Comment 4
2014-03-04 22:21:49 PST
We're discussing whether this is a bug in the implementation or a bug in the spec. In either case, I think it's very low-priority - you have to create a fairly degenerate polygon in order to reproduce the problem.
Hans Muller
Comment 5
2014-04-04 14:39:52 PDT
As of the patch for
https://bugs.webkit.org/show_bug.cgi?id=130975
we've addressed this issue. More about the zero-width segment case and the semantics of self-intersecting polygonal shapes can be found here:
http://hansmuller-webkit.blogspot.com/2014/03/a-simpler-algorithm-for-css-shapes.html
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug