[whatwg] WA1: <li> processing
ian at hixie.ch
Tue Nov 6 14:46:07 PST 2007
On Tue, 23 Aug 2005, fantasai wrote:
> # If the attribute's value cannot be converted to a number, it is treated
> # as if the attribute was absent. The attribute has no default value.
> "The attribute's value is treated as if the attribute was absent"
> doesn't make a whole lot of sense to me. Did you mean a different 'it'?
> # The value attribute is processed by the parent ol element, if there is one.
> # If there is not, the attribute has no effect.
> The first sentence makes no sense. What does it mean for an element to
> "process" another element's attribute? I thought the UA processed the
I can't find that text in the spec anymore.
> Is the second sentence meant to imply that when the parent is not <ol>
> the value DOM attribute reflects a missing 'value' attribute rather than
> whatever value the 'value' attribute actually has? If so, you should
> make it more explicit. If not, you should make /that/ explicit.
I think the spec makes sense now.
> # Each subsequent item in the list has the ordinal value given by its value
> # attribute, if it has one, or, if it doesn't, the ordinal value of the
> # previous item, plus one.
> The instructions in the <ol> section seem to omit any reference to the
> number conversion step described in the <li> section.
I don't understand what you mean.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg