summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resize-observer/devicepixel-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/resize-observer/devicepixel-ref.html')
-rw-r--r--testing/web-platform/tests/resize-observer/devicepixel-ref.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resize-observer/devicepixel-ref.html b/testing/web-platform/tests/resize-observer/devicepixel-ref.html
new file mode 100644
index 0000000000..a006732015
--- /dev/null
+++ b/testing/web-platform/tests/resize-observer/devicepixel-ref.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<style>
+ #greenrect {
+ width: 100%;
+ height: 100%;
+ border: 1px solid green;
+ box-sizing: border-box;
+ }
+ #outer {
+ padding-top: 1.7px;
+ width: 300.8px;
+ height: 250.1px;
+ }
+ #outer2 {
+ padding-top: 1.4px;
+ width: 300.8px;
+ height: 250.1px;
+ }
+</style>
+<body>
+ <div id="outer">
+ <div id="greenrect"></div>
+ </div>
+ <div id="outer2">
+ <div id="greenrect"></div>
+ </div>
+</body>