| Index: Source/core/accessibility/AccessibilityMenuListOption.cpp
|
| diff --git a/Source/core/accessibility/AccessibilityMenuListOption.cpp b/Source/core/accessibility/AccessibilityMenuListOption.cpp
|
| index 14821b338bca2493cb06c8e2beeb3d7a7b01d8a6..45e9ca865c5894995ebbd601e5f03af443054187 100644
|
| --- a/Source/core/accessibility/AccessibilityMenuListOption.cpp
|
| +++ b/Source/core/accessibility/AccessibilityMenuListOption.cpp
|
| @@ -20,7 +20,7 @@
|
| * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| #include "config.h"
|
| @@ -46,7 +46,7 @@ Element* AccessibilityMenuListOption::actionElement() const
|
| {
|
| return m_element.get();
|
| }
|
| -
|
| +
|
| bool AccessibilityMenuListOption::isEnabled() const
|
| {
|
| // isDisabledFormControl() returns true if the parent <select> element is disabled,
|
| @@ -58,7 +58,7 @@ bool AccessibilityMenuListOption::isVisible() const
|
| {
|
| if (!m_parent)
|
| return false;
|
| -
|
| +
|
| // In a single-option select with the popup collapsed, only the selected
|
| // item is considered visible.
|
| return !m_parent->isOffScreen() || isSelected();
|
|
|