Skip to content

A few clean ups for Au type - #7766

Merged
bors-servo merged 1 commit into
servo:masterfrom
glennw:au-tidy
Sep 28, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
glennw:au-tidy

Conversation

@glennw

@glennw glennw commented Sep 28, 2015

Copy link
Copy Markdown
Member

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 28, 2015
@glennw

glennw commented Sep 28, 2015

Copy link
Copy Markdown
Member Author

r? @pcwalton

@Ms2ger

Ms2ger commented Sep 28, 2015

Copy link
Copy Markdown
Contributor

None of those changes feel like improvements to me. Can you explain why you made them?

@nox nox added I-cleanup No impact; the issue is one of maintainability or tidiness. A-gfx/uncategorized labels Sep 28, 2015
@glennw

glennw commented Sep 28, 2015

Copy link
Copy Markdown
Member Author

Removal of the unused snapping related methods is to discourage pixel snapping during layout, so that sub-pixel accuracy remains until rendering. The pt related functions are moved because they rely on hard coded assumptions and are used only by the mac font code. The zero point change is to be consistent with other code (everywhere else uses ZERO_POINT).

(I should have been more explicit with the original commit message).

@pcwalton

Copy link
Copy Markdown
Contributor

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 5684a75 has been approved by pcwalton

@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 Sep 28, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 5684a75 with merge 007c227...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 5684a75 into servo:master Sep 28, 2015
@glennw
glennw deleted the au-tidy branch December 12, 2016 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-gfx/uncategorized I-cleanup No impact; the issue is one of maintainability or tidiness. S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants