Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stylo: Implement gecko glue for font-language-override.
To be aligned with the implementation from Gecko side, we parse font-language-override as Normal keyword or String. Then, we compute and store it as a u32. So, as to the stylo glue, we can just pass the u32 to Gecko. The extra crate, byteorder, is used to simplify the computing and serialization. Since we now implement font-language-override for Gecko, we can remove the additional branches for font-language-override in font shorthand. ref: Gecko Bug 1347821
- Loading branch information
1 parent
9eb6bb7
commit a9e4b9c
Showing
6 changed files
with
103 additions
and
39 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters