This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27721 - Partial interfaces must not inherit
Summary: Partial interfaces must not inherit
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - UI Events (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Gary Kacmarcik
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-01 13:19 UTC by Rainer Schuster
Modified: 2015-10-07 04:29 UTC (History)
3 users (show)

See Also:


Attachments

Description Rainer Schuster 2015-01-01 13:19:53 UTC
Instead of 

partial interface KeyboardEvent : UIEvent {

the following should be used

partial interface KeyboardEvent {

because partial interfaces are not allowed to specify inheritance.
Comment 1 Olli Pettay 2015-01-01 15:43:04 UTC
Well KeyboardEvent should just inherit UIEvent, no need for 'partial' there.
Comment 2 Rainer Schuster 2015-01-03 16:47:55 UTC
(In reply to Olli Pettay from comment #1)
> Well KeyboardEvent should just inherit UIEvent, no need for 'partial' there.

Note that KeyboardEvent is also specified in http://www.w3.org/TR/DOM-Level-3-Events/#interface-KeyboardEvent
so IMHO it would make sense to just cut the inheritance " : UIEvent". BTW no information would be lost since the inheritance is already specified to inherit from UIEvent in the DOM Level 3 Events specification.
Comment 3 Gary Kacmarcik 2015-10-07 04:29:46 UTC
Now tracked as: https://github.com/w3c/uievents/issues/36