Implement 'aria-required' attribute.
Created attachment 34015 [details] patch
Comment on attachment 34015 [details] patch > Index: WebKitTools/DumpRenderTree/AccessibilityUIElement.cpp > =================================================================== > --- WebKitTools/DumpRenderTree/AccessibilityUIElement.cpp (revision 46735) > +++ WebKitTools/DumpRenderTree/AccessibilityUIElement.cpp (working copy) > @@ -327,6 +327,11 @@ static JSValueRef getIsEnabledCallback(J > return JSValueMakeBoolean(context, toAXElement(thisObject)->isEnabled()); > } > > +static JSValueRef getIsRequiredCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) > +{ > + return JSValueMakeBoolean(context, toAXElement(thisObject)->isRequired()); > +} > + No need to name the unused params. > Index: WebKitTools/DumpRenderTree/AccessibilityUIElement.h > =================================================================== > --- WebKitTools/DumpRenderTree/AccessibilityUIElement.h (revision 46735) > +++ WebKitTools/DumpRenderTree/AccessibilityUIElement.h (working copy) > @@ -95,6 +95,7 @@ public: > JSStringRef selectedTextRange(); > bool supportsPressAction(); > bool isEnabled(); > + bool isRequired(); > double clickPointX(); > double clickPointY(); > Looks like this can be const. r=me
http://trac.webkit.org/changeset/46768