[Webkit-unassigned] [Bug 64580] Add support for download='filename' in anchors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 26 09:33:15 PDT 2011


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





--- Comment #84 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2011-07-26 09:33:14 PST ---
(In reply to comment #79)

Hixie, thank you for the detailed explanation!  It was very educational.  I was
indeed conflating click() and synthetic events.  I agree that a synthetic "click"
event should not perform the default action.

Here's what I think we should do:

1-  Add support for a at download.
2-  Disable performing the default action for synthetic events.
3-  Add support for HTMLAnchorElement::click().

I think each of these steps should be separate bugs / patches.

> But adding a new feature without the check is not the way to go - it's something
> that needs to be done, and now is the best time to do it.

I think you are arguing that if we do not add the check for synthetic events in this
case that we might lead people to depend on being able to use synthetic click events
to trigger a download.  That might make it harder to implement #2.  I'm assuming the
code to check for a synthetic event is fairly trivial?

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