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

Unified Diff: LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-simple-break.html

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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-simple-break.html
diff --git a/LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-simple-break.html b/LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-simple-break.html
deleted file mode 100644
index 0f7cf107319ac1ec25e725a828e4264e04a746dc..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-simple-break.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<html>
-<head>
- <style>
- article {
- -webkit-flow-into: main;
- }
-
- article > p, #rparent {
- margin: 0;
- font-family: "Ahem";
- font-size: 10px;
- }
-
- section > div {
- -webkit-flow-from: main;
- margin: 0px;
- min-height: 25px;
- max-height: 35px;
- }
-
- #rparent {
- border: 5px solid green;
- width: 700px;
- }
- </style>
- <script src="../../../resources/check-layout.js"></script>
-</head>
-<body onload="checkLayout('#rparent')">
- <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=102099"> Content flows incorrectly in autoheight regions with min/max-height set</a>.</p>
- <p>There are two paragraphs in the flow, with a forced break after the first paragraph. The auto-height regions are consecutive and have both max-height and min-height. The layout algorithm should fill the regions optimally by taking into account the min-height, max-height and height properties of the regions:
- <ul>
- <li> if there's enough content to fill an auto-height region up to max-height, the region must have that height and the content must have an unforced break if it doesn't fit exactly;</li>
- <li> 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;</li>
- <li> if a region has a fixed height, that value must be used;</li>
- <li> if an auto-height region has a forced break before max-height is reached, the region must end at that point.</li>
- </ul>
- </p>
- <p>On success, you should see a PASS at the end of the document.</p>
- <article>
- <p style="-webkit-region-break-after: always;">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 quis, venenatis id enim. Cras a quam ligula. Aliquam hendrerit augue ut metus adipiscing sit amet iaculis purus hendrerit. Phasellus at facilisis lorem. Vestibulum gravida tortor vitae odio accumsan id fringilla ante mattis. Morbi lorem mi, convallis quis gravida dictum, imperdiet quis erat. Sed quam quam, gravida id tincidunt in, tempus id felis. In elementum sem eget enim rutrum tempus scelerisque risus auctor. Duis sollicitudin urna quis ante adipiscing volutpat.</p>
- <p> 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 quis, venenatis id enim. Cras a quam ligula. Aliquam hendrerit augue ut metus adipiscing sit amet iaculis purus hendrerit. Phasellus at facilisis lorem. Vestibulum gravida tortor vitae odio accumsan id fringilla ante mattis. Morbi lorem mi, convallis quis gravida dictum, imperdiet quis erat. Sed quam quam, gravida id tincidunt in, tempus id felis.</p>
- </article>
- <section id="rparent" data-expected-height=335>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- </section>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698