Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Mantaroh Yoshinaga 495837c33c 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

--HG--
extra : moz-landing-system : lando
2018-09-27 07:14:55 +00:00
Julian Descottes 640fe52298 Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4

--HG--
extra : rebase_source : 65de1b0aba412d9044b5196115f74276caa058f2
2018-06-01 12:36:09 +02:00
Alexandre Poirot bcf6facc3c Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans
MozReview-Commit-ID: HaGOC5cn3JD
2018-03-12 19:46:35 -05:00
Yoshi Huang 7363e22f81 Bug 1377523 - Part 4: fix devtools/client/shared/test. r=pbro
Move data: URIs in devtools/client/shared/test to seperate files.


--HG--
rename : devtools/client/shared/test/browser_layoutHelpers-getBoxQuads.html => devtools/client/shared/test/doc_layoutHelpers-getBoxQuads.html
rename : devtools/client/shared/test/browser_layoutHelpers.html => devtools/client/shared/test/doc_layoutHelpers.html
rename : devtools/client/shared/test/html-mdn-css-basic-testing.html => devtools/client/shared/test/doc_mdn-css-basic-testing.html
rename : devtools/client/shared/test/html-mdn-css-no-summary-or-syntax.html => devtools/client/shared/test/doc_mdn-css-no-summary-or-syntax.html
rename : devtools/client/shared/test/html-mdn-css-no-summary.html => devtools/client/shared/test/doc_mdn-css-no-summary.html
rename : devtools/client/shared/test/html-mdn-css-no-syntax.html => devtools/client/shared/test/doc_mdn-css-no-syntax.html
rename : devtools/client/shared/test/html-mdn-css-syntax-old-style.html => devtools/client/shared/test/doc_mdn-css-syntax-old-style.html
rename : devtools/client/shared/test/browser_templater_basic.html => devtools/client/shared/test/doc_templater_basic.html
rename : devtools/client/shared/test/browser_toolbar_basic.html => devtools/client/shared/test/doc_toolbar_basic.html
2017-07-13 12:27:52 +08:00
Gabriel Luong 445a55675b Bug 1307481 - Part 3: HTMLTooltip should receive the document that it should be attached to instead of the toolbox r=jdescottes 2016-10-08 09:49:07 -04:00
Gabriel Luong badbea5392 Bug 1307481 - Part 1: Move Tooltip.js and HTMLTooltip.js into widgets/tooltip/ r=jdescottes
--HG--
rename : devtools/client/shared/widgets/HTMLTooltip.js => devtools/client/shared/widgets/tooltip/HTMLTooltip.js
rename : devtools/client/shared/widgets/Tooltip.js => devtools/client/shared/widgets/tooltip/Tooltip.js
2016-10-04 22:48:49 -04:00
Julian Descottes 5330514c42 Bug 1284461 - HTMLTooltip: use variable height only if height==Infinity;r=bgrins
MozReview-Commit-ID: LTraHLeEEp4
2016-07-05 14:35:15 +02:00
Julian Descottes d367c125c7 Bug 1267403 - HTMLTooltip tests: destroy tooltips at the end of tests;r=ochameau
MozReview-Commit-ID: 2jMKxlsWId2

--HG--
extra : source : 806822ced9a2a28b81a66180e25d2d204227a08b
extra : histedit_source : fc3122c6d332db121bedf494553bc9d6797babfc
2016-07-04 16:02:37 +02:00
Julian Descottes 3aa417586a Bug 1267403 - HTMLTooltip: add useXulWrapper option when displayed in a XUL document;r=ochameau
The HTMLTooltip supports an additional configuration parameter "useXulWrapper".
When set to true, if the tooltip is displayed in a XUL document, a XUL panel
will be used as an additional container for the tooltip.

This allows the tooltip to be displayed anywhere on the screen and can be
useful when displayed in small toolboxes.

MozReview-Commit-ID: 63kv4vAeW5R

--HG--
extra : source : fc4d902ff01ee92a5b6742d44286e5feaaba1500
extra : intermediate-source : 126f43ff3be5505920946a77ad82401c6bbaebef
extra : histedit_source : 863888c014723f7e95742079395497ba1a30aa36%2C13ba9aaf80acb96c587739c767c20a8f0f6a9a5a
2016-07-06 14:50:44 +02:00
Julian Descottes 718a901bda Bug 1266456 - part2: HTMLTooltip setContent() use object as 2nd arg;r=jsnajdr
setContent expects 3 arguments: content, width, height. Height is already optional
but for the autocomplete migration, the width will also become optional.

Using an object argument for width and height makes this easier.

MozReview-Commit-ID: 9CiMG0BdLOR

--HG--
extra : rebase_source : 4ec54714ccc2476fa4b341aaad3773ba095cca5a
2016-06-23 17:27:32 +02:00
Julian Descottes 632539b70d Bug 1266450 - part4: allow tooltips to have a variable height;r=bgrins
With this changeset the tooltip's effective height can be smaller than
the height specified when calling setContent. If the tooltip content is
dynamic, this allows to display a small tooltip frame if the content is
collapsed, and a bigger tooltip frame when it is expanded.

MozReview-Commit-ID: 44vA0Rdz62m

--HG--
extra : rebase_source : 0e796f611e3462579f6e84a25671e5d44ed2314d
extra : source : 8583ea99abef8f25a1822178bab823f9fb7f2d01
2016-06-03 12:52:59 +02:00