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:
Oliver Medhurst 2025-03-27 22:34:27 +00:00 committed by Andreas Kling
commit 60fd406903
Notes: github-actions[bot] 2025-03-27 23:11:11 +00:00
3 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<style>
span {
display: list-item;
list-style-position: inside;
margin: 200px;
}
</style>
<span></span>