Commit Graph

585 Commits

Author SHA1 Message Date
Richard Marti
6685cc52fd Bug 1476790 - Typo in RTL tree-twisty rule. r=dao 2018-07-24 19:44:30 +02:00
Paolo Amadini
8adbeb4164 Bug 1475916 - Use em instead of px for list heights to keep font scaling into account. r=bgrins
MozReview-Commit-ID: FDMwrHg27ad

--HG--
extra : rebase_source : 66c957f2516e4cded7c6e73da5ea30080ab2d37b
2018-07-23 10:07:38 +01:00
Dão Gottwald
6f2275e137 Bug 1468080 - Clean up menulist icon and label spacing on Windows. r=jaws
MozReview-Commit-ID: 2GOtaeMqPUz

--HG--
extra : rebase_source : 91a39016fbc8dafdc12224eaca927d182e5beaff
2018-07-19 14:39:56 +02:00
Paolo Amadini
98b8539d10 Bug 1472555 - Part 4 - Remove the "listbox" bindings. r=bgrins
MozReview-Commit-ID: Cw90DjEMJpn

--HG--
extra : rebase_source : 74a64794699d65b2a9fe5ae4cb215403657d9e4a
2018-07-18 11:23:22 +01:00
Paolo Amadini
56d700c398 Bug 1461793 - Remove the "popup-base" binding and import the "popup.css" file as a document stylesheet. r=bgrins
The new "tooltip.css" file allows styling the default tooltip, which is created as native anonymous content.

MozReview-Commit-ID: ADWsFTNPfhw

--HG--
rename : toolkit/themes/linux/global/popup.css => toolkit/themes/linux/global/tooltip.css
rename : toolkit/themes/osx/global/popup.css => toolkit/themes/osx/global/tooltip.css
rename : toolkit/themes/windows/global/popup.css => toolkit/themes/windows/global/tooltip.css
extra : rebase_source : bd79b86fb44ac0dc77d0d21fdc003105da6f43eb
extra : intermediate-source : a06a200098013d5dbc42c2431f845ca1dd8b0b76
extra : source : 4d511f7fc5b5c16fdfea91242dea6086cd57c8c3
2018-07-17 19:04:43 +01:00
Tim Nguyen
0f271c720b Bug 1474931 - Restore splitter visibility on lightweight themes. r=dao
MozReview-Commit-ID: 9FowKyw9Qgv

--HG--
extra : rebase_source : 9f491ea27c943cb97ab80ef5f72fe212739855f4
2018-07-17 14:02:31 +01:00
Paolo Amadini
36a131aadc Bug 1472716 - Part 2 - Convert the listbox in "languages.xul" to "richlistbox". r=jaws,gandalf
Support for "listbox" in preferences is also removed, in preparation for the removal of the "listbox" element and binding.

MozReview-Commit-ID: Bi2VKKi5rdk

--HG--
extra : source : 762819bac1b9efe0e939be07394bd7d293638c40
2018-07-10 15:07:15 +01:00
Paolo Amadini
7555809ad6 Bug 1470870 - Load "menu.css" as a document stylesheet. r=bgrins
The specificity of some Windows rules is reduced to match other platforms.

MozReview-Commit-ID: 28oUf7b6vCW

--HG--
extra : source : 3c131dac495ed46d524f4de2f92cfe79049aff8f
extra : intermediate-source : 7c1de225e4ab5dff9443c763ad59f5aecd72a593
2018-07-13 10:20:21 +01:00
Dão Gottwald
2b76c4ee7a Backed out changeset 953772c799a6 (bug 1470870) for causing bug 1474631
--HG--
extra : rebase_source : 5923b74ae5ff1c0916963ea8f4b5277c60bee82d
2018-07-11 15:46:39 +02:00
Cosmin Sabou
26e792fe42 Merge autoland to mozilla-central. a=merge 2018-07-11 00:50:32 +03:00
Paolo Amadini
850645e816 Bug 1474258 - Remove the "listheader" binding and move the remaining styles to "richlistbox.css". r=bgrins
The content of this element is always overridden and the "xul:button" display mode is unnecessary, so the binding can be removed. The styles that control color are moved to "richlistbox.css" in preparation for the removal of the "listbox" element.

