gecko-dev/editor/reftests
Masayuki Nakano 5febecd19b Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame
Anonymous text node in password field has `NS_MAYBE_MASKED` flag and
`TextEditor` managing the node has range of unmasking.  This patch makes
`BuildTextRunsScanner::BuildTextRunForFrames()` treat text frame in
password field as `text-transform` applied.  For recording the unmask range,
this patch creates `nsTransformedCharStyle::mMaskPassword` and treats unmask
range start/end edges as different style boundary.  Therefore,
`nsCaseTransformTextRunFactory::TransformString()` can replace each character
with a password mask character with the information.

Note that we need to kill bidi algorithm in password fields with forms.css
because caret position will tell everybody whether the typing character is
an RTL or an LTR character.

Differential Revision: https://phabricator.services.mozilla.com/D38009

--HG--
extra : moz-landing-system : lando
2019-07-22 03:54:50 +00:00
..
xul Bug 1557371 - Part 1 - Load all XUL reftests with chrome privilege. r=dbaron 2019-07-09 19:40:33 +00:00
338427-1-ref.html
338427-1.html
338427-2-ref.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
338427-2.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
338427-3-ref.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
338427-3.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
388980-1-ref.html
388980-1.html
462758-grabbers-resizers-ref.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
462758-grabbers-resizers.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
642800-iframe.html
642800-ref.html
642800.html
672709-ref.html
672709.html
674212-spellcheck-ref.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
674212-spellcheck.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
694880-1.html
694880-2.html
694880-3.html
694880-ref.html
824080-1-ref.html
824080-1.html
824080-2-ref.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
824080-2.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
824080-3-ref.html
824080-3.html
824080-4-ref.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
824080-4.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
824080-5-ref.html
824080-5.html
824080-6-ref.html
824080-6.html
824080-7-ref.html
824080-7.html
911201-ref.html
911201.html
969773-ref.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
969773.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
997805-ref.html
997805.html
1088158-ref.html
1088158.html
1443902-1-ref.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-1.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-2-ref.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-2.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-3-ref.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-3.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-4-ref.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-4.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
caret_after_reframe-ref.html
caret_after_reframe.html
caret_on_focus-ref.html
caret_on_focus.html
caret_on_positioned-ref.html
caret_on_positioned.html
caret_on_presshell_reinit-2.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
caret_on_presshell_reinit-ref.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
caret_on_presshell_reinit.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
caret_on_textarea_lastline-ref.html
caret_on_textarea_lastline.html
dynamic-1.html
dynamic-overflow-change-ref.html
dynamic-overflow-change.html
dynamic-ref.html
dynamic-type-1.html
dynamic-type-2.html
dynamic-type-3.html
dynamic-type-4.html
emptypasswd-1.html
emptypasswd-2.html
emptypasswd-ref.html
input-text-notheme-onfocus-reframe-ref.html
input-text-notheme-onfocus-reframe.html
input-text-onfocus-reframe-ref.html
input-text-onfocus-reframe.html
newline-1.html
newline-2.html
newline-3.html
newline-4.html
newline-ref.html
nobogusnode-1.html
nobogusnode-2.html
nobogusnode-ref.html
passwd-1.html
passwd-2.html
passwd-3.html
passwd-4.html
passwd-5-with-Preview.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-5-with-TextEditor.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-6-ref.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-6-with-Preview.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-6-with-TextEditor.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-7-with-Preview.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-7-with-TextEditor.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-8-with-Preview.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-8-with-TextEditor.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-9-with-Preview.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-9-with-TextEditor.html Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
passwd-ref.html
readonly-editable-ref.html
readonly-editable.html
readonly-non-editable-ref.html
readonly-non-editable.html
readwrite-editable-ref.html
readwrite-editable.html
readwrite-non-editable-ref.html
readwrite-non-editable.html
reftest.list Bug 1548389 - part 5: Make `nsTextFrame` and related code treat masking password characters as text-transform r=jfkthame 2019-07-22 03:54:50 +00:00
selection_visibility_after_reframe-2.html
selection_visibility_after_reframe-3.html
selection_visibility_after_reframe-ref.html
selection_visibility_after_reframe.html
spellcheck-comma-valid-ref.html
spellcheck-comma-valid.html
spellcheck-contenteditable-attr-dynamic-inherit.html
spellcheck-contenteditable-attr-dynamic-override-inherit.html
spellcheck-contenteditable-attr-dynamic-override.html
spellcheck-contenteditable-attr-dynamic.html
spellcheck-contenteditable-attr-inherit.html
spellcheck-contenteditable-attr.html
spellcheck-contenteditable-disabled-partial-ref.html
spellcheck-contenteditable-disabled-partial.html
spellcheck-contenteditable-disabled-ref.html
spellcheck-contenteditable-disabled.html
spellcheck-contenteditable-focused-reframe.html
spellcheck-contenteditable-focused.html
spellcheck-contenteditable-nofocus-1.html Bug 1507543 - Spellchecker for contenteditable/design-mode should not run without focus; r=m_kato 2018-12-03 11:20:09 +00:00
spellcheck-contenteditable-nofocus-2.html Bug 1507543 - Spellchecker for contenteditable/design-mode should not run without focus; r=m_kato 2018-12-03 11:20:09 +00:00
spellcheck-contenteditable-nofocus-ref.html
spellcheck-contenteditable-property-dynamic-inherit.html
spellcheck-contenteditable-property-dynamic-override-inherit.html
spellcheck-contenteditable-property-dynamic-override.html
spellcheck-contenteditable-property-dynamic.html
spellcheck-contenteditable-ref.html
spellcheck-dotafterquote-valid-ref.html
spellcheck-dotafterquote-valid.html
spellcheck-hyphen-invalid-ref.html
spellcheck-hyphen-invalid.html
spellcheck-hyphen-multiple-invalid-ref.html
spellcheck-hyphen-multiple-invalid.html
spellcheck-hyphen-multiple-valid-ref.html
spellcheck-hyphen-multiple-valid.html
spellcheck-hyphen-valid-ref.html
spellcheck-hyphen-valid.html
spellcheck-input-attr-after.html
spellcheck-input-attr-before.html
spellcheck-input-attr-dynamic-inherit.html
spellcheck-input-attr-dynamic-override-inherit.html
spellcheck-input-attr-dynamic-override.html
spellcheck-input-attr-dynamic.html
spellcheck-input-attr-inherit.html
spellcheck-input-disabled.html
spellcheck-input-nofocus-ref.html
spellcheck-input-property-dynamic-inherit.html
spellcheck-input-property-dynamic-override-inherit.html
spellcheck-input-property-dynamic-override.html
spellcheck-input-property-dynamic.html
spellcheck-input-ref.html
spellcheck-non-latin-arabic-ref.html
spellcheck-non-latin-arabic.html
spellcheck-non-latin-chinese-simplified-ref.html
spellcheck-non-latin-chinese-simplified.html
spellcheck-non-latin-chinese-traditional-ref.html
spellcheck-non-latin-chinese-traditional.html
spellcheck-non-latin-hebrew-ref.html
spellcheck-non-latin-hebrew.html
spellcheck-non-latin-japanese-ref.html
spellcheck-non-latin-japanese.html
spellcheck-non-latin-korean-ref.html
spellcheck-non-latin-korean.html
spellcheck-period-valid-ref.html
spellcheck-period-valid.html
spellcheck-slash-valid-ref.html
spellcheck-slash-valid.html
spellcheck-space-valid-ref.html
spellcheck-space-valid.html
spellcheck-superscript-1-ref.html
spellcheck-superscript-1.html
spellcheck-superscript-2-ref.html
spellcheck-superscript-2.html
spellcheck-textarea-attr-dynamic-inherit.html
spellcheck-textarea-attr-dynamic-override-inherit.html
spellcheck-textarea-attr-dynamic-override.html
spellcheck-textarea-attr-dynamic.html
spellcheck-textarea-attr-inherit.html
spellcheck-textarea-attr.html
spellcheck-textarea-disabled.html
spellcheck-textarea-focused-notreadonly.html
spellcheck-textarea-focused-reframe.html
spellcheck-textarea-focused.html
spellcheck-textarea-nofocus-ref.html
spellcheck-textarea-nofocus.html
spellcheck-textarea-property-dynamic-inherit.html
spellcheck-textarea-property-dynamic-override-inherit.html
spellcheck-textarea-property-dynamic-override.html
spellcheck-textarea-property-dynamic.html
spellcheck-textarea-ref.html
spellcheck-textarea-ref2.html
spellcheck-url-valid-ref.html
spellcheck-url-valid.html
unneeded_scroll-ref.html
unneeded_scroll.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00