Use only public API in CSSProperty-test#10429
Use only public API in CSSProperty-test#10429gaearon merged 3 commits intofacebook:masterfrom ksvitkovsky:github-9955-css-prop
Conversation
|
Can we also have a second test that verifies they get correctly set when rendering on the client side with ReactDOM? In fact I think it might be best to remove this file and create a similar test inside ReactDOMServerIntegration-test that verifies these styles end up being set. Because it tests both client and server rendering at the same time. |
|
I'm working on it right now and have that weird issue(?) when rendering element with styles that has ms-prefixed rules. Rendered element' style property has ms-prefixed rules starting with lower-case 'm' in Is that the expected behavior? If so, is that ok to write expectations like this - |
|
Might be a jsdom bug. Yes, I think this is fine since it depends on jsdom implementation. |
|
Thanks! |
As a part of #9955