Re: [whatwg] Lists and legal documents

2010-02-07 Thread Boris Zbarsky
On 2/6/10 9:13 PM, Tab Atkins Jr. wrote: Nah, rules instyle elements have the same strength as any other author rule, which means that *any* user rule will override it. That's not true. The precedence goes (from least to most important): user author author !important user !important

Re: [whatwg] Lists and legal documents

2010-02-07 Thread Tab Atkins Jr.
On Sun, Feb 7, 2010 at 9:48 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 2/6/10 9:13 PM, Tab Atkins Jr. wrote: Nah, rules instyle  elements have the same strength as any other author rule, which means that *any* user rule will override it. That's not true.  The precedence goes (from least to

Re: [whatwg] Lists and legal documents

2010-02-06 Thread Markus Ernst
Anne van Kesteren schrieb: Legal documents often use various indicators for list items. E.g. a. ... b. ... c. ... or 1. ... 2. ... 3. ... or I. ... II. ... III. ... or A. ... B. ... C. ... etc. These indicators are part of the content and cannot be governed by

Re: [whatwg] Lists and legal documents

2010-02-06 Thread Thomas Broyer
On Fri, Feb 5, 2010 at 4:34 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Since they are indeed part of the content, not a question of style, I'm not seeing anything wrong with putting the marker directly in the content.  Preferably you'd still want to use an ol, though, with list-style:none

Re: [whatwg] Lists and legal documents

2010-02-06 Thread Tab Atkins Jr.
On Sat, Feb 6, 2010 at 4:31 AM, Markus Ernst derer...@gmx.ch wrote: This looks like part of a more general problem to me. There are more situations where you want custom content in the place of list indicators: For example, in a CV you might want the years there: 1977      ... 1978-1982 ...

Re: [whatwg] Lists and legal documents

2010-02-06 Thread Tab Atkins Jr.
On Sat, Feb 6, 2010 at 6:01 AM, Thomas Broyer t.bro...@gmail.com wrote: On Fri, Feb 5, 2010 at 4:34 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Since they are indeed part of the content, not a question of style, I'm not seeing anything wrong with putting the marker directly in the content.

Re: [whatwg] Lists and legal documents

2010-02-06 Thread Markus Ernst
Tab Atkins Jr. schrieb: On Sat, Feb 6, 2010 at 4:31 AM, Markus Ernst derer...@gmx.ch wrote: o ... o ... Simply putting the checkbox as the first content in the li works well for me there. You can then suppress the list-style or not. No, as multiline label text will render as: o ... .

Re: [whatwg] Lists and legal documents

2010-02-06 Thread Tab Atkins Jr.
On Sat, Feb 6, 2010 at 12:17 PM, Markus Ernst derer...@gmx.ch wrote: Tab Atkins Jr. schrieb: On Sat, Feb 6, 2010 at 4:31 AM, Markus Ernst derer...@gmx.ch wrote: o ... o ... Simply putting the checkbox as the first content in the li works well for me there.  You can then suppress the

Re: [whatwg] Lists and legal documents

2010-02-06 Thread David Bruant
Le 05/02/2010 07:21, Anne van Kesteren a écrit : Legal documents often use various indicators for list items. E.g. a. ... b. ... c. ... or 1. ... 2. ... 3. ... or I. ... II. ... III. ... or A. ... B. ... C. ... etc. These indicators are part of the content and

Re: [whatwg] Lists and legal documents

2010-02-06 Thread Tab Atkins Jr.
On Sat, Feb 6, 2010 at 4:18 PM, David Bruant bru...@enseirb-matmeca.fr wrote: One solution could be to use style element with scoped attribute to define a style only for those lists. This way, embedding a document will embed the style element. And if the styles within the style are exhaustive

[whatwg] Lists and legal documents

2010-02-05 Thread Anne van Kesteren
Legal documents often use various indicators for list items. E.g. a. ... b. ... c. ... or 1. ... 2. ... 3. ... or I. ... II. ... III. ... or A. ... B. ... C. ... etc. These indicators are part of the content and cannot be governed by style sheets. End users

Re: [whatwg] Lists and legal documents

2010-02-05 Thread Tab Atkins Jr.
On Fri, Feb 5, 2010 at 9:21 AM, Anne van Kesteren ann...@opera.com wrote: These indicators are part of the content and cannot be governed by style sheets. End users having their own custom style sheets overwriting the indicators with their own preference would be a problem, for instance. I

Re: [whatwg] Lists and legal documents

2010-02-05 Thread Brian Campbell
On Feb 5, 2010, at 10:21 AM, Anne van Kesteren wrote: These indicators are part of the content and cannot be governed by style sheets. End users having their own custom style sheets overwriting the indicators with their own preference would be a problem, for instance. I have seen at least