-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revised logic for exact text background calculations (#278)
- Loading branch information
Showing
43 changed files
with
96 additions
and
10 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
Binary file modified
BIN
+251 Bytes
(100%)
...ts/Editor/__Snapshots__/EditorSnapshotTests/testBackgroundStyleThreeLines.1.png
Loading
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
+229 Bytes
(100%)
...__Snapshots__/EditorSnapshotTests/testBackgroundStyleTwoLinesMinorOverlap.1.png
Loading
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
+175 Bytes
(100%)
...or/__Snapshots__/EditorSnapshotTests/testBackgroundStyleTwoLinesNoOverlap.1.png
Loading
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
+125 Bytes
(100%)
...itor/__Snapshots__/EditorSnapshotTests/testBackgroundStyleTwoLinesOverlap.1.png
Loading
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
-520 Bytes
(98%)
...s/Editor/__Snapshots__/EditorSnapshotTests/testBackgroundStyleWithBorders.1.png
Loading
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
+159 Bytes
(100%)
...tor/__Snapshots__/EditorSnapshotTests/testBackgroundStyleWithCapsuleStyle.1.png
Loading
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
-89 Bytes
(100%)
...ditor/__Snapshots__/EditorSnapshotTests/testBackgroundStyleWithContinuity.1.png
Loading
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
+22 Bytes
(100%)
...Snapshots__/EditorSnapshotTests/testBackgroundStyleWithHeightMatchingText.1.png
Loading
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
+115 Bytes
(100%)
..._Snapshots__/EditorSnapshotTests/testBackgroundStyleWithIncreasedFontSize.1.png
Loading
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
-40 Bytes
(100%)
...ts__/EditorSnapshotTests/testBackgroundStyleWithIncreasedParagraphSpacing.1.png
Loading
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
+180 Bytes
(100%)
...ts/Editor/__Snapshots__/EditorSnapshotTests/testBackgroundStyleWithInsets.1.png
Loading
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
+184 Bytes
(100%)
.../__Snapshots__/EditorSnapshotTests/testBackgroundStyleWithOverlappingLine.1.png
Loading
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
-141 Bytes
(99%)
...EditorSnapshotTests/testBackgroundStyleWithOverlappingLineExactTextHeight.1.png
Loading
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
-12 Bytes
(100%)
...hots__/EditorSnapshotTests/testBackgroundStyleWithOverlappingLineNoBorder.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.1 KB
...hots__/EditorSnapshotTests/testBackgroundStyleWithParagraphAndLineSpacing.1.png
Loading
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
-2 Bytes
(100%)
...napshots__/EditorSnapshotTests/testBackgroundStyleWithTextContainerInsets.1.png
Loading
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
+220 Bytes
(100%)
.../__Snapshots__/EditorSnapshotTests/testBackgroundStyleWithVariedFontSizes.1.png
Loading
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
-432 Bytes
(99%)
.../__Snapshots__/EditorSnapshotTests/testBackgroundStyleWithWidthModeAsText.1.png
Loading
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
+12 Bytes
(100%)
Proton/Tests/Editor/__Snapshots__/EditorSnapshotTests/testCursorCaretRect.1.png
Loading
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
+12 Bytes
(100%)
Proton/Tests/Editor/__Snapshots__/EditorSnapshotTests/testDefaultBackground.1.png
Loading
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
+12 Bytes
(100%)
Proton/Tests/Editor/__Snapshots__/EditorSnapshotTests/testDeletesAttachments.1.png
Loading
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
+12 Bytes
(100%)
...n/Tests/Editor/__Snapshots__/EditorSnapshotTests/testEditorWithArabicText.1.png
Loading
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
+12 Bytes
(100%)
...Snapshots__/EditorSnapshotTests/testGetsCaretRectForPositionInEmptyEditor.1.png
Loading
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
+12 Bytes
(100%)
...Snapshots__/EditorSnapshotTests/testGetsCaretRectForPositionOutsideBounds.1.png
Loading
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
+12 Bytes
(100%)
...ditor/__Snapshots__/EditorSnapshotTests/testGetsCaretRectForValidPosition.1.png
Loading
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
+12 Bytes
(100%)
...ditorSnapshotTests/testGetsCaretRectForValidPositionWithScrollableContent.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
...n/Tests/Editor/__Snapshots__/EditorSnapshotTests/testGetsCurrentLineRange.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
...EditorSnapshotTests/testGetsRectsForGivenRangeSpanningAcrossMultipleLines.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
...__/EditorSnapshotTests/testGetsRectsForGivenRangeSpanningAcrossSingleLine.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
...ests/Editor/__Snapshots__/EditorSnapshotTests/testGetsVisibleContentRange.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
Proton/Tests/Editor/__Snapshots__/EditorSnapshotTests/testLineRanges.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
Proton/Tests/Editor/__Snapshots__/EditorSnapshotTests/testParagraphStyling.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
...apshots__/EditorSnapshotTests/testRendersAttachmentWithTextContainerInset.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
.../Editor/__Snapshots__/EditorSnapshotTests/testRendersFixedWidthAttachment.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
...s/Editor/__Snapshots__/EditorSnapshotTests/testRendersFullWidthAttachment.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
...pshots__/EditorSnapshotTests/testRendersFullWidthAttachmentWithParaIndent.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
...ditor/__Snapshots__/EditorSnapshotTests/testRendersMatchContentAttachment.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
...ditor/__Snapshots__/EditorSnapshotTests/testRendersPercentWidthAttachment.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
Proton/Tests/Editor/__Snapshots__/EditorSnapshotTests/testSelectionRects.1.png
Oops, something went wrong.
Binary file modified
BIN
+1.22 KB
(110%)
...r/__Snapshots__/EditorSnapshotTests/testSuccessiveSimilarBackgroundStyles.1.png
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
...Editor/__Snapshots__/EditorSnapshotTests/testUpdatesPlaceholderWithInsets.1.png
Oops, something went wrong.