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

Unified Diff: LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-mixed-break-vlr.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-mixed-break-vlr.html
diff --git a/LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-mixed-break-vlr.html b/LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-mixed-break-vlr.html
deleted file mode 100644
index 0e7a86000b8df5e22117ec157b63631e1d5fee89..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/auto-size/autoheight-minmaxheight-mixed-break-vlr.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<html style="-webkit-writing-mode: vertical-lr;">
-<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-width: 0px;
- max-width: 35px;
- }
-
- #rparent {
- border: 5px solid green;
- height: 700px;
- }
-
- .fixed {
- width: 25px;
- }
-
- .minmax1 {
- min-width: 30px;
- max-width: 35px;
- }
-
- .minmax2 {
- min-width: 15px;
- max-width: 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 vertical left-right 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-width=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>

Powered by Google App Engine
This is Rietveld 408576698