Fix gap between list marker and list content.

svn path=/trunk/netsurf/; revision=3040
This commit is contained in:
Michael Drake 2006-11-10 14:53:46 +00:00
parent df7912f96b
commit 5adbed530c
2 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,7 @@ ul { display: block; padding-left: 1.5em; margin-bottom: 1em;
list-style-type: disc; }
ol { display: block; padding-left: 1.5em; margin-bottom: 1em;
list-style-type: decimal; }
li { display: list-item; padding-left: 0.5em; margin-bottom: 0.3em; }
li { display: list-item; margin-bottom: 0.3em; }
ul ul { list-style-type: circle; }
ul ul ul { list-style-type: square; }

View File

@ -2410,6 +2410,7 @@ void layout_lists(struct box *box)
marker->y = 0;
marker->height = line_height(marker->style);
}
marker->x -= 4; // Gap between marker and content
}
layout_lists(child);
}