- From: Dylan Barrell <dylan.barrell@deque.com>
- Date: Mon, 28 Jul 2014 23:13:39 +0000
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: www-style list <www-style@w3.org>
Received on Friday, 8 August 2014 17:08:13 UTC
Tab, Thanks for the answer - the biggest problem with CSSOM is that it does not work with minified CSS. When is that going to be addressed? --Dylan On Wed, Jul 23, 2014 at 2:04 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote: > [sorry for the delay; our moderation queue was just cleared] > > On Wed, Jun 4, 2014 at 6:02 AM, Dylan Barrell <dylan.barrell@deque.com> > wrote: > > I have read through the draft at > http://dev.w3.org/csswg/css-device-adapt/ > > and I cannot find any specification of which HTML node the style > properties > > will be applied against or how they can be read and set from JavaScript. > > > > Is this content still pending? > > The properties in a @viewport rule don't apply to any element, they > apply to the viewport itself. > > They can be read from JS using the normal CSSOM methods - get the > stylesheet object, iterate the rules until you find the @viewport one, > then get its .style property. This isn't particularly convenient (the > CSSOM isn't very well-designed), but it'll do. > > ~TJ > -- Download FireEyes Free: http://www.deque.com/products/worldspace-fireeyes Great minds discuss ideas Average minds discuss events Small minds discuss people
Received on Friday, 8 August 2014 17:08:13 UTC