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

> 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