Backed out changeset 90e8b423f4bb (bug 1759602) for reftest failures on caret_on_presshell_reinit-2.html . CLOSED TREE

This commit is contained in:
Narcis Beleuzu 2022-03-16 04:43:46 +02:00
parent d3c9c2abef
commit 4977e9fdb7
4 changed files with 127 additions and 1 deletions

View File

@ -515,6 +515,16 @@ input:is([type=radio], [type=checkbox]):is(:disabled, :disabled:active, :disable
cursor: unset;
}
input:not([type=file], [type=image]):focus-visible,
select:focus-visible,
button:focus-visible,
textarea:focus-visible {
/* These elements can handle outline themselves when themed, so we use
* outline-style: auto and skip rendering the outline only when themed and
* the theme allows so */
outline-style: auto;
}
input[type=search] {
box-sizing: border-box;
}

View File

@ -163,7 +163,8 @@
}
:focus-visible {
outline: 1px auto;
/* Don't specify the outline-color, we should always use initial value. */
outline: 1px dotted;
}
/* Inert subtrees */

View File

@ -0,0 +1,111 @@
[focus-visible-017-2.html]
[By default initial programatic focus matches ':focus-visible', so the element ABBR shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element ADDRESS shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element BDI shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element BLOCKQUOTE shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element CODE shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element DD shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element SUMMARY shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element DETAILS shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element DIV shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element DL shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element DT shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element EM shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element LEGEND shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element FIGCAPTION shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element FIGURE shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element FORM shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element HR shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element IMG shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element LABEL shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element LI shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element MARK shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element METER shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element OL shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element PRE shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element PROGRESS shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element P shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element SMALL shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element S shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element STRONG shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element SUB shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element SUP shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element CAPTION shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element TABLE shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element TD shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element TIME shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element UL shows a focus ring with 'outline-style: auto']
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element U shows a focus ring with 'outline-style: auto']
expected: FAIL

View File

@ -0,0 +1,4 @@
[focus-visible-017.html]
[By default initial programatic focus matches ':focus-visible', so the element shows a focus ring with 'outline-style: auto']
expected: FAIL