Add a reftest for relative widths.

This commit is contained in:
Jack Moffitt 2013-07-22 10:47:28 -06:00
parent ddbe1c9c41
commit 806ebe09dd
3 changed files with 33 additions and 0 deletions

View file

@ -1 +1,2 @@
== basic_width_px.html basic_width_em.html
== hello_a.html hello_b.html

View file

@ -0,0 +1,16 @@
<html>
<head>
<style>
html {
font-size: 20px;
}
p {
width: 10em;
border: solid 1px black;
}
</style>
</head>
<body>
<p>hello, wide world</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<html>
<head>
<style>
html {
font-size: 20px;
}
p {
width: 200px;
border: solid 1px black;
}
</style>
</head>
<body>
<p>hello, wide world</p>
</body>
</html>