Re: WHATWG Attribute puzzle

Matthew Raymond wrote:
> I think you mean that the DOM property would be "text" while the 
> markup would have "date"...

No, not true. The DOM property is 'date' obviously, otherwise this whole
Web Forms thing wouldn't work.


>> As a work around, you could possibly make use of a selector that is
>>  commonly supported by Web Forms 2 UAs, but not by non-Web Forms 2
>> UAs. Basically, you'll have to make use of a CSS filter of some
>> kind.
> 
> Something like this?:


I think he meant just a hack, not some other proposal.


>> However, this would fail for any UA that implements the selector
>> used, but not web forms or vice versa.

Not if your assumption was true that the DOM property contained 'text'.


> I think script solutions should be avoided. Problems like this will 
> exist as long as HTML does, and it's likely to appear in XML
> languages as well.

I think this isn't a problem at all.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Tuesday, 5 April 2005 13:56:00 UTC