summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-border-gap-negative-margin.html
blob: 563a2aa68d833175767c2fe6507e460c25378d8e (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<title>fieldset border gap with negative margin</title>
<link rel=match href=no-red-ref.html>
<style>
fieldset { border:none; border-left: 100px solid red; margin: 0; padding: 0; height:100px; }
legend { padding: 0; margin-left: -100px; width: 100px; height: 100px; transform: rotate(45deg); }
</style>
<p>There should be no red.</p>
<fieldset>
 <legend></legend>
</fieldset>