Comment 1 for bug 1122154

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: [browser] improve the implementation of selection resizing

One of the things that I’d like to experiment with is allowing to select two consecutive blocks without necessarily selecting the whole parent block. For instance:

 <div id="container">
  …
  <p id="text1">…</p>
  <img id="img1" />
  <img id="img2" />
  <img id="img3" />
  …
</div>

We should allow selecting img1 and img2 together, or any number of consecutive items, without forcing the selection to the container.

In a more complex scenario, we should even allow selecting two (or more) non consecutive items if they are descendants of the same container, and if they can be visually selected as a rectangle.