diff options
| author | bptato <nincsnevem662@gmail.com> | 2025-02-05 00:40:01 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2025-02-05 00:46:52 +0100 |
| commit | 8db503b392040adec9742880991dc8a9d6f3bb7c (patch) | |
| tree | dd7674389866dd0fb5faa128276077758047bd03 /test | |
| parent | b0afdb827276f7d8516bf37659172bf8b28cda19 (diff) | |
| download | chawan-8db503b392040adec9742880991dc8a9d6f3bb7c.tar.gz | |
cssparser: fix an infinite loop
startsWithNumber was a poorly copied version of the standard algorithm,
which, as it turns out, is largely redundant.
So I removed most of it and inlined the rest.
Diffstat (limited to 'test')
| -rw-r--r-- | test/layout/invalid-pseudo-element-selectors.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/layout/invalid-pseudo-element-selectors.html b/test/layout/invalid-pseudo-element-selectors.html index bd5fbd1f..76e38b3e 100644 --- a/test/layout/invalid-pseudo-element-selectors.html +++ b/test/layout/invalid-pseudo-element-selectors.html @@ -7,6 +7,7 @@ ::before#x { color: blue } :is(#x::before, #y) { color: purple } :is(#x::before) span { color: red } +.-0 { color: red } </style> <span id=x> be |