LayoutBoxModelObject::HasNonEmptyLayoutSize ignores SVG model objects
Extend the DCHECK to also cover SVG layout objects. The IsBox() check should cover the SVG root, and if it is zero-sized any descendant should not be considered to have a "non-empty" layout size. Overflow is disregarded (as it seems to be in general in this method.) Bug: 769459 Change-Id: Iea15b86032094a15608b614f5baa1057c5d6a686 Reviewed-on: https://chromium-review.googlesource.com/689997Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#505072}
Showing
Please register or sign in to comment