Commit Graph

40 Commits

Author SHA1 Message Date
Jennifer Fong
f1c41ff68f Bug 1163183 - Show HTML5 Forms pseudo elements in the rule view. r=bgrins 2015-06-05 14:48:00 -04:00
Tom Tromey
64eb38d330 Bug 1168088 - Remove SpiderMonkey-specific syntax from toolkit/devtools. r=pbrosset 2015-05-28 11:54:00 -04:00
Tom Tromey
bfb816b32a Bug 1154809 - rewrite prettifyCSS to use CSSLexer; r=pbrosset 2015-05-19 08:56:01 -07:00
Tom Tromey
c82c12171e Bug 1154809 - remove dead css-parsing code; r=pbrosset 2015-05-19 08:55:57 -07:00
Ryan VanderMeulen
33aa7cc49f Backed out 7 changesets (bug 1154809) for xpcshell failures.
Backed out changeset 056f69eee8db (bug 1154809)
Backed out changeset 13f93d585e42 (bug 1154809)
Backed out changeset 1e967727087e (bug 1154809)
Backed out changeset 1f3809022d39 (bug 1154809)
Backed out changeset 7e730e9cb6b3 (bug 1154809)
Backed out changeset 139959618516 (bug 1154809)
Backed out changeset ea59187953f6 (bug 1154809)
2015-05-17 19:54:49 -04:00
Tom Tromey
4a110448f0 Bug 1154809 - Rewrite prettifyCSS to use CSSLexer. r=pbrosset
--HG--
extra : rebase_source : afa69805be07b9f3918333ea8edcb8a7b2115c4a
extra : histedit_source : cdb808df2d2d01a2817c3675ace9a3a4f85a0c1f
2015-05-14 05:35:00 -04:00
Tom Tromey
7fec4dca21 Bug 1154809 - Remove dead css-parsing code. r=pbrosset
--HG--
extra : rebase_source : 5de56b0d53f5e76d4bba51369b0f5d35d280d89e
extra : histedit_source : 447dd118274dd40388369c762f820bfbd5222484
2015-05-14 05:35:00 -04: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
Brian Grinstead
dc6e2e7d01 Bug 920141 - Add support for inspecting anonymous content. r=pbrosset
--HG--
rename : browser/devtools/styleinspector/test/browser_ruleview_pseudo-element.js => browser/devtools/styleinspector/test/browser_ruleview_pseudo-element_01.js
2014-09-29 09:29:00 +02:00
Sami Jaktholm
5eaf57f1e0 Bug 986201 - Return correct specificity for element styles instead of causing an exception. r=jwalker 2014-07-28 08:53:00 +02:00
Gabriel Luong
c0bbd8f26d Bug 1030889 - [rule view] Add keyframe rules with its associated element r=pbrosset 2014-07-19 20:08:43 -07:00
Wes Kocher
f4ffadfc12 Backed out changeset a1778d8e2e38 (bug 1030889) for mochitest-oth orange 2014-07-18 15:01:39 -07:00
Gabriel Luong
5d2256e8e0 Bug 1030889 - [rule view] Add keyframe rules with its associated element. r=pbrosset
--HG--
extra : rebase_source : fdb63c45ea81f2530197bdc606645f1d43277984
2014-07-18 11:13:00 -04:00
Heather Arthur
953010ad99 Bug 1031351 - Don't prettify CSS source if it has more than one line per rule. r=jwalker 2014-06-30 18:13:00 +02:00
Sami Jaktholm
eb2cb4b520 Bug 1026921 - Style Inspector: Choose correct URL for background image tooltip if a rule contains multiple backgrounds. r=pbrosset 2014-06-30 02:10:00 +02: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
Vikneshwar
62897f47c5 Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen 2014-06-14 06:49:00 -04:00
Joe Walker
5aafe344ad Bug 1016330 - (Part 1) Make CSS Coverage work with B2G; r=paul
https://bugzilla.mozilla.org/show_bug.cgi?id=1016330#c3
> prettifyCSS needs to be used client side or moved at the toolkit level.
Done

https://bugzilla.mozilla.org/show_bug.cgi?id=1016330#c4
> Move the call to makeRemote to DeveloperToolbar.jsm
Not done. See https://bugzilla.mozilla.org/show_bug.cgi?id=1016330#c6

https://bugzilla.mozilla.org/show_bug.cgi?id=1016330#c5
> We need to test first there's a cssusage actor.
> A toolbox might be debugging gecko < 32.
Done

