mcorlan/css-regions — pull request #1 by oslego (2012-11-01 22:05:23+00:00)
Title: Polyfill object

I'm making some tweaks to the code to make it easier to test. Test suite will follow shortly.

I extracted the polyfill logic from the CSS parser to make it easier to swap with another parser.
I made a Polyfill object which will hold utility functions for the CSS Regions logic.

I propose a Regions CSSOM interface that builds around the Polyfill object. The CSSOM will reproduce 1:1 the spec, as much as feasible.

NamedFlow object with .getRegions, .contentNodes, .overset, etc. This will make it easier to test and understand.

More PR coming soon.