Bug 180286 - [iOS] editing/input/editable-container-with-word-wrap-normal.html fails
Summary: [iOS] editing/input/editable-container-with-word-wrap-normal.html fails
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-01 15:00 PST by Ryan Haddad
Modified: 2017-12-01 15:00 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2017-12-01 15:00:42 PST
editing/input/editable-container-with-word-wrap-normal.html fails when run on iOS

--- /Volumes/Data/OpenSource/WebKitBuild/Release-iphonesimulator/layout-test-results/editing/input/editable-container-with-word-wrap-normal-expected.txt
+++ /Volumes/Data/OpenSource/WebKitBuild/Release-iphonesimulator/layout-test-results/editing/input/editable-container-with-word-wrap-normal-actual.txt
@@ -9,7 +9,7 @@
 Final caret rect is calculated by following constraints
 1) ScrollWidth = text content width + caret width
 2) Caret rect is always within container bounding box (thus substracting the scroll left)
-PASS startCaretRect.left + editableContainer.scrollWidth - editableContainer.scrollLeft - caretWidth is finalCaretRect.right
+FAIL startCaretRect.left + editableContainer.scrollWidth - editableContainer.scrollLeft - caretWidth should be 506. Was 504.
 PASS successfullyParsed is true
 
 TEST COMPLETE