|Summary:||Make fast/css/opacity-float.html use the script-test approach|
|Product:||WebKit||Reporter:||Evan Martin <evan>|
|Component:||Tools / Tests||Assignee:||Evan Martin <evan>|
|Version:||528+ (Nightly build)|
Description Evan Martin 2009-10-13 14:38:18 PDT
Darin says: In the future, you should use the script-tests approach to build tests like this. This style of tests that write out more about what they're testing and why they pass that you get automatically from that are superior. A good example of how to do this sort of test is LayoutTests/fast/dom/HTMLFormElement/script-tests/elements-not-in-document.js and you may be able to see from that how this test could have been done that way.
Comment 1 Evan Martin 2009-10-13 14:49:52 PDT
Also, while I'm fixing it: > - change the test to use script-tests for better clarity > - add quite a few more kinds of numbers to the test cases > - test all the different types of units -- a test should fail if we made > any mistakes in the switch statements I guess that maybe should be a new test, which is a general "test CSS unit formatting" test.