summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/container-queries/crashtests/chrome-custom-highlight-crash.html
blob: 61e5075ed4e1b485019d96b402bbf17926bd1098 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<title>Empty ::highlight styles inside @container causes crash</title>
<link rel="help" href="https://crbug.com/1486352">
<style>
  @container (width) {
    section::highlight(custom-highlight) {
      --foo: bar;
    }
  }
</style>
<section style="container-type:inline-size"></section>