Bug 180267

Summary: [iOS] editing/execCommand/remove-format tests failing
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: wenson_hsieh
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Archive of test results none

Ryan Haddad
Reported 2017-12-01 12:32:30 PST
The following tests fail when run on iOS: editing/execCommand/remove-format-multiple-elements-mac.html editing/execCommand/remove-format-multiple-elements-win.html editing/execCommand/remove-formatting-2.html --- /Volumes/Data/OpenSource/WebKitBuild/Release-iphonesimulator/layout-test-results/editing/execCommand/remove-formatting-2-expected.txt +++ /Volumes/Data/OpenSource/WebKitBuild/Release-iphonesimulator/layout-test-results/editing/execCommand/remove-formatting-2-actual.txt @@ -2,10 +2,12 @@ EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of #text > DIV > BODY > HTML > #document to 4 of #text > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 4 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 1 of #text > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 1 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification This tests that RemoveFormat not only removes style from the selected part of the DOM, but that it also applies the document default style to the selection if that's necessary in order to leave the selected text unstyled. -| "<#selection-anchor>This<#selection-focus>" -| " text should look the same as the text above." +| "<#selection-anchor>This" +| " <#selection-focus>" +| "text should look the same as the text above."
Attachments
Archive of test results (292.50 KB, application/x-gzip)
2017-12-01 12:32 PST, Ryan Haddad
no flags
Ryan Haddad
Comment 1 2017-12-01 12:32:49 PST
Created attachment 328132 [details] Archive of test results
Note You need to log in before you can comment on or make changes to this bug.