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

565 Коммитов

Автор SHA1 Сообщение Дата
Itiel c7cfb73e2e Bug 1631202 - Convert all uses of :-moz-any to :is in toolkit/ r=dao
Differential Revision: https://phabricator.services.mozilla.com/D90693
2020-09-21 19:35:43 +00:00
Emilio Cobos Álvarez 582367e4b6 Bug 1662703 - Tweak appearance: button usage in browser/ and toolkit/. r=dao
The protections.css declaration is not needed, because you're setting
backgrounds and borders anyways so native appearance is disabled.

The button.css change needs to turn into a -moz-default-appearance +
appearance combo, but since it's in three different places, just put it
in xul.css instead.

Differential Revision: https://phabricator.services.mozilla.com/D89469
2020-09-09 23:13:53 +00:00
Dão Gottwald f79a3cbd71 Bug 1655774 - Port menu scroll arrow behavior from macOS to Windows and Linux. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D85171
2020-07-28 19:35:20 +00:00
Itiel b76dfa99e2 Bug 1633994 - Fix focusring for close buttons in macOS r=dao
Also simplify some padding values in button.css

Differential Revision: https://phabricator.services.mozilla.com/D73720
2020-07-23 10:56:01 +00:00
Emilio Cobos Álvarez 9f947730df Bug 1653832 - Paper over this bug for now. r=Gijs
This restores menus to their previous state before bug 1645773.
Backgrounds don't disable theming on these widgets on Linux in
particular, so this does the trick for now, I want to dig more.

This is probably worth landing in any case.

Differential Revision: https://phabricator.services.mozilla.com/D84217
2020-07-21 15:51:06 +00:00
Cameron McCormack 9f7843cb34 Bug 1620467 - Part 9: Make `appearance: textfield` behave like auto except on search and number inputs. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83435
2020-07-16 22:04:26 +00:00
Cameron McCormack dd61f595eb Bug 1620467 - Part 4: Change internal uses of -moz-appearance to appearance and -moz-default-appearance. r=emilio,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,ntim,agi,miketaylr
Uses of `-moz-appearance: none` are changed to `appearance: none`.

Uses of other values that are simply reverting the appearance back to
its default are changed to `appearance: auto`.

Uses of values in UA sheets that are defining the inherent appearance of
widgets are changed to:

  appearance: auto;
  -moz-default-appearance: <value>;

since those values are either no longer supported on (-moz-)appearance,
or are still supported but only in some limited form.

There are some uses of `-moz-appearance: textfield` on <input
type=number> elements that are renamed to `appearance: textfield`.

Differential Revision: https://phabricator.services.mozilla.com/D83430
2020-07-16 22:04:14 +00:00
Brad Werth 119000e1ae Bug 1642376: Move inline style for panel popups into each theme's popup.css. r=dao
This supports the fact that devtools, which is hosted in an "about:" page,
does not use inline styles. They are prevented from working by the CSP defined
at devtools/client/framework/toolbox.xhtml. This patch moves The styles that
are added by the MozPanel.initialize method into the popup.css files for each
theme, where the other .panel-arrowcontent class selectors live.

Differential Revision: https://phabricator.services.mozilla.com/D78832
2020-06-11 13:53:39 +00:00
Emilio Cobos Álvarez 6b5242fa05 Bug 1311444 - Disable some undesired outlines in the front-end. r=dao
These elements handle focus on their own. They're right now not
having outlines because they specify background-color, which disables
theming, but that is about to change.

Differential Revision: https://phabricator.services.mozilla.com/D73855
2020-05-05 23:18:35 +00:00
Dão Gottwald 84553118c4 Bug 1634865 - Backed out bug 1625720 and bug 1625721. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73542
2020-05-02 13:16:31 +00:00
Tim Nguyen ebc0e940ae Bug 1625720 - Scope popup.css to menupopup and panel custom elements. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70343
2020-04-26 15:31:40 +00:00
Mihai Alexandru Michis f71d7e6a52 Backed out changeset 9432b1bd3d98 (bug 1625720) for causing crashes in LayerComposite.
CLOSED TREE
2020-04-25 00:10:33 +03:00
Tim Nguyen 92e6364dec Bug 1625720 - Scope popup.css to menupopup and panel custom elements. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70343
2020-04-24 16:40:23 +00:00
Stefan Hindli 257361e9a8 Backed out changeset 7316271178bd (bug 1624907) for perma wpt5 failures in /css/css-pseudo/text-selection.html CLOSED TREE 2020-04-23 00:10:49 +03:00
Tim Nguyen 4bfbb7fc9d Bug 1624907 - Split tree.css into shadow and non-shadow stylesheets. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71652
2020-04-22 17:49:30 +00:00
Dorel Luca bcfca7e237 Backed out changeset 64f788053239 (bug 1625720) for mochitest failures in ests/chrome/test_panel.xhtml. CLOSED TREE 2020-04-22 19:05:06 +03:00
Tim Nguyen edb3ed9de7 Bug 1625720 - Scope popup.css to menupopup and panel custom elements. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70343
2020-04-22 13:48:05 +00:00
Bogdan Tara 6a85ee67dd Backed out changeset 74882843cbaf (bug 1624907) for reftest failures on 299837-3.xhtml CLOSED TREE 2020-04-21 20:23:07 +03:00
Tim Nguyen 0c15aaa999 Bug 1624907 - Split tree.css into shadow and non-shadow stylesheets. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71652
2020-04-21 14:41:24 +00:00
Brindusan Cristian 2803300f5b Backed out changeset 27d3c6f3204e (bug 1624907) for reftest failures at 299837-3.xhtml. CLOSED TREE 2020-04-21 15:11:02 +03:00
Tim Nguyen a9ad6c797b Bug 1624907 - Split tree.css into shadow and non-shadow stylesheets. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71652
2020-04-21 10:50:17 +00:00
Tim Nguyen 2eeab7c5b4 Bug 1625721 - Split out arrow panel styles and load them as shadow DOM stylesheet. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68713
2020-04-21 09:54:57 +00:00
Brindusan Cristian aac7877663 Backed out changeset 6c312e49ee09 (bug 1625721) for build bustages at popup.css. CLOSED TREE 2020-04-21 12:46:28 +03:00
Tim Nguyen 61b493582b Bug 1625721 - Split out arrow panel styles and load them as shadow DOM stylesheet. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68713
2020-04-21 09:20:43 +00:00
Tim Nguyen 641177bb4c Bug 1626598 - Split close-icon styles to its own file. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D69193

