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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/pushed-line-affected-by-float.html

Issue 1905923002: Don't lose the pagination strut when a line is re-created. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wrong relative path to resources/ Created 4 years, 8 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/fast/multicol/pushed-line-affected-by-float-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/multicol/pushed-line-affected-by-float.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/pushed-line-affected-by-float.html b/third_party/WebKit/LayoutTests/fast/multicol/pushed-line-affected-by-float.html
new file mode 100644
index 0000000000000000000000000000000000000000..9ff9929fcf5a83fb744451416cbca8e25e7315a2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/pushed-line-affected-by-float.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="../../resources/check-layout.js"></script>
+<style>
+ #multicol { position:relative; columns:2; width:100px; line-height:20px; background:black; }
+ #float { float:right; width:30px; height:30px; background:blue; break-inside:avoid; }
+</style>
+<p>There should be a blue box in the top right corner of the black box.</p>
+<div data-expected-height="40" id="multicol">
eae 2016/04/21 16:44:21 This might be better as a reftest as it currently
mstensho (USE GERRIT) 2016/04/21 18:56:59 Yeah, that's the weakness about check-layout tests
+ x<br>
+ <div data-offset-y="0" id="float"></div>
+ x<br>
+ x<br>
+</div>
+<script>
+ checkLayout("#multicol");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/pushed-line-affected-by-float-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698