mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Support image-set in the content property
Differential Revision: https://phabricator.services.mozilla.com/D107397
This commit is contained in:
parent
5c3be71f25
commit
4cee8cf937
3 changed files with 32 additions and 16 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
//! Computed values for counter properties
|
||||
|
||||
use crate::values::computed::url::ComputedImageUrl;
|
||||
use crate::values::computed::image::Image;
|
||||
use crate::values::generics::counters as generics;
|
||||
use crate::values::generics::counters::CounterIncrement as GenericCounterIncrement;
|
||||
use crate::values::generics::counters::CounterSetOrReset as GenericCounterSetOrReset;
|
||||
|
@ -16,7 +16,7 @@ pub type CounterIncrement = GenericCounterIncrement<i32>;
|
|||
pub type CounterSetOrReset = GenericCounterSetOrReset<i32>;
|
||||
|
||||
/// A computed value for the `content` property.
|
||||
pub type Content = generics::GenericContent<ComputedImageUrl>;
|
||||
pub type Content = generics::GenericContent<Image>;
|
||||
|
||||
/// A computed content item.
|
||||
pub type ContentItem = generics::GenericContentItem<ComputedImageUrl>;
|
||||
pub type ContentItem = generics::GenericContentItem<Image>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue