Skip to content

Commit

Permalink
HTML: test fieldset's border gap
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Aug 23, 2018
1 parent e604b5e commit a68b451
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
@@ -0,0 +1,7 @@
<!doctype html>
<title>Reference for fieldset border gap</title>
<style>
div { position: relative; top: 25px; width: 100px; height: 50px; background: lime; }
</style>
<p>There should be no red.</p>
<div></div>
@@ -0,0 +1,10 @@
<!doctype html>
<title>fieldset border gap</title>
<link rel=match href=fieldset-border-gap-ref.html>
<style>
fieldset, legend { margin: 0; padding: 0; }
fieldset { border: none; border-top: 100px solid red; width: 100px; }
legend { width: 100px; height: 50px; background: lime; }
</style>
<p>There should be no red.</p>
<fieldset><legend></legend></fieldset>

0 comments on commit a68b451

Please sign in to comment.