Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZoomForDSF: Remove pixel snapped behavior for offset/client dimensions.
Instead of pixel snapping, the code now rounds the post-zoom values. Fixed: 1308406 (cherry picked from commit ea147e5) Change-Id: I43f56cd4dba1a2f782d1539251155e64fa6dbc6c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3541546 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Vladimir Levin <vmpstr@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#986003} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3561498 Auto-Submit: Vladimir Levin <vmpstr@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/branch-heads/4951@{#270} Cr-Branched-From: 27de622-refs/heads/main@{#982481}
- Loading branch information
Showing
15 changed files
with
116 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-421 Bytes
(98%)
.../eye-dropper/fast/forms/color-scheme/color/color-picker-appearance-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+7 Bytes
(100%)
...ts/platform/linux/fast/forms/color/color-picker-appearance-zoom200-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions
7
...k/web_tests/platform/linux/virtual/text-antialias/regional-indicator-symobls-expected.txt
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
-225 Bytes
(99%)
...m/mac-mac11-arm64/fast/forms/color/color-picker-appearance-zoom200-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-20 Bytes
(100%)
...ests/platform/mac/fast/forms/color/color-picker-appearance-zoom200-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3 Bytes
(100%)
...ests/platform/win/fast/forms/color/color-picker-appearance-zoom200-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
...ests/devtools/console/viewport-testing/console-stick-to-bottom-expand-object-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Verifies viewport stick-to-bottom behavior when prompt has space below editable area. | ||
|
||
Message count: 150 | ||
|
||
Running: testExpandLastVisibleObjectRemainsInView | ||
|
||
Force selecting index 149 | ||
Is at bottom: true, should stick: true, selected element is fully visible? true | ||
Expanding object | ||
Is at bottom: false, should stick: false, selected element is fully visible? false | ||
Collapsing object | ||
Is at bottom: true, should stick: false, selected element is fully visible? true | ||
|
||
Running: testExpandFirstVisibleObjectRemainsInView | ||
|
||
Force selecting index 146 | ||
Is at bottom: false, should stick: false, selected element is fully visible? true | ||
Expanding object | ||
Is at bottom: false, should stick: false, selected element is fully visible? true | ||
Collapsing object | ||
Is at bottom: false, should stick: false, selected element is fully visible? true | ||
|
7 changes: 0 additions & 7 deletions
7
...ink/web_tests/platform/win/virtual/text-antialias/regional-indicator-symobls-expected.txt
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
...ests/devtools/console/viewport-testing/console-stick-to-bottom-expand-object-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Verifies viewport stick-to-bottom behavior when prompt has space below editable area. | ||
|
||
Message count: 150 | ||
|
||
Running: testExpandLastVisibleObjectRemainsInView | ||
|
||
Force selecting index 149 | ||
Is at bottom: true, should stick: true, selected element is fully visible? true | ||
Expanding object | ||
Is at bottom: false, should stick: false, selected element is fully visible? true | ||
Collapsing object | ||
Is at bottom: true, should stick: false, selected element is fully visible? true | ||
|
||
Running: testExpandFirstVisibleObjectRemainsInView | ||
|
||
Force selecting index 146 | ||
Is at bottom: false, should stick: false, selected element is fully visible? true | ||
Expanding object | ||
Is at bottom: false, should stick: false, selected element is fully visible? true | ||
Collapsing object | ||
Is at bottom: false, should stick: false, selected element is fully visible? true | ||
|