зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #18508 - style: Add system colors from bug 1387594
(from mstange:add-fsbgc-system-colors); r=emilio
<!-- Please describe your changes on the following line: --> These are the necessary servo changes for https://bugzilla.mozilla.org/show_bug.cgi?id=1387594 . I'm also re-importing the generated Gecko bindings from my object directory: - servo/components/style/gecko/generated/structs_debug.rs - servo/components/style/gecko/generated/structs_release.rs But the number of changes to those files surprises me. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because they're tested by compiling mozilla-central once the patches from https://bugzilla.mozilla.org/show_bug.cgi?id=1387594 land - without this patch, Firefox won't compile. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 28b1c3818f81f593e691ded1109cfaab829825ae --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 2934de139097f1426e76fe4775a852f67fc9abbe
This commit is contained in:
Родитель
617da36cf0
Коммит
1ab17d08e0
|
@ -1798,6 +1798,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_only: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms9onmessageE"]
|
||||
pub static nsGkAtoms_onmessage: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms14onmessageerrorE"]
|
||||
pub static nsGkAtoms_onmessageerror: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms11onmousedownE"]
|
||||
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
|
||||
#[link_name = "_ZN9nsGkAtoms12onmouseenterE"]
|
||||
|
@ -6961,6 +6963,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_only: *mut nsIAtom;
|
||||
#[link_name = "?onmessage@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_onmessage: *mut nsIAtom;
|
||||
#[link_name = "?onmessageerror@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_onmessageerror: *mut nsIAtom;
|
||||
#[link_name = "?onmousedown@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
|
||||
#[link_name = "?onmouseenter@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||
|
@ -12124,6 +12128,8 @@ cfg_if! {
|
|||
pub static nsGkAtoms_only: *mut nsIAtom;
|
||||
#[link_name = "\x01?onmessage@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_onmessage: *mut nsIAtom;
|
||||
#[link_name = "\x01?onmessageerror@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_onmessageerror: *mut nsIAtom;
|
||||
#[link_name = "\x01?onmousedown@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
|
||||
#[link_name = "\x01?onmouseenter@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||
|
@ -17290,6 +17296,8 @@ macro_rules! atom {
|
|||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_only as *mut _) } };
|
||||
("onmessage") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessage as *mut _) } };
|
||||
("onmessageerror") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessageerror as *mut _) } };
|
||||
("onmousedown") =>
|
||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmousedown as *mut _) } };
|
||||
("onmouseenter") =>
|
||||
|
|
|
@ -2956,6 +2956,10 @@ extern "C" {
|
|||
snapshots:
|
||||
*const ServoElementSnapshotTable);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_HasPendingRestyleAncestor(element: RawGeckoElementBorrowed)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CreateCSSErrorReporter(sheet: *mut ServoStyleSheet,
|
||||
loader: *mut Loader, uri: *mut nsIURI)
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -40,6 +40,10 @@ pub mod system_colors {
|
|||
-moz-mac-defaultbuttontext -moz-mac-focusring -moz-mac-menuselect
|
||||
-moz-mac-menushadow -moz-mac-menutextdisable -moz-mac-menutextselect
|
||||
-moz-mac-disabledtoolbartext -moz-mac-secondaryhighlight
|
||||
-moz-mac-vibrancy-light -moz-mac-vibrancy-dark -moz-mac-menupopup
|
||||
-moz-mac-menuitem -moz-mac-active-menuitem -moz-mac-source-list
|
||||
-moz-mac-source-list-selection -moz-mac-active-source-list-selection
|
||||
-moz-mac-tooltip
|
||||
-moz-menuhover -moz-menuhovertext -moz-menubartext -moz-menubarhovertext
|
||||
-moz-oddtreerow -moz-win-mediatext -moz-win-communicationstext
|
||||
-moz-win-accentcolor -moz-win-accentcolortext
|
||||
|
|
Загрузка…
Ссылка в новой задаче