[Webkit-unassigned] [Bug 30997] [Gtk] Implement AtkDocument's attribute support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 2 02:37:08 PST 2009


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





--- Comment #2 from Jan Alonzo <jmalonzo at gmail.com>  2009-11-02 02:37:08 PDT ---
(From update of attachment 42280)
> +    String value = String();
> +    if (!g_ascii_strcasecmp(attribute, "DocType") && coreDocument->doctype())
> +        value = coreDocument->doctype()->name();
> +    else if (!g_ascii_strcasecmp(attribute, "Encoding"))
> +        value = coreDocument->charset();
> +    else if (!g_ascii_strcasecmp(attribute, "URI"))
> +        value = coreDocument->documentURI();
> +    if (!value.isEmpty())
> +        return returnString(value);

Should this return an empty string if it's an empty value?

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