summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-div-display-contents.html
blob: 5d17b91290f41db86147dcd80385aecbf19c14c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<title>fieldset and div with display: contents</title>
<link rel=fieldset-foo-ref.html>
<style>
div { display: contents; }
</style>
<p>There should be a normal fieldset below with the legend "Foo".</p>
<fieldset>
 <div>
  <legend>Foo</legend>
 </div>
</fieldset>