[Webkit-unassigned] [Bug 67877] "border: collapse" + "display: none" rows in the tbody while having thead or tfoot doesn't render the opposite border

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 14 02:46:31 PDT 2012


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


Arpita Bahuguna <arpitabahuguna at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arpitabahuguna at gmail.com




--- Comment #3 from Arpita Bahuguna <arpitabahuguna at gmail.com>  2012-05-14 02:45:35 PST ---
Proposed patch added:

When calculating the collapsed before border, for obtaining the section above the current section, we call sectionAbove(). To this the second param should be passed as SkipEmptySections. Thus for the currSection being the top most section of the table, the returned result would be null which should be the expected output, thus enabling the before table border to be applied for the top most section.
Similarly, when calculating the collapsed after border, we call sectionBelow() for obtaining the section following the currSection. To this call as well we should pass the second param as SkipEmptySections so that for the bottom most section null is returned. This would thus apply the after table border to the bottom most section.

This fix causes an existing layout test case's - fast/table/empty-section-crash.html result to be changed. This is expected with the fix and same result is also observed on FF and Opera.
Modified expected files have been currently included only for the Qt platform.

-- 
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