зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
3b96beb321
Коммит
10ba6030af
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче