gecko-dev/editor/reftests/reftest.list
Emilio Cobos Álvarez 33968f7c4e Bug 1850293 - Make editable states not intrinsic. r=smaug,masayuki
This one is tricky because form controls, though I think I got it right...

This fixes a pre-existing bug where we're not following the spec for readonly
inside content-editable.

I filed this as bug 1850390 but other browsers match the spec so add a test and
fix it while at it. This allows cheaper checks for readonlyness in a couple
places.

Differential Revision: https://phabricator.services.mozilla.com/D186896
2023-08-30 09:18:31 +00:00

158 lines
13 KiB
Plaintext

# include the XUL reftests, except on Android which doesn't have XUL.
skip-if(Android) include xul/reftest.list
!= newline-1.html newline-ref.html
== newline-2.html newline-ref.html
== newline-3.html newline-ref.html
== newline-4.html newline-ref.html
== dynamic-1.html dynamic-ref.html
== dynamic-type-1.html dynamic-ref.html
== dynamic-type-2.html dynamic-ref.html
== dynamic-type-3.html dynamic-ref.html
== dynamic-type-4.html dynamic-ref.html
== passwd-1.html passwd-ref.html
!= passwd-2.html passwd-ref.html
== passwd-3.html passwd-ref.html
needs-focus == passwd-4.html passwd-ref.html
== passwd-5-with-Preview.html passwd-ref.html
needs-focus == passwd-5-with-TextEditor.html passwd-ref.html
== passwd-6-with-Preview.html passwd-6-ref.html
needs-focus == passwd-6-with-TextEditor.html passwd-6-ref.html
== passwd-7-with-Preview.html passwd-ref.html
needs-focus == passwd-7-with-TextEditor.html passwd-ref.html
== passwd-8-with-Preview.html passwd-ref.html
needs-focus == passwd-8-with-TextEditor.html passwd-ref.html
== passwd-9-with-Preview.html passwd-2.html
needs-focus == passwd-9-with-TextEditor.html passwd-2.html
== emptypasswd-1.html emptypasswd-ref.html
== emptypasswd-2.html emptypasswd-ref.html
== caret_on_positioned.html caret_on_positioned-ref.html
# Android turns off spellchecker (Bug 1541697)
skip-if(Android) skip-if(cocoaWidget) needs-focus != spellcheck-input-disabled.html spellcheck-input-ref.html # Bug 1666056
skip-if(Android) == spellcheck-input-attr-before.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-attr-before.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-input-attr-after.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-attr-after.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-input-attr-inherit.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-attr-inherit.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-input-attr-dynamic.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-attr-dynamic.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-input-attr-dynamic-inherit.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-attr-dynamic-inherit.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-input-property-dynamic.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-property-dynamic.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-input-property-dynamic-inherit.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-property-dynamic-inherit.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-input-attr-dynamic-override.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-attr-dynamic-override.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-input-attr-dynamic-override-inherit.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-attr-dynamic-override-inherit.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-input-property-dynamic-override.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-property-dynamic-override.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-input-property-dynamic-override-inherit.html spellcheck-input-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-input-property-dynamic-override-inherit.html spellcheck-input-ref.html
skip-if(Android) == spellcheck-textarea-attr.html spellcheck-textarea-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-attr.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus == spellcheck-textarea-focused.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus == spellcheck-textarea-focused-reframe.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus == spellcheck-textarea-focused-notreadonly.html spellcheck-textarea-ref2.html
skip-if(Android) needs-focus != spellcheck-textarea-nofocus.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-disabled.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-attr-inherit.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-attr-dynamic.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-attr-dynamic-inherit.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-property-dynamic.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-property-dynamic-inherit.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-attr-dynamic-override.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-attr-dynamic-override-inherit.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-property-dynamic-override.html spellcheck-textarea-ref.html
skip-if(Android) needs-focus != spellcheck-textarea-property-dynamic-override-inherit.html spellcheck-textarea-ref.html
needs-focus == caret_on_focus.html caret_on_focus-ref.html
needs-focus fails-if(useDrawSnapshot) != caret_on_textarea_lastline.html caret_on_textarea_lastline-ref.html # drawSnapshot doesn't draw the caret
fuzzy-if(Android,0-1,0-1) needs-focus == input-text-onfocus-reframe.html input-text-onfocus-reframe-ref.html
fuzzy(0-5,0-1) needs-focus == input-text-notheme-onfocus-reframe.html input-text-notheme-onfocus-reframe-ref.html
needs-focus == caret_after_reframe.html caret_after_reframe-ref.html
== nobogusnode-1.html nobogusnode-ref.html
== nobogusnode-2.html nobogusnode-ref.html
# Android turns off spellchecker (Bug 1541697)
skip-if(Android) fuzzy(0-3,0-1) == spellcheck-hyphen-valid.html spellcheck-hyphen-valid-ref.html
skip-if(Android) needs-focus != spellcheck-hyphen-invalid.html spellcheck-hyphen-invalid-ref.html
skip-if(Android) == spellcheck-slash-valid.html spellcheck-slash-valid-ref.html
skip-if(Android) == spellcheck-period-valid.html spellcheck-period-valid-ref.html
skip-if(Android) == spellcheck-space-valid.html spellcheck-space-valid-ref.html
skip-if(Android) == spellcheck-comma-valid.html spellcheck-comma-valid-ref.html
skip-if(Android) == spellcheck-hyphen-multiple-valid.html spellcheck-hyphen-multiple-valid-ref.html
skip-if(Android) needs-focus != spellcheck-hyphen-multiple-invalid.html spellcheck-hyphen-multiple-invalid-ref.html
skip-if(Android) == spellcheck-dotafterquote-valid.html spellcheck-dotafterquote-valid-ref.html
skip-if(Android) == spellcheck-url-valid.html spellcheck-url-valid-ref.html
skip-if(Android) fuzzy(0-32,0-1) needs-focus == spellcheck-non-latin-arabic.html spellcheck-non-latin-arabic-ref.html
skip-if(Android) needs-focus == spellcheck-non-latin-chinese-simplified.html spellcheck-non-latin-chinese-simplified-ref.html
skip-if(Android) needs-focus == spellcheck-non-latin-chinese-traditional.html spellcheck-non-latin-chinese-traditional-ref.html
skip-if(Android) needs-focus == spellcheck-non-latin-hebrew.html spellcheck-non-latin-hebrew-ref.html
skip-if(Android) needs-focus == spellcheck-non-latin-japanese.html spellcheck-non-latin-japanese-ref.html
skip-if(Android) fuzzy(0-3,0-1) needs-focus == spellcheck-non-latin-korean.html spellcheck-non-latin-korean-ref.html
== unneeded_scroll.html unneeded_scroll-ref.html
== caret_on_presshell_reinit.html caret_on_presshell_reinit-ref.html
fuzzy-if(browserIsRemote,0-255,0-3) asserts-if(browserIsRemote,0-3) == caret_on_presshell_reinit-2.html caret_on_presshell_reinit-ref.html # bug 959132 for assertions
fuzzy-if(asyncPan&&!layersGPUAccelerated,0-102,0-2824) == 642800.html 642800-ref.html
needs-focus == selection_visibility_after_reframe.html selection_visibility_after_reframe-ref.html
needs-focus != selection_visibility_after_reframe-2.html selection_visibility_after_reframe-ref.html
needs-focus != selection_visibility_after_reframe-3.html selection_visibility_after_reframe-ref.html
== 672709.html 672709-ref.html
== 338427-1.html 338427-1-ref.html
needs-focus == 674212-spellcheck.html 674212-spellcheck-ref.html
needs-focus == 338427-2.html 338427-2-ref.html
needs-focus == 338427-3.html 338427-3-ref.html
needs-focus == 462758-grabbers-resizers.html 462758-grabbers-resizers-ref.html
== readwrite-non-editable.html readwrite-non-editable-ref.html
== readonly-non-editable.html readonly-non-editable-ref.html
== dynamic-overflow-change.html dynamic-overflow-change-ref.html
== 694880-1.html 694880-ref.html
== 694880-2.html 694880-ref.html
== 694880-3.html 694880-ref.html
== 388980-1.html 388980-1-ref.html
# Android turns off spellchecker (Bug 1541697)
skip-if(Android) needs-focus == spellcheck-superscript-1.html spellcheck-superscript-1-ref.html
skip-if(Android) needs-focus != spellcheck-superscript-2.html spellcheck-superscript-2-ref.html
fuzzy(0-1,0-3400) needs-focus pref(layout.accessiblecaret.enabled,false) pref(layout.accessiblecaret.enabled_on_touch,false) == 824080-1.html 824080-1-ref.html
fuzzy-if(OSX,0-1,0-1) needs-focus pref(layout.accessiblecaret.enabled,false) pref(layout.accessiblecaret.enabled_on_touch,false) == 824080-2.html 824080-2-ref.html #Bug 1313253
fuzzy-if(OSX,0-1,0-1) needs-focus pref(layout.accessiblecaret.enabled,false) pref(layout.accessiblecaret.enabled_on_touch,false) == 824080-3.html 824080-3-ref.html #Bug 1312951
needs-focus != 824080-2.html 824080-3.html
fuzzy(0-1,0-3200) needs-focus pref(layout.accessiblecaret.enabled,false) pref(layout.accessiblecaret.enabled_on_touch,false) == 824080-4.html 824080-4-ref.html
fuzzy(0-2,0-1800) needs-focus pref(layout.accessiblecaret.enabled,false) pref(layout.accessiblecaret.enabled_on_touch,false) == 824080-5.html 824080-5-ref.html
needs-focus != 824080-4.html 824080-5.html
needs-focus == 824080-6.html 824080-6-ref.html
needs-focus pref(layout.accessiblecaret.enabled,false) pref(layout.accessiblecaret.enabled_on_touch,false) == 824080-7.html 824080-7-ref.html
needs-focus != 824080-6.html 824080-7.html
# Android turns off spell checker (Bug 1541697)
# Bug 674927: copy spellcheck-textarea tests to contenteditable
skip-if(Android) == spellcheck-contenteditable-attr.html spellcheck-contenteditable-nofocus-ref.html
skip-if(Android) needs-focus != spellcheck-contenteditable-attr.html spellcheck-contenteditable-ref.html
skip-if(Android) needs-focus == spellcheck-contenteditable-focused.html spellcheck-contenteditable-ref.html
skip-if(Android) needs-focus == spellcheck-contenteditable-focused-reframe.html spellcheck-contenteditable-ref.html
skip-if(Android) == spellcheck-contenteditable-nofocus-1.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-nofocus-2.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-disabled.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-disabled-partial.html spellcheck-contenteditable-disabled-partial-ref.html
skip-if(Android) == spellcheck-contenteditable-attr-inherit.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-attr-dynamic.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-attr-dynamic-inherit.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-property-dynamic.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-property-dynamic-inherit.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-attr-dynamic-override.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-attr-dynamic-override-inherit.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-property-dynamic-override.html spellcheck-contenteditable-disabled-ref.html
skip-if(Android) == spellcheck-contenteditable-property-dynamic-override-inherit.html spellcheck-contenteditable-disabled-ref.html
== 911201.html 911201-ref.html
needs-focus == 969773.html 969773-ref.html
fuzzy(0-1,0-220) == 997805.html 997805-ref.html
fuzzy(0-1,0-220) == 1088158.html 1088158-ref.html
fuzzy-if(Android,0-1,0-1) needs-focus == 1443902-1.html 1443902-1-ref.html
fuzzy-if(Android,0-1,0-1) needs-focus == 1443902-2.html 1443902-2-ref.html
fuzzy-if(Android,0-1,0-1) needs-focus == 1443902-3.html 1443902-3-ref.html
fuzzy-if(Android,0-1,0-1) needs-focus == 1443902-4.html 1443902-4-ref.html
== exec-command-indent-ws.html exec-command-indent-ws-ref.html
needs-focus == inline-table-editor-position-after-updating-table-size-from-input-event-listener.html inline-table-editor-position-after-updating-table-size-from-input-event-listener-ref.html
needs-focus fails-if(useDrawSnapshot) != caret-rtl-text-in-ltr-input.html caret-rtl-text-in-ltr-input-notref.html # drawSnapshot doesn't draw the caret
needs-focus fails-if(useDrawSnapshot) != caret-rtl-text-in-ltr-input.html caret-rtl-text-in-ltr-input-notref-2.html # drawSnapshot doesn't draw the caret