Open Bug 1451178 Opened 7 years ago Updated 2 years ago

Remove the intermediate nsCSSValue conversion for FontFaceRule and CounterStyleRule

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox61 --- affected

People

(Reporter: xidorn, Unassigned)

References

Details

In bug 1449068 and bug 1449087, we are moving those rules to be backed by the Servo side data struct. To minimize the changes there so that we can unblock other works as soon as possible, I'm only doing conservative changes that converting values to nsCSSValue to feed Gecko is not changed. But that may have some performance impact since nsCSSValue conversion can be expensive for some data. Also having to convert Rust data to nsCSSValue just for converting them to final form actually consumed by Gecko code seems to be wasteful. We should remove the nsCSSValue intermediate layer and try to have Gecko code fetch needed data from Servo side directly.
Depends on: stylo-everywhere
Priority: -- → P3
Just realized I'm doing the font face part of this in bug 1496486
Depends on: 1496486
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.