Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / empty-style-reattach.html
blob2506c3a21076cefd05eb0c20a1efbe3eac56db2d
1 <!DOCTYPE html>
3 <style>
4 #empty:empty {
5 display: none;
7 </style>
9 <div id="empty"></div>
11 <script>
12 if (window.testRunner)
13 testRunner.dumpAsText();
15 var isEmpty = true;
16 var div = document.getElementById("empty");
18 function toggle()
20 div.innerHTML = isEmpty ? "Should be visible" : "";
21 isEmpty = !isEmpty;
22 div.offsetLeft;
25 onload = function() {
26 toggle(); // not empty
27 toggle(); // empty
28 toggle(); // not empty
30 </script>