Skip to content

Commit

Permalink
Bug 1840781 - [css-nesting] Enable by default. r=boris
Browse files Browse the repository at this point in the history
After the pending test fixes (bug 1843349) we only fail tests due to two
reasons:

 * :has() being unsupported. Not related to the feature itself.

 * The nesting selector being inside another (invalid) forgiving
   selector, e.g. :is(!&) not being preserved.

The later is pretty much in edge-case-land, and I think
w3c/csswg-drafts#8356 would be more consistent
rather than doing it only when an & is found (which is very very weird).

So I wouldn't want to block on that. Let's let it ride the trains.

Differential Revision: https://phabricator.services.mozilla.com/D183519

UltraBlame original commit: 88d3fbc7589e6b57adc0946fe197ada285ac84b7
  • Loading branch information
marco-c committed Jul 16, 2023
1 parent fbac70d commit f29ba09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/libpref/init/StaticPrefList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8257,7 +8257,7 @@
# Whether CSS nesting is enabled.
- name: layout.css.nesting.enabled
type: RelaxedAtomicBool
value: @IS_NIGHTLY_BUILD@
value: true
mirror: always
rust: true

Expand Down

0 comments on commit f29ba09

Please sign in to comment.