Skip to content

Commit

Permalink
Revert "Other: Remove the Edge-specific assertion for SVG content. #6202
Browse files Browse the repository at this point in the history
."

As it was accidentally pushed to the master, instead of i/6202-remove-env.isEdge
This reverts commit 9427addeae19dddcfa711915b5d8fcacdab3c43f.
  • Loading branch information
tomalec committed Apr 20, 2020
1 parent 6711e88 commit 3c49e51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ckeditor5-ui/tests/icon/iconview.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ describe( 'IconView', () => {
} );

function assertIconInnerHTML( icon, expected ) {
expect( normalizeHtml( icon.element.innerHTML ) )
// Edge adds the xmlns attribute to each node when obtaining from parent's innerHTML.
expect( normalizeHtml( icon.element.innerHTML.replace( /xmlns="[^"]+"/, '' ) ) )
.to.equal( expected );
}

0 comments on commit 3c49e51

Please sign in to comment.