mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Use Servo data to back @font-face rule in Gecko.
This commit is contained in:
parent
0332674909
commit
ac7467221a
10 changed files with 461 additions and 528 deletions
|
@ -306,8 +306,7 @@ impl DeepCloneWithLock for CssRule {
|
|||
},
|
||||
CssRule::FontFace(ref arc) => {
|
||||
let rule = arc.read_with(guard);
|
||||
CssRule::FontFace(Arc::new(lock.wrap(
|
||||
rule.clone_conditionally_gecko_or_servo())))
|
||||
CssRule::FontFace(Arc::new(lock.wrap(rule.clone())))
|
||||
},
|
||||
CssRule::FontFeatureValues(ref arc) => {
|
||||
let rule = arc.read_with(guard);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue