Bug 1243125 - Reftest for floats overflowing container, with diverse writing-modes. r=jfkthame

This commit is contained in:
Oriol 2016-02-03 09:24:29 +00:00
parent 8645f9a238
commit 5ee3cbe6e7
3 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html>
<head>
<title>Bug 1243125 testcase</title>
<meta charset="utf-8">
<style type="text/css">
div {
overflow: hidden;
height: 20px;
width: 300px;
background: green;
margin: 8px 0;
}
</style>
</head>
<body>
<p>There should be 9 green bars</p>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</body>
</html>

View File

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<title>Bug 1243125 testcase</title>
<meta charset="utf-8">
<style type="text/css">
div {
overflow: hidden;
height: 20px;
width: 300px;
background: red;
margin: 8px 0;
}
.h-tb { writing-mode: horizontal-tb; }
.v-lr { writing-mode: vertical-lr; }
.v-rl { writing-mode: vertical-rl; }
span {
float: left;
height: 21px;
width: 301px;
background: green;
}
</style>
</head>
<body>
<p>There should be 9 green bars</p>
<div class="h-tb"><span class="h-tb"></span></div>
<div class="h-tb"><span class="v-lr"></span></div>
<div class="h-tb"><span class="v-rl"></span></div>
<div class="v-lr"><span class="h-tb"></span></div>
<div class="v-lr"><span class="v-lr"></span></div>
<div class="v-lr"><span class="v-rl"></span></div>
<div class="v-rl"><span class="h-tb"></span></div>
<div class="v-rl"><span class="v-lr"></span></div>
<div class="v-rl"><span class="v-rl"></span></div>
</body>
</html>

View File

@ -167,6 +167,8 @@ fuzzy-if(gtkWidget||B2G,255,6) fuzzy-if(cocoaWidget,65,69) == 1193519-sideways-l
== 1216747-1.html 1216747-1-ref.html
!= 1216747-1.html 1216747-1-notref.html
== 1243125-1-floats-overflowing.html 1243125-1-floats-overflowing-ref.html
# Suite of tests from Gérard Talbot in bug 1079151
# Frequent Windows 7 load failed: timed out waiting for test to complete (waiting for onload scripts to complete), bug 1167155 and friends
skip-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) include abspos/reftest.list