[Webkit-unassigned] [Bug 14975] Computed size for padding is incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 17 03:13:34 PST 2008


------- Comment #3 from eric at webkit.org  2008-01-17 03:13 PDT -------
This will be simple to fix.  More interesting is what the correct behavior (as
defined by what FF does) in the cases where it is display: none and padding is
specified (either as px or as a %).  Also, what happens when a table cell is
display: none yet the enclosing table has cellpadding specified?  We might have
to break RenderObject::padding() out into a free function which an be passed a
renderer and style (if available).

Also interesting to look at is other CSSComputedStyleDelcaration examples where
if (renderer) is checked, do those cases return invalid css values when
!renderer?  Again, the fix will be simple, we just need some better test cases.

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

More information about the webkit-unassigned mailing list