gecko-dev/toolkit/modules/tests/browser
Emilio Cobos Álvarez 8cfb840466 Bug 1627643 - Allow to find and display selection native anonymous content. r=jfkthame
The check for generated content in nsTextFrame is to the best of my
knowledge useless: We don't display generated content as selected when
the parent is selected anyhow, and the offsets would be wrong.

We special-case text inputs and textarea because of ::placeholder, see
the comment, but otherwise there's no reason you shouldn't be able to
find-in-page generated content / fallback / etc.

I added ForceBreakBetween so as to not create ranges that span across
shadow / anonymous content boundaries. They don't work anyway (see the
TODO in test_find.html), so it seems better to make that explicit until
we properly handle them (bug 1590379).

I added a pref just to be safe since this is long-standing behavior, but
I think it should be uncontroversial.

Differential Revision: https://phabricator.services.mozilla.com/D72447
2020-04-27 13:56:04 +00:00
..
browser.ini
browser_AsyncPrefs.js
browser_BrowserUtils.js
browser_CreditCard.js Bug 1622514 - Move OSKeyStore.jsm into toolkit/modules. r=jaws 2020-03-25 08:21:24 +00:00
browser_Deprecated.js
browser_Finder.js
browser_Finder_hidden_textarea.js
browser_Finder_offscreen_text.js
browser_Finder_overflowed_onscreen.js
browser_Finder_overflowed_textarea.js
browser_Finder_pointer_events_none.js
browser_Finder_skip_invisible_and_option.js Bug 1627643 - Allow to find and display selection native anonymous content. r=jfkthame 2020-04-27 13:56:04 +00:00
browser_Finder_vertical_text.js
browser_FinderHighlighter.js Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub 2020-03-13 23:38:52 +00:00
browser_FinderHighlighter2.js Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub 2020-03-13 23:38:52 +00:00
browser_Geometry.js
browser_InlineSpellChecker.js
browser_PromiseMessage.js
browser_Troubleshoot.js Bug 1629946 - Add region and distribution ID information onto about:support. r=Gijs,fluent-reviewers 2020-04-22 17:16:12 +00:00
browser_web_channel.js
file_FinderIframeTest.html
file_FinderSample.html
file_getSelectionDetails_inputs.html
file_web_channel.html
file_web_channel_iframe.html
head.js