[Webkit-unassigned] [Bug 271526] CSS nesting parsing of complex rules
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 25 01:13:54 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=271526
Karl Dubost <karlcow at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |karlcow at apple.com,
| |m_dubet at apple.com
Summary|What happened to the |CSS nesting parsing of
|development? Bugs are |complex rules
|growing! |
--- Comment #1 from Karl Dubost <karlcow at apple.com> ---
Steve,
as it is currently the bug is not really actionable. Having separate bugs for each problem help to fix things.
If it's about the counter issue, this is already tracked on Bug 268597.
If it's a new bug about CSS nested parsing probably a more focused title would help with a reduced test case.
In https://jsfiddle.net/Rolf_b/axjvuo5y/
Two complex rules seem to trip the parsing (I say seem because I don't know if it's only the Web Inspector layout or the actual interpretation of the CSS). Simpler reduced test cases would be useful here. I removed the styles to focus on the nested rules.
article {
// some styles
&::after {
// some styles
}
ul {
// some styles
}
li {
// some styles
}
>ul>li {
// some styles
}
header:not(:has(.more:checked))~& li.ext {
// some styles
}
li>ul {
// some styles
li::after {
// some styles
}
}
&.working li::before {
// some styles
}
}
This one at least seems to create some issues
header:not(:has(.more:checked)) ~ & li.ext {
// some styles
}
and there is another one, I'm not 100% sure
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240325/c2b4e19c/attachment-0001.htm>
More information about the webkit-unassigned
mailing list