зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1764721 - Content skipped via `content-visibility` should not be focusable r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D143723
This commit is contained in:
Родитель
d2ac979432
Коммит
3df3e47b53
|
@ -408,6 +408,8 @@ bool nsIFrame::IsVisibleConsideringAncestors(uint32_t aFlags) const {
|
|||
nsView* view = frame->GetView();
|
||||
if (view && view->GetVisibility() == nsViewVisibility_kHide) return false;
|
||||
|
||||
if (this != frame && frame->IsContentHidden()) return false;
|
||||
|
||||
nsIFrame* parent = frame->GetParent();
|
||||
nsDeckFrame* deck = do_QueryFrame(parent);
|
||||
if (deck) {
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[content-visibility-035.html]
|
||||
expected:
|
||||
if (os == "win") and not debug: [OK, TIMEOUT]
|
||||
[Testing focus and force layout on element with hidden flat-tree ancestor]
|
||||
expected:
|
||||
if (os == "win") and not debug: [FAIL, TIMEOUT]
|
||||
FAIL
|
Загрузка…
Ссылка в новой задаче