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

470 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange 45fa6441c9 Bug 1686735 - On macOS Big Sur, also disable the slide-in-from-bottom animation for panels. r=jaws
This was an oversight in the original patch. I forgot to include the "bottom"
variant in the @media scope.

Differential Revision: https://phabricator.services.mozilla.com/D101952
2021-01-15 19:00:37 +00:00
Kartik Gautam 5d5093a494 Bug 1679452 - Replace :not(X):not(Y) with :not(X, Y) r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D100147
2020-12-19 11:24:13 +00:00
Markus Stange 62bf65b60d Bug 1672091 - Disable the fade-in animation on macOS Big Sur, to work around a macOS bug (FB8828157) that causes the panel shadow to be missing. r=dao
The fade-out animation is kept.

To work around the bug, the first paint of the panel window needs to be done at
full window opacity. Reducing the window opacity after the shadow has been
computed works correctly.

Differential Revision: https://phabricator.services.mozilla.com/D97863
2020-11-23 18:54:17 +00:00
Tim Nguyen 082c712f75 Bug 1525737 - Remove/replace usages of XUL grid display values. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53300
2020-11-17 01:20:34 +00:00
Tim Nguyen 353f334d13 Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-11-08 03:52:32 +00:00
Bogdan Tara 92c3461ba3 Backed out changeset 5ed5e8a6bbfb (bug 1583696) for modal prompt related failures CLOSED TREE 2020-11-08 02:14:49 +02:00
Tim Nguyen 50565cbf0e Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-11-07 21:53:58 +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
Sonia Singla 5f5c9fd7f2 Bug 1659267 - Remove usages of -moz-user-select across the Firefox codebase. r=emilio,marionette-reviewers,geckoview-reviewers,preferences-reviewers,whimboo,agi
Differential Revision: https://phabricator.services.mozilla.com/D87499
2020-08-18 23:37:51 +00:00
Emilio Cobos Álvarez 6f85f8c453 Bug 1656081 - Cleanup iframe sizing so that it does the same as every other replaced element. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D85386
2020-08-16 18:45:39 +00:00
Jeremy Ir 20235b390f Bug 1531609 part 1 - Rename overflow:-moz-hidden-unscrollable to overflow:clip. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D73716
2020-08-01 01:56:58 +00:00
Butkovits Atila cc95b93cba Backed out 3 changesets (bug 1635473, bug 1531609) for reftest failures. CLOSED TREE
Backed out changeset 1e7b32808be8 (bug 1531609)
Backed out changeset e64a61869cdb (bug 1531609)
Backed out changeset 6da37d7f6dd3 (bug 1635473)
2020-07-31 23:56:54 +03:00
Jeremy Ir 92b8f0f77a Bug 1531609 part 1 - Rename overflow:-moz-hidden-unscrollable to overflow:clip. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D73716
2020-07-31 16:40:48 +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
Gijs Kruitbosch 54ba1c9d7b Bug 1639925 - implement 'wrap' support in toolbarbuttons on a single element instead of 2, r=bgrins
This unifies toolbarbutton-text and toolbarbutton-multiline-text. We now
always use toolbarbutton-text for the button's text, but can either use
textContent or the value attribute, depending on the value of the wrap
attribute. This reduces DOM size and consumer complexity, at the cost of
adding some logic to toolbarbutton.js itself.

Differential Revision: https://phabricator.services.mozilla.com/D76383
2020-05-27 23:01:15 +00:00
Gijs Kruitbosch 2090c54362 Bug 1640493 - stop including dropmarkers in all toolbarbuttons, r=mak
This makes dropmarkers 'optional extras', effectively, and opts the existing
consumers I could find (the places window on macOS, and the 'more engines'
item in the search field popup) into these dropmarkers.

This allows removing all the CSS that was hiding these items in various
places.

We deliberately do not support adding dropmarkers at runtime. I also noticed
that the 'more engines' item already adds the 'badged' attribute after
connecting the node to the DOM, which may result in it not applying properly,
and fixed this.

Differential Revision: https://phabricator.services.mozilla.com/D76382
2020-05-24 13:51:35 +00:00
Dão Gottwald 4b5b7dc639 Bug 1636057 - Make arrow panel opening animation obey prefers-reduced-motion. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D74213
2020-05-14 14:54:57 +00:00
Bogdan Tara 9dbf4bb254 Backed out changeset 37298a30f66d (bug 1636057) for xpcshell failures CLOSED TREE 2020-05-14 14:02:59 +03:00
Dão Gottwald c0b710ed42 Bug 1636057 - Make arrow panel opening animation obey prefers-reduced-motion. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D74213
2020-05-14 09:04:59 +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
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 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
aarushivij c60456e198 Bug 1578906 - Show a larger underline on the accesskeys since they are only single characters and descenders can make the underline appear very small for an accesskey. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D69265

--HG--
extra : moz-landing-system : lando
2020-04-02 18:37:17 +00:00
Tim Nguyen 1a8eadc208 Bug 1626662 - Remove warning from xul.css and minimal-xul.css. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D69224

--HG--
extra : moz-landing-system : lando
2020-04-01 15:59:23 +00:00
Emilio Cobos Álvarez f8f69f8ceb Bug 1618903 - Stack grid item rule shouldn't apply to anonymous children. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D64786

--HG--
extra : moz-landing-system : lando
2020-02-28 18:33:56 +00:00
Tim Nguyen a2e4d99a50 Bug 1610597 - Re-introduce display: -moz-stack; as <legacy-stack>. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62758

