angular-docs-cn/packages/core/test
Alex Rickabaugh 013d806b79 fix(platform-server): handle styles with extra ':'s correctly (#15189)
Previously, style values were parsed with a regex that split on /:+/.

This causes errors for CSS such as

div {
  background-url: url(http://server.com/img.png);
}

since the regex would split the background-url line into 3 values instead of 2.

Now, the : character is detected with indexOf, avoiding this error.

A test was added to verify the behavior is correct.
2017-03-15 17:13:31 -07:00
..
animation fix(animations): always fire callbacks even for noop animations (#15170) 2017-03-15 13:41:00 -07:00
change_detection build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
debug build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
di build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
dom fix(platform-server): handle styles with extra ':'s correctly (#15189) 2017-03-15 17:13:31 -07:00
linker fix(core): don’t throw if queries change during change detection. 2017-03-14 19:52:53 -07:00
metadata build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
reflection refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
testability build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
util fix(core): use presence of .subscribe to detect observables rather then Symbol.observable (#15171) 2017-03-15 17:13:03 -07:00
view fix(core): don’t throw if queries change during change detection. 2017-03-14 19:52:53 -07:00
zone build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
application_init_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
application_module_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
application_ref_spec.ts fix: element injector vs module injector (#15044) 2017-03-14 16:26:17 -07:00
component_fixture_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
dev_mode_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
directive_lifecycle_integration_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
error_handler_spec.ts feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
event_emitter_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
fake_async_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
forward_ref_integration_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
testing_internal_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00