Skip to content

Commit 96dc544

Browse files
committed
test/reftest: [43 unreftestable tests] position-relative-002
1 parent 722422c commit 96dc544

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/reftest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ The following is a list of 43 CSS2.1 tests that appear to be unreftestable:
206206
|[RC6] bottom-applies-to-008]] **Reasons why**: I have not found a way to create a reftest for this test. Maybe there is a way but so far I have not found one. The same problem applies as well to [[http://test.csswg.org/suites/css2.1/20110323/html4/position-applies-to-008.htm
207207
|[RC6] position-applies-to-008]]
208208
- [[http://test.csswg.org/suites/css2.1/20110323/html4/position-relative-002.htm
209-
|[RC6] position-relative-002]] **Reasons why**: I have not found a way to create a reliable and trustworthy reftest for this test... despite a lot of time spent on this. Even after setting line-height to 1.25, the offsetTop of ''<span>b</span>'' and of ''<span id="span1">a</span>'' are unexplicably 55px and 80px in Chrome 21 while it is 54px and 79px in other browsers (Firefox 15.01 and Opera 12.02) and when I think it should be 54px and 79px and not 55px and 80px. And I do not know why or if this is some kind of a bug.
209+
|[RC6] position-relative-002]] **Reasons why**: I have not found a way to create a reliable and trustworthy reftest for this test... despite a lot of time spent on this. Even after setting line-height to 1.25, the offsetTop of ''<span>b</span>'' and of ''<span id="span1">a</span>'' are unexplicably 55px and 80px in Chrome 21 while it is 54px and 79px in other browsers (Firefox 15.01 and Opera 12.02) and when I think it should be 54px and 79px and not 55px and 80px. And I do not know why or if this is some kind of a bug. [Addendum: the offsetTop value of ''<span>b</span>'' varies depending on the local font in use.]
210210

211211
<del>[[http://test.csswg.org/suites/css2.1/20110323/html4/background-position-002.htm
212212
|[RC6] background-position-002]] **Reasons why**: Precise baseline-alignment positioning of ruler image is impossible to do with serif font; it varies from font to font.</del> I re-made the test to overcome such difficulty. I have now been able to create a reftest for such test.

0 commit comments

Comments
 (0)