mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move CSS content property from Box to Counters
This commit is contained in:
parent
8c8090b5cd
commit
841aef06e0
3 changed files with 4 additions and 4 deletions
|
@ -1034,7 +1034,7 @@ impl<'ln> ThreadSafeLayoutNode for ServoThreadSafeLayoutNode<'ln> {
|
|||
data.per_pseudo.get(&PseudoElement::After).unwrap()
|
||||
};
|
||||
|
||||
return match style.as_ref().get_box().content {
|
||||
return match style.as_ref().get_counters().content {
|
||||
content::T::Content(ref value) if !value.is_empty() => {
|
||||
TextContent::GeneratedContent((*value).clone())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue