Open
Bug 1450904
Opened 7 years ago
Updated 3 years ago
FontFace::mDescriptors should hold just descriptors data rather than @font-face rule
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Core
CSS Parsing and Computation
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox61 | --- | affected |
People
(Reporter: xidorn, Unassigned)
References
Details
After bug 1449087, FontFace::mDescriptors will be holding a RawServoFontFaceRule, while we should be able to have it just hold the descriptors data.
We should probably have a new struct in Servo side for just the descriptors, something like FontFaceData, and have FontFaceRule contain it. Then we can make FontFace::mDescriptors use a UniquePtr to hold that data.
Reporter | ||
Comment 1•7 years ago
|
||
Also, with this, we can move the definition of FontFaceRule from style::font_face into style::stylesheets::font_face_rule, and leave the FontFaceData in style::font_face. That would also make things clearer.
Updated•7 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•