andyedinborough / stress-css

JavaScript to test each CSS class on a page and report which are hindering performance
869 stars 40 forks source link

Text is unreadable as text color is set by website's stylesheet, not bookmarklet #5

Closed wjcrowcroft closed 13 years ago

wjcrowcroft commented 13 years ago

Hey, Great little bookmarklet!

One issue - when testing it on a recent project, because the site employs white text on a dark background, it's impossible to read the test progress while it's happening, or the results afterwards - the bookmarklet displays white text on a white background.

Easily fixed by applying a style="color#444" attribute on the bookmarklet's text output.

Cheers!

duckinator commented 13 years ago

Same issue. Try it on http://stage.duckinator.net if you want an example (uses white text)

andyedinborough commented 13 years ago

Thanks for the feedback, I've added that to the code.