Commit 42cf14b
Fix token pasting with empty fallbacks.
When deciding whether we'd need to insert a dummy comment between
two tokens in CSS token pasting, an empty fallback could confuse
the logic, in that we thought we inserted an EOF token.
Fix by having an early return from empty fallbacks; they shouldn't
affect the output in any reasonable way.
Fixed: 426549962
Change-Id: I0d1f330dd5a507c660395e0d7089873fa5382d12
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6650923
Auto-Submit: Steinar H Gunderson <[email protected]>
Commit-Queue: Anders Hartvoll Ruud <[email protected]>
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1477216}1 parent 23efff3 commit 42cf14b
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
126 | 137 | | |
0 commit comments