Bug 19174

Summary: Double quotes do not stick to question marks when wrapping
Product: WebKit Reporter: Marc Prud'hommeaux <mwp1>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
HTML file showing quotes not sticking to question marks when wrapping none

Description Marc Prud'hommeaux 2008-05-21 15:41:04 PDT
When a double-quote is next to a question mark at a line break point, then the double-quote can separate from the question mark when wrapping. This is especially noticeable when reading dialog in narrow, frequently wrapped columns.

For example, the string "Hello?" could be wrapped so that "Hello? appears on one line, and then a stray " appears at the beginning of the next line. I.e., it turns into:

"Hello?
"

I've attached an HTML file that demonstrates this behavior, provided you resize the browser window until you see the wrap. For comparison, Mozilla always keeps the quotes attached to the question mark. Also, note that this only seems to be a problem with question marks: periods next to quotation marks are never separated when rendered with webkit, nor are exclamation points.
Comment 1 Marc Prud'hommeaux 2008-05-21 15:42:06 PDT
Created attachment 21278 [details]
HTML file showing quotes not sticking to question marks when wrapping
Comment 2 mitz 2008-05-21 18:13:44 PDT
Marking as a duplicate of bug 17475. I will add a note there about the double quotation mark case.

*** This bug has been marked as a duplicate of 17475 ***