Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp

Issue 2556633002: Revert of Paint collapsed borders of a table as one display item (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp b/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
index adce65d56936c5844337216f99c5d4cb57052b17..1cd5830d4d7221e763c2ff1216c00aca7a140836 100644
--- a/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
+++ b/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
@@ -170,12 +170,11 @@
"100px solid yellow; background: green; }"
" table { margin: 100px; border-collapse: collapse; }"
"</style>"
- "<table id='table'>"
+ "<table>"
" <tr><td id='cell'></td></tr>"
"</table>");
LayoutView& layoutView = *document().layoutView();
- LayoutObject& table = *getLayoutObjectByElementId("table");
LayoutObject& cell = *getLayoutObjectByElementId("cell");
rootPaintController().invalidateAll();
@@ -189,7 +188,7 @@
rootPaintController().getDisplayItemList(), 4,
TestDisplayItem(layoutView, DisplayItem::kDocumentBackground),
TestDisplayItem(cell, DisplayItem::kBoxDecorationBackground),
- TestDisplayItem(table, DisplayItem::kTableCollapsedBorders),
+ TestDisplayItem(cell, DisplayItem::kTableCollapsedBorderLast),
TestDisplayItem(cell, DisplayItem::paintPhaseToDrawingType(
PaintPhaseSelfOutlineOnly)));
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/TableCellPainter.cpp ('k') | third_party/WebKit/Source/core/paint/TablePainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698