https://bugzilla.mozilla.org/show_bug.cgi?id=1016330#c2
> Kill reference to this._tabActor.browser. This might create issues
> with sub documents ("load" is sent to browser even for inner documents.
> It's not the case with tabActor.window).
Future work.
2014-06-08 22:33:36 +01:00
Brian Grinstead
e9e0f4a7f4 Bug 1021023 - Fix 'document is null' error in CssLogic_findCssSelector when inspecting <window> in XUL document. r=pbrosset 2014-06-05 08:40:00 -04:00
Eddy Bruel
772e17ddf9 Bug 1003095 - Refactor css-logic to be require friendly;r=past 2014-05-30 16:43:05 +02:00
Eddy Bruel
40ef38722e Bug 1003095 - Fix strict errors in the debugger server;r=past 2014-05-15 16:36:03 +02:00
Brian Grinstead
b19fbc94d1 Bug 1002280 - ID starting with numeric value crashes the devtools DOM inspector;r=jwalker,bholley 2014-05-09 09:58:26 -05:00
Patrick Brosset
25aa682d9f Bug 970532 - CSS rule-view deals with MathML elements correctly; r=miker 2014-02-12 12:14:46 +01:00
Patrick Brosset
bafde8f3c5 Bug 932896 - Retrieves image data from server for image tooltips and makes tooltip size a pref, r=jwalker,ttaubert 2014-02-05 11:53:46 +01:00
Carsten "Tomcat" Book
3d38247bdb Backed out changeset 18d70a3136f5 (bug 932896) for mochitest-other bustage on a CLOSED TREE 2014-02-05 11:36:02 +01:00
Paul Rouget
49bd82559c Bug 932896 - Retrieves image data from server for image tooltips and makes tooltip size a pref, r=jwalker,ttaubert 2014-02-05 10:02:52 +01:00
Paul Rouget
73bbf74120 Bug 939122 - Move styleinspector.properties in /toolkit. r=miker 2013-11-19 09:15:46 -05:00
Arnaud Bienner
574b47d090 Bug 875275 part 1: Implement layout support for <input type="color">. r=dbaron,dholbert 2013-07-10 00:25:27 +02:00
Michael Ratcliffe
5dbda2fb94 Bug 918716 - Add color swatches to devtools output parser. r=jwalker 2013-10-18 15:01:20 +01:00
Matt Brubeck
398d975e5e Back out 2601d36dc1f1 (bug 918716) for bc test failures on a CLOSED TREE 2013-10-17 15:51:10 -07:00
Michael Ratcliffe
3b58710c3c Bug 918716 - Add color swatches to devtools output parser. r=jwalker 2013-10-17 19:03:52 +01:00
Patrick Brosset
fd839e0c8e Bug 922125 - Destroy markup, rule and computed views on navigation and unload. r=miker 2013-10-11 11:50:33 -04:00
Michael Ratcliffe
8dce5a27fa Bug 918305 - Move css-color.js in /toolkit/ r=paul
--HG--
rename : browser/devtools/shared/css-color.js => toolkit/devtools/css-color.js
2013-09-19 16:06:44 +01:00
Michael Ratcliffe
ddd2281784 Bug 911748 - Add default color dropdown to devtools options panel. r=jwalker 2013-09-16 11:01:25 +01:00
Dave Camp
3dc6d04b23 Bug 903453 - Make some CssLogic members explicitly public that we use elsewhere. r=jwalker
--HG--
extra : rebase_source : b05dce10120d7f7334389c8af32705351020618d
2013-08-07 09:47:45 -07:00
Dave Camp
e1a4c3d6e7 Bug 903454 - Rename CssLogic.FILTER.ALL to CssLogic.FILTER.USER. r=jwalker
--HG--
extra : rebase_source : 7115356a488daa890b9c4dde0f57a9df5d5f27c6
2013-08-07 09:27:22 -07:00
Dave Camp
9383975f56 Bug 886037 - Add a styles actor for the style inspectors. r=jwalker
--HG--
extra : rebase_source : 80aa9dc491c77f4b73036daeddd48f51c40f015a
2013-07-23 15:51:58 -07:00
Dave Camp
78440b0ee4 Bug 897275 - Move css-logic.js to toolkit. r=jwalker, r=gps
--HG--
rename : browser/devtools/styleinspector/css-logic.js => toolkit/devtools/styleinspector/css-logic.js
2013-07-24 10:57:04 -07:00
Ms2ger
4ec2f72e42 Backout changeset ec45d9c75316 for insufficient review. 2013-08-08 19:36:08 +02:00
Dave Camp
4c4b79a4d5 Bug 897275 - Move css-logic.js to toolkit. r=jwalker
--HG--
rename : browser/devtools/styleinspector/css-logic.js => toolkit/devtools/styleinspector/css-logic.js
extra : rebase_source : 6d7cbdea4ec7bfed78083ec62c125b6d6c0bab4f
2013-07-24 10:57:04 -07:00