css-regions-polyfill
css-regions-polyfill copied to clipboard
A javascript implementation of the CSS Regions specification, as of August 2013
Create document.head if it doesn't exist, as it might not when parsing an XHTML file
First things first: this is a **breaking change**! ## What is this about? It is about making sure the polyfill also works nicely with the CSS Multi-column Layout Module (Level...
The CSS property "break-after: region" doesn't seem to work properly. Minimal example that fails: (tested on Chrome 71.0.3578.98 - 64-bit) ```html Document first paragraph second paragraph third paragraph ``` ```...
This fixes the issue in my tests. Instead of some, we now test all elements for the presence of break-before/break-always properties (though not all children, but I guess that is...
### What goes wrong If there is an element with a CSS property `break-before` or `break-after` that also contains children, whose content ends up being split by the `extractOverflowingContent`-method, the...
### What goes wrong Having an element with a CSS property `break-before` set to `region`, `always` or `all` breaks the polyfill in most cases. What happens is that `extractOverflowingContent` will...
*Note:* **This was only tested on Chrome v86** ## Some background After adding content into a region, the polyfill's `extractOverflowingContent` method is being invoked if the content overflows the region....
After using the polyfill to achieve successfully a document preview (content splitted on A4 sheet), I was trying to perform page breaks to make better presentation like forcing page break...
Hi, I do not known if this is an active repo but the hyphenation for portuguese for example is almost always incorrect. Words like "governador", "processos" is showing "g-overnador", "pr-ocessos"....