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

426 Коммитов

Автор SHA1 Сообщение Дата
Gijs Kruitbosch d523471eac Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Emilio Cobos Álvarez 1a7371fd97 Bug 1346893 - Move the Geckoview UA sheet to layout/style. r=snorp
Make it a regular stylesheet.

This allows it to be cached in shared memory if possible, and will allow me to
stop adding the stylesheet based on a pref for bug 1618202.

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

--HG--
rename : mobile/android/themes/geckoview/content.css => layout/style/res/geckoview.css
extra : moz-landing-system : lando
2020-02-26 22:03:08 +00:00
Cosmin Sabou e1ae464b64 Backed out changeset 8c1c55d16e1a (bug 1346893) for bc failures on browser_all_files_referenced.js.
--HG--
rename : layout/style/res/geckoview.css => mobile/android/themes/geckoview/content.css
extra : histedit_source : e5159e67631172a933b02ac22c838991da589170
2020-02-26 21:25:09 +02:00
Emilio Cobos Álvarez 42b235642d Bug 1346893 - Move the Geckoview UA sheet to layout/style. r=snorp
Make it a regular stylesheet.

This allows it to be cached in shared memory if possible, and will allow me to
stop adding the stylesheet based on a pref for bug 1618202.

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

--HG--
rename : mobile/android/themes/geckoview/content.css => layout/style/res/geckoview.css
extra : moz-landing-system : lando
2020-02-26 15:46:58 +00:00
Emilio Cobos Álvarez 9f4ca6a71f Bug 1470709 - Stop using CSS variables from android UA stylesheets. r=snorp
Just inline them, they're not that many.

Using CSS variables is observable from content, which is not good. It also means
that we need an @import.

For bug 1618202, I plan to move this stylesheet to the global stylesheet cache.

This is so that I can add them based on prefs, but should also have memory
improvements (the stylesheet would be shared in memory across processes, see bug
1474793).

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

--HG--
extra : moz-landing-system : lando
2020-02-26 15:22:34 +00:00
Agi Sferro a6d7032a66 Bug 1610608 - Remove unused ErrorPageEventHandler. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60579

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:29 +00:00
Narcis Beleuzu df67c871b2 Backed out 15 changesets (bug 1593395, bug 1610641, bug 1610608) for build bustages on chrome.ini . CLOSED TREE
Backed out changeset 11f9ed281022 (bug 1610641)
Backed out changeset a3852d7add7c (bug 1610641)
Backed out changeset 03fd98c58009 (bug 1610641)
Backed out changeset df53aae9f611 (bug 1610641)
Backed out changeset 8dce2aa95db7 (bug 1610641)
Backed out changeset 4d78ecbd2217 (bug 1610641)
Backed out changeset 8e5484acd16c (bug 1610641)
Backed out changeset 45be5eda8a5e (bug 1610608)
Backed out changeset 040bdf225776 (bug 1610641)
Backed out changeset 4a84eddd9815 (bug 1610641)
Backed out changeset e469149d1828 (bug 1610641)
Backed out changeset f1f041f2c5c1 (bug 1593395)
Backed out changeset ae84f1c37adb (bug 1610641)
Backed out changeset 4cf939a54ca3 (bug 1610641)
Backed out changeset 22f33e33fb81 (bug 1610641)
2020-01-22 17:13:36 +02:00
Agi Sferro fa62d87def Bug 1610608 - Remove unused ErrorPageEventHandler. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60579

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:40 +00:00
Tim Nguyen d6d631b95f Bug 1516577 - Update GeckoView about:config visual design. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D59203

--HG--
extra : moz-landing-system : lando
2020-01-08 21:06:36 +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
Ting-Yu Lin 22b2870b5a Bug 1526268 Part 1 - Make AccessibleCaret's #text-overlay and #image children be normal in-flow elements. r=mats
The #text-overlay and #image child divs were "position: absolute" under
the main AccessibleCaret div. However, they don't necessary need to be
position:absolute to achieve the desired layout. We can make them normal
in-flow elements to simplify the frame structure. There should not be
any perceivable change to the user.

Also, AccessibleCaret's position can made more accurate by using float
CSS pixels when converting it from app unit.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 22:16:08 +00:00
Mats Palmgren 6ccb338227 Bug 1583660 - Reinstate default background color / size for -moz-range-track on Android. r=jwatt
This reverts the changes from bug 1481593 / bug 1317870 which broke
the default rendering on Android only (since it doesn't have
a native theme for <input type=range>).

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

--HG--
extra : moz-landing-system : lando
2019-10-02 21:04:32 +00:00
Cameron McCormack 890e42b6af Bug 1562359 - Tweak XUL scrollbar styles on GeckoView to avoid cached scrollbar style assertions. r=emilio
For content like:

  <select>
    <optgroup style="overflow: scroll">
      <option>

