summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/quirks/dd-dl-firefox-001.html
blob: 96fc76f08f45b800f5e210aee135bf880f8f2d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!-- quirks -->
<title>dd and dl don't have weird text-indent quirks</title>
<link rel="match" href="dd-dl-firefox-001-ref.html">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=782551">
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<style>
  /* Firefox used to (sometimes) implement dd indentation in quirks mode via
     the ::before pseudo-element; this rule should do nothing in compliant
     browsers */
  dd::before { content: "" }
</style>
<div>Prevent quirky dl margin from messing up with us</div>
<dl>
  <dd>One</dd>
  <dl>Two</dl>
</dl>
<dd>Three</dd><dd>Four</dd>