dom/interfaces/xul/moz.build
author James Teh <jteh@mozilla.com>
Fri, 11 Jan 2019 04:52:50 +0000
changeset 453700 346851347c909e92ed68dc3f104c63ff3e0eaa70
parent 437181 aee03f4322032a95adf54ff7abc95d7071fc01a1
permissions -rw-r--r--
Bug 1514687 - Allow accessibility code to focus XUL radio buttons without selecting them. r=bgrins,smaug,MarcoZ,paolo 1. This requires exposing radiogroup's focusedItem property to C++. Unfortunately, there's no existing equivalent in nsIDOMXULSelectControlItemElement. radiogroup is the only element that needs this, so a new interface has been created for it. 2. Accessibility uses focusedItem instead of selectedItem when setting focus. 3. When an item is focused, accessibility needs to be notified. This is done using a DOMMenuItemActive event. Differential Revision: https://phabricator.services.mozilla.com/D15295

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

with Files("**"):
    BUG_COMPONENT = ("Core", "XUL")

XPIDL_SOURCES += [
    'nsIDOMXULButtonElement.idl',
    'nsIDOMXULCommandDispatcher.idl',
    'nsIDOMXULContainerElement.idl',
    'nsIDOMXULControlElement.idl',
    'nsIDOMXULMenuListElement.idl',
    'nsIDOMXULMultSelectCntrlEl.idl',
    'nsIDOMXULRadioGroupElement.idl',
    'nsIDOMXULRelatedElement.idl',
    'nsIDOMXULSelectCntrlEl.idl',
    'nsIDOMXULSelectCntrlItemEl.idl',
]

XPIDL_MODULE = 'dom_xul'