[Webkit-unassigned] [Bug 50961] <title> should support dir attribute
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 29 03:54:00 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=50961
Eric Seidel <eric at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #87293|review? |review+
Flag| |
--- Comment #10 from Eric Seidel <eric at webkit.org> 2011-03-29 03:53:59 PST ---
(From update of attachment 87293)
View in context: https://bugs.webkit.org/attachment.cgi?id=87293&action=review
Seems OK.
> Source/WebCore/dom/Document.h:816
> + String title() const { return m_title.string(); }
> + void setTitle(const String&); // Used by DOM bindings; no direction known.
These two are used by teh DOM bindings, and you could separate them by a newline to indicate that. But this is also OK.
> Source/WebCore/html/HTMLTitleElement.cpp:37
> + , m_title("", LTR)
This is no longer needed, right?
> Source/WebCore/loader/FrameLoader.cpp:615
> - if (!ptitle.isNull())
> + if (!ptitle.isEmpty())
We decided that the old isNull behavior was in error?
> Source/WebCore/platform/text/StringWithDirection.h:50
> + StringWithDirection(const String& string, TextDirection dir) : m_string(string), m_direction(dir) {}
Should this have a default parameter for dir? Then this could be implicitly constructed from string. i'm not sure if that's good or bad.
--
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