- From: Erik Bruchez <ebruchez@orbeon.com>
- Date: Thu, 8 Feb 2018 11:11:44 -0800
- To: Steven Pemberton <steven.pemberton@cwi.nl>
- Cc: XForms <public-xformsusers@w3.org>
Received on Thursday, 8 February 2018 19:13:00 UTC
I suspect that when XForms 1.0 came out, inline-block was not quite a thing yet. For example [1] Firefox 2 from late 2006 had this behind a flag. I don't know if the default should be inline-block though. In fact, I don't know if any default is useful in practice, as you usually want to layout a form in a very specific way and no default is likely to be acceptable. -Erik [1] https://caniuse.com/#feat=inline-block On Tue, Feb 6, 2018 at 2:50 AM, Steven Pemberton <steven.pemberton@cwi.nl> wrote: > Throughout the spec we distinguish between block and inline display. > > For instance: "Unless otherwise specified, controls have an inline layout > by default (e.g. for a host language that supports CSS, the default styling > should be display:inline)." > > However, if I ever explicitly set a display property in the CSS to inline, > it almost always to display: inline-block, principally because you can set > height and width. > > Should be specify this? > > Steven > >
Received on Thursday, 8 February 2018 19:13:00 UTC