Backgrounds are not drawn on inline elements
Open
enhancement
help wanted
- Dominant language
- Rust
- Stars
- 4.1k
- Forks
- 203
- Avg merge
- 8h 58m
- Merged PRs (30d)
- 112
Description
The before and after pseudo-elements don't have a background-colour (I haven't checked for other properties) when they don't have a display assigned.
Minimal Example
```html
.with::after {
display: block;
background-color: #FF7500;
content: "Some content";
}
.without::after {
background-color: #FF7500;
content: "Some content";
}
With
Without
```
Gecko:
Contributor guide
Assessment
This issue has not been assessed yet.