Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-generated-content / table-before-after-child-add.html
blobc24a3f03e11ed03a6901cbf0c5bba468f4a3f3ce
1 <style type="text/css">
2 #target::before { content: "BEFORE"; }
3 #target::after { content: "AFTER"; }
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>