angular-docs-cn/packages/platform-browser/test/dom
Vikram Subramanian b96a3c8def fix(platform-server): avoid clash between server and client style encapsulation attributes (#24158)
Previously the style encapsulation attributes(_nghost-* and _ngcontent-*) created on the server could overlap with the attributes and styles created by the client side app when it botstraps. In case the client is bootstrapping a lazy route, the client side styles are added before the server-side styles are removed. If the components on the client are bootstrapped in a different order than on the server, the styles generated by the client will cause the elements on the server to have the wrong styles.

The fix puts the styles and attributes generated on the server in a completely differemt space so that they are not affected by the client generated styles. The client generated styles will only affect elements bootstrapped on the client.

PR Close #24158
2018-05-30 14:28:14 -07:00
..
events fix(platform-server): avoid clash between server and client style encapsulation attributes (#24158) 2018-05-30 14:28:14 -07:00
dom_renderer_spec.ts build(platform-browser): exclude node incompatible tests from :test target. (#21053) 2017-12-22 13:10:51 -08:00
shared_styles_host_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00