Repository navigation
Support 'word-spacing' for geckolib - #12795
Conversation
|
Heads up! This PR modifies the following files:
|
|
r? @Manishearth |
| 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), |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Yes, treat this the same as Length(0)
|
Comments make sense. I've made the changes :) |
|
@bors-servo r+ This works. |
|
📌 Commit 69c422f has been approved by |
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 -->
|
💔 Test failed - windows-dev |
|
@bors-servo retry
|
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 -->
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 -->
|
💔 Test failed - linux-rel |
|
💡 This pull request was already approved, no need to approve it again.
|
|
📌 Commit 69c422f has been approved by |
|
⚡ 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... |
|
💔 Test failed - mac-rel-wpt |
|
|
⚡ 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... |
|
⚡ 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... |
|
💔 Test failed - mac-rel-wpt |
|
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 -->
|
☀️ Test successful - arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev |
These changes haven't been tested yet!
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is