mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Add a pref checking mechanism for alias properties
This commit is contained in:
parent
4d10d39e8f
commit
6893446b71
9 changed files with 161 additions and 44 deletions
|
@ -3505,7 +3505,7 @@ fn static_assert() {
|
|||
Gecko_AppendWillChange(&mut self.gecko, feature.0.as_ptr());
|
||||
}
|
||||
|
||||
if let Ok(prop_id) = PropertyId::parse(&feature.0.to_string()) {
|
||||
if let Ok(prop_id) = PropertyId::parse(&feature.0.to_string(), None) {
|
||||
match prop_id.as_shorthand() {
|
||||
Ok(shorthand) => {
|
||||
for longhand in shorthand.longhands() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue