[whatwg] Web Forms 2.0 Substantive - Section 3

3.3. New form controls
----------------------

How are the labels for these buttons derived?


3.5. The repetition model
-------------------------

# html|*[|repeat="template"] { display: none; }

Should that rule be !important?


3.5.1. Addition
---------------

# 6. If the new repetition block has an ID attribute (that is, an attribute
#    specifying an ID, regardless of the attribute's namespace or name), then
#    that attribute's value is used as the template name in the following steps.
#
# 8. The attribute from which the template's name was derived, if any, is
#    removed from the new repetition block element. (See the previous two
#    steps.)

Step 8 leaves the repetition block element without an ID. Instead of removing
the attribute, append the repetition index to it instead. A repetition block
derived from a template with id="tmpl" would thus have an id like id="tmpl8".


~fantasai

-- 
http://fantasai.inkedblade.net/contact

Received on Tuesday, 15 June 2004 06:46:50 UTC