Commit Graph
64 Commits
Author SHA1 Message Date
Ting-Yu Lin 5482102065 Bug 1504387 - Remove preference "layout.css.shape-outside.enabled". r=bradwerth,xidorn
shape-outside, shape-margin, shape-image-threshold have been shipped in Firefox
62. We can remove the preference.

The change in devtools/shared/css/generated/properties-db.js is generated by
"./mach devtools-css-db"

The actual shape-image CORS mode tests in file_shape_outside_CORS.html are
moved into test_shape_outside_CORS.html because we don't need the <iframe>
trick to enable the feature.

Differential Revision: https://phabricator.services.mozilla.com/D10804
2018-11-05 15:27:36 +00:00
Daniel Varga 19b44c7933 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-20 13:10:23 +03:00
Gabriel Luong 1d4d455f90 Bug 1500469 - Don't require /shared/css/properties-db.js in the inspector client. r=mtigley 2018-10-19 17:40:31 -04:00
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
Julian Descottes 9456167901 Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
MozReview-Commit-ID: JwOXoqw2mks
2018-06-01 12:19:35 +02:00
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Michael Hoffmann e745efb971 Bug 1461328 - Handle !important for font-family in inspector correctly. r=pbro 2018-05-18 04:21:00 +03:00
J. Ryan Stinnett 8d1c817851 Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
yulia bd093feca1 Bug 1382605 - Fix 6 tests failures on devtools/client/shared due the EventEmitter refactoring r=nchevobbe
MozReview-Commit-ID: EaFYqaY2M79
2018-03-07 10:17:03 +01:00
Razvan Caliman 5c1640dd5c Bug 1438127 - Prevent shape editor from being triggered from overwritten or disabled properties in the rules panel. Hide editor swatches (aka icon triggers) from showing up on disabled or overwritten properties. r=pbro
MozReview-Commit-ID: 2ftVy5K6fKY
2018-02-14 14:57:09 +01:00
Florian Quèze c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Michael Hoffmann 6b75a2dddb Bug 994559 - Style used fonts in rule view. r=pbro 2018-01-09 08:56:00 -05:00
Rajdeep Nanua 1ffb12b0e6 Bug 1102464 - Implement CSS variable tooltip. r=pbro
Initial support for CSS variable tooltip. Removed title attribute from
variables and added a new tooltip displaying the same content.

MozReview-Commit-ID: FeHmgiS7KQj
2017-11-08 00:22:24 -05:00
Coroiu Cristina 1abb47bfe0 Backed out changeset b5950ede2b76 (bug 1102464) for failing devtools on Windows 7 debug at devtools/client/shared/test/browser_outputparser.js r=backout on a CLOSED TREE 2017-12-07 01:36:22 +02:00
Rajdeep Nanua f10a536dcc Bug 1102464 - Implement CSS variable tooltip. r=pbro
Initial support for CSS variable tooltip. Removed title attribute from
variables and added a new tooltip displaying the same content.

MozReview-Commit-ID: FeHmgiS7KQj
2017-11-08 00:22:24 -05:00
Dorel Luca c7246d773f Backed out changeset 1a9cbc25dd9d (bug 1102464) for failing ESlint devtools/client/shared/widgets/tooltip/VariableTooltipHelper.js r=backout on a CLOSED TREE 2017-12-06 22:40:33 +02:00
Rajdeep Nanua 5953e593b4 Bug 1102464 - Implement CSS variable tooltip. r=pbro
Initial support for CSS variable tooltip. Removed title attribute from
variables and added a new tooltip displaying the same content.

MozReview-Commit-ID: FeHmgiS7KQj
2017-11-08 00:22:24 -05:00
Gabriel Luong 1c8db13b12 Bug 1414275 - Part 2: Toggle flexbox layout highlighter from the rule view next to 'display: flex|inline-flex' declarations. r=pbro 2017-11-13 10:01:20 -05:00
Gabriel Luong 209ec1701a Bug 1409970 - Part 1: Refactor the canvas position utility code to a separate file. r=pbro 2017-10-24 22:03:59 -04:00
Mike Park d0951b237e Bug 1405339 - Turn on CSS shapes highlighter by default for clip-path only. r=gl
MozReview-Commit-ID: DjhaIBdWuRY
2017-10-03 11:36:20 -04:00
Sebastian Hengst c0267b19b5 Backed out changeset 69ce595533cd (bug 1405339) for failing devtools' browser_inspector_highlighter-cssshape_05.js. r=backout 2017-10-04 23:52:56 +02:00
Mike Park 65f9ba95ac Bug 1405339 - Turn on CSS shapes highlighter by default for clip-path only. r=gl
MozReview-Commit-ID: DjhaIBdWuRY
2017-10-03 11:36:20 -04:00
Sebastian Hengst 50c25b6b22 Backed out changeset 8b8f7f91765a (bug 1405339) because backed out bug 1383870 also touches shapes highlighter. r=backout 2017-10-03 21:10:19 +02:00
Mike Park b726c7c3d3 Bug 1405339 - Turn on CSS shapes highlighter by default for clip-path only. r=gl
MozReview-Commit-ID: DjhaIBdWuRY
2017-10-03 11:36:20 -04:00
Alexandre Poirot 8a8fd0f3c4 Bug 1396600 - Make some efforts to lazy load properties-db. r=tromey
MozReview-Commit-ID: LGgVb5kxN7X
2017-09-06 18:54:07 +02:00
Rahul Chaudhary c002d50add Bug 1145527 - Display the inherited and used CSS Variable in the rule view. r=tromey
Displays which CSS variable is used in the rule view.
Displays the actual variable value on the variable name's title property.
Displays all the inherited CSS variables on the selected element in the rule view.



