Repository navigation
Move text-emphasis-position outside of mako - #20495
Conversation
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @emilio (or someone else) soon. |
|
Heads up! This PR modifies the following files:
|
|
Error syncing changes upstream. Logs saved in error-snapshot-1522554950674. |
|
Error syncing changes upstream. Logs saved in error-snapshot-1522555399457. |
41ab3b6 to
6cfd495
Compare
emilio
left a comment
There was a problem hiding this comment.
looks great! r=me with the nits addressed, thank you!
| } | ||
|
|
||
| impl Parse for TextEmphasisPosition { | ||
| fn parse<'i, 't>(_context: &ParserContext, input: &mut Parser<'i, 't>) |
There was a problem hiding this comment.
nit: indentation here looks weird, maybe:
fn parse<'i, 't>(
_context: &ParserContext,
input: &mut Parser<'i, 't>,
) -> Result<Self, ParseError<'i>> {| /// Specified value of `text-emphasis-style` property. | ||
| #[derive(Clone, Debug, MallocSizeOf, PartialEq, ToComputedValue, ToCss)] | ||
| pub struct TextEmphasisPosition( | ||
| pub TextEmphasisHorizontalWritingModeValue, pub TextEmphasisVerticalWritingModeValue |
There was a problem hiding this comment.
nit: I'd put each member in its own line here.
| } | ||
| } | ||
|
|
||
|
|
|
@bors-servo r=emilio |
|
@LiHaoTan: 🔑 Insufficient privileges: Not in reviewers |
|
@bors-servo r+ Thanks again! |
|
📌 Commit e151756 has been approved by |
Move `text-emphasis-position` outside of mako <!-- Please describe your changes on the following line: --> --- <!-- 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` and `./mach build-geckolib` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fixes #19961 - [X] These changes do not require tests because this is refactoring. ~Just as a sanity check I ran `./mach test-wpt tests/wpt/web-platform-tests/css/css-text-decor/text-emphasis-position-above-left-001.xht` though I'm not sure if I'm correct since we are also building for `geckolib`. I guess the buildbot will make sure to run all the relevant tests anyway.~ I guess Travis and AppVeyor will run the web platform tests before the buildbot run all the tests later on. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/20495) <!-- Reviewable:end -->
|
@emilio sorry I realized I made some mistakes in the documentation, can you review again? |
|
Sure, last commit looks good, mind squashing all into one? Thanks! |
c095166 to
8d5a2a9
Compare
|
Done, sorry about that. |
|
@bors-servo r+ |
|
📌 Commit 8d5a2a9 has been approved by |
Move `text-emphasis-position` outside of mako <!-- Please describe your changes on the following line: --> --- <!-- 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` and `./mach build-geckolib` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fixes #19961 - [X] These changes do not require tests because this is refactoring. ~Just as a sanity check I ran `./mach test-wpt tests/wpt/web-platform-tests/css/css-text-decor/text-emphasis-position-above-left-001.xht` though I'm not sure if I'm correct since we are also building for `geckolib`. I guess the buildbot will make sure to run all the relevant tests anyway.~ I guess Travis and AppVeyor will run the web platform tests before the buildbot run all the tests later on. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/20495) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
./mach build -dand./mach build-geckolibdoes not report any errors./mach test-tidydoes not report any errorsThese changes fixes Move
text-emphasis-positionoutside of mako #19961These changes do not require tests because this is refactoring.
Just as a sanity check I ranI guess Travis and AppVeyor will run the web platform tests before the buildbot run all the tests later on../mach test-wpt tests/wpt/web-platform-tests/css/css-text-decor/text-emphasis-position-above-left-001.xhtthough I'm not sure if I'm correct since we are also building forgeckolib. I guess the buildbot will make sure to run all the relevant tests anyway.This change is