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

3290 Коммитов

Автор SHA1 Сообщение Дата
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
Emilio Cobos Álvarez d9d7f09456 Bug 1619428 - Make the overlay scrollbars check work in all platforms. r=mstange
Reuse the AddXULMinSize logic which already deals with all the widget stuff,
non-themed scrollbars, etc.

Remove some useless margin declarations and such in GeckoView scrollbars code
now that AddXULMinSize does look at the min-width/height properties.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 20:30:52 +00:00
shindli b961822146 Backed out changeset be3b005bfc6d (bug 1619428) for causing reftest failure in contain-size-select-elem-002-ref.html CLOSED TREE 2020-03-03 22:15:47 +02:00
Emilio Cobos Álvarez b6eaddfb9f Bug 1619663 - Don't use -moz-appearance for android scrollbar thumbs. r=mstange
The regular Android theme doesn't support it, so it does nothing.

With the non-native theme, which supports scrollbars, it'd look like windows
scrollbars, which we don't want.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 18:34:25 +00:00
Emilio Cobos Álvarez cdad6a0be8 Bug 1619428 - Make the overlay scrollbars check work in all platforms. r=mstange
Reuse the AddXULMinSize logic which already deals with all the widget stuff,
non-themed scrollbars, etc.

Remove some useless margin declarations and such in GeckoView scrollbars code
now that AddXULMinSize does look at the min-width/height properties.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 18:50:07 +00:00
Emilio Cobos Álvarez ec93e86c29 Bug 1618988 - Move GeckoView scrollbar styles to their own CSS file. r=snorp
Just like we do in every other platform.

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

--HG--
extra : moz-landing-system : lando
2020-03-02 21:05:49 +00:00
Gijs Kruitbosch bdb3c93a94 Bug 1618938 - make menulist min-height more sane, r=dao
The :not() clause unhelpfully influences the specificity of the selector for menulists in general.
However, it is not necessary anyway, because xul.css overrides the min-height to 0 for [popuponly]
menulists using !important.

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

--HG--
extra : moz-landing-system : lando
2020-03-02 15:10:57 +00:00
Tom Schuster 0b1dab0c5a Bug 1408122 - Apply prefers-color-scheme: dark to top-level about:blank. r=emilio,bzbarsky
I think during the All Hands in Berlin you might have suggested to do this in nsPresContext::DefaultBackgroundColor,
but this seems a bit more targeted and not a header.

I haven't try tested this yet, so this more of a feedback?

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

--HG--
extra : moz-landing-system : lando
2020-02-28 13:43:02 +00:00
Tim Nguyen d2a153d6ca Bug 1560540 - Update twisty images to be larger. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D63626

--HG--
extra : moz-landing-system : lando
2020-02-27 17:46:53 +00:00
Jonathan Michalon 53c6f6cef8 Bug 1581578 - Re-introduce focus styling on trees r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D64362

--HG--
extra : moz-landing-system : lando
2020-02-27 16:40:46 +00:00
Gijs Kruitbosch ce1a86b0e0 Bug 1610899 - avoid text track list being cut off, r=jaws
The text track list should not exceed the size of the video controls. Because it is positioned
absolutely, and because the height of the video is not known in the CSS, the only way to
ensure the list's height does not exceed the video's height is to set a 'top' value as well as
a 'bottom' one.

Unfortunately, that then means that if the list is quite small and the video quite tall, the
popup becomes way too large.

To avoid this, I've added another level of nesting, and used flexbox to align the actual list
to the bottom of the container for the list.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 00:11:02 +00:00
Dorel Luca 5ad62a55ac Backed out changeset f1c4e39dce89 (bug 1610899) for Mochitest failures on toolkit/content/tests/widgets/test_videocontrols_vtt.html. CLOSED TREE 2020-02-14 21:00:00 +02:00
Gijs Kruitbosch e692643fd6 Bug 1610899 - avoid text track list being cut off, r=jaws
The text track list should not exceed the size of the video controls. Because it is positioned
absolutely, and because the height of the video is not known in the CSS, the only way to
ensure the list's height does not exceed the video's height is to set a 'top' value as well as
a 'bottom' one.

