[webkit-dev] "Fake" ref-tests

Konstantin Tokarev annulen at yandex.ru
Fri Jul 22 16:14:58 PDT 2016


Hello,

I've stumbled upon two ref-tests:

fast/borders/border-painting-correctness-dashed.html
fast/borders/border-painting-correctness-dotted.html

Their references have a form of 

<style>
  body {
    margin: 0px;
  }
</style>
<body>
<img src="./resources/border-painting-correctness-dotted-expected.png" />
</body>

where img represents correct rendering of borders in mac port. As a result, these 2 tests are marked as ImageOnlyFailure on gtk and ios-simulator, and probably don't pass on other ports as well.

What is the right way to deal with tests like these? I know that it's possible to create platform-specific -expected.html and use different image in it, but I think it would be better to convert such tests to pixel tests.

-- 
Regards,
Konstantin


More information about the webkit-dev mailing list