Skip to content

style: Move -moz-script-size-multiplier outside of mako - #19339

Merged
bors-servo merged 1 commit into
servo:masterfrom
CYBAI:moz-script-size-multiplier-out-of-mako
Nov 23, 2017
Merged

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

Conversation

@CYBAI

@CYBAI CYBAI commented Nov 22, 2017 •

Copy link
Copy Markdown
Member

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



This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @bholley: components/style/properties/gecko.mako.rs, ports/geckolib/glue.rs, components/style/values/specified/font.rs, components/style/values/specified/mod.rs, components/style/values/computed/mod.rs and 2 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, ports/geckolib/glue.rs, components/style/values/specified/font.rs, components/style/values/specified/mod.rs, components/style/values/computed/mod.rs and 2 more

@highfive

Copy link
Copy Markdown

warning Warning warning

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

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

@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 good, with that nit. Thanks a lot!

use values::specified::length::{AU_PER_PT, AU_PER_PX, FontBaseSize};

const DEFAULT_SCRIPT_MIN_SIZE_PT: u32 = 8;
const NS_MATHML_DEFAULT_SCRIPT_SIZE_MULTIPLIER: f64 = 0.71;

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 remove the NS_MATHML_ prefix

@CYBAI
CYBAI force-pushed the moz-script-size-multiplier-out-of-mako branch from d6c705b to d8448e7 Compare November 23, 2017 01:18
@CYBAI
CYBAI force-pushed the moz-script-size-multiplier-out-of-mako branch from d8448e7 to 20cfefb Compare November 23, 2017 02:27
@CYBAI

CYBAI commented Nov 23, 2017 •

Copy link
Copy Markdown
Member Author

Hmm... it failed with ./mach test-compiletest in Travis.
Maybe I need to rebase again after #19346 merged.

@KiChjang

Copy link
Copy Markdown
Contributor

@CYBAI Not to worry, passing TravisCI is not necessary to land your PR; as long as Homu thinks it's ok, you're good.

@emilio

emilio commented Nov 23, 2017

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 20cfefb 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 23, 2017
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 20cfefb with merge ac57691...

bors-servo pushed a commit that referenced this pull request Nov 23, 2017
…r=emilio

style: Move -moz-script-size-multiplier 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 #19333
- [x] These changes do not require tests

<!-- 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/19339)
<!-- Reviewable:end -->
@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 ac57691 to master...

@bors-servo
bors-servo merged commit 20cfefb into servo:master Nov 23, 2017
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 23, 2017
@CYBAI
CYBAI deleted the moz-script-size-multiplier-out-of-mako branch November 23, 2017 15:10
@CYBAI

CYBAI commented Nov 23, 2017

Copy link
Copy Markdown
Member Author

@KiChjang Thanks for informing me! Glad to see this PR merged! 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move -moz-script-size-multiplier outside of mako.

5 participants