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:
parent
620a34a463
commit
8bb0be7d4f
3 changed files with 26 additions and 1 deletions
|
@ -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">
|
Loading…
Add table
Add a link
Reference in a new issue