Bug 46481 - Some line break opportunities ignored after a character styled with first-letter, affecting Japanese vertical title layout
Summary: Some line break opportunities ignored after a character styled with first-let...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://hamu86.web.fc2.com/reading/nov...
Keywords:
Depends on: 89235
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-24 10:35 PDT by hm
Modified: 2022-07-12 19:51 PDT (History)
7 users (show)

See Also:


Attachments
test case (345 bytes, text/html)
2010-09-25 19:16 PDT, Alexey Proskuryakov
no flags Details
test case (471 bytes, text/html)
2010-10-15 06:29 PDT, hm
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description hm 2010-09-24 10:35:32 PDT
http://hamu86.web.fc2.com/reading/novel/ss/yugioh/index.html
The title of this site is not correctly display by webkit. 
I think that the cause is h1:first-letter.
If I don't write 'h1:first-letter',The title is correct display.
In case 'h1:first-letter' is included in css file, the title's second letter, alone, is not allowed to start a new line.
Comment 1 Alexey Proskuryakov 2010-09-25 15:49:48 PDT
Could you please clarify what problem that you are observing? This page looks almost exactly the same in Firefox as in Safari 5.0.2 (on Mac).
Comment 2 hm 2010-09-25 16:57:20 PDT
Certainly.I open the screen shots compared by Firefox and Safari to my site.
(safari5.0.2 win)http://hamu86.web.fc2.com/program/images/safari.jpg
(firefox3.6.10)http://hamu86.web.fc2.com/program/images/firefox.jpg
Comment 3 hm 2010-09-25 17:54:23 PDT
I made a (cheep) verification page.
http://hamu86.web.fc2.com/verification.html
Comment 4 Alexey Proskuryakov 2010-09-25 19:16:19 PDT
Created attachment 68839 [details]
test case

Thank you for the screenshots. Turns out that I couldn't reproduce this issue because I was using a default style for the page, while the problem only occurs with a different one.
Comment 5 mitz 2010-09-25 20:00:26 PDT
This is not specific to the anonymous first-letter inline. It also happens in this case:

<p style="width:1em;"><span>あ</span>いうえお</p>

However, it shouldn’t affect CSS vertical text, once implemented.
Comment 6 hm 2010-09-26 06:27:58 PDT
Thank you for comments.
Verification page updated.
First-line is no problem(?)
Comment 7 hm 2010-10-15 06:29:06 PDT
Created attachment 70863 [details]
test case
Comment 8 hm 2010-10-15 06:38:01 PDT
Is this bug corrected?
Presumably,The after character(2byte(japanese,korean,chinese...)) of < tag >A</ tag > is not to change line.
Comment 9 Brent Fulgham 2022-07-12 13:43:40 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Comment 10 Alexey Proskuryakov 2022-07-12 19:51:21 PDT
The original page looks good, too.