-
Notifications
You must be signed in to change notification settings - Fork 142
[CSS Typed OM] CSSFontFaceValue objects can't store source value #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
@tabatkins @bfgeek how important is this for L1? |
Why can't we just expose the string? |
that would be fine. But do we need it for L1? |
I mean, do we need any of the descriptors from |
We're going to track this stuff in #405. The whole design of CSSFontFaceValue needs to be reconsidered. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: