named-slots icon indicating copy to clipboard operation
named-slots copied to clipboard

Write tests for dom parser against special tags such as <tr> and </td>.

Open treshugart opened this issue 8 years ago • 0 comments

Currently if you set innerHTML to a <table> and you specify special table elements, they'll be wrapped in a <div> due to https://github.com/skatejs/named-slots/pull/46 which is a necessary fix for <style> tags.

We'll probably end up needing to test the incoming HTML string to see if it starts with a special tag, and if so, wrap it accordingly.

Note: this is only necessary for WebKit because of the property accessor issue.

treshugart avatar Apr 27 '16 00:04 treshugart