Unfortunately, that then means that if the list is quite small and the video quite tall, the
popup becomes way too large.

To avoid this, I've added another level of nesting, and used flexbox to align the actual list
to the bottom of the container for the list.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 17:21:24 +00:00
Itiel ff31ef7666 Bug 1608991 - Fix margin for the "Match Diacritics" button in the findbar r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D60723

--HG--
extra : moz-landing-system : lando
2020-02-07 10:24:43 +00:00
Brent Schroeter 0ce271401d Bug 1597322 - Correctly set a:visited color in dark-mode. r=ewright
The light theme sets both visited and non-visited links to the same color
(`--blue-60`) by default, while the dark theme sets non-visited links to
`--blue-40` but did not specify a color for visited links, displaying them as
`--blue-60`. This resulted in inconsistent styling of pages written in XHTML
versus HTML, e.g. `about:protections` versus `about:newtab`. epang confirmed
that the desired behavior is to display links as `--blue-40`, visited or not.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 16:21:02 +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 fff6c9e1ac Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 19:01:05 +00:00
Mihai Alexandru Michis 0d01c60c37 Backed out 2 changesets (bug 981248) for causing multiple failures.
CLOSED TREE

Backed out changeset 7a96708cc8b7 (bug 981248)
Backed out changeset 1eace7bd28d9 (bug 981248)
2020-01-14 19:28:17 +02:00
Emilio Cobos Álvarez da2e4ef888 Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 15:05:22 +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
Connor Brewster 7df8b34d1a Bug 1606742 - Support alpha component on svg color matrix filter in WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D58587

--HG--
extra : moz-landing-system : lando
2020-01-06 18:41:55 +00:00
Mike Conley 8416f879eb Bug 1592286 - Add URL-mapped policy support to the Picture-in-Picture toggle. r=mstriemer
I went with "policy" rather than "position" since "hidden" isn't really a position.

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

--HG--
extra : moz-landing-system : lando
2019-12-21 00:24:06 +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
Tim Nguyen 17e5df2a0f Bug 1584311 - Remove XUL grid from pluginPrefs.xul and make it an HTML page. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D56234

--HG--
rename : toolkit/mozapps/extensions/content/pluginPrefs.xul => toolkit/mozapps/extensions/content/pluginPrefs.xhtml
extra : moz-landing-system : lando
2019-12-10 22:50:48 +00:00
Itiel b51c7bc9fa Bug 1601345 - Replace the "<< Go Back" text link in about:preferences#containers with a button r=Gijs,fluent-reviewers
Also fix the styling of containers to have their separators centered vertically, and make them stretch to the end.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 05:09:30 +00:00
Mark Striemer 749ba15c52 Bug 1337627 - Remove remote discovery pane from about:addons r=robwu,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55719

--HG--
rename : browser/base/content/test/general/browser_bug581242.js => browser/base/content/test/webextensions/browser_aboutaddons_blanktab.js
extra : moz-landing-system : lando
2019-12-05 18:32:17 +00:00
Brian Grinstead 71ffc31231 Bug 1596870 - Migrate .xul reftests in toolkit/themes/osx to .xhtml r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D55747

--HG--
rename : toolkit/themes/osx/reftests/482681-ref.xul => toolkit/themes/osx/reftests/482681-ref.xhtml
rename : toolkit/themes/osx/reftests/482681.xul => toolkit/themes/osx/reftests/482681.xhtml
rename : toolkit/themes/osx/reftests/baseline.xul => toolkit/themes/osx/reftests/baseline.xhtml
rename : toolkit/themes/osx/reftests/checkboxsize-ref.xul => toolkit/themes/osx/reftests/checkboxsize-ref.xhtml
rename : toolkit/themes/osx/reftests/checkboxsize.xul => toolkit/themes/osx/reftests/checkboxsize.xhtml
rename : toolkit/themes/osx/reftests/nostretch-ref.xul => toolkit/themes/osx/reftests/nostretch-ref.xhtml
rename : toolkit/themes/osx/reftests/nostretch.xul => toolkit/themes/osx/reftests/nostretch.xhtml
rename : toolkit/themes/osx/reftests/radiosize-ref.xul => toolkit/themes/osx/reftests/radiosize-ref.xhtml
rename : toolkit/themes/osx/reftests/radiosize.xul => toolkit/themes/osx/reftests/radiosize.xhtml
extra : moz-landing-system : lando
2019-12-04 04:26:57 +00:00
Tim Nguyen cdbba16564 Bug 1600138 - Clean up update-icon.svg and addon-private-browsing.svg. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D55175

