Index: LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-mixed-break-hbt.html |
diff --git a/LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-mixed-break-hbt.html b/LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-mixed-break-hbt.html |
deleted file mode 100644 |
index 21553c86ee7f33f7c919b4f79a4777f4b580bfce..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-mixed-break-hbt.html |
+++ /dev/null |
@@ -1,72 +0,0 @@ |
-<html style="-webkit-writing-mode: horizontal-bt;"> |
-<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; |
- } |
- |
- .fixed { |
- height: 25px; |
- } |
- |
- .minmax1 { |
- min-height: 30px; |
- max-height: 35px; |
- } |
- |
- .minmax2 { |
- min-height: 15px; |
- max-height: 20px; |
- } |
- </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, the first having a forced break. The auto-height regions are interleaved with fixed height regions and have min/max-height set. 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> |
- The algorithm should also take into account the horizontal bottom-up writing mode. |
- </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=285> |
- <div class="minmax1"></div> |
- <div class="fixed"></div> |
- <div class="minmax2"></div> |
- <div class="fixed"></div> |
- <div class="minmax1"></div> |
- <div class="fixed"></div> |
- <div class="minmax2"></div> |
- <div class="fixed"></div> |
- <div class="minmax1"></div> |
- <div class="fixed"></div> |
- <div class="minmax2"></div> |
- </section> |
-</body> |
-</html> |