Skip to content

Commit f0cebbf

Browse files
author
Rune Lillesveen
committed
spec/css-scoping: edited
1 parent 82f1bd9 commit f0cebbf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

spec/css-scoping.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
In <https://drafts.csswg.org/css-scoping/#shadow-names> a reasonable behavior for name-defining constructs (such as @font-face or @counter-style) in shadow trees is defined. However, browsers currently have a confusing panoply of behaviors, likely mostly accidental. Here we collect the current behaviors, to help inform our adoption of the specified behavior and find whether there are any compat issues we'll have to deal with.
44

55
| ^ Firefox ^ Chrome ^ Safari ^ Others?
6-
^ @font-face | Doesn't work | | |
7-
^ @font-feature-values | Doesn't work | | |
8-
^ @font-palette-values | Not Yet Implemented | | |
6+
^ @font-face | Doesn't work | @-rules in shadow trees are ignored. @-rules in document scope match from all scopes | |
7+
^ @font-feature-values | Doesn't work | Not implemented | |
8+
^ @font-palette-values | Not Yet Implemented | Not implemented | |
99
^ @counter-style | Doesn't work | | |
1010
^ @keyframes | Code lives in <https://searchfox.org/mozilla-central/rev/1df3b4b4d27d413675fb66f375230cb25d636450/servo/components/style/stylist.rs#1346>. We try to look animations up in the element's shadow first (this is necessary for :host { animation: .. }), then on the containing scope, if any, and otherwise on the global scope. | | |

0 commit comments

Comments
 (0)