Three Monkeys, Three Typewriters, Two Days

April 5, 2006

Help! Alternate stylesheet tests needed!

I believe I now have an implementation of the WHATWG proposal for programmatically changing alternate stylesheet sets. The problem is that there seem to be no tests exercising this functionality and I don't really have the time to write them. It'd be really great from my point of view if someone would step up and create these tests...

Update: It looks like Anne has started writing some tests. I'd still like tests on whatever parts of the spec those don't cover.

Posted by bzbarsky at April 5, 2006 10:10 AM

It's bug 200930 for those that are interested.

Posted by: Dan Cater on April 5, 2006 4:19 PM

Specifically, what type of tests are you looking for? Are you looking for a test case that specifies alternate stylesheets, or one that attempts to set the active stylesheet programatically?

Posted by: Sohail Mirza on April 6, 2006 7:15 AM

Both. I'm looking for tests that test all aspects of that specification -- the values of the various DOM properties depending on the initial stylesheets sent with the page, the behavior when script toggles the various properties, the interactions between setting the properties and then getting a preferred sheet specified, etc. That is, actual testing of compliance with this spec. I estimate that somewhere around 30 to 100 tests are needed for this.

Posted by: Boris on April 6, 2006 10:28 AM
Post a comment