Bug 1674359 Comment 14 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Checking briefly:
* It seems that if there is no leaf content after end of last cell, it returns error from here: https://searchfox.org/mozilla-central/rev/c3d7964c593e0bedabea2fea0b35ba243cf9e696/layout/generic/nsIFrame.cpp#8616
* Then, it reaches here: https://searchfox.org/mozilla-central/rev/c3d7964c593e0bedabea2fea0b35ba243cf9e696/layout/generic/nsFrameSelection.cpp#858

So, perhaps, adding special case here to make selection is collapsed point is allowed after `<table>`. However, I'm not sure it's enough to paint caret because of unsupported position from point of view of caret.
Checking briefly:
* It seems that if there is no leaf content after end of last cell, it returns error from here: https://searchfox.org/mozilla-central/rev/c3d7964c593e0bedabea2fea0b35ba243cf9e696/layout/generic/nsIFrame.cpp#8616
* Then, it reaches here: https://searchfox.org/mozilla-central/rev/c3d7964c593e0bedabea2fea0b35ba243cf9e696/layout/generic/nsFrameSelection.cpp#858

So, perhaps, adding special case here to make selection being collapsed after `<table>` allowed. However, I'm not sure it's enough to paint caret because of unsupported position from point of view of caret.

Back to Bug 1674359 Comment 14