Bug 527459 - Tests for paddings specified in percent on text inputs. r=bz

This commit is contained in:
Dan Shearmur 2012-08-28 01:21:11 -03:00
parent fe8240cc4a
commit 203ff1e588
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,21 @@
<!doctype html>
<html>
<head>
<style>
.container {
width: 400px;
background: #ddd;
}
.text-input {
width: 200px; /* 50% */
padding: 40px; /* 10% */
background: #fff;
}
</style>
</head>
<body>
<div class="container">
<input type="text" class="text-input" />
</div>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!doctype html>
<html>
<head>
<style>
.container {
width: 400px;
background: #ddd;
}
.text-input {
width: 50%; /* 200px */
padding: 10%; /* 40px */
background: #fff;
}
</style>
</head>
<body>
<div class="container">
<input type="text" class="text-input" />
</div>
</body>
</html>

View File

@ -81,3 +81,5 @@ include output/reftest.list
# progress element
include progress/reftest.list
== input-percentage-padding.html input-percentage-padding-ref.html