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
Enable the internal -x-lang CSS property #31723
Comments
cc @emilio |
@servo-highfive assign me |
Hey @MunishMummadi! Thanks for your interest in working on this issue. It's now assigned to you! |
Hello @Loirooriol, I encountered an error while trying to build:
I'm wondering if I've missed something. I added the necessary local paths of my stylo repo to ${helpers.predefined_type(
"-x-lang",
"XLang",
engines="gecko",
initial_value="computed::XLang::get_initial_value()",
animation_value_type="none",
enabled_in="servo",
has_effect_on_gecko_scrollbars=False,
spec="Internal (not web-exposed)",
)} I greatly appreciate your time and would be grateful for any guidance you could provide. |
I think you have to replace |
Thanks for input @sandeepB3 . I will consider your suggestions and I will try to modify them. |
This is part of the Outreachy project, so please don't work on this one yet. Thank you! |
Opened PR for step 7. See mentions above. |
@MunishMummadi The |
@mrobinson I am an outreachy applicant. @Loirooriol I did the things and everything is working fine. Can I push a PR. |
@Rhea-Eve Thank you for working on an issue assigned to me. I literally sat overnight and failed. |
@MunishMummadi Martin meant to defer the bulk of the Outreachy project work for the actual internship after the contribution phase. But for something small like this I guess it's fine to do it now. Anyways you were assigned first but @Rhea-Eve already posted the PRs, so maybe one of you can land the Stylo patch and the other the Servo patch? |
Sorry! @Loirooriol linked me to this issue on Zulip, and I misread Martin's comment to say that this was now open for others. Would be happy to work with you on this. Let me know if you have any questions about my code. :). |
@Loirooriol thanks for the suggestion. Hey @Rhea-Eve can we discuss the details over Zulip. I can't find you in Zulip. can you ping me there!!! |
@MunishMummadi How about you do the Stylo PR? As this seems to be the part that you have already started on. Then after that gets merged, I can update the PR for Servo. If you need help with fixing the issues in your PR, you can look at the Stylo PR I did (servo/stylo#23). |
@Rhea-Eve Thanks for the heads up. I will be on it. |
hey @Rhea-Eve . I made the PR based on your suggestion. can u review it. |
@MunishMummadi it seems like Oriol requested some changes. Once you make those, it looks good. |
The behavior of
text-transform
can be affected by the language of the text, e.g.Therefore, we need some way to track the language.
Gecko uses an internal
-x-lang
CSS property for that, so it seems a good idea to do the same (especially since we use the same style engine).To do that,
-x-lang
not just forgecko
but alsoservo
.https://github.com/servo/stylo/blob/7dd884031d6b97d801d50f8fcdff69bbeb292ae0/style/properties/longhands/font.mako.rs#L257-L266
cargo build --features servo
to ensure it builds fineCargo.toml
to take the various style-related crates from your PR. Compile, this will automatically updateCargo.lock
. See 871e36f for reference.-x-lang
is an internal property, so I don't expect any test to complain.Cargo.toml
, but bumpingCargo.lock
to point to the new upstream rev. See 0935bf5 for reference.The text was updated successfully, but these errors were encountered: