Skip to content

Support 'word-spacing' for geckolib - #12795

Merged
bors-servo merged 1 commit into
masterfrom
unknown repository
Aug 12, 2016
Merged

bors-servo merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Aug 10, 2016 •

Copy link
Copy Markdown

These changes haven't been tested yet!


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes

This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @bholley: components/style/properties/gecko.mako.rs

@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 Aug 10, 2016
@ghost

ghost commented Aug 10, 2016

Copy link
Copy Markdown
Author

r? @Manishearth

@highfive highfive assigned Manishearth and unassigned glennw Aug 10, 2016
Percentage(f) => self.gecko.mWordSpacing.set_value(CoordDataValue::Percent(f)),
Calc(l_p) => self.gecko.mWordSpacing.set_value(CoordDataValue::Calc(l_p.into())),
},
None => self.gecko.mWordSpacing.set_value(CoordDataValue::Auto),

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.

None should be zero I think. Or None. The spec says 0 but we might be able to get away with using None if gecko layout treats it as the same.

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.

Yes, treat this the same as Length(0)

@ghost

ghost commented Aug 10, 2016

Copy link
Copy Markdown
Author

Comments make sense. I've made the changes :)

@Manishearth

Manishearth commented Aug 11, 2016 •

Copy link
Copy Markdown
Member

@bors-servo r+

This works.

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 69c422f has been approved by Manishearth

@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 Aug 11, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 69c422f with merge c4aae63...

bors-servo pushed a commit that referenced this pull request Aug 11, 2016
Support 'word-spacing' for geckolib

**These changes haven't been tested yet!**

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

- [ ] There are tests for these changes

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

Copy link
Copy Markdown
Contributor

💔 Test failed - windows-dev

@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 Aug 11, 2016
@Manishearth

Manishearth commented Aug 11, 2016 •

Copy link
Copy Markdown
Member

@bors-servo retry

  • github doesn't like bors

bors-servo pushed a commit that referenced this pull request Aug 11, 2016
Support 'word-spacing' for geckolib

**These changes haven't been tested yet!**

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

- [ ] There are tests for these changes

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

Copy link
Copy Markdown
Contributor

⌛ Testing commit 69c422f with merge 45abdd6...

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Aug 11, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 69c422f with merge 26e3cf2...

bors-servo pushed a commit that referenced this pull request Aug 11, 2016
Support 'word-spacing' for geckolib

**These changes haven't been tested yet!**

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

- [ ] There are tests for these changes

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

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@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 Aug 11, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 69c422f has been approved by Manishearth

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Aug 11, 2016
@Manishearth

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for arm32, arm64, linux-dev, mac-dev-unit, mac-rel-css, windows-dev are reusable. Rebuilding only linux-rel, mac-rel-wpt...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 11, 2016
@highfive

Copy link
Copy Markdown
  ▶ TIMEOUT [expected PASS] /_mozilla/css/iframe/hide_layers2.html

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Aug 11, 2016
@Manishearth

Manishearth commented Aug 11, 2016 •

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, windows-dev are reusable. Rebuilding only mac-rel-wpt...

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, windows-dev are reusable. Rebuilding only mac-rel-wpt...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@highfive

Copy link
Copy Markdown
  ▶ TIMEOUT [expected PASS] /_mozilla/css/iframe/hide_layers2.html

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Aug 11, 2016
@Manishearth

Copy link
Copy Markdown
Member

bors-servo pushed a commit that referenced this pull request Aug 12, 2016
Support 'word-spacing' for geckolib

**These changes haven't been tested yet!**

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

- [ ] There are tests for these changes

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

Copy link
Copy Markdown
Contributor

⌛ Testing commit 69c422f with merge a229135...

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Aug 12, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev

@bors-servo
bors-servo merged commit 69c422f into servo:master Aug 12, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 12, 2016
@ghost
ghost deleted the word_spacing branch August 12, 2016 06:57
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.

4 participants