Skip to content

Commit

Permalink
Other: Remove the Edge-specific assertion for SVG content. #6202.
Browse files Browse the repository at this point in the history
Old versions of Edge were sprouting xmlns attributes for inner elements.
Agreed at ckeditor/ckeditor5-utils#333 (comment)
  • Loading branch information
tomalec committed Apr 20, 2020
1 parent a0bf22c commit 6711e88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/ckeditor5-ui/tests/icon/iconview.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ describe( 'IconView', () => {
} );

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

0 comments on commit 6711e88

Please sign in to comment.