Keith Clark

Results 56 comments of Keith Clark
trafficstars

> What scroll are you watching? document.body? document.documentElement? An element in the DOM? It could be one, or all of the above. For each `` element the script walks up...

My first stab at resolving the position of an element was to use `elem.getBoundingClientRect()`. However, the resulting rectangle appears be the bounds of the element _after_ any transforms have been...

> you're looping through everything in this way because you're factoring in parent's perspective and perspective-origin and need to apply each matrix from the parent essentially? Exactly. It's a shame...

That's definitely worth looking into. I'd be interested to see if that approach is faster or slower than walking the DOM.

I had a stab at this. The theory worked as expected but in practice there were too many side-effects to be useful. * Switching from the current transform to `none`...

I may have a partial solution for this. As part of a different issue I'm working on to support models nested in DOM elements with CSS `overflow`, I've had to...

I like this idea but I'm not sure how much control is available from the extension icon menu. I'll have a look through the docs to see if there's an...

This isn't a viable fix for handling modifications to the DOM. Running selectivizr a second time in this way won't remove any CSS class names applied during the first execution....

I'd *really* like to see this feature too. I use a `TileAttributes` enum that distills down to a bit mask in my game engine. I can assign multiple enum values...