the existing rules would match the <xul:scrollbar> elements that are
generated for the <optgroup>, since they use descendant selectors after
the `select:not([size]):not([multiple])`, even though the intention
(probably!) is to match only the scrollbars created for the <select>
itself.

On Android, we don't actually render <select> elements in the page;
instead we use some system UI popup.  So in practice the difference in
rendering here isn't relevant.  (It's possible we could remove these
rules entirely.)

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

--HG--
extra : moz-landing-system : lando
2019-07-02 00:12:59 +00:00
Matthew Noorenberghe b57a900dc2 Bug 1148205 - Replace misnamed `formSubmitURL` and `hostname` properties on nsILoginInfo in mobile/. r=Grisha
Differential Revision: https://phabricator.services.mozilla.com/D33349

--HG--
extra : moz-landing-system : lando
2019-06-05 04:00:09 +00:00
Cameron McCormack 683a4bd65a Bug 1555543 - Adjust scrollbar-apz.css rule so it applies to all scrollbar elements. r=kats
Currently it won't match scrollbar elements in HTML documents where the
root element has been switched out for something other than <html>, or
in shadow trees.

Also, move the rule into content.css now that we no longer switch
between apz and non-apz versions of this file.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 02:10:25 +00:00
Sonali9 685b7499b8 Bug 1495344 - Added color definitions for sepia mode in mobile aboutReader.css r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D29735

--HG--
extra : moz-landing-system : lando
2019-05-07 18:59:13 +00:00
Sonali9 5fe0091f40 Bug 1395824 Add css for table borders in aboutReader.css r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D29957

--HG--
extra : moz-landing-system : lando
2019-05-06 19:00:03 +00:00
Tim Nguyen 5fbe70260e Bug 1543468 - Stop using toolkit netError.css URL on Android. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D26964

--HG--
extra : moz-landing-system : lando
2019-04-10 19:32:20 +00:00
Jonathan Kew f41c23be63 Bug 1541500 - Apply Android ::selection styling to SVG as well as HTML content. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D25980

--HG--
extra : moz-landing-system : lando
2019-04-10 10:44:30 +00:00
Gijs Kruitbosch fba25eeb23 Bug 1534943 - also update android CSS for font-size changes, r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D23325

--HG--
extra : moz-landing-system : lando
2019-03-13 19:40:26 +00:00
Makoto Kato f6085c16d6 Bug 1524926 - Move some CSS files from mobile/android to toolkit. r=geckoview-reviewers,snorp
Although about.css, aboutMemory.css and aboutSupport.css are mobile-specific
style, these CSS files are used in toolkit, not mobile/android.
Since GeckoView doesn't has chrome.jar, these files are missing. So we should
move these CSS files to toolkit since we have mobile theme in toolkit.

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

--HG--
rename : mobile/android/themes/core/about.css => toolkit/themes/mobile/global/about.css
rename : mobile/android/themes/core/aboutMemory.css => toolkit/themes/mobile/global/aboutMemory.css
rename : mobile/android/themes/core/aboutSupport.css => toolkit/themes/mobile/global/aboutSupport.css
extra : moz-landing-system : lando
2019-02-26 14:54:45 +00:00
Timothy Guan-tin Chien d59f80985c Bug 1507895 - Part I, Remove the videocontrols binding r=smaug
This patch removes the XBL videocontrols binding and make <video>
to always use the UA Widget to generate controls.

DevTools tests that look for NAC is switched to use <input type=file>.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 13:12:26 +00:00
Cameron McCormack 9635af505d Bug 1517175 - Part 2: Add about:memory filter r=njn
Depends on D15628

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

--HG--
extra : moz-landing-system : lando
2019-01-07 03:04:46 +00:00
Cameron McCormack af0862d439 Bug 1516831 - Add a process index to about:memory r=njn
Differential Revision: https://phabricator.services.mozilla.com/D15495

--HG--
extra : moz-landing-system : lando
2019-01-07 03:06:27 +00:00
James Willcox eb69f98699 Bug 1500541 - Move about:config into GeckoView r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D9588


--HG--
rename : mobile/android/chrome/content/config.js => mobile/android/chrome/geckoview/config.js
rename : mobile/android/themes/core/images/arrowdown-16.png => mobile/android/themes/geckoview/images/arrowdown-16.png
rename : mobile/android/themes/core/images/arrowup-16.png => mobile/android/themes/geckoview/images/arrowup-16.png
rename : mobile/android/themes/core/images/config-plus.png => mobile/android/themes/geckoview/images/config-plus.png
rename : mobile/android/themes/core/images/lock.png => mobile/android/themes/geckoview/images/lock.png
rename : mobile/android/themes/core/images/search-clear-30.png => mobile/android/themes/geckoview/images/search-clear-30.png
rename : mobile/android/themes/core/images/search.png => mobile/android/themes/geckoview/images/search.png
rename : mobile/android/themes/core/images/textfield.png => mobile/android/themes/geckoview/images/textfield.png
rename : mobile/android/themes/core/images/throbber.png => mobile/android/themes/geckoview/images/throbber.png
2018-11-01 09:52:30 -05:00
vinoth 25d8536817 Bug 1480934 - Saving Reader View page yields blank page fixed by removing inline style r=jaws,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D2947