--HG--
rename : toolkit/themes/shared/global.inc.css => toolkit/themes/shared/close-icon.css
extra : moz-landing-system : lando
2020-04-09 12:57:31 +00:00
Tim Nguyen 93728d0f3f Bug 1624482 - Scope menulist styles to its own component using shadow DOM. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67954

--HG--
extra : moz-landing-system : lando
2020-04-08 20:00:30 +00:00
Itiel 06abb94ae1 Bug 1627036 - Convert all relevant uses of left/right to logical properties in toolkit/themes/linux and mobile r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69446

--HG--
extra : moz-landing-system : lando
2020-04-03 19:17:33 +00:00
jayati fa65d02109 Bug 1626619 - Remove `browser.in-content.dark-mode` preference. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D69234

--HG--
extra : moz-landing-system : lando
2020-04-01 16:31:27 +00:00
ajitesh f44178c63c Bug 1624960 - Simplify some margin/padding values. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D68643

--HG--
extra : moz-landing-system : lando
2020-04-01 14:06:33 +00:00
Tim Nguyen e8449a1918 Bug 1624488 - Scope dropmarker.css to dropmarker custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67957

--HG--
extra : moz-landing-system : lando
2020-03-31 14:33:49 +00:00
Stefan Hindli f2ba85fcf2 Backed out changeset ea3d100c8428 (bug 1624488) as per emilio's request on Riot for being related to Bug 1626198 CLOSED TREE 2020-03-31 15:22:42 +03:00
Tim Nguyen d959de9939 Bug 1624488 - Scope dropmarker.css to dropmarker custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67957

--HG--
extra : moz-landing-system : lando
2020-03-30 17:17:44 +00:00
Mark Striemer acef713181 Bug 1525178 - Part 5: Remove XUL about:addons CSS files r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D60426

--HG--
extra : moz-landing-system : lando
2020-03-30 19:45:12 +00:00
Tim Nguyen 4447b7118b Bug 1625314 - Scope search-textbox.css to search-textbox custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68810

--HG--
extra : moz-landing-system : lando
2020-03-30 19:59:45 +00:00
Tim Nguyen 9f4dbeaf3c Bug 1625982 - Rename textbox.js and textbox.css to moz-input-box.js and search-textbox.css. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68829

--HG--
rename : toolkit/content/widgets/textbox.js => toolkit/content/widgets/moz-input-box.js
rename : toolkit/themes/linux/global/textbox.css => toolkit/themes/linux/global/search-textbox.css
rename : toolkit/themes/osx/global/textbox.css => toolkit/themes/osx/global/search-textbox.css
rename : toolkit/themes/windows/global/textbox.css => toolkit/themes/windows/global/search-textbox.css
extra : moz-landing-system : lando
2020-03-30 18:22:56 +00:00
Dorel Luca 70fdea7bd2 Backed out changeset a6c0b1afc2b0 (bug 1624488) for browser-chrome failures in checkouts/gecko/layout/style/ServoStyleSet.cpp. CLOSED TREE 2020-03-30 20:08:05 +03:00
Tim Nguyen 9a97b51447 Bug 1624488 - Scope dropmarker.css to dropmarker custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67957

--HG--
extra : moz-landing-system : lando
2020-03-30 16:03:04 +00:00
Cosmin Sabou 9dd3baaacb Backed out changeset 9ce9b251c321 (bug 1624488) bc failures on ServoStyleSet.cpp.
CLOSED TREE
2020-03-30 18:11:02 +03:00
Tim Nguyen 7f2dbb133e Bug 1625911 - Split popupnotification.css from notification.css. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68788