MozReview-Commit-ID: 5pGVE6n34EL

--HG--
extra : rebase_source : 8c5e37736c92382486ac605cc2d30085c16b7de7
extra : source : 8be7c63ea5c620641816664d9be81e58a912f9f3
2018-07-09 12:45:41 +01:00
Paolo Amadini
6e680744e4 Bug 1472750 - Convert simple "listbox" instances to "richlistbox". r=bgrins
These simple lists are converted to normal layout by setting a fixed height that isn't a multiple of the row height, which is already the case for most other lists in the user interface.

MozReview-Commit-ID: 1tV4MIoRp0d

--HG--
rename : toolkit/themes/windows/global/richlistbox.css => toolkit/themes/linux/global/richlistbox.css
extra : rebase_source : d6c53aa341bc5711f6ecf16485b5bd03d4f9caf2
extra : intermediate-source : 1355778929be17234ca3ced4f9930f05fb2cf20a
extra : source : 2e4527da76bba52492353aa5a40c128b09f389f1
2018-07-09 10:38:42 +01:00
Dão Gottwald
814229b19e Bug 1473265 - Clean up print preview toolbar ids and classes. r=bgrins
MozReview-Commit-ID: ATM75qPMd0F

--HG--
extra : rebase_source : 6123537b12982c45c65e2002223d391f7326de79
2018-07-10 15:23:04 +02:00
Paolo Amadini
308bc5d01a Bug 1470870 - Load "menu.css" as a document stylesheet. r=bgrins
The specificity of some Windows rules is reduced to match other platforms.

MozReview-Commit-ID: 28oUf7b6vCW

--HG--
extra : source : 3c131dac495ed46d524f4de2f92cfe79049aff8f
2018-07-05 15:08:06 +01:00
Harry Twyford
73925a85fe Bug 1432800 - Mirror -focusring and |*button.primary:focus states. r=dao
MozReview-Commit-ID: L50ckv3NBZG

--HG--
extra : rebase_source : ddccb883dc11fa723f5816dc458a7d88fc53fcc9
2018-05-17 16:58:30 -04:00
Brian Grinstead
a51862c3ca Bug 1450813 - Create print preview toolbar as customized built-in Custom Element;r=mconley,timdream
MozReview-Commit-ID: LYlQ8xxJNA8

--HG--
rename : toolkit/components/printing/content/printPreviewBindings.xml => toolkit/components/printing/content/printPreviewToolbar.js
extra : rebase_source : 1a08be09cafd2f8f88151edf3be9ce87ee957e35
2018-07-02 13:33:09 -07:00
Ciure Andrei
28ec424f82 Backed out 1 changesets (bug 1450813) for failing browser_page_change_print_original.js CLOSED TREE
Backed out changeset ee4e2bfffe18 (bug 1450813)

--HG--
rename : toolkit/components/printing/content/printPreviewToolbar.js => toolkit/components/printing/content/printPreviewBindings.xml
2018-07-02 22:38:18 +03:00
Brian Grinstead
5a994e7f37 Bug 1450813 - Create print preview toolbar as customized built-in Custom Element;r=mconley,timdream
MozReview-Commit-ID: Ermed741SRs

--HG--
rename : toolkit/components/printing/content/printPreviewBindings.xml => toolkit/components/printing/content/printPreviewToolbar.js
extra : rebase_source : d0a4eb903de05103aeeed9810429f69088efa57f
2018-07-02 10:28:29 -07:00
Richard Marti
f95a2ea0b1 Bug 1400266 - Use SVG icons for the twisties on Linux. r=dao 2018-06-24 15:26:33 +02:00
Cosmin Sabou
f4b3baf021 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-28 13:04:23 +03:00
Paolo Amadini
3ccf86b069 Bug 1470842 - Add "widgets.css" as an author stylesheet for migrating "components.css". r=bgrins
MozReview-Commit-ID: CPJ3HcOZdIl

