Skip to content

Border of the pseudo-element is missing. #419

@IceLeach

Description

@IceLeach

Describe it simply:

Image

Something puzzling:

/* border missing */
.element::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  border-bottom: 1px solid red;
}
/* border missing */
.element::before {
  content: "B";
  border-bottom: 1px solid red;
}
/* border not missing */
.element::before {
  content: "B";
  position: absolute;
  bottom: 0;
  width: 100%;
  border-bottom: 1px solid red;
}

Quick demo to reproduce

https://codesandbox.io/p/sandbox/khd45h?file=%2Fdemo.tsx

Anything else we should know?

snapdom: 2.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority: highImportant feature broken or significantly degraded, no practical workaround

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions