Index: Source/core/dom/Element.idl |
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl |
index ad01c3fa846084a4e99fc8701afda857d837e874..1cf710c9d0127b4b4b918ac6402a151ed99732d9 100644 |
--- a/Source/core/dom/Element.idl |
+++ b/Source/core/dom/Element.idl |
@@ -62,6 +62,8 @@ |
[TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, RaisesException=Setter] attribute DOMString prefix; |
[TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMString localName; |
+ [RaisesException] boolean matches(DOMString selectors); |
+ |
// Common extensions |
[PerWorldBindings] readonly attribute long offsetLeft; |
@@ -104,7 +106,7 @@ |
[RaisesException] NodeList querySelectorAll(DOMString selectors); |
// WebKit extension |
- [RaisesException, MeasureAs=ElementPrefixedMatchesSelector] boolean webkitMatchesSelector([Default=Undefined] optional DOMString selectors); |
+ [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSelector] boolean webkitMatchesSelector(DOMString selectors); |
// Shadow DOM API |
[RuntimeEnabled=ShadowDOM, RaisesException] ShadowRoot createShadowRoot(); |