summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
21be4fd)
https://bugs.webkit.org/show_bug.cgi?id=155216
Reviewed by Darin Adler.
LayoutTests/imported/w3c:
Rebaseline now that more checks are passing.
* web-platform-tests/html/dom/interfaces-expected.txt:
Source/WebCore:
focus() / blur() should be on HTMLElement / SVGElement, not Element:
- https://html.spec.whatwg.org/multipage/dom.html#htmlelement
- https://www.w3.org/TR/SVG2/types.html#InterfaceSVGElement
Chrome and Firefox match the specification.
Note that after this change, focus() / blur() is no longer exposed
on MathMLElement. This matches the MathML specification and is
consistent with Firefox and Chrome.
* dom/Element.idl:
* html/HTMLElement.idl:
* svg/SVGElement.idl:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@197875
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2016-03-09 Chris Dumez <cdumez@apple.com>
2016-03-09 Chris Dumez <cdumez@apple.com>
+ focus() / blur() should be on HTMLElement / SVGElement, not Element
+ https://bugs.webkit.org/show_bug.cgi?id=155216
+
+ Reviewed by Darin Adler.
+
+ Rebaseline now that more checks are passing.
+
+ * web-platform-tests/html/dom/interfaces-expected.txt:
+
+2016-03-09 Chris Dumez <cdumez@apple.com>
+
Move attributes to the instance for most interfaces that have "Error" in their name
https://bugs.webkit.org/show_bug.cgi?id=155231
Move attributes to the instance for most interfaces that have "Error" in their name
https://bugs.webkit.org/show_bug.cgi?id=155231
PASS HTMLElement interface: attribute hidden
PASS HTMLElement interface: operation click()
PASS HTMLElement interface: attribute tabIndex
PASS HTMLElement interface: attribute hidden
PASS HTMLElement interface: operation click()
PASS HTMLElement interface: attribute tabIndex
-FAIL HTMLElement interface: operation focus() assert_own_property: interface prototype object missing non-static operation expected property "focus" missing
-FAIL HTMLElement interface: operation blur() assert_own_property: interface prototype object missing non-static operation expected property "blur" missing
+PASS HTMLElement interface: operation focus()
+PASS HTMLElement interface: operation blur()
PASS HTMLElement interface: attribute accessKey
FAIL HTMLElement interface: attribute accessKeyLabel assert_true: The prototype object must have a property "accessKeyLabel" expected true got false
PASS HTMLElement interface: attribute draggable
PASS HTMLElement interface: attribute accessKey
FAIL HTMLElement interface: attribute accessKeyLabel assert_true: The prototype object must have a property "accessKeyLabel" expected true got false
PASS HTMLElement interface: attribute draggable
PASS HTMLElement interface: attribute hidden
PASS HTMLElement interface: operation click()
PASS HTMLElement interface: attribute tabIndex
PASS HTMLElement interface: attribute hidden
PASS HTMLElement interface: operation click()
PASS HTMLElement interface: attribute tabIndex
-FAIL HTMLElement interface: operation focus() assert_own_property: interface prototype object missing non-static operation expected property "focus" missing
-FAIL HTMLElement interface: operation blur() assert_own_property: interface prototype object missing non-static operation expected property "blur" missing
+PASS HTMLElement interface: operation focus()
+PASS HTMLElement interface: operation blur()
PASS HTMLElement interface: attribute accessKey
FAIL HTMLElement interface: attribute accessKeyLabel assert_true: The prototype object must have a property "accessKeyLabel" expected true got false
PASS HTMLElement interface: attribute draggable
PASS HTMLElement interface: attribute accessKey
FAIL HTMLElement interface: attribute accessKeyLabel assert_true: The prototype object must have a property "accessKeyLabel" expected true got false
PASS HTMLElement interface: attribute draggable
2016-03-09 Chris Dumez <cdumez@apple.com>
2016-03-09 Chris Dumez <cdumez@apple.com>
+ focus() / blur() should be on HTMLElement / SVGElement, not Element
+ https://bugs.webkit.org/show_bug.cgi?id=155216
+
+ Reviewed by Darin Adler.
+
+ focus() / blur() should be on HTMLElement / SVGElement, not Element:
+ - https://html.spec.whatwg.org/multipage/dom.html#htmlelement
+ - https://www.w3.org/TR/SVG2/types.html#InterfaceSVGElement
+
+ Chrome and Firefox match the specification.
+
+ Note that after this change, focus() / blur() is no longer exposed
+ on MathMLElement. This matches the MathML specification and is
+ consistent with Firefox and Chrome.
+
+ * dom/Element.idl:
+ * html/HTMLElement.idl:
+ * svg/SVGElement.idl:
+
+2016-03-09 Chris Dumez <cdumez@apple.com>
+
Move attributes to the instance for most interfaces that have "Error" in their name
https://bugs.webkit.org/show_bug.cgi?id=155231
Move attributes to the instance for most interfaces that have "Error" in their name
https://bugs.webkit.org/show_bug.cgi?id=155231
[ImplementedAs=bindingsOffsetParent] readonly attribute Element offsetParent;
[ImplementedAs=bindingsOffsetParent] readonly attribute Element offsetParent;
+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C || defined(LANGUAGE_GOBJECT) && LANGUAGE_GOBJECT
void focus();
void blur();
void focus();
void blur();
void scrollIntoView(optional boolean alignWithTop);
// WebKit extensions
void scrollIntoView(optional boolean alignWithTop);
// WebKit extensions
#endif
[TreatNullAs=EmptyString, SetterRaisesException] attribute DOMString innerHTML;
[TreatNullAs=EmptyString, SetterRaisesException] attribute DOMString outerHTML;
#endif
[TreatNullAs=EmptyString, SetterRaisesException] attribute DOMString innerHTML;
[TreatNullAs=EmptyString, SetterRaisesException] attribute DOMString outerHTML;
[Reflect=class] attribute DOMString className;
[PutForwards=value] readonly attribute DOMTokenList classList;
[Reflect=class] attribute DOMString className;
[PutForwards=value] readonly attribute DOMTokenList classList;
+
+#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
+ void focus();
+ void blur();
+#endif
attribute long tabIndex;
CSSValue getPresentationAttribute([Default=Undefined] optional DOMString name);
attribute long tabIndex;
CSSValue getPresentationAttribute([Default=Undefined] optional DOMString name);
+
+#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
+ void focus();
+ void blur();
+#endif