mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add a reftest for relative widths.
This commit is contained in:
parent
ddbe1c9c41
commit
806ebe09dd
3 changed files with 33 additions and 0 deletions
|
@ -1 +1,2 @@
|
|||
== basic_width_px.html basic_width_em.html
|
||||
== hello_a.html hello_b.html
|
||||
|
|
16
src/test/ref/basic_width_em.html
Normal file
16
src/test/ref/basic_width_em.html
Normal 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>
|
16
src/test/ref/basic_width_px.html
Normal file
16
src/test/ref/basic_width_px.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue