4 ms·
IMO this is the browsers fault. One expects to copy the selected (visible) text. But kinda hard to fix ...
by Qantourisc 14y ago
IMO this is the browsers fault.
One expects to copy the selected (visible) text.
But kinda hard to fix ...
- pekk 14y agoDoesn't the browser have a model of which text is visible? It has to. So why not copy out of that model?
- elliottcarlson 14y agoWhat constitues as visible though? There is the obvious non-visible CSS modifiers like display: hidden; - but at what point does an off screen rendered text actually count as hidden? If you were wanting to copy the entire contents of a page, and the browser assumed anything off screen was invisible then you would not be able to copy everything at once when it goes below the fold. Different screen resolutions and devices would cause other issues there as well.
- LnxPrgr3 14y agoThe text isn't just not visible right now. It can't become visible. It lives above and to the left of the start of the page. Surely the browser's aware of that.
- ukandy 14y agoDefinitely the browsers fault here for the unexpected behaviour and one that could easily trip up those that are not aware of this sort issue (probably those copying and pasting from random sites).