[Webkit-unassigned] [Bug 3230] CSS1: Words with inline elements get extra capital letters

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Feb 13 11:37:15 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=3230


hyatt at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6458|review?                     |review-
               Flag|                            |




------- Comment #5 from hyatt at apple.com  2006-02-13 11:37 PDT -------
(From update of attachment 6458)
+                    for (o = previousRenderer(); o && o->isInline() &&
!o->isText(); o = o->previousRenderer())

This will include images that occur between words, e.g.,

foo<img>goo

I'm not sure that's right.  You might want to see what other browsers do.


+                        ;
+                    if (o && o->isText()) {
+                        DOMStringImpl* prevStr =
static_cast<RenderText*>(o)->string();
+                        QChar c = (*prevStr)[prevStr->length() - 1];
+                        if (!c.isSpace())
+                            runOnString = true;
+                    }

Not sure about this from an RTL perspective.  Maybe Mitz could comment, but
that seems dangerous to me.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list