[whatwg] Alignment of empty buttons
Boris Zbarsky
bzbarsky at MIT.EDU
Thu Sep 5 18:57:37 PDT 2013
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
More information about the whatwg
mailing list