<!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>[196793] 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/196793">196793</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2016-02-18 18:45:50 -0800 (Thu, 18 Feb 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>HTMLTableHeaderCellElement.scope should only return known values
https://bugs.webkit.org/show_bug.cgi?id=154423
&lt;rdar://problem/24731018&gt;

Reviewed by Ryosuke Niwa.

LayoutTests/imported/w3c:

Rebaseline now that more checks are passing.

* web-platform-tests/html/dom/reflection-tabular-expected.txt:

Source/WebCore:

HTMLTableHeaderCellElement.scope should only return known values as per:
- https://html.spec.whatwg.org/multipage/tables.html#dom-th-scope

Known values are document here:
- https://html.spec.whatwg.org/multipage/tables.html#attr-th-scope

No new tests, already covered by existing test.

* CMakeLists.txt:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* html/HTMLElementsAllInOne.cpp:
* html/HTMLTableHeaderCellElement.cpp: Copied from Source/WebCore/html/HTMLTableHeaderCellElement.h.
(WebCore::HTMLTableHeaderCellElement::scope):
(WebCore::HTMLTableHeaderCellElement::setScope):
* html/HTMLTableHeaderCellElement.h:
* html/HTMLTableHeaderCellElement.idl:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomreflectiontabularexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-tabular-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxproj">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLElementsAllInOnecpp">trunk/Source/WebCore/html/HTMLElementsAllInOne.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableHeaderCellElementh">trunk/Source/WebCore/html/HTMLTableHeaderCellElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableHeaderCellElementidl">trunk/Source/WebCore/html/HTMLTableHeaderCellElement.idl</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorehtmlHTMLTableHeaderCellElementcpp">trunk/Source/WebCore/html/HTMLTableHeaderCellElement.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (196792 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-02-19 02:44:34 UTC (rev 196792)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -1,5 +1,17 @@
</span><span class="cx"> 2016-02-18  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        HTMLTableHeaderCellElement.scope should only return known values
+        https://bugs.webkit.org/show_bug.cgi?id=154423
+        &lt;rdar://problem/24731018&gt;
+
+        Reviewed by Ryosuke Niwa.
+
+        Rebaseline now that more checks are passing.
+
+        * web-platform-tests/html/dom/reflection-tabular-expected.txt:
+
+2016-02-18  Chris Dumez  &lt;cdumez@apple.com&gt;
+
</ins><span class="cx">         [Unforgeable] operations should not be writable as per Web IDL
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=154396
</span><span class="cx">         &lt;rdar://problem/24721063&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomreflectiontabularexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-tabular-expected.txt (196792 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-tabular-expected.txt        2016-02-19 02:44:34 UTC (rev 196792)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-tabular-expected.txt        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -12610,177 +12610,177 @@
</span><span class="cx"> PASS th.scope: setAttribute() to &quot;&quot; followed by getAttribute() 
</span><span class="cx"> PASS th.scope: setAttribute() to &quot;&quot; followed by IDL get 
</span><span class="cx"> PASS th.scope: setAttribute() to &quot; \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo &quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot; \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo &quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot; \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo &quot;
</del><ins>+PASS th.scope: setAttribute() to &quot; \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo &quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to undefined followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to undefined followed by IDL get assert_equals: expected &quot;&quot; but got &quot;undefined&quot;
</del><ins>+PASS th.scope: setAttribute() to undefined followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to 7 followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to 7 followed by IDL get assert_equals: expected &quot;&quot; but got &quot;7&quot;
</del><ins>+PASS th.scope: setAttribute() to 7 followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to 1.5 followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to 1.5 followed by IDL get assert_equals: expected &quot;&quot; but got &quot;1.5&quot;
</del><ins>+PASS th.scope: setAttribute() to 1.5 followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to true followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to true followed by IDL get assert_equals: expected &quot;&quot; but got &quot;true&quot;
</del><ins>+PASS th.scope: setAttribute() to true followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to false followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to false followed by IDL get assert_equals: expected &quot;&quot; but got &quot;false&quot;
</del><ins>+PASS th.scope: setAttribute() to false followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to object &quot;[object Object]&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to object &quot;[object Object]&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;[object Object]&quot;
</del><ins>+PASS th.scope: setAttribute() to object &quot;[object Object]&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to NaN followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to NaN followed by IDL get assert_equals: expected &quot;&quot; but got &quot;NaN&quot;
</del><ins>+PASS th.scope: setAttribute() to NaN followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to Infinity followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to Infinity followed by IDL get assert_equals: expected &quot;&quot; but got &quot;Infinity&quot;
</del><ins>+PASS th.scope: setAttribute() to Infinity followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to -Infinity followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to -Infinity followed by IDL get assert_equals: expected &quot;&quot; but got &quot;-Infinity&quot;
</del><ins>+PASS th.scope: setAttribute() to -Infinity followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;\0&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;\0&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;\0&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;\0&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to null followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to null followed by IDL get assert_equals: expected &quot;&quot; but got &quot;null&quot;
</del><ins>+PASS th.scope: setAttribute() to null followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to object &quot;test-toString&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to object &quot;test-toString&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;test-toString&quot;
</del><ins>+PASS th.scope: setAttribute() to object &quot;test-toString&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to object &quot;test-valueOf&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to object &quot;test-valueOf&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;test-valueOf&quot;
</del><ins>+PASS th.scope: setAttribute() to object &quot;test-valueOf&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;row&quot; followed by getAttribute() 
</span><span class="cx"> PASS th.scope: setAttribute() to &quot;row&quot; followed by IDL get 
</span><span class="cx"> PASS th.scope: setAttribute() to &quot;xrow&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;xrow&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;xrow&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;xrow&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;row\0&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;row\0&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;row\0&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;row\0&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;ow&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;ow&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;ow&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;ow&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;ROW&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;ROW&quot; followed by IDL get assert_equals: expected &quot;row&quot; but got &quot;ROW&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;ROW&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;col&quot; followed by getAttribute() 
</span><span class="cx"> PASS th.scope: setAttribute() to &quot;col&quot; followed by IDL get 
</span><span class="cx"> PASS th.scope: setAttribute() to &quot;xcol&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;xcol&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;xcol&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;xcol&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;col\0&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;col\0&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;col\0&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;col\0&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;ol&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;ol&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;ol&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;ol&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;COL&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;COL&quot; followed by IDL get assert_equals: expected &quot;col&quot; but got &quot;COL&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;COL&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;rowgroup&quot; followed by getAttribute() 
</span><span class="cx"> PASS th.scope: setAttribute() to &quot;rowgroup&quot; followed by IDL get 
</span><span class="cx"> PASS th.scope: setAttribute() to &quot;xrowgroup&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;xrowgroup&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;xrowgroup&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;xrowgroup&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;rowgroup\0&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;rowgroup\0&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;rowgroup\0&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;rowgroup\0&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;owgroup&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;owgroup&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;owgroup&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;owgroup&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;ROWGROUP&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;ROWGROUP&quot; followed by IDL get assert_equals: expected &quot;rowgroup&quot; but got &quot;ROWGROUP&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;ROWGROUP&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;colgroup&quot; followed by getAttribute() 
</span><span class="cx"> PASS th.scope: setAttribute() to &quot;colgroup&quot; followed by IDL get 
</span><span class="cx"> PASS th.scope: setAttribute() to &quot;xcolgroup&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;xcolgroup&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;xcolgroup&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;xcolgroup&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;colgroup\0&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;colgroup\0&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;colgroup\0&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;colgroup\0&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;olgroup&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;olgroup&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;olgroup&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;olgroup&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: setAttribute() to &quot;COLGROUP&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: setAttribute() to &quot;COLGROUP&quot; followed by IDL get assert_equals: expected &quot;colgroup&quot; but got &quot;COLGROUP&quot;
</del><ins>+PASS th.scope: setAttribute() to &quot;COLGROUP&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;&quot; followed by getAttribute() 
</span><span class="cx"> PASS th.scope: IDL set to &quot;&quot; followed by IDL get 
</span><span class="cx"> PASS th.scope: IDL set to &quot; \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo &quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot; \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo &quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot; \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo &quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot; \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo &quot;
</del><ins>+PASS th.scope: IDL set to &quot; \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo &quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to undefined should not throw 
</span><span class="cx"> PASS th.scope: IDL set to undefined followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to undefined followed by IDL get assert_equals: expected &quot;&quot; but got &quot;undefined&quot;
</del><ins>+PASS th.scope: IDL set to undefined followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to 7 should not throw 
</span><span class="cx"> PASS th.scope: IDL set to 7 followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to 7 followed by IDL get assert_equals: expected &quot;&quot; but got &quot;7&quot;
</del><ins>+PASS th.scope: IDL set to 7 followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to 1.5 should not throw 
</span><span class="cx"> PASS th.scope: IDL set to 1.5 followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to 1.5 followed by IDL get assert_equals: expected &quot;&quot; but got &quot;1.5&quot;
</del><ins>+PASS th.scope: IDL set to 1.5 followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to true should not throw 
</span><span class="cx"> PASS th.scope: IDL set to true followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to true followed by IDL get assert_equals: expected &quot;&quot; but got &quot;true&quot;
</del><ins>+PASS th.scope: IDL set to true followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to false should not throw 
</span><span class="cx"> PASS th.scope: IDL set to false followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to false followed by IDL get assert_equals: expected &quot;&quot; but got &quot;false&quot;
</del><ins>+PASS th.scope: IDL set to false followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to object &quot;[object Object]&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to object &quot;[object Object]&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to object &quot;[object Object]&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;[object Object]&quot;
</del><ins>+PASS th.scope: IDL set to object &quot;[object Object]&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to NaN should not throw 
</span><span class="cx"> PASS th.scope: IDL set to NaN followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to NaN followed by IDL get assert_equals: expected &quot;&quot; but got &quot;NaN&quot;
</del><ins>+PASS th.scope: IDL set to NaN followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to Infinity should not throw 
</span><span class="cx"> PASS th.scope: IDL set to Infinity followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to Infinity followed by IDL get assert_equals: expected &quot;&quot; but got &quot;Infinity&quot;
</del><ins>+PASS th.scope: IDL set to Infinity followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to -Infinity should not throw 
</span><span class="cx"> PASS th.scope: IDL set to -Infinity followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to -Infinity followed by IDL get assert_equals: expected &quot;&quot; but got &quot;-Infinity&quot;
</del><ins>+PASS th.scope: IDL set to -Infinity followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;\0&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;\0&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;\0&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;\0&quot;
</del><ins>+PASS th.scope: IDL set to &quot;\0&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to null should not throw 
</span><del>-FAIL th.scope: IDL set to null followed by IDL get assert_equals: expected &quot;&quot; but got &quot;null&quot;
</del><ins>+PASS th.scope: IDL set to null followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to object &quot;test-toString&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to object &quot;test-toString&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to object &quot;test-toString&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;test-toString&quot;
</del><ins>+PASS th.scope: IDL set to object &quot;test-toString&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to object &quot;test-valueOf&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to object &quot;test-valueOf&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to object &quot;test-valueOf&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;test-valueOf&quot;
</del><ins>+PASS th.scope: IDL set to object &quot;test-valueOf&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;row&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;row&quot; followed by getAttribute() 
</span><span class="cx"> PASS th.scope: IDL set to &quot;row&quot; followed by IDL get 
</span><span class="cx"> PASS th.scope: IDL set to &quot;xrow&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;xrow&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;xrow&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;xrow&quot;
</del><ins>+PASS th.scope: IDL set to &quot;xrow&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;row\0&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;row\0&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;row\0&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;row\0&quot;
</del><ins>+PASS th.scope: IDL set to &quot;row\0&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;ow&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;ow&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;ow&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;ow&quot;
</del><ins>+PASS th.scope: IDL set to &quot;ow&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;ROW&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;ROW&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;ROW&quot; followed by IDL get assert_equals: expected &quot;row&quot; but got &quot;ROW&quot;
</del><ins>+PASS th.scope: IDL set to &quot;ROW&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;col&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;col&quot; followed by getAttribute() 
</span><span class="cx"> PASS th.scope: IDL set to &quot;col&quot; followed by IDL get 
</span><span class="cx"> PASS th.scope: IDL set to &quot;xcol&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;xcol&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;xcol&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;xcol&quot;
</del><ins>+PASS th.scope: IDL set to &quot;xcol&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;col\0&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;col\0&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;col\0&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;col\0&quot;
</del><ins>+PASS th.scope: IDL set to &quot;col\0&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;ol&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;ol&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;ol&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;ol&quot;
</del><ins>+PASS th.scope: IDL set to &quot;ol&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;COL&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;COL&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;COL&quot; followed by IDL get assert_equals: expected &quot;col&quot; but got &quot;COL&quot;
</del><ins>+PASS th.scope: IDL set to &quot;COL&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;rowgroup&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;rowgroup&quot; followed by getAttribute() 
</span><span class="cx"> PASS th.scope: IDL set to &quot;rowgroup&quot; followed by IDL get 
</span><span class="cx"> PASS th.scope: IDL set to &quot;xrowgroup&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;xrowgroup&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;xrowgroup&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;xrowgroup&quot;
</del><ins>+PASS th.scope: IDL set to &quot;xrowgroup&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;rowgroup\0&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;rowgroup\0&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;rowgroup\0&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;rowgroup\0&quot;
</del><ins>+PASS th.scope: IDL set to &quot;rowgroup\0&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;owgroup&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;owgroup&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;owgroup&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;owgroup&quot;
</del><ins>+PASS th.scope: IDL set to &quot;owgroup&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;ROWGROUP&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;ROWGROUP&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;ROWGROUP&quot; followed by IDL get assert_equals: expected &quot;rowgroup&quot; but got &quot;ROWGROUP&quot;
</del><ins>+PASS th.scope: IDL set to &quot;ROWGROUP&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;colgroup&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;colgroup&quot; followed by getAttribute() 
</span><span class="cx"> PASS th.scope: IDL set to &quot;colgroup&quot; followed by IDL get 
</span><span class="cx"> PASS th.scope: IDL set to &quot;xcolgroup&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;xcolgroup&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;xcolgroup&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;xcolgroup&quot;
</del><ins>+PASS th.scope: IDL set to &quot;xcolgroup&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;colgroup\0&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;colgroup\0&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;colgroup\0&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;colgroup\0&quot;
</del><ins>+PASS th.scope: IDL set to &quot;colgroup\0&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;olgroup&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;olgroup&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;olgroup&quot; followed by IDL get assert_equals: expected &quot;&quot; but got &quot;olgroup&quot;
</del><ins>+PASS th.scope: IDL set to &quot;olgroup&quot; followed by IDL get 
</ins><span class="cx"> PASS th.scope: IDL set to &quot;COLGROUP&quot; should not throw 
</span><span class="cx"> PASS th.scope: IDL set to &quot;COLGROUP&quot; followed by getAttribute() 
</span><del>-FAIL th.scope: IDL set to &quot;COLGROUP&quot; followed by IDL get assert_equals: expected &quot;colgroup&quot; but got &quot;COLGROUP&quot;
</del><ins>+PASS th.scope: IDL set to &quot;COLGROUP&quot; followed by IDL get 
</ins><span class="cx"> PASS th.abbr: typeof IDL attribute 
</span><span class="cx"> PASS th.abbr: IDL get with DOM attribute unset 
</span><span class="cx"> PASS th.abbr: setAttribute() to &quot;&quot; followed by getAttribute() 
</span></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (196792 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2016-02-19 02:44:34 UTC (rev 196792)
+++ trunk/Source/WebCore/CMakeLists.txt        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -1729,6 +1729,7 @@
</span><span class="cx">     html/HTMLTableCellElement.cpp
</span><span class="cx">     html/HTMLTableColElement.cpp
</span><span class="cx">     html/HTMLTableElement.cpp
</span><ins>+    html/HTMLTableHeaderCellElement.cpp
</ins><span class="cx">     html/HTMLTablePartElement.cpp
</span><span class="cx">     html/HTMLTableRowElement.cpp
</span><span class="cx">     html/HTMLTableRowsCollection.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (196792 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-02-19 02:44:34 UTC (rev 196792)
+++ trunk/Source/WebCore/ChangeLog        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -1,3 +1,30 @@
</span><ins>+2016-02-18  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        HTMLTableHeaderCellElement.scope should only return known values
+        https://bugs.webkit.org/show_bug.cgi?id=154423
+        &lt;rdar://problem/24731018&gt;
+
+        Reviewed by Ryosuke Niwa.
+
+        HTMLTableHeaderCellElement.scope should only return known values as per:
+        - https://html.spec.whatwg.org/multipage/tables.html#dom-th-scope
+
+        Known values are document here:
+        - https://html.spec.whatwg.org/multipage/tables.html#attr-th-scope
+
+        No new tests, already covered by existing test.
+
+        * CMakeLists.txt:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+        * html/HTMLElementsAllInOne.cpp:
+        * html/HTMLTableHeaderCellElement.cpp: Copied from Source/WebCore/html/HTMLTableHeaderCellElement.h.
+        (WebCore::HTMLTableHeaderCellElement::scope):
+        (WebCore::HTMLTableHeaderCellElement::setScope):
+        * html/HTMLTableHeaderCellElement.h:
+        * html/HTMLTableHeaderCellElement.idl:
+
</ins><span class="cx"> 2016-02-18  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Extend HashCountedSet with a method to efficiently set the count of an entry
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (196792 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2016-02-19 02:44:34 UTC (rev 196792)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -17329,6 +17329,20 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\html\HTMLTableHeaderCellElement.cpp&quot;&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='DebugSuffix|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
+    &lt;/ClCompile&gt;
</ins><span class="cx">     &lt;ClCompile Include=&quot;..\html\HTMLTablePartElement.cpp&quot;&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (196792 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2016-02-19 02:44:34 UTC (rev 196792)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -3926,6 +3926,9 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\HTMLTableElement.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\html\HTMLTableHeaderCellElement.cpp&quot;&gt;
+      &lt;Filter&gt;html&lt;/Filter&gt;
+    &lt;/ClCompile&gt;
</ins><span class="cx">     &lt;ClCompile Include=&quot;..\html\HTMLTablePartElement.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (196792 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-02-19 02:44:34 UTC (rev 196792)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -1719,6 +1719,7 @@
</span><span class="cx">                 46C83EFE1A9BBE2900A79A41 /* GeoNotifier.h in Headers */ = {isa = PBXBuildFile; fileRef = 46C83EFC1A9BBE2900A79A41 /* GeoNotifier.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 46DB7D571B20FE46005651B2 /* VNodeTrackerCocoa.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46DB7D561B20FE3C005651B2 /* VNodeTrackerCocoa.cpp */; };
</span><span class="cx">                 46DBB6501AB8C96F00D9A813 /* PowerObserverMac.h in Headers */ = {isa = PBXBuildFile; fileRef = 46DBB64E1AB8C96F00D9A813 /* PowerObserverMac.h */; };
</span><ins>+                46DCFDC01C768A150025B868 /* HTMLTableHeaderCellElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46DCFDBF1C768A150025B868 /* HTMLTableHeaderCellElement.cpp */; };
</ins><span class="cx">                 46EBEA021B7D4D6500BE4941 /* CollectionTraversal.h in Headers */ = {isa = PBXBuildFile; fileRef = 46EBEA011B7D4D5D00BE4941 /* CollectionTraversal.h */; };
</span><span class="cx">                 46F3E3F91B2109000087ED13 /* VNodeTracker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46DB7D581B20FE58005651B2 /* VNodeTracker.cpp */; };
</span><span class="cx">                 46F3E3FA1B2109100087ED13 /* VNodeTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 46DB7D591B20FE58005651B2 /* VNodeTracker.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -9232,6 +9233,7 @@
</span><span class="cx">                 46DB7D581B20FE58005651B2 /* VNodeTracker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VNodeTracker.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 46DB7D591B20FE58005651B2 /* VNodeTracker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VNodeTracker.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 46DBB64E1AB8C96F00D9A813 /* PowerObserverMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PowerObserverMac.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                46DCFDBF1C768A150025B868 /* HTMLTableHeaderCellElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLTableHeaderCellElement.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 46EBEA011B7D4D5D00BE4941 /* CollectionTraversal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CollectionTraversal.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 46F2768E1B85297F005C2556 /* JSDOMNamedFlowCollectionCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMNamedFlowCollectionCustom.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 490707E41219C04300D90E51 /* ANGLEWebKitBridge.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ANGLEWebKitBridge.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -19316,6 +19318,7 @@
</span><span class="cx">                                 A871DB1A0A150BD600B12A68 /* HTMLTableElement.cpp */,
</span><span class="cx">                                 A871DB190A150BD600B12A68 /* HTMLTableElement.h */,
</span><span class="cx">                                 8555425A0AA48B1E00BA89F2 /* HTMLTableElement.idl */,
</span><ins>+                                46DCFDBF1C768A150025B868 /* HTMLTableHeaderCellElement.cpp */,
</ins><span class="cx">                                 836BAD1F1BD1CA670037356A /* HTMLTableHeaderCellElement.h */,
</span><span class="cx">                                 83FE5F1F1BD1C55E0038BEEC /* HTMLTableHeaderCellElement.idl */,
</span><span class="cx">                                 A871DB1F0A150BD600B12A68 /* HTMLTablePartElement.cpp */,
</span><span class="lines">@@ -29432,6 +29435,7 @@
</span><span class="cx">                                 85ECBEEC0AA7626900544F0B /* DOMHTMLAreaElement.mm in Sources */,
</span><span class="cx">                                 859A9C480AA5E3BD00B694B2 /* DOMHTMLBaseElement.mm in Sources */,
</span><span class="cx">                                 85ECBEEE0AA7626900544F0B /* DOMHTMLBaseFontElement.mm in Sources */,
</span><ins>+                                46DCFDC01C768A150025B868 /* HTMLTableHeaderCellElement.cpp in Sources */,
</ins><span class="cx">                                 859A9C4A0AA5E3BD00B694B2 /* DOMHTMLBodyElement.mm in Sources */,
</span><span class="cx">                                 85183B430AA6926100F19FA3 /* DOMHTMLBRElement.mm in Sources */,
</span><span class="cx">                                 85BA4CDE0AA6861B0088052D /* DOMHTMLButtonElement.mm in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLElementsAllInOnecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLElementsAllInOne.cpp (196792 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLElementsAllInOne.cpp        2016-02-19 02:44:34 UTC (rev 196792)
+++ trunk/Source/WebCore/html/HTMLElementsAllInOne.cpp        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -103,6 +103,7 @@
</span><span class="cx"> #include &quot;HTMLTableCellElement.cpp&quot;
</span><span class="cx"> #include &quot;HTMLTableColElement.cpp&quot;
</span><span class="cx"> #include &quot;HTMLTableElement.cpp&quot;
</span><ins>+#include &quot;HTMLTableHeaderCellElement.cpp&quot;
</ins><span class="cx"> #include &quot;HTMLTablePartElement.cpp&quot;
</span><span class="cx"> #include &quot;HTMLTableRowElement.cpp&quot;
</span><span class="cx"> #include &quot;HTMLTableSectionElement.cpp&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableHeaderCellElementcppfromrev196792trunkSourceWebCorehtmlHTMLTableHeaderCellElementh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/html/HTMLTableHeaderCellElement.cpp (from rev 196792, trunk/Source/WebCore/html/HTMLTableHeaderCellElement.h) (0 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableHeaderCellElement.cpp                                (rev 0)
+++ trunk/Source/WebCore/html/HTMLTableHeaderCellElement.cpp        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+/*
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;HTMLTableHeaderCellElement.h&quot;
+
+#include &quot;HTMLNames.h&quot;
+#include &lt;wtf/text/AtomicString.h&gt;
+
+namespace WebCore {
+
+const AtomicString&amp; HTMLTableHeaderCellElement::scope() const
+{
+    // https://html.spec.whatwg.org/multipage/tables.html#attr-th-scope
+    static NeverDestroyed&lt;const AtomicString&gt; row(&quot;row&quot;, AtomicString::ConstructFromLiteral);
+    static NeverDestroyed&lt;const AtomicString&gt; col(&quot;col&quot;, AtomicString::ConstructFromLiteral);
+    static NeverDestroyed&lt;const AtomicString&gt; rowgroup(&quot;rowgroup&quot;, AtomicString::ConstructFromLiteral);
+    static NeverDestroyed&lt;const AtomicString&gt; colgroup(&quot;colgroup&quot;, AtomicString::ConstructFromLiteral);
+
+    const AtomicString&amp; value = fastGetAttribute(HTMLNames::scopeAttr);
+    if (equalIgnoringASCIICase(value, row))
+        return row;
+    if (equalIgnoringASCIICase(value, col))
+        return col;
+    if (equalIgnoringASCIICase(value, rowgroup))
+        return rowgroup;
+    if (equalIgnoringASCIICase(value, colgroup))
+        return colgroup;
+    return emptyAtom;
+}
+
+void HTMLTableHeaderCellElement::setScope(const AtomicString&amp; scope)
+{
+    setAttributeWithoutSynchronization(HTMLNames::scopeAttr, scope);
+}
+
+} // namespace WebCore
</ins></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableHeaderCellElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableHeaderCellElement.h (196792 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableHeaderCellElement.h        2016-02-19 02:44:34 UTC (rev 196792)
+++ trunk/Source/WebCore/html/HTMLTableHeaderCellElement.h        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -44,6 +44,9 @@
</span><span class="cx">         return adoptRef(*new HTMLTableHeaderCellElement(tagName, document));
</span><span class="cx">     }
</span><span class="cx"> 
</span><ins>+    const AtomicString&amp; scope() const;
+    void setScope(const AtomicString&amp;);
+
</ins><span class="cx"> private:
</span><span class="cx">     using HTMLTableCellElement::HTMLTableCellElement;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableHeaderCellElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableHeaderCellElement.idl (196792 => 196793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableHeaderCellElement.idl        2016-02-19 02:44:34 UTC (rev 196792)
+++ trunk/Source/WebCore/html/HTMLTableHeaderCellElement.idl        2016-02-19 02:45:50 UTC (rev 196793)
</span><span class="lines">@@ -25,5 +25,5 @@
</span><span class="cx"> 
</span><span class="cx"> interface HTMLTableHeaderCellElement : HTMLTableCellElement {
</span><span class="cx">     [Reflect] attribute DOMString abbr;
</span><del>-    [Reflect] attribute DOMString scope;
</del><ins>+    attribute DOMString scope;
</ins><span class="cx"> };
</span></span></pre>
</div>
</div>

</body>
</html>