mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
e4d3b9060a
See https://drafts.csswg.org/selectors-4/#relational. (cherry picked from commit f63a945ba0300551417c740e450957f29c9b73d1)
8 lines
228 B
HTML
8 lines
228 B
HTML
<!doctype html>
|
|
<link rel="match" href="reference/css-nested-has.html" />
|
|
<style>
|
|
a:has(span:has(strong)) {
|
|
color: orange;
|
|
}
|
|
</style>
|
|
<a href="https://example.com"><em><span><strong>Link</strong></span></em></a>
|