Last Comment Bug 699636 - Highlighter sidebar resizes to follow the highlighter box
: Highlighter sidebar resizes to follow the highlighter box
Product: Firefox
Classification: Client Software
Component: Developer Tools (show other bugs)
: 10 Branch
: x86 Mac OS X
P1 normal (vote)
: Firefox 10
Assigned To: Rob Campbell [:rc] (:robcee)
: J. Ryan Stinnett [:jryans] (use ni?)
Depends on:
  Show dependency treegraph
Reported: 2011-11-03 16:34 PDT by Dave Camp (:dcamp)
Modified: 2011-11-25 05:32 PST (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

keyfix (1.40 KB, patch)
2011-11-05 09:52 PDT, Rob Campbell [:rc] (:robcee)
no flags Details | Diff | Splinter Review
resize fix (740 bytes, patch)
2011-11-05 10:06 PDT, Rob Campbell [:rc] (:robcee) review+
Details | Diff | Splinter Review

Description User image Dave Camp (:dcamp) 2011-11-03 16:34:01 PDT
1) Highlight an element
2) Open the style sidebar
2) Switch the highlighted element with the breadcrumb display

The style sidebar resizes itself to follow the highlighted element.

Manually resizing the splitter stops the unwanted resizing.
Comment 1 User image Rob Campbell [:rc] (:robcee) 2011-11-04 09:00:14 PDT
I can't seem to reproduce this on nightly this morning. Any particular websites where this is happening?
Comment 2 User image Dave Camp (:dcamp) 2011-11-04 09:03:20 PDT, I highlight div#header, then use the breadcrumbs to get to its first child (h1.unitPng).
Comment 3 User image Rob Campbell [:rc] (:robcee) 2011-11-04 09:29:13 PDT
ok, I can reproduce it, but had to restart my browser to do it.

Another weird side-effect is that there appears to be a transition in effect during the resize.
Comment 4 User image Rob Campbell [:rc] (:robcee) 2011-11-05 09:52:37 PDT
Created attachment 572209 [details] [diff] [review]

first pass at a fix. Seems to do the job, but needs tests.
Comment 5 User image Rob Campbell [:rc] (:robcee) 2011-11-05 09:54:13 PDT
Comment on attachment 572209 [details] [diff] [review]

grr. wrong bug.
Comment 6 User image Rob Campbell [:rc] (:robcee) 2011-11-05 10:06:54 PDT
Created attachment 572211 [details] [diff] [review]
resize fix
Comment 7 User image Rob Campbell [:rc] (:robcee) 2011-11-05 10:42:10 PDT
Comment 8 User image Rob Campbell [:rc] (:robcee) 2011-11-06 04:53:03 PST
Comment 9 User image Teodosia Pop 2011-11-25 05:29:08 PST
Verified fixed using
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0a2) Gecko/20111124 Firefox/10.0a2
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a2) Gecko/20111123 Firefox/10.0a2

Note You need to log in before you can comment on or make changes to this bug.