- From: Øyvind Stenhaug <oyvinds@opera.com>
- Date: Wed, 15 Jun 2011 18:04:28 +0200
- To: "www-style@w3.org" <www-style@w3.org>
Hi, regarding the definition of "list-style-position: outside", I see there has been some back and forth. The latest WD (dated 24 May 2011), although still missing a lot of detail, seemed to show some promise w.r.t. picking a simple and predictable approach for horizontal alignment. Not sure about choosing the list item's *parent* as a reference, though. For instance, depending on which edge is actually referred to, it might not work well with current UA stylesheets for HTML (where the space needed by an 'outside' list marker is provided by padding on ul/ol). In the editor's draft, 'hanging' has been removed from section 4, but its behavior seems to have been transferred to 'outside'. As written, it has a lot of issues (e.g. marker will overlap border, marker can end up in the middle of a table, several tests in the CSS 2.1 suite are being contradicted). It also seems inconsistent with what's being specified in section 7 (position:marker), and I'm not sure which one is intended to apply (or what the relationship between these sections are). To me it seems to make sense to align to the "start" edge of the border area of the list-item's principal box. Vertically it seems trickier, it should probably align to the first linebox satisfying some criteria (e.g. in-flow), creating one if none exists. Is this a sensible starting point? -- Øyvind Stenhaug Core Norway, Opera Software ASA
Received on Wednesday, 15 June 2011 16:04:57 UTC