Closed Bug 194201 Opened 22 years ago Closed 22 years ago

Please implement CSS3 behavior extensions event handlers

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ernestcline, Assigned: dbaron)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130 I don't think it would be too onerous (I may be wrong) to add the various event properties to the browser. Adding the ability to do for example i {onclick:"foo(this)"} so that it wouldn't be necessary to add onclick="foo(this)" to every single <i> would be very nice, and I don't think it would require much coding. Reproducible: Always Steps to Reproduce: 1. Include i{onclick:"alert('Hi there!')"} in the CSS rules. 2. Load the document 3. Click on any italic text created by <i></i> Actual Results: Nothing. Expected Results: Brought up an alert box with the message 'Hi there!' It probably would be best to support all DOM 2 events (see http://www.w3.org/TR/DOM-Level-2-Events/events.html), or at least all HTML 4 intrinsic events (see http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.2.3 ).
Blocks: 194205
Summary: Please implement CSS3 behavior extenstions event handlers → Please implement CSS3 behavior extensions event handlers
We support XBL which is equivalent but more powerful.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.