Bug 1874684 - Part 17: Fix uninitialised variable warnings from clang-tidy. r=allstarschh
[gecko.git] / layout / reftests / css-display / display-contents-visibility-hidden.html
blob57d6fe3c1d11402de3339468f9f77bda20c3756b
1 <!DOCTYPE html>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <html lang="en-US" class="reftest-wait">
7 <head>
8 <meta charset="UTF-8">
9 <title>CSS Test: CSS display:contents; visibility:hidden</title>
10 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=907396">
11 <link rel="help" href="http://dev.w3.org/csswg/css-display">
12 </head>
13 <body>
14 <div id="x" style="display:contents; visibility: hidden">
15 Line 1
16 </div><script type="text/javascript">
17 document.body.offsetWidth;
18 document.getElementById("x").style.visibility = "visible";
19 document.body.style.color = "green";
20 document.body.offsetWidth;
22 document.documentElement.className = '';
23 </script>
25 </body>
26 </html>