css2js sets the text content of the style tags using innerHTML. There are a lot of Firefox add-on authors using css2js, and reviewers need to look through the minified css string each time to verify that there are no script tags or other negative side-effects.
Would it be possible to avoid innerHTML, e.g. by using .textContent or other properties instead? This would avoid the validator warning and make life easier for reviewers.
css2js sets the text content of the style tags using
innerHTML. There are a lot of Firefox add-on authors using css2js, and reviewers need to look through the minified css string each time to verify that there are no script tags or other negative side-effects.Would it be possible to avoid innerHTML, e.g. by using .textContent or other properties instead? This would avoid the validator warning and make life easier for reviewers.