summaryrefslogtreecommitdiff
path: root/layout/reftests/details-summary/open-details-first-line-1.html
blob: a579d03425e3af5908f9476972942d0909220168 (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>
      <summary>Summary
        <!-- Need ib-split so that the summary has multiple frames. -->
        <div>Block in summary</div>
      </summary>
      <span>This is the details.</span>
    </details>
  </body>
</html>