Skip to content

Commit 4fa43f2

Browse files
authored
Merge pull request GoogleChromeLabs#15 from robertpiosik/patch-1
Add pseudo elements support limitation
2 parents ee744f7 + 4ace047 commit 4fa43f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ My aim is to make the polyfill work correctly for the _majority_ of use-cases, b
4646

4747
- Boolean operations (`and`, `or` and `not`) are supporrted.
4848
- The polyfill does _not_ support style queries (e.g. `@container style(--color: red)`), as there is no way to get notified of computed style changes.
49+
- The polyfill does _not_ support pseudo elements (::before & ::after), as they don’t have a real DOM handle and can't be observed with `ResizeObserver`.
4950
- Container Queries will not work when nested inside a Media Query. For now, the polyfill only supports top-level CQs.
5051
- Container Query thresholds can only be specified using pixels.
5152
- Due to the nature of CORS, the polyfill only attempts to handle same-origin and inline stylesheets. Cross-origin stylesheets are not processed, regardless of CORS headers.

0 commit comments

Comments
 (0)