Filter
Exclude
Time range
-
Near
18 Sep 2025
Replying to @Mininoogy
Css in c is something I've never seen before and it looks interesting. Most of the stuff I write in C is windows internals related. My only gripe is that CSSRule *rule = rules[i] I would write as CSSRule* pRule = rules[i] But that's because I'm used to windows programming.
2
28
23 Oct 2024
Replying to @KevinJPowell
The `@starting-style` should go last, after the `opacity: 1` declarations. web.dev/blog/css-nesting-css… is the article you are looking for here. Compare the output of the CSSRule Debugger in a browser without CSSNestedDeclarations support, and one with CSSNestedDeclarations support.

3
6
383
7 Oct 2024
I’m having fun building this `CSSRule` debugger to show you what goes on behind the scenes. codepen.io/bramus/full/JjgXW… Especially handy with `CSSNestedDeclarations` coming to the CSSOM in Chrome 130, Firefox 132, and (hopefully) Safari 18.1.
3
29
2,382
12 Mar 2024
12 Mar 2024
Hi PM @narendramodi @PMOIndia what's going on with @randomsena Is he Arrested ?? 👈
2
4
265
19 Jan 2024
Replying to @kilianvalkhof
Care to open a CSSWG issue for `CSSRule.matches(element)` / `element.matchCSSRule(CSSRule)`? Or shall I open one for you?
1
2
126
Replying to @bramus
CSSRule.matches(element) or element.matchCSSRule(CSSRule) since with nesting, layer, container and scope, element.matches(selector) and window.matchMedia are wholly insufficient. We’re getting element.matchContainer but that’s not enough. CSSOM functions to get specific values from different types of combinatory properties (like box-shadow or font) would be greatly appreciated, eg CSSBoxShadow.get(‘color’) or whatever.
1
2
114
18 Jul 2023
Sorted by specificity helps, because can just check if for ex the style "background-color" was already applied by one CSSRule and then ignore if same style applied by CSSRule later. But really slowing down the process.
1
473
18 Jul 2023
Trying to find out which CSSRule is overwritten for a given element (JS). window.getMatchedCSSRules() is deprecated. There is this SO answer but it still gives list of all cssrules sorted on specificity, not if/which rule is overridden. Anyone any ideas? stackoverflow.com/a/37958301

2
1
2,491