--HG--
extra : source : 0ebcfd12331cf052d7928f8748bdc50088a4b5e1
2018-06-27 08:02:01 +01:00
Gurzau Raul
729b75ccb4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-27 00:55:38 +03:00
Paolo Amadini
0bdbd97a2e Bug 1435688 - Part 4 - Remove the "listitem-iconic" and "listcell-iconic" bindings. r=bgrins
MozReview-Commit-ID: LKLPmes4LCC

--HG--
extra : rebase_source : 25200805272a35747a3a3ae9c47f749f62de2591
2018-06-23 21:22:26 +01:00
Paolo Amadini
437b57300f Bug 1435688 - Part 3 - Remove "listitem-iconic" from the profile selection dialog. r=bgrins
MozReview-Commit-ID: 8IWXdyP83rM

--HG--
extra : rebase_source : d646ac7fb282b470d7179722be2c56887b6e573f
2018-06-23 21:18:16 +01:00
Tim Nguyen
73ad4c957d Bug 1471542 - Remove support for tree[seltype=cell] and tree[seltype=text]. r=Paolo
MozReview-Commit-ID: BW9u3CvvP1p

--HG--
extra : rebase_source : bf0895ac41708fa62125109a480f6dd172a03798
2018-06-27 18:35:18 +01:00
Jared Wein
0568d337c0 Bug 1317581 - DateTimePicker should support high contrast mode on Windows. r=dao
Portions of the patch contributed by Tim Nguyen (ntim.bugs@gmail.com)

MozReview-Commit-ID: DEBBjcgHIyH

--HG--
extra : rebase_source : 04283a360411699c23a6acee9027fb7750c8d6eb
2018-06-25 18:10:49 +01:00
Richard Marti
891b94e2c0 Bug 1466826 - Use SVG context paint for the Windows tree twisties. r=dao 2018-06-21 19:13:20 +02:00
Xidorn Quan
846d7b5617 Bug 1463917 part 1 - Add scrollcorner to -moz-appearance so that widget can render it. r=heycam
MozReview-Commit-ID: 1Za22ifONfG

--HG--
extra : rebase_source : f68ab7acae943c633299dd422a0587b22c2ba5e9
2018-05-11 10:12:17 +10:00
Mike Conley
0d2f61830d Bug 1458375 - Remove empty binding attached to scrollbars. r=timdream
MozReview-Commit-ID: HD6OHIVIhrq

--HG--
extra : rebase_source : 7b3d137328355d4589a94649e07fb340bf92e664
2018-05-29 20:08:41 -04:00
Matthew Noorenberghe
f4b1dd23aa Bug 1466715 - Remove unimplemented -moz-appearance:window from XUL document elements on Windows and align on 'dialog' elsewhere. r=dao,emilio
Before this commit, we use `-moz-appearance: dialog;`[1] (mapping to NS_THEME_DIALOG) in global.css
on macOS for XUL root elements while on Windows[2] and Linux[3] we use `-moz-appearance: window;`
(mapping to NS_THEME_WINDOW).

From what I can tell NS_THEME_WINDOW behaves the same as NS_THEME_DIALOG on Linux[4], NS_THEME_WINDOW
doesn't do anything useful on macOS[5], and neither are implemented on Windows (bug 119737).

[1] https://dxr.mozilla.org/mozilla-central/rev/0ee6b755ab2ee6d2ab79b17cc97bd4e83424cbfc/toolkit/themes/osx/global/global.css#35
[2] https://dxr.mozilla.org/mozilla-central/rev/0ee6b755ab2ee6d2ab79b17cc97bd4e83424cbfc/toolkit/themes/windows/global/global.css#41
[3] https://dxr.mozilla.org/mozilla-central/rev/0ee6b755ab2ee6d2ab79b17cc97bd4e83424cbfc/toolkit/themes/linux/global/global.css#45
[4] All references to NS_THEME_WINDOW and NS_THEME_DIALOG seem to handle the other in the same way.
[5] https://dxr.mozilla.org/mozilla-central/search?q=regexp%3ANS_THEME_WINDOW%5Cb+path%3Acocoa&redirect=false

