blob: 922a4ecea8605cb82f2804832c13112ce0071fc2 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en" class="reftest-wait">
<meta charset="UTF-8">
<title>CSS Test: String value of list-style-type changing dynamically</title>
<link rel="author" title="Oriol Brufau" href="">
<link rel="help" href="">
<link rel="match" href="list-style-type-string-004-ref.html">
<meta name="assert" content="This test checks that the marker text is updated when list-style-type changes.">
.list { list-style-type: "foo" }
<ol class="list">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
<li>item 4</li>
<ul class="list">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
<li>item 4</li>
<script src="/common/reftest-wait.js"></script>
"use strict";
addEventListener("load", function() {
requestAnimationFrame(() => {
for (const list of document.querySelectorAll(".list")) { = '"bar"';
}, {once: true});