<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[202539] trunk</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/202539">202539</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2016-06-27 22:10:30 -0700 (Mon, 27 Jun 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>HTMLElement / SVGElement should implement GlobalEventHandlers, not Element
https://bugs.webkit.org/show_bug.cgi?id=159191
<rdar://problem/27019299>
Reviewed by Ryosuke Niwa.
LayoutTests/imported/w3c:
Rebaseline test now that more checks are passing.
* web-platform-tests/html/dom/interfaces-expected.txt:
Source/WebCore:
HTMLElement / SVGElement should implement GlobalEventHandlers, not Element:
- https://html.spec.whatwg.org/multipage/dom.html#htmlelement
- https://www.w3.org/TR/SVG2/types.html#InterfaceSVGElement
Firefox and Chrome behave as per the specification.
Fixing this also fixes rendering on http://survey123.arcgis.com/.
No new tests, covered by existing tests that were rebaselined.
* dom/Element.idl:
* html/HTMLElement.idl:
* svg/SVGElement.idl:
LayoutTests:
* fast/dom/event-handler-attributes-expected.txt:
Rebaseline tests now that more checks are passing.
* js/dom/dom-static-property-for-in-iteration-expected.txt:
Rebaseline test now that enumeration order is different.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsfastdomeventhandlerattributesexpectedtxt">trunk/LayoutTests/fast/dom/event-handler-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdomdomstaticpropertyforiniterationexpectedtxt">trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoredomElementidl">trunk/Source/WebCore/dom/Element.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLElementidl">trunk/Source/WebCore/html/HTMLElement.idl</a></li>
<li><a href="#trunkSourceWebCoresvgSVGElementidl">trunk/Source/WebCore/svg/SVGElement.idl</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (202538 => 202539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-06-28 04:04:48 UTC (rev 202538)
+++ trunk/LayoutTests/ChangeLog        2016-06-28 05:10:30 UTC (rev 202539)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2016-06-27 Chris Dumez <cdumez@apple.com>
+
+ HTMLElement / SVGElement should implement GlobalEventHandlers, not Element
+ https://bugs.webkit.org/show_bug.cgi?id=159191
+ <rdar://problem/27019299>
+
+ Reviewed by Ryosuke Niwa.
+
+ * fast/dom/event-handler-attributes-expected.txt:
+ Rebaseline tests now that more checks are passing.
+
+ * js/dom/dom-static-property-for-in-iteration-expected.txt:
+ Rebaseline test now that enumeration order is different.
+
</ins><span class="cx"> 2016-06-27 Simon Fraser <simon.fraser@apple.com>
</span><span class="cx">
</span><span class="cx"> [iOS] -webkit-overflow-scrolling: touch prevents repaint with RTL
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomeventhandlerattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/event-handler-attributes-expected.txt (202538 => 202539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/event-handler-attributes-expected.txt        2016-06-28 04:04:48 UTC (rev 202538)
+++ trunk/LayoutTests/fast/dom/event-handler-attributes-expected.txt        2016-06-28 05:10:30 UTC (rev 202539)
</span><span class="lines">@@ -854,7 +854,7 @@
</span><span class="cx">
</span><span class="cx"> Event names on a non-HTML element
</span><span class="cx">
</span><del>-FAIL testElementAttribute(nonHTMLElement, "abort") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "abort") is "none"
</ins><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "animationend") should be none. Was script: target; content: none.
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "animationiteration") should be none. Was script: target; content: none.
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "animationstart") should be none. Was script: target; content: none.
</span><span class="lines">@@ -863,48 +863,48 @@
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "beforeload") should be none. Was script: target; content: none.
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "beforepaste") should be none. Was script: target; content: none.
</span><span class="cx"> PASS testElementAttribute(nonHTMLElement, "beforeunload") is "none"
</span><del>-FAIL testElementAttribute(nonHTMLElement, "blur") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "canplay") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "canplaythrough") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "change") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "click") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "contextmenu") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "blur") is "none"
+PASS testElementAttribute(nonHTMLElement, "canplay") is "none"
+PASS testElementAttribute(nonHTMLElement, "canplaythrough") is "none"
+PASS testElementAttribute(nonHTMLElement, "change") is "none"
+PASS testElementAttribute(nonHTMLElement, "click") is "none"
+PASS testElementAttribute(nonHTMLElement, "contextmenu") is "none"
</ins><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "copy") should be none. Was script: target; content: none.
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "cut") should be none. Was script: target; content: none.
</span><del>-FAIL testElementAttribute(nonHTMLElement, "dblclick") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "drag") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "dragend") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "dragenter") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "dragleave") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "dragover") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "dragstart") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "drop") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "durationchange") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "emptied") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "ended") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "error") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "focus") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "dblclick") is "none"
+PASS testElementAttribute(nonHTMLElement, "drag") is "none"
+PASS testElementAttribute(nonHTMLElement, "dragend") is "none"
+PASS testElementAttribute(nonHTMLElement, "dragenter") is "none"
+PASS testElementAttribute(nonHTMLElement, "dragleave") is "none"
+PASS testElementAttribute(nonHTMLElement, "dragover") is "none"
+PASS testElementAttribute(nonHTMLElement, "dragstart") is "none"
+PASS testElementAttribute(nonHTMLElement, "drop") is "none"
+PASS testElementAttribute(nonHTMLElement, "durationchange") is "none"
+PASS testElementAttribute(nonHTMLElement, "emptied") is "none"
+PASS testElementAttribute(nonHTMLElement, "ended") is "none"
+PASS testElementAttribute(nonHTMLElement, "error") is "none"
+PASS testElementAttribute(nonHTMLElement, "focus") is "none"
</ins><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "focusin") should be none. Was script: target; content: none.
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "focusout") should be none. Was script: target; content: none.
</span><span class="cx"> PASS testElementAttribute(nonHTMLElement, "hashchange") is "none"
</span><del>-FAIL testElementAttribute(nonHTMLElement, "input") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "invalid") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "keydown") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "keypress") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "keyup") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "load") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "loadeddata") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "loadedmetadata") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "loadstart") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "input") is "none"
+PASS testElementAttribute(nonHTMLElement, "invalid") is "none"
+PASS testElementAttribute(nonHTMLElement, "keydown") is "none"
+PASS testElementAttribute(nonHTMLElement, "keypress") is "none"
+PASS testElementAttribute(nonHTMLElement, "keyup") is "none"
+PASS testElementAttribute(nonHTMLElement, "load") is "none"
+PASS testElementAttribute(nonHTMLElement, "loadeddata") is "none"
+PASS testElementAttribute(nonHTMLElement, "loadedmetadata") is "none"
+PASS testElementAttribute(nonHTMLElement, "loadstart") is "none"
</ins><span class="cx"> PASS testElementAttribute(nonHTMLElement, "message") is "none"
</span><del>-FAIL testElementAttribute(nonHTMLElement, "mousedown") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "mouseenter") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "mouseleave") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "mousemove") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "mouseout") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "mouseover") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "mouseup") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "mousewheel") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "mousedown") is "none"
+PASS testElementAttribute(nonHTMLElement, "mouseenter") is "none"
+PASS testElementAttribute(nonHTMLElement, "mouseleave") is "none"
+PASS testElementAttribute(nonHTMLElement, "mousemove") is "none"
+PASS testElementAttribute(nonHTMLElement, "mouseout") is "none"
+PASS testElementAttribute(nonHTMLElement, "mouseover") is "none"
+PASS testElementAttribute(nonHTMLElement, "mouseup") is "none"
+PASS testElementAttribute(nonHTMLElement, "mousewheel") is "none"
</ins><span class="cx"> PASS testElementAttribute(nonHTMLElement, "noneventname") is "none"
</span><span class="cx"> PASS testElementAttribute(nonHTMLElement, "offline") is "none"
</span><span class="cx"> PASS testElementAttribute(nonHTMLElement, "online") is "none"
</span><span class="lines">@@ -911,36 +911,36 @@
</span><span class="cx"> PASS testElementAttribute(nonHTMLElement, "pagehide") is "none"
</span><span class="cx"> PASS testElementAttribute(nonHTMLElement, "pageshow") is "none"
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "paste") should be none. Was script: target; content: none.
</span><del>-FAIL testElementAttribute(nonHTMLElement, "pause") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "play") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "playing") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "pause") is "none"
+PASS testElementAttribute(nonHTMLElement, "play") is "none"
+PASS testElementAttribute(nonHTMLElement, "playing") is "none"
</ins><span class="cx"> PASS testElementAttribute(nonHTMLElement, "popstate") is "none"
</span><del>-FAIL testElementAttribute(nonHTMLElement, "progress") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "ratechange") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "progress") is "none"
+PASS testElementAttribute(nonHTMLElement, "ratechange") is "none"
</ins><span class="cx"> PASS testElementAttribute(nonHTMLElement, "readystatechange") is "none"
</span><del>-FAIL testElementAttribute(nonHTMLElement, "reset") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "resize") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "scroll") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "search") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "seeked") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "seeking") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "select") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "reset") is "none"
+PASS testElementAttribute(nonHTMLElement, "resize") is "none"
+PASS testElementAttribute(nonHTMLElement, "scroll") is "none"
+PASS testElementAttribute(nonHTMLElement, "search") is "none"
+PASS testElementAttribute(nonHTMLElement, "seeked") is "none"
+PASS testElementAttribute(nonHTMLElement, "seeking") is "none"
+PASS testElementAttribute(nonHTMLElement, "select") is "none"
</ins><span class="cx"> PASS testElementAttribute(nonHTMLElement, "selectionchange") is "none"
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "selectstart") should be none. Was script: target; content: none.
</span><del>-FAIL testElementAttribute(nonHTMLElement, "stalled") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "stalled") is "none"
</ins><span class="cx"> PASS testElementAttribute(nonHTMLElement, "storage") is "none"
</span><del>-FAIL testElementAttribute(nonHTMLElement, "submit") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "suspend") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "timeupdate") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "submit") is "none"
+PASS testElementAttribute(nonHTMLElement, "suspend") is "none"
+PASS testElementAttribute(nonHTMLElement, "timeupdate") is "none"
</ins><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "transitionend") should be none. Was script: target; content: none.
</span><span class="cx"> PASS testElementAttribute(nonHTMLElement, "unload") is "none"
</span><del>-FAIL testElementAttribute(nonHTMLElement, "volumechange") should be none. Was script: target; content: none.
-FAIL testElementAttribute(nonHTMLElement, "waiting") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "volumechange") is "none"
+PASS testElementAttribute(nonHTMLElement, "waiting") is "none"
</ins><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "webkitanimationend") should be none. Was script: target; content: none.
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "webkitanimationiteration") should be none. Was script: target; content: none.
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "webkitanimationstart") should be none. Was script: target; content: none.
</span><span class="cx"> FAIL testElementAttribute(nonHTMLElement, "webkittransitionend") should be none. Was script: target; content: none.
</span><del>-FAIL testElementAttribute(nonHTMLElement, "wheel") should be none. Was script: target; content: none.
</del><ins>+PASS testElementAttribute(nonHTMLElement, "wheel") is "none"
</ins><span class="cx">
</span><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (202538 => 202539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-06-28 04:04:48 UTC (rev 202538)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-06-28 05:10:30 UTC (rev 202539)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2016-06-27 Chris Dumez <cdumez@apple.com>
+
+ HTMLElement / SVGElement should implement GlobalEventHandlers, not Element
+ https://bugs.webkit.org/show_bug.cgi?id=159191
+ <rdar://problem/27019299>
+
+ Reviewed by Ryosuke Niwa.
+
+ Rebaseline test now that more checks are passing.
+
+ * web-platform-tests/html/dom/interfaces-expected.txt:
+
</ins><span class="cx"> 2016-06-26 Youenn Fablet <youennf@gmail.com>
</span><span class="cx">
</span><span class="cx"> Refreshing WPT tests up to 12b7800
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt (202538 => 202539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-06-28 04:04:48 UTC (rev 202538)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-06-28 05:10:30 UTC (rev 202539)
</span><span class="lines">@@ -1149,69 +1149,69 @@
</span><span class="cx"> FAIL HTMLElement interface: attribute commandHidden assert_true: The prototype object must have a property "commandHidden" expected true got false
</span><span class="cx"> FAIL HTMLElement interface: attribute commandDisabled assert_true: The prototype object must have a property "commandDisabled" expected true got false
</span><span class="cx"> FAIL HTMLElement interface: attribute commandChecked assert_true: The prototype object must have a property "commandChecked" expected true got false
</span><del>-FAIL HTMLElement interface: attribute onabort assert_own_property: expected property "onabort" missing
</del><ins>+PASS HTMLElement interface: attribute onabort
</ins><span class="cx"> FAIL HTMLElement interface: attribute onautocomplete assert_true: The prototype object must have a property "onautocomplete" expected true got false
</span><span class="cx"> FAIL HTMLElement interface: attribute onautocompleteerror assert_true: The prototype object must have a property "onautocompleteerror" expected true got false
</span><del>-FAIL HTMLElement interface: attribute onblur assert_own_property: expected property "onblur" missing
</del><ins>+PASS HTMLElement interface: attribute onblur
</ins><span class="cx"> FAIL HTMLElement interface: attribute oncancel assert_true: The prototype object must have a property "oncancel" expected true got false
</span><del>-FAIL HTMLElement interface: attribute oncanplay assert_own_property: expected property "oncanplay" missing
-FAIL HTMLElement interface: attribute oncanplaythrough assert_own_property: expected property "oncanplaythrough" missing
-FAIL HTMLElement interface: attribute onchange assert_own_property: expected property "onchange" missing
-FAIL HTMLElement interface: attribute onclick assert_own_property: expected property "onclick" missing
</del><ins>+PASS HTMLElement interface: attribute oncanplay
+PASS HTMLElement interface: attribute oncanplaythrough
+PASS HTMLElement interface: attribute onchange
+PASS HTMLElement interface: attribute onclick
</ins><span class="cx"> FAIL HTMLElement interface: attribute onclose assert_true: The prototype object must have a property "onclose" expected true got false
</span><del>-FAIL HTMLElement interface: attribute oncontextmenu assert_own_property: expected property "oncontextmenu" missing
</del><ins>+PASS HTMLElement interface: attribute oncontextmenu
</ins><span class="cx"> FAIL HTMLElement interface: attribute oncuechange assert_true: The prototype object must have a property "oncuechange" expected true got false
</span><del>-FAIL HTMLElement interface: attribute ondblclick assert_own_property: expected property "ondblclick" missing
-FAIL HTMLElement interface: attribute ondrag assert_own_property: expected property "ondrag" missing
-FAIL HTMLElement interface: attribute ondragend assert_own_property: expected property "ondragend" missing
-FAIL HTMLElement interface: attribute ondragenter assert_own_property: expected property "ondragenter" missing
</del><ins>+PASS HTMLElement interface: attribute ondblclick
+PASS HTMLElement interface: attribute ondrag
+PASS HTMLElement interface: attribute ondragend
+PASS HTMLElement interface: attribute ondragenter
</ins><span class="cx"> FAIL HTMLElement interface: attribute ondragexit assert_true: The prototype object must have a property "ondragexit" expected true got false
</span><del>-FAIL HTMLElement interface: attribute ondragleave assert_own_property: expected property "ondragleave" missing
-FAIL HTMLElement interface: attribute ondragover assert_own_property: expected property "ondragover" missing
-FAIL HTMLElement interface: attribute ondragstart assert_own_property: expected property "ondragstart" missing
-FAIL HTMLElement interface: attribute ondrop assert_own_property: expected property "ondrop" missing
-FAIL HTMLElement interface: attribute ondurationchange assert_own_property: expected property "ondurationchange" missing
-FAIL HTMLElement interface: attribute onemptied assert_own_property: expected property "onemptied" missing
-FAIL HTMLElement interface: attribute onended assert_own_property: expected property "onended" missing
-FAIL HTMLElement interface: attribute onerror assert_own_property: expected property "onerror" missing
-FAIL HTMLElement interface: attribute onfocus assert_own_property: expected property "onfocus" missing
-FAIL HTMLElement interface: attribute oninput assert_own_property: expected property "oninput" missing
-FAIL HTMLElement interface: attribute oninvalid assert_own_property: expected property "oninvalid" missing
-FAIL HTMLElement interface: attribute onkeydown assert_own_property: expected property "onkeydown" missing
-FAIL HTMLElement interface: attribute onkeypress assert_own_property: expected property "onkeypress" missing
-FAIL HTMLElement interface: attribute onkeyup assert_own_property: expected property "onkeyup" missing
-FAIL HTMLElement interface: attribute onload assert_own_property: expected property "onload" missing
-FAIL HTMLElement interface: attribute onloadeddata assert_own_property: expected property "onloadeddata" missing
-FAIL HTMLElement interface: attribute onloadedmetadata assert_own_property: expected property "onloadedmetadata" missing
-FAIL HTMLElement interface: attribute onloadstart assert_own_property: expected property "onloadstart" missing
-FAIL HTMLElement interface: attribute onmousedown assert_own_property: expected property "onmousedown" missing
-FAIL HTMLElement interface: attribute onmouseenter assert_own_property: expected property "onmouseenter" missing
-FAIL HTMLElement interface: attribute onmouseleave assert_own_property: expected property "onmouseleave" missing
-FAIL HTMLElement interface: attribute onmousemove assert_own_property: expected property "onmousemove" missing
-FAIL HTMLElement interface: attribute onmouseout assert_own_property: expected property "onmouseout" missing
-FAIL HTMLElement interface: attribute onmouseover assert_own_property: expected property "onmouseover" missing
-FAIL HTMLElement interface: attribute onmouseup assert_own_property: expected property "onmouseup" missing
-FAIL HTMLElement interface: attribute onmousewheel assert_own_property: expected property "onmousewheel" missing
-FAIL HTMLElement interface: attribute onpause assert_own_property: expected property "onpause" missing
-FAIL HTMLElement interface: attribute onplay assert_own_property: expected property "onplay" missing
-FAIL HTMLElement interface: attribute onplaying assert_own_property: expected property "onplaying" missing
-FAIL HTMLElement interface: attribute onprogress assert_own_property: expected property "onprogress" missing
-FAIL HTMLElement interface: attribute onratechange assert_own_property: expected property "onratechange" missing
-FAIL HTMLElement interface: attribute onreset assert_own_property: expected property "onreset" missing
-FAIL HTMLElement interface: attribute onresize assert_own_property: expected property "onresize" missing
-FAIL HTMLElement interface: attribute onscroll assert_own_property: expected property "onscroll" missing
-FAIL HTMLElement interface: attribute onseeked assert_own_property: expected property "onseeked" missing
-FAIL HTMLElement interface: attribute onseeking assert_own_property: expected property "onseeking" missing
-FAIL HTMLElement interface: attribute onselect assert_own_property: expected property "onselect" missing
</del><ins>+PASS HTMLElement interface: attribute ondragleave
+PASS HTMLElement interface: attribute ondragover
+PASS HTMLElement interface: attribute ondragstart
+PASS HTMLElement interface: attribute ondrop
+PASS HTMLElement interface: attribute ondurationchange
+PASS HTMLElement interface: attribute onemptied
+PASS HTMLElement interface: attribute onended
+PASS HTMLElement interface: attribute onerror
+PASS HTMLElement interface: attribute onfocus
+PASS HTMLElement interface: attribute oninput
+PASS HTMLElement interface: attribute oninvalid
+PASS HTMLElement interface: attribute onkeydown
+PASS HTMLElement interface: attribute onkeypress
+PASS HTMLElement interface: attribute onkeyup
+PASS HTMLElement interface: attribute onload
+PASS HTMLElement interface: attribute onloadeddata
+PASS HTMLElement interface: attribute onloadedmetadata
+PASS HTMLElement interface: attribute onloadstart
+PASS HTMLElement interface: attribute onmousedown
+PASS HTMLElement interface: attribute onmouseenter
+PASS HTMLElement interface: attribute onmouseleave
+PASS HTMLElement interface: attribute onmousemove
+PASS HTMLElement interface: attribute onmouseout
+PASS HTMLElement interface: attribute onmouseover
+PASS HTMLElement interface: attribute onmouseup
+PASS HTMLElement interface: attribute onmousewheel
+PASS HTMLElement interface: attribute onpause
+PASS HTMLElement interface: attribute onplay
+PASS HTMLElement interface: attribute onplaying
+PASS HTMLElement interface: attribute onprogress
+PASS HTMLElement interface: attribute onratechange
+PASS HTMLElement interface: attribute onreset
+PASS HTMLElement interface: attribute onresize
+PASS HTMLElement interface: attribute onscroll
+PASS HTMLElement interface: attribute onseeked
+PASS HTMLElement interface: attribute onseeking
+PASS HTMLElement interface: attribute onselect
</ins><span class="cx"> FAIL HTMLElement interface: attribute onshow assert_true: The prototype object must have a property "onshow" expected true got false
</span><span class="cx"> FAIL HTMLElement interface: attribute onsort assert_true: The prototype object must have a property "onsort" expected true got false
</span><del>-FAIL HTMLElement interface: attribute onstalled assert_own_property: expected property "onstalled" missing
-FAIL HTMLElement interface: attribute onsubmit assert_own_property: expected property "onsubmit" missing
-FAIL HTMLElement interface: attribute onsuspend assert_own_property: expected property "onsuspend" missing
-FAIL HTMLElement interface: attribute ontimeupdate assert_own_property: expected property "ontimeupdate" missing
</del><ins>+PASS HTMLElement interface: attribute onstalled
+PASS HTMLElement interface: attribute onsubmit
+PASS HTMLElement interface: attribute onsuspend
+PASS HTMLElement interface: attribute ontimeupdate
</ins><span class="cx"> FAIL HTMLElement interface: attribute ontoggle assert_true: The prototype object must have a property "ontoggle" expected true got false
</span><del>-FAIL HTMLElement interface: attribute onvolumechange assert_own_property: expected property "onvolumechange" missing
-FAIL HTMLElement interface: attribute onwaiting assert_own_property: expected property "onwaiting" missing
</del><ins>+PASS HTMLElement interface: attribute onvolumechange
+PASS HTMLElement interface: attribute onwaiting
</ins><span class="cx"> PASS HTMLElement must be primary interface of document.createElement("noscript")
</span><span class="cx"> PASS Stringification of document.createElement("noscript")
</span><span class="cx"> PASS HTMLElement interface: document.createElement("noscript") must inherit property "title" with the proper type (0)
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomdomstaticpropertyforiniterationexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt (202538 => 202539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt        2016-06-28 04:04:48 UTC (rev 202538)
+++ trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt        2016-06-28 05:10:30 UTC (rev 202539)
</span><span class="lines">@@ -45,32 +45,6 @@
</span><span class="cx"> PASS a["contentEditable"] is inherit
</span><span class="cx"> PASS a["isContentEditable"] is false
</span><span class="cx"> PASS a["spellcheck"] is true
</span><del>-PASS a["tagName"] is A
-PASS a["attributes"] is [object NamedNodeMap]
-PASS a["style"] is [object CSSStyleDeclaration]
-PASS a["id"] is foo
-PASS a["offsetLeft"] is 8
-PASS a["offsetTop"] is 789
-PASS a["offsetWidth"] is 40
-PASS a["offsetHeight"] is 18
-PASS a["clientLeft"] is 0
-PASS a["clientTop"] is 0
-PASS a["clientWidth"] is 0
-PASS a["clientHeight"] is 0
-PASS a["scrollLeft"] is 0
-PASS a["scrollTop"] is 0
-PASS a["scrollWidth"] is 0
-PASS a["scrollHeight"] is 0
-PASS a["offsetParent"] is [object HTMLBodyElement]
-PASS a["innerHTML"] is nerget
-PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a>
-PASS a["className"] is
-PASS a["classList"] is
-PASS a["dataset"] is [object DOMStringMap]
-PASS a["uiactions"] is
-PASS a["webkitRegionOverset"] is undefined
-PASS a["shadowRoot"] is null
-PASS a["slot"] is
</del><span class="cx"> PASS a["onabort"] is null
</span><span class="cx"> PASS a["onblur"] is null
</span><span class="cx"> PASS a["oncanplay"] is null
</span><span class="lines">@@ -125,6 +99,32 @@
</span><span class="cx"> PASS a["ontimeupdate"] is null
</span><span class="cx"> PASS a["onvolumechange"] is null
</span><span class="cx"> PASS a["onwaiting"] is null
</span><ins>+PASS a["tagName"] is A
+PASS a["attributes"] is [object NamedNodeMap]
+PASS a["style"] is [object CSSStyleDeclaration]
+PASS a["id"] is foo
+PASS a["offsetLeft"] is 8
+PASS a["offsetTop"] is 1599
+PASS a["offsetWidth"] is 40
+PASS a["offsetHeight"] is 18
+PASS a["clientLeft"] is 0
+PASS a["clientTop"] is 0
+PASS a["clientWidth"] is 0
+PASS a["clientHeight"] is 0
+PASS a["scrollLeft"] is 0
+PASS a["scrollTop"] is 0
+PASS a["scrollWidth"] is 0
+PASS a["scrollHeight"] is 0
+PASS a["offsetParent"] is [object HTMLBodyElement]
+PASS a["innerHTML"] is nerget
+PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a>
+PASS a["className"] is
+PASS a["classList"] is
+PASS a["dataset"] is [object DOMStringMap]
+PASS a["uiactions"] is
+PASS a["webkitRegionOverset"] is undefined
+PASS a["shadowRoot"] is null
+PASS a["slot"] is
</ins><span class="cx"> PASS a["previousElementSibling"] is [object HTMLDivElement]
</span><span class="cx"> PASS a["nextElementSibling"] is [object HTMLScriptElement]
</span><span class="cx"> PASS a["assignedSlot"] is null
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (202538 => 202539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-06-28 04:04:48 UTC (rev 202538)
+++ trunk/Source/WebCore/ChangeLog        2016-06-28 05:10:30 UTC (rev 202539)
</span><span class="lines">@@ -1,3 +1,25 @@
</span><ins>+2016-06-27 Chris Dumez <cdumez@apple.com>
+
+ HTMLElement / SVGElement should implement GlobalEventHandlers, not Element
+ https://bugs.webkit.org/show_bug.cgi?id=159191
+ <rdar://problem/27019299>
+
+ Reviewed by Ryosuke Niwa.
+
+ HTMLElement / SVGElement should implement GlobalEventHandlers, not Element:
+ - https://html.spec.whatwg.org/multipage/dom.html#htmlelement
+ - https://www.w3.org/TR/SVG2/types.html#InterfaceSVGElement
+
+ Firefox and Chrome behave as per the specification.
+
+ Fixing this also fixes rendering on http://survey123.arcgis.com/.
+
+ No new tests, covered by existing tests that were rebaselined.
+
+ * dom/Element.idl:
+ * html/HTMLElement.idl:
+ * svg/SVGElement.idl:
+
</ins><span class="cx"> 2016-06-27 Myles C. Maxfield <mmaxfield@apple.com>
</span><span class="cx">
</span><span class="cx"> [macOS] Test gardening: Generic font families should not map to fonts which aren't installed
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.idl (202538 => 202539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.idl        2016-06-28 04:04:48 UTC (rev 202538)
+++ trunk/Source/WebCore/dom/Element.idl        2016-06-28 05:10:30 UTC (rev 202539)
</span><span class="lines">@@ -243,4 +243,3 @@
</span><span class="cx"> Element implements ChildNode;
</span><span class="cx"> Element implements ParentNode;
</span><span class="cx"> Element implements NonDocumentTypeChildNode;
</span><del>-Element implements GlobalEventHandlers;
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLElement.idl (202538 => 202539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLElement.idl        2016-06-28 04:04:48 UTC (rev 202538)
+++ trunk/Source/WebCore/html/HTMLElement.idl        2016-06-28 05:10:30 UTC (rev 202539)
</span><span class="lines">@@ -68,3 +68,5 @@
</span><span class="cx"> readonly attribute DOMString titleDisplayString;
</span><span class="cx"> #endif
</span><span class="cx"> };
</span><ins>+
+HTMLElement implements GlobalEventHandlers;
</ins></span></pre></div>
<a id="trunkSourceWebCoresvgSVGElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGElement.idl (202538 => 202539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGElement.idl        2016-06-28 04:04:48 UTC (rev 202538)
+++ trunk/Source/WebCore/svg/SVGElement.idl        2016-06-28 05:10:30 UTC (rev 202539)
</span><span class="lines">@@ -47,3 +47,4 @@
</span><span class="cx"> #endif
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+SVGElement implements GlobalEventHandlers;
</ins></span></pre>
</div>
</div>
</body>
</html>