mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 11:48:06 +00:00
LibWeb: Fix ::marker placement in tree
Fixes ::marker (pseudo-element) placement in the tree for list-items. Previously: - ::before - content - ::marker - ::after Now (matches Firefox, afaik per-spec): - ::marker - ::before - content - ::after
This commit is contained in:
parent
bc8f8676cc
commit
b272bb3373
Notes:
github-actions[bot]
2025-03-27 23:11:17 +00:00
Author: https://github.com/CanadaHonk 🔰
Commit: b272bb3373
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4130
Reviewed-by: https://github.com/gmta ✅
8 changed files with 83 additions and 34 deletions
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
span {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
div {}
|
||||
|
||||
span::before {
|
||||
content: "before";
|
||||
}
|
||||
|
||||
span::after {
|
||||
content: "after";
|
||||
}
|
||||
</style>
|
||||
<span><div></div></span>
|
Loading…
Add table
Add a link
Reference in a new issue