Re: [whatwg] Alignment of empty buttons

On 9/5/13 4:47 PM, Ian Hickson wrote:
> In what sense?

In the sense that if its computed display is "block" but its layout 
behavior is not that of a non-replaced block (CSS 2.1 section 10.3.3 and 
so forth), then it's clearly a replaced element with layout behavior 
defined by something other than CSS.

> The definition of "replaced element" here:
>
>     http://www.w3.org/TR/CSS2/conform.html#replaced-element
>
> ...doesn't seem to apply to <button>. The rendering of <button> is very
> much in CSS' scope, no?

Sure doesn't seem to be, since no UA actually renders <button 
style="display: block"> the way a CSS block renders; they do something 
totally different which is presumably covered by some other spec (e.g. 
HTML).

-Boris

Received on Friday, 6 September 2013 01:58:05 UTC