Summary: | [CSS Shapes] line height grows around polygon and incorrectly causes text to wrap to next line | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Rebecca Hauck <rhauck> | ||||||||||||
Component: | CSS | Assignee: | Hans Muller <giles_joplin> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, kondapallykalyan, zoltan | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Bug Depends on: | |||||||||||||||
Bug Blocks: | 98664 | ||||||||||||||
Attachments: |
|
Description
Rebecca Hauck
2014-04-14 10:26:33 PDT
Created attachment 229289 [details]
Test case for bug
Created attachment 229290 [details]
ref file for test
Created attachment 231342 [details] Diagram that illustrates the fix This bug is similar to "[CSS Shapes] shape-outside polygon can fail when line-top intersects a vertex" - https://bugs.webkit.org/show_bug.cgi?id=132132 The fix for 132132 only addressed right floats (oops). The new patch will handle both types of floats. Created attachment 231387 [details] Patch Corrected an earlier PolygonShape fix https://bugs.webkit.org/show_bug.cgi?id=131622. When the top or bottom of a layout line is coincident with a polygon edge vertex, we only consider it an intersection if the edge extends into the line. Created attachment 231389 [details] Patch Corrected the link to https://bugs.webkit.org/show_bug.cgi?id=132132 Comment on attachment 231389 [details]
Patch
r=me
Comment on attachment 231389 [details] Patch Clearing flags on attachment: 231389 Committed r168778: <http://trac.webkit.org/changeset/168778> All reviewed patches have been landed. Closing bug. |