Summary: | Dark Mode: In Notes, list item becomes invisible in dark mode after outdenting | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||||||
Component: | HTML Editing | Assignee: | Ryosuke Niwa <rniwa> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | ews-watchlist, mifenton, simon.fraser, timothy, wenson_hsieh | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Ryosuke Niwa
2020-02-12 19:45:22 PST
Created attachment 390612 [details]
Fixes the bug
Comment on attachment 390612 [details]
Fixes the bug
Hm... looks like PasteRTFD.TransformColorsOfDarkContent is failing on iOS.
Comment on attachment 390612 [details] Fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=390612&action=review > Source/WebCore/editing/ReplaceSelectionCommand.cpp:579 > - return true; > + return hasVisibleNonSemanticColor; Alright, this doesn't work :( Reverting this. Created attachment 390620 [details]
Fixes the bug
Oh, looks like iOS just needs platform specific result for the test due to auto size propert as usual but that should not block the code review. Comment on attachment 390620 [details] Fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=390620&action=review > Source/WebCore/editing/EditingStyle.cpp:1385 > + m_mutableStyle->setProperty(CSSPropertyColor, computedValue); This should use id, otherwise CSSPropertyBackgroundColor and CSSPropertyCaretColor will overwrite CSSPropertyColor. Created attachment 390705 [details]
Fixed the bug
Committed r256580: <https://trac.webkit.org/changeset/256580> |