[css-houdini-drafts] [CSS Typed OM]

nainar has just created a new issue for 
https://github.com/w3c/css-houdini-drafts:

== [CSS Typed OM] ==
In the case of CSSFontFaceValue objects, shouldn't the have a member 
that stores the source as well?

For eg in the case:

@font-face {
      font-family: "XYZ";
      src: 
url("https://mdn.mozillademos.org/files/2468/VeraSeBd.ttf");
    }

I am assuming the specified member fontFaceName stores the string 
"XYZ" and we will need to store the source in another 
member.Potentially in a CSSFontFaceSrcValue which inherits from 
CSSFontFaceValue? This can deal with the case where it is specified as
 a url or as a local value 

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

Received on Monday, 12 September 2016 06:05:16 UTC