Re: [whatwg] Alignment of empty buttons

On 11/22/13 9:41 PM, Ian Hickson wrote:
> Sure, <option>s are replaced elements either.

You mean aren't?

Except in UAs where they seem to be, right?

For what it's worth, <select> didn't use to be in Gecko either, in this 
sense, until we made it so in 
https://bugzilla.mozilla.org/show_bug.cgi?id=591619

> I agree that it's vaguer than ideal, and it might be wrong, but it's not
> _that_ vague. It says "An element whose content is outside the scope of
> the CSS formatting model", and <button>s contents aren't outside the scope
> of the CSS formatting model. It seems pretty cut and dry to me.

Is <svg:foreignObject> a replaced element?  Why or why not?

Maybe my point is that this definition has little to do with what UAs 
are actually doing...

> Well, then we should fix CSS.

Imo, yes.

-Boris

Received on Saturday, 23 November 2013 02:58:04 UTC