Summary: | Presentation of fieldsets magically and irreversibly changes when the fieldset contains a legend | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Justin French <justin> | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | UNCONFIRMED --- | ||||||
Severity: | Normal | CC: | justin, max, webkit, zcorpan | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac (Intel) | ||||||
OS: | OS X 10.5 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 188643 | ||||||
Attachments: |
|
Description
Justin French
2009-08-31 22:55:04 PDT
Created attachment 43913 [details]
fieldset/legend example/explaination and CSS equivalent
Two additional points about the visual affect of the legend: * The fieldset's border is masked out in the area beneath the legend's border box, but the fieldset's background is not. * The outer padding edge of the fieldset is aligned to the bottom edge of the legend. The background, however, still reaches to the edge of the border box. Neither of these effects are possible using CSS without additional markup and non-relative, pre-computed padding values. I have attached an HTML document which illustrates the problem in detail and suggests possible CSS equivalents. Proposal to be able to turn off magic for fieldset and legend at https://github.com/whatwg/html/issues/3912 |