Bug 135920

Summary: Implement a CSS property which allows for styling the text caret
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED INVALID    
Severity: Normal CC: dbates, dino, jonlee, mitz, rniwa, simon.fraser, syoichi, thorton
Priority: P2 Keywords: WebExposed
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Myles C. Maxfield 2014-08-13 18:15:12 PDT
Implement a CSS property which allows for styling the text caret
Comment 1 Myles C. Maxfield 2014-08-13 18:26:41 PDT
Created attachment 236571 [details]
Patch
Comment 3 Ryosuke Niwa 2014-08-16 02:13:40 PDT
Comment on attachment 236571 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=236571&action=review

> Source/WebCore/ChangeLog:9
> +        CSS property: -webkit-caret-style, which can have three values: element, -webkit-editable-root, and a color value.

I don't think we should introduce a new prefixed value like -webkit-editable-root without suggesting it on www-style first.
It appears to me that what -webkit-editable-root does is really "auto".

If we were only concerned about Mail & Notes matching TextEdit's native behavior,
then we should simply expose a preference instead of exposing a generic CSS property to the Web.
Comment 4 Ryosuke Niwa 2014-08-16 02:14:04 PDT
This feature needs to be announced on webkit-dev first.