DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (b6d82b1a6b02)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
<!DOCTYPE html>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html lang="en-US">
<head>
  <meta charset="UTF-8">
  <title>CSS Test: CSS display:contents; generated content</title>
  <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=907396">
  <link rel="help" href="http://dev.w3.org/csswg/css-display">
<style type="text/css">
body,html { color:black; background-color:white; }

.test {
  display: inline;
  content: "content";
  color: lime;
}
.contents {
  display: inline;
  color: green;
}
.before::before {
  display: inline;
  content:"before";
}
.after::after {
  display: inline;
  content:"after";
}
</style>
</head>
<body>

<div class="test"><span>A a</span></div>
<div class="test"><span class="contents">t1</span></div>
<div class="test"></div>
<div class="contents before">1<span>B b</span>2</div>
<div class="contents after">1<span>C c</span>2</div>
<div class="contents before after">1<span>D d</span>2</div>
<div class="contents before">1<span class="t5">B b</span>2</div>
<div class="contents after">12</div>
<div class="contents before after">1<span class="t7">D d</span>2</div>

<div class="contents">
  <div class="test"><span>span</span></div>
  <div class="test"><span class="contents">t3</span></div>
  <div class="test"></div>
  <div class="contents before">1<span>span</span>2</div>
  <div class="contents after">1<span>span</span>2</div>
  <div class="contents before after">1<span>span</span>2</div>
  <div class="contents before">12</div>
  <div class="contents after">1<span class="t9">span</span>2</div>
  <div class="contents before after">12</div>
  <div class="contents before">1<span class="t11">span</span>2</div>
  <div class="contents after">12</div>
  <div class="contents before after">1<span class="t13">span</span>2</div>
</div>

<div class="contents"><span class="s1">
  <div class="test"><span>span</span></div>
  <div class="contents before">1<span>span</span>2</div>
  <div class="contents after">1<span>span</span>2</div>
  <div class="contents before after">1<span>span</span>2</div>
</span></div>

<div class="contents"><span class="s2">
  <div class="test"><span>span</span></div>
  <div class="contents before">1<span>span</span>2</div>
  <div class="contents after">1<span>span</span>2</div>
  <div class="contents before after">1<span>span</span>2</div>
</span></div>

<div class="contents"><span class="s3">
  <div class="test"><span>span</span></div>
  <div class="contents before">1<span>span</span>2</div>
  <div class="contents after">1<span>span</span>2</div>
  <div class="contents before after">1<span>span</span>2</div>
</span></div>

<div class="contents"><span class="s4">
  <div class="test"><span>span</span></div>
  <div class="contents before">1<span>span</span>2</div>
  <div class="contents after">1<span>span</span>2</div>
  <div class="contents before after">1<span>span</span>2</div>
</span></div>

<div class="contents"></div>

<div class="contents"></div>

<div class="contents before"><span class="s7">
  <div class="contents before">1<span>span</span>2</div>
  <div class="contents after">1<span>span</span>2</div>
  <div class="contents before after">1<span>span</span>2</div>
</span></div>

<div class="contents after"><span class="s8">
  <div class="contents before">1<span>span</span>2</div>
  <div class="contents after">1<span>span</span>2</div>
  <div class="contents before after">1<span>span</span>2</div>
</span></div>

<div class="contents"><span class="s9">
  <div class="contents before">1<span>span</span>2</div>
  <div class="contents after">1<span>span</span>2</div>
  <div class="contents before after">1<span>span</span>2</div>
</span></div>

<div class="contents before after"><span class="s10">
  <div class="test"><span>span</span></div>
  <div class="contents before">1<span>span</span>2</div>
  <div class="contents after">1<span>span</span>2</div>
  <div class="contents before after">1<span>span</span>2</div>
</span></div>

<div class="contents before"></div>

<div class="contents after"></div>

</body>
</html>