Commit Graph

154 Commits

Author SHA1 Message Date
Alexandre Poirot
fb1c47cdd1 Bug 1184192 - Fix pending request issue while running browser_ruleview_edit-selector_03.js r=bgrins 2015-07-23 13:36:34 -07:00
Gabriel Luong
24a59a247c Bug 1167669 - Part 3: Refactor this.ruleEditor.ruleView to this.ruleView in TextPropertyEditor r=bgrins 2015-07-20 21:03:47 -07:00
Gabriel Luong
f0fe5ef609 Bug 1167669 - Part 2: Highlight new filter style matches when rules and properties are added or modified r=bgrins 2015-07-20 21:03:22 -07:00
Gabriel Luong
33892766b8 Bug 1167669 - Part 1: Refactor the logic for highlighting rule selector, property and stylesheet source r=bgrins 2015-07-20 21:03:17 -07:00
Julian Descottes
3d9f841ce4 Bug 1164343: Part 1 - Extract context-menu logic from rule-view and computed-view to style-inspector-menu r=mikeratcliffe 2015-07-13 00:52:16 +02:00
Gabriel Luong
2c2c67392d Bug 1183792 - [Rule View] Newly added rule should keep a reference to the RuleEditor r=mratcliffe 2015-07-16 00:37:49 -07:00
Gabriel Luong
c07652bbef Bug 1178535 - Part 2: Highlight pseudoclass and attribute texts in the selector text of the rule view r=bgrins 2015-07-14 10:49:28 -07:00
Alexandre Poirot
df9d346f28 Bug 1166774 - Wait for rule-view modifications before proceeding to next tests. r=pbrosset,bgrins 2015-07-10 00:22:53 -07:00
Gabriel Luong
750fa4987b Bug 1181243 - Ctrl + F should focus the filter style search bar if the focus is in the rule and computed view r=mikeratcliffe 2015-07-08 10:40:45 -07:00
Tim Nguyen
e61eae63e9 Bug 1130330 - Add copy url context menu item in styleinspector. r=pbrosset 2015-07-03 06:04:00 +02:00
Gabriel Luong
ea199953ff Bug 1166959 - Allow the selector editor to advance the focus with tab, shift-tab and enter r=pbrosset 2015-06-25 15:51:52 -07:00
Jarda Snajdr
2d35539a19 Bug 1159922 - In rule view, update the computed values of a property after editing. r=pbro 2015-06-11 12:18:53 +02:00
Tim Nguyen
5658da4a9a Bug 1173298 - Disable add rule button for non-element nodes and anonymous elements. r=bgrins 2015-06-10 11:42:00 +02:00
Gabriel Luong
c4cb77dc00 Bug 1024693 - [rule view] Copy CSS declarations r=pbrosset 2015-06-10 15:08:27 -07:00
Tom Tromey
47c0d2cce1 Bug 1158288 - Show color swatch in drop-shadow function. r=pbrosset 2015-06-08 12:26:00 -04:00
Tom Tromey
3b508672ae Bug 1158288 - Minimal changes for eslint. r=pbrosset 2015-06-08 12:26:00 -04:00
Tim Nguyen
1c714ad26e Bug 1165032 - Make 'Add new rule' button add a new rule for currently emulated pseudo class locks. r=bgrins 2015-06-08 12:25:00 -04:00
Gabriel Luong
bfbd0192d5 Bug 987365 - Add pseudo-class lock options to rule view r=bgrins 2015-04-23 21:35:00 -07:00
Carsten "Tomcat" Book
74a0a9fbfd Backed out changeset 08eaa27485c1 (bug 1166774) for linux e10s dt failures 2015-06-02 15:52:31 +02:00
Alexandre Poirot
59c6c32d41 Bug 1166774 - Wait for rule-view modifications before proceeding to next tests. r=pbrosset 2015-06-01 18:21:46 +02:00
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