Index: LayoutTests/fast/regions/auto-size/autoheight-maxheight-simple-break.html |
diff --git a/LayoutTests/fast/regions/auto-size/autoheight-maxheight-simple-break.html b/LayoutTests/fast/regions/auto-size/autoheight-maxheight-simple-break.html |
deleted file mode 100644 |
index ddf5e79da1622176f4a5199c14f750bdd3ce20d8..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/regions/auto-size/autoheight-maxheight-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: 0px; |
- 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 only max-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=215> |
- <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> |