ArthurHub / ArthurHub/HTML-Renderer
ParseBorderProperty fails on default included CSS
Offen
bug
CSS
- Vorherrschende Sprache
- C#
- Sterne
- 1.4k
- Forks
- 550
- Ø Merge
- 14 T. 9 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
Specifically, it takes hr { border: 1px inset; } and passed 1px into ParseBorderColorProperty
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start by locating ParseBorderProperty and ParseBorderColorProperty, then reproduce the issue with the included CSS rule `hr { border: 1px inset; }`. Trace why `1px` is sent to the color parser; done means the shorthand is parsed without treating the width as a color, with the relevant parsing behavior covered by a regression test.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100