This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22157 - Specify padding in expected rendering of legend
Summary: Specify padding in expected rendering of legend
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.cs.tut.fi/~jkorpela/html/f...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-24 09:14 UTC by Jukka K. Korpela
Modified: 2013-06-18 22:37 UTC (History)
2 users (show)

See Also:


Attachments

Description Jukka K. Korpela 2013-05-24 09:14:57 UTC
Please add the following to 14.3.12 (The fieldset element):

legend { padding-left: 2px; padding-right: 2px; }

This corresponds to browser practice (tested Chrome, Firefox, IE), and it is useful for preventing letters from touching the border of the fieldset element.
Comment 1 Ian 'Hixie' Hickson 2013-06-11 22:23:19 UTC
Do you have a link to the tests you used for this, by any chance?
Comment 2 Jukka K. Korpela 2013-06-12 05:52:13 UTC
(In reply to comment #1)
> Do you have a link to the tests you used for this, by any chance?

I had tested locally, but now I’ve set up online test at
http://www.cs.tut.fi/~jkorpela/html/fieldset.html
Comment 3 Ian 'Hixie' Hickson 2013-06-18 22:35:52 UTC
Thanks, that's perfect!
Comment 4 contributor 2013-06-18 22:37:22 UTC
Checked in as WHATWG revision r7987.
Check-in comment: Make <legend> styles match reality.
http://html5.org/tools/web-apps-tracker?from=7986&to=7987