François REMY
François REMY
This is a polyfill for the csswg draft as it was when I implemented it. The specification underwent a lot of changes since the moment I implemented this polyfill and...
Does that work in other browsers?
I guess you may need to add a check once the region is filled to check if it somehow overflows. If it does, you can start over its layout and...
So, what you want is to relax the "non-null fragmentation" rule so that it accepts to break inside an element in which you should avoid to break if it's the...
The advantage is that, if it's done from there and not upfront, is that I could make the change for everyone without making it too computationnally expensive.
On second thought, my code won't do exactly what you need because it would try to break inside the "avoid-break element" as soon as possible, and not where appropriate. Your...
I'm pretty sure your code will face issues in some edge cases like: ``` region-host (height: 100px) { wrapper (padding: 10px) { element (height: 100px; margin: 10px; break-inside: avoid); }...
The basic idea would be: put everything before the linked line of "extractOverflowContent" in a function "performExtractionPass(acceptBreakInside)" then call it once with the value false. Then, if the condition of...
Right, I meant "extractOverflowingContent". Doing the change I proposed should not affect any method calling "extractOverflowingContent" so there's no need to update "layoutContentInNextRegionsWhenReady".
Out of the blue, I have no idea. Have you tried waiting some more after the page loaded for the polyfill to do its work?