Šime Vidas

Results 57 comments of Šime Vidas

You're not adding CSS-like shorthand code. That's what the developer is doing. You're providing a library that writes HTML `on` attributes, which then enables developers to use `[on~=…]` attribute selectors...

Ok, I’ve looked in the “sessions” database. Passwordless adds a field. It looks like `req.user === req.session.passwordless`. Good to know! Sorry about the confusion; I wasn’t sure how `req.user` relates...

My thinking is that any overview is better than no overview. So, if you'd add just one section with a small list describing a bunch of the most useful items...

Letters along arc is doable with SVG https://twitter.com/argyleink/status/1410589757084667912

It might be worth checking how popular sites implement skip-to-main links. For example, GitHub has a “Skip to content” control that seems to focus this element: ```html ``` which is...

I’d just like to add a quick use-case. I have the following code in my project: ```js // sets aria-current="page" on the current link in updateNav(e) { for (let a...

I did some testing with preact-boilerplate and preact-markup in IE ([code is here](https://github.com/simevidas/preact-boilerplate/commit/a20e822f0dd4af6ae7eeb788f78373ee25085742)), and indeed there is an issue in IE9 (emulated) when using `type="html"`. I get two instances of...

Autoprefixer currently does what is most useful to websites. [The spec](https://drafts.csswg.org/css-images-3/#the-image-rendering) (example 19, figure 4) suggests that `image-rendering: pixelated` should fully preserve pixels. Chrome and Safari support this, but Firefox...

Yes, that is pretty much what I had in mind.

This is great! The next step would be to add information about differences between browsers. For example, Clipboard.writeText() requires activation in Safari and Firefox, but not in Chromium-based browsers (see...