Skip to content

Conversation

@kubaprzetakiewicz
Copy link

Right now insertBefore and insertAfter look only after element.style inline CSS, which in case of unaltered by JS, normal table would be empty.

User Agent Stylesheet default styles and user styles have to be checked via either Element.currentStyle (IE6) or standardized window.getComputedStyle.

This way it will detect default table-row value for display property and properly ignore it.

@kubaprzetakiewicz kubaprzetakiewicz changed the title fixing the display value check to include CSS computed style as well fixing the 'display' value check on placeHolder to include CSS computed style as well Mar 17, 2017
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.

1 participant