Alan Kemp

Results 7 comments of Alan Kemp

I'm trying to use lagom out of the serenity source tree. Doing this makes it clone serenity into your project, and as part of the build it seems to copy...

To test this I've modified a bit of code I found online to print the styles from an element: ``` function printStyle(e) { const elementStyle = e.style println(elementStyle) for (const...

Also, I investigated why `background-position-x: left` worked, but `background-position-x: right` didn't. And it did not work. Its just that aligning left is the default behaviour, so `background-position-x: left` is a...

Thanks for the tip! Interestingly, ladybird outputs this as pixels from the edge, but Firefox outputs it as a percentage from the top/left. So in ladybird these tests produce "0px,...

I just tried Chrome and see very different behaviour. In Chrome it smoothly scrolls right to the section. Firefox "jumps" rather than scrolls and doesn't go far enough.

Yes, confirmed on Windows 10 as well. Setting Windows Settings > Ease of Access > Display > Show animations in Windows to false makes it snap immediatly to the section.