bug 1046: letter-spacing should apply on space characters too. r=erik+buster, a=michaell.
git-svn-id: svn://10.0.0.236/trunk@80722 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d4188aa054
commit
02ddc14d64
@ -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