[Bug 12834] LEGEND should be allowed to NOT be exactly first child of FIELDSET ("The legend element" spec section)

https://www.w3.org/Bugs/Public/show_bug.cgi?id=12834

--- Comment #29 from Marat Tanalin | tanalin.com <mtanalin@yandex.ru> 2011-12-05 20:37:55 UTC ---
(In reply to comment #28)
> > How can I show desired result using something that don't allow to achieve this
> > desired result? 
> 
> Any number of ways, e.g. an image, or prose description.

Do I understand correctly that current updated testcase page satisfies you in
this regard?

> > The testcases shows exactly "the rendering I would like".
> 
> In what browser, what version, on what platform?

The testcases shows exactly "the rendering I would like" at least in current
(latest stable) versions of ALL browsers (this is usually implied by default if
nothing else is mentioned) and IE7+ (abstracting from IE6-nonsupported
CSS-selectors, wrapping LEGEND in DIV likely results in same rendering even in
IE6, but I'm just not developing for IE6 for a year already). Just in case,
current versions of browsers are Firefox 8, Chrome 15, Opera 11.5, Safari
5.1.1, IE9 (tested on Windows platform).

> > What exactly don't you understand in the testcases (if any)?
> 
> When I suggest that rendering problems should be fixed by fixing CSS, you
> mention wrappers. Yet I see no wrappers in the rendering on my browser.

How exactly would you want to "see" wrappers (if this is still applicable to
the updated testcase page)? (I, of course, assume by default that the HTML-spec
editor should clearly understand difference between markup and its rendering
result.)

> From looking at your updated test case, as far as I can see, your use case is:
> 
> "I would like to have a fieldset with a border, and I would like the legend of
> that fieldset to be entirely within the border of the fieldset, not straddling
> the fieldset border". Is that correct?

I would like to remove purely theoretical spec-limitation contradicting to real
browser (all current browsers) behavior.

In particular (but NOT limited to), as for _exactly_ the testcase 5 (that
probably is what you are talking about), I want to style LEGEND as if it was
regular block like DIV -- without fantom nonresettable margins, with regular
width, etc. typical for regular block like DIV. Wrapping legend in DIV allows
to achieve this _right now_ in all current browsers while is not bad at all
(more generally, _any_ styleable element should be allowed to be wrapped in DIV
-- that's one of key difference between styleable element and attribute).

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 5 December 2011 20:38:03 UTC