mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Move some parsing-only attributes to use #[parse(..)] instead of #[css(..)].
I need to admit I'm ambivalent about this one :). Bug: 1466609 Reviewed-by: xidorn MozReview-Commit-ID: F1jlfnQKXwo
This commit is contained in:
parent
8821ad72f4
commit
2c0a19e517
8 changed files with 39 additions and 29 deletions
|
@ -43,7 +43,7 @@ pub type KeywordsCollectFn<'a> = &'a mut FnMut(&[&'static str]);
|
|||
/// name is listed in `collect_completion_keywords`.
|
||||
/// * If `#[css(skip)]` is found, the content inside the variant or
|
||||
/// field is ignored.
|
||||
/// * Values listed in `#[css(if_empty)]`, `#[css(aliases)]`, and
|
||||
/// * Values listed in `#[css(if_empty)]`, `#[parse(aliases)]`, and
|
||||
/// `#[css(keyword)]` are added into `collect_completion_keywords`.
|
||||
///
|
||||
/// In addition to `css` attributes, it also has `value_info` helper
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue