-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Implement parsing/serialization for -webkit-text-stroke property #13849
Comments
Please make a comment here if you intend to work on this issue. Thank you! |
I'd like to try this one. |
Go ahead! |
@Manishearth I have a a few questions about implementing |
You don't need to implement color, it already exists as a type, like Length. See how backgroubd-color in background.mako.rs does it. |
@Manishearth I'd like to make sure that I'm implementing this correctly. I have
In |
I'm sorry. I just realized that this is a shorthand, not a longhand, and we won't need this implemented till the longhands are. Feel free to pick up a different open bug. |
Hi @Manishearth, I'm wondering maybe we could implement both shorthand and longhand in this issue, if we do want this property eventually. |
Yes, feel free to implement both! |
Hi @AgostonSzepessy, are you still planning to work on this? |
@chenpighead No, you can take this issue if you want. |
Ok, thanks. I'll start to work on this next week. |
I've finished the parsing/serialization part. Will continue to work on gecko glue and feature verification on Stylo. |
Well, you can open a PR (with a note of WIP at the top) :) |
@wafflespeanut, thank you for the pointer. I'll use WIP note next time. :) |
stylo - implement -webkit-text-fill-color and -webkit-text-stroke. <!-- Please describe your changes on the following line: --> Implement -webkit-text-fill-color property. Implement -webkit-text-stroke property, along with -webkit-text-stroke-width and -webkit-text-stroke-color longhand properties. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #13849 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14358) <!-- Reviewable:end -->
https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-text-stroke
The grammar is
<integer> <color>
, which means that it must be an integer followed by a color.See https://github.com/servo/servo/wiki/Property-hacking-guide for instructions on how to work on such bugs. This bug requires familiarity with Rust.
File: https://github.com/servo/servo/blob/master/components/style/properties/longhand/inherited_text.mako.rs
The text was updated successfully, but these errors were encountered: