LayoutTests/ChangeLog

 12013-11-14 Radu Stavila <stavila@adobe.com>
 2
 3 Created test for positioned fragmented content which overflows the regions.
 4
 5 [CSS Regions] Fragmented content that is relatively positioned get sliced (and overflows in the next region)
 6 https://bugs.webkit.org/show_bug.cgi?id=117122
 7
 8 Reviewed by NOBODY (OOPS!).
 9
 10 * fast/regions/positioned-fragmented-content-expected.html: Added.
 11 * fast/regions/positioned-fragmented-content.html: Added.
 12
1132013-11-14 Sun-woo Nam <sunny.nam@samsung.com>
214
315 [EFL] Layout tests with text areas need to be rebaselined.

LayoutTests/fast/regions/positioned-fragmented-content-expected.html

 1<!doctype html>
 2<html lang="en">
 3<head>
 4 <meta charset="UTF-8">
 5 <title>Positioned elements</title>
 6 <style>
 7 .region {
 8 margin: 25px;
 9 }
 10
 11 .square {
 12 width: 100px;
 13 height: 100px;
 14 }
 15
 16 .big-square {
 17 width: 150px;
 18 height: 150px;
 19 }
 20
 21 .bordered {
 22 border: 2px dashed red;
 23 }
 24
 25 .float {
 26 float: left;
 27 }
 28
 29 .flow p {
 30 position: relative;
 31 top: 16px;
 32 right: 10px;
 33 margin: 0;
 34 font-size: 16px;
 35 }
 36 </style>
 37</head>
 38<body>
 39 <div class="region bordered big-square float">
 40 <div class="flow">
 41 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, repellat non rerum sit nobis in! Molestias, cumque architecto commodi nam similique? Maiores,</p>
 42 </div>
 43 </div>
 44
 45 <div class="region bordered square float">
 46 <div class="flow">
 47 <p>assumenda aperiam reprehenderit magni eaque autem ducimus earum.</p>
 48 </div>
 49 </div>
 50</body>
 51</html>

LayoutTests/fast/regions/positioned-fragmented-content.html

 1<!doctype html>
 2<html lang="en">
 3<head>
 4 <meta charset="UTF-8">
 5 <title>Positioned elements</title>
 6 <style>
 7 .flow {
 8 -webkit-flow-into: f;
 9 }
 10
 11 .region {
 12 -webkit-flow-from: f;
 13 margin: 25px;
 14 }
 15
 16 .square {
 17 width: 100px;
 18 height: 100px;
 19 }
 20
 21 .big-square {
 22 width: 150px;
 23 height: 150px;
 24 }
 25
 26 .bordered {
 27 border: 2px dashed red;
 28 }
 29
 30 .float {
 31 float: left;
 32 }
 33
 34 .flow p {
 35 position: relative;
 36 top: 16px;
 37 right: 10px;
 38 margin: 0;
 39 font-size: 16px;
 40 }
 41 </style>
 42</head>
 43<body>
 44 <div class="flow">
 45 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, repellat non rerum sit nobis in! Molestias, cumque architecto commodi nam similique? Maiores, assumenda aperiam reprehenderit magni eaque autem ducimus earum.</p>
 46 </div>
 47 <div class="region bordered big-square float"></div>
 48 <div class="region bordered square float"></div>
 49</body>
 50</html>