summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-shadow-parts/interaction-with-placeholder-ref.html
blob: 11943c229a0ea76893039b1306bb38402c71f6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Shadow Parts - Interaction with placeholder</title>
    <meta href="mailto:fergal@chromium.org" rel="author" title="Fergal Daly">
    <link href="http://www.google.com/" rel="author" title="Google">
    <link href="https://drafts.csswg.org/css-shadow-parts/" rel="help">
  </head>
  <body>
    <style>
      #placeholder-i::placeholder { color: green; }
    </style>
    <div>
      The following text should be green:
      <input id="placeholder-i" part="placeholder-p" placeholder="this text"></input>
    </div>
  </body>
</html>