Skip to content

Fix failing IE test#2267

Merged
marvinhagemeister merged 1 commit into
masterfrom
ie-failing-test
Jan 21, 2020
Merged

Fix failing IE test#2267
marvinhagemeister merged 1 commit into
masterfrom
ie-failing-test

Conversation

@marvinhagemeister

Copy link
Copy Markdown
Member

Caused by falsy attributes again which are rendered differently in IE's innerHTML.

IE will display falsy attribute as an empty string whereas other
browsers will remove it completely.
Only happens when innerHTML is used.
@marvinhagemeister marvinhagemeister marked this pull request as ready for review January 21, 2020 20:47
@coveralls

coveralls commented Jan 21, 2020

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.07%) to 97.745% when pulling bddb13c on ie-failing-test into 4cb1119 on master.

@marvinhagemeister marvinhagemeister merged commit d439563 into master Jan 21, 2020
@marvinhagemeister marvinhagemeister deleted the ie-failing-test branch January 21, 2020 21:01
porfirioribeiro pushed a commit to porfirioribeiro/preact that referenced this pull request Feb 3, 2020
IE will display falsy attribute as an empty string whereas other
browsers will remove it completely.
Only happens when innerHTML is used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants