Commit Graph
10 Commits
Author SHA1 Message Date
Victor Porof b7732ae890 Bug 1561435 - Format devtools/client/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35884
2019-07-05 11:24:38 +02:00
Julian Descottes 7674d57438 Bug 1501918 - Restore tooltip size when updating Variable and BrokenImage content;r=pbro
Another regression linked to removing setContent API on HTMLTooltip.
The initial feedback to remove the method was from me, because we started seeing
two ways to set the content of the tooltip (DOM APIs or setContent) and I prefered
keeping only one. However the DOM approach still almost forces you to call setContentSize
in case your tooltip instance is shared for different content.

This is the case for the preview tooltip, which is used for CSS variables, fonts and image
previews. Maybe we should revisit the decision to remove this setContent API

Differential Revision: https://phabricator.services.mozilla.com/D9752
2018-10-25 09:44:18 +00:00
Julian Descottes 7ea59e1beb Bug 1501622 - Cleanup CSS variable preview tooltip content when hovering new variable;r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9648
2018-10-24 12:50:42 +00:00
Mantaroh Yoshinaga 6f7df8a1ac Bug 1472942 - Part 2. Add setContentSize() instead of setContent() in HTMLTooltip. r=birtles
This patch will remove setContest(), and change the following things instead of this:

 * Use HTMLTooltip.panel.appendChild() instead of HTMLTooltip.setContent().
 * Add HTMLTooltip.setContetnSize() to specify the panel size if need this.

Differential Revision: https://phabricator.services.mozilla.com/D7044
2018-09-27 07:14:55 +00: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
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