Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Error to rerun the test on selection-range #2328
Comments
|
Sure, I'll fix it, which example fails exactly? |

https://javascript.info/selection-range#range-methods
While I was translating it into Korean I found the example fails when user tries to rerun the test.

Since
rangeandmethodsvariables are declared on global scope and rerun the testit tries to redeclare let variable.
It needs refresh the DOM.
By the code I checked on developer tool, we can add

data-refreshattribute to delete the DOM and recreate the iframe, but couldn't find the way to put it.