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

移除elem.canHaveChildren === false判定 #4

Closed
RubyLouvre opened this issue Jun 14, 2013 · 1 comment
Closed

移除elem.canHaveChildren === false判定 #4

RubyLouvre opened this issue Jun 14, 2013 · 1 comment

Comments

@RubyLouvre
Copy link
Owner

在IE中,它有一个叫canHaveChildren的属性,对于半闭合的元素类型,如HR,IMG, BR, INPUT等返回false,但在IE9+起,它都统统返回true,因此没有意义了,移除此判定!

@RubyLouvre
Copy link
Owner Author

0.73已经去掉,感谢长沙-Aaron的指正

RubyLouvre pushed a commit that referenced this issue Oct 15, 2013
RubyLouvre pushed a commit that referenced this issue Sep 28, 2014
RubyLouvre pushed a commit that referenced this issue Nov 29, 2014
RubyLouvre pushed a commit that referenced this issue Jul 24, 2015
This issue was closed.
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

No branches or pull requests

1 participant