--HG--
extra : moz-landing-system : lando
2020-02-14 16:32:38 +00:00
Kirk Steuber 44aeb05573 Bug 1607575 - Change consumers of XUL ordinal attribute to use the -moz-box-ordinal-group style instead r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D59762

--HG--
extra : rebase_source : e70a0b95e3f878fa57d4af134e5ed7d16200467c
2020-01-22 17:23:47 +01: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 8315ea0c9c Bug 1608159 - Make <xul:image> inline-level by default. r=Gijs
This also matches html <img>.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 10:29:12 +00:00
Emilio Cobos Álvarez e7783b322a Bug 1607557 - Make labels and button inline level. r=Gijs
<xul:description> doesn't respect `display` and effectively behaves like
`display: flow-root` unless it has the `value` attribute.

<xul:label> and <xul:button> are expected to be inline level when in HTML
blocks.

The former fixes the about dialog. The later fixes the session restore page,
which in today's nightly shows the two buttons in different lines.

I could try to write more targeted fixes if you want, and probably switching to
html layout while at it.

<label> can be display: inline, at least in the about dialog. And the
<xul:button> in the restore session page can be <html:buttons> (inline-blocks).

But then again the involved elements always create specific layout boxes
disregarding display, so this patch does effectively the same.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 12:17:07 +00:00
Emilio Cobos Álvarez 7d9dd50759 Bug 1606263 - Make default tooltip rtl when appropriate. r=Itiel
After bug 1598841, they don't inherit `direction` from the root, so we need to
explicitly style the default toltip.

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

--HG--
extra : moz-landing-system : lando
2019-12-30 14:47:46 +00:00
Kirk Steuber 589b7532ea Bug 1585482 - Restructure all <xul:dialog> usages such that they are not the top level element r=bgrins
This patch also includes necessary JS changes to support this. Most commonly, the dialog was accessed with document.documentElement, which needed to be changed now that the dialog is not the top level element.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:25:59 +00:00
Tim Nguyen dc104f14fc Bug 1597120 - Replace usages of XUL mousethrough with CSS pointer-events. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D53348

--HG--
extra : moz-landing-system : lando
2019-11-22 13:15:00 +00:00
Brian Grinstead d71d764018 Bug 1592369 - Set [orient], [pack], [dir], and [align] styles with CSS instead of reading the XUL layout attributes r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D51013

--HG--
extra : moz-landing-system : lando
2019-11-19 20:30:54 +00:00
Tim Nguyen 492214c05c Bug 1596966 - Set `min-height: 0` on <stack> children. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D53294

--HG--
extra : moz-landing-system : lando
2019-11-16 02:00:01 +00:00
Tim Nguyen 060c2a8b6d Bug 1596296 - Stop supporting XUL [dir="reverse"] attribute value. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52946

--HG--
extra : moz-landing-system : lando
2019-11-15 23:03:40 +00:00
Tim Nguyen 09c0c2dd0f Bug 1596735 - Re-add 'data' in the list of XUL elements to hide. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D53235

--HG--
extra : moz-landing-system : lando
2019-11-15 17:34:27 +00:00
Tim Nguyen 9d40766fe5 Bug 1596193 - Replace outdated references to XUL textbox. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D53177

--HG--
extra : moz-landing-system : lando
2019-11-15 13:35:14 +00:00
Cosmin Sabou 085e0c04f7 Backed out changeset f03a850e3f53 (bug 1596296) for mochitest failures on test_popupanchor.xhtml. 2019-11-15 15:22:45 +02:00
Tim Nguyen 5e95d30ef3 Bug 1596296 - Stop supporting XUL [dir="reverse"] attribute value. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52946

--HG--
extra : moz-landing-system : lando
2019-11-15 02:20:10 +00:00
Tim Nguyen a9335df10d Bug 1576946 - Implement <stack> using CSS Grid. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D46226

--HG--
extra : moz-landing-system : lando
2019-11-12 19:49:48 +00:00
Brendan Dahl 2e2ca37f8d Bug 1492582 - Use html root element in browser.xhtml and update styling to support html roots r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33558

--HG--
extra : moz-landing-system : lando
2019-11-08 23:33:43 +00:00
Noemi Erli f4d989ef82 Backed out 7 changesets (bug 1492582) for causing ss mochitest failures CLOSED TREE
Backed out changeset 1484255e5f4d (bug 1492582)
Backed out changeset bbf62ef50e52 (bug 1492582)
Backed out changeset 836724d3860e (bug 1492582)
Backed out changeset 5efddfd196b5 (bug 1492582)
Backed out changeset d4be1aa8cdb6 (bug 1492582)
Backed out changeset f05dfbeff17b (bug 1492582)
Backed out changeset e0e56a195659 (bug 1492582)

--HG--
extra : rebase_source : 913c432be684629992a773dc3e4e233141bc3061
2019-11-07 21:51:46 +02:00
Brendan Dahl 0a467b3fbd Bug 1492582 - Use html root element in browser.xhtml and update styling to support html roots r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33558

--HG--
extra : moz-landing-system : lando
2019-11-07 16:20:55 +00:00
Tim Nguyen 80e2758d1d Bug 1592533 - Post XBL removal xul.css cleanup. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D51068

--HG--
extra : moz-landing-system : lando
2019-10-30 11:30:55 +00:00