[Webkit-unassigned] [Bug 106924] [GTK] GTK does not expose heading level correctly. Was: accessibility/heading-level.html is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 24 09:05:58 PDT 2013


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


chris fleizach <cfleizach at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #212466|review?                     |review-
               Flag|                            |




--- Comment #10 from chris fleizach <cfleizach at apple.com>  2013-09-24 09:05:00 PST ---
(From update of attachment 212466)
View in context: https://bugs.webkit.org/attachment.cgi?id=212466&action=review

r- for some style considerations. thanks

> Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:618
> +        GValue value = { 0, { { 0 } } };

can you use G_VALUE_INIT here?

> Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:621
> +            return 0.0f;

style guidelines say not to append "f" to literals

> Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:632
> +        if (!ok)

this should be if (ok)... then you can let the failure case fall through to the final return value

> Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:633
> +            return 0.0f;

ditto

> Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:636
> +    return 0.0f;

ditto

> Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:789
> +            return 0.0f;

ditto about .f

> Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:799
> +        double headingLevelValue = headingLevel.toDouble(&ok);

ditto about comments from DRT

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