| 05:34 | <Hixie> | jacobolus: it's relatively new |
| 05:34 | <Hixie> | jacobolus: i don't think anyone's implemented it |
| 05:34 | <jacobolus> | Hixie: I found paul_irish's blog post explaining it |
| 05:34 | <jacobolus> | from like a year back ? |
| 05:34 | <Hixie> | (i wish they would implement it, i need it ;-) ) |
| 05:34 | <Hixie> | sounds about right |
| 05:34 | <Hixie> | maybe 9 months? |
| 05:35 | <jacobolus> | seems to suggest that it's implemented in 3-4 browsers' beta versions, w/ reasonable polyfills |
| 05:35 | <jacobolus> | to tide us over |
| 05:35 | <Hixie> | not aware of any beta implementations, but that would be nice |
| 05:35 | <Hixie> | url? |
| 05:38 | <jacobolus> | Hixie: http://paulirish.com/2011/requestanimationframe-for-smart-animating/ |
| 05:38 | <Hixie> | oh i was talking about scrollPathIntoView |
| 05:38 | <jacobolus> | oh, whoops |
| 05:38 | <jacobolus> | sorry, nevermind |
| 05:38 | <jacobolus> | right, blah |
| 05:38 | <Hixie> | heh |
| 05:39 | <jacobolus> | I was looking at about 3 various specs yesterday, and forgot which I had mentioned in here |
| 05:39 | <jacobolus> | (closed my IRC client, didn't bother to hit the logs) |
| 05:39 | <Hixie> | shouldn't be that hard to make a shim for scrollPathIntoView() |
| 05:39 | <jacobolus> | Hixie: so um, I don't know much about scrollpathintoview... seems like there's very little info about it out there |
| 05:39 | <Hixie> | pretty easy if you limit yourself to rects, anyway |
| 05:39 | <Hixie> | scrollpathintoview is just what it sounds like |
| 05:39 | <Hixie> | scrolls the path into view |
| 05:39 | <jacobolus> | yeah |
| 05:39 | <Hixie> | like element.scrollIntoView() |
| 05:40 | <jacobolus> | Hixie: yeah, nice thing about a rect under an affine transform is that we can get a bounding box just from looking at the vertices |
| 05:40 | <jacobolus> | same as for any polygon, for that matter |
| 05:40 | <jacobolus> | bezier curves get a bit trickier |
| 05:41 | <jacobolus> | it's not *that* hard math to calculate max/minima of affine transformed bezier curve, but it's not quite trivial |
| 05:42 | <jacobolus> | Hixie: apologies for the mind-blank :D |
| 05:42 | <jacobolus> | Hixie: what do you need scrollpathintoview for? |
| 05:42 | <Hixie> | i have a big canvas with animations going on in various parts |
| 05:42 | <Hixie> | and need to scroll the animating bit into view |
| 05:42 | <jacobolus> | huh |
| 05:42 | <Hixie> | (think board games) |
| 05:42 | <jacobolus> | are you making board games? :) |
| 05:43 | <Hixie> | just playing around to see what the api needs |
| 05:43 | <Hixie> | gotta go |
| 05:43 | <Hixie> | bbl |
| 05:50 | <jacobolus> | cheers |