Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!-- 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="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>