Dima Voytenko

Results 50 comments of Dima Voytenko

Possibly some confusion here. But is the `document.head` support and `documentElement` have to be related? I think we can start with a `document.head == null` for a foreseeable future. But...

I'm afraid calling `preventDefault` in the worker thread is too late - the default action will have already taken place by then. We need to pre-declare `preventDefault` before the event...

We've run a fairly large sampling of `` tags with both valid `width` and `height` attributes from Google Search index and we looked at the aspect ratio defined by the...

@tigt The data I provided already explicitly excludes float/integer rounding issues. I tried to remove cases that look like `spacer.gif` and the data looks a bit better: * Discrepancy was...

@zcorpan couple of examples: - https://www.anesthesiaplanet.com/images/banners/IMG_0036.JPG in https://www.anesthesiaplanet.com/blog/categories/listings/pre-professional (defined as 468x60, but actually 326x245) - https://i206.photobucket.com/albums/bb239/jadesheart_photo/glitter/glitter-smile.jpg in https://www.ebay.it/itm/EXTENSION-CHERATINA-REMY-5A-CAP-VERI-100-CIOCCHE-52CM-100G-SHATUSH-1B-ROSSE-/232333969369 (defined as 310x90, but actually is 302x294) - https://www.dekorup.com/wp-content/uploads/2017/11/modern-hos-tasarimli-kalorifer-petek-modelleri.jpg in https://www.dekorup.com/ankastre-ocak-temizligi/ (defined...

@fantasai > and that explicit size will continue to be honored Could you clarify this? Wouldn't both `auto` and non-`auto` images be resized late on image load? The deferred layout...

@fantasai to clarify: 1. The squishing would happen only if the actual size is different from declared size. 2. Hopefully, it's a default at the lowest level of specificity and...

@fantasai I think your comment might be more relevant for #4. If you agree, please repost there. The [explainer](https://github.com/WICG/intrinsicsize-attribute) proposes to add a new attribute `intrinsicsize` and derive the new...

@yoavweiss @ojanvafai @jensimmons If the `aspect-ratio` and `attr()` (outside the `content` context) CSS were wide-spread, I see this as a great idea. I'd not even necessarily see a need to...

@yoavweiss Yes, the backward compatibility support is the biggest issue I see with this approach as well.