Title: [216256] trunk/Source/WebCore
Revision
216256
Author
[email protected]
Date
2017-05-05 12:16:03 -0700 (Fri, 05 May 2017)

Log Message

Clean up Attr.idl
https://bugs.webkit.org/show_bug.cgi?id=171691

Reviewed by Andreas Kling.

Clean up Attr.idl to match the spec:
- https://dom.spec.whatwg.org/#interface-attr

No Web-facing behavior change except for Attr properties being enumerated
in a slightly different order.

* dom/Attr.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (216255 => 216256)


--- trunk/Source/WebCore/ChangeLog	2017-05-05 18:45:16 UTC (rev 216255)
+++ trunk/Source/WebCore/ChangeLog	2017-05-05 19:16:03 UTC (rev 216256)
@@ -1,3 +1,18 @@
+2017-05-05  Chris Dumez  <[email protected]>
+
+        Clean up Attr.idl
+        https://bugs.webkit.org/show_bug.cgi?id=171691
+
+        Reviewed by Andreas Kling.
+
+        Clean up Attr.idl to match the spec:
+        - https://dom.spec.whatwg.org/#interface-attr
+
+        No Web-facing behavior change except for Attr properties being enumerated
+        in a slightly different order.
+
+        * dom/Attr.idl:
+
 2017-05-05  Antti Koivisto  <[email protected]>
 
         ASSERTION FAILED: !frame().document()->inRenderTreeUpdate() in WebCore::FrameView::layout(bool)

Modified: trunk/Source/WebCore/dom/Attr.idl (216255 => 216256)


--- trunk/Source/WebCore/dom/Attr.idl	2017-05-05 18:45:16 UTC (rev 216255)
+++ trunk/Source/WebCore/dom/Attr.idl	2017-05-05 19:16:03 UTC (rev 216256)
@@ -23,15 +23,13 @@
     JSGenerateToJSObject,
     JSGenerateToNativeObject,
 ] interface Attr : Node {
-    readonly attribute DOMString? name;
-
-    readonly attribute boolean specified;
-
+    readonly attribute DOMString? namespaceURI;
+    readonly attribute DOMString? prefix;
+    readonly attribute DOMString localName;
+    readonly attribute DOMString name;
     [CEReactions, ImplementedAs=valueForBindings] attribute DOMString value;
 
-    readonly attribute Element ownerElement;
+    readonly attribute Element? ownerElement;
 
-    readonly attribute DOMString? namespaceURI;
-    readonly attribute DOMString? prefix;
-    readonly attribute DOMString localName;
+    readonly attribute boolean specified; // Useless; always returns true.
 };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to