[Webkit-unassigned] [Bug 24187] RTL: tooltip does not get its directionality from its element's directionality

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 14 12:25:00 PDT 2009


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





--- Comment #18 from Xiaomei Ji <xji at chromium.org>  2009-07-14 12:24:59 PDT ---
Hi Darin,

Thanks for your review and your comments, appreciated!

Xiaomei

(In reply to comment #16)
> (From update of attachment 31953 [details])
> > +    RenderObject* renderer = m_innerNonSharedNode->renderer();
> > +    if (renderer)
> > +        dir = renderer->style()->direction();
> 
> Could have defined the variable inside the if statement.
> 
> > +                RenderObject* renderer = titleNode->renderer();
> > +                if (renderer)
> > +                    dir = renderer->style()->direction();
> 
> Ditto.
> 
> > +    }
> > +    else if (isEqual(WebElementTitleKey, key)) {
> 
> In WebKit coding style, the else goes on the same line as the brace.
> 
> > +void WebChromeClient::setToolTip(const String& toolTip, TextDirection /* dir */)
> 
> We normally omit the name entirely rather than having it included but commented
> out.
> 
> r=me

-- 
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