Bug 102948 - [CSS Shapes] Floats should respect shape-inside on a parent element
Summary: [CSS Shapes] Floats should respect shape-inside on a parent element
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://dev.w3.org/csswg/css3-exclusions/
Keywords:
Depends on:
Blocks: 89256 121615
  Show dependency treegraph
 
Reported: 2012-11-21 08:55 PST by Bem Jones-Bey
Modified: 2014-03-27 08:51 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bem Jones-Bey 2012-11-21 08:55:40 PST
A float should respect the shape-inside in situations like:
<div style='shape-inside:rectangle(0, 0, 100px, 100px)'>
 <div>
  <div style='float:left'></div>
  Some inline content...
 </div>
</div>

A good place to look for an example is Check out RenderBlockLineLayout.cpp::layoutExclusionShapeInsideInfo.