Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / css-generated-content / table-table-before-after-child-add.html
1 <style type="text/css">
2     #target::before { content: "BEFORE"; display: table; }
3     #target::after { content: "AFTER"; display: table; }
4 </style>
5 <p>
6     Should say &ldquo;BEFORE CONTENT AFTER CONTENT&rdquo;
7 </p>
8 <div id="not-target" style="display: table">
9     <div>CONTENT</div>
10 </div> CONTENT
11 <script>
12     document.getElementById("not-target").id = "target";
13     document.body.offsetTop;
14     document.body.style.color = "red";
15 </script>
16