-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Event's cancelBubble attribute #383
Conversation
More delightful garbage from the past. Fixes #211.
@cvrebert do you have tests for this already? |
@annevk Yes. Though actual submission of them is blocked on the web-platform-tests equivalent of w3c/csswg-test#1091 |
@@ -511,6 +511,7 @@ interface Event { | |||
readonly attribute unsigned short eventPhase; | |||
|
|||
void stopPropagation(); | |||
attribute boolean cancelBubble; // historical |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation seems wrong?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the normal indentation for attributes without readonly. They are aligned with their readonly counterparts.
@cvrebert great, is there an issue on file for WPT to get such a LICENSE resource? |
@annevk Just filed web-platform-tests/wpt#4295 |
Erm, if we want to make it equivalent to |
Got the OK from Legal, so expect a testcases PR tonight. |
Proposed tests: web-platform-tests/wpt#4304 |
Cool, guess we should wait and see if any browsers are comfortable restricting the semantics further as you suggested. |
Discussion at whatwg/dom#211 and standard change at whatwg/dom#383.
More delightful garbage from the past. Fixes #211.