diff options
author | Till Schneidereit <till@tillschneidereit.net> | 2015-07-19 18:59:54 +0200 |
---|---|---|
committer | Till Schneidereit <till@tillschneidereit.net> | 2015-07-19 18:59:54 +0200 |
commit | 317d2ac547baa0fdf0f0654562ce76fc0c232f2b (patch) | |
tree | d66726414fd277384e8770d7d522c7f88159cea1 | |
parent | 162ecd0aac1ce8cd924b4f7853f7bfe6ca015348 (diff) | |
download | servo-317d2ac547baa0fdf0f0654562ce76fc0c232f2b.tar.gz servo-317d2ac547baa0fdf0f0654562ce76fc0c232f2b.zip |
Add display: none test
-rw-r--r-- | tests/wpt/mozilla/tests/mozilla/client-top-left-height-width.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/wpt/mozilla/tests/mozilla/client-top-left-height-width.html b/tests/wpt/mozilla/tests/mozilla/client-top-left-height-width.html index 6a43354a1b9..9c22cac1109 100644 --- a/tests/wpt/mozilla/tests/mozilla/client-top-left-height-width.html +++ b/tests/wpt/mozilla/tests/mozilla/client-top-left-height-width.html @@ -63,6 +63,12 @@ background-color: green; display: inline-block; } +#display-none { + width: 100px; + height: 100px; + background-color: green; + display: none; +} </style> </head> <body> @@ -78,6 +84,7 @@ </div> <div id='rotated'>rotated</div> <div id='inline-block'>inline-block</div> + <div id='display-none'>display-none</div> <script> test_rect = function(name, left, top, height, width) { var div = document.getElementById(name); @@ -99,6 +106,7 @@ test_rect('abs3', 0, 0, 40, 48); test_rect('span1', 0, 0, 0, 0); test_rect('inline-block', 0, 0, 100, 100); + test_rect('display-none', 0, 0, 0, 0); }); </script> </body> |