summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/reference/grid-layout-basic-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/reference/grid-layout-basic-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-grid/reference/grid-layout-basic-ref.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/reference/grid-layout-basic-ref.html b/testing/web-platform/tests/css/css-grid/reference/grid-layout-basic-ref.html
new file mode 100644
index 0000000000..39a84ca498
--- /dev/null
+++ b/testing/web-platform/tests/css/css-grid/reference/grid-layout-basic-ref.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS Grid Layout Reference</title>
+ <link rel="author" title="Leo Deng" href="mailto:myst.dg@gmail.com">
+ <style>
+ body {
+ margin: 0;
+ padding: 0;
+ border: 0 none;
+ }
+ #caseTitle {
+ margin: 10px;
+ height: 40px;
+ }
+ #grid {
+ margin: 0;
+ width: 150px;
+ }
+ .a {
+ background: blue;
+ width: 100px;
+ float:left
+ }
+ .b {
+ background: yellow;
+ width: 50px;
+ float:left;
+ }
+ </style>
+ </head>
+ <body>
+ <p id="caseTitle">The test passes if it has the same visual effect as reference.</p>
+ <div id="grid">
+ <div class="a">&nbsp;</div>
+ <div class="b">&nbsp;</div>
+ </div>
+ </body>
+</html> \ No newline at end of file