Closed
Bug 329069
Opened 19 years ago
Closed 17 years ago
:first-letter should include grapheme clusters
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
FIXED
People
(Reporter: dbaron, Unassigned)
References
(Depends on 2 open bugs)
Details
Attachments
(1 file)
530 bytes,
text/html; charset=UTF-8
|
Details |
The code to fix this is the same area as that to fix bug 23605 / bug 45091 / bug 328111, but it's not the same bug.
:first-letter should include grapheme clusters when combining characters are used. Examples to follow.
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
Note that these examples don't include any that wouldn't be solved by NFC / KNFC normalization, but such examples exist.
Reporter | ||
Comment 3•19 years ago
|
||
See http://www.unicode.org/reports/tr29/ for the definition of grapheme cluster; we probably should have a general mechanism for grapheme cluster iteration since it's very useful for editing. (And such an iterator could be a superset of dealing with surrogates.)
Comment 4•17 years ago
|
||
Fixed by new textframe.
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: in-testsuite? → in-testsuite+
Comment 5•14 years ago
|
||
The 329069-1.html reftest now passes even on Linux.
http://hg.mozilla.org/mozilla-central/rev/8ed68afab41d
Correcting the styles in 329069-2 makes it pass on Linux (only).
http://hg.mozilla.org/mozilla-central/rev/7b49ee09259b
What about Bug #603710 and its testcase
https://bug603710.bugzilla.mozilla.org/attachment.cgi?id=482618
Comment 7•14 years ago
|
||
Yes, it would be good to check in those testcases as reftests.
Depends on: 603710
You need to log in
before you can comment on or make changes to this bug.
Description
•