mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Checking in testcases for bug 282754.
This commit is contained in:
parent
debd246cd3
commit
c9059dca05
38
layout/html/tests/block/bugs/282754-1.html
Normal file
38
layout/html/tests/block/bugs/282754-1.html
Normal file
@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<head>
|
||||
<title>Testcase for bug 282754</title>
|
||||
|
||||
<style type="text/css">
|
||||
p {
|
||||
width: 329px;
|
||||
height: 25px;
|
||||
position: relative;
|
||||
background: red;
|
||||
}
|
||||
|
||||
p.with-overflow-hidden
|
||||
{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
span {
|
||||
background: lime;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p class="with-overflow-hidden"><span></span>Test</p>
|
||||
|
||||
<p class="without-overflow-hidden"><span></span>Test</p>
|
||||
|
||||
</body>
|
||||
</html>
|
13
layout/html/tests/block/bugs/282754-2.html
Normal file
13
layout/html/tests/block/bugs/282754-2.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<style>div.col { -moz-column-count:2; -moz-column-gap:2em }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="col" style="position: absolute; left: 100px; top: 400px; width: 200px; padding:30px; border:1px solid black;">
|
||||
This text is in a positioned box with columns, without scrollbars.
|
||||
<div style="position: absolute; bottom:0; left:0;">BL</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user