HomePhorge

Improve behavior of inline comment highlight reticle for block diffs

Description

Improve behavior of inline comment highlight reticle for block diffs

Summary:
Depends on D20834. Ref T13425. After the change from "th" to "td" for accessibility, the algorithm picks which cells it should highlight slightly improperly (it picks too many cells since it can no longer find the line numbers).

Ideally, it would probably highlight only the source content, but there isn't an easy way to do this right now. Settle for an incremental improvement for the moment.

Test Plan: Hovered over line numbers, saw a more accurate highlight area.

Maniphest Tasks: T13425

Differential Revision: https://secure.phabricator.com/D20835

Details

Provenance
epriestleyAuthored on Sep 25 2019, 1:23 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPa09b298d85d7: Correct DOM node metadata to let inline comments work against block-based diffs
Branches
Loading...
Tags
Loading...

Event Timeline