Commit Graph

134 Commits

Author SHA1 Message Date
Gabriel Luong
176e823267 Bug 1139058 - Part 1: Allow unmatched rules to be added to the rule view r=pbrosset 2015-05-27 17:36:17 -07:00
Phil Ringnalda
6889a8a1cb Back out b85bc83d5a15 (bug 1166774) for frequent failures in browser_ruleview_colorpicker-edit-gradient.js 2015-05-26 21:04:21 -07:00
Alexandre Poirot
3d2f8cf7d0 Bug 1166774 - Wait for rule-view modifications before proceeding to next tests. r=pbrosset 2015-05-25 20:14:01 +02:00
Julian Descottes
a5dff5425f Bug 965199 - "Copy Image Data-URL" in computed & rule views. r=pbrosset
This feature is about the inspector's rule view & computed view.
The context menu for an image URL (e.g. value of background-image property)
will contain a new entry : "Copy Image Data-URL". Clicking on it will fill the
clipboard with the image encoded as a data url.

The mechanism to hide/show the entry is inspired from the "Copy Color" menu
entry. When the context menu is displayed, check if the target is contained in
a node of type "image", using the getNodeInfo method available on both views.

If the image data cannot be retrieved for a given URL, the clipboard is filled
with an error message.

Modified rule-view getNodeInfo method in order to exclude from image nodes the
'source' links (such as 'style.css', displayed on the right of the rule-view).

