Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: ec1b260043e4f44ad017340db926319d4f75f45f https://github.com/WebKit/WebKit/commit/ec1b260043e4f44ad017340db926319d4f75f45f Author: Tim Nguyen <n...@apple.com> Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths: M Source/WebCore/editing/FrameSelection.cpp Log Message: ----------- Fix !elementStyle.caretColor().isValid() check in FrameSelection.cpp https://bugs.webkit.org/show_bug.cgi?id=245421 <rdar://100166424> Reviewed by Antti Koivisto. The intent here is really to check if the value is `auto`, so using `hasAutoCaretColor()` makes it more explicit. This also makes refactoring Color to StyleColor easier. * Source/WebCore/editing/FrameSelection.cpp: (WebCore::CaretBase::computeCaretColor): Canonical link: https://commits.webkit.org/254668@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes