mcorlan/css-regions — pull request #5 by oslego (2012-11-05 22:50:22+00:00)
Title: CSSOM

Improved Regions CSSOM and refactoring.

Overview:
- NamedFlow objects are now first class citizens used throughout the polyfill logic
- NamedFlow.getNamedFlows() now returns a Collection
- Global CSSOM methods are exposed in one place
- Unit tests for new functionality

Regions CSSOM coverage:
- document.getNamedFlows() -> Collection of NamedFlows
- .item()
- .namedItem()
- document.getFlowByName()
- NamedFlow.getRegions()
- NamedFlow.contentNodes
- NamedFlow.name
- NamedFlow.overset
- regionLayoutUpdate event

Tested on Chrome (no regions) / Firefox / Safari and iOS

Upcoming refactoring:
- move layout logic inside the NamedFlow object so it can react automatically when regions and contentNodes are manipulated.
- transparent support for vendor prefixes