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

Re: [css-regions] Possible change to the Region interface

From: François REMY <francois.remy.dev@outlook.com>
Date: Mon, 30 Sep 2013 18:09:33 +0200
Message-ID: <DUB120-DS49EAAA4C38636869756DFA5140@phx.gbl>
To: "Alan Stearns" <stearns@adobe.com>, "Simon Pieters" <simonp@opera.com>, <www-style@w3.org>
Cc: "Elliott Sprehn" <esprehn@gmail.com>
> It seems odd that I can get from an Element to a PseudoElement, but
> there's no way to get back from the PseudoElement to the Element (or find
> out which PseudoElement it is). Am I missing something?

Yes, this was already discussed here:
http://lists.w3.org/Archives/Public/www-style/2013Aug/0487.html

That being said, maybe creating a different interface and have Element and 
PseudoElement implements a PossibleRegionHost interface (with a 
getRegionInfo() method or something like that) could make sense if we want 
to avoid polluting the Element and PseudoElement interfaces of all objects 
with properties that only make sense in some specific cases only). 
Received on Monday, 30 September 2013 16:10:05 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:32 UTC