Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing the 'display' value check on placeHolder to include CSS computed style as well #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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