Changes between Initial Version and Version 1 of Ticket #7730, comment 6
- Timestamp:
- Dec 20, 2010, 2:25:34 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7730, comment 6
initial v1 1 Do you have any suggestions for a suitable unit test? The best test case I can think of is to set a sub-pixel value in CSS and test t at offset() corectly parses the fractions. But what if the browser does not report the sub-pixels? Is there any policy to deal with browser differences in the unit tests? I guess they are best avoided, but then, how best to test this issue?1 Do you have any suggestions for a suitable unit test? The best test case I can think of is to set a sub-pixel value in CSS and test that offset() corectly parses the fractions. But what if the browser does not report the sub-pixels? Is there any policy to deal with browser differences in the unit tests? I guess they are best avoided, but then, how best to test this issue?