mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Miscellaneous build / tidy fixes.
This commit is contained in:
parent
5158f65810
commit
31e8e418ea
66 changed files with 566 additions and 294 deletions
|
@ -134,6 +134,23 @@ macro_rules! profiler_label {
|
|||
($label_type:ident) => {};
|
||||
}
|
||||
|
||||
#[cfg(feature = "servo")]
|
||||
macro_rules! local_name {
|
||||
($s:tt) => {
|
||||
$crate::values::GenericAtomIdent(html5ever::local_name!($s))
|
||||
};
|
||||
}
|
||||
|
||||
#[cfg(feature = "servo")]
|
||||
macro_rules! ns {
|
||||
() => {
|
||||
$crate::values::GenericAtomIdent(html5ever::ns!())
|
||||
};
|
||||
($s:tt) => {
|
||||
$crate::values::GenericAtomIdent(html5ever::ns!($s))
|
||||
};
|
||||
}
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
macro_rules! local_name {
|
||||
($s:tt) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue