Title: Nested styles on html tags dosen't work in inline style · Issue #53013 · angular/angular · GitHub
Open Graph Title: Nested styles on html tags dosen't work in inline style · Issue #53013 · angular/angular
X Title: Nested styles on html tags dosen't work in inline style · Issue #53013 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? common, compiler, core Is this a regression? Yes Description When I try to style nested html tags it's not working when I use the inline style(independs if string or array), for exam...
Open Graph Description: Which @angular/* package(s) are the source of the bug? common, compiler, core Is this a regression? Yes Description When I try to style nested html tags it's not working when I use the inline style...
X Description: Which @angular/* package(s) are the source of the bug? common, compiler, core Is this a regression? Yes Description When I try to style nested html tags it's not working when I use the inline s...
Opengraph URL: https://github.com/angular/angular/issues/53013
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nested styles on html tags dosen't work in inline style","articleBody":"### Which @angular/* package(s) are the source of the bug?\r\n\r\ncommon, compiler, core\r\n\r\n### Is this a regression?\r\n\r\nYes\r\n\r\n### Description\r\n\r\nWhen I try to style nested html tags it's not working when I use the inline style(independs if string or array), for example:\r\n\r\n```\r\nstyles: `\r\n:host {\r\n display: block;\r\n a {\r\n color: red\r\n }\r\n}`\r\n```\r\n\r\nWeirdly, when I put the same styles in a separated file and use the stylesUrl it's work fine. The same happens and works fine when I use a class name instead tag name \r\n\r\n### Please provide a link to a minimal reproduction of the bug\r\n\r\nhttps://stackblitz-starters-q2t2hm.stackblitz.io\r\n\r\n### Please provide the exception or error you saw\r\n\r\n_No response_\r\n\r\n### Please provide the environment you discovered this bug in (run `ng version`)\r\n\r\n_No response_\r\n\r\n### Anything else?\r\n\r\nThe bug either happens in v16 but in v15 dont","author":{"url":"https://github.com/viniciusschuelter","@type":"Person","name":"viniciusschuelter"},"datePublished":"2023-11-17T19:49:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/53013/angular/issues/53013"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:249ab0fe-f63c-bedf-3b9e-09f32d7916e9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A40:2017E4:1BA4CCB:25A2F11:6A62FBAC |
| html-safe-nonce | d5661f300e432e882ee55fcfc63e88871c140fba8172f150cba14d36ce34f4c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTQwOjIwMTdFNDoxQkE0Q0NCOjI1QTJGMTE6NkE2MkZCQUMiLCJ2aXNpdG9yX2lkIjoiOTAyNDY5OTM4ODUzNjIyNDY4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a841dfce266af0ac08d6f32c2e3d005aaac198ea1b70bc792f0f0d9ee7215adf |
| hovercard-subject-tag | issue:1999811905 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/53013/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2454ca7c39ac4f702e96a2b6bb42260d2c9ecca2d04ee2810ddf43b87bfbe2b8/angular/angular/issues/53013 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2454ca7c39ac4f702e96a2b6bb42260d2c9ecca2d04ee2810ddf43b87bfbe2b8/angular/angular/issues/53013 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? common, compiler, core Is this a regression? Yes Description When I try to style nested html tags it's not working when I use the inline style... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | viniciusschuelter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e40dc698184067b40ef2d941585f66ed42711564a879644f984f1eacea129c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b4f544bf80583e749557efd76afda56317b6252d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width