--HG--
extra : moz-landing-system : lando
2019-11-29 16:38:52 +00:00
Mike Conley 42c2ecdc42 Bug 1599919 - Revert pictureinpicture.svg asset to use the most up-to-date version. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D55037

--HG--
extra : moz-landing-system : lando
2019-11-28 06:21:48 +00:00
Tim Nguyen 515b0cd2c5 Bug 1599697 - Re-add 'font: inherit' to .tree-input. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D54918

--HG--
extra : moz-landing-system : lando
2019-11-27 12:16:10 +00:00
Itiel a4e8065185 Bug 1599511 - Mirror the card theme images for RTL r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D54776

--HG--
extra : moz-landing-system : lando
2019-11-26 17:51:16 +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
Mike Conley d4899e5209 Bug 1598886 - Mirror the Picture-in-Picture icons for RTL locales. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D54582

--HG--
extra : moz-landing-system : lando
2019-11-25 20:19:30 +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
Mike Conley 0e1e31ae4e Bug 1597689 - Update Picture-in-Picture image assets. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D53819

--HG--
extra : moz-landing-system : lando
2019-11-20 22:29:47 +00:00
Brendan Dahl b9a2e26c37 Bug 1596724 - Fix print preview toolbar. r=dao
The selectors that changed number inputs when they were used in a XUL
root document no longer make sense now that we're using an html root.
Convert the selector to a class instead. Also, add flex attribute so
the toolbar fills the whole width of the wrapping box.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 18:29:58 +00:00
Tim Nguyen 2bba3053b9 Bug 1596176 - Add missing linux and windows rule for badge positioning. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D52890

--HG--
extra : moz-landing-system : lando
2019-11-13 20:11:07 +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
Gabriel Luong d1c32b6f80 Bug 1575075 - Add an audio toggle button in PiP to mute and unmute a video. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D51413

--HG--
extra : moz-landing-system : lando
2019-11-04 21:14:50 +00:00
Mark Striemer 2fa34a861c Bug 1525175 - Part 2: Position panel-list elements based on triggering event r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D46228

--HG--
extra : moz-landing-system : lando
2019-11-01 16:01:31 +00:00
Tim Nguyen 282cc5ebd5 Bug 1516091 - Stop using <sidebarheader> as an element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51384

--HG--
extra : moz-landing-system : lando
2019-11-01 13:22:36 +00:00
Tim Nguyen 0109c7d8b0 Bug 1592396 - Unify 16x16 arrow icons. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D50994

--HG--
rename : browser/themes/shared/icons/arrow-left.svg => toolkit/themes/shared/icons/arrow-left.svg
extra : moz-landing-system : lando
2019-10-31 12:44:51 +00:00
Marco Bonardo 3874312255 Bug 1568043 - Remove some legacy urlbar related code from autocomplete. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D51085

--HG--
extra : moz-landing-system : lando
2019-10-30 17:43:51 +00:00
Itiel a7e72f1325 Bug 1588367 - Convert all relevant uses of float: right/left to logical properties on toolkit/ r=ntim
Depends on D49207

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

--HG--
extra : moz-landing-system : lando
2019-10-28 18:34:55 +00:00
Dave Townsend 61befa01e2 Bug 1590180: Remove use of `display: -moz-groupbox` and `-moz-appearance: groupbox` from the page setup dialog. r=dao
The display property appears to do nothing here and the appearance closely
matches that of a fieldset so switching to that seems to work fine.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 09:41:09 +00:00