Skip to content

HexValidation is too strict - #AARRGGBB is a valid color (with tranparency) in IE gradient calls #214

@pariser

Description

@pariser

HexValidation requires colors to be either 3 or 6 hex digits. The following filter allows for supporting background transparency on IE:

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);

See: http://msdn.microsoft.com/en-us/library/ms532879%28v=vs.85%29.aspx

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions