Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PasscreateLink should wrap the <img style="display:inline>"
Asserts run
Pass
assert_equals("<a href=\"foo.html\"><img src=\"/img/lion.svg\" style=\"display:inline\"></a>", "<a href=\"foo.html\"><img src=\"/img/lion.svg\" style=\"display:inline\"></a>")
    at Test.<anonymous> ( /editing/run/createlink-with-selecting-img.html:21:7)
FailcreateLink should wrap the <img style="display:block>"assert_equals: expected "<a href=\"foo.html\"><img src=\"/img/lion.svg\" style=\"display:block\"></a>" but got "<img src=\"/img/lion.svg\" style=\"display:block\">"
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/editing/run/createlink-with-selecting-img.html:21:7)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2684:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/editing/run/createlink-with-selecting-img.html:17:5
Asserts run
Fail
assert_equals("<img src=\"/img/lion.svg\" style=\"display:block\">", "<a href=\"foo.html\"><img src=\"/img/lion.svg\" style=\"display:block\"></a>")
    at Test.<anonymous> ( /editing/run/createlink-with-selecting-img.html:21:7)
PasscreateLink should wrap the <img style="display:inline-block>"
Asserts run
Pass
assert_equals("<a href=\"foo.html\"><img src=\"/img/lion.svg\" style=\"display:inline-block\"></a>", "<a href=\"foo.html\"><img src=\"/img/lion.svg\" style=\"display:inline-block\"></a>")
    at Test.<anonymous> ( /editing/run/createlink-with-selecting-img.html:21:7)