Commit Graph

112 Commits

Author SHA1 Message Date
Patrick Brosset
4ef5ae3f3b Bug 1151956 - Add tooltips with refs to source css rules in the layout-view; r=miker
--HG--
extra : rebase_source : 56dc9040db51b0d3d0c95d1039db5475ae00292c
2015-04-16 18:40:40 +02:00
Jan Keromnes
bcbcedb080 Bug 1141571 - Add a legend to the Box Model tool. r=bgrings 2015-04-14 08:58:00 +02:00
Jan Keromnes
3640dc402f Bug 1141571 - Replace box model's old tooltip mechanism with title attributes. r=pbrosset 2015-04-14 05:59:00 +02:00
Patrick Brosset
e6e0278825 Bug 966787 - 2 - Skip inspector breadcrumb updates when the output doesn't change; r=bgrins
Whenever something changed on the selected element (pseudo, attribute), the
breadcrumbs widget used to loop over all breadcrumbs buttons and re-create the
markup for each.
Now, we cache a string version of the text displayed in a button and compare
the new value to that in the loop, to skip DOM updates.

Additionally, the breadcrumbs widget used to update itself after all markup mutations
in the DOM tree displayed in the inspector. The update method now looks at the mutations
array and early return if none of them actually impact the displayed breadcrumbs.

--HG--
extra : rebase_source : 4945c42d03e5be856c92919aa271811e66f3d188
2015-04-13 10:22:05 +02:00
Panos Astithas
e4b9084401 Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Anush
ef55f363e7 Bug 1113761 - Allow decimal values in the layout view. r=jaws r=mratcliffe 2015-02-24 09:23:00 +01:00
Brian Grinstead
65b7fd2bf7 Bug 1121110 - Add a shared.properties file for localizing strings used across tools;r=vporof 2015-01-28 11:57:27 -08:00
Aaron Raimist
e70c6c1695 Bug 1042619 - Change 'width x height' letter x to a multiplication sign in devtools frontend. r=bgrins 2015-01-26 14:36:00 -05:00
Cameron McCormack
8184e4e1ed Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2015-01-17 15:16:02 +11:00
Cameron McCormack
ef9c6fb6bd Bug 649142 - Part 3: Convert logical padding properties. r=dbaron
Here we convert the logical padding properties into their new resolved-at-
cascade-time implementations.  This involves:

* converting -moz-padding-{start,end} into logical longhand properties
* adding padding-inline-{start,end} aliases for -moz-padding-{start,end}
* converting padding-{left,right} into longhand properties
* removing padding-{left,right}-value and
  padding-{left,right}-{ltr,rtl}-source internal properties

The CSS parser and various tests are simplified a bit as a result.
2015-01-17 15:16:02 +11:00
Phil Ringnalda
41cdae473a Back out 9 changesets (bug 649142)
Backed out changeset 936703c75200 (bug 649142)
Backed out changeset b0252d2620d8 (bug 649142)
Backed out changeset 69ddb2036c50 (bug 649142)
Backed out changeset 67748675e669 (bug 649142)
Backed out changeset 15ed55c61f4e (bug 649142)
Backed out changeset 35c42cd138e1 (bug 649142)
Backed out changeset 1335630cf287 (bug 649142)
Backed out changeset b5725cd39a31 (bug 649142)
Backed out changeset b0eb691d6695 (bug 649142)
2014-12-30 20:04:20 -08:00
Cameron McCormack
246dccd863 Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2014-12-31 12:18:14 +11:00
Cameron McCormack
c1366ac48c Bug 649142 - Part 3: Convert logical padding properties. r=dbaron
Here we convert the logical padding properties into their new resolved-at-
cascade-time implementations.  This involves:

* converting -moz-padding-{start,end} into logical longhand properties
* adding padding-inline-{start,end} aliases for -moz-padding-{start,end}
* converting padding-{left,right} into longhand properties
* removing padding-{left,right}-value and
  padding-{left,right}-{ltr,rtl}-source internal properties

