[whatwg] Web Forms 2.0 Substantial - Section 2

On Tue, 22 Jun 2004, fantasai wrote:
>
> hehehe. What is the empty string supposed to do if you use it as a regex
> pattern in ECMA?

Matches any empty string in your string. Which is another way of saying
"matches anything", since the empty string is always a substring of any
string...


> 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.

I just changed it to say it matches anything without saying what pattern
it was equivalent to.


>>>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?

   * { binding: none; content: contents; }

...or some such.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 24 June 2004 08:00:40 UTC