Help! Alternate stylesheet tests needed!
I believe I now have an implementation
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
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?
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.