Closed
Bug 23605
Opened 25 years ago
Closed 17 years ago
first-letter should include initial punctuation
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: dbaron, Assigned: MatsPalmgren_bugz)
References
(Depends on 1 open bug, )
Details
(Keywords: css1, testcase, Whiteboard: [CSS1-2.4])
Attachments
(1 file)
453 bytes,
text/html
|
Details |
DESCRIPTION: According to CSS2, section 5.12.2, "Punctuation (i.e, characters defined in Unicode [UNICODE] in the "open" (Ps), "close" (Pe), and "other" (Po) punctuation classes), that precedes the first letter should be included" in the first-letter pseudo-element. Currently this seems to be happening only for quotation marks. What really needs to happen is access of some Unicode character database (which hopefully exists in some i18n code somewhere). However, there are some problems with this. In particular, if there is a start-tag somewhere in the middle of the "first letter" (including the punctuation), I'm not sure what to do, since I don't see a way to keep a tree structure (which is clearly necessary). I just suggested on www-style that in such a case, the first-letter should not be drawn. See http://lists.w3.org/Archives/Public/www-style/2000Jan/0017.html for my post and links to any replies. STEPS TO REPRODUCE: * load attached test case ACTUAL RESULTS: * In cases 1 and 5, only the first character is large and red. * In case 2, correctly, the first two characters are large and red. * In cases 3 and 4 I'm not seeing the initial characters because of bug [I can't find the number. I hope it's filed], and nothing is large and red. * In case 6, the first two characters are large and red. EXPECTED RESULTS: * In cases 1-4, the first two characters should be large and red. * Case 5 is undefined, as I mentioned above. * In case 6, (I think!!) the first 4 characters should be large and red. DOES NOT WORK CORRECTLY ON: * Linux, mozilla, 2000-01-10-08-M13 ADDITIONAL INFORMATION: Alan Flavell pointed this bug out to me.
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 3•25 years ago
|
||
See Bert Bos's reply to my message: http://lists.w3.org/Archives/Public/www-style/2000Jan/0019.html
Updated•25 years ago
|
Summary: first-letter should include initial punctuation → {css1} first-letter should include initial punctuation
Comment 5•25 years ago
|
||
See also this incomplete test page: http://www.bath.ac.uk/%7Epy8ieh/internet/eviltests/pseudoelements1.html
Comment 6•25 years ago
|
||
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz} radars should now be considered deprecated in favour of keywords. I am *really* sorry about the spam...
Updated•25 years ago
|
Summary: {css1} first-letter should include initial punctuation → first-letter should include initial punctuation
first-letter bug fixes will be post beta
Status: NEW → ASSIGNED
Target Milestone: M16 → M18
Comment 10•25 years ago
|
||
redistributing bugs across future milestones, sorry for the spam
Target Milestone: M18 → M19
Comment 11•25 years ago
|
||
This bug has been marked "future" because we have determined that it is not critical for netscape6.0. If you feel this is an error, or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: M19 → Future
Updated•24 years ago
|
Summary: first-letter should include initial punctuation → first-letter should include initial punctuation [INLINE]
Comment 12•24 years ago
|
||
Upon managerial request, adding the "testcase" keyword to 84 open layout bugs that do not have the "testcase" keyword and yet have an attachement with the word "test" in the description field. Apologies for any mistakes.
Keywords: testcase
Updated•24 years ago
|
Keywords: mozilla1.0
QA Contact: petersen → ian
Comment 13•23 years ago
|
||
Build reassigning Buster's bugs to Marc.
Assignee: buster → attinasi
Status: ASSIGNED → NEW
Updated•23 years ago
|
Whiteboard: [CSS1-2.4]
Comment 14•23 years ago
|
||
Confirmed using FizzillaCFM/2002070913. Cases 1, 3, 4, and 5 only apply the first-letter style to the first, punctuation character. In case 2 it's applied to both the inch mark and the capital T. In case 6 it's applied to the inch and foot marks, but not the capital T. Setting All/All.
OS: Linux → All
Hardware: PC → All
Comment 15•22 years ago
|
||
Should this be marked as a duplicate of Bug 54467? It is the exact same bug, and although was opened later, it has a patch attached (which appears to be stalled awaiting benchmark tests).
Comment 17•22 years ago
|
||
Using FizzillaMach/2002122307, it appears bug 54467's fix has addressed some of the tests in attachment 1 [details] [diff] [review], but not all. Specifically, examples 1 and 4 now work correctly, but examples 3, 5, and 6 still don't.
Comment 19•22 years ago
|
||
->Fonts & Text, and cc'ing Shanjian, who created the patch for the related bug.
Component: Layout → Layout: Fonts and Text
Updated•21 years ago
|
Keywords: mozilla1.0
Summary: first-letter should include initial punctuation [INLINE] → first-letter should include initial punctuation
Comment 21•21 years ago
|
||
Isn't this bug related (or even overlapping) bug 52109, bug 92176 and bug 54467 ?
Updated•21 years ago
|
Comment 22•20 years ago
|
||
the fix for bug 54467 had been broken between Mozilla 1.3.1 and 1.4. it might be a regression by Bug 180266.
Assignee | ||
Updated•20 years ago
|
Assignee: core.layout.fonts-and-text → mats.palmgren
Comment 24•17 years ago
|
||
Fixed by new text frame All the cases in the testcase currently work except for the undefined case 5.
Status: NEW → RESOLVED
Closed: 17 years ago
Depends on: 367177
Flags: in-testsuite?
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•