Summary: | Caret renderer is always a RenderBlock. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||||
Component: | Layout and Rendering | Assignee: | Andreas Kling <kling> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Andreas Kling
2014-11-19 21:11:23 PST
Created attachment 241925 [details]
Patch
Comment on attachment 241925 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241925&action=review > Source/WebCore/editing/FrameSelection.cpp:1361 > + if (RenderBlock* caretPainter = rendererForCaretPainting(node)) auto* ? > Source/WebCore/editing/FrameSelection.cpp:1481 > + if (RenderBlock* renderer = rendererForCaretPainting(node)) auto* ? > Source/WebCore/editing/htmlediting.cpp:1276 > bool paintedByBlock = renderer->isRenderBlockFlow() && caretRendersInsideNode(node); is<RenderBlockFlow>(*renderer) ? Created attachment 241927 [details]
Patch
Tweak Chris's tweaks.
Comment on attachment 241927 [details]
Patch
r=me
Comment on attachment 241927 [details] Patch Clearing flags on attachment: 241927 Committed r176387: <http://trac.webkit.org/changeset/176387> All reviewed patches have been landed. Closing bug. |