Page MenuHomePhabricator

Improve behavior of inline comment highlight reticle for block diffs
ClosedPublic

Authored by epriestley on Sep 25 2019, 8:25 PM.
Tags
None
Referenced Files
F18590964: D20835.id.diff
Fri, Sep 12, 7:48 AM
F18570770: D20835.id49676.diff
Wed, Sep 10, 4:07 AM
F18570767: D20835.id49666.diff
Wed, Sep 10, 4:07 AM
F18567430: D20835.id.diff
Tue, Sep 9, 3:46 PM
F18485232: D20835.diff
Wed, Sep 3, 5:23 PM
F18341976: D20835.diff
Tue, Aug 26, 2:30 AM
F18341924: D20835.diff
Tue, Aug 26, 2:02 AM
F18341607: D20835.diff
Tue, Aug 26, 12:19 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable