Skip to content

v4: Update docs callout for responsive SVG images#30809

Merged
XhmikosR merged 2 commits intov4-devfrom
v4-ie-svg-fluid-images
May 14, 2020
Merged

v4: Update docs callout for responsive SVG images#30809
XhmikosR merged 2 commits intov4-devfrom
v4-ie-svg-fluid-images

Conversation

@mdo
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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
Copy Markdown
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.

@XhmikosR XhmikosR merged commit 58dd4cc into v4-dev May 14, 2020
@XhmikosR XhmikosR deleted the v4-ie-svg-fluid-images branch May 14, 2020 06:18
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