DioxusLabs / DioxusLabs/blitz

Backgrounds are not drawn on inline elements

Open
#340 4 comments 1 reaction 0 assignees View on GitHub
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

```

Image


Gecko:

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.