Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style engine: support nested CSS rules (or CSS containers) #58797

Closed
wants to merge 20 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove comments
  • Loading branch information
ramonjd committed Feb 11, 2024
commit e69c10dac5f737bfa14ef5993439d5050b560551
14 changes: 0 additions & 14 deletions phpunit/style-engine/style-engine-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -887,20 +887,6 @@ public function test_should_return_stylesheet_with_nested_at_rules() {
$this->assertSame( '.foo{background-color:red;@media (orientation: landscape){background-color:blue;}@media (min-width > 1024px){background-color:cotton-blue;}}', $compiled_stylesheet );
}

/*
.foo {
display: grid;

@media (orientation: landscape) {
grid-auto-flow: column;

@media (min-width > 1024px) {
max-inline-size: 1024px;
}
}
}
*/

/**
* Tests that incoming styles are deduped and merged.
*
Expand Down
Loading