angular-docs-cn/packages
Pete Bacon Darwin da6ed1562e fix(compiler): strip scoped selectors from `@font-face` rules (#41815)
`@font-face` rules cannot contain nested selectors. Nor can they be
nested under a selector. Normally this would be a syntax error by the
author of the styles. But in some rare cases, such as importing styles
from a library, and applying `:host ::ng-deep` to the imported styles,
we can end up with broken css if the imported styles happen to contain
`@font-face` rules.

This commit works around this problem by sanitizing such cases (erasing
any scoping selectors) during emulated ShadowDOM encapsulation style
processing.

Fixes #41751

PR Close #41815
2021-04-27 09:12:28 -07:00
..
animations fix(animations): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
bazel fix(bazel): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
benchpress fix(dev-infra): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:43 -08:00
common fix(common): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
compiler fix(compiler): strip scoped selectors from `@font-face` rules (#41815) 2021-04-27 09:12:28 -07:00
compiler-cli fix(compiler-cli): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
core fix(core): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:14 -07:00
docs docs(di): fix typo in advanced di doc (#36634) 2020-05-01 09:50:28 -07:00
elements fix(elements): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
examples refactor(core): add single type for injector token (#41580) 2021-04-22 10:47:12 -07:00
forms fix(forms): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
language-service fix(language-service): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
localize fix(localize): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
misc/angular-in-memory-web-api build: remove `core-js` in favor of `core-js-bundle` (#41739) 2021-04-26 09:29:58 -07:00
platform-browser fix(platform-browser): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
platform-browser-dynamic fix(platform-browser-dynamic): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
platform-server fix(platform-server): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
private/testing build: update .bazelversion (#40579) 2021-01-26 11:35:54 -08:00
router fix(router): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
service-worker fix(service-worker): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
upgrade fix(upgrade): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
zone.js build: update to version (#41806) 2021-04-26 12:06:48 -07:00
BUILD.bazel build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07:00
README.md docs: add doc reference to npm package readme (#33911) 2019-11-20 14:46:23 -08:00
circular-deps-test.conf.js fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
empty.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
goog.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
license-banner.txt docs: update year (#40925) 2021-02-22 12:37:40 -08:00
system.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tsconfig-build-no-strict.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-build.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-test.json refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
tsconfig.json fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
types.d.ts build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT