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

Unified Diff: LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-constrained-width.html

Issue 879483002: [New Multicolumn] Intrinsic/preferred logical width calculation for spanners. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: final code review Created 5 years, 11 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: LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-constrained-width.html
diff --git a/LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-constrained-width.html b/LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-constrained-width.html
new file mode 100644
index 0000000000000000000000000000000000000000..47418f13642dd827100d3b59075d1876d0c7523f
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-constrained-width.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<script src="../../../resources/check-layout.js"></script>
+<script>
+ onload = function() {
+ document.body.offsetTop; // trigger layout
+ document.getElementById('elm').style.display = 'block';
+ checkLayout('#stf');
+ }
+</script>
+<p>Check that inserting a spanner into the multicol container updates the preferred minimum width.</p>
+<p>You should see a blue square below.</p>
+<div id="stf" style="width:-webkit-min-content; font:20px Ahem; color:blue; background:blue;" data-expected-width="100" data-expected-height="100">
+ <div style="-webkit-columns:3;">
+ <div id="elm" style="display:none; -webkit-column-span:all; height:100px;">
+ xxxxx xxxxx
+ </div>
+ </div>
+</div>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-constrained-width-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698