Confirmed users
3,816
edits
| Line 9: | Line 9: | ||
= Test Strategy = | = Test Strategy = | ||
== Things we should do == | == Things we should do == | ||
* There are quite a few reftests being applied with the patch. Need to talk with Keith to see if these are enough and if there are more sanity "does it work" reftest patches needed. | * There are quite a few reftests being applied with the patch. Need to talk with Keith to see if these are enough and if there are more sanity "does it work" reftest patches needed. --> Done | ||
* Test that multiple applied transforms equate to a sequentially applied transform | * Test that multiple applied transforms equate to a sequentially applied transform | ||
* Test invalid measurements | * Test invalid measurements | ||
| Line 16: | Line 16: | ||
* Test this with other embedded content and be sure the other content is (and is not) transformed as specified. | * Test this with other embedded content and be sure the other content is (and is not) transformed as specified. | ||
* Unneeded: it doesn't affect other elements - doesn't cause reflow <strike>Test with various types of :fixed, :relative elements on the page</strike> | * Unneeded: it doesn't affect other elements - doesn't cause reflow <strike>Test with various types of :fixed, :relative elements on the page</strike> | ||
=== Functional Cases Needed === | |||
* test matrix() and matrix3d() | |||
* test translate3d -- not supported, shouldn't crash | |||
* test scale transforms | |||
** test scalex | |||
** test scaley | |||
* test skew, skewx, skewy | |||
* todo: is transform-style handled? | |||
* todo: is perspective transformation handled | |||
* todo: is perspective-origin handled | |||
* todo: is backface-visibility handled? | |||
=== Negative Tests === | |||
* Add a test for each of the above with picked values that lean toward impossible, nAn, or tiny values. | |||
* Attempt huge transformation matrices that keep propogating (may not be reftestable) | |||
* Attempt giant transformations of lots of content, just to see if the system can be crashed. | |||
* test invalid measurement units insure that the transform is ignored. | |||
* move some of the tests into reftest, especially test for none as a value. | |||
== Things we'd like to do == | == Things we'd like to do == | ||