chromium/third_party/blink/web_tests/external/wpt/css/css-pseudo/marker-content-012-ref.html

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Reference: ::marker pseudo elements styled with 'content' property</title>
<link rel="author" title="Oriol Brufau" href="mailto:[email protected]">
<style>
:root {
  --red-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="16" style="background: red"></svg>');
  --green-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="16" style="background: green"></svg>');
}
ul {
  float: left;
}
.inside {
  list-style-position: inside;
}
.text, .image {
  list-style-type: none;
  list-style-image: none;
}
.outside.text::before, .outside.image::before {
  display: inline-block;
  direction: rtl;
  width: 0;
}
.text::before {
  content: "text";
}
.image::before {
  content: var(--green-image);
}
</style>
<ul style="list-style-type: none">
  <li class="outside normal">item</li>
  <li class="outside text">item</li>
  <li class="outside image">item</li>
  <li class="inside normal">item</li>
  <li class="inside text">item</li>
  <li class="inside image">item</li>
</ul>
<ul style="list-style-type: decimal">
  <li class="outside normal">item</li>
  <li class="outside text">item</li>
  <li class="outside image">item</li>
  <li class="inside normal">item</li>
  <li class="inside text">item</li>
  <li class="inside image">item</li>
</ul>
<ul style="list-style-type: disc">
  <li class="outside normal">item</li>
  <li class="outside text">item</li>
  <li class="outside image">item</li>
  <li class="inside normal">item</li>
  <li class="inside text">item</li>
  <li class="inside image">item</li>
</ul>
<ul style="list-style-type: 'string'">
  <li class="outside normal">item</li>
  <li class="outside text">item</li>
  <li class="outside image">item</li>
  <li class="inside normal">item</li>
  <li class="inside text">item</li>
  <li class="inside image">item</li>
</ul>
<ul style="list-style-image: var(--red-image)">
  <li class="outside normal">item</li>
  <li class="outside text">item</li>
  <li class="outside image">item</li>
  <li class="inside normal">item</li>
  <li class="inside text">item</li>
  <li class="inside image">item</li>
</ul>