[csswg-drafts] [css-fonts] Should font-synthesis be reset by font shorthand?

upsuper has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-fonts] Should font-synthesis be reset by font shorthand? ==
The spec doesn't mention `font-synthesis` as a subproperty of `font` 
shorthand, but given its name, it probably should be.

Gecko resets `font-synthesis` when setting `font`, while WebKit 
doesn't.

Test code:
```html
<!DOCTYPE html>
<div style="font-synthesis: style; font: 14px sans-serif;"></div>
<script>
  alert(document.querySelector('div').style.fontSynthesis);
</script>
```

cc @nattokirai @litherum 

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1032 using your GitHub 
account

Received on Tuesday, 14 February 2017 04:45:25 UTC