mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Fix inside list style overriding content offset
Previously, if a horizontal margin was set on a list-item and it was list-style-position: inside, it would effectively remove that margin.
This commit is contained in:
parent
b272bb3373
commit
60fd406903
Notes:
github-actions[bot]
2025-03-27 23:11:11 +00:00
Author: https://github.com/CanadaHonk
Commit: 60fd406903
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4130
Reviewed-by: https://github.com/gmta ✅
3 changed files with 25 additions and 1 deletions
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
span {
|
||||
display: list-item;
|
||||
list-style-position: inside;
|
||||
|
||||
margin: 200px;
|
||||
}
|
||||
</style>
|
||||
<span></span>
|
Loading…
Add table
Add a link
Reference in a new issue