Bug 135920 - Implement a CSS property which allows for styling the text caret
Summary: Implement a CSS property which allows for styling the text caret
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2014-08-13 18:15 PDT by Myles C. Maxfield
Modified: 2014-09-03 13:47 PDT (History)
8 users (show)

See Also:


Attachments
Patch (51.09 KB, patch)
2014-08-13 18:26 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.