--HG--
rename : toolkit/themes/linux/global/notification.css => toolkit/themes/linux/global/popupnotification.css
rename : toolkit/themes/osx/global/notification.css => toolkit/themes/osx/global/popupnotification.css
rename : toolkit/themes/shared/notification.inc.css => toolkit/themes/shared/notification.css
rename : toolkit/themes/windows/global/notification.css => toolkit/themes/windows/global/popupnotification.css
extra : moz-landing-system : lando
2020-03-30 13:57:23 +00:00
Tim Nguyen 28cd004d4f Bug 1624488 - Scope dropmarker.css to dropmarker custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67957

--HG--
extra : moz-landing-system : lando
2020-03-30 13:21:20 +00:00
Dão Gottwald a6cde0cee8 Bug 1623015 - Modernize scrollbox arrows. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D67678

--HG--
rename : toolkit/themes/windows/global/scrollbox.css => toolkit/themes/shared/scrollbox.css
extra : moz-landing-system : lando
2020-03-25 13:38:44 +00:00
Noemi Erli b4d7f44f77 Backed out changeset cdc5571c2d7c (bug 1623015) for causing mochitest failures CLOSED TREE
--HG--
rename : toolkit/themes/shared/scrollbox.css => toolkit/themes/windows/global/scrollbox.css
2020-03-24 17:31:35 +02:00
Dão Gottwald 913447fb35 Bug 1623015 - Modernize scrollbox arrows. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D67678

--HG--
rename : toolkit/themes/windows/global/scrollbox.css => toolkit/themes/shared/scrollbox.css
extra : moz-landing-system : lando
2020-03-24 13:42:04 +00:00
Emilio Cobos Álvarez 5bba05d7c8 Bug 1620307 - Rename -moz-menulist-button to -moz-menulist-arrow-button. r=spohl
This should be less confusing. This is not supported outside of chrome:// or
user-agent stylesheets so we can name this however we want.

Differential Revision: https://phabricator.services.mozilla.com/D65605

--HG--
extra : moz-landing-system : lando
2020-03-05 21:13:46 +00:00
Brian Grinstead 20fadc7eeb Bug 1609979 - Don't wrap text in toolbarbutton badges r=Gijs
We want them to always appear on one line to avoid covering the toolbarbuttono,
even when there are multiple words in the badge.

Differential Revision: https://phabricator.services.mozilla.com/D60287

--HG--
extra : moz-landing-system : lando
2020-01-17 17:58:51 +00:00
Brian Grinstead fd3ed49e86 Bug 1602230 - Use an html:label with textContent instead of xul:label with [value] for toolbarbutton-badges r=Gijs
This both allows proper CSS sizing (it respects max-width), and allows for hidden overflow for long badges.
Using xul:label with textContent fixes the former but doesn't support the latter, so an html:label is used instead.

Differential Revision: https://phabricator.services.mozilla.com/D57652

--HG--
extra : moz-landing-system : lando
2020-01-15 10:49:04 +00:00
Emilio Cobos Álvarez 9475a4f44c Bug 1605724 - Ensure loading the dialog icons doesn't change over-all layout. r=dao
https://hg.mozilla.org/mozilla-central/rev/234701139a2a61d1262e609c9d8ac42384ecafda

Removed the following CSS rule:

  #iconContainer {
    -moz-box-pack: center;
    min-height: 55px; /* maximum icon height + icon margin */
    min-width: 58px; /* maximum icon width + icon margin */
  }

Which enforced the size of the icon row.

The icon loads asynchronously, so by the first time we fire DOMContentLoaded it
may not have loaded yet. This means that sizeToContent() will size the window to
an smaller size and stuff will wrap around when it loads.

<image> doesn't block onload so even delaying this wouldn't work.

Restore the wrapper to ensure loading the icon or not doesn't affect layout of
the dialog.

Differential Revision: https://phabricator.services.mozilla.com/D58705

--HG--
extra : moz-landing-system : lando
2020-01-10 00:15:23 +00:00
Tim Nguyen 61f60f3fcf Bug 1602939 - Make #infoContainer and #iconContainer HTML elements in commonDialog. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D56728

--HG--
extra : moz-landing-system : lando
2019-12-11 18:06:58 +00:00
Sylvestre Ledru e94f355d96 Bug 1596911 - Add missing license headers on the new managed extensions r=Gijs,MattN
Depends on D53267

Differential Revision: https://phabricator.services.mozilla.com/D53269

--HG--
extra : moz-landing-system : lando
2019-11-26 15:00:00 +00:00
Tim Nguyen eddf20e619 Bug 1583925 - Replace commonDialog.xul XUL grid with CSS grid. r=dao
This makes use of display: contents; in order to preserve the row-based markup that is needed by JS to hide certain rows.

Differential Revision: https://phabricator.services.mozilla.com/D54243

--HG--
extra : moz-landing-system : lando
2019-11-26 13:41:16 +00:00