Commit 75ea2a91 authored by Steinar H. Gunderson's avatar Steinar H. Gunderson Committed by moz-wptsync-bot
Browse files

Bug 1812342 [wpt PR 38170] - [css-nesting] Remove an obsolete nesting test., a=testonly

Automatic update from web-platform-tests
[css-nesting] Remove an obsolete nesting test.

This was written before we implemented properties within conditional
rules as implicit & {} rules. (Now, writing explicit & {} within
@media should _not_ serialize to itself.)

Change-Id: I92f1b426eb4838406ca4bfe1e5e9d261faaaaa5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4194596


Commit-Queue: Steinar H Gunderson <sesse@chromium.org>
Reviewed-by: default avatarRune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1097039}

--

wpt-commits: 7d6ffa3654bca9d76e76d84ba01a6e874688bb47
wpt-pr: 38170
parent d7538569
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -25,7 +25,6 @@
    `.foo {\n  .bar > & { color: green; }\n}`,
    `.foo {\n  .bar > & { color: green; }\n}`,
    `.foo, .bar {\n  & + .baz, &.qux { color: green; }\n}`,
    `.foo, .bar {\n  & + .baz, &.qux { color: green; }\n}`,
    `.foo {\n  & .bar & .baz & .qux { color: green; }\n}`,
    `.foo {\n  & .bar & .baz & .qux { color: green; }\n}`,
    `.foo {\n  @media (min-width: 50px) {\n  & { color: green; }\n}\n}`,
    `.foo {\n  @media (min-width: 50px) { color: green; }\n}`,
    `.foo {\n  @media (min-width: 50px) { color: green; }\n}`,
    `main {\n  & > section, & > article {\n  & > header { color: green; }\n}\n}`,
    `main {\n  & > section, & > article {\n  & > header { color: green; }\n}\n}`,
  ]
  ]