--HG--
extra : rebase_source : ffd74af5b0d9360d50245dd2c9ac3371dbafa096
extra : source : b7531c106b5947faf3edd8a951003d406c6a54dd
2018-08-14 03:26:24 +00:00
Gijs Kruitbosch 0c30f8b16a Bug 1399616 - add emoji styling to reader mode, r=johannh
MozReview-Commit-ID: DHYjxva76Lb

--HG--
extra : rebase_source : 975ebf972b11d6d4cf115644cd034d337a846bf1
2018-06-20 15:09:26 +01:00
Petru Lingurar e943f78fb5 Bug 1464990 - Allow easier testing Switchboard experiments; r=jchen,sebastian
Based on Sebastian's addon - https://github.com/pocmo/Addon-Switchboard-Experiments,
this will allow to easily enable / disable Switchboard experiments, process
that after Firefox 57 and the obsolescence of the addon was too cumbersome.

MozReview-Commit-ID: 2EkYQ42Bd8B

--HG--
extra : rebase_source : 7024c1d68897bea9d80f3fc857c5b204f77c8725
2018-06-21 09:33:20 +03:00
Jonathan Kew ec10b3f21a Bug 1392147 - Use Roboto instead of Clear Sans as default sans-serif font on Android, for better webcompat. r=xidorn 2018-05-23 13:51:59 +01:00
Jared Wein a60c9c7e00 Bug 1456617 - Remove empty rulesets from aboutMemory.css. r=Gijs
MozReview-Commit-ID: 7jQFTt0cAFu

--HG--
extra : rebase_source : 941e4b62b6165d320c0425da877bd2f341843511
2018-04-24 13:10:18 -07:00
Timothy Guan-tin Chien aaebd8920d Bug 1431246 - Create and update scrollbar markup in nsScrollbarFrame r=enndeakin+6102
nsScrollbarFrame::CreateAnonymousContent() would create the children
markup originally created by XBL. The attributes updated by XBL attribute
inheritance is updated by nsScrollbarFrame::UpdateChildrenAttributeValue().

This removes the XBL part of the scrollbar implementation.

MozReview-Commit-ID: FWi3HR2qkwF

--HG--
extra : rebase_source : c0b1b2ddbccb1d8e9d523db91a5b81fbcfa328e9
2018-04-09 22:01:02 +08:00
Paul Bone ba14455b5f Bug 1443396 - Use colours that contrast well on about:memory r=jaws,snorp
The about:memory page specified some colours using constants and others
using variables whose values can change.  If those variables changed, for
example due to the desktop toolkit using a dark theme, then it could create
poor contrast with the constants in these CSS files (desktop & mobile).

This change ensures that only the Mozilla system colour extensions and
Mozilla colour preference extensions colours are used.  Creating
fore/back-ground combinations that hopefully contrast well regardless of the
desktop theme.

--HG--
extra : rebase_source : f916aac0bb07c3a75ab45ece3fd58d1cdcf8bf46
extra : source : a78bc7ff3de5a0ea4aea060731253fed63a59d00
2018-04-23 12:40:09 +10:00
Kevin Brosnan 645b842fbe Kevin Brosnan - Bug 1435988 disable border radius styling on the range element - r=snorp
MozReview-Commit-ID: G9Hy7hXvAKY

--HG--
extra : rebase_source : 7a602c7a3bba151f35939847fd352547f33283dd
2018-02-16 13:21:07 -08:00
Jim Chen 5eb3667b33 Bug 1446202 - 2. Don't pass pointer events to datetime inputs; r=jchen
Like the way we treat select fields, don't pass pointer events to
date/time input fields either.

MozReview-Commit-ID: Eucfbu6MizX

--HG--
extra : rebase_source : 1887ca9911ee192c6c016ff2cfb7d621d8122be9
2018-04-02 23:26:11 -04:00
Timothy Guan-tin Chien 1543c98d18 Bug 1444489 - Part IV, Implement Casting UI on videoControls r=Gijs
Optimize and re-commit the casting buttons SVG removed from the previous commit.

MozReview-Commit-ID: GICxaRZXTiJ

