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

reactmix之前在css继承存在一定的bug,现在修复了,各位关注的朋友可以了解一下 #2

Open
xueduany opened this issue Feb 22, 2016 · 0 comments

Comments

@xueduany
Copy link
Owner

之前我们在css树里面,比如一个div写了一个text相关的css,那么在浏览器里面这块是会继承到div的子textnodes树里面的,但是因为在reactnative里面,没有textnode隐藏节点,都是用text节点表示,所以需要在reactmix里面去显式的实现这一继承关系,所以在最新版本的element.js里面,我们把具有上下文关系的节点的text相关属性透传给了子节点,这样既可以实现类似html dom css继承的上下文继承关系

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