Closed as not planned
Description
This applies to all the files named playable.js
for example, css-examples/learn/playable.js
. What I have noticed is that while editing the CSS, if I add the rule:
* {
display: none;
}
The whole html page for example this goes blank which is referenced in an iframe here. Which means I can no longer edit the css or even reset it. The only temporary fix for this is to reload the whole page (and thus resetting the css).
Maybe a solution for this would be to always overwrite the display
property? (But then that wouldn't allow users to set display: block;
or display: none;
)
Another problem is that playable.js
allows users to change the innerHTML
property. Which possibly makes this vulnerable to an HTML injection attack?