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

Side by Side Diff: LayoutTests/fast/multicol/widows2.html

Issue 263203003: [New Multicolumn] Guard against zero or negative space shortage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review. Created 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <script>
4 if (window.internals)
5 internals.settings.setRegionBasedColumnsEnabled(true);
6 </script>
Julien - ping for review 2014/05/07 01:12:07 Description of the test?
mstensho (USE GERRIT) 2014/05/07 07:33:40 Done.
7 <p>There should be 6 lines in the first column, 5 in the second and 5 in the las t one.</p>
8 <div id="mc" style="-webkit-columns:3; columns:3; -webkit-column-rule:solid; lin e-height:50px;">
Julien - ping for review 2014/05/07 01:12:07 Do we need to use the prefixed properties?
mstensho (USE GERRIT) 2014/05/07 07:33:40 Yes, that's the only thing Blink supports. Should
9 <div style="orphans:1; widows:5;">
Julien - ping for review 2014/05/07 01:12:07 It seems like we don't use the orphan rule so coul
mstensho (USE GERRIT) 2014/05/07 07:33:40 According to the spec (CSS 2.1), the initial value
10 line<br>
11 line<br>
12 line<br>
13 line<br>
14 line<br>
15 line<br>
16 line<br>
17 line<br>
18 line<br>
19 line<br>
20 line<br>
21 line<br>
22 line<br>
23 line<br>
24 line<br>
25 line<br>
26 </div>
27 </div>
28 <script>
29 shouldBe("mc.offsetHeight", "300");
30 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/multicol/widows-expected.txt ('k') | LayoutTests/fast/multicol/widows2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698