Pass | createLink should wrap the <img style="display:inline>" | Asserts runPass | 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) |
|
Fail | createLink 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 runFail | 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) |
|
Pass | createLink should wrap the <img style="display:inline-block>" | Asserts runPass | 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) |
|