Skip to content
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

Fix serialization of font-feature-settings #16853

Merged

Conversation

upsuper
Copy link
Contributor

@upsuper upsuper commented May 13, 2017

This change is Reviewable

@highfive
Copy link

Heads up! This PR modifies the following files:

  • @bholley: components/style/properties/longhand/font.mako.rs
  • @emilio: components/style/properties/longhand/font.mako.rs

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 13, 2017
@highfive
Copy link

warning Warning warning

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

@upsuper
Copy link
Contributor Author

upsuper commented May 13, 2017

r? @emilio

@highfive highfive assigned emilio and unassigned KiChjang May 13, 2017
Copy link
Member

@emilio emilio left a comment

Choose a reason for hiding this comment

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

r=me, with or without that bit.

0 => write!(dest, "\"{}\" off",str_print),
x => write!(dest, "\"{}\" {}", str_print, x)
1 => Ok(()),
0 => write!(dest, " off"),
Copy link
Member

Choose a reason for hiding this comment

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

dest.write_str("off") instead may be slightly more efficient.

@upsuper upsuper force-pushed the font-feature-settings-serialization branch from c55ff4c to 7d37804 Compare May 14, 2017 00:52
@upsuper
Copy link
Contributor Author

upsuper commented May 14, 2017

@bors-servo r=emilio

@bors-servo
Copy link
Contributor

📌 Commit 7d37804 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 May 14, 2017
@bors-servo
Copy link
Contributor

⌛ Testing commit 7d37804 with merge dab2df3...

bors-servo pushed a commit that referenced this pull request May 14, 2017
…=emilio

Fix serialization of font-feature-settings

<!-- 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/16853)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev
Approved by: emilio
Pushing dab2df3 to master...

@bors-servo bors-servo merged commit 7d37804 into servo:master May 14, 2017
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 14, 2017
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.

None yet

5 participants