bug 263411 : :first-letter pseudo-element doesn't include all punctuation marks in the Unicode (r/sr=dbaron)
git-svn-id: svn://10.0.0.236/trunk@163407 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4487,6 +4487,12 @@ nsTextFrame::EstimateNumChars(PRUint32 aAvailableWidth,
|
||||
// Replaced by precompiled CCMap (see bug 180266). To update the list
|
||||
// of characters, see one of files included below. As for the way
|
||||
// the original list of characters was obtained by Frank Tang, see bug 54467.
|
||||
// Updated to fix the regression (bug 263411). The list contains
|
||||
// characters of the following Unicode character classes : Ps, Pi, Po, Pf, Pe.
|
||||
// (ref.: http://www.w3.org/TR/2004/CR-CSS21-20040225/selector.html#first-letter)
|
||||
// Note that the file does NOT yet include non-BMP characters because
|
||||
// there's no point including them without fixing the way we identify
|
||||
// 'first-letter' currently working only with BMP characters.
|
||||
#include "punct_marks.ccmap"
|
||||
DEFINE_CCMAP(gPuncCharsCCMap, const);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user