mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Move font-variant-east-asian outside of mako
This commit is contained in:
parent
c18417db5e
commit
c110c8a131
7 changed files with 270 additions and 148 deletions
|
@ -4,6 +4,16 @@
|
|||
|
||||
//! Various macro helpers.
|
||||
|
||||
macro_rules! exclusive_value {
|
||||
(($value:ident, $set:expr) => $ident:path) => {
|
||||
if $value.intersects($set) {
|
||||
return Err(())
|
||||
} else {
|
||||
$ident
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
macro_rules! trivial_to_computed_value {
|
||||
($name:ty) => {
|
||||
impl $crate::values::computed::ToComputedValue for $name {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue