1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22

content / test / data / accessibility / css / pseudo-element-positioned.html [blame]

<!--
@BLINK-ALLOW:htmlTag*
-->
<html>
<head><style>
  div::before, div::after {
    content: "";
    display: block;
  }
  div.positioned::before, div.positioned::after {
    position: absolute;
  }

  div.content::before, div.content::after {
    content: "pseudo";
  }
</style></head>
<body>
    <div>Empty before and after</div>
    <div class="positioned">Empty positioned before and after</div>
    <div class="postioned content">Positioned before and after with content</div>
</html>