[Webkit-unassigned] [Bug 94468] New: [Qt] Custom tap-highlight-color renders fully opaque

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 20 05:13:02 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94468

           Summary: [Qt] Custom tap-highlight-color renders fully opaque
           Product: WebKit
           Version: 420+
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: allan.jensen at nokia.com


Observed on the webpage http://heltnormalt.dk/striben, when tap clicking any link, the link will be obscured by pink opaque overlay.

The tap highlight color has been configured as:
a:link { -webkit-tap-highlight-color: #FF5E99; }

Which means it has been declared fully opaque, unfortunately that is not how Android, N9 or iPhone renders it as far as I can tell.

I am not sure what the right solution is, but I am leaning towards redefining defaultTapHighlightColor in RenderTheme.h from 0x33000000 to 0x66000000, and always start with the tap-highlight being at most 50% transparent. Apparently N9 defines the defaultTapHighlightColor to 0x7F000000, Android to 0x6633b5e5 and iPhone to 0x4D1A1A1A, so an alpha value of 0x66 would also fit in better with actually used defaults.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list