ArthurHub / ArthurHub/HTML-Renderer
CSS selector for wildcard classes does not work
Offen
CSS
enhancement
- Vorherrschende Sprache
- C#
- Sterne
- 1.4k
- Forks
- 550
- Ø Merge
- 14 T. 9 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
this is valid CSS
```css
code[class*="language-"],
pre[class*="language-"] {
color: black;
}
```
Matches
```html
xyz
````
HTML-Renderer ignores it.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start by reproducing the issue with the CSS and HTML snippets in the report, then trace HTML-Renderer's CSS selector matching for attribute selectors. Done means selectors using [class*="language-"] correctly match the shown code and pre elements and apply the declared color.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, css
- 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