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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table/table-section-visual-overflow.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 months 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/LayoutTests/paint/invalidation/table/table-section-visual-overflow.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/table-section-visual-overflow.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/table-section-visual-overflow.html
new file mode 100644
index 0000000000000000000000000000000000000000..30c6546c8ba155c89aaa05c6bdfc6ddfaed27a4a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/table-section-visual-overflow.html
@@ -0,0 +1,48 @@
+<!doctype HTML>
+<style type="text/css">
+ #test
+ {
+ display: table-row-group;
+ outline-color: black;
+ outline-style: solid;
+ outline-width: 10px;
+ }
+ #row
+ {
+ display: table-row;
+ }
+ #table
+ {
+ display: table;
+ table-layout: fixed;
+ /* Position the table to overlap a raster tile only for outline */
+ position: relative;
+ left: 145px;
+ }
+ #cell
+ {
+ display: table-cell;
+ height: 100px;
+ width: 100px;
+ }
+</style>
+<script src="../resources/text-based-repaint.js"></script>
+<div id="table">
+ <div id="test">
+ <div id="row">
+ <div id="cell"></div>
+ </div>
+ </div>
+</div>
+<script>
+window.enablePixelTesting = true;
+function repaintTest() {
+ // Moving to 0px will demonstrate the bug, since the invalidation rectangle will not include
+ // the outline.
+ table.style.left = "0px";
+}
+
+onload = function() {
+ runRepaintTest();
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698