Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / only-child.html
blobfa855520bbd9ffaca4591148cfcd9cab72809d91
1 <!DOCTYPE html>
2 <style>
3 .b:only-child {
4 color: green;
6 </style>
7 <p id="p"><span></span><span class="b">This text should be green.</span><span></span></p>
8 <script>
9 document.body.offsetTop;
10 p.removeChild(p.firstChild);
11 p.removeChild(p.lastChild);
12 </script>