diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-09-20 14:01:09 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-09-20 14:01:09 +0200 |
commit | 6dbcd09121fe266c7704a524b5cbd7f2754659c0 (patch) | |
tree | 5ae0d16cec0cc61f576d51c57b3a4613c7e91e22 /Source/WebCore/rendering/RenderTableCell.h | |
parent | 6bbb7fbbac94d0f511a7bd0cbd50854ab643bfb2 (diff) | |
download | qtwebkit-6dbcd09121fe266c7704a524b5cbd7f2754659c0.tar.gz |
Imported WebKit commit 080af0beaa6f0ba8ff8f44cb8bd8b5dcf75ac0af (http://svn.webkit.org/repository/webkit/trunk@129119)
New snapshot with prospective build fix for incorrect QtWebKit master module header file creation
Diffstat (limited to 'Source/WebCore/rendering/RenderTableCell.h')
-rw-r--r-- | Source/WebCore/rendering/RenderTableCell.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/Source/WebCore/rendering/RenderTableCell.h b/Source/WebCore/rendering/RenderTableCell.h index f0cb33e51..713f2c0aa 100644 --- a/Source/WebCore/rendering/RenderTableCell.h +++ b/Source/WebCore/rendering/RenderTableCell.h @@ -144,7 +144,7 @@ public: const BorderValue& borderAdjoiningTableStart() const { ASSERT(isFirstOrLastCellInRow()); - if (section()->hasSameDirectionAsTable()) + if (section()->hasSameDirectionAs(table())) return style()->borderStart(); return style()->borderEnd(); @@ -153,12 +153,26 @@ public: const BorderValue& borderAdjoiningTableEnd() const { ASSERT(isFirstOrLastCellInRow()); - if (section()->hasSameDirectionAsTable()) + if (section()->hasSameDirectionAs(table())) return style()->borderEnd(); return style()->borderStart(); } + const BorderValue& borderAdjoiningCellBefore(const RenderTableCell* cell) + { + ASSERT_UNUSED(cell, table()->cellAfter(cell) == this); + // FIXME: https://webkit.org/b/79272 - Add support for mixed directionality at the cell level. + return style()->borderStart(); + } + + const BorderValue& borderAdjoiningCellAfter(const RenderTableCell* cell) + { + ASSERT_UNUSED(cell, table()->cellBefore(cell) == this); + // FIXME: https://webkit.org/b/79272 - Add support for mixed directionality at the cell level. + return style()->borderEnd(); + } + #ifndef NDEBUG bool isFirstOrLastCellInRow() const { |