Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix restyling on viewport resize. #12838
Conversation
highfive
commented
Aug 12, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Aug 12, 2016
|
r? @SimonSapin |
|
|
|
@bors-servo try |
Fix restyling on viewport resize. <!-- Please describe your changes on the following line: --> Fixes #12835 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] There are tests for these changes OR <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/12838) <!-- Reviewable:end -->
|
@bors-servo: try |
Fix restyling on viewport resize. <!-- Please describe your changes on the following line: --> Fixes #12835 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] There are tests for these changes OR <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/12838) <!-- Reviewable:end -->
|
|
|
@bors-servo: try Apparently the syntax: if cfg!(whatever) {
self.field_only_existing_if_cfg_whatever = foo;
}
|
Fix restyling on viewport resize. <!-- Please describe your changes on the following line: --> Fixes #12835 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] There are tests for these changes OR <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/12838) <!-- Reviewable:end -->
|
@emilio That never worked, |
|
FTR, yeah, @eddyb is right, and I'm stupid for misremembering having built this on release locally before the rustup. |
|
|
|
r=me with s/red/green/ if you’ve seen the test fail Reviewed 1 of 1 files at r1, 2 of 2 files at r2, 12 of 12 files at r3, 1 of 1 files at r4. tests/wpt/mozilla/tests/css/dirty_viewport.html, line 7 [r3] (raw file):
Did this test fail without the code changes? tests/wpt/mozilla/tests/css/dirty_viewport_ref.html, line 4 [r3] (raw file):
Nit: red is generally used to indicate a test failure. (On success, it the red is hidden/behind something else). Please change this to green. Comments from Reviewable |
|
@bors-servo: r=SimonSapin Review status: 13 of 16 files reviewed at latest revision, 2 unresolved discussions. tests/wpt/mozilla/tests/css/dirty_viewport.html, line 7 [r3] (raw file):
|
|
|
Fix restyling on viewport resize. <!-- Please describe your changes on the following line: --> Fixes #12835 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] There are tests for these changes OR <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/12838) <!-- Reviewable:end -->
|
|
emilio commentedAug 12, 2016
•
edited by larsbergstrom
Fixes #12835
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is