We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tested in Firefox 63.0.3.
Settings styles this way in function onloadFunc won't work:
onloadFunc
if (svg) { svg.setAttribute("aria-hidden", "true"); svg.style.position = "absolute"; svg.style.width = 0; svg.style.height = 0; svg.style.overflow = "hidden"; body.insertBefore(svg, body.firstChild); }
Function insertBefore drops the styles from the element so to apply styles for this element they have to be set after inserting the element in dom:
insertBefore
if (svg) { svg.setAttribute("aria-hidden", "true"); var insertedSvg = body.insertBefore(svg, body.firstChild); insertedSvg.style.position = "absolute"; insertedSvg.style.width = 0; insertedSvg.style.height = 0; insertedSvg.style.overflow = "hidden"; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Tested in Firefox 63.0.3.
Settings styles this way in function
onloadFunc
won't work:Function
insertBefore
drops the styles from the element so to apply styles for this element they have to be set after inserting the element in dom:The text was updated successfully, but these errors were encountered: