David Vest
David Vest
I'm not sure where to write this but I've found an issue with integrating pkg and puppeteer. The puppeteer API has a method page.evaluate, accepting a function to be executed...
For consistency with how SVG images are sized in every other image context (backgrounds, border-image, markers, shapes, etc) using the default sizing algorithm is the reasonable choice, with the canvas...
FYI, https://codereview.chromium.org/1767633002/ is up in relation to this in Blink.
I agree with all what Tab writes. And just to tie it together, https://drafts.csswg.org/css-images/#concrete-size-resolution is what CanvasRenderingContext2D.drawImage() uses to determine the width and height, with no specified size and the...
It certainly considers the intrinsic size of SVG images. The thing that particular patch does is to pipe through the canvas size as default object size to use as fallback...
No strong opinions on the crop rectangle case but if padding usually works (when crop rect is larger than the source), if makes sense to allow it if the image...