--HG--
rename : mobile/android/themes/geckoview/images/videocontrols-cast-active.svg => toolkit/themes/shared/media/castingButton-active.svg
rename : mobile/android/themes/geckoview/images/videocontrols-cast-ready.svg => toolkit/themes/shared/media/castingButton-ready.svg
extra : rebase_source : 099416d0d03e5ab85ec5387f00911889db97d3e2
extra : source : 79a159f175227eae35648ffbeddcc58e77ef19cf
2018-03-09 17:39:44 -08:00
Timothy Guan-tin Chien 64808cfafc Bug 1444489 - Part II, Replace touchControls with videoControls and remove touchControls r=Gijs
Also migrates TouchUtils to videoControls in order to keep some interactions.

Removed the casting button from TouchUtils (to be add back to Utils in the next
commit; not removing the SVG images for hg annotation)

MozReview-Commit-ID: DzhmjykCLzu

--HG--
extra : rebase_source : d77dfe3e2d9de2087d21dc2fb9b1773e710177d7
2018-03-21 15:10:20 +08:00
shindli 830ec14b77 Backed out changeset 8cf686bb2f72 (bug 1435988) for failing revtest in moz-range-progress-1.html
--HG--
extra : rebase_source : 7f94ef8feca57fb1f73ff0039df286b14f162de7
2018-02-23 19:41:28 +02:00
Kevin Brosnan dd0754ea0a Kevin Brosnan - Bug 1435988 disable border radius styling on the range element - r=snorp
MozReview-Commit-ID: G9Hy7hXvAKY

--HG--
extra : rebase_source : 40d8a7605136e32c8822ec37d06355984ead9c3d
2018-02-16 13:21:07 -08:00
Timothy Guan-tin Chien a2a559db3e Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans
MozReview-Commit-ID: Cr2iMSB04uu

--HG--
extra : rebase_source : 49f69cca3a4f27af1060ed82283b5cc96f717229
2018-01-27 15:57:42 +08:00
Dão Gottwald ded13b5888 Bug 1430647 - Remove remaining uses of -moz-border-*-colors from android themes. r=rnewman,snorp
MozReview-Commit-ID: eKGucTqWei
2018-01-15 20:36:31 +01:00
Emilio Cobos Álvarez 5a3cf530d2 Bug 1430512: Remove unnecessary use of -moz-border-bottom-colors in aboutBase.css. r=dao
A single color in the color list renders just as border-bottom-color.

This used to have two colors, but was changed in [1], so now it can go away.

[1]: https://hg.mozilla.org/mozilla-central/rev/cfdf310748918c3d5eadc16daa5153091e325995

MozReview-Commit-ID: LDocmCwjkzw

--HG--
extra : rebase_source : 0b5027434d7a964165f547c3c67f31045ecc3df4
2018-01-15 03:27:19 +01:00
Cameron McCormack 544acb33d3 Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.

MozReview-Commit-ID: JuXTo8Nth5Q

--HG--
extra : rebase_source : dde58f56e55f82ddda364ec5978e43fe71be875c
2017-11-30 11:55:32 +08:00
Cameron McCormack 0c46625eab Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
Dorel Luca 5343debb6a Backed out 3 changesets (bug 1417837) for failing browser/chrome/test_media_playback.html r=backout on a CLOSED TREE
Backed out changeset 9556f12b4058 (bug 1417837)
Backed out changeset 49a463e85e42 (bug 1417837)
Backed out changeset 7a76f2363663 (bug 1417837)
2017-12-04 14:59:31 +02:00
Cameron McCormack 824f088ce8 Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.

MozReview-Commit-ID: JuXTo8Nth5Q

--HG--
extra : rebase_source : a5987d80f45c3ec5192c1aa5da772a05cfda79ff
2017-11-30 11:55:32 +08:00
Cameron McCormack 311c671019 Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
Coroiu Cristina 035be65ea1 Backed out 3 changesets (bug 1417837) for ESlint failures at /builds/worker/checkouts/gecko/toolkit/components/narrate/NarrateControls.jsm r=backout on a CLOSED TREE
Backed out changeset 0d6b56293cbf (bug 1417837)
Backed out changeset 1c341a427a7a (bug 1417837)
Backed out changeset fa4f488ea88f (bug 1417837)
2017-12-04 12:34:37 +02:00
Cameron McCormack 850bcde3b4 Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.

MozReview-Commit-ID: JuXTo8Nth5Q

--HG--
extra : rebase_source : 87aa2f1060a1e7974610a109507a103c5366727a
2017-11-30 11:55:32 +08:00
Cameron McCormack 33f3ce5cd6 Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
Dão Gottwald aff5b2a7f6 Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
MozReview-Commit-ID: 4FQ5aL2XrU5

--HG--
extra : rebase_source : a8863472a82697b3e7668866a35f14b6f01fafe7
2017-11-28 11:38:15 +01:00