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

Add data-marpit-svg attribute to SVG element outputted by inline SVG mode #115

Merged
merged 3 commits into from
Dec 28, 2018

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Dec 28, 2018

To be available selecting wrapped SVG by CSS query, we added data-marpit-svg attribute to SVG element outputted by inline SVG mode.

It would be used in marpit-svg-webkit-polyfill, to resolve the rendering bug in WebKit.

<svg data-marpit-svg="" viewBox="0 0 1280 960">
  <foreignObject width="1280" height="960">
    <section>
      ...
    </section>
  </foreignObject>
</svg>

@yhatt yhatt merged commit 4906439 into master Dec 28, 2018
@yhatt yhatt deleted the data-marpit-svg branch December 28, 2018 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant