[Webkit-unassigned] [Bug 121506] Add isTextOrBR() and use it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 17 11:05:44 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=121506


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #211923|review?                     |review+
               Flag|                            |




--- Comment #2 from Darin Adler <darin at apple.com>  2013-09-17 11:04:51 PST ---
(From update of attachment 211923)
View in context: https://bugs.webkit.org/attachment.cgi?id=211923&action=review

> Source/WebCore/rendering/RenderCounter.cpp:111
> -    if (object->isText() && !object->isBR())
> +    if (object->isText())

Aha! ;-)

> Source/WebCore/rendering/RenderTreeAsText.cpp:592
> -    if (o.isText() && !o.isBR()) {
> +    if (o.isText()) {

Glad this made you find these.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list