Re: HTML <fieldset> rendering

17.01.2014, 20:49, "Tab Atkins Jr." <jackalmage@gmail.com>:
>> šAs long as `appearance: none` removes any special styling and makes styles to apply consistently across browsers, the issue _is_ resolved.
>
> No, it's not, because "appearance:none" isn't applied to the elements
> by default, nor can it ever be. šThe default styling still needs to be
> explained somehow.

Considering current inconsistency of nondefault FIELDSET/LEGEND styling across browsers, it would probably be enough to say in the spec something like this:

    "How to apply author styles to elements which
     by default have special styling (like FIELDSET
     or LEGEND) is up to specific implementations
     and is not regulated by this specification.
     If author wants to achieve consistent results
     across different implementations, he should
     first remove the element's special styling
     by using `appearance: none`."

That (as long as `appearance: none` is actually specced/implemented/unprefixed) would be enough in practice at least from web-developer perspective (and therefore also from implementors' perspective to some considerable extent). (It does not matter for web-deveper what special styles an element has by default; what really matters for web-developer is how to remove/reset that special styling and be able to apply author styles straightforward, consistent and predictable way; and `appearance: none` is [as I understand it] exactly what allows to achieve this for quirky elements like FIELDSET.)

Thanks.

Received on Friday, 17 January 2014 18:57:53 UTC