MozReview-Commit-ID: 6TGzDnMEY2y

--HG--
extra : rebase_source : 12338eb408a759525f1f37b308f333d043cec1c9
2018-06-10 14:54:06 -07:00
Paolo Amadini
ff86c8779d Bug 1457719 - Part 3 - Replace "autorepeatbutton" with "toolbarbutton" in the base "arrowscrollbox" binding. r=dao
This aligns the markup of the base "arrowscrollbox" binding with the "clicktoscroll" derived binding, while still keeping different event handlers.

MozReview-Commit-ID: 9eYt1kyjgP9

--HG--
extra : rebase_source : 16600f0916ac4188ceaf8dff61fb61021cc8da5a
2018-06-01 11:15:36 +01:00
Tim Nguyen
dee6470fc1 Bug 1455922 - Create shared findbar CSS across platforms. r=dao
MozReview-Commit-ID: Hv3WHysJOQX

--HG--
rename : toolkit/themes/windows/global/findBar.css => toolkit/themes/shared/findBar.inc.css
extra : rebase_source : e890a2a8704a7d143db0b63947e0d72662169d7e
2018-05-29 20:45:22 +02:00
Tim Nguyen
55008c99fa Bug 1464699 - Replace PNG places icons with SVG. r=dao
MozReview-Commit-ID: FUozHoemZAB

--HG--
extra : rebase_source : 2d3471bc1bb0dc1b2cfa85a931b17a9efcc711fe
2018-05-29 20:37:48 +02:00
Brindusan Cristian
206284937b Backed out changeset 695a087bd6ea (bug 1464699) for browser chrome failures on browser_parsable_css.js CLOSED TREE 2018-05-29 20:59:40 +03:00
Tim Nguyen
8ed7dca12b Bug 1464699 - Replace PNG places icons with SVG. r=dao
MozReview-Commit-ID: GhnVDEgq1v3

--HG--
extra : rebase_source : 59447441897d83a9918f908b6cf87b040e4f9ad6
2018-05-28 00:33:25 +02:00
Dão Gottwald
007fc77913 Bug 1462635 - Fix disabled text color in webext theme styled popups. r=ntim
MozReview-Commit-ID: myI1PNipvK

--HG--
extra : rebase_source : 6df227c1bd260dbb296e5b269e6c5c39606db386
2018-05-26 18:45:06 +02:00
Timothy Guan-tin Chien
12da0454e1 Bug 1456728 - Bind an empty binding on scrollbar r=mconley
For some reason, removing the scrollbar binding triggers
content process performance regression on Linux.

We'll add an empty binding for now until we find the real cause.

MozReview-Commit-ID: 5sonOULH1x8

--HG--
extra : rebase_source : 10d9a1577f2f36937baf65b10baf29c6e2e3a114
2018-04-27 13:27:47 -07:00
Timothy Guan-tin Chien
c594214666 Bug 1450017 - Part IX, Move resizer style rules to minimal-xul.css and unify non-native resizer style r=dao
MozReview-Commit-ID: LEodr0aTPkM

--HG--
extra : rebase_source : 92c1b404ebbe64324f63ccbe1878575ae0309604
extra : source : a56127f3a7ed207da2a160362eb1bcf01bf31522
2018-04-10 21:31:25 +08:00
Timothy Guan-tin Chien
e6a0db03b8 Bug 1450017 - Part V, Remove rtl="true" attribute from resizer r=enndeakin+6102
This patch changes the direction context the dir=bottomend/bottomstart value
from the CSS direction property value to locale dir, with the help
from :-moz-locale-dir(rtl) selector.

The change is justified because:

- In the web content, we have since rely on the nsScrollFrame to set the
  direction explicity.
- XUL window should always render in the application locale; it should be
  fine to disregard direction property set in the local document DOM teee,
  as it is unlikely to be differ than the locale dir.

This remove the one last bit of JavaScript from the resizer binding.

MozReview-Commit-ID: AweJ5GARNUE

