[Webkit-unassigned] [Bug 30998] [Gtk] Implement AtkDocument's locale support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 2 03:31:26 PST 2009


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





--- Comment #1 from Jan Alonzo <jmalonzo at gmail.com>  2009-11-02 03:31:25 PDT ---
(From update of attachment 42281)
>  static const gchar* webkit_accessible_document_get_locale(AtkDocument* document)
>  {
> -    // FIXME: This needs to be implemented.
> -    notImplemented();
> +
> +    // TODO: Should we fall back on lang xml:lang when the following comes up empty?
> +    String language = static_cast<AccessibilityRenderObject*>(core(document))->language();
> +    if (!language.isEmpty())
> +        return returnString(language);

Should this return NULL if empty?

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