aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/test/ref/basic.list1
-rw-r--r--src/test/ref/basic_width_em.html16
-rw-r--r--src/test/ref/basic_width_px.html16
3 files changed, 33 insertions, 0 deletions
diff --git a/src/test/ref/basic.list b/src/test/ref/basic.list
index ba962ad1a82..e9140ef13d4 100644
--- a/src/test/ref/basic.list
+++ b/src/test/ref/basic.list
@@ -1 +1,2 @@
+== basic_width_px.html basic_width_em.html
== hello_a.html hello_b.html
diff --git a/src/test/ref/basic_width_em.html b/src/test/ref/basic_width_em.html
new file mode 100644
index 00000000000..160e2fa1ecb
--- /dev/null
+++ b/src/test/ref/basic_width_em.html
@@ -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>
diff --git a/src/test/ref/basic_width_px.html b/src/test/ref/basic_width_px.html
new file mode 100644
index 00000000000..660fa676246
--- /dev/null
+++ b/src/test/ref/basic_width_px.html
@@ -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>