[Webkit-unassigned] [Bug 78905] Padding and border double-counted against percentage height when a child of a table-cell uses box-sizing:border-box

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 17 15:50:35 PST 2012


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





--- Comment #2 from Eric Seidel <eric at webkit.org>  2012-02-17 15:50:35 PST ---
(From update of attachment 127666)
View in context: https://bugs.webkit.org/attachment.cgi?id=127666&action=review

> Source/WebCore/rendering/RenderBox.cpp:-2151
> -        if (includeBorderPadding) {
> -            // It is necessary to use the border-box to match WinIE's broken
> -            // box model.  This is essential for sizing inside
> -            // table cells using percentage heights.
> -            result -= borderAndPaddingLogicalHeight();
> -            result = max<LayoutUnit>(0, result);
> -        }

This looks like it was an intentional quirk?  This didn't change any other test results?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list