Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4: Update docs callout for responsive SVG images #30809

Merged
merged 2 commits into from
May 14, 2020

Conversation

mdo
Copy link
Member

@mdo mdo commented May 13, 2020

Turns out this applies to IE11 as well as IE10, so this clarifies the docs callout.

Closes #25242.

Turns out this applies to IE11 as well as IE10, so this clarifies the docs callout.

Closes #25242.
@ffoodd
Copy link
Member

ffoodd commented May 14, 2020

Didn't know of this section.

For SVGs, couldn't our reboot use something like img[src$=".svg"] to apply width?

AFAIC this PR looks good 🙂

@mdo
Copy link
Member Author

mdo commented May 14, 2020

For SVGs, couldn't our reboot use something like img[src$=".svg"] to apply width?

If I recall correctly, this could have unintended consequences for perfectly sized SVGs. Opt-in has seemed like the best approach here, and we don't ned this in v5 at all, so I'm okay leaving nearly as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants