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

Unified Diff: LayoutTests/fast/repaint/multicol-with-abspos.html

Issue 757933003: Get rid of a lot of special code for RenderFlowThread invalidation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Ahemify and pxify tests. Created 6 years, 1 month 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: LayoutTests/fast/repaint/multicol-with-abspos.html
diff --git a/LayoutTests/fast/repaint/multicol-with-abspos.html b/LayoutTests/fast/repaint/multicol-with-abspos.html
new file mode 100644
index 0000000000000000000000000000000000000000..206f4d1bc535cd05178a7db87b2987b449a198e0
--- /dev/null
+++ b/LayoutTests/fast/repaint/multicol-with-abspos.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+ if (window.internals) {
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ onload = runRepaintTest;
+ } else {
+ onclick = repaintTest;
+ }
+ function repaintTest() {
+ var target = document.getElementById('target');
+ target.style.visibility = 'visible';
+ }
+</script>
+<p>A green rectangle should be seen below (if tested manually, you need to click first).</p>
+<div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:630px; height:40px; font:20px/1 ahem; color:green;">
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <!-- This absolutely positioned box is not part of the flow thread, since the nearest
+ non-statically positioned box is further up than that. -->
+ <div id="target" style="position:absolute; left:0; bottom:0; visibility:hidden;">PASS</div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698