[Webkit-unassigned] [Bug 176620] In regular block layout, the width of a child's margin box should always be equal to that of its containing block

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 20 11:22:45 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=176620

--- Comment #9 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 321174
  --> https://bugs.webkit.org/attachment.cgi?id=321174
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=321174&action=review

> Source/WebCore/rendering/RenderBox.cpp:2453
> +            computedValues.m_margins.m_start = 
> +                newMarginTotal - computedValues.m_margins.m_end;

Don't wrap these lines.

> Source/WebCore/rendering/RenderBox.cpp:2456
> +            computedValues.m_margins.m_end = 
> +                newMarginTotal - computedValues.m_margins.m_start;

Ditto.

> LayoutTests/fast/block/over-constrained-auto-margin.html:21
> +        <script>

I think this test could just dump the render tree, and not run any script.

-- 
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/20170920/974cf4f3/attachment-0001.html>


More information about the webkit-unassigned mailing list