UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Steps to reproduce the problem:
1. Open the HTML
2. Open the console,keep side by side open
3. Refresh the page, the transformed clone will disappear
What is the expected behavior?
console logging an SVGGraphicsElement that is not yet part of DOM should prevent it from being rendered once it is added.
What went wrong?
- requiredExtensions and systemLanguage attributes are automatically added with value "" which evaluates to 'false' as specified in w3c spec 5.7.1 (https://www.w3.org/TR/SVG/struct.html).
- However these prevent rendering the element once it is added to the DOM.
- Removing them at the current tick of event loop does not delete them also, requires a setTimeout/rAF.
Did this work before? N/A
Does this work in other browsers? Yes
Chrome version: 68.0.3440.106 Channel: stable
OS Version: 6.3
Flash Version:
This question was asked here: https://stackoverflow.com/questions/51785795
and I proposed two temporary solutions here:
https://stackoverflow.com/questions/51785795#answer-51785921
|
Deleted:
chromSVG_requiredExtensionSystemLanguage.html
4.0 KB
|
|
chromSVG_requiredExtensionSystemLanguage.html
4.0 KB
View
Download
|
Comment 1 by swarnasree.mukkala@chromium.org
, Aug 12