- From: Philip Fennell <Philip.Fennell@marklogic.com>
- Date: Fri, 9 Feb 2018 09:55:15 +0000
- To: Erik Bruchez <ebruchez@orbeon.com>, Steven Pemberton <steven.pemberton@cwi.nl>
- CC: XForms <public-xformsusers@w3.org>
- Message-ID: <451F5A25-151F-4E56-A556-BE18E785C2AD@marklogic.com>
> 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. +1 From: <ebruchez@gmail.com> on behalf of Erik Bruchez <ebruchez@orbeon.com> Date: Thursday, 8 February 2018 at 19:13 To: Steven Pemberton <steven.pemberton@cwi.nl> Cc: XForms <public-xformsusers@w3.org> Subject: Re: inline vs inline-block Resent-From: <public-xformsusers@w3.org> Resent-Date: Thursday, 8 February 2018 at 19:13 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<mailto: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 Friday, 9 February 2018 09:55:48 UTC