Skip to content

style: Move font -moz-script-level outside of mako - #19101

Merged
bors-servo merged 1 commit into
servo:masterfrom
CYBAI:moz-script-level-out-of-mako
Nov 3, 2017
Merged

bors-servo merged 1 commit into
servo:masterfrom
CYBAI:moz-script-level-out-of-mako

Conversation

@CYBAI

@CYBAI CYBAI commented Nov 2, 2017 •

Copy link
Copy Markdown
Member

This is a sub-PR of #19015
r? emilio


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Move -moz-script-level outside of mako. #19068 (github issue number if applicable).
  • These changes do not require tests because _____

This change is Reviewable

@highfive

highfive commented Nov 2, 2017

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @bholley: components/style/properties/gecko.mako.rs, components/style/values/specified/font.rs, components/style/values/specified/mod.rs, components/style/values/computed/mod.rs, components/style/values/computed/font.rs and 1 more
  • @canaltinova: components/style/properties/gecko.mako.rs, components/style/values/specified/font.rs, components/style/values/specified/mod.rs, components/style/values/computed/mod.rs, components/style/values/computed/font.rs and 1 more
  • @emilio: components/style/properties/gecko.mako.rs, components/style/values/specified/font.rs, components/style/values/specified/mod.rs, components/style/values/computed/mod.rs, components/style/values/computed/font.rs and 1 more

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 2, 2017
@highfive

highfive commented Nov 2, 2017

Copy link
Copy Markdown

warning Warning warning

  • These commits modify style code, but no tests are modified. Please consider adding a test!

@emilio emilio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just some nits, thanks a lot for working on this!

self.copy__x_lang_from(other)
}

${impl_simple("_moz_script_level", "mScriptLevel")}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? I think it may not be, given the gecko_ffi_name in the predefined_type call.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think this is necessary for set__moz_script_level, reset__moz_script_level and copy__moz_script_level methods.
I tried to remove this line but it will throw the errors about no method names of above methods.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, ok then.

}
}

/// Make type alias with `i8`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change this comment to say: /// The computed value of the -moz-script-level property..

@CYBAI
CYBAI force-pushed the moz-script-level-out-of-mako branch from 5afc5e9 to d316c55 Compare November 3, 2017 01:49
@emilio

emilio commented Nov 3, 2017

Copy link
Copy Markdown
Member

@bors-servo r+

Thanks again @CYBAI! :)

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit d316c55 has been approved by emilio

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Nov 3, 2017
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit d316c55 with merge 107ead6...

bors-servo pushed a commit that referenced this pull request Nov 3, 2017
style: Move font -moz-script-level outside of mako

This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19068 (github issue number if applicable).
- [x] These changes do not require tests because _____

<!-- 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/19101)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel-css

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Nov 3, 2017
@jdm

jdm commented Nov 3, 2017

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, arm32, arm64, linux-dev, 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 are reusable. Rebuilding only linux-rel-css...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ 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
Approved by: emilio
Pushing 107ead6 to master...

@bors-servo
bors-servo merged commit d316c55 into servo:master Nov 3, 2017
@CYBAI
CYBAI deleted the moz-script-level-out-of-mako branch November 3, 2017 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move -moz-script-level outside of mako.

5 participants