--HG--
extra : rebase_source : 17772435a1f9cfdbc7289eb41d69e5922ffdb302
extra : source : edfba1676e4bb74e32cc987d851f7a6b12abef3b
2018-04-10 21:25:15 +08:00
Timothy Guan-tin Chien
f0799d71d0 Bug 1450017 - Part I, Package resizer-rtl.png correctly on Linux r=enndeakin+6102
It was never included in the manifest from file creation in bug 554810.

The error went undetected for 8 years, because the Linux manifest overwrites
the Windows one, and the Windows file goes to the same name (with a similar
look) gets packaged.

MozReview-Commit-ID: HXFxD0KmSYA

--HG--
extra : rebase_source : c7f7f71eacc4a251e938cc49413c0caaceedf9ee
extra : source : 36fbf38cbfec6ab7d9dab9a635046596f26560c6
2018-04-11 09:41:02 +08: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
Tim Nguyen
92c9a958e1 Bug 1372694 - Stop making the default theme a heavyweight theme. r=kmag,aswan
MozReview-Commit-ID: 30wMauuc9oo

--HG--
rename : browser/base/content/default-theme-icon.svg => toolkit/mozapps/extensions/content/default-theme-icon.svg
extra : rebase_source : 5e4cf784135f4a8e40a2ed8357ba651e7fce9728
2018-04-01 13:53:31 +02:00
Paolo Amadini
1c8a193ac6 Bug 1452624 - Part 2 - Remove the "filefield" binding. r=bgrins
MozReview-Commit-ID: GQRrmvIna4m

--HG--
extra : rebase_source : bd91518f591d3c671ec9237b9601773f7b72370c
2018-04-12 11:45:48 +01:00
Bogdan Pozderca
b7044b1ab1 Bug 1418605 - The toolbar, toolbar_text, toolbar_field, toolbar_field_text, toolbar_field_border properties should apply to the findbar r=jaws,mconley,ntim
MozReview-Commit-ID: 821d7kR41mJ

--HG--
extra : rebase_source : d0f6e9308b261806a014fcc834c753f3a892fbbc
2018-02-10 17:24:50 -05:00
Dorel Luca
8ee8fc461e Backed out 2 changesets (bug 1317581) for Browser chrome failures on toolkit/components/extensions/test/browser/browser_ext_themes_arrowpanels.js. CLOSED TREE
Backed out changeset 5cc146254899 (bug 1317581)
Backed out changeset 963466173a74 (bug 1317581)
2018-04-18 18:54:38 +03:00
Jared Wein
7ee1860850 Bug 1317581 - DateTimePicker should support high contrast mode on Windows. r=dao
MozReview-Commit-ID: DEBBjcgHIyH

--HG--
extra : rebase_source : 9b52b15a0af9a56ad724dd578884856d4d5e7e20
2018-03-22 13:01:28 -04:00
Andrew Swan
68d8f5e967 Bug 1331521 Remove about:newaddon r=kmag
MozReview-Commit-ID: 6OFXGYEmSmy

--HG--
extra : rebase_source : 80ee72c190a2b2d06b895ad5bda22cc9b5849b01
2018-04-16 14:11:10 -07:00
Dão Gottwald
8b23aaae8b Bug 1453281 - Remove obsolete menubar binding and styling. r=bgrins,Paolo
MozReview-Commit-ID: Kao3jst0DBJ

--HG--
extra : rebase_source : bed74abc9910ec22295207fdced37f6bfc1648be
2018-04-11 17:29:27 +02:00
Tim Nguyen
1d19015df5 Bug 1437302 - Fix width of textbox[type=number] consumers. r=Paolo, Neil Deakin
--HG--
rename : toolkit/themes/linux/global/numberbox.css => toolkit/themes/shared/numberbox.inc.css
extra : amend_source : d9161dc8d21b958488b7304849a5e8c164f660bb
2018-03-26 14:34:39 +02:00
Manish Kumar
ded1566056 Bug 1451708 - Clean up unused legacy customization mode CSS and images. r=Dao 2018-04-05 15:56:27 +02:00