Commit Graph

25 Commits

Author SHA1 Message Date
Brian Grinstead
f26de3ff50 Bug 1127423 - Don't scroll horizontally when selecting an element in markup view;r=jryans 2015-05-08 20:39:23 -07:00
Brian Grinstead
2ff405cf8a Backed out changeset f407ab8f7129 (bug 1127423) for suspicion of causing a timeout on browser_mdn-docs-01.js 2015-05-08 22:42:05 -07:00
Brian Grinstead
b0ec7295a6 Bug 1127423 - Don't scroll horizontally when selecting an element in markup view;r=jryans 2015-05-08 20:39:23 -07:00
Patrick Brosset
ff6fd2e249 Bug 1139186 - 2 - Add event handling support to CanvasFrameAnonymousContentHelper; r=bgrins 2015-03-20 16:58:50 +01:00
Patrick Brosset
03227a8bb2 Bug 1139925 - Make the BoxModelHighlighter highlight all quads and draw guides around the outer-most rect
LayoutHelpers.getAdjustedBoxQuads now returns all quads that el.getBoxQuads returns.
The BoxModelHighlighter calculates an outer rect based on these to draw the guides.
And if the element has more than 1 quad (inline element that spans line breaks), then all quads are
highlighted.
Also all related tests were modified and a couple of new tests were added.
2015-03-13 15:54:10 +01:00
Patrick Brosset
07de73aa1e Bug 1084442 - Prevent highlighter from being zoomed in/out and incorrectly positioned when the page is zoomed; r=miker 2014-11-21 11:18:03 +01:00
Brian Grinstead
8cb3638a5d Bug 920141 - Add support for inspecting anonymous content. r=pbrosset 2014-09-29 09:29:00 +02:00
Shu-yu Guo
6cfc2eb110 Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo) 2014-09-15 16:30:46 -07:00
Daniel Holbert
55a5b8718f Bug 1059485: Declare variable "LayoutHelpers" to fix JS strict warning in LayoutHelpers.jsm. r=jwalker 2014-08-28 08:41:24 -07:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Patrick Brosset
fc2789b39a Bug 1014547 - Add a css transform highlighter to the style-inspector; r=bgrins 2014-06-13 16:27:10 +02:00
Michael Ratcliffe
b0542334d7 Bug 969306 - Remove getQuads() polyfill now that getQuads has landed r=pbrosset 2014-06-03 13:12:55 +01:00
Carsten "Tomcat" Book
142bb9685d Backed out changeset 52068b669c2a (bug 911209) for causing type errors in tests 2014-06-05 08:55:26 +02:00
Patrick Brosset
8dd574e20e Bug 911209 - Display hidden nodes differently in the markup-view; r=miker 2014-06-04 21:42:16 +02:00
Michael Ratcliffe
07faa00a6b Bug 663778 - Box Model Highlighter r=jwalker 2014-03-13 21:36:48 +00:00
Ryan VanderMeulen
c633e65783 Backed out 6 changesets (bug 663778) for browser_dbg_listtabs-02.js leaks on a CLOSED TREE.
Backed out changeset cbd200206f9b (bug 663778)
Backed out changeset b0b74401e614 (bug 663778)
Backed out changeset df5255cffbfa (bug 663778)
Backed out changeset e6d0dd124356 (bug 663778)
Backed out changeset 134f77474941 (bug 663778)
Backed out changeset 456609873c5f (bug 663778)
2014-03-13 13:56:22 -04:00
Michael Ratcliffe
d4a5d856cd Bug 663778 - Box Model Highlighter r=jwalker 2014-03-13 13:54:02 +00:00
Vivien Nicolas
f98a17d460 Bug 970937 - [JavaScript Error: 'parentDocShell is null'] in LayoutHelpers.jsm. r=paul 2014-02-15 01:45:45 +01:00
Paul Rouget
fa939323cd Bug 896523 - In Firefox, Console.log does not work from apps launched within the system app. r=msucan 2014-01-24 08:33:31 -05:00
Brian Grinstead
11cc794bd1 Bug 923166 - Use nsIDOMWindowUtils.containerElement inside of LayoutHelpers.getFrameElement. r=paul 2013-10-10 08:57:33 -05:00
Patrick Brosset
14b316f0e2 Bug 917448 - Avoids dead-object exceptions in markup-view due to delete iframe during load. r=paul 2013-09-23 09:04:01 -05:00
Paul Rouget
7f462b52dc Bug 897960 - walker should support mozbrowser iframes. Patch A. r=dcamp 2013-09-08 10:58:00 +02:00
Blair McBride
b059ed329c Backout 86b5d8778fc4,fab07b9d6dee,89a059433037,bbb54cde82c3 (bug 897960) due to orange 2013-09-09 12:45:31 +12:00
Paul Rouget
3449bba861 Bug 897960 - walker should support mozbrowser iframes. r=dcamp 2013-09-08 10:58:00 +02:00
Paul Rouget
5160d5c7ff Bug 912915 - Implement a simple generic highlighter. r=jwalker 2013-09-07 11:39:50 +02:00