dad2a5dec4
https://bugs.webkit.org/show_bug.cgi?id=229013 <rdar://problem/81215696> Reviewed by Timothy Hatcher. Source/WebCore: `NSAttributedString` now uses WK2, which has caused us to discover some inconsistencies (and bugs). Tests: NSAttributedStringWebKitAdditions.DefaultFontSize NSAttributedStringWebKitAdditions.MultipleParagraphs * editing/cocoa/HTMLConverter.mm: (HTMLConverter::_blockLevelElementForNode): Check the given node before looking at the parent as it could already be a block. This allows for sequental `<p>` to each have their own positioning instead of only the first one. (HTMLConverter::computedAttributesForElement): Fix typo that used `margin-right` instead of `margin-bottom` when setting `paragraphSpacing`. Source/WebKit: `NSAttributedString` now uses WK2, which has caused us to discover some inconsistencies (and bugs). * UIProcess/API/Cocoa/NSAttributedString.mm: (+[_WKAttributedStringWebViewCache configuration]): Change the default font size to 12 to match WK1. Tools: * TestWebKitAPI/Tests/WebKitCocoa/NSAttributedStringWebKitAdditions.mm: Added. (TEST.NSAttributedStringWebKitAdditions.DefaultFontSize): (TEST.NSAttributedStringWebKitAdditions.MultipleParagraphs): * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/240477@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280973 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
AlternativeTextContextController.h | ||
AlternativeTextContextController.mm | ||
AlternativeTextUIController.h | ||
AlternativeTextUIController.mm | ||
AttributedString.h | ||
AutofillElements.cpp | ||
AutofillElements.h | ||
DataDetection.h | ||
DataDetection.mm | ||
DataDetectorType.h | ||
DictionaryLookup.mm | ||
EditorCocoa.mm | ||
FontAttributeChangesCocoa.mm | ||
FontAttributesCocoa.mm | ||
FontShadowCocoa.mm | ||
HTMLConverter.h | ||
HTMLConverter.mm | ||
WebArchiveResourceFromNSAttributedString.h | ||
WebArchiveResourceFromNSAttributedString.mm | ||
WebArchiveResourceWebResourceHandler.h | ||
WebArchiveResourceWebResourceHandler.mm | ||
WebContentReaderCocoa.mm |