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

Side by Side Diff: LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-simple-break-expected.txt

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 Test for Content flows incorrectly in autoheight regions with min/max-height set .
2
3 There are two paragraphs in the flow, with a forced break after the first paragr aph. The auto-height regions are consecutive and have both max-height and min-he ight. The layout algorithm should fill the regions optimally by taking into acco unt the min-height, max-height and height properties of the regions:
4
5 if there's enough content to fill an auto-height region up to max-height, the re gion must have that height and the content must have an unforced break if it doe sn't fit exactly;
6 if an autoheight region has min-height and there's not enough content / there's a forced break before min-height, the region must still be min-height tall;
7 if a region has a fixed height, that value must be used;
8 if an auto-height region has a forced break before max-height is reached, the re gion must end at that point.
9 On success, you should see a PASS at the end of the document.
10
11 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet dolor at felis euismod tempus nec eget lacus. Aliquam tortor orci, accumsan id rutrum qu is, venenatis id enim. Cras a quam ligula. Aliquam hendrerit augue ut metus adip iscing sit amet iaculis purus hendrerit. Phasellus at facilisis lorem. Vestibulu m gravida tortor vitae odio accumsan id fringilla ante mattis. Morbi lorem mi, c onvallis quis gravida dictum, imperdiet quis erat. Sed quam quam, gravida id tin cidunt in, tempus id felis. In elementum sem eget enim rutrum tempus scelerisque risus auctor. Duis sollicitudin urna quis ante adipiscing volutpat.
12 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet dolor at felis euismod tempus nec eget lacus. Aliquam tortor orci, accumsan id rutrum qu is, venenatis id enim. Cras a quam ligula. Aliquam hendrerit augue ut metus adip iscing sit amet iaculis purus hendrerit. Phasellus at facilisis lorem. Vestibulu m gravida tortor vitae odio accumsan id fringilla ante mattis. Morbi lorem mi, c onvallis quis gravida dictum, imperdiet quis erat. Sed quam quam, gravida id tin cidunt in, tempus id felis.
13 PASS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698