[webkit-dev] "Fake" ref-tests

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


I've stumbled upon two ref-tests:


Their references have a form of 

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

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.


More information about the webkit-dev mailing list