DOM-based selection rect