Fix bullet position of floating direction:rtl list items. b=332360 Patch by Hideo Saito <saito@densan.co.jp>. r+sr=dbaron (with modifications)

This commit is contained in:
dbaron%dbaron.org 2007-03-08 00:27:16 +00:00
Родитель 3b96beb321
Коммит 10ba6030af
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -6172,7 +6172,8 @@ nsBlockFrame::ReflowBullet(nsBlockReflowState& aState,
// is distanced from the associated principal box's border edge.
// |rs.availableWidth| reflects exactly a border edge: it includes
// border, padding, and content area, without margins.
? rs.availableWidth + reflowState.mComputedMargin.left :
? rs.ComputedWidth() + rs.mComputedBorderPadding.LeftRight() +
reflowState.mComputedMargin.left :
#endif
- reflowState.mComputedMargin.right - aMetrics.width;