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

貌似getAttr,setAttr对几个属性处理不正确 #22

Open
cnberg opened this issue Dec 25, 2010 · 2 comments
Open

貌似getAttr,setAttr对几个属性处理不正确 #22

cnberg opened this issue Dec 25, 2010 · 2 comments

Comments

@cnberg
Copy link
Collaborator

cnberg commented Dec 25, 2010

valign, cellpadding, tabindex, readonly, maxlength

qa看看能不能补充下case。

@jkisjk
Copy link

jkisjk commented Dec 27, 2010

路过。
不大赞成加白名单的形式。
标准属性是没办法列举完全的。并且作为setter,还不一定能调用setAttribute。
可以另加两个方法:get/set,直接获取或设置el.xxx

@bellcliff
Copy link
Collaborator

收到

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

3 participants