Re: [csswg-drafts] [css-fonts][cssom] Serialization of font properties when system font is specified

In hindsight (and I think I may have said this in one of the stylo discussions about system fonts) I think the mistake I made in the Gecko design I did in [bug 377947]( in 2007 was having the `-internal-system-font` property.  Instead of expanding `font: menu` into `-internal-system-font: menu; font-family: -moz-use-system-font; font-size: -moz-use-system-font; ...` I should have just done `font-family: system-font(menu); font-size: system-font(menu); ...`.

In fact, failing to do so is technically buggy since it doesn't correctly support:
parent { font: menu }
child { font: icon; font-size: inherit }

GitHub Notification of comment by dbaron
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 10 January 2018 02:31:29 UTC