Lines Matching defs:caret
1057 // Get the renderer that will be responsible for painting the caret (which
1093 // if caretNode is a block and caret is inside it then caret should be painted by that block
1124 static IntRect repaintRectForCaret(IntRect caret)
1126 if (caret.isEmpty())
1128 // Ensure that the dirty rect intersects the block that paints the caret even in the case where
1129 // the caret itself is just outside the block. See <https://bugs.webkit.org/show_bug.cgi?id=19086>.
1130 caret.inflateX(1);
1131 return caret;
1170 // FIXME: make caret repainting container-aware.
1194 // recomputeCaretRect will always return false for the drag caret,
1203 // flag will cause another caret layout to happen the first time
1204 // that we try to paint the caret after this call. That one will work since
1207 // And, we need to leave this layout here so the caret moves right
1236 IntRect caret = intersection(drawingRect, clipRect);
1237 if (caret.isEmpty())
1248 context->fillRect(caret, caretColor, colorSpace);
1285 int caret = 0;
1290 caret = pos;
1294 caret = pos;
1298 caret = mid;
1302 caret = pos - (textLength - show.length());
1309 for (int i = 0; i < caret; i++)
1507 // Caret appears in the active frame.
1574 // If the caret moved, stop the blink timer so we can restart with a
1575 // black caret in the new location.
1579 // Start blinking with a black caret. Be sure not to restart if we're
1843 // Put a caret inside the body if the entire frame is editable (either the