• commit-queue@webkit.org's avatar
    top and bottom black background line not getting displayed · bbff4a2f
    commit-queue@webkit.org authored
    Patch by Gurpreet Kaur <k.gurpreet@samsung.com> on 2013-12-10
    Reviewed by Simon Fraser.
    The table cell's background was not being displayed. Since the table
    cell had no child correct offsetWidth was not being set even if table
    width is being defined.
    Test: fast/dom/HTMLTableElement/empy-table-cell-with-background-color.html
    * rendering/AutoTableLayout.cpp:
    cellHasContent should also be set to true incase background color is
    * fast/dom/HTMLTableElement/empy-table-cell-with-background-color-expected.txt: Added.
    * fast/dom/HTMLTableElement/empy-table-cell-with-background-color.html: Added.
    Added new test case to verify that table cell offsetWidth is set even
    when it has no contents but has background color.
    * fast/table/auto-100-percent-width-expected.txt:
    * platform/mac/fast/table/empty-cells-expected.txt:
    * tables/mozilla/bugs/bug1818-6-expected.txt:
    Rebaselining the existing test case as per the new changes. The new
    dimension changes are as per mozilla behaviour. For
    auto-100-percent-width-expected.txt we get 1 px red background because
    if cellHasContent we set columnLayout's minLogicalWidth and
    columnLayout's maxLogicalWidth as 1 initially even if cell is empty.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Last commit
Last update
hittesting Loading commit data...
layering Loading commit data...
mozilla Loading commit data...
mozilla_expected_failures Loading commit data...
table-section-overflow-clip-crash-expected.txt Loading commit data...
table-section-overflow-clip-crash.html Loading commit data...