Re: [dev-servo] dev-servo Digest, Vol 17, Issue 1

2013-07-03 Thread Leo Meyerovich
On Jul 3, 2013, at 6:07 PM, David Herman wrote: > Seems like the hard part of this is that you can't predict when JS will > modify the DOM or CSS in ways that break you out of a subset. That makes the > asm.css idea -- particularly the part about "snapping" into a guaranteed fast > path with

Re: [dev-servo] dev-servo Digest, Vol 17, Issue 1

2013-07-03 Thread David Herman
Seems like the hard part of this is that you can't predict when JS will modify the DOM or CSS in ways that break you out of a subset. That makes the asm.css idea -- particularly the part about "snapping" into a guaranteed fast path with no fallback once you can prove you're in it for good -- har

Re: [dev-servo] dev-servo Digest, Vol 17, Issue 1

2013-07-01 Thread Leo Meyerovich
"asm.css" sounds fascinating. In the case of epub, are the CSS selectors somehow unique to a subdocument as well, or is it just the subsequent layout/rendering computation? And how different is it from, say, an iframe? Google and many others preprocess their layouts, so providing fast subsets