summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/the-details-element/summary-display-list-item-002.html
blob: ee32997009ccbd4116c9c256876e87e159f5d7f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Test: summary with 'display: list-item' and flex children</title>
<link rel="author" title="Cameron McCormack" href="mailto:heycam@apple.com">
<link rel="author" title="Sergio Villar Senin" href="mailto:svillar@igalia.com">
<link rel="match" href="summary-display-list-item-002-ref.html">
<link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements">
<style>
summary {
    display: list-item;
    list-style-type: none;
}
/* WebKit does not support list-style-type:none yet */
summary::-webkit-details-marker { display: none; }
</style>
<details style="width: 100px;">
  <summary>
    <div style="display: flex; justify-content: space-between;">
      <div>AAA</div>
      <div>BBB</div>
    </div>
  </summary>
</details>