mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Move represents_keyword to the css attributes.
Bug: 1457635 Reviewed-by: xidorn MozReview-Commit-ID: 21yuU4h34AQ
This commit is contained in:
parent
a375baf84b
commit
c508d8576d
8 changed files with 24 additions and 69 deletions
|
@ -56,8 +56,6 @@ pub type KeywordsCollectFn<'a> = &'a mut FnMut(&[&'static str]);
|
|||
/// * `#[value_info(starts_with_keyword)]` can be used on variants to
|
||||
/// add the name of a non-unit variant (serialized like `ToCss`) into
|
||||
/// `collect_completion_keywords`.
|
||||
/// * `#[value_info(represents_keyword)]` can be used on fields into
|
||||
/// `collect_completion_keywords`.
|
||||
pub trait SpecifiedValueInfo {
|
||||
/// Supported CssTypes by the given value type.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue