Attempt using version of Stylo with -x-lang enabled (#31737)

* Attempt using version of Stylo with -x-lang enabled

Signed-off-by: Rhea Karty <rheakarty@gmail.com>

* Added x-lang to initializer list to address failing tests.

Signed-off-by: Rhea Karty <rheakarty@gmail.com>

* Fix formatting (sorry)

Signed-off-by: Rhea Karty <rheakarty@gmail.com>

* Revert changes in Cargo.toml, update Cargo.lock.

Signed-off-by: Rhea Karty <rheakarty@gmail.com>

* Removed .git suffix from Stylo

Signed-off-by: Rhea Karty <rheakarty@gmail.com>

---------

Signed-off-by: Rhea Karty <rheakarty@gmail.com>
This commit is contained in:
Rhea-Eve 2024-03-20 14:52:06 -04:00 committed by GitHub
parent 058319aa0b
commit b3dc5c6958
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 14 deletions

View file

@ -25,7 +25,7 @@ use style::values::computed::font::{
FamilyName, FontFamily, FontFamilyList, FontFamilyNameSyntax, FontSize, FontStretch, FontStyle,
FontWeight, SingleFontFamily,
};
use style::values::computed::FontLanguageOverride;
use style::values::computed::{FontLanguageOverride, XLang};
use webrender_api::{FontInstanceKey, FontKey, IdNamespace};
struct TestFontSource {
@ -112,6 +112,7 @@ fn style() -> FontStyleStruct {
font_stretch: FontStretch::hundred(),
hash: 0,
font_language_override: FontLanguageOverride::normal(),
_x_lang: XLang::get_initial_value(),
};
style.compute_font_hash();
style