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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/inline-block-overflow-repaint.html

Issue 2896363003: Ensure visual overflow from style recalc gets propagated (Closed)
Patch Set: bug 724453 Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/inline-block-overflow-repaint-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/invalidation/inline-block-overflow-repaint.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/inline-block-overflow-repaint.html b/third_party/WebKit/LayoutTests/paint/invalidation/inline-block-overflow-repaint.html
new file mode 100644
index 0000000000000000000000000000000000000000..771cbe203918c460bc5aa80fd49bdc5092670f9b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/inline-block-overflow-repaint.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+p { overflow: hidden; }
+#test1 {overflow:hidden; display: inline-block;}
+#test2 {overflow:hidden; display: block;}
+</style>
+<p> crbug.com/724453: There should be only an outline on the right-hand side and in the descent below the text.</p>
+<p><a href="" id="test1"><span>Text</span></a></p>
+<p> crbug.com/724453: There should be no outline below.</p>
+<p><a href="" id="test2"><span>Text</span></a></p>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script>
+runAfterLayoutAndPaint(function() {
+ test1.style.outline = 'solid 10px black';
+ test2.style.outline = 'solid 10px black';
+}, true);
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/inline-block-overflow-repaint-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698