Support block content with inline content around floats in shape-inside, look at bug #102846.
Created attachment 213132 [details] proposed patch
Created attachment 213138 [details] proposed patch
Created attachment 213139 [details] proposed patch
Comment on attachment 213139 [details] proposed patch r=me
Comment on attachment 213139 [details] proposed patch Clearing flags on attachment: 213139 Committed r156846: <http://trac.webkit.org/changeset/156846>
All reviewed patches have been landed. Closing bug.
Comment on attachment 213139 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=213139&action=review > Source/WebCore/rendering/RenderBlock.cpp:3371 > + LayoutSize floatLogicalSize = LayoutSize(childBox->logicalWidth(), childBox->logicalHeight()); I just came across this in the code, and it looks completely wrong to me. The floatingObject's dimensions are those of the margin box, and the logicalWidth and Height of the childBox are those of the content box. Floats are supposed to be positioned based on their margins, so this looks like it wouldn't work properly in the case of a float with margins. Am I missing something?
(In reply to comment #7) > (From update of attachment 213139 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=213139&action=review > > > Source/WebCore/rendering/RenderBlock.cpp:3371 > > + LayoutSize floatLogicalSize = LayoutSize(childBox->logicalWidth(), childBox->logicalHeight()); > > I just came across this in the code, and it looks completely wrong to me. The floatingObject's dimensions are those of the margin box, and the logicalWidth and Height of the childBox are those of the content box. Floats are supposed to be positioned based on their margins, so this looks like it wouldn't work properly in the case of a float with margins. Am I missing something? By content box, I mean border box, but same point. :-)