mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
bug 1046: letter-spacing should apply on space characters too. r=erik+buster, a=michaell.
This commit is contained in:
parent
5b6a19400c
commit
195136278b
@ -541,6 +541,8 @@ public:
|
||||
if (eStyleUnit_Coord == unit) {
|
||||
mLetterSpacing = mText->mLetterSpacing.GetCoordValue();
|
||||
}
|
||||
mWordSpacing += mLetterSpacing; // bug 1046
|
||||
|
||||
mNumSpacesToRender = 0;
|
||||
mNumSpacesToMeasure = 0;
|
||||
mNumSpacesReceivingExtraJot = 0;
|
||||
|
@ -541,6 +541,8 @@ public:
|
||||
if (eStyleUnit_Coord == unit) {
|
||||
mLetterSpacing = mText->mLetterSpacing.GetCoordValue();
|
||||
}
|
||||
mWordSpacing += mLetterSpacing; // bug 1046
|
||||
|
||||
mNumSpacesToRender = 0;
|
||||
mNumSpacesToMeasure = 0;
|
||||
mNumSpacesReceivingExtraJot = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user