Added a new mochitest that tests the feature on an element using a base64
background image.
2015-05-24 01:41:09 +02:00
Phil Ringnalda
0eefe0c506 Merge f-t to m-c, a=merge 2015-05-23 14:28:07 -07:00
Patrick Brosset
923cdc222d Bug 1167617 - Remove SpiderMonkey specific JS syntax from inspector; r=jryans 2015-05-22 20:50:01 +02:00
Gabriel Luong
69d9cf8a1a Bug 1166344 - [rule view] Store and get the parsed property value displayed in the computed list when filtering styles in the computed list. r=bgrins 2015-05-21 14:47:00 -04:00
Gabriel Luong
3a0ba1ee11 Bug 1165380 - [rule view] Filter rules should also highlight stylesheet names. r=bgrins 2015-05-19 13:33:00 -04:00
Tom Tromey
e9c5dfaccd Bug 1154809 - rename and clarify last CSS regexp in rule-view.js; r=pbrosset 2015-05-19 08:55:59 -07:00
Tom Tromey
292c8b9388 Bug 1154809 - remove dead css-parsing code; r=pbrosset 2015-05-19 08:55:57 -07:00
Alexandre Poirot
255396bdc7 Bug 1161072 - Prevent "no such actor" exception from style inspector during toolbox shutdown. r=pbrosset 2015-05-18 20:15:35 +02:00
Ryan VanderMeulen
2aa50456a9 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
Tim Nguyen
1828ba4d5f Bug 1136101 - Add an "Add rule" button in the rules view toolbar. r=bgrins, ui-r=shorlander 2015-05-16 02:10:00 -04:00
Tom Tromey
6a77748ef4 Bug 1154809 - Rename and clarify last CSS regexp in rule-view.js. r=pbrosset 2015-05-14 05:35:00 -04:00
Tom Tromey
ce951405a6 Bug 1154809 - Remove dead css-parsing code. r=pbrosset 2015-05-14 05:35:00 -04:00
Birunthan Mohanathas
fe337d7c5e Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Tom Tromey
720aa8da21 Bug 930680 - allow inserting ";" in values in style inspector; r=pbrosset 2015-05-13 11:37:18 -07:00
Will Bamberg
b745ad6ff9 Bug 1159109 - The MDN tooltip should be controlled by a pref. r=pbrosset 2015-05-06 20:59:00 +02:00
Gabriel Luong
c006b2bbad Bug 1157293 - Part 3: Use filter-open and user-open attributes instead of classes. r=bgrins 2015-05-02 23:40:00 +02:00
Gabriel Luong
0c5bc9e095 Bug 1157293 - Part 2: Renamed styleinspector-open class to user-open. r=bgrins 2015-05-02 23:40:00 +02:00
Gabriel Luong
47d72104fa Bug 1157293 - Part 1: Filter styles highlight computed styles. r=bgrins 2015-05-06 16:23:00 +02:00
Carsten "Tomcat" Book
d7d1ddac4a Backed out changeset 47a1d2e67785 (bug 1157293) for dt and dt3 test failures 2015-05-06 11:23:50 +02:00
Carsten "Tomcat" Book
b68a5495c9 Backed out changeset 1ec520b96ede (bug 1157293) 2015-05-06 11:22:43 +02:00
Carsten "Tomcat" Book
1853b7669d Backed out changeset 80fc4351eba3 (bug 1157293) 2015-05-06 11:22:22 +02:00
Gabriel Luong
543bb070eb Bug 1157293 - Part 3: Use filter-open and user-open attributes instead of classes. r=bgrins 2015-05-02 23:40:00 +02:00
Gabriel Luong
056ec0661a Bug 1157293 - Part 2: Renamed styleinspector-open class to user-open. r=bgrins 2015-05-02 23:40:00 +02:00
Gabriel Luong
f03d3a0786 Bug 1157293 - Part 1: Filter styles highlight computed styles. r=bgrins 2015-05-02 23:39:00 +02:00
Gabriel Luong
d99770712b Bug 1158506 - [rule view] Filter styles should handle escape keycode correctly r=bgrins 2015-05-04 14:11:07 -07:00
Tooru Fujisawa
22a3f8a30f Bug 1102219 - Part 5: Replace more String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Will Bamberg
8e289827bf Bug 980006 - Add MDN tooltips for CSS properties. r=pbrosset 2015-04-21 16:28:00 -04:00
Mahdi Dibaiee
ba7fcd0fcc Bug 1155113 - add ruleview-swatch class to expanded properties; r=pbrosset 2015-04-23 15:03:36 -07:00
Patrick Brosset
6db45a36e4 Bug 1121528 - Avoid the inspector going blank when quickly navigating; r=bgrins
This prevents the WalkerActor from failing at handling various requests when
those requests are about DeaedNodes. Indeed, the async nature of the devtools
protocol means that the client could be asking for information about a node that
doesn't exist anymore because it was part of a page that was navigated away from.
The WalkerActor should know how to deal with such cases, so the patch adds a
number of early returns and a new test for them.
This helps avoiding the inspector-panel from going blank in some edge cases.
2015-04-17 12:09:58 +02:00
Gabriel Luong
4c850453d7 Bug 1120616 - Part 4: Add textbox context menu for rule and computed view r=bgrins 2015-04-16 14:15:28 -04:00
Gabriel Luong
15db3e6067 Bug 1120616 - Part 1: Implement filter styles in rule view r=bgrins 2015-04-16 14:15:09 -04:00
Mahdi Dibaiee
875ddbc9d8 Bug 1055181 - CSS Filter Tooltip; r=pbrosset
Adds a new devtools tooltip type in the inspector used to edit
css filters. The widget displayed in the tooltip allows to add,
edit, remove, and re-order filters.
Changes made inside the tooltip are applied to the filter
property in the rule-view.
2015-04-09 13:30:42 +04:30
Sami Jaktholm
62af004113 Bug 1148323 - Make checked checkboxes visibile in rule and computed view context menus on Windows. r=pbrosset 2015-04-04 09:19:47 +03:00
Patrick Brosset
4f778e424f Bug 1106272 - Part 3: Test for the selector highlighter feature in the rule-view. r=miker 2015-03-24 15:57:33 +01:00
Patrick Brosset
71a450bcc8 Bug 1106272 - Part 2: Change all rule-view events from custom dom events to eventemitter events. r=miker 2015-03-24 15:06:39 +01:00
Patrick Brosset
ffe5cce048 Bug 1106272 - Part 1: Remove the selector highlight on hover and add a selector icon instead. r=miker 2015-03-24 14:42:27 +01:00
Michael Ratcliffe
6797d4a471 Bug 1120570 - Fix media query in rule view link text. r=bgrins 2015-03-23 17:33:02 +00:00
Patrick Brosset
6c505c31e4 Bug 1110110 - 1 - Remove various inspector-related exception logs during dt test runs; r=bgrins 2015-01-22 10:42:45 +01:00
Eddy Bruël
1723e42d68 Bug 1096490 - Remove the deprecated-sync-thenables from protocol.js;r=bgrins 2015-01-19 13:58:45 +01:00
Michael Ratcliffe
8ad343a7b4 Bug 1111601 - Avoid using hiddenwindow in DevTools code r=pbrosset 2014-12-17 13:43:30 +00:00
Patrick Brosset
099ac63474 Bug 1104908 - 1 - Fix e10s intermittent browser_computedview_original-source-link.js; r=harth 2014-12-15 12:24:47 +01:00
Patrick Brosset
b53c7a05e7 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
5dbe29f065 Bug 1103993 - part 1 - Rename the style-inspector's highlight methods; r=bgrins 2014-11-26 10:18:07 +01:00
Heather Arthur
0293859787 Bug 1077523 - Enable CSS source maps by default. r=bgrins 2014-10-09 14:27:00 +02:00
Brian Grinstead
8cb3638a5d Bug 920141 - Add support for inspecting anonymous content. r=pbrosset 2014-09-29 09:29:00 +02:00
Gabriel Luong
108cdce400 Bug 1061003 - Add New Rule won't work in non-english locales. r=harth 2014-09-02 11:27:00 +02:00
Patrick Brosset
2bc5f0cb95 Bug 1059360 - Highlight nodes that match selectors in the computed-view on mouse-over. r=miker 2014-09-02 04:13:00 +02:00