Re: Extending CSSOM Views matchMedium with callback Re: CSS WG comments on View Modes Media Feature spec

2010-04-15 Thread Robin Berjon
On Apr 15, 2010, at 10:47 , Marcos Caceres wrote: > On Apr 14, 2010, at 10:18 PM, Kenneth Christiansen > wrote: >> Oi Marcos, >> >>> # 3.2. Media Type Changed Event Types >>> styleMedia.matchMedium("screen", function() { alert("no longer screen!") }) >> >> So you want it to call back when the m

Re: Extending CSSOM Views matchMedium with callback Re: CSS WG comments on View Modes Media Feature spec

2010-04-15 Thread Marcos Caceres
On Apr 14, 2010, at 10:18 PM, Kenneth Christiansen > wrote: Oi Marcos, # 3.2. Media Type Changed Event Types styleMedia.matchMedium("screen", function() { alert("no longer screen!") }) So you want it to call back when the match is no longer true? or did you mean "not screen" ? Could b

Re: Extending CSSOM Views matchMedium with callback Re: CSS WG comments on View Modes Media Feature spec

2010-04-14 Thread Kenneth Christiansen
Oi Marcos, > # 3.2. Media Type Changed Event Types > styleMedia.matchMedium("screen", function() { alert("no longer screen!") }) So you want it to call back when the match is no longer true? or did you mean "not screen" ? Kenneth -- Kenneth Rohde Christiansen Technical Lead / Senior Software E

Re: Extending CSSOM Views matchMedium with callback Re: CSS WG comments on View Modes Media Feature spec

2010-04-13 Thread Arthur Barstow
All - FYI, I think the next steps here are to hash out some process related issues so I started a related discussion on the public- hypertext-cg mail list: http://lists.w3.org/Archives/Public/public-hypertext-cg/2010AprJun/ 0001.html -Art Barstow On Apr 12, 2010, at 4:12 PM, ext Marcos

Re: Extending CSSOM Views matchMedium with callback Re: CSS WG comments on View Modes Media Feature spec

2010-04-12 Thread Marcos Caceres
On Apr 12, 2010, at 8:50 PM, Simon Fraser wrote: On Apr 12, 2010, at 2:25 AM, Marcos Caceres wrote: On Fri, Mar 26, 2010 at 2:25 PM, Marcos Caceres wrote: On Thu, Mar 18, 2010 at 4:02 PM, Simon Fraser wrote: On Mar 18, 2010, at 6:44 AM, Marcos Caceres wrote: 4. all these queries coul

Re: Extending CSSOM Views matchMedium with callback Re: CSS WG comments on View Modes Media Feature spec

2010-04-12 Thread Simon Fraser
On Apr 12, 2010, at 2:25 AM, Marcos Caceres wrote: > On Fri, Mar 26, 2010 at 2:25 PM, Marcos Caceres wrote: >> On Thu, Mar 18, 2010 at 4:02 PM, Simon Fraser wrote: >>> On Mar 18, 2010, at 6:44 AM, Marcos Caceres wrote: >>> > 4. all these queries could/should have an event-based counterpart

Extending CSSOM Views matchMedium with callback Re: CSS WG comments on View Modes Media Feature spec

2010-04-12 Thread Marcos Caceres
On Fri, Mar 26, 2010 at 2:25 PM, Marcos Caceres wrote: > On Thu, Mar 18, 2010 at 4:02 PM, Simon Fraser wrote: >> On Mar 18, 2010, at 6:44 AM, Marcos Caceres wrote: >> 4. all these queries could/should have an event-based counterpart so the   changes are detectable by code. We understand