The markup panel currently uses LayoutHelpers.ScrollIntoViewIfNeeded() with center=false to make sure the selection is visible. This feels right when paging through the list with keynav, but when we get an external select from the highlighter, we should probably use center=true.
The markup view source is in browser/devtools/markupview/MarkupView.jsm - centering is done in showNode(). It's probably easiest to add a center arg to that method, and pass true from onSelect() and false from navigate().
i would like to work on this bug... can you please assign this bug to me...
and also can u explain what has to be done ...
Sir, I would like to contribute to this bug. If this bug is not already assigned I would be highly obliged if u assign the bug to me...Will u explain the bug in detail ?
Hi, I'd like also work on this issue. I have already downloaded mozilla-central & compiled a tested my code change. See attachment. Please, I have no idea how to make tests for this issue.
Created attachment 657585 [details] [diff] [review]
Looks good, thanks!