1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:47:45 +00:00

LibWeb: Don't apply presentational hints to associated pseudo elements

CSS properties generated by presentational hints in content attributes
should not leak into pseudo elements.
This commit is contained in:
Andreas Kling 2023-04-02 08:48:29 +02:00
parent 620a34a463
commit 8bb0be7d4f
3 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,11 @@
<!DOCTYPE html><html><head><style>
* {
border: 1px solid black;
font: 20px SerenitySans;
}
td::before {
display: block;
content: "";
border: 1px solid red;
}
</style><head><body><table><tr><td width="100" height="100">