mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
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 |
||
|---|---|---|
| .. | ||
| browser.ini | ||
| browser_AsyncPrefs.js | ||
| browser_BrowserUtils.js | ||
| browser_CreditCard.js | ||
| 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 | ||
| browser_Finder_vertical_text.js | ||
| browser_FinderHighlighter.js | ||
| browser_FinderHighlighter2.js | ||
| browser_Geometry.js | ||
| browser_InlineSpellChecker.js | ||
| browser_PromiseMessage.js | ||
| browser_Troubleshoot.js | ||
| 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 | ||