Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-generated-content / table-table-before-after-child-add.html
blob5fcf0a2b582eff664666c73e57f3f7792d762602
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>