ipc/moz.build
author Ting-Yu Lin <tlin@mozilla.com>
Thu, 16 Jan 2020 23:06:21 +0000
changeset 510642 29c9a00754c183c83c7c378eae4aa82accd21b34
parent 488596 195cb2fb88bd1cf8aac175e8660e678325f215a8
permissions -rw-r--r--
Bug 1306634 Part 2 - Do not show carets if the window is not focused. r=mats Consider the following scenario: 1. Select a word in an iframe. 2. Select a word in the parent document. (The carets in iframe hide due to blur, but the selection is still there.) 3. Scroll the parent document. The selection in the iframe (made in step 1) has a non-collapsed range. Thus the carets show again after scrolling due to `UpdateCarets()` called in the end of `AccessibleCaretManager::OnScrollEnd()`. To fix the dual AccessibleCaret in the same page (described in bug 1199967), we can simply show no carets if the window is not focused. This behavior matches Google Chrome on Android. Differential Revision: https://phabricator.services.mozilla.com/D52768

# -*- 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/.

DIRS += [
    'app',
    'chromium',
    'glue',
    'ipdl',
    'testshell',
]

if CONFIG['OS_ARCH'] == 'WINNT':
    DIRS += ['mscom']

TEST_DIRS += [
    'gtest',
]

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