Skip to content

Commit fbace48

Browse files
committed
Bug 1980373 - Reject @font-face's size-adjust descriptor on Servo. r=firefox-style-system-reviewers,dshin
This is a fixup for D258800, which removed the flag that was gatekeeping this descriptor (layout.css.size-adjust.enabled). This change keeps rejecting it on Servo, since it's not implemented. Differential Revision: https://phabricator.services.mozilla.com/D259399
1 parent 4e249a8 commit fbace48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

style/font_face.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,9 @@ macro_rules! is_descriptor_enabled {
576576
("font-variation-settings") => {
577577
static_prefs::pref!("layout.css.font-variations.enabled")
578578
};
579+
("size-adjust") => {
580+
cfg!(feature = "gecko")
581+
};
579582
($name:tt) => {
580583
true
581584
};

0 commit comments

Comments
 (0)