Skip to content

CEF3: Add HTML5 input type=color support #899

Closed

Description

@magreenblatt

Original report by Anonymous.


Original issue 899 created by nvineeth on 2013-03-04T06:08:11.000Z:

What steps will reproduce the problem?

  1. Create a page with input type=color

What is the expected output? What do you see instead?
Clicking on this color control does not display color picker.

What version of the product are you using? On what operating system?
Cef3 trunk r1107

Please provide any additional information below.
Related discussion:
http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=10484&p=15902

Activity

  1. magreenblatt commented on Mar 8, 2013

    @magreenblatt
    CollaboratorAuthor

    Comment 1. originally posted by magreenblatt on 2013-03-08T18:23:45.000Z:

    WebKit color input type support has been disabled in revision 1134. This will be re-enabled once an implementation is in place.

    In order to support the color chooser it's necessary to implement WebContentsDelegate::OpenColorChooser in CefBrowserHostImpl. The existing Chromium implementations of ColorChooser for Linux (chrome/browser/ui/gtk/color_chooser_gtk.cc) and Mac (chrome/browser/ui/cocoa/color_chooser_mac.mm) can be used mostly as-is. A Windows implementation will need to be written from scratch for CEF because Chromium uses a views-based implementation and the default system color chooser (ChooseColor function) does not provide a modeless dialog.

  2. magreenblatt commented on Mar 8, 2013

    @magreenblatt
    CollaboratorAuthor

    Comment 2. originally posted by magreenblatt on 2013-03-08T18:48:17.000Z:

  3. magreenblatt commented on Mar 8, 2013

    @magreenblatt
    CollaboratorAuthor
    • set title to "CEF3: Add HTML5 input type=color support"
    • set state to "open"
  4. magreenblatt commented on Mar 8, 2013

    @magreenblatt
    CollaboratorAuthor

    Comment 3. originally posted by magreenblatt on 2013-03-08T22:22:01.000Z:

    issue #838 has been merged into this issue.

  5. magreenblatt commented on Feb 2, 2017

    @magreenblatt
    CollaboratorAuthor

    Original comment by Dimket (Bitbucket: Dimket).


    Guys, have you time for this task?

  6. magreenblatt commented on Apr 28, 2017

    @magreenblatt
    CollaboratorAuthor
    • edited description
    • set component to "Framework"
  7. magreenblatt commented on Jan 19, 2018

    @magreenblatt
    CollaboratorAuthor

    Original comment by Ronnie Trøjborg (Bitbucket: rtrojborg).


    Ping - Are we to believe that this feature will be added at any point?

  8. magreenblatt commented on Feb 1, 2018

    @magreenblatt
    CollaboratorAuthor

    We could likely implement this today by using Chromium's Views-based implementation on Windows/Linux when Views is enabled, and using the platform implementation on macOS. Pull requests are welcome.

  9. magreenblatt commented on May 4, 2018

    @magreenblatt
    CollaboratorAuthor

    Original comment by waheed707 (Bitbucket: waheed707, GitHub: waheed707).


    Html5 autocomplete and datalist still not working to Html5 autocomplete.

  10. magreenblatt commented on Nov 2, 2018

    @magreenblatt
    CollaboratorAuthor

    Original comment by Arnaud Renevier (Bitbucket: arenevier, GitHub: arenevier).


    I have a patch proposal https://bitbucket.org/chromiumembedded/cef/pull-requests/175/implement-color-picker-issue-899/

    Any feedback about the patch will be appreciated :-)

  11. magreenblatt commented on Nov 2, 2018

    @magreenblatt
    CollaboratorAuthor

    Original comment by Arnaud Renevier (Bitbucket: arenevier, GitHub: arenevier).


    The patch allows embedder to plug their own color chooser. And fallback to a view based implementation if the app does not handle the color chooser.

  12. magreenblatt commented on Jul 1, 2021

    @magreenblatt
    CollaboratorAuthor

    The color picker currently works with the Chrome runtime. We will likely not support this with the Alloy runtime.

  13. magreenblatt commented on Jul 1, 2021

    @magreenblatt
    CollaboratorAuthor
    • changed state from "new" to "wontfix"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Frameworkenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions