Repository navigation
fix logic in overflow_direction, also add a FIXME - #20868
Conversation
|
Heads up! This PR modifies the following files:
|
|
Yeah, this looks good, even though it's dead code for now. Thanks @tigercosmos! |
|
@bors-servo r+ |
|
📌 Commit 423d417 has been approved by |
fix logic in overflow_direction, also add a FIXME <!-- Please describe your changes on the following line: --> This PR fix #19477, which the logic is obviously wrong. However, it is impossible to add a test for this. Due to #20867, the ` overflow_direction` is a hard code now. It never go to other conditions. I add a FIXME there, and also add a SPEC link. --- <!-- 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 - [X] These changes fix #19477(github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/20868) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-css1 |
|
@bors-servo retry |
|
⚡ Previous build results for android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css2, mac-rel-wpt2, mac-rel-wpt3, windows-msvc-dev are reusable. Rebuilding only mac-rel-css1, mac-rel-wpt1, mac-rel-wpt4... |
|
@bors-servo retry |
|
⚡ Previous build results for android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev are reusable. Rebuilding only mac-rel-css1... |
|
@bors-servo retry |
|
⚡ Previous build results for android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev are reusable. Rebuilding only mac-rel-css1... |
|
Seems homu is stuck. |
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
This PR fix #19477, which the logic is obviously wrong.
However, it is impossible to add a test for this.
Due to #20867, the
overflow_directionis a hard code now. It never go to other conditions.I add a FIXME there, and also add a SPEC link.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsOverflowDirection::LeftAndDown#19477(github issue number if applicable).This change is