mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
8cfb840466
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 |
||
---|---|---|
.. | ||
base | ||
build | ||
docs | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |