W3C home > Mailing lists > Public > www-style@w3.org > October 2013

Re: Insulating part of a HTML document from global CSS

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 16 Oct 2013 22:07:49 +1300
Message-ID: <CAOp6jLbZthEvaQwMMdH0DpeTpMzX4xf4EbeQApW7x2iUg5ezdA@mail.gmail.com>
To: Tom Wardrop <tom@tomwardrop.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Wed, Oct 16, 2013 at 8:53 PM, Tom Wardrop <tom@tomwardrop.com> wrote:

> I tried searching online for this, but came up empty, so I'll ask here.
> Are there any plans to provide a mechanism for insulating part of a HTML
> node tree from globally defined CSS styles? The classic example is the case
> of a web-based email client. Emails contain their own style sheets and
> HTML, but how is one meant to display this within the context of another
> web page without resorting to iframe's. I don't see iframe's as solution as
> they come with scripting, security and usability limitations.

<iframe sandbox> is designed for this, possibly combined with the
"seamless" attribute.

Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
Received on Wednesday, 16 October 2013 09:08:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:03 UTC