RE: [css3-regions] more API for NameFlow

Hi Alex,

This sounds good to me (contentNode instead of content).

Vincent

Alex wrote:

Just to be clear on what I am proposing: 'content' property is an array of elements containing all elements that have 'flow-into' property applied. It is NodeList because that's how other APIs return element collections (e.g. getElementByTagName<http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-A6C9094>). I would like to not make assumptions that the collection only has elements though. If in the future there is a way to send content of an element to named flow (Issue 19: Special behavior of iframe flow<http://wiki.csswg.org/spec/css3-regions#issue-19special-behavior-of-iframe-flow>) this will still work.

I am trying to think of a more descriptive name... 'content' actually seems intuitive to me, but let's try something else.
It could be NamedFlow.flowSources. Or NamedFlow.flowContent? NamedFlow.contentNodes?

I guess then NamedFlow.getRegionByContentNode() would also be more explicit.

Alex

Received on Wednesday, 26 October 2011 01:28:46 UTC