Re: [whatwg] attribute media on script element

2008-12-28 Thread Charles McCathieNevile
On Sat, 15 Nov 2008 08:18:25 +1100, Ian Hickson i...@hixie.ch wrote: On Fri, 14 Nov 2008, Filippo Levizzani wrote: Would it be possible to have media attribute in the SCRIPT element? Addmitted vaues would be the same of STYLE element (all, screen, print, handheld ...) This doesn't really

Re: [whatwg] attribute media on script element

2008-12-28 Thread Ian Hickson
On Mon, 29 Dec 2008, Charles McCathieNevile wrote: On Sat, 15 Nov 2008 08:18:25 +1100, Ian Hickson i...@hixie.ch wrote: On Fri, 14 Nov 2008, Filippo Levizzani wrote: Would it be possible to have media attribute in the SCRIPT element? Addmitted vaues would be the same of STYLE element

[whatwg] attribute media on script element

2008-11-14 Thread Filippo Levizzani
Hi, I don't know if the question has already been posted... Would it be possible to have media attribute in the SCRIPT element? Addmitted vaues would be the same of STYLE element (all, screen, print, handheld ...) Personally, I'd really love this feature. Thank you Kind regards Filippo --

[whatwg] attribute media on script element

2008-11-14 Thread Filippo Levizzani
Hi, Would it be possible to have media attribute in the SCRIPT element? Addmitted vaues would be the same of STYLE element (all, screen, print, handheld ...) Thank you Kind regards Filippo

Re: [whatwg] attribute media on script element

2008-11-14 Thread L. David Baron
On Friday 2008-11-14 11:37 +0100, Filippo Levizzani wrote: Would it be possible to have media attribute in the SCRIPT element? Addmitted vaues would be the same of STYLE element (all, screen, print, handheld ...) I'm not quite sure how this would work, since there are two things that seem

Re: [whatwg] attribute media on script element

2008-11-14 Thread L. David Baron
On Friday 2008-11-14 18:53 +0100, Filippo Levizzani wrote: * whether a media attribute is true can change over time but the same applies to style element , I guess Yes, but styles can be applied and unapplied easily. This seems to imply that we'd have to go un-execute a script, or that

Re: [whatwg] attribute media on script element

2008-11-14 Thread Ian Hickson
On Fri, 14 Nov 2008, Filippo Levizzani wrote: Would it be possible to have media attribute in the SCRIPT element? Addmitted vaues would be the same of STYLE element (all, screen, print, handheld ...) This doesn't really work because media queries are supposed to change dynamically. The