angular/packages/common
Kara Erickson d71dfe931f fix(common): set bound width and height onto host element (#47082)
This commit fixes a bug in NgOptimizedImage where
if you bound the width or height attribute (e.g.
`[width]=width`), the attribute would only be
reflected as "ng-reflect-x". The actual "width" or
"height" attribute would not be set on the host
element. This is a problem because the exact named
attribute must be set on the element for the
browser to detect it and use it to reserve space
for the image (and thus prevent CLS).

PR Close #47082
2022-08-16 17:36:54 +00:00
..
http docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
locales refactor: clean-up pre-CLDR 39 safety check (#46606) 2022-06-29 10:06:39 -07:00
src fix(common): set bound width and height onto host element (#47082) 2022-08-16 17:36:54 +00:00
test fix(common): set bound width and height onto host element (#47082) 2022-08-16 17:36:54 +00:00
testing feat(common): add getState method to LocationStrategy interface (#45648) 2022-04-25 10:41:30 -07:00
upgrade docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
BUILD.bazel feat(bazel): speed up dev-turnaround by bundling types only when packaging (#45405) 2022-04-21 11:09:39 -07:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json feat(core): drop support for Node.js 12 (#45286) 2022-03-08 12:05:03 -08:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00