summaryrefslogtreecommitdiffstats
path: root/layout/reftests/details-summary/open-details-first-line-2.html
blob: 93af8f4624e058ee0b2ca027026390b0d32156ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->

<html>
  <style>
  summary {
    display: inline; /* ::first-line appiles only to inline element. */
  }

  details::first-line {
    color: blue;
  }
  </style>
  <body>
    <details open>
      <span>This is the details.</span>
      <summary>Summary
        <!-- Need ib-split so that the summary has multiple frames. -->
        <div>Block in summary</div>
      </summary>
    </details>
  </body>
</html>