[Webkit-unassigned] [Bug 185223] New: Floating image margin affects text in preceding and subsequent columns

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 2 15:32:20 PDT 2018


            Bug ID: 185223
           Summary: Floating image margin affects text in preceding and
                    subsequent columns
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bya at 180g.co
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 339358

  --> https://bugs.webkit.org/attachment.cgi?id=339358&action=review

html that shows margin on a floating image moving text in other columns

The attached html shows a floating image that, because it cannot fit in the first column, is shown in the second column. The image, however, has a top and bottom margin that causes its rect to extend beyond the column. It is this margin that incorrectly affects the text in the first and third columns.

Instead, just as setting margin-top on the first paragraph in a column doesn't "push" the paragraph down the column, margin-top on a floating image should not affect the text in the column before it (and similar for margin-bottom and the following column).

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180502/a1ef655d/attachment-0001.html>

More information about the webkit-unassigned mailing list