mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Auto merge of #20138 - emilio:longhand-iterator, r=nox
style: Only expose longhands to rust via iterators. The key here is that we only filter longhands if the shorthand is accessible to content and vice-versa. This prevents the bug that prevented me to land this patch before, which was us not expanding properly chrome-only shorthands. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20138) <!-- Reviewable:end -->
This commit is contained in:
commit
a0be3a7fae
17 changed files with 130 additions and 90 deletions
|
@ -927,7 +927,7 @@ pub extern "C" fn Servo_ComputedValues_ExtractAnimationValue(
|
|||
Err(()) => return Strong::null(),
|
||||
};
|
||||
|
||||
match AnimationValue::from_computed_values(&property, &computed_values) {
|
||||
match AnimationValue::from_computed_values(property, &computed_values) {
|
||||
Some(v) => Arc::new(v).into_strong(),
|
||||
None => Strong::null(),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue