[Webkit-unassigned] [Bug 93551] New: Some CSS pseudo selectors causing clicks to reload resources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 8 16:43:36 PDT 2012


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

           Summary: Some CSS pseudo selectors causing clicks to reload
                    resources
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nganpham at gmail.com


This is a very strange bug, so please bare with me...

I have the following html document:

<!DOCTYPE html>
<html>
<head>
  <style>
    :active { }
  </style>
</head>
<body>
<div style="display: none">
  <input type="image" src="http://localhost:3000/asdf">
</div>
</body>
</html>

I have a server running on 3000 that simple tells me when it's getting hit.  If you open that html document, and click ANYWHERE on the page, the browser will make a request to that src URL over and over again for every click.
What I know:

- The input element must be hidden (the div with display none does that).
- The CSS must be a pseudo selector (:active works, others might too).
- The CSS selector doesn't even have to match! (e.g.   .asdf :active { }) will cause the bug as well.
- The issue only happens when the element is an input type="image" element (for all I know).

You might not need a server to test this.  You can just check out the timeline and see requests being made as well...

-- 
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