Bug Tracker

Changes between Initial Version and Version 1 of Ticket #7730, comment 6


Ignore:
Timestamp:
Dec 20, 2010, 2:25:34 AM (12 years ago)
Author:
inukshuk
Comment:

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 tat 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?
     1Do 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?