W3C home > Mailing lists > Public > www-style@w3.org > June 2012

[css-regions] Shadow DOM and Regions CSSOM

From: Andrei Bucur <abucur@adobe.com>
Date: Wed, 20 Jun 2012 15:20:39 +0100
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <CC07B6E7.357A5%abucur@adobe.com>

Currently the CSS Regions spec doesn't mention what happens with regions
that are part of a shadow tree. The NamedFlow interface exposes the
getRegions API that "returns the sequence of regions in the region chain
associated with the named flow". I suppose the CSSOM needs to be adapted
to take into account the shadow boundaries.

One way to do it is to add NamedFlow accessor APIs to the shadow root
object, similar to what's available on the Document. The NamedFlow objects
returned using the new API will provide access to the regions found in the
shadow tree. The NamedFlow objects returned from the host document give
access only to the regions above the shadow boundary.

Received on Wednesday, 20 June 2012 14:21:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:35:11 UTC