[Webkit-unassigned] [Bug 138196] Implement :role pseudo selector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 29 17:58:07 PDT 2014


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

--- Comment #10 from James Craig <jcraig at apple.com> ---
(In reply to comment #9)
> So is this meant to apply to the resolved role, or the developer role?

Computed role, not the content attribute. This may also be accessed as Element.computedRole() if a related change goes into DOM.

> I can imagine it might be confusing if the resolved role is different from
> what the user writes down

There are already attribute selectors, so if the dev needed the content attribute value, they already could already match on [role="whatever"]:

<button role="foo">test<button>

Would be matched by either:

*[role="foo"]
*:role(button)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141030/db7b9013/attachment-0002.html>


More information about the webkit-unassigned mailing list