MozReview-Commit-ID: 52uLJA123AP
2017-07-02 22:39:45 +02:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Mike Park 514b99db5e Bug 1282717 - Highlight CSS shapes points in the page from the rule-view and vice versa. r=pbro
MozReview-Commit-ID: 9pXkbAwgcXO
2017-07-05 10:57:42 -04:00
Mike Park e44016fb2d Bug 1373339 - Add a button in the rules view to toggle the CSS shapes highlighter. r=gl
Requires pref "devtools.inspector.shapesHighlighter.enabled" to be true.

MozReview-Commit-ID: Ispw7ulV5o6
2017-06-20 11:23:32 -04:00
Gabriel Luong ab580b213c Bug 1346378 - Grid inspector toggle should appear for display: [inline-]grid !important declarations. r=jdescottes 2017-03-17 13:55:50 +01:00
Mats Palmgren 052429cf38 Bug 1337607 - Provide grid highlighter button also for display:inline-grid elements. r=gl 2017-02-12 01:44:06 +01:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Tom Tromey ed9cf2e8f9 Bug 1327233 - avoid token pasting in output-parser; r=pbro
MozReview-Commit-ID: AN5CqWIJ92n
2017-01-03 14:25:23 -07:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
JerryShih 28fdaf5354 Bug 1310681 - pass css-color-4 color function supporting info to devtool css OutputParser and SwatchColorPickerTooltip. r=tromey
Pass css-color-4 supporting status from css-property db to OutputParser and SwatchColorPickerTooltip.

MozReview-Commit-ID: N1ffWOlf9f
2016-10-21 14:59:07 -04:00
Gabriel Luong a61285b0f2 Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Gabriel Luong 71ed99ef7e Bug 1302536 - Adds a toggleable button next to the 'display: grid' declaration to toggle the grid highlighter r=pbro 2016-11-16 22:35:20 +09:00
Greg Tatum 3e6ab7973a Bug 1291866 - Replace inIDOMUtils.cssPropertyIsValid; r=tromey
MozReview-Commit-ID: JqO4UiPHAPE
2016-09-16 08:46:51 -05:00
Greg Tatum 0fc28c2ff3 Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-09-14 10:00:27 -05:00
Sebastian Hengst 93c9c62451 Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout 2016-09-13 17:43:44 +02:00
Greg Tatum 36e0a1b1fa Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-08-29 11:02:34 -05:00
Carsten "Tomcat" Book 496d5f888a merge fx-team to mozilla-central a=merge 2016-07-25 15:49:05 +02:00
Tom Tromey 71d20298c5 Bug 1276341 - remove some misleading import comments; r=jryans
MozReview-Commit-ID: 4ARx91saUtF
2016-07-12 08:39:53 -06:00
Patrick Brosset e19007d87a Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7
2016-07-21 14:35:14 +02:00
Sebastin Santy 3e0753b8da Bug 1275546 - Use CSS lexer to parse angle values in css-angle.js . r=nchevobbe
MozReview-Commit-ID: DVqlbrruf2b
2016-07-08 06:29:00 +02:00
Patrick Brosset 22dfd32737 Bug 1268082 - Get the list of supported CSS types for each property from the server; r=tromey
Added the list of supported types to each css property returned by the
CssProperties actor.
As a fallback, the css-properties-db static file also contains this list.
Also, if connected to a server that has the CssProperties actor but not
the data about supported types, then the type data is retrieved from the
static db too.

MozReview-Commit-ID: J1o8JGODMiC
2016-06-15 08:58:36 +01:00
Tom Tromey 1543b8a054 Bug 1277534 - avoid output-parser failure with invalid URL; r=pbro
MozReview-Commit-ID: CK5n8sHgmwD
2016-06-06 08:56:47 -06:00