[whatwg] Web Forms 2.0 Substantial - Section 2
fantasai
fantasai.lists at inkedblade.net
Tue Jun 22 11:21:44 PDT 2004
Ian Hickson wrote:
>>2.9. The pattern attribute
>>--------------------------
>>
>># If the attribute is empty or omitted then it is equivalent to .* (which,
>># with the implied start and end characters, becomes ^.*$), which matches
>># anything.
>>
>>I'm not too familiar with the details of ECMA regex, but I believe that
>>pattern excludes newlines, which you do not want to do for <textarea>.
>
> Good point. I used a regular expression pattern you hate instead...
hehehe. What is the empty string supposed to do if you use it as a
regex pattern in ECMA?
http://www.jacobsm.com/regexp.htm seems to say "match anything", so
you could define the empty string as being the pattern "" without the
^$ bit.
>>2.16. Handling unexpected elements and values
>>---------------------------------------------
>>
>># Unless otherwise forced to appear by a stylesheet, other child nodes are
>># never visible.
>>...
>># rendering the initial value only, with the rest of the content not displayed
>># (unless forced to appear through some CSS)
>>
>>Forced to appear how? By what CSS?
>
> CSS3 'content', for instance.
Example?
~fantasai
--
http://fantasai.inkedblade.net/contact
More information about the whatwg
mailing list