W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2014

Re: Encapsulating CSS in Shadow DOM

From: Marc Fawzi <marc.fawzi@gmail.com>
Date: Wed, 20 Aug 2014 09:20:16 -0700
Message-ID: <CACioZis9gTD_wZf1uE1atuOUw9W9wcq4cpfP_b9atrvYAbP2PQ@mail.gmail.com>
To: Henrik Haugberg <henrik.haugberg@gmail.com>
Cc: public-webapps <public-webapps@w3.org>
Hmm. I thought that's part of the purpose of Web Component, i.e. to
encapsulate CSS and JS? Is it not so?

On Wed, Aug 20, 2014 at 1:42 AM, Henrik Haugberg <henrik.haugberg@gmail.com>

> I am hoping it will be possible to have root em like font size based
> values, but based on the shadow root (or host) when using shadow dom. Like
> 10hem (host em) or something like that. That would make it a lot easier to
> make scalable widgets/components where only one or a few css properties
> would have to be changed when scaling the content in different contexts.
> I have described this in more detail here:
> http://stackoverflow.com/questions/24953647/font-size-css-values-based-on-shadow-dom-root
Received on Wednesday, 20 August 2014 16:21:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:26 UTC