diff options
Diffstat (limited to 'testing/web-platform/tests/quirks/dd-dl-firefox-001.html')
-rw-r--r-- | testing/web-platform/tests/quirks/dd-dl-firefox-001.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/quirks/dd-dl-firefox-001.html b/testing/web-platform/tests/quirks/dd-dl-firefox-001.html new file mode 100644 index 0000000000..96fc76f08f --- /dev/null +++ b/testing/web-platform/tests/quirks/dd-dl-firefox-001.html @@ -0,0 +1,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> |