angular-docs-cn/packages/platform-browser/test
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
..
animation test(animations): fix Node.js detection in animation tests (#24139) 2018-05-29 18:21:20 -04:00
browser fix(platform-browser): support 0/false/null values in transfer_state (#22179) 2018-02-13 11:28:22 -08:00
dom fix(platform-server): avoid clash between server and client style encapsulation attributes (#24158) 2018-05-30 14:28:14 -07:00
security refactor(core): move sanitization into core (#22540) 2018-03-07 18:24:06 -08:00
static_assets refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
BUILD.bazel test: switch to ts_web_test_suite (#23859) 2018-05-15 11:40:56 -07:00
browser_util_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
testing_public_spec.ts refactor(core): use Partial<T> for MetadataOverride (#24103) 2018-05-29 18:40:05 -04:00