Repository navigation
Commit 92a6b75
Keep the -webkit- and -o- prefix of a gradient in the background shorthand
Since #577, a -webkit- or -o- gradient is told apart from an unprefixed
one by its prefix, and keeps the legacy angles and start side. The
background shorthand parser dropped every prefix but -moz-, so
`background: -webkit-linear-gradient(left, …)` was read as an unprefixed
gradient. It now keeps -moz-, -webkit- and -o-, and still drops any other.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 1a0e1da commit 92a6b75
2 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
516 | | - | |
| 515 | + | |
| 516 | + | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
| 370 | + | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
373 | 377 | | |
374 | 378 | | |
375 | 379 | | |
| |||
0 commit comments