Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-lists/details-open.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Test: list-item counter with details open </title> <link rel="author" href="mailto:sakhapov@chromium.org"> <link rel="match" href="details-open-ref.html"> <link rel="help" href="https://html.spec.whatwg.org/multipage/grouping-content.html#the-li-element"> <details> <summary>Expand me</summary> <ol style="margin: 0; padding: 0; list-style-position: inside;"> <li value="5">Should be numbered 5</li> </ol> </details> <script> document.documentElement.offsetTop; document.querySelector("details").setAttribute("open", ""); </script>
/css/css-lists/details-open-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Reference File: list-item counter with details open </title> <link rel="help" href="https://html.spec.whatwg.org/multipage/grouping-content.html#the-li-element"> <details open> <summary>Expand me</summary> <div>5. Should be numbered 5</div> </details>