The CSS parser and various tests are simplified a bit as a result.
2014-12-31 12:18:14 +11:00
Patrick Brosset
b66c23fae5 Bug 1103993 - 3 - Only refresh the rule/computed views when active; r=bgrins r=ochameau 2014-12-10 09:09:19 +01:00
Patrick Brosset
84521f06a3 Bug 985597 - Fix layout-view tests after highlighter changes & make them more robust; r=miker
--HG--
rename : browser/devtools/layoutview/test/browser_editablemodel.js => browser/devtools/layoutview/test/browser_layoutview_editablemodel.js
rename : browser/devtools/layoutview/test/browser_editablemodel_allproperties.js => browser/devtools/layoutview/test/browser_layoutview_editablemodel_allproperties.js
rename : browser/devtools/layoutview/test/browser_editablemodel_border.js => browser/devtools/layoutview/test/browser_layoutview_editablemodel_border.js
rename : browser/devtools/layoutview/test/browser_editablemodel_stylerules.js => browser/devtools/layoutview/test/browser_layoutview_editablemodel_stylerules.js
2014-11-06 13:04:51 +01:00
Patrick Brosset
bed521e65f Bug 985597 - Filter useless highlighter updates & and use requestAnimationFrame for updates; r=miker 2014-11-06 13:04:28 +01:00
Patrick Brosset
938f666e75 Bug 1020038 - Disable test browser/devtools/layoutview/test/browser_layoutview_update-in-iframes.js; r=me 2014-10-13 09:35:50 +02:00
Michael Ratcliffe
2945f297eb Bug 994732 - Make "Disable Cache" in Devtools persist (only when the toolbox is open) r=jwalker, r=pbrosset 2014-07-17 10:39:56 +01:00
Michael Ratcliffe
0c34350ec3 Bug 1032721 - Re-enable browser_inspector_infobar.js when oranges are fixed r=pbrosset
--HG--
rename : browser/devtools/inspector/test/browser_inspector_infobar.js => browser/devtools/inspector/test/browser_inspector_infobar_01.js
2014-07-12 20:20:28 +01:00
Jim Blandy
7e20285e70 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
Michael Ratcliffe
1f7e252160 Bug 994729 - Make box model guides move on layout view region hover r=bgrins 2014-06-24 17:26:38 +01:00
Patrick Brosset
677b579626 Bug 1014547 - Add a css transform highlighter to the style-inspector; r=bgrins 2014-06-13 16:27:10 +02:00
Patrick Brosset
11e106151c Bug 1009322 - Disabled intermittent browser_editablemodel_allproperties.js test; r=me 2014-06-09 11:11:23 +02:00
Patrick Brosset
edc963261f Bug 1007021 - The ReflowActor observes iframes and works after page navigations; r=bgrins r=ochameau 2014-06-03 09:51:55 +02:00
Patrick Brosset
4b3c00e761 Bug 997198 - Quick layout-view tests cleanup; r=bgrins 2014-05-12 16:51:10 +02:00
Patrick Brosset
5c4e3ffb08 Bug 997198 - Create a standalone reflow actor; r=bgrins 2014-05-12 16:51:06 +02:00
Heather Arthur
c13435e43b Bug 985234 - add media query for when box model tab is too short. r=bgrins 2014-05-02 11:05:00 +02:00
Mr Speaker
ae8fbb6244 bug 986471 - rotate long labels in box model; r=pbrosset 2014-04-24 13:52:30 +02:00
Ryan VanderMeulen
3a8da37041 Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Paolo Amadini
bc198d1062 Bug 995170 - Convert legacy uses of promise.js in devtools where this doesn't result in test failures. r=jwalker 2014-04-14 14:15:43 +01:00
Michael Ratcliffe
d0f5dae6ab Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Girish Sharma
bf8a83a872 Bug 993580 - Permanently fix webconsole error count test and temporarily fix box model tests. r=pbrosset 2014-04-10 02:30:01 +05:30
Dave Townsend
54bf4a2bec Bug 850336: Devtools box model should be editable. r=pbrosset 2014-04-03 17:37:26 -07:00
Phil Ringnalda
a21ec22a24 Back out 81dd398600c4 (bug 850336) for linux bc2 leaks-until-shutdown 2014-04-02 23:17:37 -07:00
Dave Townsend
e5c78fb583 Bug 850336: Devtools box model should be editable. r=pbrosset 2014-04-02 17:44:59 -07:00
Brian Grinstead
d2a4b9555b Bug 983933 - Get better colors for the Inspector's box model;r=vporof 2014-03-18 08:04:57 -05:00
Dave Townsend
b1ba3e36be Backing out bug 850336 due to test timeouts. r=backout 2014-03-19 14:11:36 -07:00
Dave Townsend
cdc4ed01e4 Bug 850336: Devtools box model should be editable. r=pbrosset 2014-03-19 10:38:05 -07:00
Dave Townsend
f546d230e9 Backed out changeset a9de76765bad on a CLOSED TREE from bug 850336 for its test taking too long. 2014-03-18 13:07:49 -07:00
Dave Townsend
95958493b8 Bug 850336: Devtools box model should be editable. r=pbrosset 2014-03-18 09:25:25 -07:00
Dave Townsend
3b8ccb9460 Bug 983847: Re-disable test I accidentally enabled by landing the wrong patch. r=backout 2014-03-18 09:23:30 -07:00
Dave Townsend
796d14e2e7 Bug 983847: Frequent CSS errors in spectrum-frame.xhtml. r=pbrosset 2014-03-18 09:18:02 -07:00
Heather Arthur
3a31317ce7 Bug 983892 - Inspector Box model tab's background should be light to match light theme; r=vporof 2014-03-15 10:31:30 -07:00
Michael Ratcliffe
aba2618867 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 21:27:10 +00:00
Michael Ratcliffe
4111d4fcfa Bug 663778 - Changes to layout view for box model highlighter r=pbrosset 2014-03-08 18:10:44 +00:00
Ryan VanderMeulen
4510c7d862 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
9d3dde5e49 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 15:38:37 +00:00
Michael Ratcliffe
840ab7e623 Bug 663778 - Changes to layout view for box model highlighter r=pbrosset 2014-03-08 18:10:44 +00:00
Alex Henrie
8c3b36eccb Bug 968029 - Use unprefixed box-sizing in browser/ and toolkit/. r=dao 2014-02-04 21:36:29 -07:00
Kay Plößer
b05e657c88 Bug 960734 - Remove inline script / style in browser/devtools/layoutview/view.xhtml. r=bgrins 2014-01-21 11:48:04 -05:00