<!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>[171377] branches/safari-537.78-branch</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/171377">171377</a></dd>
<dt>Author</dt> <dd>dburkart@apple.com</dd>
<dt>Date</dt> <dd>2014-07-22 17:41:02 -0700 (Tue, 22 Jul 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Merge <a href="http://trac.webkit.org/projects/webkit/changeset/169475">r169475</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#branchessafari53778branchLayoutTestsChangeLog">branches/safari-537.78-branch/LayoutTests/ChangeLog</a></li>
<li><a href="#branchessafari53778branchLayoutTestscompositingpluginscompositedpluginhtml">branches/safari-537.78-branch/LayoutTests/compositing/plugins/composited-plugin.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestscompositingpluginsnobackingstorehtml">branches/safari-537.78-branch/LayoutTests/compositing/plugins/no-backing-store.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestsfastdombeforeloadflashbeforeloadhtml">branches/safari-537.78-branch/LayoutTests/fast/dom/beforeload/flash-before-load.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicy11plugintypesnotypedatahtml">branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-notype-data.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicy11plugintypesnourlblockedhtml">branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-nourl-blocked.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicyobjectsrcnourlallowedhtml">branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-allowed.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicyobjectsrcnourlblockedhtml">branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-blocked.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicyobjectsrcnoneallowedhtml">branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-none-allowed.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicyobjectsrcnoneblockedhtml">branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-none-blocked.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicyresourcesmultipleiframeplugintestjs">branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/resources/multiple-iframe-plugin-test.js</a></li>
<li><a href="#branchessafari53778branchLayoutTestshttptestssecuritymixedContentinsecureplugininiframehtml">branches/safari-537.78-branch/LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestsplatformmacpluginssupportscarboneventmodelhtml">branches/safari-537.78-branch/LayoutTests/platform/mac/plugins/supports-carbon-event-model.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestsplatformmacpluginstestpluginonnewonpainthtml">branches/safari-537.78-branch/LayoutTests/platform/mac/plugins/testplugin-onnew-onpaint.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestspluginsgetuseragentwithnullnppfromnppnewhtml">branches/safari-537.78-branch/LayoutTests/plugins/get-user-agent-with-null-npp-from-npp-new.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestspluginsmouseclickpluginclearsselectionhtml">branches/safari-537.78-branch/LayoutTests/plugins/mouse-click-plugin-clears-selection.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestspluginsnetscapepluginmapdatatosrchtml">branches/safari-537.78-branch/LayoutTests/plugins/netscape-plugin-map-data-to-src.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestspluginsnomimewithvalidextensionhtml">branches/safari-537.78-branch/LayoutTests/plugins/no-mime-with-valid-extension.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestspluginsplugininitiatepopupwindowhtml">branches/safari-537.78-branch/LayoutTests/plugins/plugin-initiate-popup-window.html</a></li>
<li><a href="#branchessafari53778branchLayoutTestspluginswindowless_plugin_paint_testhtml">branches/safari-537.78-branch/LayoutTests/plugins/windowless_plugin_paint_test.html</a></li>
<li><a href="#branchessafari53778branchSourceWebCoreChangeLog">branches/safari-537.78-branch/Source/WebCore/ChangeLog</a></li>
<li><a href="#branchessafari53778branchSourceWebCoreWebCoreexpin">branches/safari-537.78-branch/Source/WebCore/WebCore.exp.in</a></li>
<li><a href="#branchessafari53778branchSourceWebCoredomDocumentcpp">branches/safari-537.78-branch/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#branchessafari53778branchSourceWebCoredomDocumenth">branches/safari-537.78-branch/Source/WebCore/dom/Document.h</a></li>
<li><a href="#branchessafari53778branchSourceWebCorehtmlHTMLAppletElementcpp">branches/safari-537.78-branch/Source/WebCore/html/HTMLAppletElement.cpp</a></li>
<li><a href="#branchessafari53778branchSourceWebCorehtmlHTMLEmbedElementcpp">branches/safari-537.78-branch/Source/WebCore/html/HTMLEmbedElement.cpp</a></li>
<li><a href="#branchessafari53778branchSourceWebCorehtmlHTMLObjectElementcpp">branches/safari-537.78-branch/Source/WebCore/html/HTMLObjectElement.cpp</a></li>
<li><a href="#branchessafari53778branchSourceWebCorepageFrameViewcpp">branches/safari-537.78-branch/Source/WebCore/page/FrameView.cpp</a></li>
<li><a href="#branchessafari53778branchSourceWebCorepageFrameViewh">branches/safari-537.78-branch/Source/WebCore/page/FrameView.h</a></li>
<li><a href="#branchessafari53778branchSourceWebCoretestingInternalscpp">branches/safari-537.78-branch/Source/WebCore/testing/Internals.cpp</a></li>
<li><a href="#branchessafari53778branchSourceWebCoretestingInternalsh">branches/safari-537.78-branch/Source/WebCore/testing/Internals.h</a></li>
<li><a href="#branchessafari53778branchSourceWebCoretestingInternalsidl">branches/safari-537.78-branch/Source/WebCore/testing/Internals.idl</a></li>
<li><a href="#branchessafari53778branchSourceWebKitChangeLog">branches/safari-537.78-branch/Source/WebKit/ChangeLog</a></li>
<li><a href="#branchessafari53778branchSourceWebKitWebKitvcxprojWebKitExportGeneratorWebKitExportsdefin">branches/safari-537.78-branch/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchessafari53778branchLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/ChangeLog (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/ChangeLog        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/ChangeLog        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,3 +1,45 @@
</span><ins>+2014-07-22 Dana Burkart <dburkart@apple.com>
+
+ Merge r169475
+
+ 2014-05-28 Jon Honeycutt <jhoneycutt@apple.com>
+
+ Roll r168668 back in.
+
+ <https://bugs.webkit.org/show_bug.cgi?id=132621>
+
+ Reviewed by Brent Fulgham.
+
+ * compositing/plugins/composited-plugin.html:
+ * compositing/plugins/no-backing-store.html:
+ * fast/dom/beforeload/flash-before-load.html:
+ * fast/events/beforeload-assertion-expected.txt: Added.
+ * fast/events/beforeload-assertion.html: Added.
+ * fast/events/beforeload-iframe-crash-expected.txt: Added.
+ * fast/events/beforeload-iframe-crash.html: Added.
+ * fast/events/beforeload-input-time-crash-expected.txt: Added.
+ * fast/events/beforeload-input-time-crash.html: Added.
+ * http/tests/security/contentSecurityPolicy/1.1/plugintypes-notype-data.html:
+ * http/tests/security/contentSecurityPolicy/1.1/plugintypes-nourl-blocked.html:
+ * http/tests/security/contentSecurityPolicy/object-src-no-url-allowed.html:
+ * http/tests/security/contentSecurityPolicy/object-src-no-url-blocked.html:
+ * http/tests/security/contentSecurityPolicy/object-src-none-allowed.html:
+ * http/tests/security/contentSecurityPolicy/object-src-none-blocked.html:
+ * http/tests/security/contentSecurityPolicy/resources/multiple-iframe-plugin-test.js:
+ (testImpl.iframe.onload):
+ (testImpl):
+ * http/tests/security/mixedContent/insecure-plugin-in-iframe.html:
+ * platform/mac/plugins/supports-carbon-event-model.html:
+ * platform/mac/plugins/testplugin-onnew-onpaint.html:
+ * plugins/get-user-agent-with-null-npp-from-npp-new.html:
+ * plugins/mouse-click-plugin-clears-selection.html:
+ * plugins/netscape-plugin-map-data-to-src.html:
+ * plugins/no-mime-with-valid-extension.html:
+ * plugins/plugin-initiate-popup-window.html:
+ * plugins/windowless_plugin_paint_test.html:
+ * resources/plugin.js: Added.
+ (runAfterPluginLoad):
+
</ins><span class="cx"> 2014-07-19 Lucas Forschler <lforschler@apple.com>
</span><span class="cx">
</span><span class="cx"> Merge r170946
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestscompositingpluginscompositedpluginhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/compositing/plugins/composited-plugin.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/compositing/plugins/composited-plugin.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/compositing/plugins/composited-plugin.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,6 +1,8 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <body>
</span><ins>+ <script src="../../resources/plugin.js"></script>
+ <script>runAfterPluginLoad(null, NotifyDone);</script>
</ins><span class="cx"> <embed type="application/x-webkit-test-netscape" drawingmodel="coreanimation">
</span><span class="cx"> </body>
</span><span class="cx"> </html>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestscompositingpluginsnobackingstorehtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/compositing/plugins/no-backing-store.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/compositing/plugins/no-backing-store.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/compositing/plugins/no-backing-store.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -6,12 +6,13 @@
</span><span class="cx"> margin: 10px;
</span><span class="cx"> }
</span><span class="cx"> </style>
</span><ins>+ <script src="../../resources/plugin.js"></script>
</ins><span class="cx"> <script type="text/javascript" charset="utf-8">
</span><del>- if (window.testRunner) {
</del><ins>+ if (window.testRunner)
</ins><span class="cx"> testRunner.dumpAsText();
</span><del>- testRunner.waitUntilDone();
- }
</del><span class="cx">
</span><ins>+ runAfterPluginLoad(doTest, DoNotNotifyDone);
+
</ins><span class="cx"> function doTest()
</span><span class="cx"> {
</span><span class="cx"> // Need to wait for compositing layers to be updated. FIXME remove.
</span><span class="lines">@@ -22,7 +23,6 @@
</span><span class="cx"> }
</span><span class="cx"> }, 0)
</span><span class="cx"> }
</span><del>- window.addEventListener('load', doTest, false);
</del><span class="cx"> </script>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestsfastdombeforeloadflashbeforeloadhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/fast/dom/beforeload/flash-before-load.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/fast/dom/beforeload/flash-before-load.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/fast/dom/beforeload/flash-before-load.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -4,9 +4,12 @@
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span><span class="cx"> <div id="console"></div>
</span><ins>+<script src="../../../resources/plugin.js"></script>
</ins><span class="cx"> <script>
</span><del>-if (window.testRunner)
- testRunner.dumpAsText();
</del><ins>+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ runAfterPluginLoad(null, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx">
</span><span class="cx"> <object id="plugin" onbeforeload="return false" type="application/x-shockwave-flash" data="../../../plugins/resources/simple_blank.swf"
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicy11plugintypesnotypedatahtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-notype-data.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-notype-data.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-notype-data.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,11 +1,14 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <head>
</span><ins>+<script src="/js-test-resources/plugin.js"></script>
</ins><span class="cx"> <script>
</span><del>-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
-}
</del><ins>+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.dumpChildFramesAsText();
+ }
+
+ runAfterPluginLoad(null, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx"> <script src="/plugins/resources/mock-plugin-logger.js"></script>
</span><span class="cx"> <meta http-equiv="X-WebKit-CSP" content="plugin-types application/x-invalid-type">
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicy11plugintypesnourlblockedhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-nourl-blocked.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-nourl-blocked.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-nourl-blocked.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,9 +1,12 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <head>
</span><ins>+<script src="/js-test-resources/plugin.js"></script>
</ins><span class="cx"> <script>
</span><del>-if (window.testRunner)
- testRunner.dumpAsText();
</del><ins>+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ runAfterPluginLoad(null, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx"> <meta http-equiv="X-WebKit-CSP" content="plugin-types text/plain">
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicyobjectsrcnourlallowedhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-allowed.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-allowed.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-allowed.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,9 +1,12 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <head>
</span><ins>+<script src="/js-test-resources/plugin.js"></script>
</ins><span class="cx"> <script>
</span><del>-if (window.testRunner)
- testRunner.dumpAsText();
</del><ins>+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ runAfterPluginLoad(null, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx"> <meta http-equiv="Content-Security-Policy" content="object-src 'self'">
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicyobjectsrcnourlblockedhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-blocked.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-blocked.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-blocked.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,9 +1,12 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <head>
</span><ins>+<script src="/js-test-resources/plugin.js"></script>
</ins><span class="cx"> <script>
</span><del>-if (window.testRunner)
- testRunner.dumpAsText();
</del><ins>+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ runAfterPluginLoad(null, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx"> <meta http-equiv="Content-Security-Policy" content="object-src 'none'">
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicyobjectsrcnoneallowedhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-none-allowed.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-none-allowed.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-none-allowed.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,14 +1,17 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <head>
</span><del>-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
-}
-</script>
</del><ins>+<script src="/js-test-resources/plugin.js"></script>
</ins><span class="cx"> </head>
</span><span class="cx"> <body>
</span><span class="cx"> <iframe src="http://127.0.0.1:8000/security/contentSecurityPolicy/resources/echo-object-data.pl?plugin=data:application/x-webkit-test-netscape,logifloaded&log=PASS!&csp=img-src%20'none'"></iframe>
</span><span class="cx"> </body>
</span><ins>+<script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.dumpChildFramesAsText();
+ }
+
+ runAfterPluginLoad(null, NotifyDone, document.getElementsByTagName("iframe")[0]);
+</script>
</ins><span class="cx"> </html>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicyobjectsrcnoneblockedhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-none-blocked.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-none-blocked.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-none-blocked.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,14 +1,17 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <head>
</span><del>-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
-}
-</script>
</del><ins>+<script src="/js-test-resources/plugin.js"></script>
</ins><span class="cx"> </head>
</span><span class="cx"> <body>
</span><span class="cx"> <iframe src="http://127.0.0.1:8000/security/contentSecurityPolicy/resources/echo-object-data.pl?plugin=data:application/x-webkit-test-netscape,logifloaded&log=FAIL&csp=object-src%20'none'"></iframe>
</span><span class="cx"> </body>
</span><ins>+<script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.dumpChildFramesAsText();
+ }
+
+ runAfterPluginLoad(null, NotifyDone, document.getElementsByTagName("iframe")[0]);
+</script>
</ins><span class="cx"> </html>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestshttptestssecuritycontentSecurityPolicyresourcesmultipleiframeplugintestjs"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/resources/multiple-iframe-plugin-test.js (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/resources/multiple-iframe-plugin-test.js        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/http/tests/security/contentSecurityPolicy/resources/multiple-iframe-plugin-test.js        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -38,7 +38,11 @@
</span><span class="cx"> else
</span><span class="cx"> iframe.src += "&type=application/x-webkit-test-netscape";
</span><span class="cx">
</span><del>- iframe.onload = function() { testImpl(experimental); };
</del><ins>+ iframe.onload = function() {
+ if (window.internals)
+ internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(iframe);
+ testImpl(experimental);
+ };
</ins><span class="cx"> document.body.appendChild(iframe);
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestshttptestssecuritymixedContentinsecureplugininiframehtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -3,6 +3,11 @@
</span><span class="cx"> <script>
</span><span class="cx"> if (window.testRunner)
</span><span class="cx"> testRunner.dumpAsText();
</span><ins>+
+onload = function() {
+ if (window.internals)
+ internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(document.querySelector('iframe'));
+};
</ins><span class="cx"> </script>
</span><span class="cx"> <p>This test loads a secure iframe that loads an insecure plugin. We should
</span><span class="cx"> get a mixed content callback because the insecure plug-in can script the secure
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestsplatformmacpluginssupportscarboneventmodelhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/platform/mac/plugins/supports-carbon-event-model.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/platform/mac/plugins/supports-carbon-event-model.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/platform/mac/plugins/supports-carbon-event-model.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,6 +1,9 @@
</span><ins>+<script src="../../../resources/plugin.js"></script>
</ins><span class="cx"> <script>
</span><del>-if (window.testRunner)
- testRunner.dumpAsText();
</del><ins>+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ runAfterPluginLoad(null, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx">
</span><span class="cx"> <embed id="testPlugin"
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestsplatformmacpluginstestpluginonnewonpainthtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/platform/mac/plugins/testplugin-onnew-onpaint.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/platform/mac/plugins/testplugin-onnew-onpaint.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/platform/mac/plugins/testplugin-onnew-onpaint.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -2,6 +2,7 @@
</span><span class="cx">
</span><span class="cx"> <html>
</span><span class="cx"> <head>
</span><ins>+ <script src="../../../resources/plugin.js"></script>
</ins><span class="cx"> <script type="text/javascript" charset="utf-8">
</span><span class="cx"> if (window.testRunner)
</span><span class="cx"> testRunner.dumpAsText();
</span><span class="lines">@@ -25,6 +26,8 @@
</span><span class="cx"> didPaint = true;
</span><span class="cx"> }
</span><span class="cx"> }
</span><ins>+
+ runAfterPluginLoad(null, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestspluginsgetuseragentwithnullnppfromnppnewhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/plugins/get-user-agent-with-null-npp-from-npp-new.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/plugins/get-user-agent-with-null-npp-from-npp-new.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/plugins/get-user-agent-with-null-npp-from-npp-new.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,9 +1,11 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <head>
</span><ins>+ <script src="../resources/plugin.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> if (window.testRunner)
</span><span class="cx"> testRunner.dumpAsText();
</span><ins>+ runAfterPluginLoad(null, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestspluginsmouseclickpluginclearsselectionhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/plugins/mouse-click-plugin-clears-selection.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/plugins/mouse-click-plugin-clears-selection.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/plugins/mouse-click-plugin-clears-selection.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,8 +1,9 @@
</span><span class="cx"> <html>
</span><span class="cx"> <head>
</span><ins>+<script src="../resources/plugin.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx">
</span><del>-function runTest() {
</del><ins>+runAfterPluginLoad(function() {
</ins><span class="cx"> inputElement = document.getElementById('frame');
</span><span class="cx"> inputElement.focus();
</span><span class="cx"> inputElement.select();
</span><span class="lines">@@ -14,10 +15,10 @@
</span><span class="cx"> eventSender.mouseDown();
</span><span class="cx"> eventSender.mouseUp();
</span><span class="cx"> }
</span><del>-}
</del><ins>+}, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx"> </head>
</span><del>-<body onload="runTest();">
</del><ins>+<body>
</ins><span class="cx"> <embed id="plg" type="application/x-webkit-test-netscape" width="100" height="100" windowedplugin="false"></embed><br>
</span><span class="cx"> <input id="frame" value="hello"/>
</span><span class="cx"> <div id="output"></div>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestspluginsnetscapepluginmapdatatosrchtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/plugins/netscape-plugin-map-data-to-src.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/plugins/netscape-plugin-map-data-to-src.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/plugins/netscape-plugin-map-data-to-src.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,8 +1,10 @@
</span><span class="cx"> <html>
</span><span class="cx"> <head>
</span><ins>+<script src="../resources/plugin.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> if (window.testRunner)
</span><span class="cx"> testRunner.dumpAsText();
</span><ins>+ runAfterPluginLoad(null, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx"> <body style="margin:0px;overflow:hidden">
</span><span class="cx"> <object name="testPlugin" type="application/x-webkit-test-netscape" logSrc="true" data="blah">
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestspluginsnomimewithvalidextensionhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/plugins/no-mime-with-valid-extension.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/plugins/no-mime-with-valid-extension.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/plugins/no-mime-with-valid-extension.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><ins>+<script src="../resources/plugin.js"></script>
</ins><span class="cx"> <script>
</span><del>- if (window.testRunner) {
</del><ins>+ if (window.testRunner)
</ins><span class="cx"> testRunner.dumpAsText();
</span><del>- testRunner.waitUntilDone();
- }
</del><ins>+ runAfterPluginLoad(null, NotifyDone);
</ins><span class="cx"> </script>
</span><span class="cx"> <p>
</span><span class="cx"> This test checks that <a href="https://bugs.webkit.org/show_bug.cgi?id=50657">bug 50568</a>
</span><span class="lines">@@ -12,8 +12,4 @@
</span><span class="cx"> attribute.
</span><span class="cx"> </p>
</span><span class="cx"> <!-- Embed tag with missing type="" parameter -->
</span><del>-<embed id="plugin" name="plugin" src="resources/test.testnetscape" logSrc="1">
-<script>
- if (window.testRunner)
- testRunner.notifyDone();
-</script>
</del><ins>+<embed id="plugin" name="plugin" src="resources/test.testnetscape" logSrc="1">
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestspluginsplugininitiatepopupwindowhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/plugins/plugin-initiate-popup-window.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/plugins/plugin-initiate-popup-window.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/plugins/plugin-initiate-popup-window.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx"> }
</span><span class="cx"> </script>
</span><span class="cx"> </head>
</span><del>-<body onload="window.setTimeout(test, 0);">
</del><ins>+<body onload="internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(); test();">
</ins><span class="cx"> <embed type="application/x-webkit-test-netscape" width=100 height=40 evaluatescript="mouse::popup_by_mousedown()" windowedplugin="false"></embed><br>
</span><span class="cx"> <embed type="application/x-webkit-test-netscape" width=100 height=40 evaluatescript="key::popup_by_keydown()" windowedplugin="false"></embed><br>
</span><span class="cx"> Specify a script and a mouse/keyboard event to the plugin. The specified script will be evaluated in the browser when the specified event is received by the plugin. The test is for bug https://bugs.webkit.org/show_bug.cgi?id=41292.<br>
</span></span></pre></div>
<a id="branchessafari53778branchLayoutTestspluginswindowless_plugin_paint_testhtml"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/LayoutTests/plugins/windowless_plugin_paint_test.html (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/LayoutTests/plugins/windowless_plugin_paint_test.html        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/LayoutTests/plugins/windowless_plugin_paint_test.html        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -14,6 +14,8 @@
</span><span class="cx"> var pluginDiv = document.getElementById("pluginDiv");
</span><span class="cx"> // Create the plugin in the middle of the page.
</span><span class="cx"> pluginDiv.innerHTML = "<embed id=\"testPlugin\" type=\"application/x-webkit-test-netscape\" width=\"200\" height=\"200\" onpaintevent=\"didPaint()\" windowedPlugin=\"false\"></embed>";
</span><ins>+ if (window.internals)
+ internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();
</ins><span class="cx"> testRunner.displayInvalidatedRegion();
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/ChangeLog (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/ChangeLog        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/ChangeLog        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -25,35767 +25,51342 @@
</span><span class="cx"> (WebCore::RenderIFrame::isSeamless):
</span><span class="cx"> (WebCore::RenderIFrame::flattenFrame):
</span><span class="cx">
</span><del>-2014-07-19 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-28 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>- Merge r170946
</del><ins>+ Roll r168668 back in.
</ins><span class="cx">
</span><del>- 2014-07-08 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ <https://bugs.webkit.org/show_bug.cgi?id=132621>
</ins><span class="cx">
</span><del>- Fix flaky loading tests
- https://bugs.webkit.org/show_bug.cgi?id=133696
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Tests: fast/events/beforeload-assertion.html
+ fast/events/beforeload-iframe-crash.html
+ fast/events/beforeload-input-time-crash.html
</ins><span class="cx">
</span><del>- In some cases, the Frame may be destroyed while the loader is
- initializing. Make sure we don't delete it too early.
</del><ins>+ * WebCore.exp.in:
+ * dom/Document.cpp:
+ (WebCore::Document::updateLayoutIgnorePendingStylesheets):
+ * dom/Document.h:
+ * html/HTMLAppletElement.cpp:
+ (WebCore::HTMLAppletElement::renderWidgetForJSBindings):
+ * html/HTMLEmbedElement.cpp:
+ (WebCore::HTMLEmbedElement::renderWidgetForJSBindings):
+ * html/HTMLObjectElement.cpp:
+ (WebCore::HTMLObjectElement::renderWidgetForJSBindings):
+ * page/FrameView.cpp:
+ (WebCore::FrameView::FrameView):
+ (WebCore::FrameView::reset):
+ (WebCore::FrameView::updateEmbeddedObjectsTimerFired):
+ (WebCore::FrameView::flushAnyPendingPostLayoutTasks):
+ (WebCore::FrameView::performPostLayoutTasks):
+ * page/FrameView.h:
+ * testing/Internals.cpp:
+ (WebCore::Internals::updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks):
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::init):
</del><ins>+2014-05-29 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>-2014-07-19 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Support -apple-system-font on OS X
+ https://bugs.webkit.org/show_bug.cgi?id=133382
</ins><span class="cx">
</span><del>- Merge r170135
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- 2014-06-11 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ Guard on both family names: "-apple-system-font" and "-webkit-system-font"
</ins><span class="cx">
</span><del>- Fix flaky beforeload tests
- https://bugs.webkit.org/show_bug.cgi?id=133685
</del><ins>+ Test: platform/mac/fast/text/systemFont.html
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ * platform/mac/WebFontCache.mm:
+ (+[WebFontCache internalFontWithFamily:traits:weight:size:]):
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::loadURL):
</del><ins>+2014-05-29 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>-2014-07-19 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Loading <object> from WebArchive crashes
+ https://bugs.webkit.org/show_bug.cgi?id=133386
+ <rdar://problem/13345509>
</ins><span class="cx">
</span><del>- Merge r170513
</del><ins>+ Reviewed by Brady Eidson.
</ins><span class="cx">
</span><del>- 2014-06-26 David Kilzer <ddkilzer@apple.com>
</del><ins>+ Test: webarchive/loading/object.html
</ins><span class="cx">
</span><del>- [Win] Always NULL-terminate the string in createUTF8String()
- <http://webkit.org/b/134353>
- <rdar://problem/17471783>
</del><ins>+ This (a) fixes the crash, and (b) avoids the crash.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::continueAfterContentPolicy):
+ Some types of substitute data - such as WebArchive - don't contain HTTP result codes,
+ so let's not drop to <object> fallback content when status is 0.
+ And if the load somehow failed anyway, don't crash by trying to deliver substitute data
+ to a finished loader.
</ins><span class="cx">
</span><del>- * plugins/PluginView.cpp:
- (WebCore::createUTF8String): Pull out CString length into local
- variable. Switch to use memcpy. Always NULL-terminate the
- string.
</del><ins>+2014-05-29 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>-2014-07-19 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [iOS WebGL] Fix depth buffer clearing issue.
+ https://bugs.webkit.org/show_bug.cgi?id=133388
</ins><span class="cx">
</span><del>- Merge r170028
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- 2014-06-16 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ No new tests, but this fixes webgl/1.0.1/conformance/canvas/buffer-preserve-test.html.
</ins><span class="cx">
</span><del>- AX: Safari crashed once in WebCore::AccessibilityObject::ariaIsHidden
- https://bugs.webkit.org/show_bug.cgi?id=133825
</del><ins>+ * platform/graphics/mac/WebGLLayer.mm:
+ (-[WebGLLayer display]):
+ * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
+ (WebCore::GraphicsContext3D::prepareTexture):
+ Moved marking the layer as composited from the mac-only prepareTexture to
+ the end of [WebGLLayer display] which is called by mac and iOS.
</ins><span class="cx">
</span><del>- Reviewed by Enrica Casucci.
</del><ins>+2014-05-29 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- Sometimes asking accessibilityIsIgnored() will cause a newObject to be detached immediately after its created.
- The creation function holds a reference with RefPtr as long as it lives, but when that method returns, the object goes away.
</del><ins>+ Perserve caption selection in fullscreen.
+ https://bugs.webkit.org/show_bug.cgi?id=133350
</ins><span class="cx">
</span><del>- With that out of the way, I saw the same backtrace lead to updateLayoutIgnorePendingStylesheets being called while still inLayout.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- I tried my best but could not create a reproducible layout test.
</del><ins>+ Use the logic from the inline player to calculate the selected caption index.
</ins><span class="cx">
</span><del>- * accessibility/AXObjectCache.cpp:
- (WebCore::AXObjectCache::getOrCreate):
- * accessibility/AccessibilityObject.cpp:
- (WebCore::AccessibilityObject::updateBackingStore):
</del><ins>+ * html/HTMLMediaElement.h:
+ (WebCore::HTMLMediaElement::mediaControlsHost):
+ Expose mediaControlsHost() for use by WebVideoFullscreenModelMediaElement.
</ins><span class="cx">
</span><del>-2014-07-19 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ (WebVideoFullscreenModelMediaElement::updateLegibleOptions):
+ Use logic from buildCaptionsMenu from mediaControlsApple.js.
</ins><span class="cx">
</span><del>- Merge r170026
</del><ins>+2014-05-29 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- 2014-06-16 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Use correct version of requiresFullscreenForVideoPlayback().
+ https://bugs.webkit.org/show_bug.cgi?id=133331
</ins><span class="cx">
</span><del>- AX: Crash at WebCore::AXObjectCache::textChanged
- https://bugs.webkit.org/show_bug.cgi?id=133873
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Enrica Casucci.
</del><ins>+ Test: media/video-fullscreeen-only-controls.html
</ins><span class="cx">
</span><del>- This looks like a very similar problem to
- https://bugs.webkit.org/show_bug.cgi?id=133825
</del><ins>+ Update the last place not yet using m_mediaSession->requiresFullscreenForVideoPlayback.
</ins><span class="cx">
</span><del>- The object is being created and deallocated almost right away because calling accessibilityIsIgnored triggers
- a deferred layout that invalidates the associated render element.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
+ switch to media session version for requriesFullscreenForVideoPlayback.
</ins><span class="cx">
</span><del>- Despite my best efforts, I could not come up with a way to reproduce this in a layout test.
</del><ins>+2014-05-29 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- * accessibility/AXObjectCache.cpp:
- (WebCore::AXObjectCache::getOrCreate):
</del><ins>+ [GTK] Add support for HiDPI icons
+ https://bugs.webkit.org/show_bug.cgi?id=133377
</ins><span class="cx">
</span><del>-2014-07-19 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Merge r169849
</del><ins>+ Use the GTK+ missing icon at 16 or 32 size depending on the device
+ scale factor.
</ins><span class="cx">
</span><del>- 2014-06-11 David Kilzer <ddkilzer@apple.com>
</del><ins>+ * platform/graphics/gtk/ImageGtk.cpp:
+ (WebCore::loadMissingImageIconFromTheme):
+ (WebCore::Image::loadPlatformResource):
</ins><span class="cx">
</span><del>- WindowFeatures arguments shoud ignore invalid characters in values
- <http://webkit.org/b/133703>
- <rdar://problem/17254118>
</del><ins>+2014-05-29 Owen Taylor <otaylor@redhat.com>
</ins><span class="cx">
</span><del>- Reviewed by Andy Estes.
</del><ins>+ [GTK] Add HighDPI support for non-accelerated compositing contents
+ https://bugs.webkit.org/show_bug.cgi?id=131562
</ins><span class="cx">
</span><del>- Test: fast/dom/Window/window-property-invalid-characters-ignored.html
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * page/WindowFeatures.cpp:
- (WebCore::WindowFeatures::WindowFeatures): Set |length| based on
- |buffer|, not |features|. Switch to using a for loop. Switch
- to unsigned types since we are working with positive offsets
- into a String.
</del><ins>+ No new tests. This will be tested once we have the proper dependencies in the WebKit testing
+ JHBuild.
</ins><span class="cx">
</span><del>-2014-07-19 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/cairo/WidgetBackingStore.h:
+ (WebCore::WidgetBackingStore::WidgetBackingStore): Accept a device scale argument.
+ * platform/cairo/WidgetBackingStoreCairo.cpp: Use the device scale argument to make the surface the proper size and set the surface device scale.
+ * platform/cairo/WidgetBackingStoreCairo.h: Accept a device scale argument.
+ * platform/graphics/cairo/CairoUtilities.cpp: Add a new helper to set the device scale if Cairo built against is new enough.
+ * platform/graphics/cairo/CairoUtilities.h:
+ * platform/gtk/GtkVersioning.h: Add the HAVE_GTK_SCALE_FACTOR macro.
+ * platform/gtk/WidgetBackingStoreGtkX11.cpp: Use the device scale argument to make the surface the proper size and set the surface device scale.
+ * platform/gtk/WidgetBackingStoreGtkX11.h: Accept a device scale argument.
</ins><span class="cx">
</span><del>- Merge r169848
</del><ins>+2014-05-28 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- 2014-06-11 David Kilzer <ddkilzer@apple.com>
</del><ins>+ Captions during HLS playback flash/are difficult to readily
+ https://bugs.webkit.org/show_bug.cgi?id=133365
+ <rdar://problem/16584132>
</ins><span class="cx">
</span><del>- Viewport arguments should ignore invalid characters in values
- <http://webkit.org/b/133555>
- <rdar://problem/17179650>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Daniel Bates.
</del><ins>+ Correct two problems:
+ 1. Add new logic to handle cues that are identical to existing cues, except
+ that they cover a slightly later moment in playback. For example, a cue
+ encoding device might emit a cue at 24 fps, with many of the cues containing
+ the same content but covering only 1/24th of a second.
+
+ Rather than hiding and displaying our cues at the cue encoding rate, we should
+ simply continue to display the same cue as long as the content is unchanged.
+ 2. The cue "isEqual" logic for TextTrackCueGeneric improperly short-circuited the
+ VTTCue isEqual logic. This was done to avoid a false failure due to the cue
+ type being 'generic' rather than 'vtt', but incorrectly treated cues with
+ non-matching text as equal.
</ins><span class="cx">
</span><del>- Test: fast/viewport/viewport-warnings-7.html
</del><ins>+ * html/track/DataCue.cpp:
+ (WebCore::DataCue::cueContentsMatch): Move cue comparison code to new method that
+ doesn't check that the 'type' of the cue is identical.
+ (WebCore::DataCue::isEqual): Modified to use new 'cueContentsMatch' method.
+ (WebCore::DataCue::isStartOfCue): Confirms cues match except for start and end times.
+ * html/track/DataCue.h:
+ * html/track/TextTrack.cpp:
+ (WebCore::TextTrack::hasCue): Modify to check if a new cue is simply a continuation
+ of an existing cue.
+ * html/track/TextTrackCue.cpp:
+ (WebCore::TextTrackCue::cueContentsMatch): New method containing the equality code
+ that used to live in 'isEqual'.
+ (WebCore::TextTrackCue::isEqual): Modified to use new 'cueContentsMatch' method.
+ (WebCore::TextTrackCue::isStartOfCue): Confirms cues match except for start and
+ end times.
+ * html/track/TextTrackCue.h:
+ * html/track/TextTrackCueGeneric.cpp:
+ (WebCore::TextTrackCueGeneric::cueContentsMatch): New method containing the equality
+ code that used to live in 'isEqual'.
+ (WebCore::TextTrackCueGeneric::isEqual): Modified to use new 'cueContentsMatch' method.
+ (WebCore::TextTrackCueGeneric::isStartOfCue): Confirms cues match except for start and
+ end times.
+ * html/track/TextTrackCueGeneric.h:
+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCue::cueContentsMatch): New method containing the equality code that
+ used to live in 'isEqual'.
+ (WebCore::VTTCue::isEqual): Modified to use new 'cueContentsMatch' method.
+ (WebCore::VTTCue::isStartOfCue): Confirms cues match except for start and end times.
+ * html/track/VTTCue.h:
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::processArguments): Set |length| based on
- |buffer|, not |features|. Switch to using a for loop. Switch
- to unsigned types since we are working with positive offsets
- into a String.
</del><ins>+2014-05-28 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>-2014-07-19 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Whoops, update bindings tests results.
</ins><span class="cx">
</span><del>- Merge r169726
</del><ins>+2014-05-28 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>- 2014-06-09 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Make DOM properties exposed as instance properties use the base object instead of |this|
+ https://bugs.webkit.org/show_bug.cgi?id=133353
</ins><span class="cx">
</span><del>- Properly reset UStringSearch object in SearchBuffer constructor.
- https://bugs.webkit.org/show_bug.cgi?id=133662
- <rdar://problem/17240136>
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ Make the bindings generator emit code that uses the base object for
+ a property, rather than the this object. This means that attributes
+ that we need to be treated as instance properties will match their old
+ instance-based behaviour.
</ins><span class="cx">
</span><del>- * editing/TextIterator.cpp: (WebCore::SearchBuffer::~SearchBuffer):
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (InterfaceRequiresAttributesOnInstanceForCompatibility):
+ (InterfaceRequiresAttributesOnInstance):
+ (GetCastingHelperForBaseObject):
+ (GenerateImplementation):
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ (WebCore::jsTestActiveDOMObjectExcitingAttr):
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ (WebCore::jsTestExceptionName):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::jsTestInterfaceImplementsStr3):
+ (WebCore::jsTestInterfaceSupplementalStr3):
+ (WebCore::setJSTestInterfaceConstructorImplementsStaticAttr):
+ (WebCore::setJSTestInterfaceImplementsStr2):
+ (WebCore::setJSTestInterfaceImplementsStr3):
+ (WebCore::setJSTestInterfaceImplementsNode):
+ (WebCore::setJSTestInterfaceConstructorSupplementalStaticAttr):
+ (WebCore::setJSTestInterfaceSupplementalStr2):
+ (WebCore::setJSTestInterfaceSupplementalStr3):
+ (WebCore::setJSTestInterfaceSupplementalNode):
+ * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
+ (WebCore::setJSTestNondeterministicNondeterministicWriteableAttr):
+ (WebCore::setJSTestNondeterministicNondeterministicExceptionAttr):
+ (WebCore::setJSTestNondeterministicNondeterministicGetterExceptionAttr):
+ (WebCore::setJSTestNondeterministicNondeterministicSetterExceptionAttr):
+ (WebCore::setJSTestSerializedScriptValueInterfaceCachedValue):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::jsTestTypedefsConstructorTestSubObj):
+ (WebCore::setJSTestTypedefsUnsignedLongLongAttr):
+ (WebCore::setJSTestTypedefsImmutableSerializedScriptValue):
+ (WebCore::setJSTestTypedefsAttrWithGetterException):
+ (WebCore::setJSTestTypedefsAttrWithSetterException):
+ (WebCore::setJSTestTypedefsStringAttrWithGetterException):
+ (WebCore::setJSTestTypedefsStringAttrWithSetterException):
</ins><span class="cx">
</span><del>-2014-07-18 Dana Burkart <dburkart@apple.com>
</del><ins>+2014-05-28 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge r169318
</del><ins>+ [iOS WK2] Improve behavior of position:fixed inside accelerated overflow-scroll
+ https://bugs.webkit.org/show_bug.cgi?id=133352
</ins><span class="cx">
</span><del>- 2014-05-25 David Kilzer <ddkilzer@apple.com>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Crash in WebCore::TextResourceDecoder::checkForCSSCharset
- <http://webkit.org/b/133257>
- <rdar://problem/17027109>
</del><ins>+ When adjusting layers inside accelerated overflow-scroll, pass a delta
+ down to descendant nodes. Fix behavior of sticky nodes inside fixed nodes
+ inside overflow scroll (sticky should only be affected if the parent node
+ is a scrolling node).
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ * page/scrolling/mac/ScrollingTreeFixedNode.mm:
+ (WebCore::ScrollingTreeFixedNode::updateLayersAfterAncestorChange): Just remove
+ some .get()
+ * page/scrolling/mac/ScrollingTreeStickyNode.mm:
+ (WebCore::ScrollingTreeStickyNode::updateLayersAfterAncestorChange): Remove .get()s.
+ We never care about the cumulative delta here, because sticky nodes only respond to
+ changes in their direct scrolling ancestors. Only adjust the layer if the parent
+ is a scrolling node.
</ins><span class="cx">
</span><del>- Test: fast/encoding/css-charset-missing-semi-colon-and-newline.html
</del><ins>+2014-05-27 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- * loader/TextResourceDecoder.cpp:
- (WebCore::TextResourceDecoder::checkForCSSCharset): Add early
- return.
</del><ins>+ AX: WebKit does not recognize ARIA 1.1 tables
+ https://bugs.webkit.org/show_bug.cgi?id=133163
</ins><span class="cx">
</span><del>-2014-05-30 Dana Burkart <dburkart@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Supplementary build fix for <rdar://problem/16848509>, borrowed from <rdar://problem/16701806>.
</del><ins>+ The AXObjectCache code that determines which object to create based on the role needs to be token fallback aware.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+ Test: accessibility/table-fallback-roles-expose-element-attributes.html
</ins><span class="cx">
</span><del>-2014-05-29 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ * accessibility/AXObjectCache.cpp:
+ (WebCore::nodeHasRole):
</ins><span class="cx">
</span><del>- Build fix for Mavericks
</del><ins>+2014-05-28 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+ REGRESSION (r168046): Invalid layout in multicol
+ https://bugs.webkit.org/show_bug.cgi?id=133322
</ins><span class="cx">
</span><del>-2014-05-29 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Build fix
</del><ins>+ In some situations, deleting the line boxes of a multicol element causes the line to region
+ link to become invalid.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+ Test: fast/multicol/newmulticol/multicol-inside-multicol.html
</ins><span class="cx">
</span><del>-2014-05-27 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::clearLinesToRegionMap):
+ (WebCore::RenderFlowThread::deleteLines):
+ (WebCore::RenderFlowThread::willBeDestroyed):
+ * rendering/RenderFlowThread.h:
</ins><span class="cx">
</span><del>- Workaround for <rdar://problem/16848509>
</del><ins>+2014-05-28 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ Remove DocumentThreadableLoaderClient.h
+ https://bugs.webkit.org/show_bug.cgi?id=133341
</ins><span class="cx">
</span><del>- * platform/network/mac/ResourceRequestMac.mm:
- (WebCore::ResourceRequest::doUpdatePlatformRequest):
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>-2014-05-27 Lucas Forschler <lforschler@apple.com>
</del><ins>+ DocumentThreadableLoaderClient is not used anymore.
</ins><span class="cx">
</span><del>- Fix for <rdar://problem/17020210>
- Fix by Jon Honeycutt.
</del><ins>+ * WebCore.order:
+ * loader/DocumentThreadableLoader.cpp:
+ (WebCore::DocumentThreadableLoader::redirectReceived):
+ * loader/DocumentThreadableLoaderClient.h: Removed.
+ * loader/ThreadableLoaderClient.h:
+ (WebCore::ThreadableLoaderClient::isDocumentThreadableLoaderClient): Deleted.
+
+2014-05-28 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ Unreviewed. Update GObject DOM bindings symbols file after r169017.
+
+ * bindings/gobject/webkitdom.symbols: Add webkit_dom_navigator_get_hardware_concurrency.
+
+2014-05-28 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ REGRESSION(r168868): [GTK] Element.offset* client* scroll* API changed
+ https://bugs.webkit.org/show_bug.cgi?id=133313
+
+ Reviewed by Philippe Normand.
+
+ Keep old API that uses long also for GObject bindings.
+
+ * dom/Element.idl:
+
+2014-05-27 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r169400.
+ https://bugs.webkit.org/show_bug.cgi?id=133338
+
+ Broke the iOS build in
+ LocalizedDateCache::calculateMaximumWidth() (Requested by smfr
+ on #webkit).
+
+ Reverted changeset:
+
+ "SVG TextRuns do not always get RenderingContexts"
+ https://bugs.webkit.org/show_bug.cgi?id=133198
+ http://trac.webkit.org/changeset/169400
+
+2014-05-27 Timothy Horton <timothy_horton@apple.com>
+
+ REGRESSION (Margin tiles): Background gradient on dom.spec.whatwg.org is very slow to render
+ https://bugs.webkit.org/show_bug.cgi?id=133335
+ <rdar://problem/17011392>
+
+ Reviewed by Simon Fraser.
+
+ * platform/graphics/Image.cpp:
+ (WebCore::Image::drawTiled):
+ Make cross-platform and use some iOS code which avoids patterned drawing when the pattern buffer
+ would be very large. Instead, it calls draw() repeatedly over the pattern space, avoiding the allocation
+ of a huge (in the case of bug 133335, nearly 2GB) buffer.
+
+2014-05-27 Simon Fraser <simon.fraser@apple.com>
+
+ [iOS WK2] Fix behavior of position:sticky inside accelerated overflow-scroll
+ https://bugs.webkit.org/show_bug.cgi?id=133334
+ <rdar://problem/16462535>
+
+ Reviewed by Tim Horton.
+
+ When the scroll position changes in an accelerated overflow-scroll element, we have
+ to update child nodes in the scrolling tree for position:sticky. That requires a
+ more generic ability to update the scrolling tree after some arbitrary zoom or
+ scroll. To do this, we need to know the current fixed position rect, rather than
+ having it passed in.
</ins><span class="cx">
</span><ins>+ So make the fixed position rect available from ScrollingTree, and make it possible
+ to get the current scrollPosition() from any ScrollingTreeScrollingNode.
+
+ Also, implement updateLayersAfterDelegatedScroll() in ScrollingTreeOverflowScrollingNodeIOS,
+ and have it update descendant layers.
+
+ Finally, fix ScrollingTreeOverflowScrollingNode to use the correct rectangle for its
+ constraints math, using the scroll position of the parent node if appropriate.
+
+ * page/scrolling/ScrollingTree.h:
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::updateChildNodesAfterScroll):
+ * page/scrolling/ios/ScrollingTreeIOS.cpp:
+ (WebCore::ScrollingTreeIOS::fixedPositionRect):
+ * page/scrolling/ios/ScrollingTreeIOS.h:
+ * page/scrolling/mac/ScrollingTreeStickyNode.mm:
+ (WebCore::ScrollingTreeStickyNode::updateLayersAfterAncestorChange):
+
+2014-05-27 Simon Fraser <simon.fraser@apple.com>
+
+ Do some renaming in the scrolling tree
+ https://bugs.webkit.org/show_bug.cgi?id=133333
+
+ Reviewed by Tim Horton.
+
+ Rename ScrollingTreeNode::parentScrollPositionDidChange() to updateLayersAfterAncestorChange()
+ since this goes deep and to indicate that it's about layer updating.
+
+ Also rename the "viewportRect" parameter to "fixedPositionRect", since on iOS
+ this is the custom fixed-position rect that changes on zooming.
+
+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::viewportChangedViaDelegatedScrolling):
+ * page/scrolling/ScrollingTree.h:
+ * page/scrolling/ScrollingTreeFrameScrollingNode.h:
+ * page/scrolling/ScrollingTreeNode.h:
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h:
+ * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::updateLayersAfterViewportChange):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::updateChildNodesAfterScroll):
+ * page/scrolling/mac/ScrollingTreeFixedNode.h:
+ * page/scrolling/mac/ScrollingTreeFixedNode.mm:
+ (WebCore::ScrollingTreeFixedNode::updateLayersAfterAncestorChange):
+ (WebCore::ScrollingTreeFixedNode::parentScrollPositionDidChange): Deleted.
+ * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h:
+ * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::setScrollLayerPosition):
+ * page/scrolling/mac/ScrollingTreeStickyNode.h:
+ * page/scrolling/mac/ScrollingTreeStickyNode.mm:
+ (WebCore::ScrollingTreeStickyNode::updateLayersAfterAncestorChange):
+ (WebCore::ScrollingTreeStickyNode::parentScrollPositionDidChange): Deleted.
+
+2014-05-27 Simon Fraser <simon.fraser@apple.com>
+
+ Instantiate a ScrollingTreeMac on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=133332
+
+ Reviewed by Tim Horton.
+
+ Mac previously instantiated a ThreadedScrollingTree, but this has no platform
+ knowledge. To support future expansion, create a ScrollingTreeMac subclass and
+ instantiate that on Mac.
+
+ Also protect ScrollingCoordinatorMac in PLATFORM(MAC) #ifdefs and remove it from the
+ EXCLUDED_SOURCE_FILE_NAMES list in the xcconfig file, following general trends.
+
+ * Configurations/WebCore.xcconfig:
+ * WebCore.xcodeproj/project.pbxproj:
+ * page/scrolling/ThreadedScrollingTree.cpp:
+ (WebCore::ThreadedScrollingTree::create): Deleted.
+ * page/scrolling/ThreadedScrollingTree.h:
+ * page/scrolling/mac/ScrollingCoordinatorMac.h:
+ * page/scrolling/mac/ScrollingCoordinatorMac.mm:
+ (WebCore::ScrollingCoordinatorMac::ScrollingCoordinatorMac):
+ * page/scrolling/mac/ScrollingTreeMac.cpp: Copied from Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.h.
+ (ScrollingTreeMac::create):
+ (ScrollingTreeMac::ScrollingTreeMac):
+ * page/scrolling/mac/ScrollingTreeMac.h: Copied from Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.h.
+
+2014-05-27 Simon Fraser <simon.fraser@apple.com>
+
+ Prepare for position:sticky support inside accelerated overflow-scroll with WK2
+ https://bugs.webkit.org/show_bug.cgi?id=133329
+
+ Reviewed by Tim Horton.
+
+ RenderLayerCompositor::computeStickyViewportConstraints() was always using
+ the viewport rect as the constraining rect for sticky position. This is not
+ correct when inside overflow:scroll.
+
+ Refactor code in RenderBoxModelObject to make getting the rect easy, and use
+ it to compute the constraints.
+
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::constrainingRectForStickyPosition):
+ (WebCore::RenderBoxModelObject::stickyPositionOffset):
+ * rendering/RenderBoxModelObject.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::computeStickyViewportConstraints):
+
+2014-05-27 Bem Jones-Bey <bjonesbe@adobe.com>
+
+ vw/vh units used as font/line-height values don't scale with the viewport
+ https://bugs.webkit.org/show_bug.cgi?id=87846
+
+ Reviewed by Darin Adler.
+
+ This patch moves the resolution of viewport units to style recalc
+ time. Currently viewport units are left unresolved during style
+ recalcs, which leads to many problems with viewport units. Moving the
+ resolution will fix these problems, as well as reduce the plumbing
+ that goes on.
+
+ This patch touches a lot of files since the valueForLength functions
+ no longer need a RenderView. The interesting changes are in:
+
+ - CSSToLengthConversionData -> CSSPrimitiveValue: for moving
+ resolution to style recalc time.
+ - Length / LengthFunctions: no longer needs to know about viewport
+ units.
+ - FrameView -> Document -> StyleResolver: for scheduling style recalcs
+ upon resize
+
+ Note that getComputedStyle will now return pixel values when viewport
+ units are used. This behavior matches Firefox and the css3-cascade
+ spec.
+
+ This is based on a Blink patch by timloh@chromium.org.
+
+ Tests: css3/viewport-percentage-lengths/viewport-percentage-lengths-anonymous-block.html
+ css3/viewport-percentage-lengths/viewport-percentage-lengths-calc.html
+ css3/viewport-percentage-lengths/viewport-percentage-lengths-percent-size-child.html
+ css3/viewport-percentage-lengths/viewport-percentage-lengths-relative-font-size.html
+ css3/viewport-percentage-lengths/viewport-percentage-lengths-resize.html
+
+ * WebCore.exp.in: Remove RenderView argument to floatValueForLength.
+ * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
+ (getAttributeSetForAccessibilityObject): Remove RenderView argument.
+ * css/BasicShapeFunctions.cpp:
+ (WebCore::convertToLength): Ditto.
+ (WebCore::floatValueForCenterCoordinate): Ditto.
+ * css/BasicShapeFunctions.h: Ditto.
+ * css/CSSCalculationValue.cpp:
+ (WebCore::unitCategory): Remove special handling for viewport units,
+ as they get resolved to pixels.
+ (WebCore::createCSS): Ditto.
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::positionOffsetValue): Remove RendewView argument.
+ (WebCore::getBorderRadiusCornerValues): Remove handling of viewport
+ units, as they are already resolve to pixels here.
+ (WebCore::getBorderRadiusCornerValue): Remove RenderView argument.
+ (WebCore::getBorderRadiusShorthandValue): Ditto.
+ (WebCore::specifiedValueForGridTrackBreadth): Remove handling of
+ viewport units, as they are already resolved to pixels here.
+ (WebCore::specifiedValueForGridTrackSize): Remove RenderView argument.
+ (WebCore::valueForGridTrackList): Ditto.
+ (WebCore::lineHeightFromStyle): Ditto.
+ (WebCore::ComputedStyleExtractor::propertyValue): Ditto.
+ * css/CSSGradientValue.cpp:
+ (WebCore::CSSLinearGradientValue::createGradient): Pass RenderView to
+ CSSToLengthConversionData constructor.
+ (WebCore::CSSRadialGradientValue::createGradient): Ditto.
+ * css/CSSPrimitiveValue.cpp:
+ (WebCore::CSSPrimitiveValue::unitCategory): Remove handling of
+ viewport units, as they get resolved to pixels.
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Ditto.
+ (WebCore::CSSPrimitiveValue::init): Ditto.
+ (WebCore::CSSPrimitiveValue::computeLengthDouble): Resolve viewport
+ units to pixels.
+ (WebCore::CSSPrimitiveValue::canonicalUnitTypeForCategory): Remove
+ handling of viewport units, since they get resolved to pixels.
+ (WebCore::CSSPrimitiveValue::viewportPercentageLength): Deleted.
+ * css/CSSPrimitiveValue.h:
+ (WebCore::CSSPrimitiveValue::isLength): Remove special handling of
+ viewport units, since they get resolved to pixels.
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::convertToLength): Ditto.
+ * css/CSSToLengthConversionData.cpp:
+ (WebCore::CSSToLengthConversionData::viewportWidthFactor): Caclulate
+ conversion factor for viewport units to pixels. Note this does not
+ set hasViewportUnits on the RenderStyle if computing the font
+ size, because in the font size case, the RenderStyle is the
+ parent's style, not the current renderer's style.
+ (WebCore::CSSToLengthConversionData::viewportHeightFactor): Ditto.
+ (WebCore::CSSToLengthConversionData::viewportMinFactor): Ditto.
+ (WebCore::CSSToLengthConversionData::viewportMaxFactor): Ditto.
+ * css/CSSToLengthConversionData.h:
+ (WebCore::CSSToLengthConversionData::CSSToLengthConversionData): Add
+ RenderView parameter, and make RenderStyle non-const so that
+ hasViewportUnits can be set on the Style..
+ (WebCore::CSSToLengthConversionData::style): style is now non-const.
+ (WebCore::CSSToLengthConversionData::copyWithAdjustedZoom): Handle
+ RenderView argument.
+ * css/CSSToStyleMap.cpp:
+ (WebCore::CSSToStyleMap::mapFillXPosition): Remove handling of
+ viewport units, as they are already resolved to pixels here.
+ (WebCore::CSSToStyleMap::mapFillYPosition): Ditto.
+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::ApplyPropertyLength::applyValue): Ditto.
+ (WebCore::ApplyPropertyBorderRadius::applyValue): Ditto.
+ (WebCore::ApplyPropertyComputeLength::applyValue): Ditto.
+ (WebCore::ApplyPropertyFontSize::applyValue): Ditto.
+ (WebCore::ApplyPropertyLineHeight::applyValue): Ditto.
+ (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyValue): Ditto.
+ (WebCore::ApplyPropertyWordSpacing::applyValue): Ditto.
+ (WebCore::ApplyPropertyVerticalAlign::applyValue): Ditto.
+ (WebCore::ApplyPropertyTextIndent::applyValue): Ditto.
+ * css/LengthFunctions.cpp:
+ (WebCore::minimumIntValueForLength): Remove RenderView argument.
+ (WebCore::intValueForLength): Remove RenderView argument and
+ roundPecentages.
+ (WebCore::minimumValueForLength): Remove RenderView argument, and
+ special handling of viewport units.
+ (WebCore::valueForLength): Ditto.
+ (WebCore::floatValueForLength): Ditto.
+ (WebCore::floatSizeForLengthSize): Remove RenderView argument.
+ * css/LengthFunctions.h: Ditto.
+ * css/MediaQueryEvaluator.cpp:
+ (WebCore::MediaQueryEvaluator::eval): Add RenderView argument for
+ CSSToLengthConversionData constuctor.
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::State::clear): Change to 0 arg constructor
+ for CSSToLengthConversionData.
+ (WebCore::StyleResolver::State::updateConversionData): In order to get
+ the RenderView, we need to have a valid Element set on the state.
+ Since this means that we need to set the conversion data in more
+ places, move the contruction of conversion data into this helper
+ method.
+ (WebCore::StyleResolver::State::initElement): Make sure conversion
+ data is up to date.
+ (WebCore::StyleResolver::State::initForStyleResolve): Ditto.
+ (WebCore::StyleResolver::State::setStyle): When the style is set, we
+ need to make sure to update the conversion data.
+ (WebCore::StyleResolver::styleForElement): If the style has viewport
+ units, flage the document so that we can make sure to recalc the
+ viewport unit values when the viewport is resized.
+ (WebCore::StyleResolver::pseudoStyleForElement): Ditto.
+ (WebCore::StyleResolver::updateFont): Make sure the font having
+ viewport units updates the style.
+ (WebCore::StyleResolver::convertToIntLength): Remove handling of
+ viewport units, as they are resolved to pixels.
+ (WebCore::StyleResolver::convertToFloatLength): Ditto.
+ (WebCore::StyleResolver::clearCachedPropertiesAffectedByViewportUnits):
+ Invalidate the matched properties cache for styles with viewport
+ units when the viewport is resized.
+ (WebCore::createGridTrackBreadth): Remove handling of viewport units,
+ as they are resolved to pixels.
+ (WebCore::StyleResolver::applyProperty): Ditto.
+ (WebCore::StyleResolver::hasMediaQueriesAffectedByViewportChange):
+ Rename to be less confusing, since it has nothing to do with
+ viewport units.
+ (WebCore::StyleResolver::createFilterOperations): Remove handling of
+ viewport units, as they are resolved to pixels.
+ (WebCore::StyleResolver::affectedByViewportChange): Deleted.
+ (WebCore::StyleResolver::viewportPercentageValue): Deleted.
+ * css/StyleResolver.h:
+ (WebCore::StyleResolver::State::State): C++11 cleanup: 0 -> nullptr.
+ (WebCore::StyleResolver::State::setFontSizeHasViewportUnits): Set if
+ the font size is specified in viewport units.
+ (WebCore::StyleResolver::State::fontSizeHasViewportUnits): Ditto.
+ (WebCore::StyleResolver::State::setStyle): Deleted.
+ * css/TransformFunctions.cpp:
+ (WebCore::convertToFloatLength): Remove handling of viewport units,
+ since they are resolved to pixels.
+ * dom/Document.cpp:
+ (WebCore::Document::Document): Add flag to determine if some style in
+ the document has viewport units.
+ (WebCore::Document::pageSizeAndMarginsInPixels): Remove RenderView
+ argument.
+ (WebCore::Document::updateViewportUnitsOnResize): Mark elements with
+ viewport units for style recalc when the viewport size has
+ changed.
+ * dom/Document.h:
+ (WebCore::Document::setHasStyleWithViewportUnits): Flag to determine
+ if some style in the document has viewport units.
+ (WebCore::Document::hasStyleWithViewportUnits): Ditto.
+ * html/HTMLAreaElement.cpp:
+ (WebCore::HTMLAreaElement::getRegion): Remove RenderView argument.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::layout): When the viewport is resized, call
+ updateViewportUnitsOnResize on the document.
+ * platform/Length.h:
+ (WebCore::Length::isSpecified): Remove handling of viewport units,
+ since they are now resolved to pixels.
+ (WebCore::Length::viewportPercentageLength): Deleted.
+ (WebCore::Length::isViewportPercentage): Deleted.
+ * rendering/ClipPathOperation.h:
+ (WebCore::ShapeClipPathOperation::pathForReferenceRect): Remove
+ RenderView argument.
+ (WebCore::BoxClipPathOperation::pathForReferenceRect): Ditto.
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::updateBlockChildDirtyBitsBeforeLayout): Remove
+ handling of viewport units, since they get updated by
+ updateViewportUnitsOnResize when the viewport is resized.
+ (WebCore::RenderBlock::nodeAtPoint): Remove RenderView argument.
+ (WebCore::RenderBlock::lineHeight): Ditto.
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::paintBoxDecorations): Remove RenderView argument.
+ (WebCore::RenderBox::computeContentAndScrollbarLogicalHeightUsing):
+ Remove handling of viewport units, as they are resolved to pixels.
+ (WebCore::RenderBox::computePercentageLogicalHeight): Ditto.
+ (WebCore::RenderBox::computeReplacedLogicalWidthUsing): Ditto.
+ (WebCore::RenderBox::computeReplacedLogicalHeightUsing): Ditto.
+ (WebCore::RenderBox::hasViewportPercentageLogicalHeight): Deleted.
+ * rendering/RenderBox.h:
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::getBackgroundRoundedRect): Remove
+ RenderView argument.
+ (WebCore::RenderBoxModelObject::calculateFillTileSize): Remove
+ handling of viewport units, as they are resolved to pixels.
+ (WebCore::computeBorderImageSide): Remove RenderView argument.
+ (WebCore::RenderBoxModelObject::paintNinePieceImage): Ditto.
+ (WebCore::RenderBoxModelObject::paintBorder): Ditto.
+ (WebCore::RenderBoxModelObject::paintBoxShadow): Ditto.
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::repaintAfterLayoutIfNeeded): Ditto.
+ * rendering/RenderElement.h:
+ (WebCore::RenderElement::valueForLength): Remove unused
+ roundPercentages argument.
+ (WebCore::RenderElement::minimumValueForLength): Remove unused
+ RoundPercentages and RenderView arguments.
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::layoutGridItems): Remove handling of viewport
+ units as they are resolved to pixels.
+ * rendering/RenderInline.cpp:
+ (WebCore::computeMargin): Ditto.
+ (WebCore::RenderInline::lineHeight): Remove RenderView argument.
</ins><span class="cx"> * rendering/RenderLayer.cpp:
</span><del>- (WebCore::RenderLayer::filterNeedsRepaint):
</del><ins>+ (WebCore::RenderLayer::setupClipPath): Ditto.
+ * rendering/RenderLineBreak.cpp:
+ (WebCore::RenderLineBreak::lineHeight): Ditto.
+ * rendering/RenderScrollbarPart.cpp:
+ (WebCore::calcScrollbarThicknessUsing): Ditto.
+ (WebCore::RenderScrollbarPart::computeScrollbarWidth): Ditto.
+ (WebCore::RenderScrollbarPart::computeScrollbarHeight): Ditto.
+ * rendering/RenderTable.cpp:
+ (WebCore::RenderTable::convertStyleLogicalHeightToComputedHeight):
+ Remove handling of viewport units, since they are resolved to
+ pixels.
+ (WebCore::RenderTable::computePreferredLogicalWidths): Now that
+ viewport unit values are resolved to pixels at style recalc time,
+ no special checking is needed to handle them, so update the
+ comment to reflect that.
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::applyCommonButtonPaddingToStyle): Add RenderView argument to
+ CSSToLengthConversionData constructor.
+ (WebCore::RenderThemeIOS::adjustButtonStyle): Ditto.
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::paintMenuListButtonGradients): Remove
+ RenderView argument.
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::layout): Remove handling of viewport units,
+ since they are resolved to pixels.
+ * rendering/RootInlineBox.cpp:
+ (WebCore::RootInlineBox::ascentAndDescentForBox): Remove RenderView
+ argument.
+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createShape): Remove RenderView argument.
+ * rendering/shapes/Shape.h:
+ * rendering/shapes/ShapeOutsideInfo.cpp:
+ (WebCore::ShapeOutsideInfo::computedShape): Ditto.
+ * rendering/style/BasicShapes.cpp:
+ (WebCore::BasicShapeCircle::floatValueForRadiusInBox): Ditto.
+ (WebCore::BasicShapeCircle::path): Ditto.
+ (WebCore::BasicShapeEllipse::floatValueForRadiusInBox): Ditto.
+ (WebCore::BasicShapeEllipse::path): Ditto.
+ (WebCore::BasicShapePolygon::path): Ditto.
+ (WebCore::floatSizeForLengthSize): Ditto.
+ (WebCore::BasicShapeInset::path): Ditto.
+ * rendering/style/BasicShapes.h:
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::calcRadiiFor): Ditto.
+ (WebCore::RenderStyle::getRoundedBorderFor): Ditto.
+ (WebCore::RenderStyle::computedLineHeight): Remove handling of
+ viewport units since they are resolved to pixels.
+ * rendering/style/RenderStyle.h:
+ (WebCore::RenderStyle::setHasViewportUnits): Set if this style has
+ a property set with viewport units.
+ (WebCore::RenderStyle::hasViewportUnits): Ditto.
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::resolveLengthAttributeForSVG): Remove RenderView argument.
+ (WebCore::RenderSVGRoot::computeReplacedLogicalWidth): Ditto.
+ (WebCore::RenderSVGRoot::computeReplacedLogicalHeight): Ditto.
+ * rendering/svg/SVGRenderingContext.cpp:
+ (WebCore::SVGRenderingContext::prepareToRenderSVGContent): Ditto.
</ins><span class="cx">
</span><del>-2014-05-23 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-27 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- Rollout r169219
</del><ins>+ [CSS Shapes] serialization of the computed value should omit the default radii
+ https://bugs.webkit.org/show_bug.cgi?id=132747
</ins><span class="cx">
</span><del>-2014-05-23 Dana Burkart <dburkart@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Merge r165862
</del><ins>+ We should omit closest-side value, whereever is possible. Specification:
+ http://www.w3.org/TR/2014/CR-css-shapes-1-20140320/#basic-shape-computed-values
+ This change aligns the behavior to the specification.
</ins><span class="cx">
</span><del>- 2014-03-18 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ Added new test cases for the shape-outside parsing tests.
</ins><span class="cx">
</span><del>- Unify <media> element callback registration and unregistration
- https://bugs.webkit.org/show_bug.cgi?id=130417
</del><ins>+ * css/CSSBasicShapes.cpp:
+ (WebCore::buildCircleString):
+ (WebCore::CSSBasicShapeCircle::cssText):
+ (WebCore::CSSBasicShapeEllipse::cssText):
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+2014-05-27 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::HTMLMediaElement):
- (WebCore::HTMLMediaElement::~HTMLMediaElement):
- (WebCore::HTMLMediaElement::registerWithDocument):
- (WebCore::HTMLMediaElement::unregisterWithDocument):
- (WebCore::HTMLMediaElement::didMoveToNewDocument):
- * html/HTMLMediaElement.h:
</del><ins>+ Unreviewed, rolling out r169399.
+ https://bugs.webkit.org/show_bug.cgi?id=133326
</ins><span class="cx">
</span><del>-2014-05-23 Dana Burkart <dburkart@apple.com>
</del><ins>+ Causes assertion failures in tests. See
+ http://build.webkit.org/results/Apple%20Mavericks%20Debug%20WK1%20(Tests)/r169399%20(5622)/results.html
+ (Requested by mlam on #webkit).
</ins><span class="cx">
</span><del>- Merge r160847
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- 2013-12-19 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ "Caret's screen position does not update during an overflow
+ scroll"
+ https://bugs.webkit.org/show_bug.cgi?id=133256
+ http://trac.webkit.org/changeset/169399
</ins><span class="cx">
</span><del>- overflowchanged event could cause a crash
- https://bugs.webkit.org/show_bug.cgi?id=125978
</del><ins>+2014-05-27 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ Lists styled with SVG fonts are not rendered as expected
+ https://bugs.webkit.org/show_bug.cgi?id=133198
</ins><span class="cx">
</span><del>- Made the event asynchrnous by re-using Document's event queuing ability. Also removed
- the infrastructure to queue up events in FrameView.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Test: fast/events/overflowchanged-inside-selection-collapse-crash.html
</del><ins>+ There were a couple places in RenderListMarker and RenderMenuList that were
+ implicitly creating TextRuns by passing a String to a function which
+ expected a TextRun. Because TextRun has a constructor which takes a single
+ String and isn't marked explicit, TextRuns were being created without
+ any of the associated code that initializes the TextRun (such as creating
+ a RenderingContext if necessary).
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::recalcStyle):
- (WebCore::Document::enqueueOverflowEvent):
- * dom/Document.h:
- * page/FrameView.cpp:
- (WebCore::FrameView::FrameView):
- (WebCore::FrameView::~FrameView):
- (WebCore::FrameView::layout):
- (WebCore::FrameView::performPostLayoutTasks):
- (WebCore::FrameView::updateOverflowStatus):
- * page/FrameView.h:
- * rendering/RenderBlock.cpp:
- (WebCore::OverflowEventDispatcher::~OverflowEventDispatcher):
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::scrollRectToVisible):
- * rendering/RenderMarquee.cpp:
- (WebCore::RenderMarquee::start):
</del><ins>+ This patch marks the aforementioned constructor as "explicit" to discourage
+ such behavior in the future.
</ins><span class="cx">
</span><del>-2014-05-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Test: svg/custom/list-items-with-svg-font-family.html
</ins><span class="cx">
</span><del>- Merge r168915
</del><ins>+ * platform/graphics/TextRun.h:
+ (WebCore::TextRun::TextRun): Mark constructors as explicit.
+ * rendering/RenderListMarker.cpp:
+ (WebCore::RenderListMarker::computePreferredLogicalWidths): Call
+ RenderBlock::constructTextRun.
+ (WebCore::RenderListMarker::getRelativeMarkerRect): Ditto.
+ * rendering/RenderMenuList.cpp:
+ (RenderMenuList::updateOptionsWidth): Ditto.
</ins><span class="cx">
</span><del>- 2014-05-15 Daniel Bates <dabates@apple.com>
</del><ins>+2014-05-23 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- SVG element may reference arbitrary DOM element before running its insertion logic
- https://bugs.webkit.org/show_bug.cgi?id=132757
- <rdar://problem/15703817>
</del><ins>+ Caret's screen position does not update during an overflow scroll
+ https://bugs.webkit.org/show_bug.cgi?id=133256
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Fixes an issue where an SVG element may reference an arbitrary DOM element e before e finished being
- inserted in the tree.
</del><ins>+ During a scroll, we set a flag which caret position is gated on, but we never
+ actually invalidate the caret's position. This patch does so.
</ins><span class="cx">
</span><del>- Currently when an SVG element A is inserted into a document we use document.getElementById() to find the
- element B it references (if any). If A is inserted before B and B has the same id as a later element in
- the document then A can find B before B is notified that its been inserted into the document (i.e. before
- Element::insertedFrom() is called on B). Instead, A should call document.getElementById() only after
- cessation of the insertion operation that inserted it to ensure that all inserted nodes (including B)
- processed their insertion-specific logic.
</del><ins>+ Test: editing/input/caret-position-during-scroll.html
</ins><span class="cx">
</span><del>- Tests: svg/custom/reparent-animate-element.html
- svg/custom/reparent-feimage-element.html
- svg/custom/reparent-mpath-element.html
- svg/custom/reparent-textpath-element.html
- svg/custom/reparent-tref-element.html
- svg/custom/reparent-use-element.html
</del><ins>+ * editing/FrameSelection.h:
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::scrollTo):
</ins><span class="cx">
</span><del>- * svg/SVGFEImageElement.cpp:
- (WebCore::SVGFEImageElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
- we are called back to resolve our target element (i.e. call SVGFEImageElement::buildPendingResources())
- after the subtree we're in is inserted.
- (WebCore::SVGFEImageElement::didNotifySubtreeInsertions): Added; turns around and calls SVGFEImageElement::buildPendingResources().
- * svg/SVGFEImageElement.h:
- * svg/SVGMPathElement.cpp:
- (WebCore::SVGMPathElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
- we are called back to resolve our target element (i.e. call SVGMPathElement::buildPendingResources())
- after the subtree we're in is inserted.
- (WebCore::SVGMPathElement::didNotifySubtreeInsertions): Added; turns around and calls SVGMPathElement::buildPendingResources().
- * svg/SVGMPathElement.h:
- * svg/SVGTRefElement.cpp:
- (WebCore::SVGTRefElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
- we are called back to resolve our target element (i.e. call SVGTRefElement::buildPendingResources())
- after the subtree we're in is inserted.
- (WebCore::SVGTRefElement::didNotifySubtreeInsertions): Added; turns around and calls SVGTRefElement::buildPendingResources().
- * svg/SVGTRefElement.h:
- * svg/SVGTextPathElement.cpp:
- (WebCore::SVGTextPathElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
- we are called back to resolve our target element (i.e. call SVGTextPathElement::buildPendingResources())
- after the subtree we're in is inserted.
- (WebCore::SVGTextPathElement::didNotifySubtreeInsertions): Added; turns around and calls SVGTextPathElement::buildPendingResources().
- * svg/SVGTextPathElement.h:
- * svg/SVGUseElement.cpp:
- (WebCore::SVGUseElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
- we are called back to resolve our target element (i.e. call SVGUseElement::buildPendingResources()) after its subtree is
- inserted.
- (WebCore::SVGUseElement::didNotifySubtreeInsertions): Added; turns around and calls SVGUseElement::buildPendingResources().
- * svg/SVGUseElement.h:
- * svg/animation/SVGSMILElement.cpp:
- (WebCore::SVGSMILElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
- we are called back to resolve our target element (i.e. call SVGSMILElement::buildPendingResources())
- after the subtree we're in is inserted.
- (WebCore::SVGSMILElement::didNotifySubtreeInsertions): Added; turns around and calls SVGSMILElement::buildPendingResources().
- * svg/animation/SVGSMILElement.h:
</del><ins>+2014-05-27 Timothy Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>-2014-05-22 Dana Burkart <dburkart@apple.com>
</del><ins>+ Turn on the LayerPool for iOS
+ https://bugs.webkit.org/show_bug.cgi?id=133299
</ins><span class="cx">
</span><del>- Merge r169007
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- 2014-05-17 Maciej Stachowiak <mjs@apple.com>
</del><ins>+ * Configurations/WebCore.xcconfig:
+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandler::platformReleaseMemory):
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::createTileLayer):
+ * platform/graphics/ca/mac/TileGrid.mm:
+ (WebCore::TileGrid::removeTiles):
+ Turn on the LayerPool for iOS.
+ We've used this on Mac for a long time, and the WebKit1
+ ("legacy") iOS TileCache also had a similar pool.
+ This helps a good bit with flashiness while scrolling.
</ins><span class="cx">
</span><del>- Don't attempt to update id or name for nodes that are already removed
- https://bugs.webkit.org/show_bug.cgi?id=133041
</del><ins>+2014-05-27 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ REGRESSION: Audio volume scrubber does not show volume level thumb
+ <rdar://problem/16902004>
+ https://bugs.webkit.org/show_bug.cgi?id=133310
</ins><span class="cx">
</span><del>- Tests: fast/dom/remove-element-with-id-that-was-inserted-on-DOMNodeRemoved.html
- fast/dom/remove-element-with-name-that-was-inserted-on-DOMNodeRemoved.html
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::removedFrom): Skip updating ids and names for an element not
- in a treescope, as we already do for elements not in a document.
</del><ins>+ This was just a silly mistake on my part with the setting of the pagination
+ layers. Layers inside transforms are supposed to clear out their pagination
+ status based off their ancestor containing block layers, and not off the
+ enclosing pagination layer.
+
+ Added fast/multicol/pagination/nested-transforms.html
</ins><span class="cx">
</span><del>-2014-05-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::updatePagination):
</ins><span class="cx">
</span><del>- Merge r168636
</del><ins>+2014-05-27 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- 2014-05-12 Martin Hock <mhock@apple.com>
</del><ins>+ [Mac] media controls should prevent 'click' events from reaching the page
+ https://bugs.webkit.org/show_bug.cgi?id=133268
</ins><span class="cx">
</span><del>- Disallow drag and drop of non-displayable resources.
- https://bugs.webkit.org/show_bug.cgi?id=132745
- <rdar://problem/10562662>
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Test: media/media-controls-cancel-events.html
</ins><span class="cx">
</span><del>- Test: http/tests/security/drag-drop-local-file.html
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.js:
+ (Controller.prototype.handleEvent): Allow event handler to cancel event default action.
+ (Controller.prototype.handleRewindButtonClicked): Cancel event default.
+ (Controller.prototype.handlePlayButtonClicked): Ditto.
+ (Controller.prototype.handleMuteButtonClicked): Ditto.
+ (Controller.prototype.handleMinButtonClicked): Ditto.
+ (Controller.prototype.handleCaptionButtonClicked): Ditto.
+ (Controller.prototype.handleFullscreenButtonClicked): Ditto.
+ * Modules/mediacontrols/mediaControlsiOS.js:
+ (ControllerIOS.prototype.handlePlayButtonTouchEnd): Ditto.
+ (ControllerIOS.prototype.handlePlayButtonTouchCancel): Ditto.
+ (ControllerIOS.prototype.handleFullscreenTouchEnd): Ditto.
+ (ControllerIOS.prototype.handleFullscreenTouchCancel): Ditto.
+ (ControllerIOS.prototype.handleStartPlaybackButtonTouchEnd): Ditto.
+ (ControllerIOS.prototype.handleStartPlaybackButtonTouchCancel): Ditto.
+ (ControllerIOS.prototype.handleWirelessPickerButtonClicked): Ditto.
</ins><span class="cx">
</span><del>- * page/DragController.cpp:
- (WebCore::DragController::startDrag):
</del><ins>+2014-05-27 Jon Lee <jonlee@apple.com>
</ins><span class="cx">
</span><del>-2014-05-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Fix Mavericks bots from r169383.
+ https://bugs.webkit.org/show_bug.cgi?id=133311
</ins><span class="cx">
</span><del>- Merge r166741
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- 2014-04-02 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.h: Update #ifdef to check for ENABLE(MEDIA_SOURCE).
+ * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm: Ditto.
</ins><span class="cx">
</span><del>- Harden FilterOperation type casting
- https://bugs.webkit.org/show_bug.cgi?id=131142
</del><ins>+2014-05-27 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ REGRESSION (r168046): Incorrect handling of multicol spanner
+ https://bugs.webkit.org/show_bug.cgi?id=133249
</ins><span class="cx">
</span><del>- DefaultFilterOperation had an error-prone behavior where it set the base class
- OperationType to the type of some other filter class, but overrode isDefault().
- This made it very easy to write incorrect code that casted incorrectly based on type().
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Fix by making adding a DEFAULT filter operation type, and storing the represented
- type on DefaultFilterOperation().
</del><ins>+ When removing the child of an object, the removeChild method should return the next element
+ following the one being deleted. This will ensure that proper iteration and destruction of
+ an object's children is possible.
</ins><span class="cx">
</span><del>- Also remove the OperationType argument for constructors of FilterOperations that
- can only be of one type, to avoid possible mistakes.
</del><ins>+ No new tests added. This is because the test that triggers this issue also triggers
+ another assertion, in RenderMultiColumnSet::requiresBalancing(). However, that is a totally
+ separate problem and will be handled in a separate bug: https://bugs.webkit.org/show_bug.cgi?id=133309
</ins><span class="cx">
</span><del>- Make the type cast macros a bit more normal, and use them in a few places.
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::removeChild):
+ * rendering/RenderBlock.h:
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::removeChild):
+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderButton.cpp:
+ (WebCore::RenderButton::removeChild):
+ * rendering/RenderButton.h:
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::removeChild):
+ (WebCore::RenderElement::removeChildInternal):
+ * rendering/RenderElement.h:
+ * rendering/RenderMenuList.cpp:
+ (RenderMenuList::removeChild):
+ * rendering/RenderMenuList.h:
+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::flowThreadDescendantInserted):
+ * rendering/RenderRuby.cpp:
+ (WebCore::RenderRubyAsInline::removeChild):
+ (WebCore::RenderRubyAsBlock::removeChild):
+ * rendering/RenderRuby.h:
+ * rendering/RenderRubyRun.cpp:
+ (WebCore::RenderRubyRun::removeChild):
+ * rendering/RenderRubyRun.h:
+ * rendering/mathml/RenderMathMLScripts.cpp:
+ (WebCore::RenderMathMLScripts::removeChildInternal):
+ (WebCore::RenderMathMLScripts::removeChild):
+ (WebCore::RenderMathMLScriptsWrapper::removeChildInternal):
+ (WebCore::RenderMathMLScriptsWrapper::removeChild):
+ * rendering/mathml/RenderMathMLScripts.h:
+ * rendering/svg/RenderSVGContainer.cpp:
+ (WebCore::RenderSVGContainer::removeChild):
+ * rendering/svg/RenderSVGContainer.h:
+ * rendering/svg/RenderSVGInline.cpp:
+ (WebCore::RenderSVGInline::removeChild):
+ * rendering/svg/RenderSVGInline.h:
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::removeChild):
+ * rendering/svg/RenderSVGRoot.h:
+ * rendering/svg/RenderSVGText.cpp:
+ (WebCore::RenderSVGText::removeChild):
+ * rendering/svg/RenderSVGText.h:
</ins><span class="cx">
</span><del>- Fixed PlatformCAFiltersMac to handle the default filter case more cleanly.
</del><ins>+2014-05-27 Jon Lee <jonlee@apple.com>
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::ComputedStyleExtractor::valueForFilter):
- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::createFilterOperations):
- * platform/graphics/ca/PlatformCAFilters.h:
- * platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
- (PlatformCAFilters::filterValueForOperation):
- (PlatformCAFilters::colorMatrixValueForFilter):
- * platform/graphics/filters/FilterOperation.cpp:
- (WebCore::DefaultFilterOperation::operator==):
- (WebCore::ReferenceFilterOperation::ReferenceFilterOperation):
- (WebCore::ReferenceFilterOperation::operator==):
- (WebCore::BlurFilterOperation::operator==):
- (WebCore::BlurFilterOperation::blend):
- (WebCore::DropShadowFilterOperation::operator==):
- (WebCore::DropShadowFilterOperation::blend):
- * platform/graphics/filters/FilterOperation.h:
- (WebCore::FilterOperation::blend):
- (WebCore::FilterOperation::type):
- (WebCore::FilterOperation::isBasicColorMatrixFilterOperation):
- (WebCore::FilterOperation::isBasicComponentTransferFilterOperation):
- (WebCore::FilterOperation::isSameType):
- (WebCore::DefaultFilterOperation::create):
- (WebCore::DefaultFilterOperation::representedType):
- (WebCore::DefaultFilterOperation::DefaultFilterOperation):
- (WebCore::ReferenceFilterOperation::create):
- (WebCore::BlurFilterOperation::create):
- (WebCore::BlurFilterOperation::BlurFilterOperation):
- (WebCore::DropShadowFilterOperation::create):
- (WebCore::DropShadowFilterOperation::DropShadowFilterOperation):
- (WebCore::FilterOperation::isDefault): Deleted.
- * platform/graphics/filters/FilterOperations.cpp:
- (WebCore::FilterOperations::outsets):
- * rendering/FilterEffectRenderer.cpp:
- (WebCore::FilterEffectRenderer::build):
- * rendering/RenderLayerFilterInfo.cpp:
- (WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients):
</del><ins>+ Update ENABLE(MEDIA_SOURCE) on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=133141
</ins><span class="cx">
</span><del>-2014-05-22 Dana Burkart <dburkart@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Merge r167851
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
</ins><span class="cx">
</span><del>- 2014-04-26 Darin Adler <darin@apple.com>
</del><ins>+2014-05-27 Tibor Meszaros <tmeszaros.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Frame and page lifetime fixes in WebCore::createWindow
- https://bugs.webkit.org/show_bug.cgi?id=132089
</del><ins>+ Remove BLOB guards
+ https://bugs.webkit.org/show_bug.cgi?id=132863
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Reviewed by Csaba Osztrogonác.
</ins><span class="cx">
</span><del>- Speculative fix because I was unable to reproduce the crash that was
- reported with the test case attached to this bug.
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
+ * Modules/websockets/WebSocketChannel.cpp:
+ (WebCore::WebSocketChannel::WebSocketChannel):
+ (WebCore::WebSocketChannel::didFail):
+ (WebCore::WebSocketChannel::processOutgoingFrameQueue):
+ (WebCore::WebSocketChannel::abortOutgoingFrameQueue):
+ * Modules/websockets/WebSocketChannel.h:
+ * WebCore.exp.in:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * bindings/js/JSBlobCustom.cpp:
+ (WebCore::JSBlobConstructor::constructJSBlob):
+ * bindings/js/JSFileReaderCustom.cpp:
+ * dom/DOMExceptions.in:
+ * dom/EventTargetFactory.in:
+ * dom/ScriptExecutionContext.cpp:
+ (WebCore::ScriptExecutionContext::publicURLManager):
+ * dom/ScriptExecutionContext.h:
+ * fileapi/AsyncFileStream.cpp:
+ * fileapi/AsyncFileStream.h:
+ * fileapi/Blob.cpp:
+ (WebCore::Blob::Blob):
+ * fileapi/Blob.h:
+ (WebCore::Blob::slice):
+ * fileapi/Blob.idl:
+ * fileapi/FileError.h:
+ * fileapi/FileError.idl:
+ * fileapi/FileException.cpp:
+ * fileapi/FileException.h:
+ * fileapi/FileException.idl:
+ * fileapi/FileReader.cpp:
+ * fileapi/FileReader.h:
+ * fileapi/FileReader.idl:
+ * fileapi/FileReaderLoader.cpp:
+ * fileapi/FileReaderLoader.h:
+ * fileapi/FileReaderLoaderClient.h:
+ * fileapi/FileReaderSync.cpp:
+ * fileapi/FileReaderSync.h:
+ * fileapi/FileReaderSync.idl:
+ * fileapi/FileThread.cpp:
+ * fileapi/FileThread.h:
+ * fileapi/ThreadableBlobRegistry.cpp:
+ (WebCore::ThreadableBlobRegistry::registerFileBlobURL): Deleted.
+ (WebCore::ThreadableBlobRegistry::registerBlobURL): Deleted.
+ (WebCore::ThreadableBlobRegistry::registerBlobURLForSlice): Deleted.
+ (WebCore::ThreadableBlobRegistry::unregisterBlobURL): Deleted.
+ (WebCore::ThreadableBlobRegistry::blobSize): Deleted.
+ (WebCore::ThreadableBlobRegistry::getCachedOrigin): Deleted.
+ * fileapi/WebKitBlobBuilder.cpp:
+ (WebCore::BlobBuilder::append):
+ * fileapi/WebKitBlobBuilder.h:
+ * html/DOMURL.cpp:
+ * html/DOMURL.h:
+ * html/DOMURL.idl:
+ * html/PublicURLManager.cpp:
+ * html/PublicURLManager.h:
+ * loader/LoaderStrategy.cpp:
+ (WebCore::LoaderStrategy::createBlobRegistry):
+ * loader/LoaderStrategy.h:
+ * page/DOMWindow.idl:
+ * page/SecurityOrigin.cpp:
+ (WebCore::SecurityOrigin::shouldUseInnerURL):
+ (WebCore::getCachedOrigin):
+ * platform/FileStream.cpp:
+ * platform/FileStream.h:
+ * platform/FileStreamClient.h:
+ * platform/SchemeRegistry.cpp:
+ (WebCore::canDisplayOnlyIfCanRequestSchemes):
+ * platform/network/BlobRegistry.cpp:
+ * platform/network/BlobRegistryImpl.cpp:
+ * platform/network/BlobResourceHandle.cpp:
+ * platform/network/BlobResourceHandle.h:
+ * platform/network/FormData.cpp:
+ (WebCore::FormData::deepCopy):
+ (WebCore::FormData::appendFile):
+ (WebCore::FormData::appendBlob):
+ (WebCore::FormData::appendKeyValuePairItems):
+ (WebCore::FormData::resolveBlobReferences):
+ (WebCore::encodeElement):
+ (WebCore::decodeElement):
+ * platform/network/FormData.h:
+ (WebCore::FormDataElement::FormDataElement):
+ (WebCore::operator==):
+ * platform/network/cf/FormDataStreamCFNet.cpp:
+ (WebCore::closeCurrentStream):
+ (WebCore::advanceCurrentStream):
+ (WebCore::formCreate):
+ (WebCore::formRead):
+ (WebCore::setHTTPBody):
+ * platform/network/curl/ResourceHandleManager.cpp:
+ (WebCore::getFormElementsCount):
+ * platform/network/soup/ResourceHandleSoup.cpp:
+ (WebCore::addEncodedBlobToSoupMessageBody):
+ (WebCore::addFormElementsToSoupMessage):
+ * workers/WorkerGlobalScope.idl:
+ * xml/XMLHttpRequest.cpp:
+ (WebCore::XMLHttpRequest::send):
+ (WebCore::XMLHttpRequest::createRequest):
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp:
- (WebCore::createWindow): Changed code to remove the assumption that calls
- out will not destroy the page or frame. Use RefPtr for the frame, and
- added early exits if frame->page() becomes null at any point before we
- use a page pointer.
</del><ins>+2014-05-27 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>-2014-05-22 Dana Burkart <dburkart@apple.com>
</del><ins>+ Allow building CMake based ports with WEB_REPLAY
+ https://bugs.webkit.org/show_bug.cgi?id=133154
</ins><span class="cx">
</span><del>- Merge r168641
</del><ins>+ Reviewed by Csaba Osztrogonác.
</ins><span class="cx">
</span><del>- 2014-05-09 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+ * CMakeLists.txt:
</ins><span class="cx">
</span><del>- REGRESSION (r167818): editing/inserting/typing-space-to-trigger-smart-link.html fails on WebKit1 bots
</del><ins>+2014-05-27 Adrian Perez de Castro <aperez@igalia.com>
</ins><span class="cx">
</span><del>- <https://bugs.webkit.org/show_bug.cgi?id=132207>
- <rdar://problem/16730393>
</del><ins>+ [GStreamer] Add missing <wtf/MathExtras.h> header
+ https://bugs.webkit.org/show_bug.cgi?id=133236
</ins><span class="cx">
</span><del>- Reverts the previous workaround in favor of a more specific fix for the
- null dereference.
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ In some configurations, not including <wtf/MathExtras.h> will cause
+ errors about undefined functions. In particular, this happens in
+ Linux with glibc 2.19 and compiling with Clang. Having the header
+ included is the correct thing to do anyway.
</ins><span class="cx">
</span><del>- * editing/ApplyStyleCommand.cpp:
- (WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange):
- Check whether the run's start and end are still in the document, as
- removeConflictingInlineStyleFromRun() may have removed them.
</del><ins>+ * platform/graphics/gstreamer/GStreamerUtilities.cpp:
+ Include <wtf/MathExtras.h>
</ins><span class="cx">
</span><del>- * editing/CompositeEditCommand.cpp:
- (WebCore::CompositeEditCommand::apply):
- Reverted previous workaround.
- (WebCore::ApplyEditCommand::ReentrancyGuard::isRecursiveCall): Deleted.
- (WebCore::ApplyEditCommand::ReentrancyGuard::Scope::Scope): Deleted.
- (WebCore::ApplyEditCommand::ReentrancyGuard::Scope::~Scope): Deleted.
</del><ins>+2014-05-27 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>-2014-05-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Setting up OrderIterator shouldn't require an extra Vector
+ https://bugs.webkit.org/show_bug.cgi?id=119061
</ins><span class="cx">
</span><del>- Merge r167635
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- 2014-04-21 Dan Bernstein <mitz@apple.com>
</del><ins>+ From Blink r153971 by <jchaffraix@chromium.org>
</ins><span class="cx">
</span><del>- WebCore part of <rdar://problem/16631323> Page::setDefersLoading doesn’t do anything when using the Network process
- https://bugs.webkit.org/show_bug.cgi?id=131939
</del><ins>+ This patches reuse the OrderIterator's Vector. It provides a helper class OrderIteratorPopulator, used for
+ manipulating the Vector directly. Which allows to consolidate the code into a single implementation across
+ flexbox and grid.
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ No new tests, already covered by current tests.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Exported WebCore::ResourceHandle::setDefersLoading.
</del><ins>+ * rendering/OrderIterator.cpp:
+ (WebCore::OrderIteratorPopulator::~OrderIteratorPopulator): Reset OrderIterator and call
+ removeDuplicatedOrderValues().
+ (WebCore::OrderIteratorPopulator::removeDuplicatedOrderValues): Sorts the Vector and removes the duplicated
+ order values.
+ (WebCore::OrderIteratorPopulator::collectChild): Collect order value information from child.
+ (WebCore::OrderIterator::setOrderValues): Deleted.
+ * rendering/OrderIterator.h:
+ (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): Add helper class to manipulate OrderValues Vector.
+ * rendering/RenderFlexibleBox.cpp:
+ (WebCore::RenderFlexibleBox::layoutBlock): Remove unneeded code related to old OrderValues vector.
+ (WebCore::RenderFlexibleBox::prepareOrderIteratorAndMargins): Populate OrderIterator using collectChild().
+ (WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes): Deleted.
+ * rendering/RenderFlexibleBox.h: Rename computeMainAxisPreferredSizes() to prepareOrderIteratorAndMargins().
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::populateExplicitGridAndOrderIterator): Populate OrderIterator using collectChild().
</ins><span class="cx">
</span><del>- * loader/ResourceLoadScheduler.cpp:
- (WebCore::ResourceLoadScheduler::setDefersLoading): Added a no-op implementation.
- * loader/ResourceLoadScheduler.h: Declared new virtual member function setDefersLoading.
</del><ins>+2014-05-26 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- * loader/ResourceLoader.cpp:
- (WebCore::ResourceLoader::setDefersLoading): Added a call to the above function.
</del><ins>+ [wk2] RemoteLayerBackingStore front buffers should be purgeable when unparented
+ https://bugs.webkit.org/show_bug.cgi?id=133020
+ <rdar://problem/16521736>
</ins><span class="cx">
</span><del>-2014-05-22 Dana Burkart <dburkart@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Merge r167818
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/cg/IOSurfacePool.cpp:
+ (WebCore::IOSurfacePool::willAddSurface):
+ * platform/graphics/cocoa/IOSurface.h:
+ * platform/graphics/cocoa/IOSurface.mm:
+ (IOSurface::releaseGraphicsContext):
+ Rename clearGraphicsContext to releaseGraphicsContext for clarity.
</ins><span class="cx">
</span><del>- 2014-04-23 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+2014-05-26 Philip Rogers <pdr@google.com>
</ins><span class="cx">
</span><del>- Crash applying editing commands from iframe onload event
</del><ins>+ Remove special case for transparent SVG root layers
+ https://bugs.webkit.org/show_bug.cgi?id=116856
</ins><span class="cx">
</span><del>- <https://bugs.webkit.org/show_bug.cgi?id=132103>
- <rdar://problem/15696351>
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- This patch merges the Chromium bug workaround from
- <http://src.chromium.org/viewvc/blink?revision=162080&view=revision>,
- which prevents reentrancy in CompositeEditCommand::apply().
</del><ins>+ This patch removes a special case from RenderLayer for root SVG layers
+ with opacity. Instead of checking whether a composited layer exists in
+ SVGRenderingContext::prepareToRenderSVGContent we now exclude the root
+ SVG renderobject from the opacity checks in prepareToRenderSVGContent.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ This is a merge of https://src.chromium.org/viewvc/blink?view=rev&revision=174102
+ by Philip Rogers <pdr@chromium.org>.
</ins><span class="cx">
</span><del>- Test: editing/apply-style-iframe-crash.html
</del><ins>+ No new tests as this is covered by svg/custom/composited-svg-with-opacity.html.
</ins><span class="cx">
</span><del>- * editing/CompositeEditCommand.cpp:
- (WebCore::HTMLNames::ReentrancyGuard::isRecursiveCall):
- (WebCore::HTMLNames::ReentrancyGuard::Scope::Scope):
- (WebCore::HTMLNames::ReentrancyGuard::Scope::~Scope):
- (WebCore::CompositeEditCommand::apply):
- If this is a recursive call, return early.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::isTransparent): Deleted.
+ * rendering/RenderLayer.h:
+ * rendering/svg/SVGRenderingContext.cpp:
+ (WebCore::SVGRenderingContext::prepareToRenderSVGContent):
+ The opacity case for root svg renderers is now handled by
+ RenderLayer.
</ins><span class="cx">
</span><del>-2014-05-22 Dana Burkart <dburkart@apple.com>
</del><ins>+2014-05-26 Yusuke Suzuki <utatane.tea@gmail.com>
</ins><span class="cx">
</span><del>- Merge r167264
</del><ins>+ CSS JIT: Fix build error raised when CSS_SELECTOR_JIT_DEBUGGING is 1
+ https://bugs.webkit.org/show_bug.cgi?id=133266
</ins><span class="cx">
</span><del>- 2014-04-14 Jer Noble <jer.noble@apple.com>
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- Use after free in WebCore::CachedResourceHandleBase::~CachedResourceHandleBase / WebCore::removeDetachedChildrenInContainer
- https://bugs.webkit.org/show_bug.cgi?id=131169
</del><ins>+ When CSS_SELECTOR_JIT_DEBUGGING is 1, build erros occur on x86_64.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generatePrologue):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateEpilogue):
</ins><span class="cx">
</span><del>- Invalidate the WebCoreAVFResourceLoader owned by MediaPlayerPrivateAVFoundationObjC
- in its destructor, to prevent a private function being called in response to the
- WebCoreAVFResourceLoader being stopped.
</del><ins>+2014-05-26 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC):
- * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h:
- * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
- (WebCore::WebCoreAVFResourceLoader::invalidate):
</del><ins>+ Fix the quirks mode selector matching of the pseudo classes :hover and :active
+ https://bugs.webkit.org/show_bug.cgi?id=133063
</ins><span class="cx">
</span><del>-2014-05-22 Dana Burkart <dburkart@apple.com>
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Merge r166628
</del><ins>+ Our implementation of the quirks mode of :active and :hover was very wrong. The only
+ thing it was doing is verify the pseudo class is not the first selector of a fragment
+ (which was conveniently the only thing that was tested :)).
</ins><span class="cx">
</span><del>- 2014-04-13 Darin Adler <darin@apple.com>
</del><ins>+ Since those pseudo class were only checking for the order of the filters, something like
+ #target:hover
+ would succeed because :hover is not the first simple selector, while
+ :hover#target
+ would fail.
</ins><span class="cx">
</span><del>- userVisibleString should not try to "encode" host names
- https://bugs.webkit.org/show_bug.cgi?id=131587
- rdar://problem/14686849
</del><ins>+ That behavior is also a problem for the CSS JIT as it is an implementation detail of SelectorChecker
+ and compiling something like that with our out-of-order matching would be nonsense.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ This patch update the implementation to follow http://quirks.spec.whatwg.org/#the-:active-and-:hover-quirk
+ Basically, the only cases that do not work in quirks mode are selectors composed only of "*, :hover and :active".
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Updated for WebCoreNSURLExtras argument type changes.
</del><ins>+ To implement this behavior, I needed to be able to inspect a complete selector fragment, including
+ what is before and after :hover/:active.
+ To do that, I replaced the boolean isSubSelector by a pointer to the first selector of the fragment.
+ When we need to match :active/:hover in quirks mode, we just go over all the selectors in the fragment
+ to find one of the qualifying match type.
</ins><span class="cx">
</span><del>- * platform/mac/WebCoreNSURLExtras.h: Removed unneeded code to make this
- Objective-C++ header compile in plain C++ files, which we never need to do.
- Added missing argument name, baseURL, and changed mysterious CFIndex arguments
- to the correct type, CFURLComponentType.
</del><ins>+ Tests: fast/selectors/active-hover-quirks.html
+ fast/selectors/active-quirks.html
+ fast/selectors/hover-quirks.html
</ins><span class="cx">
</span><del>- * platform/mac/WebCoreNSURLExtras.mm:
- (WebCore::isLookalikeCharacter): Removed the inline keyword from this, and added
- more lookalike characters from the Mozilla list referenced here.
- (WebCore::URLByTruncatingOneCharacterBeforeComponent): Updated argument type.
- (WebCore::dataForURLComponentType): Ditto.
- (WebCore::userVisibleString): Only call mapHostNames if host name decoding is
- needed; no encoding here.
</del><ins>+ * css/SelectorChecker.cpp:
+ (WebCore::SelectorChecker::matchRecursively):
+ (WebCore::canMatchHoverOrActiveInQuirksMode):
+ (WebCore::SelectorChecker::checkOne):
+ * css/SelectorChecker.h:
+ (WebCore::SelectorChecker::SelectorCheckingContext::SelectorCheckingContext):
</ins><span class="cx">
</span><del>-2014-05-22 Dana Burkart <dburkart@apple.com>
</del><ins>+2014-05-26 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Merge r166628
</del><ins>+ Split the call to adjustForLocalZoom out into a separate expression.
+ https://bugs.webkit.org/show_bug.cgi?id=133286
</ins><span class="cx">
</span><del>- 2014-04-01 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Crash in WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients
</del><ins>+ This patch ensures that adjustForLocalZoom() always gets called before we look at
+ zoomFactor's value. (and not rely on the undefined behavior of the order of function argument evaluation)
</ins><span class="cx">
</span><del>- <https://bugs.webkit.org/show_bug.cgi?id=121887>
- <rdar://problem/15073043>
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::offsetLeft):
+ (WebCore::Element::offsetTop):
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+2014-05-26 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Test: svg/filters/first-letter-crash.html
</del><ins>+ Class name matching should use ASCII case-insensitive matching, not Unicode case folding
+ https://bugs.webkit.org/show_bug.cgi?id=133292
</ins><span class="cx">
</span><del>- * rendering/FilterEffectRenderer.cpp:
- (WebCore::FilterEffectRenderer::buildReferenceFilter):
- Added a null check to prevent crashes for anonymous RenderObjects.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::filterNeedsRepaint):
- Get the enclosing element, if there is one, and recalculate its style.
- We use the enclosing element so that we recalculate style for the
- ancestor of an anonymous RenderElement.
- (WebCore::RenderLayer::enclosingElement):
- Remove an assertion; we may now reach this condition if loading a
- cached SVG document results in RenderLayer::filterNeedsRepaint() being
- called before the object has been inserted into the render tree.
</del><ins>+ Tests: fast/dom/getElementsByClassName/ASCII-case-insensitive.html
+ fast/dom/getElementsByClassName/case-sensitive.html
</ins><span class="cx">
</span><del>- * rendering/RenderLayerFilterInfo.cpp:
- (WebCore::RenderLayer::FilterInfo::notifyFinished):
- Tell the RenderLayer that the filter needs repainting.
- (WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients):
- Get the Element from the renderer rather than asking the renderer's
- Element, which will be null for anonymous RenderObjects.
</del><ins>+ * dom/SpaceSplitString.cpp:
+ (WebCore::hasNonASCIIOrUpper): Deleted.
+ (WebCore::tokenizeSpaceSplitString): Use a for loop instead of while.
+ (WebCore::spaceSplitStringTable): Renamed from sharedDataMap; the new name is supposed
+ to help us see the analogy with the atomic string table.
+ (WebCore::SpaceSplitString::set): Removed unneeded special case for null and preflight
+ since AtomicString::convertToASCIILowercase now handles both of those. Changed to call
+ convertToASCIILowercase instead of foldCase, since we don't want to fold non-ASCII.
+ (WebCore::SpaceSplitString::spaceSplitStringContainsValue): Ditto.
+ (WebCore::SpaceSplitStringData::create): Marked this inline since it's only called in
+ one place and that place is in this file. Also used auto a bit and used get instead of
+ find since the value type is a simple pointer.
+ (WebCore::SpaceSplitStringData::destroy): Removed unneeded check for null. We never
+ create any SpaceSplitStringData with empty strings, and a null is a kind of empty string.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerFilterInfo.h:
- Removed declaration for the old workaround function, layerElement().
</del><ins>+ * dom/SpaceSplitString.h: Removed some unneeded includes and some unneeded uses of the
+ inline keyword. Changed types from size_t to unsigned in a couple places; we had a mix
+ of the types and there was no reason to use size_t there.
</ins><span class="cx">
</span><del>-2014-05-22 Dana Burkart <dburkart@apple.com>
</del><ins>+2014-05-26 Javier Fernandez <jfernandez@igalia.com>
</ins><span class="cx">
</span><del>- Merge r165206
</del><ins>+ [CSS Grid Layout] Implementation of the "grid" shorthand.
+ https://bugs.webkit.org/show_bug.cgi?id=132122
</ins><span class="cx">
</span><del>- 2014-03-05 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Invalid cast in WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients()
</del><ins>+ The grid property is a shorthand that sets all of the explicit
+ grid properties (grid-template-rows, grid-template-columns, and
+ grid-template-areas) as well as all the implicit grid properties
+ (grid-auto-rows, grid-auto-columns, and grid-auto-flow) in a
+ single declaration
</ins><span class="cx">
</span><del>- <https://bugs.webkit.org/show_bug.cgi?id=121887>
- <rdar://problem/15073043>
</del><ins>+ Notice that either explicit or implicit grid can be specified,
+ assigning the initial values to the omitted properties.
</ins><span class="cx">
</span><del>- Clang appears to be optimizing out a branch in RenderObject::node()
- when compiling RenderLayer::FilterInfo::updateReferenceFilterClients().
- We'll work around this by factoring out the code in question into a
- separate member function marked NEVER_INLINE.
</del><ins>+ Test: fast/css-grid-layout/grid-shorthand-get-set.html
</ins><span class="cx">
</span><del>- No test possible due to <https://bugs.webkit.org/show_bug.cgi?id=129757>.
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::ComputedStyleExtractor::propertyValue):
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseValue):
+ (WebCore::CSSParser::parseGridShorthand):
+ * css/CSSParser.h:
+ * css/CSSPropertyNames.in:
+ * css/StylePropertyShorthand.cpp:
+ (WebCore::webkitGridShorthand):
+ * css/StylePropertyShorthand.h:
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+2014-05-26 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderLayerFilterInfo.cpp:
- (WebCore::RenderLayer::FilterInfo::layerElement):
- Code moved from updateReferenceFilterClients(). Returns the Element*
- for m_layer.
- (WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients):
- Use layerElement().
</del><ins>+ Subpixel layout: Legacy Element.offset* client* return values are invalid in certain cases.
+ https://bugs.webkit.org/show_bug.cgi?id=133272
</ins><span class="cx">
</span><del>- * rendering/RenderLayerFilterInfo.h:
- Declared layerElement().
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2014-05-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Element.offset* client* functions applied various rounding strategies on the return values before r168868.
+ (for example, offsetLeft/Top either floored through implicit integer arithmetics or rounded explicitly depending
+ whether the zoom scale was 1. see http://trac.webkit.org/changeset/168868/trunk/Source/WebCore/dom/Element.cpp for details)
+ This patch mimics the legacy behavior by either rounding or flooring the return value.
</ins><span class="cx">
</span><del>- Merge r164950
</del><ins>+ Not testable (legacy switch is not exposed)
</ins><span class="cx">
</span><del>- 2014-03-02 Dean Jackson <dino@apple.com>
</del><ins>+ * dom/Element.cpp:
+ (WebCore::adjustForLocalZoom):
+ (WebCore::convertToNonSubpixelValueIfNeeded):
+ (WebCore::Element::offsetLeft):
+ (WebCore::Element::offsetTop):
</ins><span class="cx">
</span><del>- Add protected casting to FilterOperation classes.
- https://bugs.webkit.org/show_bug.cgi?id=124062
</del><ins>+2014-05-26 Michał Pakuła vel Rutka <m.pakula@samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ [EFL] Input fields and text areas are not rendered correctly after r167771
+ https://bugs.webkit.org/show_bug.cgi?id=133181
</ins><span class="cx">
</span><del>- Use the type cast macro generators to produce some toFilterOperation-style
- functions, and then use them in our PlatformCA filter code.
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- Test: css3/filters/animation-from-initial-values-with-color-matrix.html
</del><ins>+ r167771 changed arguments of RenderTheme two virtual method arguments which were not reflected
+ in changes in derived classes, which caused parent method to be called. Arguments in derived class
+ were updated, also 'override' specifiers were added to all virtual methods to prevent similar errors.
</ins><span class="cx">
</span><del>- * platform/graphics/ca/mac/PlatformCAFiltersMac.mm: Use the toFilterOperation methods, in
- some cases removing the unnecessary double cast.
- (PlatformCAFilters::filterValueForOperation):
- (PlatformCAFilters::colorMatrixValueForFilter):
- * platform/graphics/filters/FilterOperation.cpp:
- (WebCore::BasicColorMatrixFilterOperation::blend):
- (WebCore::BasicColorMatrixFilterOperation::operator==): Move this to the .cpp file so it can use the casting methods.
- (WebCore::BasicComponentTransferFilterOperation::blend):
- (WebCore::BasicComponentTransferFilterOperation::operator==): Ditto.
- * platform/graphics/filters/FilterOperation.h: Add the casting macros.
</del><ins>+ Already covered by fast/forms/textarea-placeholder-wrapping.html
</ins><span class="cx">
</span><del>-2014-05-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/efl/RenderThemeEfl.cpp:
+ (WebCore::RenderThemeEfl::paintTextField):
+ (WebCore::RenderThemeEfl::paintTextArea):
+ * platform/efl/RenderThemeEfl.h:
+ (WebCore::RenderThemeEfl::supportsHover):
+ (WebCore::RenderThemeEfl::supportsControlTints):
</ins><span class="cx">
</span><del>- Merge r157816
</del><ins>+2014-05-20 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>- 2013-10-22 Tim Horton <timothy_horton@apple.com>
</del><ins>+ [CSS Grid Layout] Children of grid containers must be turned into grid items
+ https://bugs.webkit.org/show_bug.cgi?id=132991
</ins><span class="cx">
</span><del>- GammaFilterOperation seems to be dead code
- https://bugs.webkit.org/show_bug.cgi?id=123173
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ From Blink r150472 by <jchaffraix@chromium.org>
</ins><span class="cx">
</span><del>- * platform/graphics/filters/FilterOperation.cpp:
- * platform/graphics/filters/FilterOperation.h:
- Remove dead code.
</del><ins>+ According to specs each child of a grid container must become a
+ grid item meaning that grid items are grid level boxes and thus,
+ do not participate in the block formatting context but in the grid
+ formatting one.
</ins><span class="cx">
</span><del>-2014-05-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ This change updates the grid items' 'display' property after style
+ resolution so that we match the specification (see section 4. Grid
+ Items). The spec basically instructs us to compute the value of
+ 'display' by applying the table in CSS2.1 Chapter 9.7
+ http://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo
</ins><span class="cx">
</span><del>- Merge r155315
</del><ins>+ Test: fast/css-grid-layout/grid-item-display.html
</ins><span class="cx">
</span><del>- 2013-09-08 Andreas Kling <akling@apple.com>
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::isDisplayGridBox):
+ (WebCore::StyleResolver::adjustRenderStyle):
</ins><span class="cx">
</span><del>- FrameView::scheduleEvent() is over-engineered.
- <https://webkit.org/b/121004>
</del><ins>+2014-05-26 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Remove Vector copies in ShorthandPropertyWrapper implementation and use
+ https://bugs.webkit.org/show_bug.cgi?id=133265
</ins><span class="cx">
</span><del>- Remove gratuitous FrameActionScheduler class that was really only being used
- to defer the occassional "overflowchanged" event until layout had finished.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * page/FrameActionScheduler.cpp:
- * page/FrameActionScheduler.h:
</del><ins>+ * page/animation/CSSPropertyAnimation.cpp:
+ (WebCore::ShorthandPropertyWrapper::ShorthandPropertyWrapper): Move the passed-in Vector
+ into the member variable instead of using Vector<>::swap().
+ (WebCore::ShorthandPropertyWrapper::propertyWrappers): Return a const reference of the member
+ variable instead of a const value.
+ (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): Move the Vector
+ object into the ShorthandProperthyWrapper constructor.
+ (WebCore::gatherEnclosingShorthandProperties): Deploy a range-based for-loop.
</ins><span class="cx">
</span><del>- Removed FrameActionScheduler.
</del><ins>+2014-05-26 Tanay C <tanay.c@samsung.com>
</ins><span class="cx">
</span><del>- * page/FrameView.h:
- * page/FrameView.cpp:
- (WebCore::FrameView::FrameView):
- (WebCore::FrameView::~FrameView):
- (WebCore::FrameView::layout):
- (WebCore::FrameView::ScheduledEvent::ScheduledEvent):
- (WebCore::FrameView::scheduleEvent):
- (WebCore::FrameView::pauseScheduledEvents):
- (WebCore::FrameView::resumeScheduledEvents):
- (WebCore::FrameView::performPostLayoutTasks):
- (WebCore::FrameView::updateOverflowStatus):
</del><ins>+ [EFL] Fix build error in blob.cpp after r168435
+ https://bugs.webkit.org/show_bug.cgi?id=132678
</ins><span class="cx">
</span><del>- Replaced it with a Vector<ScheduledEvent> and a suppression counter.
- A ScheduledEvent is just a { Node, Event } pair.
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>-2014-05-19 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * fileapi/Blob.cpp:
+ (WebCore::Blob::size): Using isInBound to check range of local var
+ actualsize to resolve build error
</ins><span class="cx">
</span><del>- erge r169098
</del><ins>+2014-05-25 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- 2013-09-19 Bear Travis <betravis@adobe.com>
</del><ins>+ [EFL] Remove TileCairo and TiledBackingStoreBackendCairo
+ https://bugs.webkit.org/show_bug.cgi?id=133274
</ins><span class="cx">
</span><del>- CSS_SHAPES not supported on AppleWin port
- https://bugs.webkit.org/show_bug.cgi?id=118810
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ Now, TiledBackingStore is only used for CoordinatedGraphics and the EFL port.
+ CoordinatedGraphics does not use TileCairo and TiledBackingStoreBackendCairo.
</ins><span class="cx">
</span><del>- Enabling fast/shapes on windows.
</del><ins>+ This patch removed them and refactored related files.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Add missing shape includes.
- * WebCore.vcxproj/WebCoreCommon.props: Include shapes source folder.
- * WebCore.vcxproj/copyForwardingHeaders.cmd: Copy shapes headers.
- * css/CSSPropertyNames.in: Tweak to ensure shapes properties are regenerated.
</del><ins>+ * PlatformEfl.cmake:
+ * PlatformGTK.cmake:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * platform/graphics/TiledBackingStore.cpp:
+ (WebCore::TiledBackingStore::TiledBackingStore): Deleted.
+ * platform/graphics/TiledBackingStore.h:
+ * platform/graphics/TiledBackingStoreBackend.h:
+ * platform/graphics/cairo/TileCairo.cpp: Removed.
+ * platform/graphics/cairo/TiledBackingStoreBackendCairo.cpp: Removed.
</ins><span class="cx">
</span><del>-2014-05-08 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+2014-05-25 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>- Rollout r168034.
</del><ins>+ setData() of DataTransfer has a void return type
+ https://bugs.webkit.org/show_bug.cgi?id=133108
</ins><span class="cx">
</span><del>-2014-05-07 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- Rollout r168104
</del><ins>+ According to HTML5 spec, setData() of DataTranfer interface does not return value.
+ http://www.w3.org/TR/html/editing.html#the-datatransfer-interface
</ins><span class="cx">
</span><del>-2014-05-05 Andy Estes <aestes@apple.com>
</del><ins>+ Test: editing/pasteboard/set_data_typeof_return.html
</ins><span class="cx">
</span><del>- Fix the Mountain Lion build.
</del><ins>+ * dom/DataTransfer.cpp:
+ (WebCore::DataTransfer::setData):
+ * dom/DataTransfer.h:
+ * dom/DataTransfer.idl:
+ * platform/Pasteboard.h:
+ * platform/efl/PasteboardEfl.cpp:
+ (WebCore::Pasteboard::writeString):
+ * platform/gtk/PasteboardGtk.cpp:
+ (WebCore::Pasteboard::writeString):
+ * platform/ios/PasteboardIOS.mm:
+ (WebCore::Pasteboard::writeString):
+ * platform/mac/PasteboardMac.mm:
+ (WebCore::Pasteboard::writeString):
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::Pasteboard::writeString):
</ins><span class="cx">
</span><del>- Some versions of Clang on Mountain Lion do not set __cplusplus to 201103L when compiling with -std=gnu++11,
- which causes CF_ENUMs to be weakly-typed. Detect this case and export the correct symbols.
</del><ins>+2014-05-25 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- On Lion, CFURLComponentType is not defined using CF_ENUM, so it will always be a weakly-typed enum.
</del><ins>+ [iOS][WK2] Use ScrollView's scrollOffset as the unobscuredContentRect
+ https://bugs.webkit.org/show_bug.cgi?id=133262
</ins><span class="cx">
</span><ins>+ Reviewed by Simon Fraser.
+
+ Since VisibleContentRect was fixed, we were no longer sending scroll events when updating the scrollOffset
+ when updating the visible content rects. The reason is that the scrollOffset was defined as the top left of the
+ VisibleContentRect, and as such was already at the end position after updating the unobscured rect.
+
+ This patch split the unobscuredContentRect in unobscuredContentSize (updated live on zoom) and the position defined
+ by the ScrollView's scrollOffset (updated when scrolling).
+
</ins><span class="cx"> * WebCore.exp.in:
</span><ins>+ * platform/ScrollView.h:
+ * platform/ios/ScrollViewIOS.mm:
+ (WebCore::ScrollView::unobscuredContentRect):
+ (WebCore::ScrollView::setUnobscuredContentSize):
+ (WebCore::ScrollView::setUnobscuredContentRect): Deleted.
</ins><span class="cx">
</span><del>-2014-05-03 Babak Shafiei <bshafiei@apple.com>
</del><ins>+2014-05-25 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- Follow-up fix for the merge of r167480.
-
- Rubber stamped by Tim Horton.
</del><ins>+ Add type-checked casts for TransformOperations
+ <http://webkit.org/b/133217>
</ins><span class="cx">
</span><del>- * platform/KURL.cpp:
- (WebCore::KURL::host): Return empty string instead of null string.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2014-05-02 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::validateTransformOperations):
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::getTransformFunctionValue):
+ - Switch to type-checked casts.
</ins><span class="cx">
</span><del>- Merge r166420.
</del><ins>+ * platform/graphics/transforms/IdentityTransformOperation.h:
+ * platform/graphics/transforms/Matrix3DTransformOperation.h:
+ * platform/graphics/transforms/MatrixTransformOperation.h:
+ * platform/graphics/transforms/PerspectiveTransformOperation.h:
+ * platform/graphics/transforms/RotateTransformOperation.h:
+ * platform/graphics/transforms/ScaleTransformOperation.h:
+ * platform/graphics/transforms/SkewTransformOperation.h:
+ * platform/graphics/transforms/TranslateTransformOperation.h:
+ - Add 'final' to class declaration.
+ - Add 'override' to overridden methods.
+ - Add type-checked cast via TRANSFORMOPERATION_TYPE_CASTS macro.
+ - Move implementation of operator==(const TransformOperation&)
+ from header to source file so it is able to use a type-checked
+ cast, and switch back to using a reference instead of a
+ pointer.
+ - Add or update ASSERT in private constructor to check for
+ correct OperationType in classes that represent multiple
+ types.
</ins><span class="cx">
</span><del>- 2014-03-28 Myles C. Maxfield <mmaxfield@apple.com>
-
- Clear SVGInlineTextBox fragments when the text changes.
- https://bugs.webkit.org/show_bug.cgi?id=130879
-
- Reviewed by Darin Adler.
-
- Ported from Blink: https://src.chromium.org/viewvc/blink?revision=150456&view=revision
-
- This patch modifies SVGInlineTextBox::dirtyLineBoxes to clear all
- following text boxes when invoked. Typically this method is called
- when the underlying text string changes, and that change needs to
- be propagated to all the boxes that use the text beyond the point
- where the text is first modified.
-
- Also cleans up final function keywords for SVGRootInlineBox.
-
- Test: svg/custom/unicode-in-tspan-multi-svg-crash.html
-
- * rendering/InlineTextBox.h: Added (non-recursive) dirtyOwnLineBoxes() function
- (WebCore::InlineTextBox::dirtyOwnLineBoxes): Calls dirtyLineBoxes()
- * rendering/svg/SVGInlineTextBox.h: Added (non-recursive) dirtyOwnLineBoxes() function
- (WebCore::SVGInlineTextBox::dirtyOwnLineBoxes):
- * rendering/svg/SVGInlineTextBox.cpp:
- (WebCore::SVGInlineTextBox::dirtyOwnLineBoxes): Non-recursive part of dirtyLineBoxes()
- (WebCore::SVGInlineTextBox::dirtyLineBoxes): Calls dirtyOwnLineBoxes() in a loop
- * rendering/svg/SVGRootInlineBox.h:
-
-2014-05-02 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * platform/graphics/transforms/Matrix3DTransformOperation.cpp:
+ (WebCore::Matrix3DTransformOperation::operator==): Added.
</ins><span class="cx">
</span><del>- Merge r165053.
</del><ins>+ * platform/graphics/transforms/MatrixTransformOperation.cpp:
+ (WebCore::Matrix3DTransformOperation::operator==): Added.
+ (WebCore::MatrixTransformOperation::blend):
+ - Switch to type-checked casts and use a reference.
</ins><span class="cx">
</span><del>- 2014-03-03 David Kilzer <ddkilzer@apple.com>
-
- SVGPropertyTearOffs should detachChildren before deleting its value.
- <http://webkit.org/b/129618>
- <rdar://problem/15661617>
-
- Reviewed by Maciej Stachowiak.
-
- Merged from Blink (patch by kouhei@chromium.org):
- https://src.chromium.org/viewvc/blink?revision=158563&view=revision
- http://crbug.com/296276
-
- Test: svg/transforms/svg-matrix-tearoff-crash.html
-
- NOTE: The test does not reproduce a crash on WebKit using
- JavaScriptCore.
-
- * svg/properties/SVGPropertyTearOff.h:
- (WebCore::SVGPropertyTearOff::setValue):
- (WebCore::SVGPropertyTearOff::~SVGPropertyTearOff):
- - Call detachChildren() if m_value is a copy. The original
- Blink patch did not modify the destructor code path, although
- that seems obvious via code inspection.
-
-2014-05-01 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * platform/graphics/transforms/PerspectiveTransformOperation.cpp:
+ (WebCore::Matrix3DTransformOperation::operator==): Added.
+ (WebCore::PerspectiveTransformOperation::blend):
+ * platform/graphics/transforms/RotateTransformOperation.cpp:
+ (WebCore::Matrix3DTransformOperation::operator==): Added.
+ (WebCore::RotateTransformOperation::blend):
+ * platform/graphics/transforms/ScaleTransformOperation.cpp:
+ (WebCore::Matrix3DTransformOperation::operator==): Added.
+ (WebCore::ScaleTransformOperation::blend):
+ * platform/graphics/transforms/SkewTransformOperation.cpp:
+ (WebCore::Matrix3DTransformOperation::operator==): Added.
+ (WebCore::SkewTransformOperation::blend):
+ * platform/graphics/transforms/TranslateTransformOperation.cpp:
+ (WebCore::Matrix3DTransformOperation::operator==): Added.
+ (WebCore::TranslateTransformOperation::blend):
+ - Switch to type-checked casts.
</ins><span class="cx">
</span><del>- Merge r164917.
</del><ins>+ * platform/graphics/transforms/TransformOperation.h:
+ (WebCore::TransformOperation::isRotateTransformOperationType):
+ (WebCore::TransformOperation::isScaleTransformOperationType):
+ (WebCore::TransformOperation::isSkewTransformOperationType):
+ (WebCore::TransformOperation::isTranslateTransformOperationType):
+ - Add type-checking methods used in constructors and type-checked
+ casts.
+ - Define TRANSFORMOPERATION_TYPE_CASTS macro used by subclasses.
</ins><span class="cx">
</span><del>- 2014-03-01 David Kilzer <ddkilzer@apple.com>
-
- Fix lifetime handling of SVGPropertyTearOffs
- <http://webkit.org/b/129211>
- <rdar://problem/15696025>
-
- Reviewed by Maciej Stachowiak.
-
- Merged from Blink (patch by Ojan Vafai):
- https://src.chromium.org/viewvc/blink?revision=157801&view=revision
- http://crbug.com/288771
-
- -Replace SVGStaticPropertyWithParentTearOff with SVGMatrixTearOff
- since it's only used in that one place. This means we can get rid
- of the templatizing and the method pointer.
- -Change SVGPropertyTearOff to keep track of it's child tearoffs
- and call detachWrapper on its child tearoffs when it's destroyed
- or when it's wrapper is detached.
- -Have SVGPropertyTearOff hold WeakPtrs to the child tearoffs
- to avoid having a cycle.
-
- Test: svg/transforms/svg-matrix-tearoff-crash.html
-
- * GNUmakefile.list.am:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * bindings/scripts/CodeGeneratorJS.pm:
- (NativeToJSValue):
- * svg/properties/SVGMatrixTearOff.h: Renamed from Source/WebCore/svg/properties/SVGStaticPropertyWithParentTearOff.h.
- (WebCore::SVGMatrixTearOff::create):
- (WebCore::SVGMatrixTearOff::commitChange):
- (WebCore::SVGMatrixTearOff::SVGMatrixTearOff):
- * svg/properties/SVGPropertyTearOff.h:
- (WebCore::SVGPropertyTearOff::addChild):
- (WebCore::SVGPropertyTearOff::detachChildren):
-
-2014-05-01 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+2014-05-25 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- Merge r167295.
</del><ins>+ Crash in WebCore::TextResourceDecoder::checkForCSSCharset
+ <http://webkit.org/b/133257>
+ <rdar://problem/17027109>
</ins><span class="cx">
</span><del>- 2014-04-14 Jon Honeycutt <jhoneycutt@apple.com>
-
- Assertion failure under FEImage::determineAbsolutePaintRect()
-
- <https://bugs.webkit.org/show_bug.cgi?id=131660>
- <rdar://problem/15669294>
-
- This patch merges Chromium r149536 (see
- <https://chromiumcodereview.appspot.com/14701012>), which moves
- m_absoluteTransform out of SVGFilter and into the base Filter class, so
- that it isn't necessary to cast a Filter to SVGFilter to get the
- absolute transform.
-
- Reviewed by Geoffrey Garen.
-
- Test: svg/filters/feImage-filter-assertion.html
-
- * platform/graphics/filters/Filter.h:
- (WebCore::Filter::Filter):
- Changed to take the absolute transform.
- (WebCore::Filter::absoluteTransform):
- Moved from SVGFilter.
- (WebCore::Filter::mapAbsolutePointToLocalPoint):
- Ditto.
-
- * rendering/FilterEffectRenderer.cpp:
- (WebCore::FilterEffectRenderer::FilterEffectRenderer):
- Pass a default AffineTransform() to the Filter base class.
-
- * svg/graphics/filters/SVGFEImage.cpp:
- (WebCore::FEImage::determineAbsolutePaintRect):
- Use the Filter without casting it to SVGFilter.
- (WebCore::FEImage::platformApplySoftware):
- Ditto.
-
- * svg/graphics/filters/SVGFilter.cpp:
- (WebCore::SVGFilter::SVGFilter):
- Pass the transform to the base class, and remove initialization of a
- removed member var.
-
- * svg/graphics/filters/SVGFilter.h:
- Member var moved to Filter.h.
-
-2014-05-01 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- Merge r166736.
</del><ins>+ Test: fast/encoding/css-charset-missing-semi-colon-and-newline.html
</ins><span class="cx">
</span><del>- 2014-04-03 David Hyatt <hyatt@apple.com>
-
- Continuations casting issue.
- https://bugs.webkit.org/show_bug.cgi?id=130057
- <rdar://problem/16283406>
-
- Reviewed by Simon Fraser.
-
- The code to update relative positioned anonymous block continuations should not
- have assumed that all siblings were RenderBlocks. Make the code smarter and
- make it bail when it hits something that isn't part of the block continuation
- chain.
-
- Added fast/block/continuation-crash.html
-
- * rendering/RenderInline.cpp:
- (WebCore::updateStyleOfAnonymousBlockContinuations):
-
-2014-05-01 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * loader/TextResourceDecoder.cpp:
+ (WebCore::TextResourceDecoder::checkForCSSCharset): Add early
+ return.
</ins><span class="cx">
</span><del>- Merge r167480.
</del><ins>+2014-05-24 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- 2014-04-17 Darin Adler <darin@apple.com>
-
- origin spoofing possible (HTTP Origin, postMessage event.origin) due to inappropriate URL escape sequence decoding
- https://bugs.webkit.org/show_bug.cgi?id=131837
- rdar://problem/15211936
-
- Reviewed by Anders Carlsson and Dave Hyatt.
-
- Tests: fast/dom/DOMURL/parsing.html
- fast/dom/HTMLAnchorElement/anchor-element-href-parsing.html
-
- * platform/URL.cpp:
- (WebCore::URL::host): Removed unnecessary call to decodeURLEscapeSequences, which caused
- problems and was not needed.
-
-2014-05-01 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ [Mac] preload AVAssetTrack properties before asking for them
+ https://bugs.webkit.org/show_bug.cgi?id=133240
</ins><span class="cx">
</span><del>- Merge r167524.
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- 2014-04-18 Jon Honeycutt <jhoneycutt@apple.com>
-
- Harden RenderInline::inlineElementContinuation()
-
- <https://bugs.webkit.org/show_bug.cgi?id=131858>
-
- Reviewed by Sam Weinig.
-
- No new tests, as there are no known cases of this happening.
-
- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::inlineElementContinuation):
- Return nullptr if the continuation is neither a RenderInline nor a
- RenderBlock.
-
-2014-05-01 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::assetTrackMetadataKeyNames): Add preferredTransform and naturalSize to the list
+ of properties we preload.
</ins><span class="cx">
</span><del>- Merge r167672.
</del><ins>+2014-05-24 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- 2014-04-22 Brent Fulgham <bfulgham@apple.com>
-
- Check (rather than assume) element is a RenderTableSection before using it
- https://bugs.webkit.org/show_bug.cgi?id=121858
-
- Reviewed by David Kilzer.
-
- Test: fast/table/table-insert-object-before-td-crash.html
-
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::addChild): Check that lastBox is a table section before
- using the node as if it was one.
-
-2014-05-01 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Remove one of the CSSProperty constructor
+ https://bugs.webkit.org/show_bug.cgi?id=131094
</ins><span class="cx">
</span><del>- Merge r167569 (committing on behalf of Dana Burkart.)
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- 2014-04-19 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Remove one of the CSSProperty constructor, because it is obsolete.
</ins><span class="cx">
</span><del>- Crashes in HTMLFormElement::submit.
- https://bugs.webkit.org/show_bug.cgi?id=131910
- <rdar://problem/15661790>
</del><ins>+ * css/CSSProperty.h:
+ (WebCore::CSSProperty::CSSProperty): Deleted.
+ * css/StyleProperties.h:
+ (WebCore::StyleProperties::PropertyReference::toCSSProperty):
</ins><span class="cx">
</span><del>- Based on a patch by Kent Tamura.
</del><ins>+2014-05-23 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Rename ScrollingTreeScrollingNode's m_scrollPosition to make it clear that it's the value committed from the state tree
+ https://bugs.webkit.org/show_bug.cgi?id=133254
</ins><span class="cx">
</span><del>- Tests: fast/forms/form-submission-crash-2.html
- fast/forms/form-submission-crash.html
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Code that executes arbitrary JS needs to protect objects that it uses afterwards.
</del><ins>+ Make ScrollingTreeScrollingNode::scrollPosition() pure virtual, and rename
+ the member variable and associated getter to make it clear that they relate
+ to the last committed scroll position.
</ins><span class="cx">
</span><del>- * html/HTMLFormElement.cpp:
- (WebCore::HTMLFormElement::prepareForSubmission):
- (WebCore::HTMLFormElement::submit):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::submitForm):
</del><ins>+ * page/scrolling/ScrollingTreeScrollingNode.cpp:
+ (WebCore::ScrollingTreeScrollingNode::updateBeforeChildren):
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ (WebCore::ScrollingTreeScrollingNode::lastCommittedScrollPosition):
+ (WebCore::ScrollingTreeScrollingNode::scrollPosition): Deleted.
</ins><span class="cx">
</span><del>-2014-05-01 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+2014-05-23 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge r166650.
</del><ins>+ Share some more ScrollingTreeScrollingNode code
+ https://bugs.webkit.org/show_bug.cgi?id=133248
</ins><span class="cx">
</span><del>- 2014-04-02 David Kilzer <ddkilzer@apple.com>
-
- Use outermost containing isolate when constructing bidi runs
- <http://webkit.org/b/131107>
- <rdar://problem/15690021>
-
- Reviewed by Darin Adler.
-
- Merged from Blink (patch by jww@chromium.org):
- https://src.chromium.org/viewvc/blink?revision=157268&view=revision
- http://crbug.com/279277
-
- Update containingIsolate to go back all the way to top
- isolate from current root, rather than stopping at the first
- isolate it finds. This works because the current root is
- always updated with each isolate run.
-
- Tests: fast/text/international/unicode-bidi-isolate-nested-with-removes-not-adjacent.html
- fast/text/international/unicode-bidi-isolate-nested-with-removes.html
-
- * rendering/InlineIterator.h:
- (WebCore::highestContainingIsolateWithinRoot):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::constructBidiRunsForSegment):
-
-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Rollout r168020.
- This causes build failures on Lion/ML.
</del><ins>+ Push scrollBy(), scrollByWithoutContentEdgeConstraints() and setScrollPosition()
+ down to ScrollingTreeFrameScrollingNode.
+
+ This requires that scrollPosition() return the right thing for each class, so make
+ it virtual. Future patches will reduce the confusion between the committed scroll
+ position and the one derived from layers.
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * page/scrolling/ScrollingTreeFrameScrollingNode.cpp:
+ (WebCore::ScrollingTreeFrameScrollingNode::scrollBy):
+ (WebCore::ScrollingTreeFrameScrollingNode::scrollByWithoutContentEdgeConstraints):
+ (WebCore::ScrollingTreeFrameScrollingNode::setScrollPosition):
+ * page/scrolling/ScrollingTreeFrameScrollingNode.h:
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ (WebCore::ScrollingTreeScrollingNode::scrollPosition):
+ * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h:
+ * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::setScrollPosition): Deleted.
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::scrollBy): Deleted.
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::scrollByWithoutContentEdgeConstraints): Deleted.
+ * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h:
+ * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::updateBeforeChildren):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::immediateScrollBy):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::immediateScrollByWithoutContentEdgeConstraints):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::scrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::setScrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::scrollBy): Deleted.
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::scrollByWithoutContentEdgeConstraints): Deleted.
</ins><span class="cx">
</span><del>- Merge r166049
</del><ins>+2014-05-24 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- 2014-03-21 Andreas Kling <akling@apple.com>
</del><ins>+ AX: fix coordinate mapping for iOS accessibility
+ https://bugs.webkit.org/show_bug.cgi?id=133188
</ins><span class="cx">
</span><del>- HTMLFrameOwnerElement should obey the SubframeLoadingDisabler when creating subframes
- <rdar://problem/15675780>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Merge Blink r156744 by Adam Klein.
</del><ins>+ Make WebCore aware of the accessibility point/rect conversion methods.
</ins><span class="cx">
</span><del>- Test: fast/frames/set-iframe-src-in-pagehide-crash.html
</del><ins>+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper convertPointToScreenSpace:]):
+ (-[WebAccessibilityObjectWrapper convertRectToScreenSpace:]):
+ * loader/EmptyClients.h:
+ * page/Chrome.cpp:
+ (WebCore::Chrome::accessibilityScreenToRootView):
+ (WebCore::Chrome::rootViewToAccessibilityScreen):
+ * page/Chrome.h:
+ * page/ChromeClient.h:
+ * platform/HostWindow.h:
</ins><span class="cx">
</span><del>- * loader/SubframeLoader.cpp:
- (WebCore::SubframeLoader::loadSubframe):
</del><ins>+2014-05-24 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Subpixel rendering: Non-compositing transforms with subpixel coordinates paint to wrong position.
+ https://bugs.webkit.org/show_bug.cgi?id=133184
+ <rdar://problem/16745606>
</ins><span class="cx">
</span><del>- Merge r167278
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- 2014-04-14 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+ Snapping relative negative coordinate values should produce the same position as if they were
+ positive absolute coordinates.
+ When a child box gets positioned off of its containers towards top/left, its relative coordinates
+ become negative. Pixel snapping those negative values should produce the same
+ final painting position as if the child box was fixed positioned with positive coordinates.
+ Since halfway values always round away from zero, negative and positive halfway values
+ produce opposite rounding direction.
+ This patch ensures that negative halfway values round to the direction as if they were positive.
</ins><span class="cx">
</span><del>- Assertion failure !node || node->isElementNode() in
- WebCore::RenderBlock::inlineElementContinuation
</del><ins>+ Test: fast/layers/hidpi-floor-negative-coordinate-values-to-maintain-rounding-direction.html
</ins><span class="cx">
</span><del>- https://bugs.webkit.org/show_bug.cgi?id=108829
- <rdar://problem/13666405>
</del><ins>+ * platform/LayoutUnit.h:
+ (WebCore::roundToDevicePixel):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paintLayerByApplyingTransform):
</ins><span class="cx">
</span><del>- I can't reproduce this assertion failure, but there seems to be an
- invalid assumption in RenderBlock::inlineElementContinuation() that
- anything with the "isInline()" bit set is a RenderInline.
</del><ins>+2014-05-24 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- No new test because the test case in the bug does not repro for me.
</del><ins>+ Use size variants and glyph assembly from the MATH data.
+ https://bugs.webkit.org/show_bug.cgi?id=130322
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::inlineElementContinuation):
- Dave Hyatt says that this function should only return RenderInline
- objects (not non-RenderInline inline objects), so update the checks
- from isInline() to isRenderInline() before casting with
- toRenderInline().
</del><ins>+ This patch modifies the RenderMathMLOperator code to use the MATH table
+ when one is provided in the current font on the <math> tag. More
+ precisely, the MathVariants table is used to draw a size variant or
+ a glyph assembly. The displaystyle attribute is not supported yet, so
+ for now large operators are always assumed to be in display style. The
+ MATH support does not work well with all platforms+fonts, so at the
+ moment the default font-family on the <math> is not changed.
</ins><span class="cx">
</span><del>- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::inlineElementContinuation):
- Ditto.
</del><ins>+ Tests: mathml/opentype/large-operators-LatinModern.html
+ mathml/opentype/opentype-stretchy.html
+ mathml/opentype/vertical-LatinModern.html
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * css/mathml.css: We only specify the default font-family on the math root, so that people can easily style the mathematics.
+ For now, old fonts without the MATH table are still used as the default.
+ (math):
+ (math, mfenced > *): Deleted.
+ (mo, mfenced): Deleted.
+ * platform/graphics/SimpleFontData.cpp: don't return the math data if the font is loading.
+ (WebCore::SimpleFontData::mathData):
+ * platform/graphics/opentype/OpenTypeMathData.cpp: update #ifdef so that disabling ENABLE_OPENTYPE_MATH won't lead to errors with unused parameters.
+ (WebCore::OpenTypeMathData::OpenTypeMathData):
+ (WebCore::OpenTypeMathData::getMathConstant):
+ (WebCore::OpenTypeMathData::getItalicCorrection):
+ (WebCore::OpenTypeMathData::getMathVariants):
+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::boundsForGlyph):
+ (WebCore::RenderMathMLOperator::heightForGlyph):
+ (WebCore::RenderMathMLOperator::advanceForGlyph):
+ (WebCore::RenderMathMLOperator::computePreferredLogicalWidths): We handle preferred width of size variants.
+ (WebCore::RenderMathMLOperator::shouldAllowStretching): This function now only returns whether the operator will stretch and no longer has side effect.
+ (WebCore::RenderMathMLOperator::getGlyphAssemblyFallBack): We add a function to convert from the MathVariant table data to the format supported by RenderMathMLOperator.
+ (WebCore::RenderMathMLOperator::getDisplayStyleLargeOperator): We add a function to get the glyph that will be used for large operators in display style.
+ (WebCore::RenderMathMLOperator::findStretchyData): We make this function handle size variants.
+ (WebCore::RenderMathMLOperator::updateStyle): We handle size variants.
+ (WebCore::RenderMathMLOperator::paint): We handle size variants.
+ * rendering/mathml/RenderMathMLOperator.h:
</ins><span class="cx">
</span><del>- Merge r167211
</del><ins>+2014-05-23 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- 2014-04-13 Darin Adler <darin@apple.com>
</del><ins>+ REGRESSION (iOS WebKit2): requestAnimationFrame fires more than once between layer tree commits
+ https://bugs.webkit.org/show_bug.cgi?id=132794
+ <rdar://problem/16877909>
</ins><span class="cx">
</span><del>- userVisibleString should not try to "encode" host names
- https://bugs.webkit.org/show_bug.cgi?id=131587
- rdar://problem/14686849
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Virtualize DisplayRefreshMonitor so that WebKit2 can implement its own DisplayRefreshMonitor for UI-side compositing views.
+ This allows the synchronization of requestAnimationFrame callbacks with UI-side compositing painting.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Updated for WebCoreNSURLExtras argument type changes.
</del><ins>+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+
+ * page/ChromeClient.h:
+ (WebCore::ChromeClient::graphicsLayerFactory):
+ (WebCore::ChromeClient::createDisplayRefreshMonitor):
+ * platform/graphics/DisplayRefreshMonitorFactory.h: Added.
+ * platform/graphics/GraphicsLayerUpdater.cpp:
+ (WebCore::GraphicsLayerUpdater::createDisplayRefreshMonitor):
+ * platform/graphics/GraphicsLayerUpdater.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::createDisplayRefreshMonitor):
+ * rendering/RenderLayerCompositor.h:
+ Give the ChromeClient a chance to provide us with a custom DisplayRefreshMonitor.
+ If it does not, we'll fall back to making a DisplayRefreshMonitorMac or
+ DisplayRefreshMonitorIOS depending on the platform.
</ins><span class="cx">
</span><del>- * platform/mac/WebCoreNSURLExtras.h: Removed unneeded code to make this
- Objective-C++ header compile in plain C++ files, which we never need to do.
- Added missing argument name, baseURL, and changed mysterious CFIndex arguments
- to the correct type, CFURLComponentType.
</del><ins>+ * dom/ScriptedAnimationController.cpp:
+ * dom/ScriptedAnimationController.h:
+ * platform/graphics/DisplayRefreshMonitor.cpp:
+ * platform/graphics/DisplayRefreshMonitor.h:
+ * platform/graphics/DisplayRefreshMonitorClient.cpp: Added.
+ * platform/graphics/DisplayRefreshMonitorClient.h: Added.
+ * platform/graphics/DisplayRefreshMonitorManager.cpp: Added.
+ * platform/graphics/DisplayRefreshMonitorManager.h: Added.
+ Split DisplayRefreshMonitor.cpp into one file per class.
+ Use references in a few places.
+ Remove some useless comments.
</ins><span class="cx">
</span><del>- * platform/mac/WebCoreNSURLExtras.mm:
- (WebCore::isLookalikeCharacter): Removed the inline keyword from this, and added
- more lookalike characters from the Mozilla list referenced here.
- (WebCore::URLByTruncatingOneCharacterBeforeComponent): Updated argument type.
- (WebCore::dataForURLComponentType): Ditto.
- (WebCore::userVisibleString): Only call mapHostNames if host name decoding is
- needed; no encoding here.
</del><ins>+ * platform/graphics/DisplayRefreshMonitor.cpp:
+ (WebCore::DisplayRefreshMonitor::displayDidRefresh):
+ Use takeAny() and remove a FIXME about it not existing.
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/graphics/DisplayRefreshMonitorClient.cpp: Added.
+ (WebCore::DisplayRefreshMonitorClient::fireDisplayRefreshIfNeeded):
+ Use an early return instead of having the whole function body in an if().
</ins><span class="cx">
</span><del>- Merge r167167
</del><ins>+ * platform/graphics/ios/DisplayRefreshMonitorIOS.h: Added.
+ * platform/graphics/ios/DisplayRefreshMonitorIOS.mm:
+ * platform/graphics/mac/DisplayRefreshMonitorMac.cpp:
+ * platform/graphics/mac/DisplayRefreshMonitorMac.h: Added.
+ Virtualize DisplayRefreshMonitorIOS and DisplayRefreshMonitorMac,
+ and move things specific to each of them out of DisplayRefreshMonitor itself.
</ins><span class="cx">
</span><del>- 2014-04-11 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+2014-05-23 Yusuke Suzuki <utatane.tea@gmail.com>
</ins><span class="cx">
</span><del>- Assertion failure changing select element size during focus event
- dispatch
- <https://bugs.webkit.org/show_bug.cgi?id=131566>
- <rdar://problem/16400735>
</del><ins>+ CSS JIT: Apply backtracking optimization to adjacent backtracking
+ https://bugs.webkit.org/show_bug.cgi?id=132951
</ins><span class="cx">
</span><del>- Reviewed by Andy Estes.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- Test: fast/forms/select-change-size-during-focus.html
</del><ins>+ Apply the backtracking optimization to the adjacent backtracking.
+ This optimization is already done for the descendant backtracking.
+ We apply this to the adjacent backtracking similarly.
</ins><span class="cx">
</span><del>- * html/HTMLSelectElement.cpp:
- (WebCore::HTMLSelectElement::listBoxDefaultEventHandler):
- Adopt the fix from Chromium r171216; check that the renderer is still
- of the expected type, and return early if it is not.
</del><ins>+ Test: fast/selectors/backtracking-adjacent-optimized.html
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorFragment::SelectorFragment):
+ (WebCore::SelectorCompiler::solveAdjacentBacktrackingActionForDirectAdjacent):
+ (WebCore::SelectorCompiler::solveBacktrackingAction):
+ (WebCore::SelectorCompiler::computeBacktrackingStartOffsetInChain):
+ (WebCore::SelectorCompiler::computeBacktrackingHeightFromDescendant):
+ (WebCore::SelectorCompiler::computeBacktrackingWidthFromIndirectAdjacent):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::computeBacktrackingInformation):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateIndirectAdjacentTreeWalker):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::linkFailures):
+ (WebCore::SelectorCompiler::computeBacktrackingStartHeightFromDescendant): Deleted.
</ins><span class="cx">
</span><del>- Merge r167135
</del><ins>+2014-05-23 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- 2014-04-10 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Make CSS JIT run on ARM64.
+ https://bugs.webkit.org/show_bug.cgi?id=133156
</ins><span class="cx">
</span><del>- Heap-use-after-free in WebCore::SpeechSynthesisUtterance::startTime
- https://bugs.webkit.org/show_bug.cgi?id=131482
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ * cssjit/FunctionCall.h:
+ (WebCore::FunctionCall::saveAllocatedRegisters):
+ (WebCore::FunctionCall::restoreAllocatedRegisters):
+ Use StackAllocator's new push and pop functions to push and pop a vector instead of iterating it.
+ * cssjit/RegisterAllocator.h:
+ (WebCore::RegisterAllocator::reserveCalleeSavedRegisters):
+ (WebCore::RegisterAllocator::restoreCalleeSavedRegisters):
+ Return a vector of registers to allocate instead of doing the allocation to make the RegisterAllocator
+ not need to know about the StackAllocator and to use the new vector push and pop functions.
+ (WebCore::RegisterAllocator::~RegisterAllocator):
+ Store RegisterIDs instead of StackReferences to avoid needing to know about the stack.
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::compile):
+ Removed the requirement for assert to be disabled to print disassembly when debugging css jit.
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generatePrologue):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateEpilogue):
+ Added to correctly push the link register and frame pointer.
+ This is required if the jit code calls a function on arm64 and helpful for debugging tools on x86_64.
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateSelectorChecker):
+ Generate the prologue and epilogue which respectively push and pop
+ the link register, frame pointer, and callee saved registers if needed.
+ * cssjit/StackAllocator.h:
+ (WebCore::StackAllocator::push):
+ (WebCore::StackAllocator::pop):
+ Added new vector push and pop functions to use stp and ldb instructions on arm64.
</ins><span class="cx">
</span><del>- Hold onto the utterance until it has time to fire, in case other references have been removed.
</del><ins>+2014-05-23 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- Merged from Blink r171077 by <dmazzoni@chromium.org>
</del><ins>+ Hide fullscreen immediately when switching tabs.
+ https://bugs.webkit.org/show_bug.cgi?id=133239
</ins><span class="cx">
</span><del>- Test: platform/mac/fast/speechsynthesis/speech-synthesis-gc-utterance-crash.html
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * Modules/speech/SpeechSynthesis.cpp:
- (WebCore::SpeechSynthesis::handleSpeakingCompleted):
</del><ins>+ This change allows fullscreen to disappear immediately while still cleaning
+ up fullscreen normally.
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * platform/ios/WebVideoFullscreenControllerAVKit.h:
+ renamed function to requestHideAndExitFullscreen
</ins><span class="cx">
</span><del>- Merge r167093
</del><ins>+ * platform/ios/WebVideoFullscreenControllerAVKit.mm:
+ renamed function to requestHideAndExitFullscreen
</ins><span class="cx">
</span><del>- 2014-04-08 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+ (-[WebVideoFullscreenController requestHideAndExitFullscreen]):
+ rename of requestExitFullscreen that also hides.
</ins><span class="cx">
</span><del>- Assertion failure in WebCore::FlexBoxIterator::next()
- <https://bugs.webkit.org/show_bug.cgi?id=117176>
- <rdar://problem/14054549>
</del><ins>+ (-[WebVideoFullscreenController requestExitFullscreen]): Deleted.
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h: declare requestHideAndExitFullscreen()
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (WebVideoFullscreenInterfaceAVKit::requestHideAndExitFullscreen):
+ this hides the window before requesting exitfullscreen from the model.
</ins><span class="cx">
</span><del>- Code added in r115687 began removing anonymous wrappers when children
- become inline. However, there are some objects, like
- RenderDeprecatedFlexBox, whose children should always be blocks.
</del><ins>+2014-05-23 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ [iOS] WKPDFView should have a page indicator
+ https://bugs.webkit.org/show_bug.cgi?id=133109
+ <rdar://problem/16383003>
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::canCollapseAnonymousBlockChild):
- Made public.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::removeAnonymousWrappersForInlinesIfNecessary):
- Return early if we can't collapse anonymous block children.
</del><ins>+ * English.lproj/Localizable.strings:
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-23 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- Merge r167092
</del><ins>+ Remove invalid ASSERT in wordRangeForPosition.
+ https://bugs.webkit.org/show_bug.cgi?id=133232
</ins><span class="cx">
</span><del>- 2014-04-07 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>- Assertion failure, !node || node->isElementNode(), in
- WebCore::RenderBlock::clone()
- <https://bugs.webkit.org/show_bug.cgi?id=110489>
- <rdar://problem/13666425>
</del><ins>+ In WK2 for iOS this function is called on every selection change.
+ The selection could be set by Javascript in an element that is not visible.
+ In that case we won't be able to create a VisiblePosition therefore wordRangeForPosition
+ should not ASSERT that the VisiblePosition is not null, but rather
+ perform an early return if it is null.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * editing/VisibleUnits.cpp:
+ (WebCore::wordRangeFromPosition):
</ins><span class="cx">
</span><del>- We're ending up in RenderBlock::splitBlocks() with |this| ==
- |fromBlock|. We then try to climb the ancestor block chain from
- this->parent() to |fromBlock|, but this->parent() is already above
- |fromBlock|, so we end up climbing up to the RenderView and trying to
- clone it, causing the assertion failure.
</del><ins>+2014-05-23 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>- Adopt Chromium's mitigation for this from
- <https://codereview.chromium.org/13852041>. This is not intended as a
- fix for the underlying issue.
</del><ins>+ [CSS Grid Layout] Use gridRowCount() and gridColumnCount() when possible
+ https://bugs.webkit.org/show_bug.cgi?id=133213
</ins><span class="cx">
</span><del>- Also, fix another issue that occurs with this fuzzed test case that's
- not handled by the Chromium fix.
</del><ins>+ Reviewed by Sergio Villar Senin.
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::splitBlocks):
- Ensure while we're in the loop that |curr| is a descendant of
- |fromBlock|. From the Chromium patch:
</del><ins>+ Use gridRowCount() and gridColumnCount() instead of m_grid.size() and
+ m_grid[0].size() to make the code more descriptive and easier to
+ understand.
</ins><span class="cx">
</span><del>- We need to check in every iteration of the loop because
- moveChildrenTo could have moved |curr|. This is a mitigation and
- not really a fix against a class of tree craziness.
</del><ins>+ No new tests (No change in behavior).
</ins><span class="cx">
</span><del>- Finally, before moving children from |fromBlock| to |toBlock|, ensure
- that the children are children of |fromBlock|. If we never entered the
- loop, they will be siblings of |fromBlock|, not children.
</del><ins>+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::growGrid):
+ (WebCore::RenderGrid::placeAutoMajorAxisItemOnGrid):
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-23 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Merge r166601
</del><ins>+ REGRESSION (r153917): Chart for the Category Explorer within Quicken Essentials
+ does not draw until you force a redraw
+ https://bugs.webkit.org/show_bug.cgi?id=133228
+ <rdar://problem/15221231>
</ins><span class="cx">
</span><del>- 2014-04-01 Daniel Bates <dabates@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- RenderQuote must destroy remaining text renderer before first letter renderer
- https://bugs.webkit.org/show_bug.cgi?id=78023
- <rdar://problem/10830009>
</del><ins>+ * platform/RuntimeApplicationChecks.cpp: (WebCore::applicationIsQuickenEssentials):
+ * platform/RuntimeApplicationChecks.h:
+ Added a check for Quicken Essentials.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ * platform/mac/WidgetMac.mm: (WebCore::Widget::paint): Don't do an early return
+ for Quicken Essentials, it depends on drawing to update its layer.
</ins><span class="cx">
</span><del>- Merged from Blink (patch by Abhishek Arya):
- https://src.chromium.org/viewvc/blink?view=rev&revision=151270
</del><ins>+2014-05-23 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>- Following the fix for <https://bugs.webkit.org/show_bug.cgi?id=114586>, a
- RenderQuote may have child render objects for the first letter of its text
- and everything following the first letter so as to support the CSS first-
- letter property. The latter renderer is responsible for destroying the former
- on destruction. It's sufficient to reverse the destruction of the children of
- RenderQuote to ensure that we destroy the remaining text renderer before we
- destroy the first letter renderer.
</del><ins>+ REGRESSION(r169105): fast/regions/cssom/region-range-for-box-crash.html is more crashy than before
+ https://bugs.webkit.org/show_bug.cgi?id=133124
</ins><span class="cx">
</span><del>- Test: fast/css-generated-content/quote-first-letter-crash.html
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- * rendering/RenderQuote.cpp:
- (WebCore::RenderQuote::updateText):
</del><ins>+ When adjusting the end points of a subtree selection in the case of a document
+ with named flows, we have to make sure that we pass the computed end
+ points to the visible selection algorithm only if the end points are
+ part of the same subtree, otherwise assume a selection clear behavior.
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+ The test fast/regions/cssom/region-range-for-box-crash.html is used to
+ test this behavior.
</ins><span class="cx">
</span><del>- Merge r166457
</del><ins>+ * rendering/SelectionSubtreeRoot.cpp:
+ (WebCore::SelectionSubtreeRoot::adjustForVisibleSelection):
+ (WebCore::SelectionSubtreeRoot::selectionStartEndPositions): Moved to header file.
+ * rendering/SelectionSubtreeRoot.h:
+ (WebCore::SelectionSubtreeRoot::selectionStartEndPositions):
</ins><span class="cx">
</span><del>- 2014-03-29 David Kilzer <ddkilzer@apple.com>
</del><ins>+2014-05-23 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- Preserve selection end positions in directionOfSelection
- <http://webkit.org/b/104813>
- <rdar://problem/13666417>
</del><ins>+ reset m_havePreparedToPlay when changing media engines.
+ https://bugs.webkit.org/show_bug.cgi?id=133199
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Merged from Blink (patch by kenrb@chromium.org):
- https://src.chromium.org/viewvc/blink?revision=150621&view=revision
- http://crbug.com/164263
</del><ins>+ If a play request comes in before the media player is created, m_havePreparedToPlay
+ is set to true. But when the player is created, this prevents the new player from
+ getting the prepare call.
</ins><span class="cx">
</span><del>- VisibleSelection::visibleStart() and VisibleSelection::visibleEnd()
- can both cause layouts, which has the potential to invalidate any
- rendertree-based objects. This was causing a problem in
- FrameSelection::directionOfSelection(), where a reference to a
- lineBox was being held across a call to visibleEnd().
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::mediaPlayerEngineUpdated): set m_havePreparedToPlay false.
</ins><span class="cx">
</span><del>- This patch ensures that the any layout is completed before linebox
- references are retrieved.
</del><ins>+2014-05-23 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>- Test: editing/selection/layout-during-move-selection-crash.html
</del><ins>+ Navigator object needs to have properties directly on the instance object
+ https://bugs.webkit.org/show_bug.cgi?id=133221
</ins><span class="cx">
</span><del>- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::directionOfSelection):
</del><ins>+ Reviewed by Mark Lam.
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Flag the Navigator object as requiring properties to be on the instance
+ as there were a few compatibility issues when on the prototype.
</ins><span class="cx">
</span><del>- Merge r166428
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (InterfaceRequiresAttributesOnInstance):
</ins><span class="cx">
</span><del>- 2014-03-28 Radu Stavila <stavila@adobe.com>
</del><ins>+2014-05-23 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- In some situations, partial layouts of floating elements produce incorrect results.
- https://bugs.webkit.org/show_bug.cgi?id=122668
</del><ins>+ Switch CSSGradientValue to use more references
+ https://bugs.webkit.org/show_bug.cgi?id=133206
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- When performing partial layout of float elements and checking if other float
- elements are encountered, incorrect results were obtained by not checking
- the size of the existing floats vector.
</del><ins>+ Switch from pointers to references in various places.
</ins><span class="cx">
</span><del>- Test: fast/block/float/floats-in-clean-line-crash.html
</del><ins>+ * css/CSSGradientValue.cpp:
+ (WebCore::CSSGradientValue::image):
+ (WebCore::CSSGradientValue::addStops):
+ (WebCore::positionFromValue):
+ (WebCore::CSSGradientValue::computeEndPoint):
+ (WebCore::CSSLinearGradientValue::createGradient):
+ (WebCore::CSSRadialGradientValue::resolveRadius):
+ (WebCore::CSSRadialGradientValue::createGradient):
+ * css/CSSGradientValue.h:
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlockFlow::checkFloatsInCleanLine):
</del><ins>+2014-05-23 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>-2014-04-30 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Subpixel rendering: Make webkit-box-shadow painting subpixel aware.
+ https://bugs.webkit.org/show_bug.cgi?id=133201
+ <rdar://problem/16072830>
</ins><span class="cx">
</span><del>- Merge r166236
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- 2014-03-25 David Kilzer <ddkilzer@apple.com>
</del><ins>+ This patch enables webkit-box-shadow to be painted on a subpixel position. However, we
+ still truncate -webkit-box-shadow property values. Tracked here: http://webkit.org/b/133202
</ins><span class="cx">
</span><del>- Hold a reference to firstSuccessfulSubmitButton in HTMLFormElement::submit
- <http://webkit.org/b/130713>
- <rdar://problem/15661876>
</del><ins>+ Test: fast/box-shadow/hidpi-webkit-box-shadow-subpixel-position.html
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/graphics/FloatRoundedRect.cpp:
+ (WebCore::FloatRoundedRect::inflateWithRadii): same as in from RoundedRect.
+ (WebCore::FloatRoundedRect::adjustRadii): same as in from RoundedRect.
+ * platform/graphics/FloatRoundedRect.h:
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintBoxShadow):
</ins><span class="cx">
</span><del>- Merged from Blink (patch by Ian Beer):
- http://crbug.com/303657
- https://src.chromium.org/viewvc/blink?view=rev&revision=158938
</del><ins>+2014-05-22 peavo@outlook.com <peavo@outlook.com>
</ins><span class="cx">
</span><del>- Test: fast/forms/form-submission-crash-successful-submit-button.html
</del><ins>+ [Curl] Crash when exceeding maximum cache limit.
+ https://bugs.webkit.org/show_bug.cgi?id=133185
</ins><span class="cx">
</span><del>- * html/HTMLFormElement.cpp:
- (WebCore::HTMLFormElement::submit):
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>-2014-03-26 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ When the maximum cache limit is exceeded, I get a crash.
+ This happens when deleting cache entries, because a reference to the url string object in the LRU list
+ is used as a parameter to invalidateCacheEntry(), when called from makeRoomForNewEntry().
+ When the string is removed from the LRU list in makeRoomForNewEntry(), the string is deleted.
+ Next, the string is accessed again to remove the url from the index, and we crash.
</ins><span class="cx">
</span><del>- Merge r160010.
</del><ins>+ This can be fixed by removing the string from the LRU list after it is removed from the index.
</ins><span class="cx">
</span><del>- 2013-12-03 László Langó <lango@inf.u-szeged.hu>
</del><ins>+ Fixing the crash also revealed an infinite loop problem.
+ If the url for some reason only exist in the LRU list, and not in the index,
+ we will inifitely loop in makeRoomForNewEntry(), trying to remove this url from the cache, but never succeeding.
+ This can be fixed by removing the url from the LRU list, also when it's not in the index.
</ins><span class="cx">
</span><del>- ASSERTION FAILED: !value || (value->isPrimitiveValue()) in WebCore::StyleProperties::getLayeredShorthandValue.
- https://bugs.webkit.org/show_bug.cgi?id=125146
</del><ins>+ * platform/network/curl/CurlCacheManager.cpp:
+ (WebCore::CurlCacheManager::makeRoomForNewEntry): Avoid infinite loop by checking if there are more cache entries to remove.
+ (WebCore::CurlCacheManager::invalidateCacheEntry): Avoid crash and infinite loop by removing url from LRU list last.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-05-22 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Do not presume that |yValue| is primitive if |value| is implicit in StylePropertySerializer.
- An implicit y-value can become explicit if specified as a separate longhand.
- At the same time, its new value can be non-primitive.
</del><ins>+ Make viewport units work in CSS gradients
+ https://bugs.webkit.org/show_bug.cgi?id=133204
+ <rdar://problem/17012259>
+
+ Reviewed by Tim Horton.
+
+ Make viewport percentage lengths work in gradients.
</ins><span class="cx">
</span><del>- Backported from Blink:
- http://src.chromium.org/viewvc/blink?view=rev&rev=153678
</del><ins>+ Test: fast/gradients/viewport-units-gradient.html
</ins><span class="cx">
</span><del>- Test: fast/css/webkit-mask-crash-implicit.html
</del><ins>+ * css/CSSGradientValue.cpp:
+ (WebCore::CSSGradientValue::addStops):
+ (WebCore::CSSLinearGradientValue::createGradient):
+ (WebCore::CSSRadialGradientValue::createGradient):
+ * css/CSSGradientValue.h:
</ins><span class="cx">
</span><del>- * css/StyleProperties.cpp:
- (WebCore::StyleProperties::getLayeredShorthandValue):
</del><ins>+2014-05-22 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>-2014-03-26 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ [iOS][WK2] Add support for minimal-ui viewports
+ https://bugs.webkit.org/show_bug.cgi?id=133162
</ins><span class="cx">
</span><del>- Remove extraneous ! from merge of r166304.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2014-03-26 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Add support for minimal-ui directly into the Viewport configuration.
</ins><span class="cx">
</span><del>- Merge r166304.
</del><ins>+ ViewportConfiguration knows about two kinds of layout size in scrollview coordinates:
+ -normal size
+ -minimal ui size.
</ins><span class="cx">
</span><del>- 2014-03-26 Jer Noble <jer.noble@apple.com>
</del><ins>+ Initially, the page is initialized with resetMinimalUI() and starts with a normal layout.
</ins><span class="cx">
</span><del>- REGRESSION(r162679): Poster image visible under the video
- https://bugs.webkit.org/show_bug.cgi?id=130783
</del><ins>+ At any time before the main resource is loaded, the Web page can update its viewport meta tag
+ to include minimal-ui. The viewport configuration is updated immediately to reflect the minimal-ui
+ layout size. Any layout after that takes minimal-ui into account.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ * WebCore.exp.in:
+ * css/LengthFunctions.cpp:
+ (WebCore::minimumValueForLength):
+ (WebCore::floatValueForLength):
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::viewportPercentageValue):
+ * dom/ViewportArguments.h:
+ (WebCore::ViewportArguments::operator==):
+ * page/FrameView.cpp:
+ (WebCore::FrameView::setViewportSizeForCSSViewportUnits):
+ (WebCore::FrameView::viewportSizeForCSSViewportUnits):
+ (WebCore::FrameView::setViewportSize): Deleted.
+ (WebCore::FrameView::viewportSize): Deleted.
+ * page/FrameView.h:
+ * page/ViewportConfiguration.cpp:
+ (WebCore::ViewportConfiguration::ViewportConfiguration):
+ (WebCore::ViewportConfiguration::setMinimumLayoutSize):
+ (WebCore::ViewportConfiguration::setMinimumLayoutSizeForMinimalUI):
+ (WebCore::ViewportConfiguration::activeMinimumLayoutSizeInScrollViewCoordinates):
+ (WebCore::ViewportConfiguration::resetMinimalUI):
+ (WebCore::ViewportConfiguration::pageWillRenderFirstFrame):
+ (WebCore::ViewportConfiguration::initialScale):
+ (WebCore::ViewportConfiguration::minimumScale):
+ (WebCore::ViewportConfiguration::updateConfiguration):
+ (WebCore::ViewportConfiguration::layoutWidth):
+ (WebCore::ViewportConfiguration::layoutHeight):
+ (WebCore::ViewportConfiguration::description):
+ * page/ViewportConfiguration.h:
+ (WebCore::ViewportConfiguration::minimumLayoutSizeForMinimalUI):
+ (WebCore::ViewportConfiguration::usesMinimalUI):
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::viewportSizeForCSSViewportUnits):
+ (WebCore::RenderView::viewportSize): Deleted.
+ * rendering/RenderView.h:
</ins><span class="cx">
</span><del>- In the listed revision, we started checking for isRenderImage()
- instead of isImage(). RenderMedias return 'true' for the first
- but 'false' for the second. Change the if() statement to check
- for isRenderMedia() in addition to !isRenderImage().
</del><ins>+2014-05-22 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::isDirectlyCompositedImage):
</del><ins>+ Can't type in status in facebook.com on iOS Safari because keyboard disappears
+ https://bugs.webkit.org/show_bug.cgi?id=133196
</ins><span class="cx">
</span><del>-2014-03-24 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Remove a commented line of code introduced by r166104.
</del><ins>+ Fixed the bug by rolling out r156252.
</ins><span class="cx">
</span><del>- Reviewed by Babak Shafiei.
</del><ins>+ When the user taps on the status on facebook.com, the page focuses a textarea,
+ which is then made momentarily invisible by setting display:none.
+ The page then removes display:none later and expects the textarea to be still focused.
</ins><span class="cx">
</span><del>- A line was commented out when it should have been deleted. This patch
- corrects that oversight.
</del><ins>+ With r156252, the focus is removed after the page sets display:none and the keyboard disappears.
+ Since the focus is never reset on the textarea, the user can never type in anything.
</ins><span class="cx">
</span><del>- * bindings/js/JSDocumentCustom.cpp:
- (WebCore::JSDocument::location):
</del><ins>+ The specification may need to change here given that this (rather odd) behavior/expectation exists
+ on one of the most popular websites on the Web.
</ins><span class="cx">
</span><del>-2014-03-22 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::Document):
+ (WebCore::Document::recalcStyle):
+ (WebCore::Document::updateLayout):
+ (WebCore::Document::resetHiddenFocusElementSoon): Deleted.
+ (WebCore::Document::resetHiddenFocusElementTimer): Deleted.
+ * dom/Document.h:
</ins><span class="cx">
</span><del>- Finish merge of r160065. The changes from Source/WebCore/rendering/RenderView.cpp were incorrectly
- omitted from the original merge in r165142.
</del><ins>+2014-05-22 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- 2013-12-03 Ryosuke Niwa <rniwa@webkit.org>
-
- Potential crash in RenderView::selectionBounds and RenderView::repaintSelection
- https://bugs.webkit.org/show_bug.cgi?id=125207
-
- Reviewed by Simon Fraser.
-
- Merge https://chromium.googlesource.com/chromium/blink/+/f9e6e288a5aa959f05c374806121aaf0fc52d440
-
- Update style in FrameSelection instead of RenderView's member functions. These are the last two
- member functions of RenderView that updates the style.
-
- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::focusedOrActiveStateChanged):
- (WebCore::FrameSelection::bounds):
- * rendering/RenderView.cpp:
- (WebCore::RenderView::selectionBounds):
- (WebCore::RenderView::repaintSelection):
-
-2014-03-21 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ http/tests/security/xss-DENIED-xsl-document-redirect.xml fails with NetworkProcess
+ https://bugs.webkit.org/show_bug.cgi?id=132523
</ins><span class="cx">
</span><del>- Merge r166090.
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- 2014-03-21 Oliver Hunt <oliver@apple.com>
-
- Fix a crash when assigning an object to document.location
- https://bugs.webkit.org/show_bug.cgi?id=130213
-
- Reviewed by Geoffrey Garen.
-
- Convert location to string before we make use the document.
- This prevents us from attempting to navigate a frame that
- has already been removed.
-
- Test: fast/dom/navigation-with-sideeffects-crash.html
-
- * bindings/js/JSDocumentCustom.cpp:
- (WebCore::JSDocument::location):
- (WebCore::JSDocument::setLocation):
-
-2014-03-20 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ We should not manufacture a response in the event of an error during a
+ synchronous XHR. In addition, this test removes two places that are
+ sensitive to such a manufactured response.
</ins><span class="cx">
</span><del>- Merge r165821.
</del><ins>+ Updates test expectations.
</ins><span class="cx">
</span><del>- 2014-03-18 Antti Koivisto <antti@apple.com>
-
- Mutating rules returned by getMatchedCSSRules can result in crash
- https://bugs.webkit.org/show_bug.cgi?id=130209
-
- Reviewed by Andreas Kling.
-
- The non-standard getMatchedCSSRules API returns CSSStyleRule objects that don't
- have parent stylesheet pointer (as we don't know which sheet the rule originated from).
- Mutating the rule via such wrapper can lead to crashes later as we fail to invalidate
- the underlying stylesheet.
-
- Fix by disallowing mutation of style rules that don't have parent sheet pointer. CSSStyleRule
- has two mutable properties selectorText and style. The latter gives back CSSStyleDeclaration.
- This patch disallows mutations in both cases for CSSStyleRules that don't have parent stylesheet
- pointer.
-
- While it is technically possible to have CSSRules that are legitimately disconnected
- from stylesheet (by removing rule from sheet while holding a reference to it) it never
- makes sense to mutate such rule as there is no way to do anything with it afterwards.
-
- Tests: fast/css/getMatchedCSSProperties-rule-mutation.html
- fast/css/getMatchedCSSRules-crash.html
-
- * css/CSSStyleRule.cpp:
- (WebCore::CSSStyleRule::setSelectorText):
-
- Bail out if parent stylesheet is null.
-
- * css/PropertySetCSSStyleDeclaration.cpp:
- (WebCore::PropertySetCSSStyleDeclaration::setCssText):
- (WebCore::PropertySetCSSStyleDeclaration::setProperty):
- (WebCore::PropertySetCSSStyleDeclaration::removeProperty):
- (WebCore::PropertySetCSSStyleDeclaration::setPropertyInternal):
-
- Allow StyleRuleCSSStyleDeclaration subclass cancel the mutation via
- boolean return value from willMutate.
-
- (WebCore::StyleRuleCSSStyleDeclaration::willMutate):
-
- Disallow mutation if the owning CSSStyleRule is null or has null stylesheet.
-
- (WebCore::StyleRuleCSSStyleDeclaration::didMutate):
-
- We never get here with null rule or stylesheet anymore.
-
- * css/PropertySetCSSStyleDeclaration.h:
- (WebCore::PropertySetCSSStyleDeclaration::willMutate):
-
-2014-03-20 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * loader/DocumentThreadableLoader.cpp:
+ (WebCore::DocumentThreadableLoader::loadRequest): Don't inspect a
+ loader response if there is an error
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::platformLoadResourceSynchronously): Do not
+ manufacture a response
+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::platformLoadResourceSynchronously): Do not
+ manufacture a response
+ * xml/XSLTProcessorLibxslt.cpp:
+ (WebCore::docLoaderFunc): Only use the response's URL if no error
+ occurred.
</ins><span class="cx">
</span><del>- Merge r165921.
</del><ins>+2014-05-22 Myles C. Maxfield <litherum@gmail.com>
</ins><span class="cx">
</span><del>- 2014-03-19 Antti Koivisto <antti@apple.com>
-
- Crash with long selector list
- https://bugs.webkit.org/show_bug.cgi?id=123006
-
- Reviewed by Andreas Kling.
-
- Test: fast/css/long-selector-list-crash.html
-
- * css/CSSSelectorList.cpp:
- (WebCore::CSSSelectorList::CSSSelectorList):
- (WebCore::CSSSelectorList::adoptSelectorVector):
- (WebCore::CSSSelectorList::operator=):
- * css/StyleRule.cpp:
- (WebCore::StyleRule::create):
-
- Add a bunch of asserts.
-
- (WebCore::StyleRule::splitIntoMultipleRulesWithMaximumSelectorComponentCount):
-
- This could produce a zero-length selector list.
-
-2014-03-18 Jer Noble <jer.noble@apple.com>
</del><ins>+ Unreviewed typo fix.
</ins><span class="cx">
</span><del>- Unreviewed Win64 build fix; explicit operators are not valid in VS2010.
</del><ins>+ Reviewed by NOBODY.
</ins><span class="cx">
</span><del>- With the 'explicit bool' operator removed, just test weakThis.get() explicitly.
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::checkPlayability):
</del><ins>+ * platform/graphics/mac/FontMac.mm:
+ (WebCore::Font::dashesForIntersectionsWithRect): Accidentally said run.length() instead of glyphBuffer.size().
</ins><span class="cx">
</span><del>-2014-03-18 Jer Noble <jer.noble@apple.com>
</del><ins>+2014-05-22 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Merge r165478.
</del><ins>+ [iOS WebKit2] Web process should try to shrink its memory footprint when going into background.
+ <https://webkit.org/b/133197>
+ <rdar://problem/17011561>
</ins><span class="cx">
</span><del>- 2014-03-12 Jer Noble <jer.noble@apple.com>
</del><ins>+ Make releaseMemory() public so we can call it from the process-will-suspend callback.
</ins><span class="cx">
</span><del>- [Mac] Crash when running media/fallback.html test in MediaPlayerPrivateAVFoundation::scheduleMainThreadNotification()
- https://bugs.webkit.org/show_bug.cgi?id=130136
</del><ins>+ Reviewed by Gavin Barraclough.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * WebCore.exp.in:
+ * platform/MemoryPressureHandler.h:
</ins><span class="cx">
</span><del>- MediaPlayerPrivateAVFoundation is trying to lock its m_queueMutex from an async thread after
- while being destroyed in the main thread. To resolve this race condition, redispatch from
- the async thread to the main thread, and use a WeakPtr to determine whether the object has
- been destroyed or not.
</del><ins>+2014-05-22 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::checkPlayability):
</del><ins>+ Hook up a setting for showing detailed logging during memory pressure relief.
+ <https://webkit.org/b/133194>
</ins><span class="cx">
</span><del>-2014-03-18 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Make the pressure relief logger opt-in. Also make it flush memory back to the
+ OS (for both malloc and FastMalloc) to get more accurate numbers at each step.
</ins><span class="cx">
</span><del>- Follow-up fix for the merge of r163579.
</del><ins>+ Reviewed by Gavin Barraclough.
</ins><span class="cx">
</span><del>- 2014-03-17 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * platform/MemoryPressureHandler.cpp:
+ * platform/MemoryPressureHandler.h:
+ (WebCore::MemoryPressureHandler::ReliefLogger::ReliefLogger):
+ (WebCore::MemoryPressureHandler::ReliefLogger::~ReliefLogger):
+ (WebCore::MemoryPressureHandler::ReliefLogger::setLoggingEnabled):
+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandler::ReliefLogger::platformMemoryUsage):
</ins><span class="cx">
</span><del>- Merge parts from Blink CLs 169865acce3b6bc85ac1adf07b2798aaf9aad67a and 04f613e7f0c35f444d5a9bd42da55c69df65cf64 that weren't merged to trunk
- <rdar://problem/16307742>
</del><ins>+2014-05-22 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- Unreviewed Layout Test fix.
</del><ins>+ Don't scan for phone numbers in editable regions
+ <rdar://problem/16949846> and https://bugs.webkit.org/show_bug.cgi?id=133192
</ins><span class="cx">
</span><del>- * html/parser/HTMLConstructionSite.cpp:
- (WebCore::insert):
- (WebCore::executeInsertTask):
- (WebCore::executeReparentTask):
- (WebCore::executeInsertAlreadyParsedChildTask):
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>-2014-03-17 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ No new tests (Currently untested WK2-only feature)
</ins><span class="cx">
</span><del>- Merge r165753.
</del><ins>+ * editing/Editor.cpp:
+ (WebCore::Editor::scanRangeForTelephoneNumbers): Skip the range if the Node is editable.
</ins><span class="cx">
</span><del>- 2014-03-16 Brent Fulgham <bfulgham@apple.com>
-
- Provide preference to enable additional AVFoundation options
- https://bugs.webkit.org/show_bug.cgi?id=130275
-
- Reviewed by Eric Carlson.
-
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::doesHaveAttribute): Added.
- * html/HTMLMediaElement.h:
- * page/Settings.in: Add new attribute.
- * platform/graphics/MediaPlayer.cpp:
- (WebCore::MediaPlayer::doesHaveAttribute): Added stub to call private player object's
- implementation of doesHaveAttribute.
- * platform/graphics/MediaPlayer.h:
- (WebCore::MediaPlayerClient::doesHaveAttribute):
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::MediaPlayerPrivateAVFoundationCF::AVFWrapper::createAssetForURL): Check the <media> object,
- and notify AVFoundationCF to use URI option if relevant.
- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): Check the <media> object,
- and notify AVFoundation to use URI option if relevant.
-
-2014-03-17 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+2014-05-22 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- Merge r165583.
</del><ins>+ Captions layout incorrectly in fullscreen.
+ https://bugs.webkit.org/show_bug.cgi?id=133175
</ins><span class="cx">
</span><del>- 2014-03-13 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Web Inspector: Network.loadResource should include the response status code
- https://bugs.webkit.org/show_bug.cgi?id=130216
</del><ins>+ When doing layout for fullscreen, geometry should be absolute so it is not influenced
+ by the rest of the page. This change adds style for CSSPropertyPosition, CSSPropertyLeft,
+ and CSSPropertyTop.
</ins><span class="cx">
</span><del>- Reviewed by Timothy Hatcher.
</del><ins>+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlTextTrackContainerElement::updateDisplay):
+ Refactor style changes into updateStyleForTextTrackRepresentation().
+ (WebCore::MediaControlTextTrackContainerElement::updateTimerFired):
+ Refactor style changes into updateStyleForTextTrackRepresentation().
+ (WebCore::MediaControlTextTrackContainerElement::clearTextTrackRepresentation):
+ Refactor style changes into updateStyleForTextTrackRepresentation().
+ (WebCore::MediaControlTextTrackContainerElement::updateStyleForTextTrackRepresentation):
+ Consolidate style changes here. Include the two existing and three new style changes.
+ * html/shadow/MediaControlElements.h:
+ Declare updateStyleForTextTrackRepresentation().
</ins><span class="cx">
</span><del>- * inspector/InspectorResourceAgent.cpp:
- Record and send the http status code.
</del><ins>+2014-05-22 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * inspector/protocol/Network.json:
- Include status code property in the success callback.
</del><ins>+ REGRESSION (r155977): Very stuttery 3D css animation on jtechcommunications.com
+ https://bugs.webkit.org/show_bug.cgi?id=133179
+ <rdar://problem/16864666>
</ins><span class="cx">
</span><del>-2014-03-17 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Merge r165582.
</del><ins>+ Revert code added in r155977 to try to pick a good contentsScale for layers
+ based on a root-relative transform. This resulted in pages with too much
+ backing store, and too many cases where layers repainted during animations,
+ causing stutter.
</ins><span class="cx">
</span><del>- 2014-03-13 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::GraphicsLayerCA):
+ (WebCore::GraphicsLayerCA::flushCompositingState):
+ (WebCore::GraphicsLayerCA::recursiveCommitChanges):
+ (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers):
+ (WebCore::GraphicsLayerCA::updateContentsOpaque):
+ (WebCore::GraphicsLayerCA::updateAnimations):
+ (WebCore::GraphicsLayerCA::appendToUncommittedAnimations):
+ (WebCore::GraphicsLayerCA::setTransformAnimationEndpoints):
+ (WebCore::GraphicsLayerCA::setTransformAnimationKeyframes):
+ (WebCore::GraphicsLayerCA::updateContentsScale):
+ (WebCore::clampedContentsScaleForScale): Deleted.
+ (WebCore::maxScaleFromTransform): Deleted.
+ (WebCore::GraphicsLayerCA::updateRootRelativeScale): Deleted.
+ (WebCore::GraphicsLayerCA::getTransformFromAnimationsWithMaxScaleImpact): Deleted.
+ * platform/graphics/ca/GraphicsLayerCA.h:
</ins><span class="cx">
</span><del>- Web Inspector: Network.loadResource XHR crash if page reloaded while request is ongoing
- https://bugs.webkit.org/show_bug.cgi?id=130211
</del><ins>+2014-05-22 Martin Hock <mhock@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Timothy Hatcher.
</del><ins>+ [iOS] Enable -apple-system- styled elements to respond to system font size changes.
+ https://bugs.webkit.org/show_bug.cgi?id=133186
+ <rdar://problem/16583782>
</ins><span class="cx">
</span><del>- Merged from Blink with changes, (patch by vsevik@chromium.org):
- http://src.chromium.org/viewvc/blink?view=revision&revision=152712
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>- Using an XMLHttpRequest to download resources had a few issues. Being an
- Active DOM Object the load could be paused. Without an extra retain,
- when the load was cancelled (e.g. a page reload) the XHR would get
- destructed and could cause a crash if the list of active DOM objects
- was actively being iterated.
</del><ins>+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * rendering/RenderThemeIOS.h:
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::_contentSizeCategory):
+ (WebCore::RenderThemeIOS::contentSizeCategory):
+ (WebCore::RenderThemeIOS::setContentSizeCategory):
</ins><span class="cx">
</span><del>- Switch to a DocumentThreadableLoader to manage the load ourselves.
- This still uses the Memory cache, but we have a little more control.
</del><ins>+2014-05-22 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- * inspector/InspectorResourceAgent.h:
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::InspectorResourceAgent):
- (WebCore::InspectorResourceAgent::loadResource):
- Switch from XHR to DocumentThreadableLoader.
</del><ins>+ [MSE] Stored samples are not freed when SourceBuffer is removed from MediaSource
+ https://bugs.webkit.org/show_bug.cgi?id=133174
</ins><span class="cx">
</span><del>- * xml/XMLHttpRequest.h:
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::XMLHttpRequest):
- (WebCore::XMLHttpRequest::createRequest):
- (WebCore::XMLHttpRequest::sendForInspector):
- Remove the now unnecessary XHR sendForInspector path.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2014-03-17 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Clear out stored MediaSamples from SourceBuffer's TrackBuffer storage when
+ aborting loading. Also, report the memory cost of those samples, so that the
+ SourceBuffer will be GCd more readily.
</ins><span class="cx">
</span><del>- Merge r165548.
</del><ins>+ Add a mechanism for reporting the size of a MediaSample:
+ * Modules/mediasource/SourceBuffer.h:
+ * platform/MediaSample.h:
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
</ins><span class="cx">
</span><del>- 2014-03-13 Andreas Kling <akling@apple.com>
-
- Don't send synchronous resize events when FrameView has auto-sizing enabled.
- <https://webkit.org/b/130198>
- <rdar://problem/15991333>
-
- Reviewed by Dan Bernstein.
-
- * page/FrameView.cpp:
- (WebCore::FrameView::sendResizeEventIfNeeded):
-
-2014-03-17 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Track the memory usage of a SampleMap when adding and removing samples, as well
+ as allowing the SampleMap to be cleared wholesale:
+ * Modules/mediasource/SampleMap.cpp:
+ (WebCore::SampleMap::clear): Release all stored MediaSamples.
+ (WebCore::SampleMap::addSample): Update m_totalSize.
+ (WebCore::SampleMap::removeSample): Ditto.
+ * Modules/mediasource/SampleMap.h:
+ (WebCore::SampleMap::SampleMap): Initialize m_totalSize.
+ (WebCore::SampleMap::sizeInBytes): Simple accessor.
</ins><span class="cx">
</span><del>- Reverse merge r165286.
</del><ins>+ Clear the stored samples when loading is aborted, and report the extra memory
+ cost
+ * Modules/mediasource/SourceBuffer.cpp:
+ (WebCore::SourceBuffer::SourceBuffer): Initialize m_reportedExtraMemoryCost.
+ (WebCore::SourceBuffer::removedFromMediaSource): Clear all stored samples.
+ (WebCore::SourceBuffer::sourceBufferPrivateAppendComplete): Call reportExtraMemoryCost().
+ (WebCore::SourceBuffer::reportExtraMemoryCost): Inform the vm of the new
+ extra memory cost incurred by the object.
</ins><span class="cx">
</span><del>- 2014-03-07 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+2014-05-22 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- Merge r165206.
</del><ins>+ REGRESSION (WebKit2): Keyboard should have Search button in duckduckgo.com.
+ https://bugs.webkit.org/show_bug.cgi?id=133183
+ <rdar://problem/17004207>
</ins><span class="cx">
</span><del>- 2014-03-05 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+ Reviewed by Geoff Garen.
</ins><span class="cx">
</span><del>- Invalid cast in WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients()
</del><ins>+ Adding new export.
</ins><span class="cx">
</span><del>- <https://bugs.webkit.org/show_bug.cgi?id=121887>
- <rdar://problem/15073043>
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- Clang appears to be optimizing out a branch in RenderObject::node()
- when compiling RenderLayer::FilterInfo::updateReferenceFilterClients().
- We'll work around this by factoring out the code in question into a
- separate member function marked NEVER_INLINE.
</del><ins>+2014-05-22 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- No test possible due to <https://bugs.webkit.org/show_bug.cgi?id=129757>.
</del><ins>+ REGRESSION(r163712): [GTK] Misspelling and grammar underline marks are no longer drawn
+ https://bugs.webkit.org/show_bug.cgi?id=133047
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerFilterInfo.cpp:
- (WebCore::RenderLayer::FilterInfo::layerElement):
- Code moved from updateReferenceFilterClients(). Returns the Element*
- for m_layer.
- (WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients):
- Use layerElement().
</del><ins>+ Change two conditions changed by mistake in r163712.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerFilterInfo.h:
- Declared layerElement().
</del><ins>+ * editing/TextCheckingHelper.cpp:
+ (WebCore::findMisspellings): Enter the loop also when wordStart is 0.
+ (WebCore::TextCheckingHelper::findFirstMisspelling): Skip the work
+ when the text is a single character. Also reworked it to use a for
+ loop to improve the readability.
</ins><span class="cx">
</span><del>-2014-03-12 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+2014-05-22 Piotr Grad <p.grad@samsung.com>
</ins><span class="cx">
</span><del>- Merge r165331.
</del><ins>+ Video is resumed with old playback rate.
+ https://bugs.webkit.org/show_bug.cgi?id=132905
</ins><span class="cx">
</span><del>- 2014-03-10 Timothy Hatcher <timothy@apple.com>
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- Load source maps and their resources asynchronously.
</del><ins>+ Setting '0' playback rate is causing pipeline to pause.
+ GStreamer player impl. exposed this information to upper layers but it should not.
+ Solution is to hidden such situation behind m_playbackRatePause flag.
</ins><span class="cx">
</span><del>- https://bugs.webkit.org/show_bug.cgi?id=112071
</del><ins>+ Test: media/video-paused-0-rate.html
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro.
</del><ins>+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
+ (WebCore::MediaPlayerPrivateGStreamer::play):
+ (WebCore::MediaPlayerPrivateGStreamer::pause):
+ (WebCore::MediaPlayerPrivateGStreamer::doSeek):
+ (WebCore::MediaPlayerPrivateGStreamer::updatePlaybackRate):
+ (WebCore::MediaPlayerPrivateGStreamer::paused):
+ (WebCore::MediaPlayerPrivateGStreamer::setRate):
+ (WebCore::MediaPlayerPrivateGStreamer::updateStates):
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
</ins><span class="cx">
</span><del>- * inspector/InspectorPageAgent.cpp:
- (WebCore::InspectorPageAgent::buildObjectForFrameTree):
- Honor the hiddenFromInspector flag.
</del><ins>+2014-05-22 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::willSendRequest):
- (WebCore::InspectorResourceAgent::markResourceAsCached):
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- (WebCore::InspectorResourceAgent::didReceiveData):
- (WebCore::InspectorResourceAgent::didFinishLoading):
- (WebCore::InspectorResourceAgent::didFailLoading):
- (WebCore::InspectorResourceAgent::replayXHR):
- (WebCore::InspectorResourceAgent::loadResource):
- * inspector/InspectorResourceAgent.h:
- Honor the hiddenFromInspector flag by keeping track of
- hidden identifiers in a HashSet.
</del><ins>+ Text markers don't paint on simple lines
+ https://bugs.webkit.org/show_bug.cgi?id=133177
</ins><span class="cx">
</span><del>- * inspector/protocol/Network.json:
- (Network.loadResource): Added.
</del><ins>+ Reviewed by Anders Carlsson.
+
+ Marker painting code does not yet support simple lines.
</ins><span class="cx">
</span><del>- * platform/network/ResourceRequestBase.h:
- (WebCore::ResourceRequestBase::hiddenFromInspector): Added.
- (WebCore::ResourceRequestBase::setHiddenFromInspector): Added.
- (WebCore::ResourceRequestBase::ResourceRequestBase):
- Add a flag to hide the request from the Inspector.
</del><ins>+ Tests: fast/text/mark-matches-rendering-simple-lines.html
+ fast/text/mark-matches-rendering.html
</ins><span class="cx">
</span><del>- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::XMLHttpRequest):
- (WebCore::XMLHttpRequest::sendForInspector): Added.
- (WebCore::XMLHttpRequest::sendForInspectorXHRReplay): Renamed.
- (WebCore::XMLHttpRequest::createRequest):
- * xml/XMLHttpRequest.h:
- Make Inspector loads allow cross-origins and hide their request
- from the Inspector itself.
</del><ins>+ * dom/DocumentMarkerController.cpp:
+ (WebCore::DocumentMarkerController::addMarker):
+
+ Force text blocks with markers to use line boxes.
</ins><span class="cx">
</span><del>-2014-03-10 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ * testing/Internals.cpp:
+ (WebCore::Internals::setMarkedTextMatchesAreHighlighted):
+
+ Expose this so we can make reftests for marker rendering.
</ins><span class="cx">
</span><del>- [Win] Build fix after r165379.
</del><ins>+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>- * bindings/js/SerializedScriptValue.cpp:
- (WebCore::SerializedScriptValue::SerializedScriptValue): Revert to older-style C++ iteration
- for Windows compatibility. This can be reverted when we use VS2013 on this branch.
</del><ins>+2014-05-22 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>-2014-03-07 Myles C. Maxfield <mmaxfield@apple.com>
</del><ins>+ [CSS Grid Layout] Guard RenderObject::isRenderGrid() method
+ https://bugs.webkit.org/show_bug.cgi?id=132380
</ins><span class="cx">
</span><del>- Merge r162972 and r163007.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- 2014-03-07 Myles C. Maxfield <mmaxfield@apple.com>
</del><ins>+ Guard RenderObject::isRenderGrid() method under ENABLE_CSS_GRID_LAYOUT compilation flag.
</ins><span class="cx">
</span><del>- ASSERT_WITH_SECURITY_IMPLICATION in WebCore::InlineTextBox::paint
- https://bugs.webkit.org/show_bug.cgi?id=114586
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::computeLogicalWidthInRegion):
+ * rendering/RenderObject.h:
</ins><span class="cx">
</span><del>- Reviewed by Dave Hyatt.
</del><ins>+2014-05-21 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- Taken mostly from https://chromium.googlesource.com/chromium/blink/+/cb2297db16f2e9328cb4dd8b552093d6b22340a8
</del><ins>+ REGRESSION(r167870): Crash in simple line layout code with :after
+ https://bugs.webkit.org/show_bug.cgi?id=133155
+ <rdar://problem/16977696>
</ins><span class="cx">
</span><del>- If RenderQuote is a subclass of RenderObject, it can't be split by the first-letter CSS pseudoclass.
- Instead, we should make it a subclass of RenderElement, so that it can be split properly.
</del><ins>+ Reviewed by Darin Adler.
+
+ Fix https://bugs.webkit.org/show_bug.cgi?id=132241 in a safer way.
+ The underline behavior is tested by the existing fast/text/simple-lines-hover-underline.html
</ins><span class="cx">
</span><del>- Test: fast/css-generated-content/quote-first-letter.html
</del><ins>+ Test: fast/text/simple-lines-hover-after.html
</ins><span class="cx">
</span><del>- * dom/PseudoElement.cpp:
- (WebCore::PseudoElement::didRecalcStyle):
- * rendering/RenderQuote.cpp:
- (WebCore::RenderQuote::RenderQuote):
- (WebCore::RenderQuote::willBeDestroyed):
- (WebCore::RenderQuote::willBeRemovedFromTree):
- (WebCore::RenderQuote::styleDidChange):
- (WebCore::RenderQuote::updateText):
- (WebCore::RenderQuote::computeText):
- (WebCore::RenderQuote::updateDepth):
- * rendering/RenderQuote.h:
- * rendering/style/ContentData.cpp:
- (WebCore::QuoteContentData::createContentRenderer):
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::invalidateLineLayoutPath): Deleted.
</ins><span class="cx">
</span><del>-2014-03-10 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Move to RenderBlockFlow.
</ins><span class="cx">
</span><del>- Merge r165339.
</del><ins>+ * rendering/RenderBlock.h:
+ (WebCore::RenderBlock::invalidateLineLayoutPath):
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::styleDidChange):
+
+ Invalidate layout if style changes in a manner that makes us ineligible to use the simple line layout path.
</ins><span class="cx">
</span><del>- 2014-03-08 Oliver Hunt <oliver@apple.com>
</del><ins>+ (WebCore::RenderBlockFlow::invalidateLineLayoutPath):
+
+ Drop the simple line layout on path invalidation if it exists. It may not be valid anymore.
+ Also invalidate the layout if this happens so we'll reconstruct the lines later.
</ins><span class="cx">
</span><del>- SerializedScriptValue may move Identifiers between worlds
- https://bugs.webkit.org/show_bug.cgi?id=129979
</del><ins>+ (WebCore::RenderBlockFlow::simpleLineLayout): Deleted.
+ (WebCore::RenderBlockFlow::ensureLineBoxes):
+ (WebCore::RenderBlockFlow::createLineBoxes): Deleted.
+
+ Revert some of the changes made it r167870.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * rendering/RenderBlockFlow.h:
+ (WebCore::RenderBlockFlow::simpleLineLayout):
+
+ Add strong validity assert.
</ins><span class="cx">
</span><del>- Test: fast/workers/worker-copy-shared-blob-url.html
</del><ins>+2014-05-21 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Don't use Strings to store blob URLs as String's may be Identifiers
- and they can only exist in one world/thread at a time.
</del><ins>+ [iOS] two media control button strings are not localized
+ https://bugs.webkit.org/show_bug.cgi?id=133160
</ins><span class="cx">
</span><del>- * Modules/indexeddb/IDBObjectStore.cpp:
- (WebCore::IDBObjectStore::put):
- * bindings/js/SerializedScriptValue.cpp:
- (WebCore::CloneDeserializer::deserializeString):
- (WebCore::SerializedScriptValue::addBlobURL):
- (WebCore::SerializedScriptValue::SerializedScriptValue):
- * bindings/js/SerializedScriptValue.h:
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>-2014-03-07 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * English.lproj/mediaControlsLocalizedStrings.js:
</ins><span class="cx">
</span><del>- Merge r165138.
</del><ins>+2014-05-21 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- 2014-03-05 David Kilzer <ddkilzer@apple.com>
</del><ins>+ [iOS] Update some of the media controls buttons to be bigger
+ https://bugs.webkit.org/show_bug.cgi?id=133158
+ <rdar://problem/16475828>
</ins><span class="cx">
</span><del>- Fix crash in CompositeEditCommand::cloneParagraphUnderNewElement()
- <http://webkit.org/b/129751>
- <rdar://problem/16237965>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Jon Honeycutt.
</del><ins>+ The buttons in the media controls on iOS are too small
+ to be comfortably pressed. Make them the size of the controls
+ panel and the expected iOS button size (44x44px).
</ins><span class="cx">
</span><del>- Merged from Blink (patch by Yuta Kitamura):
- https://src.chromium.org/viewvc/blink?revision=168160&view=revision
- http://crbug.com/345005
</del><ins>+ The artwork for the buttons now includes the padding. I've
+ added a file from which you can edit the artwork, then
+ copy it into the CSS (because editing directly in CSS is
+ a huge pain).
</ins><span class="cx">
</span><del>- The root cause is CompositeEditCommand::moveParagraphWithClones() passing
- two positions |start| and |end| which do not follow the document order,
- i.e. in some situations |start| is located after |end| because of
- the difference in affinity.
</del><ins>+ So far just the play/pause and fullscreen button have been
+ updated. There will be a follow-up patch to fix the remaining
+ buttons and the scrubber.
</ins><span class="cx">
</span><del>- This patch fixes this crash by normalizing |end| to |start| in such situations.
- It also adds an ASSERT that checks the relationship between |start| and |end|.
</del><ins>+ * Modules/mediacontrols/assets-apple-iOS.svg: Added.
+ * Modules/mediacontrols/mediaControlsiOS.css:
+ (audio::-webkit-media-controls-panel):
+ (audio::-webkit-media-controls-fullscreen-button):
+ (audio::-webkit-media-controls-play-button):
+ (audio::-webkit-media-controls-play-button:active):
+ (audio::-webkit-media-controls-play-button.paused):
+ (audio::-webkit-media-controls-fullscreen-button:active):
+ (@media only screen and (-webkit-min-device-pixel-ratio: 2)): Deleted.
</ins><span class="cx">
</span><del>- Test: editing/execCommand/format-block-crash.html
</del><ins>+2014-05-21 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * editing/CompositeEditCommand.cpp:
- (WebCore::CompositeEditCommand::cloneParagraphUnderNewElement):
- (WebCore::CompositeEditCommand::moveParagraphWithClones):
- * editing/CompositeEditCommand.h:
</del><ins>+ Garbage when rubber-banding at the right edge of a page zoomed to non-integral scale.
+ https://bugs.webkit.org/show_bug.cgi?id=133139
+ <rdar://problem/16503353>
</ins><span class="cx">
</span><del>-2014-03-07 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Merge r164876.
</del><ins>+ Do not pixel align the root content layer. The alignment code expands the graphics's layer size
+ which makes the right and bottom tiles bigger than the content.
+ Painting the body's background color produces pixel cracks, because the content can not
+ fill the expanded tiles completely.
</ins><span class="cx">
</span><del>- 2014-02-28 Bem Jones-Bey <bjonesbe@adobe.com>
</del><ins>+ Not testable.
</ins><span class="cx">
</span><del>- Properly clear m_logicallyLastRun to remove use-after-free possibility
- https://bugs.webkit.org/show_bug.cgi?id=129489
</del><ins>+ * platform/graphics/GraphicsLayerClient.h:
+ (WebCore::GraphicsLayerClient::needsPixelAligment):
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::updateGeometry):
+ (WebCore::GraphicsLayerCA::computePixelAlignment):
+ * platform/graphics/ca/mac/TileGrid.mm:
+ (WebCore::TileGrid::rectForTileIndex):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::needsPixelAligment):
+ * rendering/RenderLayerBacking.h:
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+2014-05-21 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- A use-after-free issue was caught in Blink because m_logicallyLastRun
- is not cleared when the item it points to is deleted. Clearing it
- turns the use-after-free into a segfault, and prevents any future
- use-after-frees from happening.
</del><ins>+ REGRESSION (r168046): Invalid layout in WebCore::RenderBox::containingBlockLogicalWidthForPositioned
+ https://bugs.webkit.org/show_bug.cgi?id=132933
</ins><span class="cx">
</span><del>- * platform/text/BidiRunList.h:
- (WebCore::BidiRunList<Run>::deleteRuns):
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2014-03-07 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Invalid layout is performed when calling containingBlockLogicalWidthForPositioned for a RenderTableSection object.
</ins><span class="cx">
</span><del>- Merge r165206.
</del><ins>+ Test: fast/multicol/newmulticol/table-section-crash.html
</ins><span class="cx">
</span><del>- 2014-03-05 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
</ins><span class="cx">
</span><del>- Invalid cast in WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients()
</del><ins>+2014-05-21 Simon Pena <simon.pena@samsung.com>
</ins><span class="cx">
</span><del>- <https://bugs.webkit.org/show_bug.cgi?id=121887>
- <rdar://problem/15073043>
</del><ins>+ [EFL] Ensure EGLOffScreenContext::initialize calls platformMakeCurrent on the surface
+ https://bugs.webkit.org/show_bug.cgi?id=124832
</ins><span class="cx">
</span><del>- Clang appears to be optimizing out a branch in RenderObject::node()
- when compiling RenderLayer::FilterInfo::updateReferenceFilterClients().
- We'll work around this by factoring out the code in question into a
- separate member function marked NEVER_INLINE.
</del><ins>+ Reviewed by Antonio Gomes.
</ins><span class="cx">
</span><del>- No test possible due to <https://bugs.webkit.org/show_bug.cgi?id=129757>.
</del><ins>+ The original code was only calling platformMakeCurrent when the
+ GL_EXT_robustness extension is supported: the alternate code path
+ would only create a context, but it wouldn't make that context
+ current. This patch ensures platformMakeCurrent is also called for
+ the alternate code path, and, if it fails to make the context
+ current, will destroy the context. Effectively, this makes both
+ code paths behave in the same way.
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ * platform/graphics/surfaces/egl/EGLContext.cpp:
+ (WebCore::EGLOffScreenContext::initialize):
</ins><span class="cx">
</span><del>- * rendering/RenderLayerFilterInfo.cpp:
- (WebCore::RenderLayer::FilterInfo::layerElement):
- Code moved from updateReferenceFilterClients(). Returns the Element*
- for m_layer.
- (WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients):
- Use layerElement().
</del><ins>+2014-05-20 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderLayerFilterInfo.h:
- Declared layerElement().
</del><ins>+ [Mac] DataCues do not work properly when rewinding video
+ https://bugs.webkit.org/show_bug.cgi?id=133138
+ <rdar://problem/16979086>
</ins><span class="cx">
</span><del>-2014-03-06 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Merge r164249.
</del><ins>+ Make the TrackPrivateBase responsible for knowing if a type of track needs a non-zero
+ startTimeVariance value.
</ins><span class="cx">
</span><del>- 2014-02-17 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Also, correct a bug in the equality test for DataCue objects.
</ins><span class="cx">
</span><del>- AX: Invalid cast in WebCore::AccessibilityTable::isDataTable (CRBug 280352)
- <https://webkit.org/b/128925>
- <rdar://problem/16087351>
</del><ins>+ * html/track/DataCue.cpp:
+ (WebCore::DataCue::isEqual): Handle the JSValue data types consistently, so that we don't attempt
+ to compare a JSNull against a default JSValue object.
+ * html/track/InbandTextTrack.cpp:
+ (WebCore::InbandTextTrack::startTimeVariance): Added.
+ * html/track/InbandTextTrack.h:
+ * html/track/TextTrack.cpp:
+ (WebCore::TextTrack::hasCue): Use new startTimeVariance method location.
+ * html/track/TextTrack.h:
+ (WebCore::TextTrack::startTimeVariance): Added.
+ * html/track/TextTrackCue.cpp:
+ (WebCore::TextTrackCue::hasEquivalentStartTime): Use new startTimeVariance location.
+ * html/track/TextTrackCue.h:
+ (WebCore::TextTrackCue::startTimeVariance): Deleted.
+ * html/track/TextTrackCueGeneric.h:
+ * platform/graphics/TrackPrivateBase.h:
+ (WebCore::TrackPrivateBase::startTimeVariance): Added.
+ * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
</ins><span class="cx">
</span><del>- Merged from Blink (patch by Dominic Mazzoni):
- https://src.chromium.org/viewvc/blink?revision=159711&view=revision
</del><ins>+2014-05-20 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Oliver Hunt.
</del><ins>+ Watchdog timer should be lazily allocated
+ https://bugs.webkit.org/show_bug.cgi?id=133135
</ins><span class="cx">
</span><del>- Don't cast to a table cell element unless we are sure it is one.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Test: accessibility/display-table-cell-causes-crash.html
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityTable.cpp:
- (WebCore::AccessibilityTable::isDataTable):
</del><ins>+ We incur a noticeable amount of overhead on some benchmarks due to checking if the Watchdog ever fired.
+ There is no reason to do this checking if we never activated the Watchdog, which can only be done through
+ JSContextGroupSetExecutionTimeLimit or JSContextGroupClearExecutionTimeLimit.
</ins><span class="cx">
</span><del>-2014-03-06 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ By allocating the Watchdog lazily on the VM we can avoid all of the associated overhead when we don't use
+ these two API functions (which is true of most clients).
</ins><span class="cx">
</span><del>- Merge r159489.
</del><ins>+ * bindings/js/JSEventListener.cpp:
+ (WebCore::JSEventListener::handleEvent):
+ * bindings/js/WorkerScriptController.cpp:
+ (WebCore::WorkerScriptController::evaluate):
+ (WebCore::WorkerScriptController::scheduleExecutionTermination):
+ (WebCore::WorkerScriptController::isExecutionTerminating):
</ins><span class="cx">
</span><del>- 2013-11-19 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-05-20 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Add more assertions with security implications in DocumentOrderedMap
- https://bugs.webkit.org/show_bug.cgi?id=124559
</del><ins>+ [Mac] Allow popup menus to override default appearance
+ https://bugs.webkit.org/show_bug.cgi?id=133129
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Assert that newly added elements and existing elements in the document ordered map are in the same tree scope
- as the document ordered map. Also exit early if we're about to add an element in a wrong document to the map.
- We don't exit early in get() because the damage has already been done at that point (the element may have been
- deleted already).
</del><ins>+ WebKitSystemInterface's WKPopupMenu has a flag to hide
+ the arrows at the end of a popup-menu (e.g. <select>).
+ Expose that via adding a hasDefaultAppearance flag to
+ PopupMenuStyle, which then passes it on to WKSI.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::addImageElementByLowercasedUsemap):
- * dom/DocumentOrderedMap.cpp:
- (WebCore::DocumentOrderedMap::add): Assert that the newly added element is in the current tree scope.
- Also exit early if either the element is not in the tree scope or not in the right document.
- While this doesn't make the function completely fault safe, it'll catch when we try to add a detached node.
- (WebCore::DocumentOrderedMap::remove): Convert existing assertions to ones with security implication.
- (WebCore::DocumentOrderedMap::get): Assert with security implication that the element we're about to return
- is in the current tree scope. The element may have already been deleted if we ever hit these assertions.
- (WebCore::DocumentOrderedMap::getAllElementsById): Convert an existing assertion to an assertion with security
- implication.
- * dom/DocumentOrderedMap.h:
- * dom/TreeScope.cpp:
- (WebCore::TreeScope::addElementById):
- (WebCore::TreeScope::addElementByName):
- (WebCore::TreeScope::addImageMap):
- (WebCore::TreeScope::addLabel):
- * html/HTMLDocument.cpp:
- (WebCore::HTMLDocument::addDocumentNamedItem):
- (WebCore::HTMLDocument::addWindowNamedItem):
- * html/HTMLImageElement.cpp:
- (WebCore::HTMLImageElement::insertedInto): Set InTreeScope flag before calling addImageElementByLowercasedUsemap.
- * html/HTMLMapElement.cpp:
- (WebCore::HTMLMapElement::insertedInto): Ditto for addImageMap.
</del><ins>+ * platform/PopupMenuStyle.h:
+ (WebCore::PopupMenuStyle::PopupMenuStyle): New flag in constructor.
+ (WebCore::PopupMenuStyle::hasDefaultAppearance): New flag.
+ * platform/mac/WebCoreSystemInterface.h: wkPopupMenu signature has changed to accept
+ the new flag.
+ * platform/mac/WebCoreSystemInterface.mm: Ditto.
+ * rendering/RenderMenuList.cpp:
+ (RenderMenuList::itemStyle): Pass in true as default appearance when creating
+ the PopupMenuStyle. We don't need it.
+ (RenderMenuList::menuStyle): In this case we pass in the negated value of
+ style().hasAppearance(), which indicates if we are overriding the built-in drawing.
+ * rendering/RenderSearchField.cpp:
+ (WebCore::RenderSearchField::menuStyle): Use true as the default value.
</ins><span class="cx">
</span><del>-2014-03-06 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+2014-05-20 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Merge r165145.
</del><ins>+ [Mac] do not deactivate an audio session that has running I/O
+ https://bugs.webkit.org/show_bug.cgi?id=133127
</ins><span class="cx">
</span><del>- 2014-03-05 Daniel Bates <dabates@apple.com>
- And Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- ASSERT(newestManifest) fails in WebCore::ApplicationCacheGroup::didFinishLoadingManifest()
- https://bugs.webkit.org/show_bug.cgi?id=129753
- <rdar://problem/12069835>
</del><ins>+ * page/Settings.h:
+ (WebCore::Settings::setShouldManageAudioSessionCategory): Renamed from setShouldManageAudioSession.
+ (WebCore::Settings::shouldManageAudioSessionCategory): Renamed from shouldManageAudioSession.
+ (WebCore::Settings::setShouldManageAudioSession): Deleted.
+ (WebCore::Settings::shouldManageAudioSession): Deleted.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ * platform/audio/mac/MediaSessionManagerMac.cpp:
+ (MediaSessionManager::updateSessionState): Don't deactivate the session if there are any
+ Video or Audio sessions.
</ins><span class="cx">
</span><del>- Fixes an issue where an assertion failure would occur when visiting a web site whose on-disk
- app cache doesn't contain a manifest resource.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::assetStatus): Drive-by change to log errors
+ returned by -statusOfValueForKey:error: in debug builds.
</ins><span class="cx">
</span><del>- For some reason an app cache for a web site may be partially written to disk. In particular, the
- app cache may only contain a CacheGroups entry. That is, the manifest resource and origin records
- may not be persisted to disk. From looking over the code, we're unclear how such a situation can occur
- and hence have been unable to create such an app cache. We were able to reproduce this issue using
- an app cache database file that was provided by a person that was affected by this issue.
</del><ins>+2014-05-20 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- No test included because it's not straightforward to write a test for this change.
</del><ins>+ REGRESSION: All non-mainframe scrollbars don't paint after r169065
+ https://bugs.webkit.org/show_bug.cgi?id=133132
+ -and corresponding-
+ <rdar://problem/16968850>
</ins><span class="cx">
</span><del>- * loader/appcache/ApplicationCacheGroup.cpp:
- (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete): Assert that m_cacheBeingUpdated->manifestResource()
- is non-null. Currently we only document this assumption in a code comment. Also separated a single assertion
- expression into two assertion expressions to make it straightforward to identify the failing sub-expression
- on failure.
- * loader/appcache/ApplicationCacheStorage.cpp:
- (WebCore::ApplicationCacheStorage::store): Modified to call ApplicationCacheStorage::deleteCacheGroupRecord()
- to remove a cache group and associated cache records (if applicable) before inserting a cache group entry.
- This replacement approach will ultimately repair incomplete app cache data for people affected by this bug.
- (WebCore::ApplicationCacheStorage::loadCache): Log an error and return nullptr if the cache we loaded doesn't
- have a manifest resource.
- (WebCore::ApplicationCacheStorage::deleteCacheGroupRecord): Added.
- (WebCore::ApplicationCacheStorage::deleteCacheGroup): Extracted deletion logic for cache group record into
- ApplicationCacheStorage::deleteCacheGroupRecord().
- * loader/appcache/ApplicationCacheStorage.h:
</del><ins>+ Reviewed by Geoff Garen.
</ins><span class="cx">
</span><del>-2014-03-06 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ We should not universally return true here. This feature will only work for
+ scrollbars with layers.
+ * platform/ScrollableArea.h:
+ * platform/Scrollbar.cpp:
+ (WebCore::Scrollbar::supportsUpdateOnSecondaryThread):
</ins><span class="cx">
</span><del>- Merge r156716.
</del><ins>+2014-05-20 Daniel Bates <dabates@apple.com>
</ins><span class="cx">
</span><del>- 2013-10-01 Myles C. Maxfield <mmaxfield@apple.com>
</del><ins>+ Element within flattened frame may update its scroll state during the layout phase of the wrong RenderView
+ https://bugs.webkit.org/show_bug.cgi?id=133013
+ <rdar://problem/16760154>
</ins><span class="cx">
</span><del>- Center misspelling dots across width of word
- https://bugs.webkit.org/show_bug.cgi?id=122046
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Fixes an issue where the scroll state of an element may be updated during the layout of the wrong
+ RenderView. In particular, the scroll state of an element inside a CSS flex box in a flattened
+ frame f is updated during the layout of the RenderView associated with the parent frame of f instead
+ of during the layout of the RenderView associated with f.
</ins><span class="cx">
</span><del>- Test: editing/spelling/spelling.html
</del><ins>+ The layout machinery assumes that the scroll state of each scrollable element is updated before the
+ completion of layout for its associated RenderView. Currently we have logic to defer updating the scroll
+ state of a scrollable element until completion of recursive layout. For a page with a flattened frame, we
+ defer such updates until completion of layout for all RenderViews along the ancestor frame hierarchy of
+ each flattened frame regardless of the RenderView associated with the element that originated the
+ deferred scroll state request. Instead, only the RenderView associated with the element that deferred its
+ scroll state update should dispatch the scroll state update.
</ins><span class="cx">
</span><del>- * platform/graphics/GraphicsContext.h:
- * platform/graphics/mac/GraphicsContextMac.mm:
- (WebCore::GraphicsContext::drawLineForDocumentMarker):
</del><ins>+ Tests: fast/frames/flattening/scrollable-flexbox-inside-iframe-with-zero-height-and-needs-full-repaint-crash.html
+ fast/frames/flattening/scrollable-flexbox-inside-iframe-with-zero-height-assertion-failure.html
</ins><span class="cx">
</span><del>-2014-03-06 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * rendering/RenderBlock.cpp: Removed WTF::-prefix in typedef definition for ContinuationOutlineTableMap.
+ (WebCore::UpdateScrollInfoAfterLayoutTransaction::UpdateScrollInfoAfterLayoutTransaction): Added; a struct
+ that represents a RenderView v, nested transaction count, and a list of RenderBlocks in v that will need
+ to have their scroll state updated.
+ (WebCore::updateScrollInfoAfterLayoutTransactionStack): Added; returns the global stack of transactions.
+ (WebCore::RenderBlock::willBeDestroyed): Call removeFromUpdateScrollInfoAfterLayoutTransaction(), which
+ was formerly named as removeFromDelayedUpdateScrollInfoSet.
+ (WebCore::currentUpdateScrollInfoAfterLayoutTransaction): Added; returns the top-most transaction in the
+ global stack.
+ (WebCore::RenderBlock::beginUpdateScrollInfoAfterLayoutTransaction): Modified as appropriate to make use
+ of the global stack of transactions; formerly named startDelayUpdateScrollInfo.
+ (WebCore::RenderBlock::endAndCommitUpdateScrollInfoAfterLayoutTransaction): Modified as appropriate to
+ make use of the global stack of transactions; formerly named finishDelayUpdateScrollInfo.
+ (WebCore::RenderBlock::removeFromUpdateScrollInfoAfterLayoutTransaction): Modified as appropriate to make
+ use of the global stack of transactions; formerly named removeFromDelayedUpdateScrollInfoSet.
+ (WebCore::RenderBlock::updateScrollInfoAfterLayout): Modified as appropriate to make use of the global
+ stack of transactions.
+ (WebCore::RenderBlock::layout): Ditto.
+ (WebCore::RenderBlock::startDelayUpdateScrollInfo): Deleted.
+ (WebCore::RenderBlock::finishDelayUpdateScrollInfo): Deleted.
+ (WebCore::RenderBlock::removeFromDelayedUpdateScrollInfoSet): Deleted.
+ * rendering/RenderBlock.h:
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::willBeDestroyed): Call removeFromUpdateScrollInfoAfterLayoutTransaction(), which
+ was formerly named removeFromDelayedUpdateScrollInfoSet.
+ * rendering/RenderDeprecatedFlexibleBox.cpp:
+ (WebCore::RenderDeprecatedFlexibleBox::layoutHorizontalBox): Call {begin, end}UpdateScrollInfoAfterLayoutTransaction(),
+ which was formerly named {start, end}DelayUpdateScrollInfo.
+ (WebCore::RenderDeprecatedFlexibleBox::layoutVerticalBox): Ditto.
+ * rendering/RenderFlexibleBox.cpp:
+ (WebCore::RenderFlexibleBox::layoutBlock): Ditto.
</ins><span class="cx">
</span><del>- Merge r153788.
</del><ins>+2014-05-20 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-07 Antti Koivisto <antti@apple.com>
</del><ins>+ REGRESSION (r169065): Mountain Lion run-api-tests failures: ASSERTION FAILED:
+ Uncaught exception - -[NSRegularLegacyScrollerImp setPresentationValue:]:
+ unrecognized selector sent to instance 0x7ff51aa38000
+ https://bugs.webkit.org/show_bug.cgi?id=133121
</ins><span class="cx">
</span><del>- 2.5% regression on page cycler moz
- https://bugs.webkit.org/show_bug.cgi?id=102822
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * platform/mac/ScrollbarThemeMac.mm:
+ (WebCore::ScrollbarThemeMac::setPaintCharacteristicsForScrollbar):
</ins><span class="cx">
</span><del>- DocumentStyleSheetCollection::invalidateInjectedStyleSheetCache() triggers a style recalc for quirks mode
- documents in the beginning of document parsing via Document::setCompatibilityMode. This often coalesces
- with style recalc triggered by stylesheet loading. However on very simple documents it can generate genuinely
- unnecessary work.
</del><ins>+2014-05-19 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * dom/DocumentStyleSheetCollection.cpp:
- (WebCore::DocumentStyleSheetCollection::invalidateInjectedStyleSheetCache):
-
- Check that we actually have cached injected stylesheets before triggering style recalc.
-
- * page/PageGroup.cpp:
- (WebCore::PageGroup::addUserStyleSheetToWorld):
- (WebCore::PageGroup::removeUserStyleSheetFromWorld):
- (WebCore::PageGroup::removeUserStyleSheetsFromWorld):
- (WebCore::PageGroup::removeAllUserContent):
-
- Fix a misspelling.
</del><ins>+ REGRESSION (r169063) Fixed and sticky nodes misplaced on scrolling sometimes
+ https://bugs.webkit.org/show_bug.cgi?id=133106
+ <rdar://problem/16967648>
</ins><span class="cx">
</span><del>- (WebCore::PageGroup::invalidateInjectedStyleSheetCacheInAllFrames):
-
- Always invalidate style when user sheets change since we don't do that in
- DocumentStyleSheetCollection::invalidateInjectedStyleSheetCache anymore.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * page/PageGroup.h:
</del><ins>+ Fix regression from r169063. That commit removed scrolledContentsLayers from
+ frame scrolling nodes, but they do actually use them.
+
+ So put them back; not in the base class, because they have a somewhat different
+ meaning for overflow scrolling and frame scrolling.
</ins><span class="cx">
</span><del>-2014-03-06 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::frameViewRootLayerDidChange):
+ (WebCore::AsyncScrollingCoordinator::updateFrameScrollingNode):
+ * page/scrolling/AsyncScrollingCoordinator.h:
+ * page/scrolling/ScrollingCoordinator.h:
+ (WebCore::ScrollingCoordinator::updateFrameScrollingNode):
+ * page/scrolling/ScrollingStateFrameScrollingNode.cpp:
+ (WebCore::ScrollingStateFrameScrollingNode::ScrollingStateFrameScrollingNode):
+ (WebCore::ScrollingStateFrameScrollingNode::setScrolledContentsLayer):
+ * page/scrolling/ScrollingStateFrameScrollingNode.h:
+ * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::updateBeforeChildren):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateScrollCoordinatedLayer):
</ins><span class="cx">
</span><del>- Merge r155071.
</del><ins>+2014-05-20 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- 2013-09-04 Pratik Solanki <psolanki@apple.com>
</del><ins>+ REGRESSION: [CSS Regions] Content flowed directly into the flow thread that ends up in the second region is not properly repainted
+ https://bugs.webkit.org/show_bug.cgi?id=133111
</ins><span class="cx">
</span><del>- Document::updateHoverActiveState() should allow for deferred style recalcs
- https://bugs.webkit.org/show_bug.cgi?id=120700
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ When computing the repaint rect of an element flowed into a flow thread, if the element is flowed directly into
+ the flow thread (meaning its containing block is the flow thread itself), the region's position within the flow
+ must no longer be taken into consideration, because its already included in the element's |topLeft|.
</ins><span class="cx">
</span><del>- Add an extra argument to Document::updateHoverActiveState() to specify if a style recalc
- should be done. The default value keeps the current behavior of doing a style recalc. iOS
- touch handling code will pass in DeferRecalcStyleIfNeeded to avoid the work.
</del><ins>+ Test: fast/regions/hover-element-flowed-second-region.html
</ins><span class="cx">
</span><del>- No new tests because no functional changes.
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::computeRectForRepaint):
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::updateHoverActiveState):
- * dom/Document.h:
</del><ins>+2014-05-20 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Fix web timing assertion failure.
+ https://bugs.webkit.org/show_bug.cgi?id=133094
+ <rdar://problem/16966032>
</ins><span class="cx">
</span><del>- Merge r158802.
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- 2013-11-06 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::getConnectionTimingData):
+ Set requestStart and responseStart to 0 instead of -1 to match the
+ ResourceLoadTiming constructor and prevent the assertion failure in
+ PerformanceTiming::responseStart.
</ins><span class="cx">
</span><del>- Crash in SliderThumbElement::dragFrom
- https://bugs.webkit.org/show_bug.cgi?id=123873
</del><ins>+2014-05-20 Prashant Hiremath <hiremathprashants@gmail.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Only set title on SVG documents
+ https://bugs.webkit.org/show_bug.cgi?id=133068
</ins><span class="cx">
</span><del>- Moved Ref.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- * html/RangeInputType.cpp:
- (WebCore::RangeInputType::handleMouseDownEvent):
- * html/shadow/SliderThumbElement.cpp:
- (WebCore::SliderThumbElement::dragFrom):
</del><ins>+ Test: svg/custom/html_document_set_title.html
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * svg/SVGTitleElement.cpp:
+ (WebCore::SVGTitleElement::insertedInto):
+ (WebCore::SVGTitleElement::removedFrom):
+ (WebCore::SVGTitleElement::childrenChanged):
</ins><span class="cx">
</span><del>- Merge r158724.
</del><ins>+2014-05-20 peavo@outlook.com <peavo@outlook.com>
</ins><span class="cx">
</span><del>- 2013-11-05 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ [Curl] Invalid content in cache file, causes broken rendering.
+ https://bugs.webkit.org/show_bug.cgi?id=133069
</ins><span class="cx">
</span><del>- Use-after-free in SliderThumbElement::dragFrom
- https://bugs.webkit.org/show_bug.cgi?id=123873
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ When data for a url is received as multiple parts, the cache file for the url is truncated when opened for writing,
+ and will only contain the last part of data received.
+ This is fixed by only opening the file once, and close it after all data has been received.
</ins><span class="cx">
</span><del>- Ref the SliderThumbElement since it could go away inside dragFrom.
</del><ins>+ * platform/network/curl/CurlCacheEntry.cpp:
+ (WebCore::CurlCacheEntry::CurlCacheEntry): Initialize cache file handle member.
+ (WebCore::CurlCacheEntry::~CurlCacheEntry): Close cache file.
+ (WebCore::CurlCacheEntry::saveCachedData): Only open cache file once to avoid truncating.
+ (WebCore::CurlCacheEntry::didFail): Close cache file.
+ (WebCore::CurlCacheEntry::didFinishLoading): Ditto.
+ (WebCore::CurlCacheEntry::openContentFile): Added method to open cache file.
+ (WebCore::CurlCacheEntry::closeContentFile): Added method to close cache file.
+ * platform/network/curl/CurlCacheEntry.h: Added file handle member, and methods to open and close cache file.
</ins><span class="cx">
</span><del>- Test: fast/forms/range/range-type-change-onchange-2.html
</del><ins>+2014-05-20 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- * html/RangeInputType.cpp:
- (WebCore::RangeInputType::handleMouseDownEvent):
</del><ins>+ [CSS Regions] Block incorrectly sized when containing an unsplittable box
+ https://bugs.webkit.org/show_bug.cgi?id=132601
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Merge r163599.
</del><ins>+ When laying out elements in a region, when an inline element is encountered
+ the size of its parent must not be increased beyond the bottom of the current region,
+ unless if its the last region. This will ensure that the next sibling of the
+ inline element is correctly laid out at the top of the next region, instead
+ of leaving an empty space equal to the height of the overflow, as it did until now.
</ins><span class="cx">
</span><del>- 2014-02-06 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ Tests: fast/regions/inline-block-inside-anonymous-overflow.html
+ fast/regions/inline-block-overflow.html
</ins><span class="cx">
</span><del>- loadSubframe can return null in SubframeLoader::loadOrRedirectSubframe
- https://bugs.webkit.org/show_bug.cgi?id=128344
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::adjustLinePositionForPagination):
+ (WebCore::RenderBlockFlow::hasNextPage):
+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlockFlow::layoutRunsAndFloatsInRange):
+ (WebCore::RenderBlockFlow::linkToEndLineIfNeeded):
+ (WebCore::RenderBlockFlow::determineStartPosition):
+ (WebCore::RenderBlockFlow::checkPaginationAndFloatsAtEndLine):
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-05-20 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>- * loader/SubframeLoader.cpp:
- (WebCore::SubframeLoader::loadOrRedirectSubframe):
</del><ins>+ [CSS Regions] Crash while painting block selection gaps in regions
+ https://bugs.webkit.org/show_bug.cgi?id=132720
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Merge r164170.
</del><ins>+ The fix for WebKit bug https://bugs.webkit.org/show_bug.cgi?id=131511
+ allowed selection highlight to match the DOM selection when the start
+ and end point of the selection were in different flow threads. In order
+ to enable that, the selection was performed separately on view and
+ render flow threads, considered selection subtrees.
</ins><span class="cx">
</span><del>- 2014-02-15 Renata Hodovan <rhodovan.u-szeged@partner.samsung.com>
</del><ins>+ However, the start and end points for each selection subtree were computed
+ by means of Range class but it is not always possible to construct a valid
+ Range from two pairs of RenderObjects and offsets.
</ins><span class="cx">
</span><del>- ASSERT_WITH_SECURITY_IMPLICATION in WebCore::toElement
- https://bugs.webkit.org/show_bug.cgi?id=128810
</del><ins>+ This patch keeps the substrees approach but instead of storing the endpoints
+ for each subtree in a Range and continuously extending the Range, it stores them
+ using the already available SelectionSubtreeRoot class. After the end points are
+ computed for each subtree and before processing the subtree selection, the end points
+ are adjusted in a similar fashion as the one used in FrameSelection::updateAppearance(),
+ to make sure we are passing the same expected information to the method implementing
+ the visible selection processing.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Test: fast/regions/selection-gaps-paint-crash.html
</ins><span class="cx">
</span><del>- Make CompositeEditCommand::cloneParagraphUnderNewElement() to work when |outerNode|
- doesn't contain |start|.
</del><ins>+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::splitSelectionBetweenSubtrees):
+ * rendering/SelectionSubtreeRoot.cpp:
+ (WebCore::SelectionSubtreeRoot::adjustForVisibleSelection):
+ * rendering/SelectionSubtreeRoot.h:
+ (WebCore::SelectionSubtreeRoot::selectionClear):
</ins><span class="cx">
</span><del>- Before this patch, CompositeEditCommand::cloneParagraphUnderNewElement() tried to copy
- ancestry nodes from |start| to Document node when |start| position isn't in |outerNode|. This
- patch changes CompositeEditCommand::cloneParagraphUnderNewElement() to copy |start| to
- |outerNode| only if |outerNode| contains |start| position.
</del><ins>+2014-05-19 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merged from Blink https://src.chromium.org/viewvc/blink?revision=161762&view=revision by yosin@chromium.org.
</del><ins>+ Scrolling pages with large TiledBacking content layers creates way too many tiles
+ https://bugs.webkit.org/show_bug.cgi?id=133101
</ins><span class="cx">
</span><del>- Test: editing/execCommand/indent-with-uneditable-crash.html
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * editing/CompositeEditCommand.cpp:
- (WebCore::CompositeEditCommand::cloneParagraphUnderNewElement):
</del><ins>+ Fix the GraphicsLayerCA::adjustTiledLayerVisibleRect() logic to avoid making giant rects if the old
+ and new visible rects don't overlap.
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * platform/graphics/TiledBacking.h:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::adjustTiledLayerVisibleRect):
+ * platform/graphics/ca/mac/TileController.h:
</ins><span class="cx">
</span><del>- Merge r160065.
</del><ins>+2014-05-19 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- 2013-12-03 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Correctly maintain the "isInWindow" state for all TiledBackings
+ https://bugs.webkit.org/show_bug.cgi?id=133095
</ins><span class="cx">
</span><del>- Potential crash in RenderView::selectionBounds and RenderView::repaintSelection
- https://bugs.webkit.org/show_bug.cgi?id=125207
</del><ins>+ Reviewed by Tim Horton.
+
+ We never updated the "isInWindow" state for TiledBacking that wasn't the RenderView's
+ backing. Fix it by having RenderLayerCompositor::setIsInWindow() recurse through all
+ layers (if necessary), updating their state. Also set the state on newly created
+ TiledBackings.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
-
- Merge https://chromium.googlesource.com/chromium/blink/+/f9e6e288a5aa959f05c374806121aaf0fc52d440
</del><ins>+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::layerTiledBackingUsageChanged):
+ (WebCore::RenderLayerCompositor::setIsInWindowForLayerIncludingDescendants):
+ (WebCore::RenderLayerCompositor::setIsInWindow):
+ (WebCore::RenderLayerCompositor::pageTiledBacking): Deleted.
+ * rendering/RenderLayerCompositor.h:
</ins><span class="cx">
</span><del>- Update style in FrameSelection instead of RenderView's member functions. These are the last two
- member functions of RenderView that updates the style.
</del><ins>+2014-05-19 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::focusedOrActiveStateChanged):
- (WebCore::FrameSelection::bounds):
- * rendering/RenderView.cpp:
- (WebCore::RenderView::selectionBounds):
- (WebCore::RenderView::repaintSelection):
</del><ins>+ [iOS] Use status display for live streams
+ https://bugs.webkit.org/show_bug.cgi?id=133097
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Merge r164367.
</del><ins>+ Follow-on from https://bugs.webkit.org/show_bug.cgi?id=131390
+ Allow the iOS controls to use the status display field.
</ins><span class="cx">
</span><del>- 2014-02-19 Daniel Bates <dabates@apple.com>
</del><ins>+ * Modules/mediacontrols/mediaControlsiOS.js:
+ (ControllerIOS.prototype.configureInlineControls): Live streams should
+ not have a timeline or rewind button.
</ins><span class="cx">
</span><del>- Do not dispatch change event twice in single step action
- https://bugs.webkit.org/show_bug.cgi?id=116936
- <rdar://problem/16086828>
</del><ins>+2014-05-19 Myles C. Maxfield <litherum@gmail.com>
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Text decorations do not contribute to visual overflow
+ https://bugs.webkit.org/show_bug.cgi?id=132773
</ins><span class="cx">
</span><del>- Merged from Blink (patch by Kent Tamura):
- https://src.chromium.org/viewvc/blink?view=rev&revision=151175
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Test: fast/forms/number/number-type-update-by-change-event.html
</del><ins>+ This patch creates a function, visualOverflowForDecorations, which computes
+ how much visual overflow to add around a text box due to text decorations. Most of the time,
+ text decorations are fully contained within the text box, so the result is usually 0.
</ins><span class="cx">
</span><del>- * html/InputType.cpp:
- (WebCore::InputType::stepUpFromRenderer):
</del><ins>+ This function exists within style/InlineTextBoxStyle.cpp, which is an added file. This is
+ so that it can be called from setLogicalWidthForTextRun() inside RenderBlockLineLayout.cpp
+ and from RenderStyle::changeAffectsVisualOverflow(). The former case passes in the full
+ InlineTextBox and the latter case just passes in a RenderStyle (because the InlineTextBox
+ is unavailable.)
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ This patch also modifies RenderTableSection::spannedColumns() to fix an off-by-one error
+ that was causing table borders to not be drawn when they existed right on the edge of
+ a repaint rect.
</ins><span class="cx">
</span><del>- Merge r164204.
</del><ins>+ Tests: fast/css3-text/css3-text-decoration/repaint/underline-outside-of-layout-rect.html
+ Tests: fast/repaint/border-collapse-table-off-by-one-expected.html
</ins><span class="cx">
</span><del>- 2014-02-16 Andreas Kling <akling@apple.com>
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj: Adding reference to new InlineTextBoxStyle.cpp file
+ * WebCore.vcxproj/WebCore.vcxproj.filters: Adding reference to new InlineTextBoxStyle files
+ * WebCore.xcodeproj/project.pbxproj: Adding reference to new InlineTextBoxStyle files
+ * rendering/InlineTextBox.cpp:
+ (WebCore::computeUnderlineOffset): Moved to InlineTextBox.cpp
+ (WebCore::getWavyStrokeParameters): Moved to InlineTextBox.cpp
+ (WebCore::InlineTextBox::paintDecoration): Update to use newly refactored functions
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::setLogicalWidthForTextRun): Call visualOverflowForDecorations()
+ * rendering/RenderTableSection.cpp:
+ * rendering/RenderTableSelection.cpp: Fix off-by-one error when the boundary of a repaint
+ rect lies exactly on top of a table column position
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::changeAffectsVisualOverflow): Inspects shadows and text decorations
+ (WebCore::RenderStyle::changeRequiresLayout): Calls changeAffectsVisualOverflow()
+ (WebCore::RenderStyle::changeRequiresRepaintIfTextOrBorderOrOutline): Moved code from here
+ to changeAffectsVisualOverflow().
+ * rendering/style/RenderStyle.h: Function signature
+ * style/InlineTextBoxStyle.cpp: Added.
+ (WebCore::computeUnderlineOffset): Moved from InlineTextBox.cpp
+ (WebCore::getWavyStrokeParameters): Moved from InlineTextBox.cpp
+ (WebCore::extendIntToFloat): Convenience function for dealing with the fact that
+ underline bounding boxes use floats and GlyphOverflow uses ints
+ (WebCore::visualOverflowForDecorations): Given
+ vertical overflow bounds, possibly extend those to include location of
+ decorations.
+ * style/InlineTextBoxStyle.h: Added. Function signatures.
+ (WebCore::textDecorationStrokeThickness): Refactored from InlineTextBox.cpp
+ (WebCore::wavyOffsetFromDecoration): Refactored from InlineTextBox.cpp
+ * platform/graphics/Font.h:
+ (WebCore::GlyphOverflow::isEmpty): Convenience function
+ (WebCore::GlyphOverflow::extendTo): Convenience function
</ins><span class="cx">
</span><del>- Ensure that removing an iframe from the DOM tree disconnects its Frame.
- <https://webkit.org/b/128889>
- <rdar://problem/15671221>
</del><ins>+2014-05-19 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Merged from Blink (patch by Adam Klein):
- https://src.chromium.org/viewvc/blink?revision=156174&view=revision
</del><ins>+ Unreviewed build fix after r169082
</ins><span class="cx">
</span><del>- SubframeLoadingDisabler wasn't catching the case when an <iframe> was,
- in its unload handler, removed and re-added to the same parent.
- Fix this by using a count of SubframeLoadingDisablers that are on the
- stack for a given root, rather than a simple boolean.
</del><ins>+ * platform/network/ResourceHandle.h:
+ Added NSDictionary declaration.
</ins><span class="cx">
</span><del>- Test: fast/frames/reattach-in-unload.html
</del><ins>+2014-05-19 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- * html/HTMLFrameOwnerElement.h:
- (WebCore::SubframeLoadingDisabler::disabledSubtreeRoots):
</del><ins>+ REGRESSION: Standalone images need to take topContentInset into account
+ https://bugs.webkit.org/show_bug.cgi?id=133092
+ -and corresponding-
+ <rdar://problem/16945791>
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Merge r157957.
</del><ins>+ The FrameView’s size is accurate in terms of the NSWindow size, but that is not
+ really what the ImageDocument code is looking for here. The ImageDocument wants to
+ know the size of the unobscured viewport area. We should use visibleSize() for
+ that.
+ * html/ImageDocument.cpp:
+ (WebCore::ImageDocument::scale):
+ (WebCore::ImageDocument::imageFitsInWindow):
+ (WebCore::ImageDocument::imageClicked):
</ins><span class="cx">
</span><del>- 2013-10-24 Daniel Bates <dabates@apple.com>
</del><ins>+2014-05-19 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Crash in WebCore::NavigationScheduler::startTimer()
- https://bugs.webkit.org/show_bug.cgi?id=123288
- <rdar://problem/14055644>
</del><ins>+ Collect web timing data on iOS.
+ https://bugs.webkit.org/show_bug.cgi?id=133075
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Currently NavigationScheduler::startTimer() synchronously notifies the client
- before the Web Inspector of a scheduled redirect. If a client cancels this
- redirect then NavigationScheduler::m_redirect will become null and we'll
- subsequently crash when informing the Web Inspector of this formerly scheduled
- redirect. Instead, NavigationScheduler::startTimer() should notify the Web
- Inspector before it notifies the client of a scheduled redirect.
</del><ins>+ * platform/network/ResourceHandle.h:
+ Added setCollectsTimingData wrapper and getConnectionTimingData declarations.
+ getConnectionTimingData with a dictionary parameter is a private helper function.
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::start):
+ Call setCollectsTimingData wrapper when creating a connection to ensure that timing data is collected.
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegate.cpp:
+ (WebCore::ResourceHandleCFURLConnectionDelegate::didReceiveResponseCallback):
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegate.h:
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp:
+ (WebCore::ResourceHandleCFURLConnectionDelegateWithOperationQueue::didReceiveResponse):
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
+ * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp:
+ (WebCore::SynchronousResourceHandleCFURLConnectionDelegate::didReceiveResponse):
+ * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
+ Pass the CFURLConnectionRef to didReceiveResponse to get timing data from.
+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::getConnectionTimingData):
+ Moved from getTimingData to compile regardless of using CFNetwork and added wrapper with CFDictionaryRef.
+ (WebCore::ResourceHandle::setCollectsTimingData):
+ Added wrapper to call objc function from c++.
+ (WebCore::ResourceHandle::getTimingData):
+ Renamed to getConnectionTimingData.
+ * platform/network/mac/WebCoreResourceHandleAsDelegate.mm:
+ (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
+ * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm:
+ (-[WebCoreResourceHandleAsOperationQueueDelegate connection:didReceiveResponse:]):
+ Updated function name from getTimingData to getConnectionTimingData.
</ins><span class="cx">
</span><del>- As a side benefit of this change, the Web Inspector is notified of a scheduled
- redirect before being notified of it being canceled when a client chooses to cancel
- a scheduled redirect.
</del><ins>+2014-05-19 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- * loader/NavigationScheduler.cpp:
- (WebCore::NavigationScheduler::startTimer):
</del><ins>+ AX: VoiceOver sees the WebArea out of order when topContentInset is used
+ https://bugs.webkit.org/show_bug.cgi?id=133091
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Merge r153829
</del><ins>+ Modify the scroll view's frame so that it recognizes the content inset.
+ This is needed so that when VoiceOver sorts elements to create an ordering,
+ the web area is not ordered at the top of the screen.
</ins><span class="cx">
</span><del>- 2013-08-08 Andreas Kling <akling@apple.com>
</del><ins>+ Test: platform/mac-wk2/accessibility/content-inset-scrollview-frame.html
</ins><span class="cx">
</span><del>- Inserting multiple rules into an empty style sheet should avoid style recalc if possible.
- <http://webkit.org/b/119568>
</del><ins>+ * accessibility/AccessibilityScrollView.cpp:
+ (WebCore::AccessibilityScrollView::elementRect):
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+2014-05-19 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- As a follow-up to <http://webkit.org/b/119475>, where I added a hack for inserting
- a single rule into an empty style sheet, this broadens the optimization to support
- any number of rules.
</del><ins>+ Scrollbars display incorrectly after switching between fast and slow scrolling
+ mode, affects Find and real sites
+ https://bugs.webkit.org/show_bug.cgi?id=133077
+ -and corresponding-
+ <rdar://problem/16888608>
</ins><span class="cx">
</span><del>- This optimizes the scenario where a style sheet is added to the DOM and then populated
- rule-by-rule via CSSOM insertRule()/addRule() calls. Previously we'd do a full style
- recalc for this case, but now we'll treat it the same as a full sheet added at once.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * css/CSSStyleSheet.h:
- * css/CSSStyleSheet.cpp:
- (WebCore::CSSStyleSheet::willMutateRules):
</del><ins>+ We should always return true here when updating on the secondary thread is
+ supported. It does not need to be gated on whether we are actively taking
+ advantage of that support at this moment.
+ * platform/Scrollbar.cpp:
+ (WebCore::Scrollbar::supportsUpdateOnSecondaryThread):
</ins><span class="cx">
</span><del>- Made willMutateRules() return whether the style sheet contents were cloned by the
- copy-on-write mechanism.
</del><ins>+ Always update the presentationValue whenever we update the doubleValue just to
+ keep them in sync.
+ * platform/mac/ScrollbarThemeMac.mm:
+ (WebCore::ScrollbarThemeMac::setPaintCharacteristicsForScrollbar):
</ins><span class="cx">
</span><del>- * dom/Document.h:
- (WebCore::CSSStyleSheet::didMutateRules):
- (WebCore::CSSStyleSheet::insertRule):
</del><ins>+2014-05-19 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Replaced the InsertionIntoEmptySheet mutation type by a general RuleInsertion.
- The mutation callback checks if we're inserting into a rule that's not (yet) part
- of the document's active sheet set. In that case, we defer doing the style sheet
- until all the insertions are done (or something forces us to style+layout.)
</del><ins>+ Split scrolling tree ScrollingNodes into FrameScrollingNodes and OverflowScrollingNodes
+ https://bugs.webkit.org/show_bug.cgi?id=133022
</ins><span class="cx">
</span><del>- Note that this optimization only happens if the style sheet had a single client.
- Shared style sheets that just got cloned before mutation may have pointers into
- them from the Document's StyleResolver, so we're forced to do an immediate sheet
- update in that case.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- (WebCore::CSSStyleSheet::RuleMutationScope::RuleMutationScope):
- (WebCore::CSSStyleSheet::RuleMutationScope::~RuleMutationScope):
</del><ins>+ In both the scrolling state tree and the scrolling tree, split the "scrolling nodes"
+ into FrameScrolling and OverflowScrolling nodes.
+
+ Move what was the "viewportSize" property onto the base class for the scrolling
+ nodes, calling it "scrollableAreaSize".
+
+ Make minimum/maximumScrollPosition() virtual so we can share more code (and there
+ is more code sharing to be done in future).
</ins><span class="cx">
</span><del>- Moved these out-of-line.
</del><ins>+ * Configurations/WebCore.xcconfig: Remove ScrollingStateScrollingNodeMac.mm and ScrollingTreeScrollingNodeMac.mm
+ from the list, using #ifdefs in the file instead.
+ * WebCore.exp.in: Lots of exports.
+ * WebCore.xcodeproj/project.pbxproj: New files.
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::frameViewLayoutUpdated):
+ (WebCore::AsyncScrollingCoordinator::frameViewRootLayerDidChange):
+ (WebCore::AsyncScrollingCoordinator::updateFrameScrollingNode):
+ (WebCore::AsyncScrollingCoordinator::updateOverflowScrollingNode):
+ (WebCore::AsyncScrollingCoordinator::recomputeWheelEventHandlerCountForFrameView):
+ (WebCore::AsyncScrollingCoordinator::updateScrollingNode): Deleted.
+ (WebCore::AsyncScrollingCoordinator::setScrollbarPaintersFromScrollbarsForNode): Deleted.
+ This tiny function didn't need to exist.
+ * page/scrolling/AsyncScrollingCoordinator.h:
+ * page/scrolling/ScrollingCoordinator.h:
+ (WebCore::ScrollingCoordinator::updateFrameScrollingNode):
+ (WebCore::ScrollingCoordinator::updateOverflowScrollingNode):
+ (WebCore::ScrollingCoordinator::updateScrollingNode): Deleted.
+ * page/scrolling/ScrollingStateFrameScrollingNode.cpp: Copied from Source/WebCore/page/scrolling/ScrollingStateScrollingNode.cpp.
+ (WebCore::ScrollingStateFrameScrollingNode::create):
+ (WebCore::ScrollingStateFrameScrollingNode::ScrollingStateFrameScrollingNode):
+ (WebCore::ScrollingStateFrameScrollingNode::~ScrollingStateFrameScrollingNode):
+ (WebCore::ScrollingStateFrameScrollingNode::clone):
+ (WebCore::ScrollingStateFrameScrollingNode::setFrameScaleFactor):
+ (WebCore::ScrollingStateFrameScrollingNode::setNonFastScrollableRegion):
+ (WebCore::ScrollingStateFrameScrollingNode::setWheelEventHandlerCount):
+ (WebCore::ScrollingStateFrameScrollingNode::setSynchronousScrollingReasons):
+ (WebCore::ScrollingStateFrameScrollingNode::setScrollBehaviorForFixedElements):
+ (WebCore::ScrollingStateFrameScrollingNode::setHeaderHeight):
+ (WebCore::ScrollingStateFrameScrollingNode::setFooterHeight):
+ (WebCore::ScrollingStateFrameScrollingNode::setTopContentInset):
+ (WebCore::ScrollingStateFrameScrollingNode::setCounterScrollingLayer):
+ (WebCore::ScrollingStateFrameScrollingNode::setInsetClipLayer):
+ (WebCore::ScrollingStateFrameScrollingNode::setContentShadowLayer):
+ (WebCore::ScrollingStateFrameScrollingNode::setHeaderLayer):
+ (WebCore::ScrollingStateFrameScrollingNode::setFooterLayer):
+ (WebCore::ScrollingStateFrameScrollingNode::setScrollbarPaintersFromScrollbars):
+ (WebCore::ScrollingStateFrameScrollingNode::dumpProperties):
+ * page/scrolling/ScrollingStateFrameScrollingNode.h: Copied from Source/WebCore/page/scrolling/ScrollingStateScrollingNode.h.
+ * page/scrolling/ScrollingStateNode.h:
+ (WebCore::LayerRepresentation::layerID):
+ (WebCore::ScrollingStateNode::isFrameScrollingNode):
+ (WebCore::ScrollingStateNode::isOverflowScrollingNode):
+ * page/scrolling/ScrollingStateOverflowScrollingNode.cpp: Added.
+ (WebCore::ScrollingStateOverflowScrollingNode::create):
+ (WebCore::ScrollingStateOverflowScrollingNode::ScrollingStateOverflowScrollingNode):
+ (WebCore::ScrollingStateOverflowScrollingNode::~ScrollingStateOverflowScrollingNode):
+ (WebCore::ScrollingStateOverflowScrollingNode::clone):
+ (WebCore::ScrollingStateOverflowScrollingNode::setScrolledContentsLayer):
+ (WebCore::ScrollingStateOverflowScrollingNode::dumpProperties):
+ * page/scrolling/ScrollingStateOverflowScrollingNode.h: Copied from Source/WebCore/page/scrolling/mac/ScrollingStateScrollingNodeMac.mm.
+ (WebCore::ScrollingStateOverflowScrollingNode::scrolledContentsLayer):
+ * page/scrolling/ScrollingStateScrollingNode.cpp:
+ (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode):
+ (WebCore::ScrollingStateScrollingNode::setScrollableAreaSize):
+ (WebCore::ScrollingStateScrollingNode::setTotalContentsSize):
+ (WebCore::ScrollingStateScrollingNode::dumpProperties):
+ (WebCore::ScrollingStateScrollingNode::create): Deleted.
+ (WebCore::ScrollingStateScrollingNode::clone): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setViewportSize): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setFrameScaleFactor): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setNonFastScrollableRegion): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setWheelEventHandlerCount): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setSynchronousScrollingReasons): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setScrollBehaviorForFixedElements): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setHeaderHeight): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setFooterHeight): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setTopContentInset): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setScrolledContentsLayer): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setCounterScrollingLayer): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setInsetClipLayer): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setContentShadowLayer): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setHeaderLayer): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setFooterLayer): Deleted.
+ (WebCore::ScrollingStateScrollingNode::setScrollbarPaintersFromScrollbars): Deleted.
+ * page/scrolling/ScrollingStateScrollingNode.h:
+ (WebCore::ScrollingStateScrollingNode::scrollableAreaSize):
+ (WebCore::ScrollingStateScrollingNode::totalContentsSize):
+ * page/scrolling/ScrollingStateTree.cpp:
+ (WebCore::ScrollingStateTree::attachNode):
+ (WebCore::ScrollingStateTree::commit):
+ * page/scrolling/ScrollingStateTree.h:
+ (WebCore::ScrollingStateTree::rootStateNode):
+ (WebCore::ScrollingStateTree::setRootStateNode):
+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::commitNewTreeState):
+ * page/scrolling/ScrollingTreeFrameScrollingNode.cpp: Added.
+ (WebCore::ScrollingTreeFrameScrollingNode::ScrollingTreeFrameScrollingNode):
+ (WebCore::ScrollingTreeFrameScrollingNode::~ScrollingTreeFrameScrollingNode):
+ (WebCore::ScrollingTreeFrameScrollingNode::updateBeforeChildren):
+ * page/scrolling/ScrollingTreeFrameScrollingNode.h: Copied from Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.h.
+ (WebCore::ScrollingTreeFrameScrollingNode::updateLayersAfterDelegatedScroll):
+ (WebCore::ScrollingTreeFrameScrollingNode::synchronousScrollingReasons):
+ (WebCore::ScrollingTreeFrameScrollingNode::shouldUpdateScrollLayerPositionSynchronously):
+ (WebCore::ScrollingTreeFrameScrollingNode::frameScaleFactor):
+ (WebCore::ScrollingTreeFrameScrollingNode::headerHeight):
+ (WebCore::ScrollingTreeFrameScrollingNode::footerHeight):
+ (WebCore::ScrollingTreeFrameScrollingNode::topContentInset):
+ (WebCore::ScrollingTreeFrameScrollingNode::scrollBehaviorForFixedElements):
+ * page/scrolling/ScrollingTreeNode.h:
+ (WebCore::ScrollingTreeNode::isFrameScrollingNode):
+ (WebCore::ScrollingTreeNode::isOverflowScrollingNode):
+ * page/scrolling/ScrollingTreeOverflowScrollingNode.cpp: Copied from Source/WebKit2/UIProcess/Scrolling/ios/ScrollingTreeOverflowScrollingNodeIOS.h.
+ (WebCore::ScrollingTreeOverflowScrollingNode::ScrollingTreeOverflowScrollingNode):
+ (WebCore::ScrollingTreeOverflowScrollingNode::~ScrollingTreeOverflowScrollingNode):
+ * page/scrolling/ScrollingTreeOverflowScrollingNode.h: Copied from Source/WebKit2/UIProcess/Scrolling/ios/ScrollingTreeOverflowScrollingNodeIOS.h.
+ * page/scrolling/ScrollingTreeScrollingNode.cpp:
+ (WebCore::ScrollingTreeScrollingNode::ScrollingTreeScrollingNode):
+ (WebCore::ScrollingTreeScrollingNode::updateBeforeChildren):
+ (WebCore::ScrollingTreeScrollingNode::updateAfterChildren):
+ (WebCore::ScrollingTreeScrollingNode::setScrollPosition):
+ (WebCore::ScrollingTreeScrollingNode::setScrollPositionWithoutContentEdgeConstraints):
+ (WebCore::ScrollingTreeScrollingNode::minimumScrollPosition):
+ (WebCore::ScrollingTreeScrollingNode::maximumScrollPosition):
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ (WebCore::ScrollingTreeScrollingNode::scrollableAreaSize):
+ (WebCore::ScrollingTreeScrollingNode::totalContentsSize):
+ (WebCore::ScrollingTreeScrollingNode::totalContentsSizeForRubberBand):
+ (WebCore::ScrollingTreeScrollingNode::setTotalContentsSizeForRubberBand):
+ (WebCore::ScrollingTreeScrollingNode::synchronousScrollingReasons): Deleted.
+ (WebCore::ScrollingTreeScrollingNode::shouldUpdateScrollLayerPositionSynchronously): Deleted.
+ (WebCore::ScrollingTreeScrollingNode::viewportSize): Deleted.
+ (WebCore::ScrollingTreeScrollingNode::frameScaleFactor): Deleted.
+ (WebCore::ScrollingTreeScrollingNode::headerHeight): Deleted.
+ (WebCore::ScrollingTreeScrollingNode::footerHeight): Deleted.
+ (WebCore::ScrollingTreeScrollingNode::scrollBehaviorForFixedElements): Deleted.
+ (WebCore::ScrollingTreeScrollingNode::topContentInset): Deleted.
+ * page/scrolling/ios/ScrollingCoordinatorIOS.mm:
+ (WebCore::ScrollingCoordinatorIOS::createScrollingTreeNode):
+ * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h: Renamed from Source/WebCore/page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h.
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::scrollLayer):
+ * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm: Renamed from Source/WebCore/page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm.
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::create):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::ScrollingTreeFrameScrollingNodeIOS):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::~ScrollingTreeFrameScrollingNodeIOS):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::updateBeforeChildren):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::updateAfterChildren):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::scrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::setScrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::setScrollPositionWithoutContentEdgeConstraints):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::setScrollLayerPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::updateLayersAfterViewportChange):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::updateLayersAfterDelegatedScroll):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::updateChildNodesAfterScroll):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::minimumScrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::maximumScrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::scrollBy):
+ (WebCore::ScrollingTreeFrameScrollingNodeIOS::scrollByWithoutContentEdgeConstraints):
+ * page/scrolling/mac/ScrollingCoordinatorMac.mm:
+ (WebCore::ScrollingCoordinatorMac::createScrollingTreeNode):
+ * page/scrolling/mac/ScrollingStateFrameScrollingNodeMac.mm: Renamed from Source/WebCore/page/scrolling/mac/ScrollingStateScrollingNodeMac.mm.
+ (WebCore::ScrollingStateFrameScrollingNode::setScrollbarPaintersFromScrollbars):
+ * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h: Renamed from Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.h.
+ * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm: Renamed from Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm.
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::create):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::ScrollingTreeFrameScrollingNodeMac):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::~ScrollingTreeFrameScrollingNodeMac):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::updateBeforeChildren):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::updateAfterChildren):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::handleWheelEvent):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::allowsHorizontalStretching):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::allowsVerticalStretching):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::stretchAmount):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::pinnedInDirection):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::canScrollHorizontally):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::canScrollVertically):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::shouldRubberBandInDirection):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::absoluteScrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::immediateScrollBy):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::immediateScrollByWithoutContentEdgeConstraints):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::startSnapRubberbandTimer):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::stopSnapRubberbandTimer):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::adjustScrollPositionToBoundsIfNecessary):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::scrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::setScrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::setScrollPositionWithoutContentEdgeConstraints):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::setScrollLayerPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::updateLayersAfterViewportChange):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::minimumScrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::maximumScrollPosition):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::scrollBy):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::scrollByWithoutContentEdgeConstraints):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::updateMainFramePinState):
+ (WebCore::ScrollingTreeFrameScrollingNodeMac::logExposedUnfilledArea):
+ (WebCore::logThreadedScrollingMode):
+ (WebCore::logWheelEventHandlerCountChanged):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateScrollCoordinatedLayer):
</ins><span class="cx">
</span><del>- (WebCore::CSSStyleSheet::didMutateRuleFromCSSStyleDeclaration):
- * css/PropertySetCSSStyleDeclaration.cpp:
- (WebCore::StyleRuleCSSStyleDeclaration::didMutate):
</del><ins>+2014-05-19 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Made a separate mutation callback for CSSStyleDeclaration since its needs are
- so simple compared to the mutation callback from CSSStyleSheet. Seems better
- than adding yet another mode to the enum.
</del><ins>+ Images missing sometimes with composited clipping layers
+ https://bugs.webkit.org/show_bug.cgi?id=133065
+ <rdar://problem/15224559>
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::Document):
- (WebCore::Document::recalcStyle):
- (WebCore::Document::styleResolverChanged):
- (WebCore::Document::optimizedStyleSheetUpdateTimerFired):
- (WebCore::Document::scheduleOptimizedStyleSheetUpdate):
</del><ins>+ Reviewed by Beth Dakin.
+
+ When support for solid colors on layers was added, a layer was considered a candidate
+ for the solid color optimization without regard to whether it had descendent layers
+ with "paintsIntoCompositedAncestor" requirements.
+
+ Fix hasVisibleNonCompositingDescendantLayers(), renaming it to isPaintDestinationForDescendentLayers()
+ and having it take into account whether descendent layers need to paint into an
+ ancestor.
+
+ Also, this test has to happen after those descendent layers have had their
+ compositing state updated, so move the isSimpleContainerCompositingLayer() to
+ a new updateAfterDescendents() function which is called from the various
+ places we do compositing-udpate-tree-walks.
</ins><span class="cx">
</span><del>- Added mechanism to defer doing a RecalcStyleIfNeeded.
</del><ins>+ Test: compositing/backing/solid-color-with-paints-into-ancestor.html
</ins><span class="cx">
</span><del>- (WebCore::Document::updateStyleIfNeeded):
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGeometry):
+ (WebCore::RenderLayerBacking::updateAfterDescendents):
+ (WebCore::RenderLayerBacking::paintsChildren):
+ (WebCore::compositedWithOwnBackingStore):
+ (WebCore::descendentLayerPaintsIntoAncestor):
+ (WebCore::RenderLayerBacking::isPaintDestinationForDescendentLayers):
+ (WebCore::hasVisibleNonCompositingDescendant): Deleted.
+ (WebCore::RenderLayerBacking::hasVisibleNonCompositingDescendantLayers): Deleted.
+ * rendering/RenderLayerBacking.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
+ (WebCore::RenderLayerCompositor::updateLayerTreeGeometry):
+ (WebCore::RenderLayerCompositor::updateCompositingDescendantGeometry):
</ins><span class="cx">
</span><del>- Synchronize the optimized style sheet update if there's one scheduled.
- This ensures that stuff like layout-dependent property access won't operate
- on stale style.
</del><ins>+2014-05-19 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * dom/DocumentStyleSheetCollection.h:
- (WebCore::DocumentStyleSheetCollection::pendingUpdateType):
- (WebCore::DocumentStyleSheetCollection::setPendingUpdateType):
- (WebCore::DocumentStyleSheetCollection::flushPendingUpdates):
- * dom/DocumentStyleSheetCollection.cpp:
- (WebCore::DocumentStyleSheetCollection::DocumentStyleSheetCollection):
- (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
</del><ins>+ REGRESSION (r133351, sub-pixel layout): Right-to-left block with text-overflow: ellipsis truncates prematurely (breaks facebook.com Hebrew UI)
+ https://bugs.webkit.org/show_bug.cgi?id=112227
</ins><span class="cx">
</span><del>- Have DSSC track the kind of style sheet update it needs to do (instead of just
- a boolean "needs update.") This is used by Document::recalcStyle() to make sure
- the right kind of update happens if there's one scheduled.
</del><ins>+ Reviewed by Maciej Stachowiak.
</ins><span class="cx">
</span><del>- (WebCore::DocumentStyleSheetCollection::activeStyleSheetsContains):
</del><ins>+ This patch removes unnecessary integral snapping of inlines at layout time.
</ins><span class="cx">
</span><del>- Added helper to check if a CSSStyleSheet is part of the active set.
</del><ins>+ The general rule of thumb of using round/floor/ceil at layout time is to not use them.
+
+ When some computed values (x, y, width, height) get snapped during layout, while others don't,
+ intersecting/measuring mismatches could occur and they could end up producing visual artifacts such as truncations.
+ This patch also enables iframe content to be positioned on odd device pixel positions on retina displays.
+
+ Tests: fast/frames/hidpi-position-iframe-on-device-pixel.html
+ fast/inline/hidpi-rtl-text-does-not-fit-line-and-gets-cut-off.html
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * rendering/RenderBlock.h:
+ (WebCore::RenderBlock::logicalLeftOffsetForLine):
+ (WebCore::RenderBlock::pixelSnappedLogicalLeftOffsetForLine): Deleted.
+ (WebCore::RenderBlock::pixelSnappedLogicalRightOffsetForLine): Deleted.
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::updateLogicalInlinePositions):
+ (WebCore::RenderBlockFlow::deleteEllipsisLineBoxes):
+ (WebCore::RenderBlockFlow::checkLinesForTextOverflow):
</ins><span class="cx">
</span><del>- Merge r159970.
</del><ins>+2014-05-18 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- 2013-12-02 Brady Eidson <beidson@apple.com>
</del><ins>+ AX: iOS: using AXAttributeCacheEnabler is too slow for every accessibilityElementAtIndex:
+ https://bugs.webkit.org/show_bug.cgi?id=133043
</ins><span class="cx">
</span><del>- Add more CachedPage null checks
- https://bugs.webkit.org/show_bug.cgi?id=125106
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ iOS Accessibility code tries to improve performance by caching attributes when accessing
+ elements through the platform API. However, those API calls can be used very frequently when
+ iterating elements. Creating the AXAttributeCacheEnabler object and tearing it down is proving
+ to be the hottest code path in samples for accessibility access.
</ins><span class="cx">
</span><del>- Only some functions in PageCache.cpp null-check the CachedPages in HistoryItems.
</del><ins>+ We need to move the logic for enabling/disabling the attribute cache to a level that can make
+ a more informed decision about when to enable/disable.
</ins><span class="cx">
</span><del>- Every part that manipulates the CachedPage should.
</del><ins>+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper enableAttributeCaching]):
+ (-[WebAccessibilityObjectWrapper disableAttributeCaching]):
+ (-[WebAccessibilityObjectWrapper accessibilityElementCount]):
+ (-[WebAccessibilityObjectWrapper accessibilityElementAtIndex:]):
+ (-[WebAccessibilityObjectWrapper indexOfAccessibilityElement:]):
</ins><span class="cx">
</span><del>- * history/PageCache.cpp:
- (WebCore::PageCache::markPagesForVistedLinkStyleRecalc):
- (WebCore::PageCache::markPagesForFullStyleRecalc):
- (WebCore::PageCache::markPagesForDeviceScaleChanged):
- (WebCore::PageCache::markPagesForCaptionPreferencesChanged):
</del><ins>+2014-05-18 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Use RenderStyle& in more places in RenderLayerBacking
+ https://bugs.webkit.org/show_bug.cgi?id=133061
</ins><span class="cx">
</span><del>- Merge r159986.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- 2013-12-02 Brady Eidson <beidson@apple.com>
</del><ins>+ Convert several member functions to use references to RenderStyle rather
+ than pointers. Move canCreateTiledImage() higher in the file (no code
+ changes). Other minor cleanup.
</ins><span class="cx">
</span><del>- Possible crash in ProgressTracker::progressHeartbeatTimerFired(Timer<ProgressTracker>*)
- https://bugs.webkit.org/show_bug.cgi?id=125110
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer):
+ (WebCore::RenderLayerBacking::updateOpacity):
+ (WebCore::RenderLayerBacking::updateTransform):
+ (WebCore::RenderLayerBacking::updateFilters):
+ (WebCore::RenderLayerBacking::updateBlendMode):
+ (WebCore::RenderLayerBacking::updateGeometry):
+ (WebCore::hasBoxDecorations):
+ (WebCore::canCreateTiledImage):
+ (WebCore::hasBoxDecorationsOrBackgroundImage):
+ (WebCore::hasPerspectiveOrPreserves3D):
+ (WebCore::supportsDirectBoxDecorationsComposition):
+ (WebCore::RenderLayerBacking::isSimpleContainerCompositingLayer):
+ (WebCore::RenderLayerBacking::contentChanged):
+ (WebCore::RenderLayerBacking::startTransition):
+ * rendering/RenderLayerBacking.h:
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-05-17 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- FrameLoader::loadProgressingStatusChanged() might be called while the Frame has a null FrameView.
</del><ins>+ Rename some RenderLayerBacking member functions
+ https://bugs.webkit.org/show_bug.cgi?id=133030
</ins><span class="cx">
</span><del>- It’s unclear how to reproduce, but there’s no harm in a null check.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::loadProgressingStatusChanged):
</del><ins>+ Remove "GraphicsLayer" from some member function names on RenderLayerBacking.
+
+ No behavior change.
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
+ (WebCore::AVFWrapper::createAVCFVideoLayer):
+ * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
+ (WebCore::MediaPlayerPrivateQTKit::createQTMovieLayer):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateAfterLayout):
+ (WebCore::RenderLayerBacking::updateConfiguration):
+ (WebCore::RenderLayerBacking::updateGeometry):
+ (WebCore::RenderLayerBacking::contentChanged):
+ (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect):
+ (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration): Deleted.
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): Deleted.
+ * rendering/RenderLayerBacking.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateLayerCompositingState):
+ (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
+ (WebCore::RenderLayerCompositor::updateLayerTreeGeometry):
+ (WebCore::RenderLayerCompositor::updateCompositingDescendantGeometry):
+ (WebCore::RenderLayerCompositor::attachRootLayer):
</ins><span class="cx">
</span><del>- Merge r159974.
</del><ins>+2014-05-19 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- 2013-12-02 Brady Eidson <beidson@apple.com>
</del><ins>+ Fix assertion failure with simple line layout debug borders enabled.
</ins><span class="cx">
</span><del>- Possible crash in ProgressTracker::progressHeartbeatTimerFired(Timer<ProgressTracker>*)
- https://bugs.webkit.org/show_bug.cgi?id=125110
</del><ins>+ Rubber-stamped by Andreas Kling.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * rendering/SimpleLineLayoutFunctions.cpp:
+ (WebCore::SimpleLineLayout::paintDebugBorders): We shoudn't try to paint empty rects.
</ins><span class="cx">
</span><del>- It’s possible to have a null m_originatingProgressFrame when the heartbeat timer fires.
</del><ins>+2014-05-18 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- On the surface this seems impossible because the only time m_originatingProgressFrame is cleared
- out the heartbeat timer is also stopped.
</del><ins>+ Reduce constructor copypasta in RenderText and RenderElement.
+ <https://webkit.org/b/133056>
</ins><span class="cx">
</span><del>- But there’s likely still a race condition in multi-threaded environments.
</del><ins>+ Use delegating constructors to remove duplicated initializer lists
+ from the constructors of RenderText and RenderElement.
</ins><span class="cx">
</span><del>- There’s no harm in null-checking m_originatingProgressFrame before accessing its loader.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * loader/ProgressTracker.cpp:
- (WebCore::ProgressTracker::progressHeartbeatTimerFired):
</del><ins>+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::RenderElement):
+ * rendering/RenderElement.h:
+ * rendering/RenderText.cpp:
+ (WebCore::RenderText::RenderText):
+ * rendering/RenderText.h:
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+2014-05-18 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Merge r162063.
</del><ins>+ Crash during scroll when latched
+ https://bugs.webkit.org/show_bug.cgi?id=133064
</ins><span class="cx">
</span><del>- 2014-01-15 Antti Koivisto <antti@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Suspend resource requests during computedStyle
- https://bugs.webkit.org/show_bug.cgi?id=127034
</del><ins>+ * page/mac/EventHandlerMac.mm:
+ (WebCore::EventHandler::platformPrepareForWheelEvents): Prevent dereference of NULL
+ wheelEventTarget argument.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-05-18 Svetlana Redchenko <redchenko@yandex-team.ru>
</ins><span class="cx">
</span><del>- We have some cases where getting computed style leads to crashes in loadPendingImages.
- This is probably caused by load callbacks resulting in re-entering WebKit and killing the StyleResolver.
-
- As a speculative fix suspend resource loads (and so callbacks) when getting the computed style.
- We do similar suspension during style recalc for the same reason.
</del><ins>+ Input ::selection pseudo class does not work leading to hidden selection
+ https://bugs.webkit.org/show_bug.cgi?id=38943
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::styleForElementIgnoringPendingStylesheets):
- * loader/ResourceLoadScheduler.h:
- (WebCore::ResourceLoadScheduler::Suspender::Suspender):
- (WebCore::ResourceLoadScheduler::Suspender::~Suspender):
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Test: fast/selectors/input-with-selection-pseudo-element.html
</ins><span class="cx">
</span><del>- Merge r158697.
</del><ins>+ When text is selected inside input element, it should change the
+ color and background color according to the ::selection pseudo element.
</ins><span class="cx">
</span><del>- 2013-11-05 Enrica Casucci <enrica@apple.com>
</del><ins>+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::selectionBackgroundColor):
+ (WebCore::RenderObject::selectionColor):
+ (WebCore::RenderObject::selectionPseudoStyle):
+ * rendering/RenderObject.h:
</ins><span class="cx">
</span><del>- Full width semicolon is wrong in vertical text.
- https://bugs.webkit.org/show_bug.cgi?id=123814
- <rdar://problem/15312541>
</del><ins>+2014-05-18 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ [WebKit2] Implement ScriptMessageHandlers
+ https://bugs.webkit.org/show_bug.cgi?id=133053
</ins><span class="cx">
</span><del>- The full width semicolon should always be upright.
- Adding it to the list of characters that should
- ignore rotation.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * platform/graphics/FontGlyphs.cpp:
- (WebCore::shouldIgnoreRotation):
</del><ins>+ * DerivedSources.make:
+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::finishCreation):
+ * bindings/js/JSUserMessageHandlersNamespaceCustom.cpp: Added.
+ (WebCore::JSUserMessageHandlersNamespace::getOwnPropertySlotDelegate):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::shouldHaveWebKitNamespaceForWorld):
+ (WebCore::DOMWindow::webkitNamespace):
+ * page/DOMWindow.h:
+ * page/UserContentController.cpp:
+ (WebCore::UserContentController::addUserMessageHandlerDescriptor):
+ (WebCore::UserContentController::removeUserMessageHandlerDescriptor):
+ * page/UserContentController.h:
+ (WebCore::UserContentController::userMessageHandlerDescriptors):
+ * page/UserMessageHandler.cpp: Added.
+ (WebCore::UserMessageHandler::UserMessageHandler):
+ (WebCore::UserMessageHandler::~UserMessageHandler):
+ (WebCore::UserMessageHandler::postMessage):
+ (WebCore::UserMessageHandler::name):
+ (WebCore::UserMessageHandler::world):
+ * page/UserMessageHandler.h: Added.
+ (WebCore::UserMessageHandler::create):
+ * page/UserMessageHandler.idl: Added.
+ * page/UserMessageHandlerDescriptor.cpp: Added.
+ (WebCore::UserMessageHandlerDescriptor::UserMessageHandlerDescriptor):
+ (WebCore::UserMessageHandlerDescriptor::~UserMessageHandlerDescriptor):
+ (WebCore::UserMessageHandlerDescriptor::name):
+ (WebCore::UserMessageHandlerDescriptor::world):
+ * page/UserMessageHandlerDescriptor.h: Added.
+ (WebCore::UserMessageHandlerDescriptor::Client::~Client):
+ (WebCore::UserMessageHandlerDescriptor::create):
+ (WebCore::UserMessageHandlerDescriptor::client):
+ * page/UserMessageHandlerDescriptorTypes.h: Added.
+ * page/UserMessageHandlersNamespace.cpp: Added.
+ (WebCore::UserMessageHandlersNamespace::UserMessageHandlersNamespace):
+ (WebCore::UserMessageHandlersNamespace::~UserMessageHandlersNamespace):
+ (WebCore::UserMessageHandlersNamespace::handler):
+ * page/UserMessageHandlersNamespace.h: Added.
+ (WebCore::UserMessageHandlersNamespace::create):
+ * page/UserMessageHandlersNamespace.idl: Added.
+ * page/WebKitNamespace.cpp: Added.
+ (WebCore::WebKitNamespace::WebKitNamespace):
+ (WebCore::WebKitNamespace::~WebKitNamespace):
+ (WebCore::WebKitNamespace::messageHandlers):
+ * page/WebKitNamespace.h: Added.
+ (WebCore::WebKitNamespace::create):
+ * page/WebKitNamespace.idl: Added.
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+2014-05-18 Maciej Stachowiak <mjs@apple.com>
</ins><span class="cx">
</span><del>- Merge r163465.
</del><ins>+ REGRESSION (r156546): Default media controls are laid out incorrectly when media element is styled with direction:rtl
+ https://bugs.webkit.org/show_bug.cgi?id=132531
+ <rdar://problem/16806267>
+
+ Reviewed by Mark Rowe.
</ins><span class="cx">
</span><del>- 2014-02-04 Myles C. Maxfield <mmaxfield@apple.com>
</del><ins>+ This was already tested by the media/video-rtl.htm reftest, now unskipped.
</ins><span class="cx">
</span><del>- Move characterAt index checks from InlineIterator to RenderText
- https://bugs.webkit.org/show_bug.cgi?id=128224
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.css:
+ (audio::-webkit-media-controls-panel): Add missing direction: ltr
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+2014-05-18 Rik Cabanier <cabanier@adobe.com>
</ins><span class="cx">
</span><del>- Move characterAt index checks from InlineIterator to RenderText
- so that all RenderText calls are covered. Few safe instances are
- now covered with uncheckedCharacterAt.
</del><ins>+ support for navigator.hardwareConcurrency
+ https://bugs.webkit.org/show_bug.cgi?id=132588
</ins><span class="cx">
</span><del>- Merged from Blink:
- http://src.chromium.org/viewvc/blink?view=revision&revision=150830
</del><ins>+ Reviewed by Filip Pizlo.
</ins><span class="cx">
</span><del>- Test: fast/text/character-at-crash.html
</del><ins>+ Added a new API that returns the number of CPU cores up to 8.
</ins><span class="cx">
</span><del>- * rendering/InlineIterator.h:
- (WebCore::InlineIterator::characterAt):
- * rendering/RenderText.cpp:
- (WebCore::RenderText::computePreferredLogicalWidths):
- * rendering/RenderText.h:
- (WebCore::RenderText::operator[]):
- (WebCore::RenderText::uncheckedCharacterAt):
- (WebCore::RenderText::characterAt):
</del><ins>+ Test: fast/dom/navigator-hardwareConcurrency.html
</ins><span class="cx">
</span><del>-2014-03-05 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
+ * page/Navigator.cpp:
+ (WebCore::Navigator::hardwareConcurrency):
+ * page/Navigator.h:
+ * page/Navigator.idl:
</ins><span class="cx">
</span><del>- Merge r164933.
</del><ins>+2014-05-18 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- 2014-03-01 David Kilzer <ddkilzer@apple.com>
</del><ins>+ Fix iOS build.
</ins><span class="cx">
</span><del>- Ensure keySplines is valid in SMIL animations
- <http://webkit.org/b/129547>
- <rdar://problem/15676128>
</del><ins>+ * WebCore.exp.in:
+ Move UserContentController symbols to the right place.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-05-18 Jon Lee <jonlee@apple.com>
</ins><span class="cx">
</span><del>- Merged from Blink (patch by Philip Rogers):
- https://src.chromium.org/viewvc/blink?revision=156452&view=revision
- http://crbug.com/276111
</del><ins>+ Build fix for r169006.
</ins><span class="cx">
</span><del>- This patch fixes a crash in SMIL animations when keySplines are not
- specified. The SMIL spec is clear on this:
- http://www.w3.org/TR/2001/REC-smil-animation-20010904/#AnimFuncCalcMode
- "If there are any errors in the keyTimes specification (bad values,
- too many or too few values), the animation will have no effect."
</del><ins>+ Unreviewed.
</ins><span class="cx">
</span><del>- This patch simply checks that keyTimes is not empty. Previously,
- splinesCount was set to be m_keySplines.size() + 1 in
- SVGAnimationElement.cpp; this patch changes splinesCount to be equal
- to m_keySplines.size() to make the logic easier to follow and to
- match other checks in SVGAnimationElement::startedActiveInterval.
</del><ins>+ * loader/ResourceLoader.h: Return didCreateQuickLookHandle() to public.
</ins><span class="cx">
</span><del>- Test: svg/animations/animate-keysplines-crash.html
</del><ins>+2014-05-18 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- * svg/SVGAnimationElement.cpp:
- (WebCore::SVGAnimationElement::startedActiveInterval):
</del><ins>+ REGRESSION (r160259): text-combine glyphs are not rendered
+ https://bugs.webkit.org/show_bug.cgi?id=127324
</ins><span class="cx">
</span><del>-2014-03-04 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Andreas Kling.
+
+ The original text gets overwritten by a change that is supposed to affect rendered text only.
+ Fixed by giving the text update functions well-defined purposes.
</ins><span class="cx">
</span><del>- Unreviewed build fix after bad merge of r154146.
- <rdar://problem/16223155>
</del><ins>+ Test: fast/text/text-combine-rendering.html
</ins><span class="cx">
</span><del>- Two files were ommitted from the prior commit.
</del><ins>+ * rendering/RenderCombineText.cpp:
+ (WebCore::RenderCombineText::styleDidChange):
+ (WebCore::RenderCombineText::setRenderedText):
+ (WebCore::RenderCombineText::combineText):
+ (WebCore::RenderCombineText::setTextInternal): Deleted.
+ * rendering/RenderCombineText.h:
+ * rendering/RenderCounter.cpp:
+ (WebCore::RenderCounter::computePreferredLogicalWidths):
+ * rendering/RenderText.cpp:
+ (WebCore::RenderText::setRenderedText):
+
+ This function now updates the rendered text but does not change the original.
+ Get the original text by calling originalText().
</ins><span class="cx">
</span><del>- * platform/win/WebCoreBundleWin.cpp: Added.
- (WebCore::createWebKitBundle):
- (WebCore::webKitBundle):
- * platform/win/WebCoreBundleWin.h: Added.
</del><ins>+ (WebCore::RenderText::setText):
+
+ This the only place original text now changes.
</ins><span class="cx">
</span><del>-2014-03-03 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ (WebCore::RenderText::setTextInternal): Deleted.
+
+ Renamed to setRenderedText.
</ins><span class="cx">
</span><del>- Unreviewed build fix.
- <rdar://problem/16197002>
</del><ins>+ * rendering/RenderText.h:
+ * rendering/svg/RenderSVGInlineText.cpp:
+ (WebCore::RenderSVGInlineText::setRenderedText):
+ (WebCore::RenderSVGInlineText::setTextInternal): Deleted.
+ * rendering/svg/RenderSVGInlineText.h:
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Exclude 64-bit assembly code when building
- 32-bit DebugSuffix target.
</del><ins>+2014-05-17 Maciej Stachowiak <mjs@apple.com>
</ins><span class="cx">
</span><del>-2014-02-28 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Don't attempt to update id or name for nodes that are already removed
+ https://bugs.webkit.org/show_bug.cgi?id=133041
</ins><span class="cx">
</span><del>- Unreviewed build fix.
- <rdar://problem/16197002>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.proj: Remove trailing
- slash from path names, as this was causing multiple arguments
- to be concatenated together (the whitespace was getting escaped
- by the slash.)
</del><ins>+ Tests: fast/dom/remove-element-with-id-that-was-inserted-on-DOMNodeRemoved.html
+ fast/dom/remove-element-with-name-that-was-inserted-on-DOMNodeRemoved.html
</ins><span class="cx">
</span><del>-2014-02-25 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::removedFrom): Skip updating ids and names for an element not
+ in a treescope, as we already do for elements not in a document.
</ins><span class="cx">
</span><del>- Merge r164660
</del><ins>+2014-05-17 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- 2014-02-25 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ REGRESSION (NetworkProcess): Trying to use appcache fallback crashes in ApplicationCacheHost::scheduleLoadFallbackResourceFromApplicationCache
+ https://bugs.webkit.org/show_bug.cgi?id=133007
+ <rdar://problem/13702706>
</ins><span class="cx">
</span><del>- [Win] Gracefully recover from missing 'naturalSize' parameter for media
- https://bugs.webkit.org/show_bug.cgi?id=129278
</del><ins>+ appcache tests often fail on the Mac WebKit2 bot
+ https://bugs.webkit.org/show_bug.cgi?id=82061
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Reviewed by Maciej Stachowiak.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h: Add declaration for
- missing function call.
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::createMetadataKeyNames):
- (WebCore::MediaPlayerPrivateAVFoundationCF::assetStatus): Don't treat missing 'naturalSize'
- as a fatal error.
- (WebCore::MediaPlayerPrivateAVFoundationCF::tracksChanged): Handle case of asset track
- not being available yet.
- (WebCore::MediaPlayerPrivateAVFoundationCF::sizeChanged): If the 'naturalSize' is empty,
- use the Player Item's 'presentationSize' instead.
- (WebCore::AVFWrapper::processNotification): Add missing handler for duration changed.
</del><ins>+ Covered by existing tests, which this patch enables.
</ins><span class="cx">
</span><del>-2014-02-12 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * WebCore.exp.in: Export ResourceLoader::cancel(const ResourceError&). It used
+ to be virtual, but marking subclasses final has resulted in the compiler calling
+ it directly from WebKitLegacy framework. Seeing that no subclass overrides it,
+ I then made it non-virtual.
+ Also export ApplicationCacheHost functions that are now used from WebKit2.
</ins><span class="cx">
</span><del>- Merge r163579.
</del><ins>+ * loader/ResourceLoader.h: Made the class abstract (as I didn't realize at first
+ that it's always either a SubresourceLoader or a NetscapePlugInStreamLoader).
+ Made ResourceHandleClient functions private, as they should never be called other
+ than via a ResourceHandleClient pointer.
</ins><span class="cx">
</span><del>- 2014-02-04 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ * loader/NetscapePlugInStreamLoader.h:
+ * loader/SubresourceLoader.h:
+ Marked these final.
</ins><span class="cx">
</span><del>- Make adoption agency use the task queue
- https://bugs.webkit.org/show_bug.cgi?id=109445
</del><ins>+ * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::willSwitchToSubstituteResource):
+ Added a function to be called when switching to a substitute resource. We still
+ need a ResourceLoader at this point, as substitute resource will be delivered through
+ it, but we don't want it to continue its current load.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ * loader/appcache/ApplicationCacheHost.cpp:
+ (WebCore::ApplicationCacheHost::scheduleLoadFallbackResourceFromApplicationCache):
+ Call the ResourceLoader function instead of using handle, which is null when
+ using out of process networking.
</ins><span class="cx">
</span><del>- Tests: fast/parser/adoption-agency-crash-01.html
- fast/parser/adoption-agency-crash-02.html
- fast/parser/adoption-agency-crash-03.html
</del><ins>+2014-05-17 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * html/parser/HTMLConstructionSite.cpp:
- (WebCore::insert):
- (WebCore::executeInsertTask):
- (WebCore::executeReparentTask):
- (WebCore::executeInsertAlreadyParsedChildTask):
- (WebCore::executeTakeAllChildrenTask):
- (WebCore::executeTask):
- (WebCore::HTMLConstructionSite::attachLater):
- (WebCore::HTMLConstructionSite::executeQueuedTasks):
- (WebCore::HTMLConstructionSite::insertTextNode):
- (WebCore::HTMLConstructionSite::reparent):
- (WebCore::HTMLConstructionSite::insertAlreadyParsedChild):
- (WebCore::HTMLConstructionSite::takeAllChildren):
- (WebCore::HTMLConstructionSite::fosterParent):
- * html/parser/HTMLConstructionSite.h:
- (WebCore::HTMLConstructionSiteTask::HTMLConstructionSiteTask):
- (WebCore::HTMLConstructionSiteTask::oldParent):
- * html/parser/HTMLTreeBuilder.cpp:
- (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
</del><ins>+ We shouldn't make a ScrollingThread on iOS.
+ <https://webkit.org/b/133038>
+ <rdar://problem/16947589>
</ins><span class="cx">
</span><del>-2014-02-12 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Don't call ScrollingThred::dispatch() from the pressure relief
+ code on iOS since that will end up instantiating a scrolling thread
+ which we'd otherwise never have.
</ins><span class="cx">
</span><del>- Merge r162820.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- 2014-01-26 David Kilzer <ddkilzer@apple.com>
</del><ins>+ * platform/MemoryPressureHandler.cpp:
+ (WebCore::MemoryPressureHandler::releaseMemory):
</ins><span class="cx">
</span><del>- Part 2: Assertion failure in WebCore::PseudoElement::didRecalcStyle()
- <https://bugs.webkit.org/show_bug.cgi?id=126761>
- <rdar://problem/15793540>
</del><ins>+2014-05-17 Piotr Grad <p.grad@samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Setting playback rate on video with media controller is not ignored.
+ https://bugs.webkit.org/show_bug.cgi?id=129048
</ins><span class="cx">
</span><del>- * bindings/objc/DOM.mm:
- (-[DOMElement image]):
- (-[DOMElement _imageTIFFRepresentation]):
- * platform/gtk/PasteboardGtk.cpp:
- (WebCore::Pasteboard::writeImage):
- * platform/win/PasteboardWin.cpp:
- (WebCore::Pasteboard::writeImage):
- (WebCore::getCachedImage):
- * rendering/HitTestResult.cpp:
- (WebCore::HitTestResult::image):
- - More places where toRenderImage() should be used instead of
- toImage().
- - Fixed last two places where static_cast<WebCore::RenderImage*>
- was being used instead of toRenderImage().
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>-2014-02-12 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Replaced queries for m_playbackRate with effectivePlaybackRate()
+ which includes media controller playback rate.
</ins><span class="cx">
</span><del>- Merge r162679.
</del><ins>+ Test: media/video-controller-child-rate.html
</ins><span class="cx">
</span><del>- 2014-01-23 Jon Honeycutt <jhoneycutt@apple.com>
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
+ * html/HTMLMediaElement.h:
</ins><span class="cx">
</span><del>- Assertion failure in WebCore::PseudoElement::didRecalcStyle()
- <https://bugs.webkit.org/show_bug.cgi?id=126761>
- <rdar://problem/15793540>
</del><ins>+2014-05-16 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andy Estes.
</del><ins>+ Expose WKUserScript as API
+ https://bugs.webkit.org/show_bug.cgi?id=133017
+ <rdar://problem/16948059>
</ins><span class="cx">
</span><del>- Test: fast/images/animate-list-item-image-assertion.html
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * dom/PseudoElement.cpp:
- (WebCore::PseudoElement::didRecalcStyle):
- Check isRenderImage() rather than isImage() before casting to
- RenderImage.
</del><ins>+ * WebCore.exp.in:
+ Export symbols.
</ins><span class="cx">
</span><del>- * editing/ios/EditorIOS.mm:
- (WebCore::getImage):
- Ditto.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ Change UserContentController.h to be a private header.
</ins><span class="cx">
</span><del>- * editing/mac/EditorMac.mm:
- (WebCore::getImage):
- Ditto.
</del><ins>+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ Set m_userContentController from the page configuration and add it if it's not null.
</ins><span class="cx">
</span><del>- * html/HTMLImageElement.cpp:
- (WebCore::HTMLImageElement::parseAttribute):
- (WebCore::HTMLImageElement::didAttachRenderers):
- Ditto.
</del><ins>+ * page/Page.h:
+ Add UserContentController to PageClients.
</ins><span class="cx">
</span><del>- * loader/ImageLoader.cpp:
- (WebCore::ImageLoader::renderImageResource):
- Ditto.
</del><ins>+ * page/PageGroup.cpp:
+ (WebCore::PageGroup::addPage):
+ Only try to add a user content controller if the page doesn't already have one.
</ins><span class="cx">
</span><del>- * page/DragController.cpp:
- (WebCore::getCachedImage):
- Ditto.
</del><ins>+ (WebCore::PageGroup::removePage):
+ Only try to remove the user content controller if it's the group one.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::isDirectlyCompositedImage):
- (WebCore::RenderLayerBacking::updateImageContents):
- Ditto.
</del><ins>+2014-05-17 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2014-02-11 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ REGRESSION (r166422): All RenderBox objects grew 104 bytes from adding repaint timers.
+ <https://webkit.org/b/133027>
+ <rdar://problem/16867410>
</ins><span class="cx">
</span><del>- Merge r161925.
</del><ins>+ Instead of storing a rarely-used repaint timer on every RenderBox, store one
+ on the RenderView, and keep a hash set of renderers needing repaint.
</ins><span class="cx">
</span><del>- 2014-01-13 Myles C. Maxfield <mmaxfield@apple.com>
</del><ins>+ Renderers get a flag tracking whether they have a pending lazy repaint.
+ This way we can avoid hash lookups in the common case.
</ins><span class="cx">
</span><del>- Highlighting password field then making a Sticky Note via Safari Services exposes password
- https://bugs.webkit.org/show_bug.cgi?id=126946
</del><ins>+ Also added a static assertion to catch RenderBox growing in the future.
</ins><span class="cx">
</span><del>- Reviewed by Enrica Casucci.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Using the Services menu has a slightly different codepath than Editor::copy() does. This
- patch duplicates the canCopy() check that Editor::copy() does.
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::SameSizeAsRenderBox::~SameSizeAsRenderBox):
+ (WebCore::RenderBox::RenderBox):
+ (WebCore::RenderBox::~RenderBox):
+ (WebCore::RenderBox::paintBoxDecorations):
+ (WebCore::RenderBox::layoutOverflowRectForPropagation):
+ * rendering/RenderBox.h:
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::RenderElement):
+ * rendering/RenderElement.h:
+ (WebCore::RenderElement::setRenderBoxNeedsLazyRepaint):
+ (WebCore::RenderElement::renderBoxNeedsLazyRepaint):
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::RenderView):
+ (WebCore::RenderView::scheduleLazyRepaint):
+ (WebCore::RenderView::unscheduleLazyRepaint):
+ (WebCore::RenderView::lazyRepaintTimerFired):
+ * rendering/RenderView.h:
</ins><span class="cx">
</span><del>- Testing is not possible because the Services menu is not accessible to our tests.
</del><ins>+2014-05-16 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- * editing/mac/EditorMac.mm:
- (WebCore::Editor::stringSelectionForPasteboard):
- (WebCore::Editor::stringSelectionForPasteboardWithImageAltText):
- (WebCore::Editor::dataSelectionForPasteboard):
</del><ins>+ [Mac][MSE] setCurrentTime() goes down fastSeek path in MediaPlayerPrivateMediaSourceAVFObjC.
+ https://bugs.webkit.org/show_bug.cgi?id=133023
</ins><span class="cx">
</span><del>-2014-02-11 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Merge r158739.
</del><ins>+ When seeking a MSE video, do not go down the fastSeekForMediaTime() path if the
+ seek resulted from a setCurrentTime() call. The logic can lead to attempted seeks
+ before buffered ranges.
</ins><span class="cx">
</span><del>- 2013-11-06 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::seekInternal):
+ * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
+ * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
+ (WebCore::MediaSourcePrivateAVFObjC::seekToTime):
</ins><span class="cx">
</span><del>- Notify nodes removal to Range/Selection after dispatching blur and mutation event
- https://bugs.webkit.org/show_bug.cgi?id=123880
</del><ins>+2014-05-16 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ [iOS] ScrollView::visibleContentRectInternal is bypassing the iOS code for unobscuredContentRect
+ https://bugs.webkit.org/show_bug.cgi?id=133008
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/b60576a0560d14f8757e58d55d37b7cefa48a6ac
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- In willRemoveChildren in ContainerNode.cpp, call Document::nodeChildrenWillBeRemoved after instead of
- before dispatching mutation events because we need to update ranges created by those mutation event
- listeners. willRemoveChild was fixed in r115686.
</del><ins>+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::visibleContentRectInternal):
+ ScrollView::visibleContentRectInternal() was calling the internal implementation of visibleContentRect().
+ That was skipping the iOS implementation and getting the framerect directly. That size is invalid on iOS
+ when the exposed rect and unobscured rect are not the same.
</ins><span class="cx">
</span><del>- Tests: editing/selection/selection-change-in-blur-event-by-remove-children.html
- editing/selection/selection-change-in-mutation-event-by-remove-children.html
- fast/dom/Range/range-created-during-remove-children.html
</del><ins>+2014-05-16 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- * dom/ContainerNode.cpp:
- (WebCore::willRemoveChildren):
</del><ins>+ [Mac] naturalSize not updated when preload=metadata
+ https://bugs.webkit.org/show_bug.cgi?id=132994
</ins><span class="cx">
</span><del>-2014-02-11 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Merge r158719.
</del><ins>+ Test: media/video-load-preload-metadata-naturalsize.html
</ins><span class="cx">
</span><del>- 2013-11-05 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ When preload=metadata, we never create an AVPlayerItem, and therefore never receive a
+ presentationSize KVO. When an AVAsset informs us that its tracks have changed, and there
+ is no AVPlayerItem, recalculate presentation size based on the first video track's natural
+ size.
</ins><span class="cx">
</span><del>- Protect DOM nodes in IndentOutdentCommand::tryIndentingAsListItem()
- https://bugs.webkit.org/show_bug.cgi?id=123861
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged):
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::seekInternal):
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+2014-05-16 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/297442eb539a2b764fdad323de79099a70179186 partially.
</del><ins>+ Remove "region-based columns" prefs
+ https://bugs.webkit.org/show_bug.cgi?id=133006
+ <rdar://problem/16945824>
</ins><span class="cx">
</span><del>- * editing/IndentOutdentCommand.cpp:
- (WebCore::IndentOutdentCommand::tryIndentingAsListItem): Make selectedListItem, previousList, and nextList
- RefPtr since they're are used after calling insertNodeBefore.
</del><ins>+ Reviewed by Dave Hyatt.
</ins><span class="cx">
</span><del>-2014-02-11 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Remove "region-based columns" prefs and related code, since this is only
+ way to render columns now.
</ins><span class="cx">
</span><del>- Merge r158058.
</del><ins>+ * page/Settings.in:
</ins><span class="cx">
</span><del>- 2013-10-25 Mark Lam <mark.lam@apple.com>
</del><ins>+2014-05-16 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- DatabaseManager's ProposedDatabases need to be thread-safe.
- https://bugs.webkit.org/show_bug.cgi?id=123313.
</del><ins>+ Link search area for touch events is too large in some cases
+ https://bugs.webkit.org/show_bug.cgi?id=132988
+ <rdar://problem/16917843>
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- No new tests.
</del><ins>+ * page/ios/FrameIOS.mm:
+ (WebCore::Frame::qualifyingNodeAtViewportLocation):
+
+ - Adjust the search area to screen ppi.
+ - Remove cut-off at scale 1. This made us pick physically far-away elements when zoomed in.
+
+ * platform/PlatformScreen.h:
+ * platform/ios/PlatformScreenIOS.mm:
+ (WebCore::mobileGestaltFloatValue):
+ (WebCore::screenPPIFactor):
</ins><span class="cx">
</span><del>- * Modules/webdatabase/DatabaseManager.cpp:
- (WebCore::DatabaseManager::DatabaseManager):
- (WebCore::DatabaseManager::existingDatabaseContextFor):
- (WebCore::DatabaseManager::registerDatabaseContext):
- (WebCore::DatabaseManager::unregisterDatabaseContext):
- (WebCore::DatabaseManager::didConstructDatabaseContext):
- (WebCore::DatabaseManager::didDestructDatabaseContext):
- (WebCore::DatabaseManager::openDatabaseBackend):
- (WebCore::DatabaseManager::addProposedDatabase):
- (WebCore::DatabaseManager::removeProposedDatabase):
- (WebCore::DatabaseManager::fullPathForDatabase):
- (WebCore::DatabaseManager::detailsForNameAndOrigin):
- * Modules/webdatabase/DatabaseManager.h:
</del><ins>+ Figure out screens physical PPI relative to a base.
</ins><span class="cx">
</span><del>-2014-02-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-16 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Merge r162486
</del><ins>+ [MSE] Crash at WebCore::SourceBuffer::~SourceBuffer + 110
+ https://bugs.webkit.org/show_bug.cgi?id=132973
</ins><span class="cx">
</span><del>- 2014-01-21 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- REGRESSION (r161580): Some PDFs render outside their <img>
- https://bugs.webkit.org/show_bug.cgi?id=127381
- <rdar://problem/15872168>
</del><ins>+ Change SourceBuffer::m_private into a Ref<>, and add an assertion to
+ SourceBufferPrivateAVFObjC's destructor if its client has not been cleared.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Eliminate unnecessary churn in MediaSourcePrivateAVFObjC by having the predicate
+ functor take bare pointers, rather than a PassRefPtr.
</ins><span class="cx">
</span><del>- * platform/graphics/cg/PDFDocumentImage.cpp:
- (WebCore::transformContextForPainting):
- Only try to make the scale uniform if it isn't already, and use the minimum
- of the two original scales when doing so, so that it is absolutely certain
- to fit inside space allocated for the image during layout.
</del><ins>+ The underlying problem seems to be in WebAVStreamDataParserListener. RefPtrs were
+ being created off the main thread to a non-thread safe ref counted class. In some
+ situations, this would result in double decrementing the ref, which would cause an
+ early destruction of the underlying object. Instead replace these RefPtr strong
+ pointers with explicit weak ones. Ensure the parser and its delegate are not freed
+ before the append operation completes by passing strong pointers into the async
+ append operation lambda.
</ins><span class="cx">
</span><del>-2014-02-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+ There were a few places where we weren't null checking m_mediaSource before using it,
+ and at least one place where we weren't clearing m_mediaSource.
</ins><span class="cx">
</span><del>- Merge r158870
</del><ins>+ * Modules/mediasource/SourceBuffer.cpp:
+ (WebCore::SourceBuffer::SourceBuffer): Use Ref instead of RefPtr.
+ (WebCore::SourceBuffer::appendBufferTimerFired): Ditto.
+ * Modules/mediasource/SourceBuffer.h:
+ * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
+ (WebCore::MediaSourcePrivateAVFObjCHasAudio): Take a bare pointer, instead of a PassRefPtr.
+ (WebCore::MediaSourcePrivateAVFObjCHasVideo): Ditto.
+ * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
+ (WebCore::MediaSourcePrivateAVFObjC::removeSourceBuffer): Clear the back pointer when removing a buffer.
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ (-[WebAVStreamDataParserListener initWithParser:parent:WebCore::]): Use WeakPtr instead of RefPtr.
+ (-[WebAVStreamDataParserListener invalidate]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didParseStreamDataAsAsset:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didParseStreamDataAsAsset:withDiscontinuity:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didFailToParseStreamDataWithError:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didProvideMediaData:forTrackID:mediaType:flags:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didReachEndOfTrackWithTrackID:mediaType:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didProvideContentKeyRequestInitializationData:forTrackID:]): Ditto.
+ (WebCore::SourceBufferPrivateAVFObjC::~SourceBufferPrivateAVFObjC):
+ (WebCore::SourceBufferPrivateAVFObjC::append): Ditto.
</ins><span class="cx">
</span><del>- 2013-11-07 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-05-16 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Crash in HTMLMediaElement::contextDestroyed
- https://bugs.webkit.org/show_bug.cgi?id=123963
</del><ins>+ Subpixel rendering: Push named flows in region to device pixel when painting.
+ https://bugs.webkit.org/show_bug.cgi?id=132986
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/177999cdb34b707465670f0feff723922939f278
</del><ins>+ Remove integral rounding when named flow sets the painting offset on the graphics context.
+ Use device pixel snapping instead to ensure that we can paint on odd device pixel positions on retina displays.
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::~HTMLMediaElement):
</del><ins>+ Test: fast/regions/hidpi-region-with-auto-margin-on-subpixel-position.html
</ins><span class="cx">
</span><del>-2014-02-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::calculateClipRects):
</ins><span class="cx">
</span><del>- Merge r154036
</del><ins>+2014-05-16 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- 2013-08-12 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ [CSS Regions] Add ASSERT to make sure using the flowThread cache does not return incorrect results
+ https://bugs.webkit.org/show_bug.cgi?id=132906
</ins><span class="cx">
</span><del>- Fix orphan needsLayout state in RenderTextControlSingleLine
- https://bugs.webkit.org/show_bug.cgi?id=119726
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Kent Tamura.
</del><ins>+ If flowThreadContainingBlock() is called on an object which is in a different
+ flow thread than the one currently being laid out, this method will return an incorrect
+ result. I added an assertion for that to make sure we catch and treat any such scenarios.
+ For the moment, this assertion is only validated for regions, as multicol still has some issues.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/c0aec52ef348b2be0c882f8646fe3cf537831f59
</del><ins>+ No new tests required.
</ins><span class="cx">
</span><del>- We should mark the renderer for containerElement, which wraps innerTextElement and innerBlockElement
- in cases of input[type=search] and input[type=number], dirty.
</del><ins>+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::locateFlowThreadContainingBlockNoCache):
+ (WebCore::RenderObject::locateFlowThreadContainingBlock):
+ * rendering/RenderObject.h:
</ins><span class="cx">
</span><del>- * rendering/RenderTextControlSingleLine.cpp:
- (WebCore::setNeedsLayoutOnAncestors):
- (WebCore::RenderTextControlSingleLine::layout):
</del><ins>+2014-05-16 Martin Hock <mhock@apple.com>
</ins><span class="cx">
</span><del>-2014-02-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+ MemoryCache::addImageToCache should return the result of add().
+ https://bugs.webkit.org/show_bug.cgi?id=132928
+ <rdar://problem/16651547>
</ins><span class="cx">
</span><del>- Merge r156082
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- 2013-09-18 Mihnea Ovidenie <mihnea@adobe.com>
</del><ins>+ API test: WebKit1.MemoryCacheADdImageToCache (MemoryCacheAddImageToCacheIOS.mm)
</ins><span class="cx">
</span><del>- [CSSRegions] Failed to retrieve named flow ranges for content with inline svg
- https://bugs.webkit.org/show_bug.cgi?id=121489
</del><ins>+ * loader/cache/MemoryCache.cpp:
+ (WebCore::MemoryCache::addImageToCache):
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+2014-05-16 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- The inline SVG element behaves like a replaced element in HTML context. When computing the ranges
- that are displayed inside a region for a named flow that contains an inline SVG element, we have
- to treat the SVG as a replaced and run the checks only for the SVG root element, skipping the
- other SVG elements inside.
</del><ins>+ [CSS Regions] Reduce the RenderRegion invasiveness in rendering code
+ https://bugs.webkit.org/show_bug.cgi?id=132121
</ins><span class="cx">
</span><del>- Test: fast/regions/get-region-flow-ranges-inline-svg.html
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- * rendering/RenderNamedFlowThread.cpp:
- (WebCore::nextNodeInsideContentNode): Add function to retrieve the next node in traversal
- under the contentNode subtree that should be used for getRanges inspection.
- (WebCore::RenderNamedFlowThread::getRanges): Replace NodeTravesal::next with nextNodeInsideContentNode.
</del><ins>+ Remove the RenderRegion / RenderNamedFlowFragment parameters and fields from
+ the painting / hit testing data structures and use a stateful approach to
+ correctly handle regions.
</ins><span class="cx">
</span><del>-2014-02-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+ When painting or hit testing, the current flow thread is saved along the current
+ region. They are accessed through the |currentRenderNamedFlowFragment| helper
+ method on RenderObject or RenderLayer.
</ins><span class="cx">
</span><del>- Merge r153507
</del><ins>+ The patch also changes a bunch of 0s to nullptrs.
</ins><span class="cx">
</span><del>- 2013-07-30 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Tests: No new tests, no functional change.
</ins><span class="cx">
</span><del>- Don't post accessibility notification on object in detached document.
- https://bugs.webkit.org/show_bug.cgi?id=119286
</del><ins>+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlTextTrackContainerElement::createTextTrackRepresentationImage):
+ * rendering/HitTestLocation.cpp:
+ (WebCore::HitTestLocation::HitTestLocation):
+ (WebCore::HitTestLocation::operator=):
+ * rendering/HitTestLocation.h:
+ (WebCore::HitTestLocation::region): Deleted.
+ * rendering/HitTestResult.h:
+ * rendering/PaintInfo.h:
+ (WebCore::PaintInfo::PaintInfo):
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::paint):
+ (WebCore::RenderBlock::paintObject):
+ (WebCore::RenderBlock::selectionGaps):
+ (WebCore::RenderBlock::nodeAtPoint):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::nodeAtPoint):
+ (WebCore::RenderBox::paintBoxDecorations):
+ (WebCore::RenderBox::pushContentsClip):
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintMaskForTextFillBox):
+ (WebCore::RenderBoxModelObject::paintFillLayerExtended):
+ * rendering/RenderBoxModelObject.h:
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paint):
+ (WebCore::RenderLayer::paintLayer):
+ (WebCore::RenderLayer::paintLayerContents):
+ (WebCore::RenderLayer::paintLayerByApplyingTransform):
+ (WebCore::RenderLayer::collectFragments):
+ (WebCore::RenderLayer::updatePaintingInfoForFragments):
+ (WebCore::RenderLayer::paintTransformedLayerIntoFragments):
+ (WebCore::RenderLayer::paintBackgroundForFragments):
+ (WebCore::RenderLayer::paintForegroundForFragmentsWithPhase):
+ (WebCore::RenderLayer::paintOutlineForFragments):
+ (WebCore::RenderLayer::paintMaskForFragments):
+ (WebCore::RenderLayer::hitTest):
+ (WebCore::RenderLayer::hitTestFixedLayersInNamedFlows):
+ (WebCore::RenderLayer::hitTestLayer):
+ (WebCore::RenderLayer::hitTestTransformedLayerInFragments):
+ (WebCore::RenderLayer::mapLayerClipRectsToFragmentationLayer):
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderLayer.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateCompositedBounds):
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::addToOverlapMap):
+ (WebCore::RenderLayerCompositor::clippedByAncestor):
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::currentRenderNamedFlowFragment):
+ * rendering/RenderObject.h:
+ * rendering/RenderReplaced.cpp:
+ (WebCore::RenderReplaced::shouldPaint):
+ * rendering/RenderReplica.cpp:
+ (WebCore::RenderReplica::paint):
+ * rendering/RenderTable.cpp:
+ (WebCore::RenderTable::nodeAtPoint):
+ * rendering/RenderTableSection.cpp:
+ (WebCore::RenderTableSection::nodeAtPoint):
+ * rendering/RenderTreeAsText.cpp:
+ (WebCore::writeLayers):
+ * rendering/RootInlineBox.cpp:
+ (WebCore::RootInlineBox::paint):
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::paintReplaced):
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-05-16 Kiran <kiran.guduru@samsung.com>
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/ef9fc9e70202dcf33e5cf2f0f0a2135945ffe17e%5E%21/#F0
</del><ins>+ RTCDtmfSender default values need to be updated.
+ https://bugs.webkit.org/show_bug.cgi?id=132952
</ins><span class="cx">
</span><del>- Don't post accessibility notification on object in detached document.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- This can happen if an accessibility notification is queued on a node,
- then that node is reparented to a different document that's not attached
- anywhere before the accessibility notification is fired.
</del><ins>+ The default ToneDuration and ToneGap values are modified in the updated spec.
+ So these values need to be updated.
</ins><span class="cx">
</span><del>- * accessibility/AXObjectCache.cpp:
- (WebCore::AXObjectCache::notificationPostTimerFired):
</del><ins>+ Test: fast/mediastream/RTCPeerConnection-dtmf.html.
</ins><span class="cx">
</span><del>-2014-02-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * Modules/mediastream/RTCDTMFSender.cpp:
</ins><span class="cx">
</span><del>- Merge r158676
</del><ins>+2014-05-15 Daniel Bates <dabates@apple.com>
</ins><span class="cx">
</span><del>- 2013-11-05 Daniel Bates <dabates@apple.com>
</del><ins>+ Attempt to fix the Apple Mavericks Release, Apple MountainLion Release,
+ Apple MountainLion Release (32-bit Build), EFL, and GTK builds following
+ <http://trac.webkit.org/changeset/168921> (https://bugs.webkit.org/show_bug.cgi?id=132669)
</ins><span class="cx">
</span><del>- XSSAuditor should catch reflected srcdoc properties even without a <frame> tag injection
</del><ins>+ * dom/ContainerNode.cpp: Include SVGElement.h for the definition of Node::hasTagName(const SVGQualifiedName&).
</ins><span class="cx">
</span><del>- From Blink r160615 by <tsepez@chromium.org>
- https://src.chromium.org/viewvc/blink?view=rev&revision=160615
</del><ins>+2014-05-15 Daniel Bates <dabates@apple.com>
</ins><span class="cx">
</span><del>- Test: http/tests/security/xssAuditor/iframe-srcdoc-property-blocked.html
</del><ins>+ ASSERT_NOT_REACHED() in DocumentOrderedMap::get() when removing SVG subtree
+ https://bugs.webkit.org/show_bug.cgi?id=132669
+ <rdar://problem/14931432>
</ins><span class="cx">
</span><del>- * html/parser/XSSAuditor.cpp:
- (WebCore::XSSAuditor::filterIframeToken):
</del><ins>+ Reviewed by Brent Fulgham and Ryosuke Niwa.
</ins><span class="cx">
</span><del>-2014-02-05 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Fixes an assertion failure when removing an SVG element with a duplicate id.
</ins><span class="cx">
</span><del>- Merge r154146, r155828, r156145
</del><ins>+ When removing an SVG element with id A we synchronously instruct each element that references A
+ to find the first element with id A, call this N, from the document root and register itself to
+ either receive subsequent notifications from N (say, there is another element with id A) or as
+ waiting for an element with id A (say, N = nullptr; => we removed the last element with id A from
+ the document). Because the elements that reference A perform this operation synchronously when
+ removing an element they consult an transient state of the DocumentOrderedMap when querying for the
+ element with id A.
+
+ Without loss of generality, let E, E_1, E_2, and E_3 be elements, where E_1, E_2, E_3 are children
+ of E in that order and E_1.id = E_2.id = A and E_3.href = #A (that is, it references an element
+ with id A). Suppose we remove E then we remove E_1, update DocumentOrderedMap to decrement its count
+ for id A, and notify E_3 to look for an element with id A. This leads to an assertion failure since
+ DocumentOrderedMap expects to find an element with id A, E_2, but cannot find such an element when
+ traversing from the document root because E was unlinked from the document root (i.e. E_2 is in a
+ disjoint subtree).
</ins><span class="cx">
</span><del>- 2013-08-15 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Tests: svg/custom/change-id-of-use-during-removal.html
+ svg/custom/remove-subtree-including-path-with-duplicate-id-referenced-by-later-textpath.html
+ svg/custom/remove-subtree-including-text-with-duplicate-id-referenced-by-later-tref.html
+ svg/custom/remove-subtree-including-use-with-duplicate-id-referenced-by-earlier-use.html
+ svg/custom/remove-subtree-including-use-with-duplicate-id-referenced-by-later-animate.html
+ svg/custom/remove-subtree-including-use-with-duplicate-id-referenced-by-later-feimage.html
+ svg/custom/remove-subtree-including-use-with-duplicate-id-referenced-by-later-mpath.html
+ svg/custom/remove-subtree-including-use-with-duplicate-id-referenced-by-later-use.html
+ svg/custom/remove-subtree-including-use-with-duplicate-id-referenced-by-later-use2.html
+ svg/custom/remove-subtree-including-use-with-duplicate-id-referenced-by-use-in-different-subtree.html
+ svg/custom/remove-subtree-including-use-with-duplicate-id-referenced-by-use-with-duplicate-id-in-different-subtree.html
+ svg/custom/remove-use-with-duplicate-id-referenced-by-later-use.html
</ins><span class="cx">
</span><del>- [Windows] Consolidate WebKit Bundle Handling
- https://bugs.webkit.org/show_bug.cgi?id=119869
</del><ins>+ * dom/ContainerNode.cpp:
+ (WebCore::ContainerNode::removeChild): Call SVGDocumentExtensions::rebuildElements() after we remove
+ a DOM subtree so that applicable SVG elements can update their referenced element when the DocumentOrderedMap
+ is in a stable-state.
+ (WebCore::ContainerNode::removeChildren): Ditto.
+ * svg/SVGDocumentExtensions.cpp:
+ (WebCore::SVGDocumentExtensions::rebuildElements): Added; notifies SVG elements that their href attribute
+ changed so that they query the DocumentOrderedMap for the element they reference by id in their href attribute.
+ (WebCore::SVGDocumentExtensions::clearTargetDependencies): Added; Called from removing
+ an SVG element S from the DOM. Appends all elements that reference the id of S to the end of a Vector of
+ elements to be rebuilt (when SVGDocumentExtensions::rebuildElements() is called) and notifies these elements
+ that have been marked to be rebuilt so that they can invalidate their state (e.g. stop animating).
+ (WebCore::SVGDocumentExtensions::rebuildAllElementReferencesForTarget): Changed to take its argument by reference
+ (since it's always non-null) and simplified logic to synchronously notify SVG updates that their referenced element
+ may have changed. Calling SVGElement::svgAttributeChanged() on an element E should at most remove the dependencies
+ of E.
+ * svg/SVGDocumentExtensions.h:
+ * svg/SVGElement.cpp:
+ (WebCore::SVGElement::~SVGElement): Substitute "*this" for "this" as SVGDocumentExtensions::rebuildAllElementReferencesForTarget()
+ now takes a reference instead of a pointer.
+ (WebCore::SVGElement::removedFrom): Modified to call SVGDocumentExtensions::clearTargetDependencies().
+ (WebCore::SVGElement::attributeChanged): Substitute "*this" for "this" as SVGDocumentExtensions::rebuildAllElementReferencesForTarget()
+ now takes a reference instead of a pointer.
+ * svg/SVGElement.h:
+ (WebCore::SVGElement::callClearTarget): Added; calls through to private virtual SVGElement::clearTarget().
+ (WebCore::SVGElement::clearTarget): Added.
+ * svg/SVGTRefElement.cpp:
+ (WebCore::SVGTRefElement::clearTarget): Added.
+ * svg/SVGTRefElement.h:
+ * svg/animation/SVGSMILElement.cpp:
+ (WebCore::SVGSMILElement::clearTarget): Added.
+ * svg/animation/SVGSMILElement.h:
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+2014-05-15 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Add new WebCoreBundleWin files.
- * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::certificatePath): Use correct bundle handling logic.
- * platform/win/LocalizedStringsWin.cpp: Move bundle implementation to
- new WebCoreBundleWin.cpp file.
- * platform/win/WebCoreBundleWin.cpp: Added.
- (WebCore::createWebKitBundle):
- (WebCore::webKitBundle):
- * platform/win/WebCoreBundleWin.h: Added.
</del><ins>+ [iOS WK2] When zoomed, fixed elements jump at the start of a scroll, and jump back at the end.
+ https://bugs.webkit.org/show_bug.cgi?id=132978
+ <rdar://problem/16894428>
</ins><span class="cx">
</span><del>-2014-02-04 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- Build fix after last branch merge.
</del><ins>+ This was the actual cause of the bug; r168560 changed the rect passed in here
+ to be the customFixedPositionRect rather than the unobscured rect, but we
+ used it to call FrameView::rectForViewportConstrainedObjects() which gave back
+ another bogus rect. So just use the rect passed in.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Correct bad merge of media build steps.
</del><ins>+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeScrollingNodeIOS::updateLayersAfterViewportChange):
</ins><span class="cx">
</span><del>-2014-02-03 Brent Fulgham <bfulgham@apple.com>
</del><ins>+2014-05-15 Daniel Bates <dabates@apple.com>
</ins><span class="cx">
</span><del>- Unreviewed build fix after r162860.
</del><ins>+ SVG element may reference arbitrary DOM element before running its insertion logic
+ https://bugs.webkit.org/show_bug.cgi?id=132757
+ <rdar://problem/15703817>
</ins><span class="cx">
</span><del>- * platform/graphics/MediaPlayer.cpp: Prevent 64-bit build from using QuickTime SDK.
- * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp: Ditto.
- * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h: Ditto.
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>-2014-01-27 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Fixes an issue where an SVG element may reference an arbitrary DOM element e before e finished being
+ inserted in the tree.
</ins><span class="cx">
</span><del>- Merge r162723.
</del><ins>+ Currently when an SVG element A is inserted into a document we use document.getElementById() to find the
+ element B it references (if any). If A is inserted before B and B has the same id as a later element in
+ the document then A can find B before B is notified that its been inserted into the document (i.e. before
+ Element::insertedFrom() is called on B). Instead, A should call document.getElementById() only after
+ cessation of the insertion operation that inserted it to ensure that all inserted nodes (including B)
+ processed their insertion-specific logic.
</ins><span class="cx">
</span><del>- 2014-01-24 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Tests: svg/custom/reparent-animate-element.html
+ svg/custom/reparent-feimage-element.html
+ svg/custom/reparent-mpath-element.html
+ svg/custom/reparent-textpath-element.html
+ svg/custom/reparent-tref-element.html
+ svg/custom/reparent-use-element.html
</ins><span class="cx">
</span><del>- [Win] Convert some NMake files to MSBuild project files
- https://bugs.webkit.org/show_bug.cgi?id=127579
</del><ins>+ * svg/SVGFEImageElement.cpp:
+ (WebCore::SVGFEImageElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
+ we are called back to resolve our target element (i.e. call SVGFEImageElement::buildPendingResources())
+ after the subtree we're in is inserted.
+ (WebCore::SVGFEImageElement::didNotifySubtreeInsertions): Added; turns around and calls SVGFEImageElement::buildPendingResources().
+ * svg/SVGFEImageElement.h:
+ * svg/SVGMPathElement.cpp:
+ (WebCore::SVGMPathElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
+ we are called back to resolve our target element (i.e. call SVGMPathElement::buildPendingResources())
+ after the subtree we're in is inserted.
+ (WebCore::SVGMPathElement::didNotifySubtreeInsertions): Added; turns around and calls SVGMPathElement::buildPendingResources().
+ * svg/SVGMPathElement.h:
+ * svg/SVGTRefElement.cpp:
+ (WebCore::SVGTRefElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
+ we are called back to resolve our target element (i.e. call SVGTRefElement::buildPendingResources())
+ after the subtree we're in is inserted.
+ (WebCore::SVGTRefElement::didNotifySubtreeInsertions): Added; turns around and calls SVGTRefElement::buildPendingResources().
+ * svg/SVGTRefElement.h:
+ * svg/SVGTextPathElement.cpp:
+ (WebCore::SVGTextPathElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
+ we are called back to resolve our target element (i.e. call SVGTextPathElement::buildPendingResources())
+ after the subtree we're in is inserted.
+ (WebCore::SVGTextPathElement::didNotifySubtreeInsertions): Added; turns around and calls SVGTextPathElement::buildPendingResources().
+ * svg/SVGTextPathElement.h:
+ * svg/SVGUseElement.cpp:
+ (WebCore::SVGUseElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
+ we are called back to resolve our target element (i.e. call SVGUseElement::buildPendingResources()) after its subtree is
+ inserted.
+ (WebCore::SVGUseElement::didNotifySubtreeInsertions): Added; turns around and calls SVGUseElement::buildPendingResources().
+ * svg/SVGUseElement.h:
+ * svg/animation/SVGSMILElement.cpp:
+ (WebCore::SVGSMILElement::insertedInto): Return InsertionShouldCallDidNotifySubtreeInsertions so that
+ we are called back to resolve our target element (i.e. call SVGSMILElement::buildPendingResources())
+ after the subtree we're in is inserted.
+ (WebCore::SVGSMILElement::didNotifySubtreeInsertions): Added; turns around and calls SVGSMILElement::buildPendingResources().
+ * svg/animation/SVGSMILElement.h:
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+2014-05-15 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.make: Removed.
- * WebCore.vcxproj/WebCore.proj: Added.
</del><ins>+ JSDOMWindow should not claim HasImpureGetOwnPropertySlot
+ https://bugs.webkit.org/show_bug.cgi?id=132918
</ins><span class="cx">
</span><del>-2014-01-27 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Unreviewed build fix after r162631.
</del><ins>+ Tests: js/cached-window-properties.html
+ js/cached-window-prototype-properties.html
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.submit.sln: Do not build QTMovieWin for 64-bit architecture.
</del><ins>+ We now correctly handle the impurity of JSDOMWindow's custom getOwnPropertySlot without needing the
+ blanket HasImpureGetOwnPropertySlot. We do this through the use of watchpoints and by explicitly forbidding
+ any caching beyond a certain point using PropertySlot::disableCaching. Getting rid of this flag will allow
+ us to cache many properties/methods on both the JSDOMWindow and its prototype, which are very commonly used
+ across the web.
</ins><span class="cx">
</span><del>-2014-01-23 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::getOwnPropertySlot):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (HasComplexGetOwnProperty):
+ (InterfaceRequiresAttributesOnInstance):
+ (InstanceOverridesGetOwnPropertySlot):
+ (GenerateHeader):
</ins><span class="cx">
</span><del>- Merge r154470.
</del><ins>+2014-05-15 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-22 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ NetworkProcess crashes at ResourceHandle::continueDidReceiveResponse
+ https://bugs.webkit.org/show_bug.cgi?id=132966
+ <rdar://problem/16373694>
</ins><span class="cx">
</span><del>- compositing/geometry/bounds-ignores-hidden-dynamic.html has incorrect initial rendering
- https://bugs.webkit.org/show_bug.cgi?id=119825
</del><ins>+ Reviewed by Brady Eidson.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
-
- r137526 and some earlier commits attempted to avoid unconditionally
- repainting layers when their size changes, because this was causing
- TiledBacking layers to repaint when the document size changed.
-
- However, the approach required that we have good information about
- whether size changes require a repaint, which in some cases is hard
- to determine, especially when RenderLayer changes affect our
- decisions about which layers are composited.
-
- Fix by pushing the decision about whether to repaint on size change
- into GraphicsLayer. The default is to repaint on size change,
- but GraphicsLayer provides a function that can be overridden to
- modify this behavior; GraphicsLayerCA does so to avoid repaints
- when layers with TiledBackings get resized.
</del><ins>+ Covered by many fast/files tests.
</ins><span class="cx">
</span><del>- Test: compositing/repaint/repaint-on-layer-grouping-change.html
</del><ins>+ * platform/network/BlobResourceHandle.cpp: (WebCore::BlobResourceHandle::continueDidReceiveResponse):
+ * platform/network/BlobResourceHandle.h:
+ * platform/network/ResourceHandle.h:
+ Don't call delegate's continueDidReceiveResponse when loading a blob:// URL,
+ the delegate is null. On the Mac, we used to lazily create it, which was also wrong,
+ but at least not observable.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: WebKit2 needs GraphicsLayer::setSize, which is no longer inline.
- * platform/graphics/GraphicsLayer.cpp:
- (WebCore::GraphicsLayer::setOffsetFromRenderer):
- (WebCore::GraphicsLayer::setSize):
- * platform/graphics/GraphicsLayer.h:
- (WebCore::GraphicsLayer::shouldRepaintOnSizeChange):
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::shouldRepaintOnSizeChange):
- * platform/graphics/ca/GraphicsLayerCA.h:
- * rendering/RenderLayerBacking.h: No longer need m_boundsConstrainedByClipping
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::RenderLayerBacking):
- (WebCore::RenderLayerBacking::updateCompositedBounds):
- (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): setSize takes
- care of repainting for us now, so we can remove all the conditional code.
</del><ins>+2014-05-15 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2014-01-23 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Unreviewed, rolling out r168899.
+ https://bugs.webkit.org/show_bug.cgi?id=132965
</ins><span class="cx">
</span><del>- Unreviewed build fix after last commit. We haven't completely removed
- QTMovieWin uses.
</del><ins>+ Broke some compositing regions tests on Mavericks (Requested
+ by mihnea___ on #webkit).
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/QTMovieWin/QTMovieWin.vcxproj: Build for 32-bit.
- * WebCore.vcxproj/WebCore.submit.sln: Build QTMovieWin for 32-bit.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>-2014-01-23 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ "[CSS Regions] Reduce the RenderRegion invasiveness in
+ rendering code"
+ https://bugs.webkit.org/show_bug.cgi?id=132121
+ http://trac.webkit.org/changeset/168899
</ins><span class="cx">
</span><del>- Merge r162621
</del><ins>+2014-05-15 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- 2014-01-22 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Add pointer lock to features without enabling it.
+ https://bugs.webkit.org/show_bug.cgi?id=132961
</ins><span class="cx">
</span><del>- [Win] Update project and solution files for 64-bit builds
- https://bugs.webkit.org/show_bug.cgi?id=127457
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
+ Added ENABLE_POINTER_LOCK to list of features.
+ * WebCore.exp.in:
+ Added linker symbols which differ with pointer lock enabled.
+ * WebCore.xcodeproj/project.pbxproj:
+ Added PointerLockController.cpp to build.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/QTMovieWin/QTMovieWin.vcxproj: Specify v100 target
- * WebCore.vcxproj/WebCore.submit.sln: Add x64 targets
- * WebCore.vcxproj/WebCore.vcxproj: Specify v100 target for all builds
- on this branch. Also exclude 32-bit specific assembly when building
- 64-bit target, and correct bad merge from branch.
- * WebCore.vcxproj/WebCore.vcxproj.filters: Correct branch merge
- * config.h: Handle 64-bit type definitions.
- * platform/graphics/ca/win/PlatformCAAnimationWin.cpp:
- (PlatformCAAnimation::setFromValue): Use CGFloat to support 64-bit builds
- (PlatformCAAnimation::setToValue): Ditto
- (PlatformCAAnimation::setValues): Ditto
- * platform/graphics/win/FontCustomPlatformData.cpp:
- (WebCore::FontCustomPlatformData::fontPlatformData): Add cast to
- support 32- and 64-bit targets.
- * platform/graphics/win/GraphicsContextCGWin.cpp:
- (WebCore::GraphicsContext::drawLineForDocumentMarker): Use CGFloat to
- support 64-bit builds.
- * platform/win/PasteboardWin.cpp:
- (WebCore::Pasteboard::writeURLToDataObject): Specialize std::min to
- work on 32- and 64-bit code.
- (WebCore::createGlobalImageFileDescriptor): Ditto
- * platform/win/StructuredExceptionHandlerSuppressor.cpp:
- (WebCore::StructuredExceptionHandlerSuppressor::StructuredExceptionHandlerSuppressor):
- Comment out 32-bit inline assembly.
- (WebCore::StructuredExceptionHandlerSuppressor::~StructuredExceptionHandlerSuppressor):
- Ditto
</del><ins>+2014-05-15 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>-2014-01-22 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Move subframe name getter lookup later in JSDOMWindow::getOwnPropertySlot
+ https://bugs.webkit.org/show_bug.cgi?id=132922
</ins><span class="cx">
</span><del>- Unreviewed build fix for branch.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Correct merged files.
- * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
- * platform/graphics/cg/GraphicsContextCG.cpp: Remove work-around implementation (from branch)
- now that WKSI provides the method.
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>-2014-01-22 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ In JSDOMWindow::getOwnPropertySlot, we currently look for the property on the JSDOMWindow,
+ then we search the window's subframes for name getters, then we look in the window's prototype
+ chain. Apparently we were doing the lookup in this order to be compatible with Mozilla, but
+ Mozilla no longer implements this behavior. Instead, they do the lookup on the prototype before
+ looking for subframe name getters. We should change this to match Mozilla. This has the convenient
+ side effect of allowing us to cache lookups in the window's prototype chain.
</ins><span class="cx">
</span><del>- Merge r154526
</del><ins>+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::getOwnPropertySlot):
</ins><span class="cx">
</span><del>- 2014-01-22 Brent Fulgham <bfulgham@apple.com>
</del><ins>+2014-05-15 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- [Windows] Unreviewed build correction. Need to force environment variable
- to be escaped when running nmake command.
</del><ins>+ [UI-side compositing] Fix copying animations between layers, and pausing them
+ https://bugs.webkit.org/show_bug.cgi?id=132943
+ <rdar://problem/16906369&16906541>
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCoreGenerated.make:
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>-2014-01-09 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Pass the animation key back to animationStarted(), though this isn't used
+ when animations are running in-process.
</ins><span class="cx">
</span><del>- Merge r161568: <rdar://problem/15784802>
</del><ins>+ * platform/graphics/ca/PlatformCALayer.h:
+ * platform/graphics/ca/mac/PlatformCALayerMac.h:
+ * platform/graphics/ca/mac/PlatformCALayerMac.mm:
+ (-[WebAnimationDelegate animationDidStart:]):
+ (PlatformCALayerMac::animationStarted):
+ * platform/graphics/ca/win/PlatformCALayerWin.cpp:
+ (PlatformCALayerWin::animationStarted):
+ * platform/graphics/ca/win/PlatformCALayerWin.h:
</ins><span class="cx">
</span><del>- 2014-01-09 Tim Horton <timothy_horton@apple.com>
</del><ins>+2014-05-15 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- PDFDocumentImage can be very slow to do the initial paint
- https://bugs.webkit.org/show_bug.cgi?id=126633
- <rdar://problem/15770980>
</del><ins>+ [CSS Regions] Reduce the RenderRegion invasiveness in rendering code
+ https://bugs.webkit.org/show_bug.cgi?id=132121
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- * platform/graphics/cg/PDFDocumentImage.cpp:
- (WebCore::PDFDocumentImage::PDFDocumentImage):
- (WebCore::PDFDocumentImage::size):
- (WebCore::transformContextForPainting):
- (WebCore::PDFDocumentImage::computeBoundsForCurrentPage):
- (WebCore::applyRotationForPainting):
- (WebCore::PDFDocumentImage::drawPDFPage):
- * platform/graphics/cg/PDFDocumentImage.h:
- * platform/graphics/mac/PDFDocumentImageMac.mm:
- (WebCore::PDFDocumentImage::computeBoundsForCurrentPage):
- Store rotation from the PDF in degrees, since it can
- only be 0, 90, 180, or 270, and don't do any trig to
- perform the rotation, to avoid introducing minor rounding
- issues in the size.
</del><ins>+ Remove the RenderRegion / RenderNamedFlowFragment parameters and fields from
+ the painting / hit testing data structures and use a stateful approach to
+ correctly handle regions.
</ins><span class="cx">
</span><del>- Once we're going to paint, if the difference between the
- computed scale for each axis is due only to integer rounding
- of the image size, use the same scale for both axes, to avoid
- a CG slow-path which occurs whenever the scale is nonuniform.
</del><ins>+ When painting or hit testing, the current flow thread is saved along the current
+ region. They are accessed through the |currentRenderNamedFlowFragment| helper
+ method on RenderObject or RenderLayer.
</ins><span class="cx">
</span><del>-2014-01-07 Lucas Forschler <lforschler@apple.com>
</del><ins>+ The patch also changes a bunch of 0s to nullptrs.
</ins><span class="cx">
</span><del>- Merge r160479
</del><ins>+ Tests: No new tests, no functional change.
</ins><span class="cx">
</span><del>- 2013-12-11 Darin Adler <darin@apple.com>
</del><ins>+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlTextTrackContainerElement::createTextTrackRepresentationImage):
+ * rendering/HitTestLocation.cpp:
+ (WebCore::HitTestLocation::HitTestLocation):
+ (WebCore::HitTestLocation::operator=):
+ * rendering/HitTestLocation.h:
+ (WebCore::HitTestLocation::region): Deleted.
+ * rendering/HitTestResult.h:
+ * rendering/PaintInfo.h:
+ (WebCore::PaintInfo::PaintInfo):
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::paint):
+ (WebCore::RenderBlock::paintObject):
+ (WebCore::RenderBlock::selectionGaps):
+ (WebCore::RenderBlock::nodeAtPoint):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::nodeAtPoint):
+ (WebCore::RenderBox::paintBoxDecorations):
+ (WebCore::RenderBox::pushContentsClip):
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintMaskForTextFillBox):
+ (WebCore::RenderBoxModelObject::paintFillLayerExtended):
+ * rendering/RenderBoxModelObject.h:
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paint):
+ (WebCore::RenderLayer::paintLayer):
+ (WebCore::RenderLayer::paintLayerContents):
+ (WebCore::RenderLayer::paintLayerByApplyingTransform):
+ (WebCore::RenderLayer::collectFragments):
+ (WebCore::RenderLayer::updatePaintingInfoForFragments):
+ (WebCore::RenderLayer::paintTransformedLayerIntoFragments):
+ (WebCore::RenderLayer::paintBackgroundForFragments):
+ (WebCore::RenderLayer::paintForegroundForFragmentsWithPhase):
+ (WebCore::RenderLayer::paintOutlineForFragments):
+ (WebCore::RenderLayer::paintMaskForFragments):
+ (WebCore::RenderLayer::hitTest):
+ (WebCore::RenderLayer::hitTestFixedLayersInNamedFlows):
+ (WebCore::RenderLayer::hitTestLayer):
+ (WebCore::RenderLayer::hitTestTransformedLayerInFragments):
+ (WebCore::RenderLayer::mapLayerClipRectsToFragmentationLayer):
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderLayer.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateCompositedBounds):
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::addToOverlapMap):
+ (WebCore::RenderLayerCompositor::clippedByAncestor):
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::currentRenderNamedFlowFragment):
+ * rendering/RenderObject.h:
+ * rendering/RenderReplaced.cpp:
+ (WebCore::RenderReplaced::shouldPaint):
+ * rendering/RenderReplica.cpp:
+ (WebCore::RenderReplica::paint):
+ * rendering/RenderTable.cpp:
+ (WebCore::RenderTable::nodeAtPoint):
+ * rendering/RenderTableSection.cpp:
+ (WebCore::RenderTableSection::nodeAtPoint):
+ * rendering/RenderTreeAsText.cpp:
+ (WebCore::writeLayers):
+ * rendering/RootInlineBox.cpp:
+ (WebCore::RootInlineBox::paint):
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::paintReplaced):
</ins><span class="cx">
</span><del>- StylePendingImage needs to correctly manage the CSSValue pointer lifetime
- https://bugs.webkit.org/show_bug.cgi?id=125468
</del><ins>+2014-05-14 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Clean up "has non-zero begin time" terminology in animations
+ https://bugs.webkit.org/show_bug.cgi?id=132942
</ins><span class="cx">
</span><del>- Test: fast/css/pending-image-crash.xhtml
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Disconnect the reference counted StylePendingImage from the CSSValue that owns
- it when it's not needed any more, otherwise we could end up using a pointer
- that might no longer be valid.
</del><ins>+ Change the "non-zero beginTime" terminology in the platform CA animations
+ code to "explicit beginTime": this flag really means that we explicitly set
+ the beginTime of the animation, rather than let CA set the beginTime when
+ committing the animation. This flag is used for animations with negative
+ delay, and when pausing.
+
+ The WKNonZeroBeginTimeFlag key was spread across PlatformCALayerMac and PlatformCAAnimationMac,
+ so hide it behind getter/setter functions.
+
+ Remove lots of m_layer.get() in PlatformCAAnimationMac.
</ins><span class="cx">
</span><del>- * css/CSSCursorImageValue.cpp:
- (WebCore::CSSCursorImageValue::detachPendingImage): Added. Calls detachFromCSSValue
- on the current image if it is a StylePendingImage.
- (WebCore::CSSCursorImageValue::~CSSCursorImageValue): Call detachPendingImage.
- (WebCore::CSSCursorImageValue::cachedImage): Call detachPendingImage before changing
- m_image to a new value.
- (WebCore::CSSCursorImageValue::clearCachedImage): Ditto.
- * css/CSSCursorImageValue.h: Added detachPendingImage.
</del><ins>+ * platform/graphics/ca/mac/PlatformCAAnimationMac.h:
+ * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
+ (WebCore::hasExplicitBeginTime):
+ (WebCore::setHasExplicitBeginTime):
+ (PlatformCAAnimationMac::copy):
+ (PlatformCAAnimationMac::keyPath):
+ (PlatformCAAnimationMac::beginTime):
+ (PlatformCAAnimationMac::setBeginTime):
+ (PlatformCAAnimationMac::duration):
+ (PlatformCAAnimationMac::setDuration):
+ (PlatformCAAnimationMac::speed):
+ (PlatformCAAnimationMac::setSpeed):
+ (PlatformCAAnimationMac::timeOffset):
+ (PlatformCAAnimationMac::setTimeOffset):
+ (PlatformCAAnimationMac::repeatCount):
+ (PlatformCAAnimationMac::setRepeatCount):
+ (PlatformCAAnimationMac::autoreverses):
+ (PlatformCAAnimationMac::setAutoreverses):
+ (PlatformCAAnimationMac::fillMode):
+ (PlatformCAAnimationMac::setFillMode):
+ (PlatformCAAnimationMac::setTimingFunction):
+ (PlatformCAAnimationMac::copyTimingFunctionFrom):
+ (PlatformCAAnimationMac::isRemovedOnCompletion):
+ (PlatformCAAnimationMac::setRemovedOnCompletion):
+ (PlatformCAAnimationMac::isAdditive):
+ (PlatformCAAnimationMac::setAdditive):
+ (PlatformCAAnimationMac::valueFunction):
+ (PlatformCAAnimationMac::setValueFunction):
+ (hasNonZeroBeginTimeFlag): Deleted.
+ (setNonZeroBeginTimeFlag): Deleted.
+ * platform/graphics/ca/mac/PlatformCALayerMac.mm:
+ (-[WebAnimationDelegate animationDidStart:]):
</ins><span class="cx">
</span><del>- * css/CSSImageSetValue.cpp:
- (WebCore::CSSImageSetValue::detachPendingImage): Added. Calls detachFromCSSValue
- on the current image set if it is a StylePendingImage.
- (WebCore::CSSImageSetValue::~CSSImageSetValue): Call detachPendingImage.
- (WebCore::CSSImageSetValue::cachedImageSet): Call detachPendingImage before changing
- m_imageSet to a new value.
- * css/CSSImageSetValue.h: Added detachPendingImage.
</del><ins>+2014-05-15 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- * css/CSSImageValue.cpp:
- (WebCore::CSSImageValue::detachPendingImage): Added. Calls detachFromCSSValue on the
- current image if it is a StylePendingImage.
- (WebCore::CSSImageValue::~CSSImageValue): Call detachPendingImage.
- (WebCore::CSSImageValue::cachedImage): Call detachPendingImage before changing m_image
- to a new value.
- * css/CSSImageValue.h: Added detachPendingImage.
</del><ins>+ [GTK] Compile all installed resources as GResources
+ https://bugs.webkit.org/show_bug.cgi?id=131099
</ins><span class="cx">
</span><del>- * rendering/style/StylePendingImage.h:
- (WebCore::StylePendingImage::cssImageValue): Added a null check.
- (WebCore::StylePendingImage::cssImageGeneratorValue): Added a null check.
- (WebCore::StylePendingImage::cssCursorImageValue): Added a null check.
- (WebCore::StylePendingImage::cssImageSetValue): Added a null check.
- (WebCore::StylePendingImage::detachFromCSSValue): Added. Sets m_value to null since
- the style is no longer using this StylePendingImage.
- (WebCore::StylePendingImage::data): Changed to use the "this" pointer since all we
- need is some arbitrary pointer uniquely identifying the image. Before loading the image,
- we have no suitable weak identifier, so it suffices to use the unique pointer to each
- StylePendingImage object. This function is used only in a limited way; it would be nice
- to find a way to make the code less strange long term.
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>-2013-12-23 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * PlatformGTK.cmake: Do not install the resources.
+ * platform/audio/gtk/AudioBusGtk.cpp:
+ (WebCore::AudioBus::loadPlatformResource): Load the audio resource
+ from GResources and use createBusFromInMemoryAudioFile().
+ * platform/graphics/Image.h: Remove unsued function loadPlatformThemeIcon.
+ * platform/graphics/gtk/ImageGtk.cpp:
+ (WebCore::loadImageFromGResource): Load the given icon name from GResources.
+ (WebCore::loadResourceSharedBuffer): Use char* instead of CString.
+ (WebCore::loadMissingImageIconFromTheme): Try to load the missing
+ icon from the current GTK icon theme.
+ (WebCore::Image::loadPlatformResource): Call
+ loadMissingImageIconFromTheme for missing icon or
+ loadImageFromGResource for any other icon name.
+ (WebCore::getPathToImageResource): Deleted.
+ (WebCore::getThemeIconFileName): Deleted.
+ (WebCore::loadImageFromFile): Deleted.
+ (WebCore::Image::loadPlatformThemeIcon): Deleted.
</ins><span class="cx">
</span><del>- Merge 161050: <rdar://problem/15754482>
</del><ins>+2014-05-14 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- 2013-12-23 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Tiled scrolling indicator needs to take topContentInset into account
+ https://bugs.webkit.org/show_bug.cgi?id=132940
</ins><span class="cx">
</span><del>- Crash in ReplaceSelectionCommand
- https://bugs.webkit.org/show_bug.cgi?id=126107
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ The tiled scrolling indicator needs to move down by the value of the
+ topContentInset. This patch makes that happen by caching the topContentInset in
+ the TileController. This does feel a little silly since there is already a
+ function called setTiledScrollingIndicatorPosition() on TiledBacking. However, it
+ was often the case that calling that function had no effect because m_coverageMap
+ had not yet been created, and then the information was lost. So instead, we cache
+ the value.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/c1ebe5c1e808daf9db5e348a8d0ab32570b9f7a5
- except the test since it doesn't reproduce the crash in WebKit.
</del><ins>+ Set TiledBacking’s copy of topContentInset whenever it changes for the FrameView.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::topContentInsetDidChange):
</ins><span class="cx">
</span><del>- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::ReplaceSelectionCommand::doApply):
</del><ins>+ New function to set the inset. Use the inset to position the coverage map.
+ * platform/graphics/TiledBacking.h:
+ * platform/graphics/ca/mac/TileController.h:
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::TileController):
+ (WebCore::TileController::setTopContentInset):
</ins><span class="cx">
</span><del>-2013-12-23 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ When the coverage map is created, consult the value of the inset.
+ * platform/graphics/ca/mac/TileCoverageMap.mm:
+ (WebCore::TileCoverageMap::TileCoverageMap):
</ins><span class="cx">
</span><del>- Merge 161003: <rdar://problem/15719584>
</del><ins>+ Once the backing has been ensured, set the inset.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateBacking):
</ins><span class="cx">
</span><del>- 2013-12-23 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-14 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- <rdar://problem/15682948> Update copyright strings
</del><ins>+ Merge r1267628 from branch.
+ <rdar://problem/15751219>
</ins><span class="cx">
</span><del>- Reviewed by Dan Bernstein
</del><ins>+ Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>- * Info.plist:
</del><ins>+ Reviewed by Simon Fraser.",
</ins><span class="cx">
</span><del>-2013-12-19 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ TileController relied on the tiling mode in TileCache to determine if it should use low-res
+ tiles when zooming. Unfortunately, sometimes the tiling mode gets set to Zooming even though
+ it's actually a pan. Thus we can end up with blurry tiles. Fix this by adding a new flag on
+ TileCache that controls this behavior and have UIKit set it only when we have an actual zoom
+ operation.
+
+ * platform/ios/LegacyTileCache.h:
+ (WebCore::LegacyTileCache::tileControllerShouldUseLowScaleTiles):
+ (WebCore::LegacyTileCache::setTileControllerShouldUseLowScaleTiles):
+ * platform/ios/LegacyTileCache.mm:
+ (WebCore::LegacyTileCache::LegacyTileCache):
+ * platform/ios/wak/WAKWindow.h:
+ * platform/ios/wak/WAKWindow.mm:
+ (-[WAKWindow setTileControllerShouldUseLowScaleTiles:]):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::contentsScaleMultiplierForNewTiles):
</ins><span class="cx">
</span><del>- Merge r160898: <rdar://problems/15709940>
</del><ins>+2014-05-14 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- 2013-12-19 Beth Dakin <bdakin@apple.com>
</del><ins>+ Unreviewed, rolling out r168750.
+ https://bugs.webkit.org/show_bug.cgi?id=132935
</ins><span class="cx">
</span><del>- REGRESSION: cnn.com will continue to reveal 1 px of overhang after rubber-banding
- at the top
- https://bugs.webkit.org/show_bug.cgi?id=126054
</del><ins>+ Caused repaint bugs (Requested by weinig on #webkit).
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- This regression was caused by http://trac.webkit.org/changeset/160791 It turns out
- that the line of code I removed was not always a no-op. In some instances, like on
- cnn.com, it would ensure that our final scroll position after a rubber-band was
- not something within the overhang area. It was still wrong in its assumption that
- rubber-band is always bouncing back the spot it originated from. So this patch
- continues to ignore the rubber-bands origin, and instead finds the nearest point
- that is not in the overhang area, and scrolls to that point instead of the origin.
</del><ins>+ "Text decorations do not contribute to visual overflow"
+ https://bugs.webkit.org/show_bug.cgi?id=132773
+ http://trac.webkit.org/changeset/168750
</ins><span class="cx">
</span><del>- * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
- * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
- (WebCore::ScrollingTreeScrollingNodeMac::adjustScrollPositionToBoundsIfNecessary):
- * platform/mac/ScrollAnimatorMac.h:
- * platform/mac/ScrollAnimatorMac.mm:
- (WebCore::ScrollAnimatorMac::adjustScrollPositionToBoundsIfNecessary):
- * platform/mac/ScrollElasticityController.h:
- * platform/mac/ScrollElasticityController.mm:
- (WebCore::ScrollElasticityController::snapRubberBandTimerFired):
</del><ins>+2014-05-14 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-12-19 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ [New multicolumn] Spin in RenderMultiColumnSet::repaintFlowThreadContent()
+ https://bugs.webkit.org/show_bug.cgi?id=132884
</ins><span class="cx">
</span><del>- Merge r159463: <rdar://problems/15701094>
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- 2013-11-18 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ On iOS, wikipedia pages can hang under RenderMultiColumnSet::repaintFlowThreadContent().
+ It appears that computedColumnHeight is set to 0 in prepareForLayout, but layout never happens
+ on the RenderMultiColumnSet in some cases, leaving the column height set to zero.
+ This caused columnIndexAtOffset() to return bad values, which resulted in very long loops
+ in repaintFlowThreadContent().
+
+ This fix is a stop-gap.
</ins><span class="cx">
</span><del>- At some scales, opaque compositing layers have garbage pixels around the edges
- https://bugs.webkit.org/show_bug.cgi?id=124541
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::columnIndexAtOffset):
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+2014-05-14 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Layers get marked as having opaque contents when their background is
- known to paint the entire layer. However, this failed to take into
- account two reasons why every pixel may not get painted.
</del><ins>+ Remove FrameView::viewportConstrainedExtentRect, it is unused
+ https://bugs.webkit.org/show_bug.cgi?id=132927
</ins><span class="cx">
</span><del>- First, subpixel layout can result in non-integral RenderLayer
- bounds, which will get rounded up to an integral GraphicsLayer
- size. When this happens we may not paint edge pixels.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Second, at non-integral scale factors, graphics context scaling
- may cause us to not paint edge pixels.
</del><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::viewportConstrainedExtentRect): Deleted.
+ * page/FrameView.h:
+ Simon replaced this by viewportConstrainedVisibleContentRect, remove the old code.
</ins><span class="cx">
</span><del>- Fix by only marking PlatformCALayers as having opaque contents
- when the contentsScale of the layer is integral.
</del><ins>+2014-05-14 Matthew Hanson <matthew_hanson@apple.com>
</ins><span class="cx">
</span><del>- Not testable, because we can't guarantee to get garbage pixels
- in a ref test, and layer dumps show GraphicsLayer's notion of
- content opaqueness, not the one we set on the PlatformCALayer.
</del><ins>+ Only define MAX_GRID_TRACK_REPETITIONS if CSS_GRID_LAYOUT is enabled.
</ins><span class="cx">
</span><del>- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::isIntegral):
- (WebCore::clampedContentsScaleForScale):
- (WebCore::GraphicsLayerCA::updateRootRelativeScale):
- (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers):
- (WebCore::GraphicsLayerCA::updateContentsOpaque):
- (WebCore::GraphicsLayerCA::getTransformFromAnimationsWithMaxScaleImpact):
- Drive-by typo fix.
- (WebCore::GraphicsLayerCA::noteChangesForScaleSensitiveProperties):
- * platform/graphics/ca/GraphicsLayerCA.h:
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>-2013-12-19 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ This was causing -Wunused-const-variable errors.
</ins><span class="cx">
</span><del>- Merge r160791: <rdar://problems/15694289>
</del><ins>+ * css/CSSParser.cpp: Add include guard.
</ins><span class="cx">
</span><del>- 2013-12-18 Beth Dakin <bdakin@apple.com>
</del><ins>+2014-05-14 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- Starting a momentum scroll while rubber banding can cause scrolling to jump back
- when the rubberband snaps
- https://bugs.webkit.org/show_bug.cgi?id=119507
- -and corresponding-
- <rdar://problem/14655893>
</del><ins>+ Tile cache has way too many tiles when pinch-zoomed in
+ https://bugs.webkit.org/show_bug.cgi?id=132929
+ -and corresponding-
+ <rdar://problem/16527172>
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- This line of code was added with the very first implementation of rubber-banding.
- As far as I can tell, it was always a belt-and-suspenders line of code that is a
- no-op in all normal rubber-banding. In this J-shaped scrolling case, this line of
- code is what causes the bug to occur because this line of code assumes that your
- rubber-band is always trying to take you back to the origin.
- * platform/mac/ScrollElasticityController.mm:
- (WebCore::ScrollElasticityController::snapRubberBandTimerFired):
</del><ins>+ This patch makes the margin sizing functions return the set margin size scaled by
+ the TileGrid's scale. We also need to get rid of the old notion we used to have
+ that margin tiles might be allowed to have a different size than the other tiles.
+ We don't want that. They should have the normal margin size, but they should
+ affect the overall coverage area.
</ins><span class="cx">
</span><del>-2013-12-19 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Scale by the TileGrid's scale.
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::topMarginHeight):
+ (WebCore::TileController::bottomMarginHeight):
+ (WebCore::TileController::leftMarginWidth):
+ (WebCore::TileController::rightMarginWidth):
</ins><span class="cx">
</span><del>- Merge r160819: <rdar://problems/15701133>
</del><ins>+ Get rid of adjustRectAtTileIndexForMargin() since we do not want to ever do this
+ adjustment. Use tileSize instead of margin size for all sizing computations.
+ * platform/graphics/ca/mac/TileGrid.h:
+ * platform/graphics/ca/mac/TileGrid.mm:
+ (WebCore::TileGrid::rectForTileIndex):
+ (WebCore::TileGrid::getTileIndexRangeForRect):
+ (WebCore::TileGrid::adjustRectAtTileIndexForMargin): Deleted.
</ins><span class="cx">
</span><del>- 2013-12-18 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-05-14 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Crash in WebCore::LogicalSelectionOffsetCaches::LogicalSelectionOffsetCaches
- https://bugs.webkit.org/show_bug.cgi?id=125970
</del><ins>+ [Mac] Search fields should not use centered look
+ https://bugs.webkit.org/show_bug.cgi?id=132930
+ <rdar://problem/16825842>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- The bug was caused by containingBlockForAbsolutePosition returning a non-RenderBlock render object.
- Fixed the bug by obtaining its containg block.
</del><ins>+ We need to explicitly set the centeredLook property
+ to NO on modern releases of Mac.
</ins><span class="cx">
</span><del>- Also changed the return type of containingBlockForFixedPosition, containingBlockForAbsolutePosition,
- containingBlockForObjectInFlow from RenderElement to RenderBlock as all callers of these functions
- had assumed the return value to be an instance of RenderBlock.
</del><ins>+ * rendering/RenderThemeMac.mm: Declare a new private property and set it to NO.
+ (WebCore::RenderThemeMac::search):
</ins><span class="cx">
</span><del>- Test: svg/text/select-text-inside-non-static-position.html
</del><ins>+2014-05-14 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * rendering/LogicalSelectionOffsetCaches.h:
- (WebCore::containingBlockForFixedPosition):
- (WebCore::containingBlockForAbsolutePosition):
- (WebCore::containingBlockForObjectInFlow):
- (WebCore::LogicalSelectionOffsetCaches::LogicalSelectionOffsetCaches):
</del><ins>+ Subpixel layout: Change Element.offset* client* scroll* return type to double.
+ https://bugs.webkit.org/show_bug.cgi?id=132895
</ins><span class="cx">
</span><del>-2013-12-11 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Merged patch from <rdar://problems/15474133>. This patch is a port of r157821.
</del><ins>+ This patch changes Element.offset*, Element.client* and Element.scroll* APIs return
+ type from long to double to match the latest CSSOM View Module spec[1].
+ Element.offset* and Element.client* do return subpixel values from now on.
+ Element.scroll* still return integral values as the scrolling code hasn't adopted to subpixel rendering yet.
</ins><span class="cx">
</span><del>- 2013-10-22 Samuel White <samuel_white@apple.com>
</del><ins>+ subpixelCSSOMElementMetricsEnabled setting is added to be able to turn this feature on/off
+ from WK2 preferences. It toggles the return value from subpixel to floored integral.
+ It does not change layout/rendering behavior.
</ins><span class="cx">
</span><del>- AX: Add paramAttrs to fetch start and end text markers in a given rect.
- https://bugs.webkit.org/show_bug.cgi?id=122164
</del><ins>+ Reference list of what other browsers do:
+ IE: http://blogs.msdn.com/b/ie/archive/2012/02/17/sub-pixel-rendering-and-the-css-object-model.aspx
+ Blink: http://www.chromestatus.com/features/5497402177880064
+ Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=825607
</ins><span class="cx">
</span><del>- Unreviewed change.
</del><ins>+ [1] http://www.w3.org/TR/2013/WD-cssom-view-20131217/
</ins><span class="cx">
</span><del>- Added ability to fetch end and start text markers inside a given bounds. This gives ScreenReaders
- like VoiceOver a way to retrieve the text markers for a specified column of page text.
</del><ins>+ Test: cssom/subpixel-offsetleft-top-width-height-values.html
</ins><span class="cx">
</span><del>- Test: platform/mac/accessibility/text-marker-for-bounds.html
</del><ins>+ * dom/Element.cpp:
+ (WebCore::localZoomForRenderer):
+ (WebCore::adjustForLocalZoom):
+ (WebCore::convertToNonSubpixelValueIfNeeded):
+ (WebCore::Element::offsetLeft):
+ (WebCore::Element::offsetTop):
+ (WebCore::Element::offsetWidth):
+ (WebCore::Element::offsetHeight):
+ (WebCore::Element::clientLeft):
+ (WebCore::Element::clientTop):
+ (WebCore::Element::clientWidth):
+ (WebCore::Element::clientHeight):
+ (WebCore::Element::scrollLeft):
+ (WebCore::Element::scrollTop):
+ (WebCore::Element::setScrollLeft):
+ (WebCore::Element::setScrollTop):
+ (WebCore::Element::scrollWidth):
+ (WebCore::Element::scrollHeight):
+ * dom/Element.h:
+ * dom/Element.idl:
+ * html/HTMLBodyElement.cpp:
+ (WebCore::adjustForZoom):
+ (WebCore::HTMLBodyElement::scrollLeft):
+ (WebCore::HTMLBodyElement::setScrollLeft):
+ (WebCore::HTMLBodyElement::scrollTop):
+ (WebCore::HTMLBodyElement::setScrollTop):
+ (WebCore::HTMLBodyElement::scrollHeight):
+ (WebCore::HTMLBodyElement::scrollWidth):
+ * html/HTMLBodyElement.h:
+ * page/Settings.in:
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityObject.cpp:
- (WebCore::AccessibilityObject::mainFrame):
- (WebCore::AccessibilityObject::topDocument):
- (WebCore::AccessibilityObject::visiblePositionForBounds):
- * accessibility/AccessibilityObject.h:
- * accessibility/AccessibilityRenderObject.cpp:
- * accessibility/AccessibilityRenderObject.h:
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (-[WebAccessibilityObjectWrapper screenToContents:]):
- (-[WebAccessibilityObjectWrapper accessibilityParameterizedAttributeNames]):
- (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
</del><ins>+2014-05-14 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>-2013-12-11 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ Implement NSSharingServiceDelegate method "transitionImageForShareItem"
+ <rdar://problem/16878020> and https://bugs.webkit.org/show_bug.cgi?id=132911
</ins><span class="cx">
</span><del>- Merge r154513
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- 2013-08-23 Alex Christensen <achristensen@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- Re-separating Win32 and Win64 builds.
- https://bugs.webkit.org/show_bug.cgi?id=120178
</del><ins>+2014-05-14 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ Another unreviewed build fix.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCoreGenerated.make:
- * WebCore.vcxproj/WebCoreGeneratedWinCairo.make:
- Pass PlatformArchitecture as a command line parameter to bash scripts
- and use PlatformArchitecture to determine which directory to delete
- while cleaning (obj32 or obj64).
- * WebCore.vcxproj/WebCoreGeneratedWinCairoCommon.props:
- Export PlatformArchitecture to be used by make and cmd scripts.
- * WebCore.vcxproj/build-generated-files.sh:
- Use PlatformArchitecture from command line to determine which object directory to use (obj32 or obj64).
- * WebCore.vcxproj/copyForwardingHeaders.cmd:
- * WebCore.vcxproj/copyWebCoreResourceFiles.cmd:
- Use PlatformArchitecture to determine which directory to copy to (obj32 or obj64).
</del><ins>+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::getTimingData):
+ Added necessary UNUSED_PARAMs.
</ins><span class="cx">
</span><del>-2013-12-11 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+2014-05-14 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Rollout r160469. Not rolling out from trunk because r160469 was
- applied on the branch from a patch file.
</del><ins>+ Unreviewed build fix after r168849.
</ins><span class="cx">
</span><del>-2013-12-11 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::getTimingData):
+ Protect use of timing data with ENABLE(WEB_TIMING).
</ins><span class="cx">
</span><del>- Merge r157821
</del><ins>+2014-05-14 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- 2013-10-22 Samuel White <samuel_white@apple.com>
</del><ins>+ Refactor duplicate code in web timing.
+ https://bugs.webkit.org/show_bug.cgi?id=132917
</ins><span class="cx">
</span><del>- AX: Add paramAttrs to fetch start and end text markers in a given rect.
- https://bugs.webkit.org/show_bug.cgi?id=122164
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+ * platform/network/ResourceHandle.h:
+ Added getTimingData declaration.
+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::getTimingData):
+ * platform/network/mac/WebCoreResourceHandleAsDelegate.mm:
+ (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
+ * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm:
+ (-[WebCoreResourceHandleAsOperationQueueDelegate connection:didReceiveResponse:]):
+ Moved duplicate code to ResourceHandle.
</ins><span class="cx">
</span><del>- Added ability to fetch end and start text markers inside a given bounds. This gives ScreenReaders
- like VoiceOver a way to retrieve the text markers for a specified column of page text.
</del><ins>+2014-05-14 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Test: platform/mac/accessibility/text-marker-for-bounds.html
</del><ins>+ Use references instead of pointers with ResourceLoadTiming.
+ https://bugs.webkit.org/show_bug.cgi?id=132846
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityObject.cpp:
- (WebCore::AccessibilityObject::mainFrame):
- (WebCore::AccessibilityObject::topDocument):
- (WebCore::AccessibilityObject::visiblePositionForBounds):
- * accessibility/AccessibilityObject.h:
- * accessibility/AccessibilityRenderObject.cpp:
- * accessibility/AccessibilityRenderObject.h:
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (-[WebAccessibilityObjectWrapper screenToContents:]):
- (-[WebAccessibilityObjectWrapper accessibilityParameterizedAttributeNames]):
- (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>-2013-12-11 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * WebCore.exp.in:
+ Removed ResourceResponseBase::setResourceLoadTiming linker symbol.
+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::buildObjectForResourceResponse):
+ * page/PerformanceResourceTiming.cpp:
+ (WebCore::PerformanceResourceTiming::domainLookupStart):
+ (WebCore::PerformanceResourceTiming::domainLookupEnd):
+ (WebCore::PerformanceResourceTiming::connectStart):
+ (WebCore::PerformanceResourceTiming::connectEnd):
+ (WebCore::PerformanceResourceTiming::secureConnectionStart):
+ (WebCore::PerformanceResourceTiming::requestStart):
+ Use references instead of pointers.
+ * page/PerformanceResourceTiming.h:
+ Make an instance instead of a RefPtr.
+ * page/PerformanceTiming.cpp:
+ (WebCore::PerformanceTiming::domainLookupStart):
+ (WebCore::PerformanceTiming::domainLookupEnd):
+ (WebCore::PerformanceTiming::connectStart):
+ (WebCore::PerformanceTiming::connectEnd):
+ (WebCore::PerformanceTiming::secureConnectionStart):
+ (WebCore::PerformanceTiming::requestStart):
+ (WebCore::PerformanceTiming::responseStart):
+ Check to see if the loader exists, then use ResourceLoadTiming reference.
+ (WebCore::PerformanceTiming::resourceLoadTiming): Deleted.
+ * page/PerformanceTiming.h:
+ Removed resourceLoadTiming declaration.
+ * platform/network/ResourceLoadTiming.h:
+ (WebCore::ResourceLoadTiming::ResourceLoadTiming):
+ (WebCore::ResourceLoadTiming::operator=):
+ Replaced reference counting with copy constructors.
+ (WebCore::ResourceLoadTiming::create): Deleted.
+ (WebCore::ResourceLoadTiming::deepCopy): Deleted.
+ * platform/network/ResourceResponseBase.cpp:
+ (WebCore::ResourceResponseBase::adopt):
+ (WebCore::ResourceResponseBase::copyData):
+ (WebCore::ResourceResponseBase::resourceLoadTiming):
+ (WebCore::ResourceResponseBase::setResourceLoadTiming):
+ (WebCore::ResourceResponseBase::compare):
+ * platform/network/ResourceResponseBase.h:
+ * platform/network/mac/WebCoreResourceHandleAsDelegate.mm:
+ (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
+ * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm:
+ (-[WebCoreResourceHandleAsOperationQueueDelegate connection:didReceiveResponse:]):
+ * platform/network/soup/ResourceHandleSoup.cpp:
+ (WebCore::ResourceHandle::didStartRequest):
+ (WebCore::networkEventCallback):
+ Use references instead of pointers.
</ins><span class="cx">
</span><del>- Merge r159691
</del><ins>+2014-05-14 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- 2013-11-22 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Unreviewed, rolling out r168837.
+ https://bugs.webkit.org/show_bug.cgi?id=132913
</ins><span class="cx">
</span><del>- [Win] Avoid deadlock when interacting with some AVFoundationCF content
- <rdar://problem/15482977> and https://bugs.webkit.org/show_bug.cgi?id=124752
</del><ins>+ The patch added an assertion which fires on 6 tests (Requested
+ by ap on #webkit).
</ins><span class="cx">
</span><del>- Prevent deadlock caused by conflict over the "mapLock" mutex. Notification handling in the file,
- which modify assets and make other changes, are required to happen on the main thread. This
- patch enforces this requirement.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ "[CSS Regions] Add ASSERT to make sure using the flowThread
+ cache does not return incorrect results"
+ https://bugs.webkit.org/show_bug.cgi?id=132906
+ http://trac.webkit.org/changeset/168837
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::NotificationCallbackData::NotificationCallbackData): Added
- (WebCore::AVFWrapper::processNotification): Moved logic from 'notificationCallback', which was
- sometimes happening on a background thread.
- (WebCore::AVFWrapper::notificationCallback): Dispatch calls to main thread.
</del><ins>+2014-05-13 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>-2013-12-11 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Revert "Don't dispatch 'beforeload' event inside FrameView::layout()",
+ commit 84fe8cf6fbe8b5de9a06300ca3ef6d0ffc96948c, and associated
+ follow-up fixes:
</ins><span class="cx">
</span><del>- Merge r159460
</del><ins>+ "platform/mac/plugins/testplugin-onnew-onpaint.html failing after
+ r168668", commit c17be3bf5127baf94310af4b4b9bf5a57d29aaf4
+ "[Win] Unreviewed build fix after r168668.", commit
+ 4fa470ad12c38ee7d4c114541b6dd321181a8bc9
</ins><span class="cx">
</span><del>- 2013-11-18 David Hyatt <hyatt@apple.com>
</del><ins>+ The original merged patch appears to have caused a regression in
+ fast/dom/HTMLObjectElement/object-as-frame.html.
</ins><span class="cx">
</span><del>- Add a quirk to not respect center text-align when positioning
</del><ins>+ <https://bugs.webkit.org/show_bug.cgi?id=132886>
</ins><span class="cx">
</span><del>- <rdar://problem/15427571>
- https://bugs.webkit.org/show_bug.cgi?id=124522
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ * WebCore.exp.in:
+ * dom/Document.cpp:
+ (WebCore::Document::updateLayoutIgnorePendingStylesheets):
+ * dom/Document.h:
+ * html/HTMLAppletElement.cpp:
+ (WebCore::HTMLAppletElement::renderWidgetForJSBindings):
+ * html/HTMLEmbedElement.cpp:
+ (WebCore::HTMLEmbedElement::renderWidgetForJSBindings):
+ * html/HTMLObjectElement.cpp:
+ (WebCore::HTMLObjectElement::renderWidgetForJSBindings):
+ * page/FrameView.cpp:
+ (WebCore::FrameView::FrameView):
+ (WebCore::FrameView::reset):
+ (WebCore::FrameView::flushAnyPendingPostLayoutTasks):
+ (WebCore::FrameView::performPostLayoutTasks):
+ (WebCore::FrameView::updateEmbeddedObjectsTimerFired): Deleted.
+ * page/FrameView.h:
+ * testing/Internals.cpp:
+ (WebCore::Internals::updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks): Deleted.
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>- Added fast/block/legacy-text-align-position-quirk.html
</del><ins>+2014-05-14 Kiran <kiran.guduru@samsung.com>
</ins><span class="cx">
</span><del>- * page/Settings.in:
- Add the quirk setting.
</del><ins>+ alidation for getUserMedia() errorCallback is missing.
+ https://bugs.webkit.org/show_bug.cgi?id=132901
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::startAlignedOffsetForLine):
- Don't pay attention to center text-align when the quirk is set.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-12-10 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ The patch adds the validation for getUserMedia errorCallBack
+ and throws TypeMismatchError.
</ins><span class="cx">
</span><del>- Merge 154333
</del><ins>+ Test: fast/mediastream/getusermedia.html
</ins><span class="cx">
</span><del>- 2013-08-20 Alex Christensen <achristensen@apple.com>
</del><ins>+ * Modules/mediastream/NavigatorUserMedia.cpp:
+ (WebCore::NavigatorUserMedia::webkitGetUserMedia):
</ins><span class="cx">
</span><del>- Use PlatformArchitecture to distinguish between 32-bit and 64-bit builds on Windows.
- https://bugs.webkit.org/show_bug.cgi?id=119512
</del><ins>+2014-05-14 Tibor Meszaros <tmeszaros.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ Remove CSS_STICKY_POSITION guards
+ https://bugs.webkit.org/show_bug.cgi?id=132676
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.vcxproj/WebCoreCommon.props:
- * WebCore.vcxproj/WebCoreGeneratedCommon.props:
- * WebCore.vcxproj/WebCoreTestSupport.vcxproj:
- * WebCore.vcxproj/WebCoreTestSupport.vcxproj.filters:
- Replaced obj32, bin32, and lib32 with macros for 64-bit build.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-12-10 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
+ * css/CSSParser.cpp:
+ (WebCore::isValidKeywordPropertyAndValue):
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
+ (WebCore::CSSPrimitiveValue::operator EPosition):
+ * css/CSSValueKeywords.in:
+ * editing/EditingStyle.cpp:
+ (WebCore::EditingStyle::convertPositionStyle):
</ins><span class="cx">
</span><del>- Merge 152982
</del><ins>+2014-05-14 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- 2013-07-22 Alex Christensen <achristensen@apple.com>
</del><ins>+ [CSS Regions] Add ASSERT to make sure using the flowThread cache does not return incorrect results
+ https://bugs.webkit.org/show_bug.cgi?id=132906
</ins><span class="cx">
</span><del>- Added assembly files to Windows 64-bit builds.
- https://bugs.webkit.org/show_bug.cgi?id=118931
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ If flowThreadContainingBlock() is called on an object which is in a different
+ flow thread than the one currently being laid out, this method will return an incorrect
+ result. I added an assertion for that to make sure we catch and treat any such scenarios.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Added PaintHooks.asm for x64 and enabled MASM.
- * WebCore.vcxproj/WebCore.vcxproj.filters: Added PaintHooks.asm.
</del><ins>+ No new tests required.
</ins><span class="cx">
</span><del>-2013-12-10 Matthew Hanson <matthew_hanson@apple.com>
</del><ins>+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::locateFlowThreadContainingBlockNoCache):
+ (WebCore::RenderObject::locateFlowThreadContainingBlock):
+ * rendering/RenderObject.h:
</ins><span class="cx">
</span><del>- Merge 152921
</del><ins>+2014-05-14 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- 2013-07-19 Alex Christensen <achristensen@apple.com>
</del><ins>+ [CSS Regions] Don't relayout when updating the region range unless necessary
+ https://bugs.webkit.org/show_bug.cgi?id=132120
</ins><span class="cx">
</span><del>- Added x64 configuration to Visual Studio build.
- https://bugs.webkit.org/show_bug.cgi?id=118888
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ The patch reduces the cases when a relayout is made for boxes that change the region range.
+ This lowers the amount of nested layouts in most cases and produces big layout speedups for trees
+ without overhanging floats.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/QTMovieWin/QTMovieWin.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCoreGenerated.vcxproj:
- * WebCore.vcxproj/WebCoreTestSupport.vcxproj:
</del><ins>+ Tests: Major performance improvement with speedups of 50-60% on:
+ Layout/RegionsAuto.html, Layout/RegionsAutoMaxHeight.html and Layout/RegionsFixed.html
</ins><span class="cx">
</span><del>-2013-11-20 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::updateRegionRangeForBoxChild): Ask the child box if it needs a relayout
+ in case its region range changes.
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::layoutBlockChild): It's not necessary to do two layouts here because
+ there's no block direction position change between them for the child.
+ (WebCore::RenderBlockFlow::needsLayoutAfterRegionRangeChange): If the block doesn't have floats
+ or if it expands to enclose the floats it doesn't need to relayout after a region range chage.
+ It's not possible for it to have a float inside overflow that must be repositioned using the new
+ range.
+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderBox.h:
+ (WebCore::RenderBox::needsLayoutAfterRegionRangeChange): By default don't relayout after a region
+ range change.
</ins><span class="cx">
</span><del>- Merge r159481
</del><ins>+2014-05-14 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- 2013-11-18 Zalan Bujtas <zalan@apple.com>
</del><ins>+ RuleData should ref the StyleRule
+ https://bugs.webkit.org/show_bug.cgi?id=132865
</ins><span class="cx">
</span><del>- use after free in WebCore::DocumentOrderedMap::remove / WebCore::TreeScope::removeElementById
- https://bugs.webkit.org/show_bug.cgi?id=121324
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ As a defensive move make RuleData ref the StyleRule.
+ This adds some ref churn but the overall performance impact should be minimal.
</ins><span class="cx">
</span><del>- Update the document ordered map for an image element before dispatching load or error events
- when it's inserted into a document.
</del><ins>+ * css/RuleSet.h:
+ (WebCore::RuleData::rule):
</ins><span class="cx">
</span><del>- Test: fast/dom/modify-node-and-while-in-the-callback-too-crash.html
</del><ins>+2014-05-14 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- * dom/DocumentOrderedMap.cpp: defensive fix to avoid use after free issues.
- (WebCore::DocumentOrderedMap::remove):
- * html/HTMLImageElement.cpp:
- (WebCore::HTMLImageElement::insertedInto):
- * loader/ImageLoader.cpp:
- (WebCore::ImageLoader::updateFromElement): setting m_failedLoadURL makes
- repeated updateFromElement calls return early.
</del><ins>+ GIF animations don't restart after scrolling on iOS WebKit1
+ https://bugs.webkit.org/show_bug.cgi?id=132900
</ins><span class="cx">
</span><del>-2013-11-13 Dean Jackson <dino@apple.com>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- <rdar://problem/15292359>
- Fix incorrect merge of r157299 made in r158605.
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- * platform/graphics/DisplayRefreshMonitor.cpp:
- (WebCore::DisplayRefreshMonitor::removeClient): Remember to remove clients
- from m_clientsToBeNotified.
- * platform/graphics/DisplayRefreshMonitor.h: Might as well make the code
- more consistent with ToT while I'm here.
</del><ins>+2014-05-13 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>-2013-11-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [CSS Regions] Assertion failure in some cases with inline blocks
+ https://bugs.webkit.org/show_bug.cgi?id=132859
</ins><span class="cx">
</span><del>- Merge r152867
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>- 2013-07-18 Jer Noble <jer.noble@apple.com>
</del><ins>+ The patch hardens the conditions when the region range caches are
+ populated to avoid desynchronizations when objects move during layout.
+ This is true especially in the case of the boxes found inside
+ inline blocks, that get their range from the containing line.
</ins><span class="cx">
</span><del>- New PDFPlugin doesn't support WebKitOmitPDFSupport, acts as if Plug-ins are off
- https://bugs.webkit.org/show_bug.cgi?id=118858
</del><ins>+ There is a new function |computedRegionRangeForBox| that will always
+ return a region range for a box using a best effort algorithm. This should
+ be used only when there's no need to cache region information.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ This change also allows better control over the lifecycle of the
+ |RenderBoxRegionInfo| objects stored on the regions. We can now iterate
+ over the full range of the box when cleaning up the region box info. The
+ same applies for the width change detection function.
</ins><span class="cx">
</span><del>- Expand the scope of rejecting non video/ or audio/ MIME types when
- filling the MIME type cache.
</del><ins>+ Test: fast/regions/inline-block-shifted-region.html
</ins><span class="cx">
</span><del>- * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
- (WebCore::shouldRejectMIMEType): Added utility function.
</del><ins>+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlockFlow::updateRegionForLine): Don't set the containing
+ region if the block doesn't have a range. The returned value would not
+ be correctly clamped.
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBlock::hasRegionRangeInFlowThread):
+ * rendering/RenderBox.h:
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::removeRenderBoxRegionInfo): Iterate only over
+ the range of the box, not from the start of the region chain.
+ (WebCore::RenderFlowThread::logicalWidthChangedInRegionsForBlock): Same as
+ above.
+ (WebCore::RenderFlowThread::hasCachedRegionRangeForBox):
+ (WebCore::RenderFlowThread::getRegionRangeForBoxFromCachedInfo):
+ (WebCore::RenderFlowThread::getRegionRangeForBox):
+ (WebCore::RenderFlowThread::computedRegionRangeForBox): Best effort function
+ to determine the range of a box. It will always return something as long
+ as the flow thread has regions.
+ (WebCore::RenderFlowThread::objectShouldFragmentInFlowRegion): Use the new function
+ to determine the range.
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::absoluteQuadsForBox): Use the new function to determine
+ the range.
</ins><span class="cx">
</span><del>-2013-11-07 Chris Fleizach <cfleizach@apple.com>
</del><ins>+2014-05-13 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge r158743
</del><ins>+ Fix "ASSERTION FAILED: m_representation == PlatformLayerRepresentation" with UI-side compositing
+ https://bugs.webkit.org/show_bug.cgi?id=132899
</ins><span class="cx">
</span><del>- 2013-11-06 Chris Fleizach <cfleizach@apple.com>
-
- AX: Audio and Video attachments are not output to VoiceOver
- https://bugs.webkit.org/show_bug.cgi?id=123479
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- Reviewed by Mario Sanchez Prada.
</del><ins>+ Export some things
</ins><span class="cx">
</span><del>- Video and audio elements don't appear as distinct objects in the AX hierarchy,
- nor are they treated as replaceable objects when emitting the text. We should
- treat these characters like attachments, for one. On the Mac platform, we should
- also identify them with special subroles.
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- Tests: platform/mac/accessibility/media-emits-object-replacement.html
- platform/mac/accessibility/media-role-descriptions.html
-
- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::isGenericFocusableElement):
- * accessibility/AccessibilityObject.h:
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
- (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (createAccessibilityRoleMap):
- (-[WebAccessibilityObjectWrapper subrole]):
- (-[WebAccessibilityObjectWrapper roleDescription]):
- * editing/TextIterator.cpp:
- (WebCore::isRendererReplacedElement):
</del><ins>+2014-05-13 Hans Muller <hmuller@adobe.com>
</ins><span class="cx">
</span><del>-2013-11-06 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [CSS Shapes] line height grows around polygon and incorrectly causes text to wrap to next line
+ https://bugs.webkit.org/show_bug.cgi?id=131622
</ins><span class="cx">
</span><del>- Merge r158617
</del><ins>+ Reviewed by Bem Jones-Bey.
</ins><span class="cx">
</span><del>- 2013-11-04 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Corrected an earlier PolygonShape fix https://bugs.webkit.org/show_bug.cgi?id=132132
+ When the top or bottom of a layout line is coincident with a polygon edge vertex, we
+ only consider it an intersection if the edge extends into the line.
</ins><span class="cx">
</span><del>- AX: Mail attachments at the start of an email are not output by VoiceOver
- https://bugs.webkit.org/show_bug.cgi?id=123697
</del><ins>+ Test: fast/shapes/shape-outside-floats/shape-outside-edge-case.html
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ * rendering/shapes/PolygonShape.cpp:
+ (WebCore::OffsetPolygonEdge::clippedEdgeXRange):
</ins><span class="cx">
</span><del>- VoiceOver is expecting that "replaced elements" (attachments in a Mail message in this case) to be
- represented by the replacement character when asking for a stringForRange.
</del><ins>+2014-05-13 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- However, when that replaced element is at the beginning of the document, the logic does not work because
- there is a few code places that will take that first Position and advance it forward, not accounting for replaced elements.
- When using the TextIterator normally, it does account for these, so that's why it's only affecting as at the beginning of the document.
</del><ins>+ m_layerForOverhangAreas is sometimes not positioned correctly when topContentInset
+ has changed
+ https://bugs.webkit.org/show_bug.cgi?id=132898
+ -and corresponding-
+ <rdar://problem/16644710>
</ins><span class="cx">
</span><del>- Also a "replaced element" can be more than just renderer->isReplaced(), hence the externing of the isRendererReplacedElement method
- and using that it in pertinent places.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Tests: platform/mac/accessibility/object-replacement-with-no-rendered-children-at-node-start.html
- platform/mac/accessibility/object-replacement-with-rendered-children-at-node-start.html
</del><ins>+ This function is called whenever the topContentInset changes, so use it as an
+ opportunity to ensure that m_layerForOverhangAreas has been positioned correctly.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::frameViewDidChangeSize):
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityObject.cpp:
- (WebCore::replacedNodeNeedsCharacter):
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (nsStringForReplacedNode):
- * dom/Position.cpp:
- (WebCore::Position::isCandidate):
- * dom/PositionIterator.cpp:
- * dom/Range.cpp:
- (WebCore::Range::firstNode):
- * editing/TextIterator.cpp:
- (WebCore::isRendererReplacedElement):
- * editing/TextIterator.h:
</del><ins>+ Everyone gets an anchor point!
+ (WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
</ins><span class="cx">
</span><del>-2013-11-06 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-13 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Merge r158629
</del><ins>+ Attempted build fix after https://bugs.webkit.org/show_bug.cgi?id=132891
</ins><span class="cx">
</span><del>- 2013-11-04 Samuel White <samuel_white@apple.com>
</del><ins>+ * page/PageDebuggable.cpp:
</ins><span class="cx">
</span><del>- AX: AXShowMenu doesn't always work.
- https://bugs.webkit.org/show_bug.cgi?id=123649
</del><ins>+2014-05-13 Timothy Hatcher <timothy@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+ Force developerExtrasEnabled when a remote Inspector client connects.
</ins><span class="cx">
</span><del>- No new tests, the change occurs in a code path that forces the context menu to show which
- locks up DRT if we try to test it (platform menu is shown). The change itself gives the mouse
- event handler a chance to handle our platform mouse event BEFORE the event ends up in the show
- context menu machinery. This is necessary because without it, the element will not become
- focused. Without focus, accessibility shows different/less menu items than a mouse click. The
- end result is that context menus shown via accessibility are consistent with menus shown via click.
</del><ins>+ https://bugs.webkit.org/show_bug.cgi?id=132891
</ins><span class="cx">
</span><del>- * page/ContextMenuController.cpp:
- (WebCore::ContextMenuController::showContextMenuAt):
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><del>-2013-11-06 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * page/PageDebuggable.cpp:
+ (WebCore::PageDebuggable::PageDebuggable): Initialize m_forcedDeveloperExtrasEnabled to false.
+ (WebCore::PageDebuggable::connect): Set m_forcedDeveloperExtrasEnabled if the setting is changed.
+ (WebCore::PageDebuggable::disconnect): Switch developerExtrasEnabled back to false
+ if m_forcedDeveloperExtrasEnabled is true.
+ * page/PageDebuggable.h: Added m_forcedDeveloperExtrasEnabled.
</ins><span class="cx">
</span><del>- Merge r154391
</del><ins>+2014-05-13 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-21 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ REGRESSION (topContentInset): Searching through Facebook Messenger's chat causes
+ scrolling in News Feed
+ https://bugs.webkit.org/show_bug.cgi?id=132889
+ -and corresponding-
+ <rdar://problem/16715716>
</ins><span class="cx">
</span><del>- <https://webkit.org/b/120113> [Windows] Enable CSS_IMAGE_SET
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ First of all, scrollOffsetRelativeToDocument() was very poorly named. This patch
+ re-names it to the much more accurate documentScrollOffsetRelativeToViewOrigin().
+ Re-naming it makes it clear that ONE call site was not getting the right offset.
+ That call site does not want to know the document’s position relative to the view
+ origin, but rather it wants to know the Document’s position relative to the
+ scrolling origin.
</ins><span class="cx">
</span><del>- We can now activate:
- fast/css/image-set-parsing.html
- fast/css/image-set-parsing-invalid.html
</del><ins>+ Export new name.
+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Add missing image set implementation files.
- * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
- * css/CSSAllInOne.cpp: Add missing CSSImageSetValue.cpp
- * rendering/style/StyleAllInOne.cpp: Add missing StyeCachedImageSet.cpp
</del><ins>+ Use newly re-named documentScrollPositionRelativeToViewOrigin().
+ * page/FrameView.cpp:
+ (WebCore::FrameView::convertToRenderer):
+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::documentScrollOffsetRelativeToViewOrigin):
+ (WebCore::ScrollView::documentScrollPositionRelativeToViewOrigin):
+ (WebCore::ScrollView::documentScrollOffsetRelativeToScrollableAreaOrigin):
+ (WebCore::ScrollView::rootViewToContents):
+ (WebCore::ScrollView::windowToContents):
+ (WebCore::ScrollView::scrollOffsetRelativeToDocument): Deleted.
+ (WebCore::ScrollView::scrollPositionRelativeToDocument): Deleted.
+ * platform/ScrollView.h:
</ins><span class="cx">
</span><del>-2013-11-04 Lucas Forschler <lforschler@apple.com>
</del><ins>+ THIS is the spot that needs the new function,
+ documentScrollOffsetRelativeToScrollableAreaOrigin()()
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::scrollRectToVisible):
</ins><span class="cx">
</span><del>- Merge r155130
</del><ins>+2014-05-13 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- 2013-09-05 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ [iOS] Page scale update messages for media controls should only fire at the end of zooming
+ https://bugs.webkit.org/show_bug.cgi?id=132857
+ <rdar://problem/16631009>
</ins><span class="cx">
</span><del>- [Windows] Unreviewed build/link improvement after r155127 to be
- consistent about using debug-build support libraries.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Now that <rdar://problem/9898937> is resolved, we should be linking
- to debug AVFoundationCF as well.
</del><ins>+ As the user was zooming, the media controls that responded
+ to the page scale (and resized themselves) would do so
+ slightly out of sync with the screen refreshes, and it looked
+ terrible. They really only need to get told at the end
+ of the zoom that they need to relayout.
</ins><span class="cx">
</span><del>- * page/CaptionUserPreferencesMediaAF.cpp: Link to AVFoundationCF_debug
- when building with the DEBUG_ALL target.
- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: Ditto.
- * platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h: Ditto.
</del><ins>+ Allow setPageScaleFactor to accept another parameter
+ that indicates if the change is stable. That way, changes
+ during a user triggers zoom gesture can be ignored for
+ media controls.
</ins><span class="cx">
</span><del>-2013-11-04 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ * WebCore.exp.in: Page::setPageScaleFactor takes a new parameter.
+ * dom/Document.cpp:
+ (WebCore::Document::pageScaleFactorChangedAndStable): Renamed from pageScaleFactorChanged.
+ (WebCore::Document::pageScaleFactorChanged): Deleted.
+ * dom/Document.h:
+ * page/Page.cpp:
+ (WebCore::Page::setPageScaleFactor): Accepts a new inStableState parameter,
+ and tells the main frame that the scale factor has changed if it's stable.
+ * page/Page.h:
</ins><span class="cx">
</span><del>- Merge r157773
</del><ins>+2014-05-13 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>-2013-10-21 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Unreviewed build fix after r168755.
</ins><span class="cx">
</span><del>- [WIN] Properly support reverse animations without needing software fallback.
- https://bugs.webkit.org/show_bug.cgi?id=85121
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::metadataDidArrive):
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+2014-05-13 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Testing is provided by existing animation tests.
</del><ins>+ [Mac] hasVideo should return true when video is ready to display
+ https://bugs.webkit.org/show_bug.cgi?id=132885
</ins><span class="cx">
</span><del>- * platform/animation/TimingFunction.h:
- (WebCore::CubicBezierTimingFunction::createReversed): Added.
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::addAnimation): The early return when performing a reverse or
- autoreverse animation is no longer needed.
- * platform/graphics/ca/PlatformCAAnimation.h:
- * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
- (toCAMediaTimingFunction): Use new reversed function.
- * platform/graphics/ca/win/PlatformCAAnimationWin.cpp:
- (toCACFTimingFunction): Ditto.
- (PlatformCAAnimation::setTimingFunction): Pass 'reverse' flag.
- (PlatformCAAnimation::setTimingFunctions): Ditto.
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>-2013-11-04 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
</ins><span class="cx">
</span><del>- Merge r154180
</del><ins>+ * platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.mm:
+ (WebCore::AudioTrackPrivateAVFObjC::resetPropertiesFromTrack): Don't change the
+ enabled state of the AVPlayerItemTrack during setup.
</ins><span class="cx">
</span><del>- 2013-08-15 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC): Initialize
+ m_cachedIsReadyForDisplay.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::cancelLoad): Remove "enabled" KVO observers.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoLayer): Observe "readyForDisplay"
+ change notifications.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::destroyVideoLayer): Remove for "readyForDisplay"
+ observer.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::hasAvailableVideoFrame): Return cached readyForDisplay
+ state instead of polling every time.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): Call setHasVideo(true) if the
+ player layer is ready for display.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::updateAudioTracks): Update logging.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::updateVideoTracks): Ditto.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::firstFrameAvailableDidChange): Cache readyForDisplay
+ state, call tracksChanged() if we haven't seen a video track yet.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::trackEnabledDidChange): New.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::metadataDidArrive): Correct logging.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksDidChange): Remove old "enabled" listeners
+ before release tracks, add new ones to new tracks.
+ (WebCore::assetTrackMetadataKeyNames): Add "enabled" to the list of properties we require to
+ be loaded before announcing that metadata has loaded.
+ (-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]): Observe
+ "readyForDisplay" and "enabled".
</ins><span class="cx">
</span><del>- [Windows] Prevent dangling CACFLayer when switching to/from Tiled backing.
- https://bugs.webkit.org/show_bug.cgi?id=119818
</del><ins>+ * platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.cpp:
+ (WebCore::VideoTrackPrivateAVFObjC::resetPropertiesFromTrack): Don't change the
+ enabled state of the AVPlayerItemTrack during setup.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-05-13 Myles C. Maxfield <litherum@gmail.com>
</ins><span class="cx">
</span><del>- Covered by existing: compositing/tiling/empty-to-tiled.html
</del><ins>+ Text decorations do not contribute to visual overflow
+ https://bugs.webkit.org/show_bug.cgi?id=132773
</ins><span class="cx">
</span><del>- * platform/graphics/ca/win/PlatformCALayerWin.cpp:
- (PlatformCALayer::~PlatformCALayer): Remove deleted layer from its
- parent layer
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-11-04 Dean Jackson <dino@apple.com>
</del><ins>+ Tests: fast/css3-text/css3-text-decoration/repaint/underline-outside-of-layout-rect.html
</ins><span class="cx">
</span><del>- <rdar://problem/15292359>
- Merge r157299
</del><ins>+ * rendering/InlineTextBox.cpp:
+ (WebCore::textDecorationStrokeThickness): Refactor into a common function
+ (WebCore::wavyOffsetFromDecoration): Ditto
+ (WebCore::InlineTextBox::extendVerticalVisualOverflowForDecorations): Given
+ vertical overflow bounds, possibly extend those to include location of
+ decorations.
+ (WebCore::InlineTextBox::paintDecoration): Use refactored functions.
+ * rendering/InlineTextBox.h: Function signature
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::setLogicalWidthForTextRun): Call extendVerticalVisualOverflowForDecorations()
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::changeAffectsVisualOverflow): Inspects shadows and text decorations
+ (WebCore::RenderStyle::changeRequiresLayout): Calls changeAffectsVisualOverflow()
+ (WebCore::RenderStyle::changeRequiresRepaintIfTextOrBorderOrOutline): Moved code from here
+ to changeAffectsVisualOverflow().
+ * rendering/style/RenderStyle.h: Function signature
</ins><span class="cx">
</span><del>- 2013-10-10 Darin Adler <darin@apple.com>
</del><ins>+2014-05-13 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- Use after free in WebCore::DisplayRefreshMonitorClient::fireDisplayRefreshIfNeeded
- https://bugs.webkit.org/show_bug.cgi?id=121033
</del><ins>+ REGRESSION (WebKit2): Zooming to text field leaves it partially hidden by the form assistant.
+ https://bugs.webkit.org/show_bug.cgi?id=132879
+ <rdar://problem/16318049>
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- For safe iteration, use a set rather than a vector, and remove the clients from
- the set if they are removed during iteration.
</del><ins>+ Adding some exports. The fix to setScrollPosition is to avoid clamping the scroll
+ position when using delegate scrolling.
</ins><span class="cx">
</span><del>- Test: fast/animation/request-animation-frame-remove-client.html
</del><ins>+ * WebCore.exp.in:
+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::setScrollPosition):
</ins><span class="cx">
</span><del>- * platform/graphics/DisplayRefreshMonitor.cpp:
- (WebCore::DisplayRefreshMonitor::DisplayRefreshMonitor): Initialize the
- m_clientsToBeNotified pointer to null.
- (WebCore::DisplayRefreshMonitor::removeClient): If there is a m_clientsToBeNotified
- set, remove from it as well as the real m_clients set.
- (WebCore::DisplayRefreshMonitor::displayDidRefresh): Use a HashSet instead of a
- vector for the copy of the clients set we iterate.
</del><ins>+2014-05-13 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/DisplayRefreshMonitor.h: Moved some of the BlackBerry-specific
- part of this out of the header. Added a new HashSet pointer, m_clientsToBeNotified,
- to be used to remove clients during the notification process. Also added a FIXME.
</del><ins>+ Followup to: Update positioning/drawing of the image controls button.
+ <rdar://problem/16885077> and https://bugs.webkit.org/show_bug.cgi?id=132883
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp: Moved the
- DisplayAnimationClient class in here.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>-2013-11-04 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Cleared up the actual intent behind review feedback on the original patch.
</ins><span class="cx">
</span><del>- Merge r157436
</del><ins>+ * html/shadow/mac/ImageControlsButtonElementMac.cpp:
+ (WebCore::ImageControlsButtonElementMac::maybeCreate):
</ins><span class="cx">
</span><del>- 2013-10-14 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-05-13 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- Crash in WebCore::BidiResolver<WebCore::InlineIterator, WebCore::BidiRun>::createBidiRunsForLine
- https://bugs.webkit.org/show_bug.cgi?id=122776
</del><ins>+ Update positioning/drawing of the image controls button.
+ <rdar://problem/16885077> and https://bugs.webkit.org/show_bug.cgi?id=132883
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/aca89bc4d984705a1f94b623dae0ab03e239a248
</del><ins>+ * html/shadow/mac/ImageControlsButtonElementMac.cpp:
+ (WebCore::ImageControlsButtonElementMac::maybeCreate): Add inline style for top/right
+ positioning based on the metrics from the render theme.
</ins><span class="cx">
</span><del>- Fix modification of whitespace endpoints to not assume it's operating on RenderTexts
</del><ins>+ * html/shadow/mac/imageControlsMac.css:
+ (.x-webkit-image-controls-button): Can’t hard code any positioning.
</ins><span class="cx">
</span><del>- During line layout, we use midpoints to identify RenderObjects, or parts of
- RenderObjects, that don't need InlineBoxes, usually because of collapsed whitespace.
</del><ins>+ * rendering/RenderTheme.h:
+ (WebCore::RenderTheme::imageControlsButtonPositionOffset):
+ * rendering/RenderThemeMac.h:
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::servicesRolloverButtonCell):
+ (WebCore::RenderThemeMac::imageControlsButtonPositionOffset):
</ins><span class="cx">
</span><del>- Prior to actually creating BidiRuns (the precursor to InlineBoxes), we use
- checkMidpoints to fix up our lineMidpointState to handle the case where we start
- ignoring spaces in our line, but don't stop until somewhere on the following line.
- Previously, this function assumed that the final midpoint (called an endpoint)
- was a RenderText, but this assumption is wrong if we have a beginning midpoint
- created by shouldSkipWhitespaceAfterStartObject (which handles inlines and list
- markers) and no endpoint on that line. In that case, we'd instead adjust the
- position backwards on the beginning midpoint, which would cause us to fail to
- create an InlineBox for the inline or list marker. In the new test added, this
- would actually trigger a crash due to an assumption when visually re-ordering
- BidiRuns that a non-empty line would actually contain at least one such run.
</del><ins>+2014-05-13 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Test: fast/text/whitespace/whitespace-and-margin-wrap-after-list-marker-crash.html
</del><ins>+ [iOS WK2] background-attachment:fixed behaves very poorly
+ https://bugs.webkit.org/show_bug.cgi?id=132881
+ <rdar://problem/16789526>
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::checkMidpoints):
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>-2013-11-01 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Remove the old ENABLE_FAST_MOBILE_SCROLLING code, and add a setting that
+ controls whether fixed backgrounds paint relative to the document, which
+ is enabled for iOS (WK1 and WK2). This setting is consulted when we repaint
+ fixed backgrounds on scrolling, when we paint them, and when we decide to make
+ a layer for fixed backgrounds.
+
+ * page/Settings.cpp:
+ * page/Settings.in:
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::styleWillChange):
+ (WebCore::RenderElement::willBeRemovedFromTree):
+ (WebCore::shouldRepaintFixedBackgroundsOnScroll): Deleted.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::needsFixedRootBackgroundLayer):
</ins><span class="cx">
</span><del>- Merge r157070
</del><ins>+2014-05-13 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- 2013-10-04 Ojan Vafai <ojan@chromium.org> and Martin Robinson <mrobinson@igalia.com>
</del><ins>+ REGRESSSION(r168528) Subpixel rendering: Selection rect is not positioned properly when SVG text is selected.
+ https://bugs.webkit.org/show_bug.cgi?id=132868
</ins><span class="cx">
</span><del>- [MathML] Remove RenderTree modification during layout and refactor the StretchyOp code
- https://bugs.webkit.org/show_bug.cgi?id=121416
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Scale the selection rect. r168528 missed applying this final transform on the selection/painting rect.
</ins><span class="cx">
</span><del>- Tests: mathml/presentation/mo-minus.html
- mathml/presentation/mo-stacked-glyphs.html
- mathml/presentation/mo-stretchy-vertical-bar.html
- mathml/very-large-stretchy-operators.html
</del><ins>+ Test: svg/text/hidpi-text-selection-rect-position.html
</ins><span class="cx">
</span><del>- MathML stretched operators by both modifying the width of the operator
- and adding children to the operator node in the render tree.
</del><ins>+ * rendering/svg/SVGInlineTextBox.cpp:
+ (WebCore::SVGInlineTextBox::selectionRectForTextFragment):
</ins><span class="cx">
</span><del>- Instead we make the operator width equal to the widest glyph possible that we use
- to represent the operator. Additionally instead of rendering stretchy glyphs via
- stacked operator pieces in separate render tree nodes, keep only one node for the
- glyph, and use a custom paint method to paint the stacked representation.
</del><ins>+2014-05-13 Martin Hodovan <mhodovan.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- With this patch, rendering seems roughly equivalent on Mac and markedly better
- on Linux.
</del><ins>+ ASSERTION FAILED: leftCategory != CalcOther && rightCategory != CalcOther
+ in WebCore::CSSCalcBinaryOperation::createSimplified
+ https://bugs.webkit.org/show_bug.cgi?id=132870
</ins><span class="cx">
</span><del>- * css/mathml.css:
- Not sure what this line-height:0 was here for, but it caused bugs with the new code
</del><ins>+ According to the standard, calc() should be able to handle angle, time
+ and frequency values as well: http://www.w3.org/TR/css3-values/#calc
</ins><span class="cx">
</span><del>- * mathml/MathMLTextElement.cpp:
- (WebCore::MathMLTextElement::attach):
- (WebCore):
- (WebCore::MathMLTextElement::childrenChanged):
- Need to update the anonymous render tree below <mo> elements when their
- children change or when the renderer is first attached.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * mathml/MathMLTextElement.h:
- (MathMLTextElement):
- * rendering/mathml/RenderMathMLBlock.cpp:
- (WebCore::RenderMathMLBlock::RenderMathMLBlock):
- * rendering/mathml/RenderMathMLBlock.h:
- Now that the preferred width doesn't depend on the height, we don't
- need to override computePreferredLogicalWidths at all.
</del><ins>+ Test: fast/css/calc-with-angle-time-frequency.html
</ins><span class="cx">
</span><del>- * rendering/mathml/RenderMathMLFenced.cpp:
- (WebCore::RenderMathMLFenced::makeFences):
- (WebCore::RenderMathMLFenced::styleDidChange):
- Need to update the anonymous renderers for the anonymous RenderMathMLOperators.
</del><ins>+ * css/CSSCalculationValue.cpp:
+ (WebCore::unitCategory):
+ (WebCore::CSSCalcPrimitiveValue::createCalcExpression):
+ (WebCore::CSSCalcPrimitiveValue::computeLengthPx):
+ (WebCore::CSSCalcPrimitiveValue::addSubtractResult):
+ (WebCore::CSSCalcPrimitiveValue::determineCategory):
+ (WebCore::CSSCalcBinaryOperation::primitiveType)
+ * css/CSSCalculationValue.h: extending CalculationCategory
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::validCalculationUnit):
+ * css/CSSPrimitiveValue.cpp:
+ (WebCore::CSSPrimitiveValue::primitiveType):
</ins><span class="cx">
</span><del>- * rendering/mathml/RenderMathMLOperator.cpp:
- (WebCore::RenderMathMLOperator::expandedStretchHeight):
- Store the non-expanded stretch height so that we can detect when the height
- actually changed.
</del><ins>+2014-05-13 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::RenderMathMLOperator::stretchToHeight):
- Only update the style on the anonymous render tree since this is called
- from RenderMathMLRow::layout
</del><ins>+ Try to fix the !ENABLE(ICONDATABASE) build
</ins><span class="cx">
</span><del>- (WebCore::RenderMathMLOperator::styleDidChange):
- (WebCore::RenderMathMLOperator::glyphBoundsForCharacter): A helper to get glyph boundaries.
- (WebCore::RenderMathMLOperator::glyphHeightForCharacter): Ditto for glyph width.
- (WebCore::RenderMathMLOperator::advanceForCharacter): The advance is different from the width,
- and we want the width of the operator to be the advance instead of the tight bounding width.
- (WebCore::RenderMathMLOperator::computePreferredLogicalWidths): Use the max of all possible glyphs
- we can use to render this operator.
- (WebCore::RenderMathMLOperator::computeLogicalHeight): Return the stretched operator height, if appropriate.
- (WebCore::RenderMathMLOperator::updateFromElement): We add a child for rendering the non-scaled
- version of the glyph.
- (WebCore::RenderMathMLOperator::firstCharacterForStretching): Helper to figure out what character
- is the character used for stretching operations.
- (WebCore::RenderMathMLOperator::findAcceptableStretchyCharacter): Helper to find an acceptable set
- of glyph pieces for stretching characters.
- (WebCore::RenderMathMLOperator::updateStyle): Resize the operator to the appropriate height and hide
- the child if we are using the stretchy style.
- (WebCore::RenderMathMLOperator::firstLineBoxBaseline):
- (WebCore::RenderMathMLOperator::paintCharacter): Helper to paint a single character component of the
- stretchy glyph.
- (WebCore::RenderMathMLOperator::fillWithExtensionGlyph): Helper to paint the extender glue between
- features of the stretchy glyph.
- (WebCore::RenderMathMLOperator::paint): Properly paint stretchy glyphs.
- * rendering/mathml/RenderMathMLOperator.h: Update method declarations.
</del><ins>+ * loader/icon/IconDatabase.h: Include WTFString.h.
</ins><span class="cx">
</span><del>-2013-11-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-13 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- Merge r158334
</del><ins>+ REGRESSION(r167771): [GTK] Text fields and areas are rendered unthemed
+ https://bugs.webkit.org/show_bug.cgi?id=132864
</ins><span class="cx">
</span><del>- 2013-10-30 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- [Win] Legible Output callbacks should happen on notification queue
- https://bugs.webkit.org/show_bug.cgi?id=123545
</del><ins>+ This is because the virtual methods changed the API in the parent,
+ and since we don't have the methods marked as override we didn't
+ noticed it. After using override keyword for all virtual methods
+ in the derived class another problem showed up, the ActiveListBox
+ selection methods were incorrectly named.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * platform/gtk/RenderThemeGtk.cpp:
+ (WebCore::RenderThemeGtk::paintTextArea): Update to API changes in the
+ parent class.
+ * platform/gtk/RenderThemeGtk.h: Mark all virtual methods as
+ override and the class as final.
+ * platform/gtk/RenderThemeGtk2.cpp:
+ (WebCore::RenderThemeGtk::paintTextField): Update to API changes
+ in the parent class.
+ (WebCore::RenderThemeGtk::platformActiveListBoxSelectionBackgroundColor):
+ (WebCore::RenderThemeGtk::platformInactiveListBoxSelectionBackgroundColor):
+ (WebCore::RenderThemeGtk::platformActiveListBoxSelectionForegroundColor):
+ (WebCore::RenderThemeGtk::platformInactiveListBoxSelectionForegroundColor):
+ (WebCore::RenderThemeGtk::activeListBoxSelectionBackgroundColor): Deleted.
+ (WebCore::RenderThemeGtk::inactiveListBoxSelectionBackgroundColor): Deleted.
+ (WebCore::RenderThemeGtk::activeListBoxSelectionForegroundColor): Deleted.
+ (WebCore::RenderThemeGtk::inactiveListBoxSelectionForegroundColor): Deleted.
+ * platform/gtk/RenderThemeGtk3.cpp:
+ (WebCore::RenderThemeGtk::paintTextField): Update to API changes
+ in the parent class.
+ (WebCore::RenderThemeGtk::platformActiveListBoxSelectionBackgroundColor):
+ (WebCore::RenderThemeGtk::platformInactiveListBoxSelectionBackgroundColor):
+ (WebCore::RenderThemeGtk::platformActiveListBoxSelectionForegroundColor):
+ (WebCore::RenderThemeGtk::platformInactiveListBoxSelectionForegroundColor):
+ (WebCore::RenderThemeGtk::activeListBoxSelectionBackgroundColor): Deleted.
+ (WebCore::RenderThemeGtk::inactiveListBoxSelectionBackgroundColor): Deleted.
+ (WebCore::RenderThemeGtk::activeListBoxSelectionForegroundColor): Deleted.
+ (WebCore::RenderThemeGtk::inactiveListBoxSelectionForegroundColor): Deleted.
</ins><span class="cx">
</span><del>- Modify the callback creation for Legible Output items so that they
- are made on our notification queue. The use of the main queue was a
- holdover from some temporary code used during earlier development.
</del><ins>+2014-05-13 Xabier Rodriguez Calvar <calvaris@igalia.com>
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::AVFWrapper::AVFWrapper): Assert this happens on the main thread.
- (WebCore::AVFWrapper::~AVFWrapper): Ditto.
- (WebCore::destroyAVFWrapper): Ditto.
- (WebCore::AVFWrapper::createPlayer): Ditto.
- (WebCore::AVFWrapper::createPlayerItem): Ditto.
- Also, instruct LegibleOutput callbacks to happen on our notification
- queue, rather than the main thread.
- (WebCore::AVFWrapper::createAVCFVideoLayer): Assert this happens on the main thread.
- (WebCore::AVFWrapper::destroyVideoLayer): Ditto.
- (WebCore::AVFWrapper::createImageGenerator): Ditto.
- (WebCore::AVFWrapper::destroyImageGenerator): Ditto.
</del><ins>+ [GStreamer] Move toGstClockTime to utilities
+ https://bugs.webkit.org/show_bug.cgi?id=132702
</ins><span class="cx">
</span><del>-2013-10-31 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- Merge r157183
</del><ins>+ toGstClockTime should be in GStreamerUtilities and corrected typo
+ in getGstPlayFlag.
</ins><span class="cx">
</span><del>- 2013-10-09 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ No new tests needed.
</ins><span class="cx">
</span><del>- AX: VoiceOver double speaks all items in <li> nodes
- https://bugs.webkit.org/show_bug.cgi?id=122564
</del><ins>+ * platform/graphics/gstreamer/GStreamerUtilities.cpp:
+ (WebCore::getGstPlayFlag): Renamed from getGstPlaysFlag.
+ (WebCore::toGstClockTime): Moved from MediaPlayerPrivateGStreamer.
+ (WebCore::getGstPlaysFlag): Deleted.
+ * platform/graphics/gstreamer/GStreamerUtilities.h:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::setDownloadBuffering):
+ Corrected getGstPlayFlag typo.
+ (WebCore::toGstClockTime): Deleted.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+2014-05-12 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Test: platform/mac/accessibility/native-list-item-should-not-expose-label.html
</del><ins>+ Make a few icon database improvements
+ https://bugs.webkit.org/show_bug.cgi?id=132812
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::visibleText):
</del><ins>+ Reviewed by Brady Eidson.
</ins><span class="cx">
</span><del>-2013-10-31 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * WebCore.exp.in: Export more IconDatabase functions, since they are now called
+ by WebKit2 through pointers to a class marked final.
</ins><span class="cx">
</span><del>- Merge r157056
</del><ins>+ * loader/icon/IconDatabase.cpp: Removed unneeded includes. Use override for
+ virtual functions.
</ins><span class="cx">
</span><del>- 2013-10-07 Tim Horton <timothy_horton@apple.com>
</del><ins>+ * loader/icon/IconDatabase.h: Removed unneeded includes. Marked the class final.
+ Use override for virtual functions. Use a public constructor instead of a create
+ function.
</ins><span class="cx">
</span><del>- Animated images are not restarted when page visibility changes
- https://bugs.webkit.org/show_bug.cgi?id=122464
- <rdar://problem/14293474>
</del><ins>+ * loader/icon/IconDatabaseBase.h: Removed unneeded includes.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+2014-05-13 Kiran <kiran.guduru@samsung.com>
</ins><span class="cx">
</span><del>- Always kickstart animated images when the page visibility changes,
- which can occur via window occlusion, and which is independent of in-window
- state, which we were previously using to advance animation.
</del><ins>+ [MediaStream] MediaStream.addTrack Should not check for active state.
+ https://bugs.webkit.org/show_bug.cgi?id=132558
</ins><span class="cx">
</span><del>- No new tests; attempts to make a test have resulted only in a flaky, timing-dependent test.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * page/Frame.cpp:
- (WebCore::Frame::resumeActiveDOMObjectsAndAnimations):
- Move this call to resumeAnimatingImages() up to Page.
</del><ins>+ MediaStream.addTrack method is checking for active state of a
+ MediaStream, but it should not check for active state while adding a Track.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::setIsInWindow):
- Move this call to resumeAnimatingImages() up to Page.
</del><ins>+ Test: fast/mediastream/MediaStream-add-tracks-to-inactive-stream.html
</ins><span class="cx">
</span><del>- * WebCore.exp.in
- * page/FrameView.h:
- * page/Page.h:
- Move resumeAnimatingImages() itself up to Page.
</del><ins>+ * Modules/mediastream/MediaStream.cpp:
+ (WebCore::MediaStream::addTrack):
</ins><span class="cx">
</span><del>- * page/Page.cpp:
- (WebCore::Page::setIsInWindow):
- Resume animated images when we move in-window.
</del><ins>+2014-05-12 Mark Lam <mark.lam@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::Page::setVisibilityState):
- Resume animated images when we become visible.
- This is the one we were previously missing.
</del><ins>+ WebKit2 on iOS needs to capture the main thread's floating point environment.
+ <https://webkit.org/b/132755>
</ins><span class="cx">
</span><del>- (WebCore::Page::resumeActiveDOMObjectsAndAnimations):
- Resume animated images when we're told to.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- (WebCore::Page::resumeAnimatingImages):
- Kickstart any animated images in all frames.
</del><ins>+ For iOS, WorkerThread::workerThread() expects to be able to initialize the
+ worker thread's floating point environment to be the same as the one in the
+ main thread. The FP env of the main thread is expected to have been captured
+ in the mainThreadFEnv global. On WebKit2 for iOS, we neglected to initialize
+ mainThreadFEnv.
</ins><span class="cx">
</span><del>-2013-10-28 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ We now introduce a FloatingPointEnvironment class that will encapsulate the main
+ thread (aka "UIThread") fenv, and we'll call FloatingPointEnv::saveMainThreadEnvironment()
+ from ChildProcess::platformInitialize() to ensure that the FloatingPointEnvironment
+ singleton instance is initialized properly for WebKit2.
</ins><span class="cx">
</span><del>-
- Merge r155221.
</del><ins>+ In the ChildProcess::platformInitialize(), we also need to initialize the ARMv7
+ FP env to support denormalized numbers. We'll do this before calling
+ saveMainThreadEnvironment().
</ins><span class="cx">
</span><del>-
- 2013-09-06 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Tests: fast/workers/worker-floating-point.html
+ js/floating-point-denormalized.html
</ins><span class="cx">
</span><del>- [Windows] StructuredExceptionHandlerSuppressor Causes Bad Interactions with Support Libraries
- https://bugs.webkit.org/show_bug.cgi?id=120901
</del><ins>+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/ios/wak/FloatingPointEnvironment.cpp: Added.
+ (WebCore::FloatingPointEnvironment::env):
+ (WebCore::FloatingPointEnvironment::FloatingPointEnvironment):
+ (WebCore::FloatingPointEnvironment::enableDenormalSupport):
+ (WebCore::FloatingPointEnvironment::saveMainThreadEnvironment):
+ (WebCore::FloatingPointEnvironment::propagateMainThreadEnvironment):
+ * platform/ios/wak/FloatingPointEnvironment.h: Added.
+ * platform/ios/wak/WebCoreThread.h:
+ * platform/ios/wak/WebCoreThread.mm:
+ (RunWebThread):
+ (StartWebThread):
+ * workers/WorkerThread.cpp:
+ (WebCore::WorkerThread::workerThread):
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-05-12 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- Change from old "crash on any exception" implementation to a new version that leaves normal
- exception handling infrastructure in place for use by support libraries. We check exceptions
- and decide whether to abort or not based on the failure type.
</del><ins>+ SVG root element accepts background color but fails to repaint it
+ https://bugs.webkit.org/show_bug.cgi?id=63153
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Add new implementation files.
- * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
- * platform/graphics/ca/win/LayerChangesFlusher.cpp:
- (WebCore::LayerChangesFlusher::hookCallback): Allocate handler struct on stack.
- * platform/win/StructuredExceptionHandlerSuppressor.cpp: Added.
- (exceptionShouldTerminateProgram): New.
- (exceptionHandler): New.
- (WebCore::StructuredExceptionHandlerSuppressor::StructuredExceptionHandlerSuppressor): Moved
- from header, and updated to add our new exception handler.
- (WebCore::StructuredExceptionHandlerSuppressor::~StructuredExceptionHandlerSuppressor): Moved
- from header.
- * platform/win/StructuredExceptionHandlerSuppressor.h: Move implementation of constructor and
- destructor from header file.
- * platform/win/makesafeseh.asm: Added.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>-2013-10-28 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ This is back ported from Blink. Don't know the exact commit though.
+ The patch checks if the SVGSVGElement is an outermost root element.
+ If it is, mark the whole element for repaint.
</ins><span class="cx">
</span><del>- Merge r155215.
</del><ins>+ Test: svg/custom/svg-root-background.html
</ins><span class="cx">
</span><del>- 2013-09-06 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::calculateHasBoxDecorations):
+ (WebCore::RenderBoxModelObject::updateFromStyle):
+ * rendering/RenderBoxModelObject.h:
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::RenderSVGRoot):
+ (WebCore::RenderSVGRoot::layout):
+ (WebCore::RenderSVGRoot::paintReplaced):
+ (WebCore::RenderSVGRoot::clippedOverflowRectForRepaint):
+ This is a simple optimization by taking the necessary parts
+ from RenderReplaced and SVGRenderSupport.
+ * rendering/svg/RenderSVGRoot.h:
</ins><span class="cx">
</span><del>- [Windows] Unreviewed gardening: Spell 'Suppressor' properly
</del><ins>+2014-05-12 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Change StructuredExceptionHandlerSupressor to StructuredExceptionHandlerSuppressor
- * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto
- * platform/graphics/ca/win/LayerChangesFlusher.cpp:
- (WebCore::LayerChangesFlusher::hookCallback): Ditto
- * platform/win/StructuredExceptionHandlerSuppressor.h: Copied from platform/win/StructuredExceptionHandlerSupressor.h.
- * platform/win/StructuredExceptionHandlerSupressor.h: Removed.
</del><ins>+ [iOS] Fixed items are sometimes clipped after rubber-banding
+ https://bugs.webkit.org/show_bug.cgi?id=132851
+ <rdar://problem/16870790>
</ins><span class="cx">
</span><del>-2013-10-28 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- Merge r157298
</del><ins>+ On iOS fixed-position layers would get clipped to the document rect,
+ but with rubber-banding, we can now have a custom fixed postion rect
+ that extends outside the document rect.
+
+ Another issue was that we would un-composite fixed elements sometimes
+ when scrolling fast, again because they could fall outside of the document rect.
+
+ A final issue was that pinching could reveal parts of fixed elements that should
+ lie outside the viewport, rather than clipping the layers.
+
+ Fix by converting both call points to use viewportConstrainedVisibleContentRect()
+ rather than viewportConstrainedExtentRect(). On non-iOS platforms these are
+ the same, but on iOS viewportConstrainedVisibleContentRect() uses the
+ custom fixed position rect, which is the correct rect to intersect with.
</ins><span class="cx">
</span><del>- 2013-10-10 Dean Jackson <dino@apple.com>
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateCompositedBounds):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::requiresCompositingForPosition):
</ins><span class="cx">
</span><del>- Use after free in WebCore::DisplayRefreshMonitorClient::fireDisplayRefreshIfNeeded
- http://webkit.org/b/121033
</del><ins>+2014-05-06 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Don't dispatch 'beforeload' event inside FrameView::layout()
</ins><span class="cx">
</span><del>- Add an ASSERT to detect if an animation client will be removed
- during the callback dispatch.
</del><ins>+ https://bugs.webkit.org/show_bug.cgi?id=132621
+ <rdar://problem/15661470>
</ins><span class="cx">
</span><del>- Test: fast/animation/request-animation-frame-remove-client.html
</del><ins>+ This merges Blink revision 162073 with minor renaming and style
+ changes. From that commit:
</ins><span class="cx">
</span><del>- * platform/graphics/DisplayRefreshMonitor.cpp:
- (WebCore::DisplayRefreshMonitor::displayDidRefresh):
</del><ins>+ Executing JavaScript code inside FrameView::layout() is problematic.
+ e.g. an assertion failure tested in fast/events/beforeload-assertion.html.
+ We should avoid it.
</ins><span class="cx">
</span><del>-2013-10-28 Lucas Forschler <lforschler@apple.com>
</del><ins>+ This CL makes 'beforeload' event dispatching for plugins and iframes asynchronous,
+ except plugin access from JavaScript code (HTMLPlugInElement::
+ renderWidgetForJSBindings).
</ins><span class="cx">
</span><del>- Merge r155554
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- 2013-09-11 Myles C. Maxfield <mmaxfield@apple.com>
</del><ins>+ Tests: fast/events/beforeload-assertion.html
+ fast/events/beforeload-iframe-crash.html
+ fast/events/beforeload-input-time-crash.html
</ins><span class="cx">
</span><del>- Fix nested unicode-bidi: isolate
- https://bugs.webkit.org/show_bug.cgi?id=120504
</del><ins>+ * WebCore.exp.in:
+ * dom/Document.cpp:
+ (WebCore::Document::updateLayoutIgnorePendingStylesheets):
+ * dom/Document.h:
+ * html/HTMLAppletElement.cpp:
+ (WebCore::HTMLAppletElement::renderWidgetForJSBindings):
+ * html/HTMLEmbedElement.cpp:
+ (WebCore::HTMLEmbedElement::renderWidgetForJSBindings):
+ * html/HTMLObjectElement.cpp:
+ (WebCore::HTMLObjectElement::renderWidgetForJSBindings):
+ * page/FrameView.cpp:
+ (WebCore::FrameView::FrameView):
+ (WebCore::FrameView::reset):
+ (WebCore::FrameView::updateEmbeddedObjectsTimerFired):
+ (WebCore::FrameView::flushAnyPendingPostLayoutTasks):
+ (WebCore::FrameView::performPostLayoutTasks):
+ * page/FrameView.h:
+ * testing/Internals.cpp:
+ (WebCore::Internals::updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks):
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-05-12 Roger Fong <roger_fong@apple.com>
</ins><span class="cx">
</span><del>- When we have a nested isolate renderer if the outer isolate has a text
- and this text is not the first child, the isolated chain is not
- rendered correctly. This happens because constructBidiRunsForSegment
- uses always the first inner isolated renderer as isolated inline
- container. This patch fixes the behavior described changing
- containingIsolate to find the right isolated container.
</del><ins>+ Limit number of active graphics contexts per web process.
+ https://bugs.webkit.org/show_bug.cgi?id=132833.
+ <rdar://problem/16888459>
</ins><span class="cx">
</span><del>- Merged from Blink: https://chromium.googlesource.com/chromium/blink/+/840a57050eade39dd04dde0c6603e129b783151c
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Tests: fast/text/international/unicode-bidi-isolate-nested-first-child-text.html
- fast/text/international/unicode-bidi-isolate-nested-simple.html
</del><ins>+ Test: webgl/many-contexts.html
</ins><span class="cx">
</span><del>- * rendering/InlineIterator.h:
- (WebCore::containingIsolate):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::constructBidiRunsForSegment):
</del><ins>+ * platform/graphics/GraphicsContext3D.h:
+ * platform/graphics/mac/GraphicsContext3DMac.mm: Limit number of active contexts to 16.
+ (WebCore::GraphicsContext3D::create):
+ (WebCore::GraphicsContext3D::~GraphicsContext3D):
</ins><span class="cx">
</span><del>-2013-10-28 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-12 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge r155665
</del><ins>+ Build fix fix.
</ins><span class="cx">
</span><del>- 2013-09-12 Tim Horton <timothy_horton@apple.com>
</del><ins>+ * page/scrolling/ScrollingCoordinator.cpp:
+ (WebCore::ScrollingCoordinator::contentShadowLayerForFrameView):
</ins><span class="cx">
</span><del>- [mac] Cache rendered image in PDFDocumentImage
- https://bugs.webkit.org/show_bug.cgi?id=121207
</del><ins>+2014-05-12 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ DataDetectorUI doesn't update with resize
+ https://bugs.webkit.org/show_bug.cgi?id=132830
+ <rdar://problem/16871179>
</ins><span class="cx">
</span><del>- Tests: fast/images/pdf-as-image-too-big.html
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * loader/cache/CachedImage.cpp:
- (WebCore::CachedImage::createImage):
- PDFDocumentImage takes a ImageObserver now so that it can report
- decoded data size changes to the memory cache.
</del><ins>+ * editing/Editor.cpp:
+ (WebCore::Editor::scanSelectionForTelephoneNumbers): Add public, no-argument
+ version that can be called after layout changes.
+ (WebCore::Editor::didLayout): Reprocess telephone number data
+ since Ranges will have changed.
+ * editing/Editor.h:
+ * editing/FrameSelection.cpp:
+ (WebCore::FrameSelection::updateDataDetectorsForSelection): Added.
+ * editing/FrameSelection.h:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::performPostLayoutTasks): Ask the FrameSelection to update the
+ Range information for selected phone numbers.
</ins><span class="cx">
</span><del>- * platform/graphics/Image.h:
- (WebCore::Image::isPDFDocumentImage): Added.
</del><ins>+2014-05-12 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/cg/PDFDocumentImage.cpp:
- (WebCore::PDFDocumentImage::PDFDocumentImage):
- PDFDocumentImage takes a ImageObserver now so that it can report
- decoded data size changes to the memory cache.
</del><ins>+ Fix the iOS build.
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::applyRotationForPainting):
- Fix up some comments, and use GraphicsContext instead of CG API.
</del><ins>+ * page/scrolling/ScrollingCoordinator.cpp:
+ (WebCore::ScrollingCoordinator::contentShadowLayerForFrameView):
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::cacheParametersMatch):
- Determine whether our cached image is still valid, given the new
- destination's size, CTM scale, and source rect.
</del><ins>+2014-05-12 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::transformContextForPainting): Added.
</del><ins>+ [iOS WK2] Fuzzy tiles on some sites on loading
+ https://bugs.webkit.org/show_bug.cgi?id=132847
+ <rdar://problem/16816178>
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::updateCachedImageIfNeeded):
- Cache a rendered bitmap of the PDF. Invalidate the cache if cacheParametersMatch
- decides that the parameters don't match, unless we're painting in low quality mode,
- in which case we'll scale the existing image (and then fully repaint when the
- high-quality repaint timer fires).
- Inform the memory cache of our new size.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::draw):
- Update the cached image if needed.
- Paint the cached image into the context if it's available (which it might not be,
- if the image is way too big and the allocation fails). Otherwise, paint straight
- into the context as we previously did.
</del><ins>+ Export WebCore::TileController::contentsScale() const
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::destroyDecodedData):
- Throw away the cached image if requested.
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::decodedSize):
- (WebCore::PDFDocumentImage::drawPDFPage):
- Drive-by use GraphicsContext instead of CG directly.
</del><ins>+2014-05-12 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/cg/PDFDocumentImage.h:
- (WebCore::PDFDocumentImage::create):
- Override isPDFDocumentImage().
- Add storage for the cached image buffer and various cache parameters.
</del><ins>+ Add debug dumping for ViewportConfiguration
+ https://bugs.webkit.org/show_bug.cgi?id=132843
</ins><span class="cx">
</span><del>- * rendering/ImageQualityController.cpp:
- (WebCore::ImageQualityController::shouldPaintAtLowQuality):
- PDFDocumentImage is also interested in/capable of low-quality painting now.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>-2013-10-28 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Add some TextStream-based dumping for ViewportConfiguration.
</ins><span class="cx">
</span><del>- Merge r155664
</del><ins>+ * page/ViewportConfiguration.cpp:
+ (WebCore::ViewportConfiguration::updateConfiguration):
+ (WebCore::ViewportConfigurationTextStream::ViewportConfigurationTextStream):
+ (WebCore::ViewportConfigurationTextStream::increaseIndent):
+ (WebCore::ViewportConfigurationTextStream::decreaseIndent):
+ (WebCore::dumpProperty):
+ (WebCore::ViewportConfigurationTextStream::writeIndent):
+ (WebCore::ViewportConfigurationTextStream::operator<<):
+ (WebCore::ViewportConfiguration::description):
+ (WebCore::ViewportConfiguration::dump):
+ * page/ViewportConfiguration.h:
</ins><span class="cx">
</span><del>- 2013-09-12 Tim Horton <timothy_horton@apple.com>
</del><ins>+2014-05-12 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- Image doesn't always repaint at high quality in all tiles after a live resize
- https://bugs.webkit.org/show_bug.cgi?id=121244
</del><ins>+ Followup to "Teach Editor to support more direct replacement of a Node"
+ <rdar://problem/16817952> and https://bugs.webkit.org/show_bug.cgi?id=132834
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Pair programmed and pair reviewed by Brady Eidson and Darin Adler.
</ins><span class="cx">
</span><del>- Currently, ImageQualityController removes an image from its low-quality-images
- list from inside shouldPaintAtLowQuality, if this is the first paint outside
- of a live resize, but does not force the renderer to repaint in its entirety.
</del><ins>+ * editing/mac/EditorMac.mm:
+ (WebCore::maybeCopyNodeAttributesToFragment):
+ (WebCore::Editor::replaceNodeFromPasteboard):
</ins><span class="cx">
</span><del>- However, there's no guarantee we've invalidated the whole renderer, so this can
- leave some parts of the image painted in low-quality.
</del><ins>+2014-05-12 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- This just removes a short-circuit, instead using the ordinary high-quality-repaint
- timer to ensure that the entire renderer is repainted.
</del><ins>+ Content shadow layer needs to move in sync with the content layer
+ https://bugs.webkit.org/show_bug.cgi?id=132841
+ -and corresponding-
+ <rdar://problem/16641115>
</ins><span class="cx">
</span><del>- No new test; all attempts have failed, as this depends on tiled drawing
- and a live resize occurring.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * rendering/ImageQualityController.cpp:
- (WebCore::ImageQualityController::shouldPaintAtLowQuality):
</del><ins>+ Now that the root content layer moves a little bit (for y scroll positions between
+ 0 and topContentInset), the shadow layer needs to move along with it since the
+ shadow layer should always have the same position as the root content layer.
</ins><span class="cx">
</span><del>-2013-10-28 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Set the root state node’s shadow layer, and update the position whenever the root
+ content layer’s position is updated.
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::frameViewRootLayerDidChange):
+ (WebCore::AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll):
</ins><span class="cx">
</span><del>- Rollout 158067.
</del><ins>+ Fetch the compositor’s layerForContentShadow().
+ * page/scrolling/ScrollingCoordinator.cpp:
+ (WebCore::ScrollingCoordinator::contentShadowLayerForFrameView):
+ * page/scrolling/ScrollingCoordinator.h:
</ins><span class="cx">
</span><del>-2013-10-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Hook up the contentShadowLayer in the state node.
+ * page/scrolling/ScrollingStateScrollingNode.cpp:
+ (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode):
+ (WebCore::ScrollingStateScrollingNode::setContentShadowLayer):
</ins><span class="cx">
</span><del>- Merge r155608
</del><ins>+ Hook it up in the ScrollingTreeNode as well. Move the layer whenever the m
+ _scrolledContentsLayer is moved.
+ * page/scrolling/ScrollingStateScrollingNode.h:
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::updateBeforeChildren):
+ (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
</ins><span class="cx">
</span><del>- 2013-09-12 Zalan Bujtas <zalan@apple.com>
</del><ins>+ The shadow layer needs an anchor point now that we are moving it around.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
</ins><span class="cx">
</span><del>- Crash in ScrollingStateStickyNode::updateConstraints
- https://bugs.webkit.org/show_bug.cgi?id=119638
</del><ins>+2014-05-12 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ <svg> with opacity and compositing double-applies its opacity
+ https://bugs.webkit.org/show_bug.cgi?id=116856
</ins><span class="cx">
</span><del>- Ensure when a scrolling state node is removed from the state tree,
- we remove both the current node and all its children from the
- associated m_stateNodeMap lookup table.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Test: fast/css/sticky/multiple-layers-sticky-crash.html
</del><ins>+ The opacity is applied by the compositor. However, all SVG elements
+ create transparency layers on their own to apply opacity. So did
+ SVGSVGElement.
</ins><span class="cx">
</span><del>- * page/scrolling/ScrollingStateNode.cpp:
- (WebCore::ScrollingStateNode::removeChild):
- (WebCore::ScrollingStateNode::willBeRemovedFromStateTree):
- * page/scrolling/ScrollingStateNode.h:
</del><ins>+ Added a check if the current element has a compositing layer and skip
+ creating transparency layer if it has.
</ins><span class="cx">
</span><del>-2013-10-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Test: svg/custom/composited-svg-with-opacity.html
</ins><span class="cx">
</span><del>- Merge r155546
</del><ins>+ * rendering/svg/SVGRenderingContext.cpp:
+ (WebCore::SVGRenderingContext::prepareToRenderSVGContent):
</ins><span class="cx">
</span><del>- 2013-09-10 Simon Fraser <simon.fraser@apple.com>
</del><ins>+2014-05-12 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- REGRESSION (143483): overflow:hidden doesn't quash big repaints from text-indent: -9999px
- https://bugs.webkit.org/show_bug.cgi?id=121137
</del><ins>+ Teach Editor to support more direct replacement of a Node
+ <rdar://problem/16817952> and https://bugs.webkit.org/show_bug.cgi?id=132834
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>- The change in r143483 made it so that negative text-indent gets added
- to visual oveflow even when we have overflow:hidden, which is really bad
- because it causes large repaints (and large layers) for a common-on-the-web
- pattern.
</del><ins>+ The new method "Editor::replaceNodeFromPasteboard" has the intent that the new DocumentFragment
+ from the pasteboard is as similar to the old Node as possible.
</ins><span class="cx">
</span><del>- Revert the change, and add a new test to make sure it doesn't regress.
</del><ins>+ In practice, the new DocumentFragment:
+ 1 - Can represent a single node that's missing various attributes the original Node had.
+ 2 - Can be an unwanted fragment of arbitrary depth when the replacement happens inside Mail.app
</ins><span class="cx">
</span><del>- I can't reproduce the bug it was trying to fix with the change reverted.
</del><ins>+ This fixes both of these issues.
</ins><span class="cx">
</span><del>- Tests: compositing/geometry/negative-text-indent-with-overflow-hidden-layer.html
- fast/repaint/negative-text-indent-with-overflow-hidden.html
</del><ins>+ Add a MailBlockquoteHandling enum class for various Editor operations to pass through to the
+ ReplaceSelectionCommand:
+ * editing/Editor.cpp:
+ (WebCore::Editor::handleTextEvent):
+ (WebCore::Editor::pasteAsFragment):
+ (WebCore::Editor::pasteWithPasteboard):
+ (WebCore::Editor::replaceSelectionWithFragment):
+ * editing/Editor.h:
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::computeOverflow):
</del><ins>+ * dom/TextEvent.cpp:
+ (WebCore::TextEvent::createForPlainTextPaste):
+ (WebCore::TextEvent::createForFragmentPaste):
+ (WebCore::TextEvent::TextEvent):
+ * dom/TextEvent.h:
+ (WebCore::TextEvent::mailBlockquoteHandling):
</ins><span class="cx">
</span><del>-2013-10-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * editing/ReplaceSelectionCommand.cpp:
+ (WebCore::ReplaceSelectionCommand::ReplaceSelectionCommand):
+ (WebCore::ReplaceSelectionCommand::doApply): Consider whether or not this particular Editor
+ operation was meant to give special consideration to Mail's Blockquotes.
+ * editing/ReplaceSelectionCommand.h:
</ins><span class="cx">
</span><del>- Merge r155468
</del><ins>+ * editing/efl/EditorEfl.cpp:
+ (WebCore::Editor::pasteWithPasteboard):
+ * editing/ios/EditorIOS.mm:
+ (WebCore::Editor::pasteWithPasteboard):
</ins><span class="cx">
</span><del>- 2013-09-10 Tim Horton <timothy_horton@apple.com>
</del><ins>+ * editing/mac/EditorMac.mm:
+ (WebCore::Editor::pasteWithPasteboard):
+ (WebCore::Editor::readSelectionFromPasteboard):
+ (WebCore::maybeCopyNodeAttributesToFragment): If the new DocumentFragment represents a single HTML node
+ with the same tag name is the original HTML node, copy over most attributes from the original node.
+ (WebCore::Editor::replaceNodeFromPasteboard): Create the fragment, run it through maybeCopyNodeAttributesToFragment.
</ins><span class="cx">
</span><del>- [mac] PDFDocumentImage should use PDFKit to draw
- https://bugs.webkit.org/show_bug.cgi?id=120651
- <rdar://problem/12810731>
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- Unreviewed hopeful build fix.
</del><ins>+2014-05-12 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- * platform/graphics/mac/PDFDocumentImageMac.mm:
</del><ins>+ Progress on web timing.
+ https://bugs.webkit.org/show_bug.cgi?id=132574
</ins><span class="cx">
</span><del>-2013-10-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- Merge r155461
</del><ins>+ * CMakeLists.txt:
+ Removed ResourceLoadTiming.cpp.
+ * WebCore.exp.in:
+ Added linker symbols for ResourceLoadTiming.
+ * WebCore.xcodeproj/project.pbxproj:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ Removed ResourceLoadTiming.cpp.
+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::buildObjectForTiming):
+ * inspector/protocol/Network.json:
+ Updated ResourceTiming structure.
+ * loader/DocumentLoadTiming.cpp:
+ (WebCore::DocumentLoadTiming::setNavigationStart):
+ * loader/DocumentLoadTiming.h:
+ Deleted unused setNavigationStart function.
+ * page/Performance.idl:
+ Updated spec URL.
+ * page/PerformanceResourceTiming.cpp:
+ (WebCore::PerformanceResourceTiming::domainLookupStart):
+ (WebCore::PerformanceResourceTiming::domainLookupEnd):
+ (WebCore::PerformanceResourceTiming::connectStart):
+ (WebCore::PerformanceResourceTiming::secureConnectionStart):
+ (WebCore::PerformanceResourceTiming::responseEnd):
+ Updated ResourceLoadTiming member variable names.
+ (WebCore::PerformanceResourceTiming::responseStart):
+ * page/PerformanceResourceTiming.h:
+ * page/PerformanceResourceTiming.idl:
+ Deleted responseStart because it is not in the spec.
+ * page/PerformanceTiming.cpp:
+ (WebCore::PerformanceTiming::domainLookupStart):
+ (WebCore::PerformanceTiming::domainLookupEnd):
+ (WebCore::PerformanceTiming::connectStart):
+ (WebCore::PerformanceTiming::secureConnectionStart):
+ (WebCore::PerformanceTiming::requestStart):
+ (WebCore::PerformanceTiming::responseStart):
+ Updated ResourceLoadTiming member variable names.
+ (WebCore::PerformanceTiming::resourceLoadTimeRelativeToAbsolute):
+ Use navigationStart as base for resource load times.
+ * page/PerformanceTiming.idl:
+ Updated spec URL.
+ * platform/network/HTTPParsers.h:
+ Removed unused class declarations.
+ * platform/network/ResourceHandle.h:
+ Moved soup request time from ResourceLoadTiming to ResourceHandle.
+ * platform/network/ResourceLoadTiming.cpp: Removed.
+ * platform/network/ResourceLoadTiming.h:
+ (WebCore::ResourceLoadTiming::deepCopy):
+ (WebCore::ResourceLoadTiming::operator==):
+ (WebCore::ResourceLoadTiming::ResourceLoadTiming):
+ Updated ResourceLoadTiming member variable names.
+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::createNSURLConnection):
+ Collect timing data.
+ * platform/network/mac/WebCoreResourceHandleAsDelegate.mm:
+ (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
+ * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm:
+ (-[WebCoreResourceHandleAsOperationQueueDelegate connection:didReceiveResponse:]):
+ Save timing data to a ResourceLoadTiming on the ResourceResponse.
+ * platform/network/soup/ResourceHandleSoup.cpp:
+ (WebCore::gotHeadersCallback):
+ (WebCore::restartedCallback):
+ (WebCore::milisecondsSinceRequest):
+ (WebCore::ResourceHandle::didStartRequest):
+ (WebCore::networkEventCallback):
+ (WebCore::createSoupMessageForHandleAndRequest):
+ (WebCore::ResourceHandle::sendPendingRequest):
+ Updated ResourceLoadTiming member variable names.
+ (WebCore::wroteBodyCallback): Deleted.
</ins><span class="cx">
</span><del>- 2013-09-10 Tim Horton <timothy_horton@apple.com>
</del><ins>+2014-05-12 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- [mac] PDFDocumentImage should use PDFKit to draw
- https://bugs.webkit.org/show_bug.cgi?id=120651
- <rdar://problem/12810731>
</del><ins>+ SVG outline property is broken and inefficient
+ https://bugs.webkit.org/show_bug.cgi?id=113666
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Use PDFKit to draw PDF-in-<img> on Mac, so that annotations in PDF are painted.
</del><ins>+ Patch by Erik Dahlström backported from Blink.
</ins><span class="cx">
</span><del>- Test: fast/images/pdf-as-image-with-annotations.html
</del><ins>+ "[SVG2] css 'outline' property should apply to svg elements
</ins><span class="cx">
</span><del>- * WebCore.xcodeproj/project.pbxproj:
- Add PDFDocumentImageMac.mm.
</del><ins>+ The 'outline' property was only partially working in SVG before
+ this patch, this makes it work on text and text content child
+ elements too.
</ins><span class="cx">
</span><del>- * platform/graphics/cg/PDFDocumentImage.cpp:
- (WebCore::PDFDocumentImage::PDFDocumentImage):
- We don't need to initialize m_document anymore because it's now a RetainPtr.
- Initialize m_hasPage to false.
</del><ins>+ This makes SVG render the outlines as part of the foreground paint
+ phase.
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::~PDFDocumentImage):
- We don't need to manually release our CGPDFDocumentRef anymore because it's now a RetainPtr.
</del><ins>+ Partly based on Florin Malita's webkit patch https://bugs.webkit.org/show_bug.cgi?id=113666#c12."
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::size):
- Use expandedIntSize for explicitness.
</del><ins>+ Tests: svg/custom/outline-stacking-expected.svg
+ svg/custom/outline-stacking.svg
+ svg/custom/rgba-color-outline.svg
+ svg/text/text-outline-expected.svg
+ svg/text/text-outline-rgba.html
+ svg/text/text-outline.html
+ svg/text/textpath-outline-expected.svg
+ svg/text/textpath-outline.svg
+ svg/text/tspan-multiple-outline.svg
+ svg/text/tspan-outline-2-expected.svg
+ svg/text/tspan-outline-2.svg
+ svg/text/tspan-outline-expected.svg
+ svg/text/tspan-outline.html
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::applyRotationForPainting):
- Rename adjustCTM to applyRotationForPainting, and move the one non-rotation related transformation out.
- We need to do this because PDFKit applies the rotation transformation itself, so we don't need to.
- Also, explicitly use std::min instead of importing the whole std namespace.
</del><ins>+ * rendering/svg/RenderSVGContainer.cpp:
+ (WebCore::RenderSVGContainer::paint): Draw outline in forground
+ paint phase.
+ * rendering/svg/RenderSVGImage.cpp:
+ (WebCore::RenderSVGImage::paint): Draw outline in forground
+ paint phase.
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::paintReplaced): Pass paint offset.
+ * rendering/svg/RenderSVGShape.cpp:
+ (WebCore::RenderSVGShape::paint): Draw outline in forground
+ paint phase.
+ * rendering/svg/RenderSVGText.cpp:
+ (WebCore::RenderSVGText::paint): Draw outline in forground
+ paint phase.
+ * rendering/svg/SVGInlineFlowBox.cpp:
+ (WebCore::SVGInlineFlowBox::paint): Pass paint offset.
+ * rendering/svg/SVGInlineTextBox.cpp:
+ (WebCore::SVGInlineTextBox::paint): Draw outline in forground
+ paint phase.
+ * rendering/svg/SVGRootInlineBox.cpp:
+ (WebCore::SVGRootInlineBox::paint): Pass paint offset.
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::dataChanged):
- Assert that we don't re-enter dataChanged after we've created a document,
- because it seems like that shouldn't happen - we only create a document when
- we've supposedly received all data, and it would be nice if we didn't have
- all this varying code to deal with SharedBuffers changing out from under each other.
- Factor the code to create a CGPDFDocumentRef out into createPDFDocument, so we can
- replace it with a different implementation that creates a PDFDocument.
</del><ins>+2014-05-12 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::setCurrentPage):
- Make all page-number-related things unsigned, since they are in CG and PDFKit,
- and add m_hasPage to denote whether we've acquired a valid page yet.
- Factor code to retrieve the PDF box bounds into computeBoundsForCurrentPage.
- Remove setCurrentPage itself, as we never use a page other than the first page;
- we will call computeBoundsForCurrentPage and set hasPage in dataChanged, now.
</del><ins>+ Layer for bottom overhang area needs to be offset by the topContentInset
+ https://bugs.webkit.org/show_bug.cgi?id=132835
+ -and corresponding-
+ <rdar://problem/16641115>
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::draw):
- Fix a weird comment.
- Factor code that actually draws the PDF out into drawPDFPage.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- The rest of the functions in this file are only built for USE(CG) && !PLATFORM(MAC):
</del><ins>+ Push this layer down by the topContentInset in addition to the root layer height,
+ footer height, and header height.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateLayerForBottomOverhangArea):
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::createPDFDocument):
- Factored out of dataChanged(). Use the PLATFORM(MAC) way of making a
- CGDataProvider from a SharedBuffer everywhere; we're already using it on
- iOS, and it should also work for Windows, the only other USE(CG) platform.
- Since we only createPDFDocument() after all data has been received, remove
- the comment about the SharedBuffer being secretly written to behind its back.
</del><ins>+2014-05-09 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::computeBoundsForCurrentPage):
- Factored out of setCurrentPage().
- Use deg2rad since we have it.
</del><ins>+ REGRESSION (r167818): editing/inserting/typing-space-to-trigger-smart-link.html fails on WebKit1 bots
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::pageCount):
- (WebCore::PDFDocumentImage::drawPDFPage):
- Factored out of draw().
- Reduced an unnecessary transform (we were effectively doing mediaBox.origin - cropBox.origin - mediaBox.origin).
</del><ins>+ <https://bugs.webkit.org/show_bug.cgi?id=132207>
+ <rdar://problem/16730393>
</ins><span class="cx">
</span><del>- * platform/graphics/cg/PDFDocumentImage.h:
- Unindent all the things, as we don't indent the first level inside a namespace scope.
- Forward-declare PDFDocument.
- Make m_currentPage unsigned as it should be.
- Add m_hasPage.
- Make m_document a PDFDocument on PLATFORM(MAC) and a CGPDFDocumentRef on other platforms.
</del><ins>+ Reverts the previous workaround in favor of a more specific fix for the
+ null dereference.
</ins><span class="cx">
</span><del>- * platform/graphics/mac/PDFDocumentImageMac.mm: Added.
- Soft-link in PDFKit and specifically the PDFDocument class.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::createPDFDocument):
- Create our PDFDocument from the SharedBuffer's NSData directly. This shouldn't be a problem
- (with respect to the SharedBuffer's data being appended to in secret), because we've waited
- for the document to finish loading before getting here.
</del><ins>+ * editing/ApplyStyleCommand.cpp:
+ (WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange):
+ Check whether the run's start and end are still in the document, as
+ removeConflictingInlineStyleFromRun() may have removed them.
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::computeBoundsForCurrentPage):
- Ask PDFKit for the page's media and crop boxes; it automatically performs the correct fallback.
- Ask PDFKit for the page's rotation.
</del><ins>+ * editing/CompositeEditCommand.cpp:
+ (WebCore::CompositeEditCommand::apply):
+ Reverted previous workaround.
+ (WebCore::ApplyEditCommand::ReentrancyGuard::isRecursiveCall): Deleted.
+ (WebCore::ApplyEditCommand::ReentrancyGuard::Scope::Scope): Deleted.
+ (WebCore::ApplyEditCommand::ReentrancyGuard::Scope::~Scope): Deleted.
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::pageCount):
- Ask PDFKit for the page count.
</del><ins>+2014-05-12 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- (WebCore::PDFDocumentImage::drawPDFPage):
- Paint the current page of the PDF. Note that we do not apply the rotation here
- via applyRotationForPainting because PDFKit will do it itself.
- Save and restore two bits of CG state which aren't saved and restored with the
- graphics state, as PDFKit can mutate them above us (<rdar://problem/14951759>).
</del><ins>+ Clean up CrossThreadTask
+ https://bugs.webkit.org/show_bug.cgi?id=132800
</ins><span class="cx">
</span><del>- * platform/mac/SoftLinking.h:
- I couldn't find any clients of SOFT_LINK_FRAMEWORK_IN_CORESERVICES_UMBRELLA,
- so I made it the more generic SOFT_LINK_FRAMEWORK_IN_UMBRELLA, taking the name
- of the umbrella framework and the subframework, so I could use it to soft link
- Quartz.framework's PDFKit.framework.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-10-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Remove the createCallbackTask overloads and the related CrossThreadTask helper classes.
</ins><span class="cx">
</span><del>- Merge r155127
</del><ins>+ Instead, have one simple CrossThreadTask class that derives from ScriptExecutionContext::Task.
+ Its templated constructor takes in the method and the variadic pack of parameters. The cross-thread
+ copies of the parameters are then bound to that method and the resulting bind expression is used to
+ initialize the base class. The bind expression is constructed with a placeholder for the
+ ScriptExecutionContext* parameter that's provided through ScriptExecutionContext::Task::performTask().
</ins><span class="cx">
</span><del>- 2013-09-04 Anders Carlsson <andersca@apple.com>
</del><ins>+ * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didConnect):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessage):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didUpdateBufferedAmount):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didStartClosingHandshake):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didClose):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageError):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasks):
+ * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::send):
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::bufferedAmount):
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::didConnect):
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessage):
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData):
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::didUpdateBufferedAmount):
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::didStartClosingHandshake):
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::didClose):
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessageError):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadInitialize):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::initialize):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::connect):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::send):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::bufferedAmount):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::close):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::fail):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::disconnect):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::suspend):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::resume):
+ * dom/CrossThreadTask.h:
+ (WebCore::CrossThreadTask::CrossThreadTask):
+ (WebCore::CrossThreadTask1::CrossThreadTask1): Deleted.
+ (WebCore::CrossThreadTask1::performTask): Deleted.
+ (WebCore::CrossThreadTask2::CrossThreadTask2): Deleted.
+ (WebCore::CrossThreadTask2::performTask): Deleted.
+ (WebCore::CrossThreadTask3::CrossThreadTask3): Deleted.
+ (WebCore::CrossThreadTask3::performTask): Deleted.
+ (WebCore::CrossThreadTask4::CrossThreadTask4): Deleted.
+ (WebCore::CrossThreadTask4::performTask): Deleted.
+ (WebCore::CrossThreadTask5::CrossThreadTask5): Deleted.
+ (WebCore::CrossThreadTask5::performTask): Deleted.
+ (WebCore::CrossThreadTask6::CrossThreadTask6): Deleted.
+ (WebCore::CrossThreadTask6::performTask): Deleted.
+ (WebCore::CrossThreadTask7::CrossThreadTask7): Deleted.
+ (WebCore::CrossThreadTask7::performTask): Deleted.
+ (WebCore::CrossThreadTask8::CrossThreadTask8): Deleted.
+ (WebCore::CrossThreadTask8::performTask): Deleted.
+ (WebCore::createCallbackTask): Deleted.
+ * fileapi/FileReader.cpp:
+ (WebCore::FileReader::abort):
+ * loader/WorkerThreadableLoader.cpp:
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::MainThreadBridge):
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::destroy):
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::cancel):
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::didSendData):
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse):
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData):
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::didFinishLoading):
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::didFail):
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::didFailAccessControlCheck):
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::didFailRedirectCheck):
+ * loader/WorkerThreadableLoader.h:
+ * loader/cache/MemoryCache.cpp:
+ (WebCore::MemoryCache::removeRequestFromCache):
+ (WebCore::MemoryCache::removeRequestFromSessionCaches):
+ * workers/DefaultSharedWorkerRepository.cpp:
+ (WebCore::SharedWorkerProxy::postExceptionToWorkerObject):
+ (WebCore::SharedWorkerProxy::postConsoleMessageToWorkerObject):
+ * workers/WorkerMessagingProxy.cpp:
+ (WebCore::WorkerMessagingProxy::postConsoleMessageToWorkerObject):
+ (WebCore::WorkerMessagingProxy::workerObjectDestroyed):
+ (WebCore::WorkerMessagingProxy::connectToInspector):
+ (WebCore::WorkerMessagingProxy::disconnectFromInspector):
+ (WebCore::WorkerMessagingProxy::sendMessageToInspector):
</ins><span class="cx">
</span><del>- Vector::releaseBuffer should return an OwnPtr
- https://bugs.webkit.org/show_bug.cgi?id=120718
</del><ins>+2014-05-12 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Implement EXT_shader_texture_lod in WebGL.
+ https://bugs.webkit.org/show_bug.cgi?id=128985
+ <rdar://problem/16111396>
</ins><span class="cx">
</span><del>- Change FormStreamFields::currentData to an OwnPtr.
</del><ins>+ Based on Chromium patch by bajones@chromium.org.
+ https://src.chromium.org/viewvc/blink?revision=171465&view=revision
</ins><span class="cx">
</span><del>- * platform/network/cf/FormDataStreamCFNet.cpp:
- (WebCore::closeCurrentStream):
- (WebCore::advanceCurrentStream):
- (WebCore::formCreate):
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>-2013-10-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Test: webgl/conformance/extensions/ext-shader-texture-lod.html
+
+ * CMakeLists.txt:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ Added new EXTShaderTextureLOD files.
+ * bindings/js/JSWebGLRenderingContextCustom.cpp:
+ (WebCore::toJS):
+ Added EXTShaderTextureLOD.
+ * html/canvas/EXTShaderTextureLOD.cpp: Added.
+ (WebCore::EXTShaderTextureLOD::EXTShaderTextureLOD):
+ (WebCore::EXTShaderTextureLOD::~EXTShaderTextureLOD):
+ (WebCore::EXTShaderTextureLOD::getName):
+ * html/canvas/EXTShaderTextureLOD.h: Added.
+ * html/canvas/EXTShaderTextureLOD.idl: Added.
+ * html/canvas/WebGLExtension.h:
+ Added EXTShaderTextureLODName.
+ * html/canvas/WebGLObject.cpp:
+ Removed unused inclusion of EXTTextureFilterAnisotropic.h.
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::getExtension):
+ Added EXT_shader_texture_lod.
+ * html/canvas/WebGLRenderingContext.h:
+ Added a EXTShaderTextureLOD member variable.
</ins><span class="cx">
</span><del>- Merge r154915
</del><ins>+2014-05-12 Martin Hock <mhock@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-30 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Disallow drag and drop of non-displayable resources.
+ https://bugs.webkit.org/show_bug.cgi?id=132745
+ <rdar://problem/10562662>
</ins><span class="cx">
</span><del>- [Windows] Update to incorporate additional suggestions
- https://bugs.webkit.org/show_bug.cgi?id=120448
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler
</del><ins>+ Test: http/tests/security/drag-drop-local-file.html
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: Add
- notes as to why AVFoundationCF needs this extra method call.
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h: Use OVERRIDE
- * rendering/RenderVideo.cpp: Replace ternary operator with logical &&.
</del><ins>+ * page/DragController.cpp:
+ (WebCore::DragController::startDrag):
</ins><span class="cx">
</span><del>-2013-10-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-12 Jozsef Berta <jberta.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Merge r154914
</del><ins>+ WinCairo buildfix after r168611
+ https://bugs.webkit.org/show_bug.cgi?id=132825
</ins><span class="cx">
</span><del>- 2013-08-30 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- [Windows] Vide element in page always uses non-hw accelerated mode.
- https://bugs.webkit.org/show_bug.cgi?id=120448
</del><ins>+ * platform/network/curl/CurlDownload.cpp:
+ (WebCore::CurlDownloadManager::downloadThread):
+ (WebCore::CurlDownload::didReceiveHeader):
+ (WebCore::CurlDownload::didReceiveData):
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler
</del><ins>+2014-05-12 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- This patch is unfortunately larger than my original idea, but seems to make the
- layout system happier. Instead of switching into composited mode when building
- the media player, we now build the original layout tree with compositing active
- if the underlying media element requires it. The AVFoundationCF player needs to
- have the compositor available at construction time so it can attach to the
- rendering device. Otherwise it falls back to CPU-only mode.
</del><ins>+ REGRESSION (r159560): Text clips on tile border if line-height < font-size
+ https://bugs.webkit.org/show_bug.cgi?id=132822
</ins><span class="cx">
</span><del>- * platform/graphics/MediaPlayer.cpp:
- (WebCore::MediaPlayer::requiresImmediateCompositing): Added
- * platform/graphics/MediaPlayer.h:
- * platform/graphics/MediaPlayerPrivate.h:
- (WebCore::MediaPlayerPrivateInterface::requiresImmediateCompositing): Added
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::MediaPlayerPrivateAVFoundationCF::createAVPlayer): Added
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
- (WebCore::MediaPlayerPrivateAVFoundationCF::requiresImmediateCompositing):
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::requiresCompositingForVideo): Uses new
- 'requiresImmediateCompositing' to short-circuit check for whether a
- compositor is required.
- * rendering/RenderVideo.cpp:
- (WebCore::RenderVideo::requiresImmediateCompositing):
- * rendering/RenderVideo.h:
</del><ins>+ Reviewed by Andreas Kling.
+
+ The first line of simple line layout run range was miscomputed.
</ins><span class="cx">
</span><del>-2013-10-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Test: fast/text/simple-lines-range-low-line-height.html
</ins><span class="cx">
</span><del>- Merge r154890
</del><ins>+ * rendering/SimpleLineLayoutResolver.h:
+ (WebCore::SimpleLineLayout::RunResolver::lineIndexForHeight):
+
+ Lines may overlap if line-height < font-size. Apply different adjustment when searching for range begin
+ so that overflowing earlier lines are taken into account.
</ins><span class="cx">
</span><del>- 2013-08-30 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ (WebCore::SimpleLineLayout::RunResolver::rangeForRect):
</ins><span class="cx">
</span><del>- [Windows] Video inside page always uses non-hardware accelerated playback
- https://bugs.webkit.org/show_bug.cgi?id=120448
</del><ins>+2014-05-12 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Invalid information remaining in lineToRegion map of RenderFlowThread.
+ https://bugs.webkit.org/show_bug.cgi?id=132690
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::MediaPlayerPrivateAVFoundationCF::createAVPlayer): Check for
- D3D device. If it doesn't exist, switch to compositing mode and try again.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>-2013-10-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Test: fast/multicol/newmulticol/lines-region-map-crash.html
</ins><span class="cx">
</span><del>- Merge r154856
</del><ins>+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::deleteLines):
+ * rendering/RenderFlowThread.h:
</ins><span class="cx">
</span><del>- 2013-08-29 Tim Horton <timothy_horton@apple.com>
</del><ins>+2014-05-12 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- SVG clipping, masking, and gradients-on-text do not respect the device scale factor
- https://bugs.webkit.org/show_bug.cgi?id=120377
- <rdar://problem/14777944>
</del><ins>+ Clean up MainThreadTask
+ https://bugs.webkit.org/show_bug.cgi?id=132799
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Tests: svg/custom/masking-clipping-hidpi.svg
</del><ins>+ Only have one simple MainThreadTask class that derives from std::function<void ()>.
+ Its templated constructor takes in the method and a variadic pack of parameters.
+ The cross-thread copies of the parameter are then bound to the given method through
+ std::bind(), with the resulting bind expression used to initialize the base
+ std::function<void ()> class.
</ins><span class="cx">
</span><del>- calculateTransformationToOutermostCoordinateSystem should include the page's
- device scale factor in its transform.
</del><ins>+ The WebCore::callOnMainThread() functions and the helper classes are removed in favor
+ of passing MainThreadTask rvalues directly to WTF::callOnMainThread().
</ins><span class="cx">
</span><del>- * rendering/svg/SVGRenderingContext.cpp:
- (WebCore::SVGRenderingContext::calculateTransformationToOutermostCoordinateSystem):
</del><ins>+ * fileapi/AsyncFileStream.cpp:
+ (WebCore::AsyncFileStream::startOnFileThread):
+ (WebCore::AsyncFileStream::stopOnFileThread):
+ (WebCore::AsyncFileStream::getSizeOnFileThread):
+ (WebCore::AsyncFileStream::openForReadOnFileThread):
+ (WebCore::AsyncFileStream::openForWriteOnFileThread):
+ (WebCore::AsyncFileStream::readOnFileThread):
+ (WebCore::AsyncFileStream::writeOnFileThread):
+ (WebCore::AsyncFileStream::truncateOnFileThread):
+ * platform/MainThreadTask.h:
+ (WebCore::MainThreadTask::MainThreadTask):
+ (WebCore::MainThreadTaskBase::MainThreadTaskBase): Deleted.
+ (WebCore::MainThreadTaskBase::~MainThreadTaskBase): Deleted.
+ (WebCore::MainThreadTask1::create): Deleted.
+ (WebCore::MainThreadTask1::MainThreadTask1): Deleted.
+ (WebCore::MainThreadTask2::create): Deleted.
+ (WebCore::MainThreadTask2::MainThreadTask2): Deleted.
+ (WebCore::MainThreadTask3::create): Deleted.
+ (WebCore::MainThreadTask3::MainThreadTask3): Deleted.
+ (WebCore::MainThreadTask4::create): Deleted.
+ (WebCore::MainThreadTask4::MainThreadTask4): Deleted.
+ (WebCore::MainThreadTask5::create): Deleted.
+ (WebCore::MainThreadTask5::MainThreadTask5): Deleted.
+ (WebCore::MainThreadTask6::create): Deleted.
+ (WebCore::MainThreadTask6::MainThreadTask6): Deleted.
+ (WebCore::MainThreadTask7::create): Deleted.
+ (WebCore::MainThreadTask7::MainThreadTask7): Deleted.
+ (WebCore::MainThreadTask8::create): Deleted.
+ (WebCore::MainThreadTask8::MainThreadTask8): Deleted.
+ (WebCore::executeMainThreadTask): Deleted.
+ (WebCore::callOnMainThread): Deleted.
</ins><span class="cx">
</span><del>-2013-10-24 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-11 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Merge r154694
</del><ins>+ Simplify FileThread::Task usage
+ https://bugs.webkit.org/show_bug.cgi?id=132798
</ins><span class="cx">
</span><del>- 2013-08-27 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- [Windows] Correct method call for characteristic update.
</del><ins>+ Remove the createFileThreadTask functions and the related FileThreadTask helper classes.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Instead, the FileThread::Task class now has a templated constructor that takes in a pointer
+ to the object instance, a method, and a variadic pack of parameters. The pointer and the
+ cross-thread copies of all the parameters are then bound to the given method through std::bind().
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::MediaPlayerPrivateAVFoundationCF::tracksChanged):
- [Windows] Correct method call (should have been "characteristicsChanged", not
- "player()->characteristicChanged()"
</del><ins>+ Instead of createFileThreadTask, std::make_unique<>() should be used to construct unique pointers
+ that wrap FileThread::Task objects.
</ins><span class="cx">
</span><del>-2013-10-24 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * fileapi/AsyncFileStream.cpp:
+ (WebCore::AsyncFileStream::create):
+ (WebCore::AsyncFileStream::stop):
+ (WebCore::AsyncFileStream::getSize):
+ (WebCore::AsyncFileStream::openForRead):
+ (WebCore::AsyncFileStream::openForWrite):
+ (WebCore::AsyncFileStream::close):
+ (WebCore::AsyncFileStream::read):
+ (WebCore::AsyncFileStream::write):
+ (WebCore::AsyncFileStream::truncate):
+ * fileapi/FileThread.h:
+ (WebCore::FileThread::Task::Task):
+ (WebCore::FileThread::Task::performTask):
+ (WebCore::FileThread::Task::~Task): Deleted.
+ * fileapi/FileThreadTask.h: Removed.
</ins><span class="cx">
</span><del>- Merge r154693
</del><ins>+2014-05-11 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- 2013-08-26 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Do not create a temporary string to append the SVGLength's unit
+ https://bugs.webkit.org/show_bug.cgi?id=132807
</ins><span class="cx">
</span><del>- [Windows] some track language tags are not recognized
- https://bugs.webkit.org/show_bug.cgi?id=120335
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * svg/SVGLength.cpp:
+ (WebCore::lengthTypeToString):
+ The caller just append the string to a number string. The function
+ lengthTypeToString() was creating a new WTF::String from scratch,
+ copied the characters to make a new string, and destroyed the WTF::String.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: Revise implementation
- to match logic in platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjc.mm
</del><ins>+ Instead, just append the string literal.
</ins><span class="cx">
</span><del>-2013-10-24 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-11 Yusuke Suzuki <utatane.tea@gmail.com>
</ins><span class="cx">
</span><del>- Merge r154681
</del><ins>+ CSS JIT: reduce cost of computing backtracking height
+ https://bugs.webkit.org/show_bug.cgi?id=132546
</ins><span class="cx">
</span><del>- 2013-08-27 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- Web Inspector: Column Breakpoint not working, may be off by 1
- https://bugs.webkit.org/show_bug.cgi?id=120334
</del><ins>+ Because compiler previously compute backtracking height for
+ previous child fragment, by leveraging this, we can limit the
+ `maxPrefixSize` for `computeBacktrackingHeightFromDescendant`.
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ For example, consider selector "c>a>b>d>a>b e"'s descendant chain,
+ "c>a>b>d>a>b".
</ins><span class="cx">
</span><del>- JavaScriptCore changed to 1-based column numbers at some point. We
- need to update the ScriptDebugger assumption that they were 0-based.
</del><ins>+ At the <a> position, we have matching pattern [b, a, d, b, a] and
+ calculate the backtracking height by following method.
</ins><span class="cx">
</span><del>- Test: inspector-protocol/debugger/column-breakpoint.html
</del><ins>+ pattern: [b, a, d, b, a]
+ candidate0: [b, a, d, b] => Not matched.
+ candidate1: [b, a, d] => Not matched.
+ candidate2: [b, a] => Matched against the pattern.
</ins><span class="cx">
</span><del>- * bindings/js/ScriptDebugServer.cpp:
- (WebCore::ScriptDebugServer::createCallFrame):
- (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded):
-2013-10-24 Lucas Forschler <lforschler@apple.com>
</del><ins>+ At this time, first candidate0's pattern size is `pattern.size() - 1`.
+ And get backtracking height from descendant 3, that is
+ `pattern.size() - candidate.size()`, `5 - 2`.
</ins><span class="cx">
</span><del>- Merge r154647
</del><ins>+ And next, at the <c> position, we calcucate the backtracking height
+ for this pattern.
</ins><span class="cx">
</span><del>- 2013-08-23 Andy Estes <aestes@apple.com>
</del><ins>+ pattern: [b, a, d, b, a, c]
+ candidate0: [b, a, d, b, a] => Not matched.
+ candidate1: [b, a, d, b] => Not matched.
+ candidate2: [b, a, d] => Not matched.
+ candidate3: [b, a] => Not matched.
+ candidate4: [b] => Not matched.
+ candidate5: [] => Matched against the pattern.
</ins><span class="cx">
</span><del>- Fix issues found by the Clang Static Analyzer
- https://bugs.webkit.org/show_bug.cgi?id=120230
</del><ins>+ Then, we get the backtracking height, which is 6 (6 - 0).
+ However, in the above case, we already know that attempts from candidate0
+ to candidate1 always fail, since parts of these are already tested at
+ the <b> position trial and we know they don't match.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ So in this case, we should start this computation from candidate2,
+ such as,
</ins><span class="cx">
</span><del>- * WebCore.xcodeproj/project.pbxproj: Removed FoundationExtras.h.
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: Removed CFAutoreleaseHelper().
- (AXTextMarkerRange): Used HardAutorelease() instead of
- CFAutoreleaseHelper().
- (AXTextMarkerRangeStart): Ditto.
- (AXTextMarkerRangeEnd): Ditto.
- (textMarkerForVisiblePosition): Ditto.
- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (-[WebCoreAVFMovieObserver initWithCallback:]): Called [super init]
- first so that we don't later use ivars from the wrong self.
- (-[WebCoreAVFLoaderDelegate initWithCallback:]): Ditto.
- * platform/mac/FoundationExtras.h: Removed.
- * platform/mac/KURLMac.mm:
- (WebCore::KURL::operator NSURL *): Used WTF's HardAutorelease().
- * platform/mac/WebCoreNSURLExtras.mm:
- (WebCore::mapHostNameWithRange): Used HardAutorelease() instead of
- WebCoreCFAutorelease().
- (WebCore::URLWithData): Ditto.
- (WebCore::userVisibleString): Ditto.
- (WebCore::URLByRemovingComponentAndSubsequentCharacter): Used Vector<>
- with an inline capacity rather than heap-allocating a buffer.
- * platform/mac/WebCoreObjCExtras.h: Used HardAutorelease() instead of
- WebCoreCFAutorelease().
- * platform/text/mac/StringImplMac.mm:
- (WTF::StringImpl::operator NSString *): Used WTF's HardAutorelease().
</del><ins>+ pattern: [b, a, d, b, a, c]
+ candidate2: [b, a, d] => Not matched.
+ candidate3: [b, a] => Not matched.
+ candidate4: [b] => Not matched.
+ candidate5: [] => Matched against the pattern.
</ins><span class="cx">
</span><del>-2013-10-24 Lucas Forschler <lforschler@apple.com>
</del><ins>+ We can start computation with candidate size
+ `pattern.size() - previousChildFragmentBacktrackingHeight`.
+ In this example, `pattern.size()` is 6 and
+ `previousChildFragmentBacktrackingHeight` is 3, so candidate size is
+ 3, that is candidate2.
</ins><span class="cx">
</span><del>- Merge r154527
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::computeBacktrackingStartHeightFromDescendant):
+ (WebCore::SelectorCompiler::computeBacktrackingHeightFromDescendant):
</ins><span class="cx">
</span><del>- 2013-08-23 Eric Carlson <eric.carlson@apple.com>
</del><ins>+2014-05-11 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- [Mac] some track language tags are not recognized
- https://bugs.webkit.org/show_bug.cgi?id=119643
</del><ins>+ Headers and footers are not positioned correctly with topContentInset
+ https://bugs.webkit.org/show_bug.cgi?id=132787
+ -and corresponding-
+ <rdar://problem/16641115>
</ins><span class="cx">
</span><del>- Reviewed by Jere Noble.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- No new tests, existing tests updated.
</del><ins>+ Headers and footers need to take the inset into account, and they also need to
+ factor in the fact that the root layer moves around now too.
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize m_captionDisplayMode from settings
- if possible.
- (WebCore::HTMLMediaElement::configureTextTrackGroup): Don't enable a default track when preferences
- say captions should be disabled. Don't disable an already visible track if we don't find
- a match unless preferences say captions should be disabled. m_forcedOrAutomaticSubtitleTrackLanguage ->
- m_subtitleTrackLanguage.
- (WebCore::HTMLMediaElement::mediaPlayerCharacteristicChanged): If the language of the primary
- audio track changes, only kick off a text track recalc if caption preference are set to "automatic".
- * html/HTMLMediaElement.h:
</del><ins>+ The existing yPositionForRootContentLayer() is actually the right calculation for
+ the header layer. The root content layer wants that value, but pushed down by the
+ header height. Now there are static functions for both of them and the footer to
+ avoid duplicated code in the three spots where we need this information.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::yPositionForHeaderLayer):
+ (WebCore::FrameView::yPositionForRootContentLayer):
+ (WebCore::FrameView::yPositionForFooterLayer):
+ * page/FrameView.h:
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation): Initialize m_characteristicsChanged
- and m_delayCharacteristicsChangedNotification.
- (WebCore::MediaPlayerPrivateAVFoundation::setHasVideo): Call characteristicsChanged.
- (WebCore::MediaPlayerPrivateAVFoundation::setHasAudio): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundation::setHasClosedCaptions): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundation::characteristicsChanged): New, allows us to coalesce
- calls to the media player when we know several characteristics may change.
- (WebCore::MediaPlayerPrivateAVFoundation::setDelayCharacteristicsChangedNotification): Enable or
- disable notification delay.
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
</del><ins>+ Use the static functions to compute the layer positions.
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll):
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): Always call languageOfPrimaryAudioTrack(),
- a track may have changed so we may have a new language.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::languageOfPrimaryAudioTrack): Call [AVAssetTrack languageCode]
- if [AVAssetTrack extendedLanguageTag] returns NULL in case the media file has an old
- QuickTime language code.
</del><ins>+ How did headers ever work with this bug?? I don’t know. We need to return that
+ layer.
+ * page/scrolling/ScrollingCoordinator.cpp:
+ (WebCore::ScrollingCoordinator::headerLayerForFrameView):
</ins><span class="cx">
</span><del>-2013-10-24 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Use the static functions to compute the layer positions.
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateRootLayerPosition):
+ (WebCore::RenderLayerCompositor::updateLayerForHeader):
+ (WebCore::RenderLayerCompositor::updateLayerForFooter):
</ins><span class="cx">
</span><del>- Merge r154308
</del><ins>+2014-05-11 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-19 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Subpixel rendering[iOS]: <select> decoration is misaligned when the renderer is on subpixel position.
+ https://bugs.webkit.org/show_bug.cgi?id=132779
+ <rdar://problem/16631071>
</ins><span class="cx">
</span><del>- <https://webkit.org/b/119930> input[type=range]: Fix a crash by changing input type in 'input' event handler
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Kent Tamura.
</del><ins>+ Push <select> theme decoration's rect to device pixel position to ensure
+ that the theme bounds are aligned with the renderer's bounds. (in painting terms)
+ However, as the decoration code paints multiple items, they all need to use snapped
+ final coordinates for painting : tracked here https://bugs.webkit.org/show_bug.cgi?id=132780
+ This patch also changes the padding values for <select> [iOS] to compensate for the integer
+ truncation that happened before subpixel.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/99afc9b55ce176b4f5fe053070e19dbebc1891a5
</del><ins>+ Not testable.
</ins><span class="cx">
</span><del>- In SliderThumbElement::setPositionFromPoint, renderer() can be NULL after HTMLInputElement::setValueFromRenderer,
- which dispatches 'input' event. Also, make a local vairable 'input' a RefPtr just in case.
</del><ins>+ * css/html.css:
+ (select):
+ * platform/efl/RenderThemeEfl.cpp:
+ (WebCore::RenderThemeEfl::paintMenuListButtonDecorations):
+ * platform/efl/RenderThemeEfl.h:
+ * platform/gtk/RenderThemeGtk.cpp:
+ (WebCore::RenderThemeGtk::paintMenuListButtonDecorations):
+ * platform/gtk/RenderThemeGtk.h:
+ * rendering/RenderTheme.cpp:
+ (WebCore::RenderTheme::paintDecorations):
+ * rendering/RenderTheme.h:
+ (WebCore::RenderTheme::paintMenuListButtonDecorations):
+ * rendering/RenderThemeIOS.h:
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::paintMenuListButtonDecorations):
+ * rendering/RenderThemeMac.h:
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::paintMenuListButtonDecorations):
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::paintMenuListButtonDecorations):
+ * rendering/RenderThemeSafari.h:
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::paintMenuList):
+ (WebCore::RenderThemeWin::paintMenuListButtonDecorations):
+ * rendering/RenderThemeWin.h:
</ins><span class="cx">
</span><del>- Also add null-poinetr checks for the host element as SliderThumbElement only weakly holds onto the host element.
</del><ins>+2014-05-11 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Test: fast/forms/range/range-type-change-oninput.html
</del><ins>+ Move Source/WebCore/workers/ code to std::unique_ptr
+ https://bugs.webkit.org/show_bug.cgi?id=132401
</ins><span class="cx">
</span><del>- * html/shadow/SliderThumbElement.cpp:
- (WebCore::SliderThumbElement::isDisabledFormControl):
- (WebCore::SliderThumbElement::matchesReadOnlyPseudoClass):
- (WebCore::SliderThumbElement::matchesReadWritePseudoClass):
- (WebCore::SliderThumbElement::setPositionFromPoint):
- (WebCore::SliderThumbElement::hostInput):
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-10-21 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Replace uses of OwnPtr and PassOwnPtr in code under Source/WebCore/workers (and related places)
+ with std::unique_ptr.
</ins><span class="cx">
</span><del>- Merge r154289
</del><ins>+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::setTimeout):
+ (WebCore::JSDOMWindow::setInterval):
+ * bindings/js/JSWorkerGlobalScopeCustom.cpp:
+ (WebCore::JSWorkerGlobalScope::setTimeout):
+ (WebCore::JSWorkerGlobalScope::setInterval):
+ * bindings/js/ScheduledAction.cpp:
+ (WebCore::ScheduledAction::create):
+ * bindings/js/ScheduledAction.h:
+ * page/DOMTimer.cpp:
+ (WebCore::DOMTimer::DOMTimer):
+ (WebCore::DOMTimer::install):
+ (WebCore::DOMTimer::fired):
+ (WebCore::DOMTimer::didStop):
+ * page/DOMTimer.h:
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::setTimeout):
+ (WebCore::DOMWindow::setInterval):
+ * page/DOMWindow.h:
+ * workers/WorkerEventQueue.h:
+ * workers/WorkerGlobalScope.cpp:
+ (WebCore::WorkerGlobalScope::WorkerGlobalScope):
+ (WebCore::WorkerGlobalScope::setTimeout):
+ (WebCore::WorkerGlobalScope::setInterval):
+ * workers/WorkerGlobalScope.h:
+ (WebCore::WorkerGlobalScope::clearScript):
+ * workers/WorkerLoaderProxy.h:
+ * workers/WorkerMessagingProxy.h:
+ * workers/WorkerRunLoop.cpp:
+ (WebCore::WorkerRunLoop::WorkerRunLoop):
+ * workers/WorkerRunLoop.h:
+ * workers/WorkerScriptLoader.cpp:
+ (WebCore::WorkerScriptLoader::loadSynchronously):
+ (WebCore::WorkerScriptLoader::loadAsynchronously):
+ (WebCore::WorkerScriptLoader::createResourceRequest):
+ * workers/WorkerScriptLoader.h:
+ * workers/WorkerThread.cpp:
+ (WebCore::WorkerThread::WorkerThread):
+ (WebCore::WorkerThread::workerThread):
+ (WebCore::WorkerThreadStartupData::create): Deleted.
+ * workers/WorkerThread.h:
</ins><span class="cx">
</span><del>- 2013-08-19 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-05-09 Myles C. Maxfield <litherum@gmail.com>
</ins><span class="cx">
</span><del>- ASSERTION FAILED: !node || node->isShadowRoot() in WebCore::EventRetargeter::eventTargetRespectingTargetRules
- https://bugs.webkit.org/show_bug.cgi?id=119720
</del><ins>+ [Mac] [iOS] Underlines are too low
+ https://bugs.webkit.org/show_bug.cgi?id=132770
</ins><span class="cx">
</span><del>- Reviewed by Andy Estes.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/4ce9bfbf54410179cd0f18b3d1a912045fc0ec3d
</del><ins>+ computeUnderlineOffset() inside InlineTextBox.cpp lowers underlines from text
+ baseline by a value that is proportional to the font size. However, this
+ lowering was done a second time in
+ GraphicsContext::computeLineBoundsAndAntialiasingModeForText(). This patch
+ removes this second, platform-dependent lowering.
</ins><span class="cx">
</span><del>- * dom/EventRetargeter.h:
- (WebCore::EventRetargeter::eventTargetRespectingTargetRules):
</del><ins>+ This duplication was caused by merging iOS into open source, where iOS used
+ the GraphicsContext approach and open source used the InlineTextBox approach.
</ins><span class="cx">
</span><del>-2013-10-21 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Covered by fast/css3-text/css3-text-decoration/text-decoration-thickness.html.
</ins><span class="cx">
</span><del>- Merge r154183
</del><ins>+ * platform/graphics/GraphicsContext.cpp:
+ (WebCore::GraphicsContext::computeLineBoundsAndAntialiasingModeForText): Remove
+ redundant lowering code
+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::paintDecoration): Clean up textDecorationThickness
+ variable
</ins><span class="cx">
</span><del>- 2013-08-16 Brady Eidson <beidson@apple.com>
</del><ins>+2014-05-11 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- (NetworkProcess) Sync XHRs should load using async ResourceHandles, not ResourceHandle::loadResourceSynchronously
- https://bugs.webkit.org/show_bug.cgi?id=119493
</del><ins>+ Text with simple line layout not getting pushed below float when there is not enough space for it
+ https://bugs.webkit.org/show_bug.cgi?id=126991
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- No new tests (Covered by plenty of existing tests).
</del><ins>+ Tests: fast/text/simple-lines-intruding-wide-float-dynamic.html
+ fast/text/simple-lines-intruding-wide-float.html
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * WebCore.xcodeproj/project.pbxproj:
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::markLinesDirtyInBlockRange):
+
+ Invalidate the line layout path when floats change. We need to check SimpleLineLayout::canUseFor again as
+ intruding floats may make this flow ineligible to use the path.
</ins><span class="cx">
</span><del>- * platform/network/SynchronousLoaderClient.h: Make platformBadResponseError public
</del><ins>+ * rendering/RenderBlockFlow.h:
+ (WebCore::RenderBlockFlow::floatingObjectSet):
+ * rendering/SimpleLineLayout.cpp:
+ (WebCore::SimpleLineLayout::canUseFor):
+
+ Test the top positions of all floats for case that would push text below the float instead of just testing
+ the first line. We may have floats in the middle of the paragraph too.
</ins><span class="cx">
</span><del>- * platform/network/mac/ResourceHandleMac.mm:
- (WebCore::ResourceHandle::platformLoadResourceSynchronously): Add comments/FIXMEs spelling out how wrong this code is.
</del><ins>+2014-05-11 peavo@outlook.com <peavo@outlook.com>
</ins><span class="cx">
</span><del>-2013-10-21 Lucas Forschler <lforschler@apple.com>
</del><ins>+ WinCairo crashes on acid3 test
+ https://bugs.webkit.org/show_bug.cgi?id=131364
</ins><span class="cx">
</span><del>- Merge r153975
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- 2013-08-12 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ When the 304 (Not-modified) response is received, the Curl backend should look up the cached response,
+ and call the client method didReceiveResponse with the cached response, instead of the 304 response.
+ Otherwise the response will contain an empty MIME type, which causes the request to be cancelled, and the client deleted.
+ When the Curl cache manager then accesses the client afterwards, it is deleted, and we crash.
</ins><span class="cx">
</span><del>- Fix NULL de-refernce in HTMLAnchorElement::sendPings when settings doesn't exist
- https://bugs.webkit.org/show_bug.cgi?id=119716
</del><ins>+ * platform/network/curl/CurlCacheManager.cpp:
+ (WebCore::CurlCacheManager::didReceiveResponse): Return early if request is cancelled.
+ (WebCore::CurlCacheManager::getCachedResponse): Added method to get cached response.
+ * platform/network/curl/CurlCacheManager.h: Ditto.
+ * platform/network/curl/ResourceHandleManager.cpp:
+ (WebCore::headerCallback): When 304 response is received, look up cached response, and use it.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-05-10 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/d5783da353ab783e9994b8fbecd91880be5192a1
</del><ins>+ [WKWebView _updateScrollViewBackground] churns UI-and-CGColors while repainting
+ https://bugs.webkit.org/show_bug.cgi?id=132793
+ <rdar://problem/16877870>
</ins><span class="cx">
</span><del>- No new tests since the test in the Blink change doesn't reproduce crash on WebKit.
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- * html/HTMLAnchorElement.cpp:
- (WebCore::HTMLAnchorElement::sendPings):
</del><ins>+ * WebCore.exp.in:
+ Export a Color convenience function.
</ins><span class="cx">
</span><del>-2013-10-21 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-10 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Merge r153920
</del><ins>+ Unreviewed, rolling out r168578.
+ https://bugs.webkit.org/show_bug.cgi?id=132789
</ins><span class="cx">
</span><del>- 2013-08-09 Jer Noble <jer.noble@apple.com>
</del><ins>+ Speculative rollout since this appears to break PLT3.
+ (Requested by kling on #webkit).
</ins><span class="cx">
</span><del>- Crash in com.apple.WebKit.WebContent at com.apple.MediaToolbox.
- https://bugs.webkit.org/show_bug.cgi?id=119645
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ "Move Source/WebCore/workers/ code to std::unique_ptr"
+ https://bugs.webkit.org/show_bug.cgi?id=132401
+ http://trac.webkit.org/changeset/168578
</ins><span class="cx">
</span><del>- Work around crash caused by <rdar://problem/14688471> by releasing
- m_request as soon as keys have been added to it.
</del><ins>+2014-05-10 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- * Modules/encryptedmedia/CDMPrivateAVFoundation.mm:
- (WebCore::CDMSessionAVFoundation::update):
</del><ins>+ REGRESSION (r166853): fast/preloader/document-write.html is very flaky
+ https://bugs.webkit.org/show_bug.cgi?id=130942
</ins><span class="cx">
</span><del>-2013-10-21 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Merge r153913
</del><ins>+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::suspendMemoryCacheClientCalls): Use a RefPtr to the main
+ frame as a weak pointer to a Page that will work unless the page is destroyed.
+ The old code tried to do it with a RefPtr to a document, but as the FIXME
+ points out, that won't work if the document is disassociated with its frame.
</ins><span class="cx">
</span><del>- 2013-08-09 Alexey Proskuryakov <ap@apple.com>
</del><ins>+2014-05-10 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- REGRESSION (r142755): window.open creates an invisible window when width and height are 0
- https://bugs.webkit.org/show_bug.cgi?id=119633
</del><ins>+ Block exceptions when trying to convert attributed strings to RTF and RTFD
+ https://bugs.webkit.org/show_bug.cgi?id=132778
+ <rdar://problem/16675805>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Test: fast/dom/Window/open-zero-size-as-default.html
</del><ins>+ When the iOS WebHTMLConverter was upstreamed, converting some attributed strings to RTF and RTFD
+ started throwing Objective-C exceptions (see <rdar://problem/16876920>).
+
+ In WebKit2, we now crash on unhandled exceptions so work around that crash by adding exception blocking macros.
</ins><span class="cx">
</span><del>- Relying on each WebKit to refuse setting size to zero was fragile - because this
- required each one to have the check, and because by the time the client was called,
- the initially zero size was not necessarily zero.
</del><ins>+ * editing/ios/EditorIOS.mm:
+ (WebCore::dataInRTFDFormat):
+ (WebCore::dataInRTFFormat):
+ * editing/mac/EditorMac.mm:
+ (WebCore::dataInRTFDFormat):
+ (WebCore::dataInRTFFormat):
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp: (WebCore::createWindow): When sizes are zero, keep the
- size the window was created with, because that's the default one by definition.
</del><ins>+2014-05-10 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- * page/DOMWindow.cpp: (WebCore::DOMWindow::adjustWindowRect): It's too late to
- check for zero size now, it's been mangled to adjust for the difference between
- window and viewport size.
</del><ins>+ Move Source/WebCore/workers/ code to std::unique_ptr
+ https://bugs.webkit.org/show_bug.cgi?id=132401
</ins><span class="cx">
</span><del>-2013-10-21 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Merge r153909
</del><ins>+ Replace uses of OwnPtr and PassOwnPtr in code under Source/WebCore/workers (and related places)
+ with std::unique_ptr.
</ins><span class="cx">
</span><del>- 2013-08-09 Dean Jackson <dino@apple.com>
</del><ins>+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::setTimeout):
+ (WebCore::JSDOMWindow::setInterval):
+ * bindings/js/JSWorkerGlobalScopeCustom.cpp:
+ (WebCore::JSWorkerGlobalScope::setTimeout):
+ (WebCore::JSWorkerGlobalScope::setInterval):
+ * bindings/js/ScheduledAction.cpp:
+ (WebCore::ScheduledAction::create):
+ * bindings/js/ScheduledAction.h:
+ * page/DOMTimer.cpp:
+ (WebCore::DOMTimer::DOMTimer):
+ (WebCore::DOMTimer::install):
+ (WebCore::DOMTimer::fired):
+ (WebCore::DOMTimer::didStop):
+ * page/DOMTimer.h:
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::setTimeout):
+ (WebCore::DOMWindow::setInterval):
+ * page/DOMWindow.h:
+ * workers/WorkerEventQueue.h:
+ * workers/WorkerGlobalScope.cpp:
+ (WebCore::WorkerGlobalScope::WorkerGlobalScope):
+ (WebCore::WorkerGlobalScope::setTimeout):
+ (WebCore::WorkerGlobalScope::setInterval):
+ * workers/WorkerGlobalScope.h:
+ (WebCore::WorkerGlobalScope::clearScript):
+ * workers/WorkerLoaderProxy.h:
+ * workers/WorkerMessagingProxy.h:
+ * workers/WorkerRunLoop.cpp:
+ (WebCore::WorkerRunLoop::WorkerRunLoop):
+ * workers/WorkerRunLoop.h:
+ * workers/WorkerScriptLoader.cpp:
+ (WebCore::WorkerScriptLoader::loadSynchronously):
+ (WebCore::WorkerScriptLoader::loadAsynchronously):
+ (WebCore::WorkerScriptLoader::createResourceRequest):
+ * workers/WorkerScriptLoader.h:
+ * workers/WorkerThread.cpp:
+ (WebCore::WorkerThread::WorkerThread):
+ (WebCore::WorkerThread::workerThread):
+ (WebCore::WorkerThreadStartupData::create): Deleted.
+ * workers/WorkerThread.h:
</ins><span class="cx">
</span><del>- Captions menu needs to reset text-align
- https://bugs.webkit.org/show_bug.cgi?id=119637
</del><ins>+2014-05-09 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ -webkit-filter prevents rendering at retina scale
+ https://bugs.webkit.org/show_bug.cgi?id=93471
</ins><span class="cx">
</span><del>- Reset the text-align property on the menu so that it
- doesn't get the inherited value. The full fix for all
- controls is http://webkit.org/b/116100.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- * css/mediaControlsQuickTime.css:
- (video::-webkit-media-controls-closed-captions-container):
</del><ins>+ Implement 2x support for filters that go through
+ the -webkit-filter property. This includes all
+ shorthand filters, and any referenced SVG-style filters
+ (as long as they use only the supported subset of
+ operations - basically the same as is exposed for
+ the shorthands).
</ins><span class="cx">
</span><del>-2013-10-21 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Tests: fast/hidpi/filters-blur.html
+ fast/hidpi/filters-hue-rotate.html
+ fast/hidpi/filters-invert.html
+ fast/hidpi/filters-multiple.html
+ fast/hidpi/filters-reference.html
+ fast/hidpi/filters-shadow.html
</ins><span class="cx">
</span><del>- Merge r153877
</del><ins>+ * platform/graphics/cg/ImageBufferCG.cpp:
+ (WebCore::ImageBuffer::getUnmultipliedImageData): Scale the source rectangle if the method was
+ called using LogicalCoordinates.
+ (WebCore::ImageBuffer::getPremultipliedImageData): Ditto.
+ (WebCore::ImageBuffer::putByteArray): Ditto.
</ins><span class="cx">
</span><del>- 2013-08-08 Tim Horton <timothy_horton@apple.com>
</del><ins>+ * platform/graphics/filters/FEDropShadow.cpp:
+ (WebCore::FEDropShadow::platformApplySoftware): Make sure to scale the blur radius by the filter
+ resolution, and call the byte-array methods with the native coordinate system.
+ * platform/graphics/filters/FEGaussianBlur.cpp:
+ (WebCore::FEGaussianBlur::calculateUnscaledKernelSize): Fix typo.
+ (WebCore::FEGaussianBlur::platformApplySoftware): Scale the kernel and paint rectangles
+ by the filter scale.
</ins><span class="cx">
</span><del>- navigator.plugins has plugins in it when plugins are disabled
- https://bugs.webkit.org/show_bug.cgi?id=119607
- <rdar://problem/14678030>
</del><ins>+ * platform/graphics/filters/Filter.h:
+ (WebCore::Filter::Filter): Initialise the filter scale.
+ (WebCore::Filter::filterScale): New property which reflects the mapping between logical pixels
+ and device pixels.
+ (WebCore::Filter::setFilterScale):
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * platform/graphics/filters/FilterEffect.cpp:
+ (WebCore::FilterEffect::asImageBuffer): Make sure buffer creation takes scale into account.
+ (WebCore::FilterEffect::asUnmultipliedImage): Ditto.
+ (WebCore::FilterEffect::asPremultipliedImage): Ditto.
+ (WebCore::FilterEffect::copyImageBytes): Scale any incoming regions if they are talking about
+ device pixels rather than logical pixels.
+ (WebCore::FilterEffect::copyUnmultipliedImage): Ditto.
+ (WebCore::FilterEffect::copyPremultipliedImage): Ditto.
+ (WebCore::FilterEffect::createImageBufferResult): Take scale into account when creating byte array.
+ (WebCore::FilterEffect::createUnmultipliedImageResult): Ditto.
+ (WebCore::FilterEffect::createPremultipliedImageResult): Ditto.
</ins><span class="cx">
</span><del>- Test: plugins/navigator-plugins-disabled.html
</del><ins>+ * rendering/FilterEffectRenderer.cpp:
+ (WebCore::FilterEffectRenderer::allocateBackingStoreIfNeeded): Pass filter scale into buffer creation.
</ins><span class="cx">
</span><del>- * page/Settings.cpp:
- (WebCore::Settings::setPluginsEnabled):
- Refresh the plugin database when plugins are enabled or disabled.
- This is necessary to ensure that navigator.plugins will have the
- correct set of plugins after dynamically changing whether plugins
- are enabled, which makes the test for this patch possible (but it
- makes sense in the browser as well).
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::updateOrRemoveFilterEffectRenderer): Make sure to set the filter scale to
+ the device scale factor, and notice if we ever change scales.
</ins><span class="cx">
</span><del>-2013-09-06 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-10 Praveen R Jadhav <praveen.j@samsung.com>
</ins><span class="cx">
</span><del>- Merge r155203
</del><ins>+ [MediaStream] Rename NavigatorMediaStream as NavigatorUserMedia.
+ https://bugs.webkit.org/show_bug.cgi?id=132734
</ins><span class="cx">
</span><del>- 2013-09-06 Mike West <mkwst@chromium.org>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Revalidation header blacklisting should be case-insensitive.
- https://bugs.webkit.org/show_bug.cgi?id=120832
</del><ins>+ Spec: http://www.w3.org/TR/mediacapture-streams/#navigatorusermedia
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ This patch replaces 'NavigatorMediaStream' with 'NavigatorUserMedia'
+ throughout the code to be consistent with W3C specifications.
+ Test cases remain the same as 'Navigator' implies 'NavigatorUserMedia'.
</ins><span class="cx">
</span><del>- Headers like 'content-type' should be ignored for 304 responses,
- even if they are delivered as 'Content-Type', or 'CoNtEnT-TyPe', etc.
</del><ins>+ * CMakeLists.txt: Compiles NavigatorUserMedia.cpp
+ * DerivedSources.make: Compiles NavigatorUserMedia.idl
+ * Modules/mediastream/NavigatorMediaStream.cpp: Removed.
+ * Modules/mediastream/NavigatorMediaStream.h: Removed.
+ * Modules/mediastream/NavigatorMediaStream.idl: Removed.
+ * Modules/mediastream/NavigatorUserMedia.cpp: Added.
+ (WebCore::NavigatorUserMedia::NavigatorUserMedia):
+ (WebCore::NavigatorUserMedia::~NavigatorUserMedia):
+ (WebCore::NavigatorUserMedia::webkitGetUserMedia):
+ * Modules/mediastream/NavigatorUserMedia.h: Added.
+ * Modules/mediastream/NavigatorUserMedia.idl: Added.
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSNavigatorCustom.cpp:
+ (WebCore::JSNavigator::webkitGetUserMedia): NavigatorUserMedia
+ class is used instead of NavigatorMediaStream.
</ins><span class="cx">
</span><del>- I broke this behavior in http://trac.webkit.org/changeset/142068
- ("Entity-header extension headers honored on 304 responses"). Pages like
- https://learndev.unm.edu/ currently break on reload, as they incorrectly
- send 'Content-Type: text/plain' for 304 responses for resources like
- CSS and JavaScript. The browser should drop these headers, but because
- we're comparing in a case-sensitive fashion, we don't.
</del><ins>+2014-05-10 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- https://code.google.com/p/chromium/issues/detail?id=246875 documents the
- Blink-side fix; this patch is a port of that patch.
</del><ins>+ Subpixel rendering: Empty rects should remain empty after integrally enclosing them.
+ https://bugs.webkit.org/show_bug.cgi?id=132753
+ <rdar://problem/16846801>
</ins><span class="cx">
</span><del>- Test: http/tests/cache/content-type-ignored-during-revalidation.html
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * loader/cache/CachedResource.cpp:
- (WebCore::shouldUpdateHeaderAfterRevalidation):
- Compare the provided AtomicString 'header' to the revalidation
- blacklists in a case-insensitive fashion.
</del><ins>+ This patch ensures that empty LayoutRects remain empty after converting to integral enclosing rect.
+ LayoutRects with fractional position get expanded even if they are empty. This makes rectangle
+ operations unreliable and can result in undesired side effects.
</ins><span class="cx">
</span><del>-2013-09-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+ No testable/covered by existing tests.
</ins><span class="cx">
</span><del>- Merge r154037
</del><ins>+ * platform/graphics/LayoutRect.cpp:
+ (WebCore::enclosingIntRect):
+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::localSelectionRect):
+ (WebCore::InlineTextBox::paintDocumentMarker):
+ (WebCore::InlineTextBox::paintTextMatchMarker):
+ (WebCore::InlineTextBox::computeRectForReplacementMarker):
+ (WebCore::integralEnclosingRectForSelection): Deleted.
</ins><span class="cx">
</span><del>- 2013-08-13 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-05-09 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- REGRESSION(r150187): Safari fails to render allrecipe.com comment popups
- https://bugs.webkit.org/show_bug.cgi?id=119780
</del><ins>+ Web Inspector: Allow Remote Inspector to entitlement check UIProcess through WebProcess
+ https://bugs.webkit.org/show_bug.cgi?id=132409
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- The bug was caused by SelectorDataList::executeFastPathForIdSelector not verifying that
- elements found by getAllElementsById are descendents of rootNode when there are multiple
- elements of the same id. This resulted in querySelector and querySelectorAll of an element
- returning nodes outside of the element.
</del><ins>+ * inspector/InspectorClient.h:
+ (WebCore::InspectorClient::parentProcessIdentifier): Deleted.
+ * page/PageDebuggable.cpp:
+ (WebCore::PageDebuggable::parentProcessIdentifier): Deleted.
+ * page/PageDebuggable.h:
+ pid per debuggable is no longer needed.
</ins><span class="cx">
</span><del>- Fixed the bug by checking this condition when we have multiple elements of the same id.
</del><ins>+2014-05-09 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Test: fast/selectors/querySelector-id-with-multiple-elements-with-same-id.html
</del><ins>+ [fullscreen] cursor should auto-hide when over video
+ https://bugs.webkit.org/show_bug.cgi?id=132758
</ins><span class="cx">
</span><del>- * dom/SelectorQuery.cpp:
- (WebCore::SelectorDataList::executeFastPathForIdSelector):
</del><ins>+ Unreviewed followup based on test failure.
</ins><span class="cx">
</span><del>-2013-09-04 Dean Jackson <dino@apple.com>
</del><ins>+ * css/fullscreen.css: Append the previous rule - video children of fullscreen elements.
</ins><span class="cx">
</span><del>- <rdar://problem/14910916> Disable CSS_SHAPES on safari-537-branch
</del><ins>+2014-05-09 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ [fullscreen] cursor should auto-hide when over video
+ https://bugs.webkit.org/show_bug.cgi?id=132758
</ins><span class="cx">
</span><del>- * Configurations/FeatureDefines.xcconfig:
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>-2013-09-04 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Cursors were not auto-hiding over fullscreen video. There was
+ a small error in the CSS we load for fullscreen content.
</ins><span class="cx">
</span><del>- Merge r155014
</del><ins>+ * css/fullscreen.css: Don't hide when video is a child of the fullscreen element - hide when it *is* the fullscreen element.
+ (video:-webkit-full-screen):
+ (:-webkit-full-screen video:hover): Deleted.
</ins><span class="cx">
</span><del>- 2013-09-03 Enrica Casucci <enrica@apple.com>
</del><ins>+2014-05-09 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Can't select Katakana word by double-clicking.
- <rdar://problem/14654926>
</del><ins>+ Subpixel rendering[iOS]: Top bar on apple.com/support jiggles when the swoosh animates.
+ https://bugs.webkit.org/show_bug.cgi?id=132750
+ <rdar://problem/16803281>
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov and Ryosuke Niwa.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- For some languages, like Japanese we need
- to use more context for word breaking.
</del><ins>+ This patch ensures that GraphicsLayer and RemoteLayerBackingStore have the same dimensions.
+
+ Remove integral enclosing when we set the size on RemoteLayerBackingStore. It makes the layer's size
+ different from the backingstore when the passed value is fractional.
+ We scale and integral round this value to size the shareable bitmap later. Rounding ensures that
+ the final size value matches what we calculated at GraphicsLayerCA::updateGeometry()
</ins><span class="cx">
</span><del>- New test: editing/selection/doubleclick-japanese-text.html
</del><ins>+ Currently not testable.
</ins><span class="cx">
</span><del>- * platform/text/TextBoundaries.h:
- (WebCore::requiresContextForWordBoundary):
</del><ins>+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::updateGeometry):
+ (WebCore::GraphicsLayerCA::computePixelAlignment): include device scale factor to be able calculate the final content scale.
+ * platform/graphics/ca/GraphicsLayerCA.h:
</ins><span class="cx">
</span><del>-2013-09-02 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-09 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>- Merge r154785
</del><ins>+ JSDOMWindow should disable property caching after a certain point
+ https://bugs.webkit.org/show_bug.cgi?id=132751
</ins><span class="cx">
</span><del>- 2013-08-28 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Reviewed by Filip Pizlo.
</ins><span class="cx">
</span><del>- Fix compositing layers in columns
- https://bugs.webkit.org/show_bug.cgi?id=120436
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- Reviewed by Dave Hyatt.
</del><ins>+ This is part of removing HasImpureGetOwnPropertySlot from JSDOMWindow. After the lookup in the static
+ hash table for JSDOMWindow fails we want to disable property caching even if the code that follows thinks
+ that it has provided a cacheable value.
</ins><span class="cx">
</span><del>- Remove the old hack in RenderLayer::updateLayerPosition() for placing
- layers in columns, which changed the layer position for composited
- layers; this broke hit-testing.
</del><ins>+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::getOwnPropertySlot):
</ins><span class="cx">
</span><del>- Fix a better way by moving compositing layers to the correct
- positions that take column offsets into account, by fixing
- RenderLayer::convertToLayerCoords() to optionally apply column
- adjustment, and using this in the code which positions compositing layers.
</del><ins>+2014-05-09 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Tests: compositing/columns/ancestor-clipped-in-paginated.html
- compositing/columns/clipped-in-paginated.html
- compositing/columns/composited-columns-vertical-rl.html
- compositing/columns/composited-columns.html
- compositing/columns/composited-in-paginated-rl.html
- compositing/columns/composited-in-paginated-writing-mode-rl.html
- compositing/columns/composited-lr-paginated-repaint.html
- compositing/columns/composited-rl-paginated-repaint.html
- compositing/columns/hittest-composited-in-paginated.html
- compositing/columns/rotated-in-paginated.html
- compositing/columns/untransformed-composited-in-paginated.html
</del><ins>+ Fix the export file after r168556
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::updateLayerPosition):
- (WebCore::RenderLayer::convertToPixelSnappedLayerCoords):
- (WebCore::accumulateOffsetTowardsAncestor):
- (WebCore::RenderLayer::convertToLayerCoords):
- * rendering/RenderLayer.h:
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateCompositedBounds):
- (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
</del><ins>+ * WebCore.exp.in: I forgot to fix the export file before landing.
</ins><span class="cx">
</span><del>-2013-08-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-09 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Merge r154528
</del><ins>+ [iOS][WK2] Set up the resize events
+ https://bugs.webkit.org/show_bug.cgi?id=132726
</ins><span class="cx">
</span><del>- 2013-08-23 Beth Dakin <bdakin@apple.com>
</del><ins>+ Reviewed by Darin Adler and Simon Fraser.
</ins><span class="cx">
</span><del>- REGRESSION (r132545): Some PDFs generated by WebKit are blank when viewed in
- Adobe Reader
- https://bugs.webkit.org/show_bug.cgi?id=120240
- -and corresponding-
- <rdar://problem/14634453>
</del><ins>+ Let the WebKit2 layer override the size used for resize events.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * WebCore.exp.in:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::layout):
+ (WebCore::FrameView::sizeForResizeEvent):
+ (WebCore::FrameView::sendResizeEventIfNeeded):
+ (WebCore::FrameView::setCustomSizeForResizeEvent):
+ * page/FrameView.h:
</ins><span class="cx">
</span><del>- This patch makes it so that we don’t use the infinite rect for the PDF context,
- and it adds WebCoreSystemInterface API to find out if the current content is the
- PDF context.
</del><ins>+2014-05-09 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * platform/graphics/cg/GraphicsContextCG.cpp:
- (WebCore::GraphicsContext::clipOut):
- * platform/mac/WebCoreSystemInterface.h:
- * platform/mac/WebCoreSystemInterface.mm:
</del><ins>+ REGRESSION (r168518): Multiple tests for workers in blobs assert
+ https://bugs.webkit.org/show_bug.cgi?id=132728
</ins><span class="cx">
</span><del>-2013-08-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Merge r154529
</del><ins>+ Change File serialization to include name, so that we don't have to regenerate anything
+ on a secondary thread after deserialization.
</ins><span class="cx">
</span><del>- 2013-08-23 Jer Noble <jer.noble@apple.com>
</del><ins>+ Files and Blobs can't be stored persistently, because URLs are transient (IndexedDB
+ has an explicit check, and fails if there were any blob URLs). API doesn't have the
+ check, but given that anyone who tried to use these to serialize a File would fail,
+ it seems OK to change the format.
</ins><span class="cx">
</span><del>- REGRESSION (r150516): Media controls are messed up on right-to-left webpages
- https://bugs.webkit.org/show_bug.cgi?id=120234
</del><ins>+ * bindings/js/SerializedScriptValue.cpp:
+ (WebCore::CloneSerializer::write):
+ (WebCore::CloneDeserializer::readFile):
+ * fileapi/File.cpp:
+ (WebCore::File::File):
+ * fileapi/File.h:
</ins><span class="cx">
</span><del>- Reviewed by Dan Bernstein.
</del><ins>+2014-05-08 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>- Test: media/video-rtl.html
</del><ins>+ JSDOMWindow should have a WatchpointSet to fire on window close
+ https://bugs.webkit.org/show_bug.cgi?id=132721
</ins><span class="cx">
</span><del>- Make the media control panel explicitly direction:ltr. The captions menu and captions
- display are unaffected, so rtl content will continue to appear rtl there.
</del><ins>+ Reviewed by Filip Pizlo.
</ins><span class="cx">
</span><del>- * css/mediaControls.css:
- (audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel):
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>-2013-08-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ This patch allows us to reset the inline caches that assumed they could skip
+ the first part of JSDOMWindow::getOwnPropertySlot that checks if the window has
+ been closed. This is part of getting rid of HasImpureGetOwnPropertySlot on JSDOMWindow.
</ins><span class="cx">
</span><del>- Merge r154535
</del><ins>+ JSDOMWindowBase now has a WatchpointSet that the underlying DOMWindow fires when its
+ frame is cleared. In getOwnPropertySlot, we now pass this WatchpointSet to PropertySlot
+ which will shepherd it back up to the code that generates the inline cache (and the
+ Watchpoint for clearing it).
</ins><span class="cx">
</span><del>- 2013-08-23 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::JSDOMWindowBase):
+ (WebCore::JSDOMWindowBase::fireFrameClearedWatchpointsForWindow):
+ * bindings/js/JSDOMWindowBase.h:
+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::getOwnPropertySlot):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::frameDestroyed):
</ins><span class="cx">
</span><del>- Improve scrolling behavior in iTunes
- https://bugs.webkit.org/show_bug.cgi?id=120241
- <rdar://problem/14825344>
</del><ins>+2014-05-09 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ ASSERTION FAILED: object->style()->overflowX() == object->style()->overflowY()
+ https://bugs.webkit.org/show_bug.cgi?id=121682
</ins><span class="cx">
</span><del>- When vertically scrolling a page with horizontally scrollable overflow areas,
- vertical scroll gestures would be interrupted when wheel events with non-zero
- X deltas were intercepted by the overflow areas.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- Fix by storing a small history of wheel events deltas and using
- it to determine of the scroll gesture is primarily vertical or horizontal.
- When this is detected, avoid dispatching scroll events on the on the
- non-dominant axis.
</del><ins>+ Add more overflow freedom to the SVG element:
+ -overflow-x and overflow-y for controlling each scrollbar independently is now supported
+ -overflow:scroll will display scrollbars regardless of the svg overflowing or not (as required by CSS)
+ -overflow:hidden will cause overflow to be clipped away and scrollbars to be hidden
</ins><span class="cx">
</span><del>- Currently this behavior is conditionalized to only apply in iTunes.
</del><ins>+ Merged from Blink r172126 by <ed@opera.com>
</ins><span class="cx">
</span><del>- * page/EventHandler.cpp:
- (WebCore::EventHandler::EventHandler):
- (WebCore::EventHandler::recordWheelEventDelta):
- (WebCore::deltaIsPredominantlyVertical):
- (WebCore::EventHandler::dominantScrollGestureDirection):
- (WebCore::EventHandler::handleWheelEvent):
- (WebCore::EventHandler::defaultWheelEventHandler):
- * page/EventHandler.h:
- * platform/RuntimeApplicationChecks.cpp:
- (WebCore::applicationIsITunes):
- * platform/RuntimeApplicationChecks.h:
</del><ins>+ Tests: svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg
+ svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg
+ svg/animations/animate-viewport-overflow-2.html
+ svg/animations/animate-viewport-overflow.html
+ svg/in-html/overflow-repaint.html
+ svg/in-html/overflow-svg-root-attr.html
+ svg/in-html/overflow-svg-root-style.html
+ svg/in-html/overflow-svg-root.html
+ svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg
+ svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg
+ svg/overflow/overflow-scroll-on-outermost-svg-element.svg
+ svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg
+ svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg
+ svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg
+ svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg
</ins><span class="cx">
</span><del>-2013-08-21 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::adjustRenderStyle):
+ * page/FrameView.cpp:
+ (WebCore::FrameView::applyOverflowToViewport):
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::layout):
+ (WebCore::RenderSVGRoot::shouldApplyViewportClip):
+ (WebCore::RenderSVGRoot::paintReplaced):
+ (WebCore::RenderSVGRoot::computeFloatRectForRepaint):
+ * rendering/svg/RenderSVGRoot.h:
+ * rendering/svg/SVGRenderSupport.cpp:
+ (WebCore::SVGRenderSupport::isOverflowHidden):
</ins><span class="cx">
</span><del>- Merge r154378
</del><ins>+2014-05-09 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-20 Jer Noble <jer.noble@apple.com>
</del><ins>+ [MSE][Mac] Destroy the AVStreamDataParser when the SourceBuffer is removed from its MediaSource.
+ https://bugs.webkit.org/show_bug.cgi?id=132710
</ins><span class="cx">
</span><del>- <https://webkit.org/b/120101> [Mac] Suspended HTMLMediaElements can still hold power assertion after playback stops.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ The AVStreamDataParser should be destroyed when the SourceBuffer is removed, so that subsequent
+ SourceBuffers can utilize resources released by the parser on destruction.
</ins><span class="cx">
</span><del>- Call updateDisplaySleep() when we clear our MediaPlayer, as doing so may kill any in-flight
- rateChanged() notifications.
</del><ins>+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ (-[WebAVStreamDataParserListener invalidate]):
+ (-[WebAVStreamDataParserListener streamDataParser:didParseStreamDataAsAsset:]): Protect against _parent being invalidated.
+ (-[WebAVStreamDataParserListener streamDataParser:didParseStreamDataAsAsset:withDiscontinuity:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didFailToParseStreamDataWithError:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didProvideMediaData:forTrackID:mediaType:flags:]): Ditto.
+ (WebCore::SourceBufferPrivateAVFObjC::~SourceBufferPrivateAVFObjC): Call destroyParser();.
+ (WebCore::SourceBufferPrivateAVFObjC::removedFromMediaSource): Ditto.
+ (WebCore::SourceBufferPrivateAVFObjC::destroyParser): Call -[WebAVStreamDataParserListener invalidate].
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::clearMediaPlayer):
- (WebCore::HTMLMediaElement::stop):
</del><ins>+2014-05-09 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>-2013-08-16 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [CSS Regions] 1-2% performance regression in html5-full-render after r168286
+ https://bugs.webkit.org/show_bug.cgi?id=132672
</ins><span class="cx">
</span><del>- Merge r154147
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>- 2013-08-15 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ The patch optimizes the search of regions when there's a single region in the chain.
+ There's no need to execute advanced search logic, we can directly return that region.
</ins><span class="cx">
</span><del>- <https://webkit.org/b/119871> Flash of garbage pixels when playing a show on Hulu
</del><ins>+ Tests: No function change, no tests.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::canComputeRegionRangeForBox):
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::regionAtBlockOffset):
+ (WebCore::RenderFlowThread::hasCachedRegionRangeForBox): Renamed from hasRegionRangeForBox to
+ better suggest what the function does.
+ (WebCore::RenderFlowThread::getRegionRangeForBox):
+ (WebCore::RenderFlowThread::hasRegionRangeForBox): Deleted.
+ * rendering/RenderFlowThread.h:
</ins><span class="cx">
</span><del>- When starting a show on Hulu, there's a layer that gets marked as
- opaque because it has a child RenderLayer whose background fills the
- compositing layer. That child RenderLayer was recently position:fixed
- but outside the viewport, so its viewportConstrainedNotCompositedReason
- was set to a non-zero value.
</del><ins>+2014-05-09 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- However, we failed to clear the viewportConstrainedNotCompositedReason
- when the layer became non-fixed. This caused painting the opaque
- layer to bail in RenderLayer::paintLayer(), leaving garbage.
</del><ins>+ [EME] Call suspendIfNeeded() in the MediaKeySession create() method to avoid an ASSERT.
+ https://bugs.webkit.org/show_bug.cgi?id=132712
</ins><span class="cx">
</span><del>- Test: compositing/contents-opaque/fixed-to-nonfixed.html
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::paintLayer): Add an assertion to catch this error in future.
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::updateBacking): Make sure we clear the
- ViewportConstrainedNotCompositedReason if the layer is no longer fixed.
</del><ins>+ All ActiveDOMObject subclasses must call suspendIfNeeded() immediately after creation.
</ins><span class="cx">
</span><del>-2013-08-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * Modules/encryptedmedia/MediaKeySession.cpp:
+ (WebCore::MediaKeySession::MediaKeySession):
</ins><span class="cx">
</span><del>- Merge r154115
</del><ins>+2014-05-09 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-15 Andy Estes <aestes@apple.com>
</del><ins>+ Unreviewed. Another attempt to fix Windows build after r168528.
</ins><span class="cx">
</span><del>- <https://webkit.org/b/119853> REGRESSION (r139343): WebKit crashes when canceling a load inside webView:resource:didFinishLoadingFromDataSource:
</del><ins>+ * platform/graphics/win/FontWin.cpp:
+ (WebCore::Font::adjustSelectionRectForComplexText):
</ins><span class="cx">
</span><del>- Reviewed by Brady Eidson.
</del><ins>+2014-05-09 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- A client implementing webView:resource:didFinishLoadingFromDataSource:
- might decide to call stopLoading: for the identifier that just finished
- loading. If this happens we re-enter the loader and attempt to cancel a
- load that has already finished and been removed from the set of active
- loaders. Prevent this by clearing DocumentLoader's
- m_identifierForLoadWithoutResourceLoader before calling
- dispatchDidFinishLoading().
</del><ins>+ Unreviewed build fix for Win after r168528.
</ins><span class="cx">
</span><del>- New API test: WebKit1.StopLoadingFromDidFinishLoading.
</del><ins>+ * platform/graphics/win/FontWin.cpp:
+ (WebCore::Font::adjustSelectionRectForComplexText):
</ins><span class="cx">
</span><del>- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::finishedLoading): Set
- m_identifierForLoadWithoutResourceLoader to 0 before calling
- dispatchDidFinishLoading().
</del><ins>+2014-05-09 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>-2013-08-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ REGRESSION (r168095): 1-pixel gap between adjacent selection inlines
+ https://bugs.webkit.org/show_bug.cgi?id=132474
+ <rdar://problem/16797394>
</ins><span class="cx">
</span><del>- Merge r154123
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- 2013-08-15 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ This patch changes text selection rectangle calculation from integral to device
+ pixel snapping. It ensures that selection rect painting matches box boundaries for inline elements.
+ Directional rounding (horizontal only atm) is moved out from Font class and now accessible
+ to all the painting code. RTL snapping strategy is changed from floor to round to match ltr behavior.
+ However this patch does not address all the integral snapping across inline elements. There are
+ a few places where we still calculate enclosing rects where snapping is sufficient.
</ins><span class="cx">
</span><del>- <https://webkit.org/b/119824> AX: WKView does not become first responder when the voiceover cursor lands on it
</del><ins>+ Test: fast/inline/hidpi-pixel-gap-between-adjacent-selection-inlines.html
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/LayoutUnit.h:
+ (WebCore::roundToDevicePixel): added fudge factor to change rounding direction as directed.
+ * platform/graphics/Font.cpp:
+ (WebCore::Font::adjustSelectionRectForText):
+ (WebCore::Font::selectionRectForText): Deleted.
+ * platform/graphics/Font.h:
+ * platform/graphics/FontFastPath.cpp:
+ (WebCore::Font::adjustSelectionRectForSimpleText): removed directional rounding.
+ (WebCore::Font::selectionRectForSimpleText): Deleted.
+ * platform/graphics/GraphicsContext.cpp:
+ (WebCore::GraphicsContext::drawHighlightForText): Deleted.
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/LayoutPoint.h:
+ (WebCore::roundedForPainting):
+ * platform/graphics/LayoutRect.h:
+ (WebCore::directionalPixelSnappedForPainting): Snap top right corner for rtl direction.
+ * platform/graphics/cairo/FontCairoHarfbuzzNG.cpp:
+ (WebCore::Font::adjustSelectionRectForComplexText):
+ (WebCore::Font::selectionRectForComplexText): Deleted.
+ * platform/graphics/mac/FontComplexTextMac.cpp:
+ (WebCore::Font::adjustSelectionRectForComplexText): removed directional rounding.
+ (WebCore::Font::selectionRectForComplexText): Deleted.
+ * platform/graphics/win/FontWin.cpp:
+ (WebCore::Font::adjustSelectionRectForComplexText):
+ (WebCore::Font::selectionRectForComplexText): Deleted.
+ * rendering/EllipsisBox.cpp:
+ (WebCore::EllipsisBox::selectionRect):
+ (WebCore::EllipsisBox::paintSelection):
+ * rendering/InlineTextBox.cpp:
+ (WebCore::integralEnclosingRectForSelection): helper to address enclosing empty rect problem.
+ (WebCore::InlineTextBox::localSelectionRect):
+ (WebCore::InlineTextBox::paintSelection):
+ (WebCore::InlineTextBox::paintCompositionBackground):
+ (WebCore::InlineTextBox::paintDocumentMarker):
+ (WebCore::InlineTextBox::paintTextMatchMarker):
+ (WebCore::InlineTextBox::computeRectForReplacementMarker):
+ (WebCore::InlineTextBox::positionForOffset):
+ * rendering/svg/SVGInlineTextBox.cpp:
+ (WebCore::SVGInlineTextBox::selectionRectForTextFragment):
</ins><span class="cx">
</span><del>- Incorporate review feedback from Darin.
</del><ins>+2014-05-09 Martin Hodovan <mhodovan@inf.u-szeged.hu>
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityScrollView.cpp:
- (WebCore::AccessibilityScrollView::canSetFocusAttribute):
- (WebCore::AccessibilityScrollView::isFocused):
- * accessibility/AccessibilityScrollView.h:
</del><ins>+ ASSERTION FAILED: !m_code || m_code == defaultExceptionCode
+ in WebCore::constructQualifiedName
+ https://bugs.webkit.org/show_bug.cgi?id=132343
</ins><span class="cx">
</span><del>-2013-08-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ 'Remove bad assertion in SVGSMILElement's constructQualifiedName() by passing
+ IGNORE_EXCEPTION instead ASSERT_NO_EXCEPTION to Document::parseQualifiedName().
+ The constructQualifiedName() function handles parseQualifiedName() failures
+ propertly by returning early so there is no reason to assert on parsing
+ failures.'
</ins><span class="cx">
</span><del>- Merge r154083
</del><ins>+ Blink merge: http://src.chromium.org/viewvc/blink?view=revision&revision=173564
+ Based on the patch made by Christophe Dumez <ch.dumez@samsung.com>.
</ins><span class="cx">
</span><del>- 2013-08-14 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- <https://webkit.org/b/119824> AX: WKView does not become first responder when the voiceover cursor lands on it
</del><ins>+ Test: svg/custom/bad-attributeName-crash.html
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ * svg/animation/SVGSMILElement.cpp:
+ (WebCore::constructQualifiedName):
</ins><span class="cx">
</span><del>- VoiceOver lands on Scroll views by default. It expects that the scroll view will be able to handle the focus calls.
- We should forward scroll view focus requests to the web area to handle, which will trigger a becomeFirstResponder on WKView.
</del><ins>+2014-05-08 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- There's not a great way to test this unfortunately, since it requires having focus comes from outside the webview into the webview.
</del><ins>+ Multiple (stacked) cues when shuttling through video while playing closed captions
+ https://bugs.webkit.org/show_bug.cgi?id=132715
+ <rdar://problem/16795782>
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityScrollView.cpp:
- (WebCore::AccessibilityScrollView::canSetFocusAttribute):
- (WebCore::AccessibilityScrollView::isFocused):
- (WebCore::AccessibilityScrollView::setFocused):
- * accessibility/AccessibilityScrollView.h:
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-08-14 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Tests: media/track/track-in-band-cues-added-once.html
</ins><span class="cx">
</span><del>- Merge r154030
</del><ins>+ * html/track/TextTrack.cpp:
+ (WebCore::TextTrack::hasCue): Revise to use a relaxed time equality.
+ * html/track/TextTrackCue.cpp:
+ (WebCore::TextTrackCue::isEqual): Ditto.
+ (WebCore::TextTrackCue::hasEquivalentStartTime): Added.
+ * html/track/TextTrackCue.h:
+ (WebCore::TextTrackCue::startTimeVariance): Added.
+ * html/track/TextTrackCueGeneric.h:
+ * html/track/TextTrackCueGeneric.cpp:
+ (WebCore::TextTrackCueGeneric::isEqual): Do not call the VTTCue::isEqual method from
+ this class, since cueType() will not equal VTTCue, and the equality will fail.
</ins><span class="cx">
</span><del>- 2013-08-13 Brent Fulgham <bfulgham@apple.com>
</del><ins>+2014-05-08 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- [Windows] Windows is incorrectly using a LayerTypeTiledBackingLayer
- https://bugs.webkit.org/show_bug.cgi?id=119772
</del><ins>+ Automatically zip document bundles used via File API
+ https://bugs.webkit.org/show_bug.cgi?id=132713
+ <rdar://problem/13397892>
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer): Ensure that we use
- the correct (supported) tiled layer type for Windows.
- * platform/graphics/ca/win/PlatformCALayerWin.cpp:
- (PlatformCALayer::PlatformCALayer): Add an assertion to notify us if
- we introduce this mistake again in the future.
</del><ins>+ Tests: fast/files/filereader-zip-bundle.html
+ http/tests/local/fileapi/upload-zip-bundle-as-blob.html
</ins><span class="cx">
</span><del>-2013-08-12 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * FileMac.mm: Added.
+ (WebCore::File::shouldReplaceFile):
+ (WebCore::File::computeNameAndContentTypeForReplacedFile):
+ Added code that decides what to do with a bundle. We need this to happen in
+ WebProcess, because HTML5 dropzone depends on this, it needs to know file type
+ even before a File object can be created.
</ins><span class="cx">
</span><del>- Merge r153917
</del><ins>+ * WebCore.exp.in: Export new functions.
</ins><span class="cx">
</span><del>- 2013-08-09 Anders Carlsson <andersca@apple.com>
</del><ins>+ * WebCore.xcodeproj/project.pbxproj: Added new files.
</ins><span class="cx">
</span><del>- Artifacts seen sometimes with layer backed WebKit1 plug-in
- https://bugs.webkit.org/show_bug.cgi?id=119647
- <rdar://problem/14002715>
</del><ins>+ * dom/DataTransfer.cpp: (WebCore::DataTransfer::hasFileOfType): Updated for File
+ interface change.
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ * fileapi/File.h:
+ * fileapi/File.cpp:
+ (WebCore::File::File):
+ (WebCore::File::computeNameAndContentType):
+ (WebCore::File::contentTypeForFile):
+ (WebCore::File::contentTypeFromFilePathOrName): Deleted.
+ Make it possible for a subclass to affect file name and content type calculation.
</ins><span class="cx">
</span><del>- Don't try to paint layer backed views - they will be painted by Core Animation.
</del><ins>+ * platform/network/BlobDataFileReference.cpp:
+ (WebCore::BlobDataFileReference::BlobDataFileReference):
+ (WebCore::BlobDataFileReference::~BlobDataFileReference):
+ (WebCore::BlobDataFileReference::path):
+ (WebCore::BlobDataFileReference::size):
+ (WebCore::BlobDataFileReference::expectedModificationTime):
+ (WebCore::BlobDataFileReference::startTrackingModifications):
+ * platform/network/BlobDataFileReference.h:
+ (WebCore::BlobDataFileReference::path): Deleted.
+ (WebCore::BlobDataFileReference::BlobDataFileReference): Deleted.
+ Use original or replaced file, as appropriate.
</ins><span class="cx">
</span><del>- * platform/mac/WidgetMac.mm:
- (WebCore::Widget::paint):
</del><ins>+ * platform/network/mac/BlobDataFileReferenceMac.mm: Added.
+ (WebCore::BlobDataFileReference::generateReplacementFile): Implements generateReplacementFile().
</ins><span class="cx">
</span><del>-2013-08-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/network/FormData.h: Added a FIXME.
</ins><span class="cx">
</span><del>- Merge r153907
</del><ins>+ * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send): Always use Blob code path
+ for blobs, don't unwrap them into a file path.
</ins><span class="cx">
</span><del>- 2013-08-09 Beth Dakin <bdakin@apple.com>
</del><ins>+2014-05-08 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- AX: Not able to use arrow keys to read text in a WK2 app
- https://bugs.webkit.org/show_bug.cgi?id=119605
- -and corresponding-
- <rdar://problem/14281275>
</del><ins>+ Occasional crash under AsyncScrollingCoordinator::frameViewRootLayerDidChange() on history navigation
+ https://bugs.webkit.org/show_bug.cgi?id=132723
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Sam Weinig.
+
+ Crash reports suggest that when we call AsyncScrollingCoordinator::frameViewRootLayerDidChange()
+ from HistoryController::restoreScrollPositionAndViewState(), the FrameView may not have a
+ scrolling node ID, which suggests that either the FrameView doesn't have a RenderView,
+ or compositing hasn't happened yet.
+
+ So if we enter AsyncScrollingCoordinator::frameViewRootLayerDidChange()
+ and the FrameView has no scrollLayerID, just return. We'll fix things up
+ when compositing kicks in later.
</ins><span class="cx">
</span><del>- This code from defaultKeyboardEventHandler() is the magic that makes this AX
- functionality work. This patch moves that into a separate function so that we can
- call it from WK2.
- * WebCore.exp.in:
- * page/EventHandler.cpp:
- (WebCore::EventHandler::handleKeyboardSelectionMovementForAccessibility):
- (WebCore::EventHandler::defaultKeyboardEventHandler):
- * page/EventHandler.h:
</del><ins>+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::frameViewRootLayerDidChange):
</ins><span class="cx">
</span><del>-2013-08-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-08 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge r153809
</del><ins>+ [iOS WK2] Bottom-relative position:fixed elements are misplaced on page load
+ https://bugs.webkit.org/show_bug.cgi?id=132719
+ <rdar://problem/16860837>
</ins><span class="cx">
</span><del>- 2013-08-07 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- Be more aggressive about sending fake mouse events less frequently
- https://bugs.webkit.org/show_bug.cgi?id=119563
- <rdar://problem/14669029>
</del><ins>+ Add a couple of functions, and sort.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- r109151 added code that throttles back the fake mouse events that we
- send during scrolling, but in such a way that a page could take up to
- 100ms to handle a single mousemove, and we'd still send fake mousemove
- events every 100ms. This could cause serious scrolling stutter.
</del><ins>+2014-05-08 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Fix by changing when we drop back to sending events every 250ms, rather than every
- 100ms: if the slowest mousemove takes 10ms or more (less than one frame), drop back
- to a 250ms fake move interval.
</del><ins>+ [Mac, iOS] Add source application accounting to AVURLAsset.
+ https://bugs.webkit.org/show_bug.cgi?id=132637
</ins><span class="cx">
</span><del>- * page/EventHandler.cpp:
- (WebCore::EventHandler::dispatchFakeMouseMoveEventSoon):
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-08-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Properly account for the application responisble for data loading by passing the source
+ application identifier through to AVFoundation through AVURLAsset options.
</ins><span class="cx">
</span><del>- Merge r153867
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
+ * html/HTMLMediaElement.h:
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::sourceApplicationIdentifier):
+ * platform/graphics/MediaPlayer.h:
+ (WebCore::MediaPlayerClient::mediaPlayerSourceApplicationIdentifier):
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL):
+ * platform/network/NetworkingContext.h:
</ins><span class="cx">
</span><del>- 2013-08-08 Jer Noble <jer.noble@apple.com>
</del><ins>+2014-05-08 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- [EME] MediaKey APIs should be prefixed.
- https://bugs.webkit.org/show_bug.cgi?id=119606
</del><ins>+ [MSE][Mac] Move AVStreamDataParser off-main-thread.
+ https://bugs.webkit.org/show_bug.cgi?id=132698
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- No new tests; updated exsisting tests with new names.
</del><ins>+ -[AVStreamDataParser appendStreamData:] can casue the main thread to hang when a
+ large amount of media data is appended at once. Move the actual parsing of data
+ to a background (synchronous) dispatch queue, and split SourceBuffer::appendBufferTimerFired
+ into two functions, the latter of which will be called after the background queue
+ completes.
</ins><span class="cx">
</span><del>- Prefix all new classes with "WebKit" and new methods on existing unprefixed
- classes with "webkit"
</del><ins>+ * Modules/mediasource/SourceBuffer.cpp:
+ (WebCore::SourceBuffer::appendBufferTimerFired): Split into sourceBufferPrivateAppendComplete.
+ (WebCore::SourceBuffer::sourceBufferPrivateAppendComplete): Split from appendBufferTimerFired.
+ * Modules/mediasource/SourceBuffer.h:
+ * platform/graphics/SourceBufferPrivate.h:
+ * platform/graphics/SourceBufferPrivateClient.h:
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ (-[WebAVStreamDataParserListener streamDataParser:didParseStreamDataAsAsset:]): Re-dispatch to the
+ web thread.
+ (-[WebAVStreamDataParserListener streamDataParser:didParseStreamDataAsAsset:withDiscontinuity:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didFailToParseStreamDataWithError:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didProvideMediaData:forTrackID:mediaType:flags:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didReachEndOfTrackWithTrackID:mediaType:]): Ditto.
+ (-[WebAVStreamDataParserListener streamDataParser:didProvideContentKeyRequestInitializationData:forTrackID:]): Ditto.
+ (WebCore::globalDataParserQueue): Added.
+ (WebCore::SourceBufferPrivateAVFObjC::append): Dispatch to the globalDataParserQueue.
+ (WebCore::SourceBufferPrivateAVFObjC::appendCompleted): Added.
+ * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
+ (WebCore::MockSourceBufferPrivate::append): Adopt sourceBufferPrivateAppendComplete.
+ * platform/mock/mediasource/MockSourceBufferPrivate.h:
</ins><span class="cx">
</span><del>- * Modules/encryptedmedia/MediaKeyMessageEvent.idl: MediaKeyMessageEvent -> WebKitMediaKeyMessageEvent
- * Modules/encryptedmedia/MediaKeySession.idl: MediaKeySession -> WebKitMediaKeySession
- * Modules/encryptedmedia/MediaKeys.idl: MediaKeys -> WebKitMediaKeys
- * html/HTMLMediaElement.idl: keys -> webkitKeys, setMediaKeys -> webkitSetMediaKeys
- * html/MediaKeyError.idl: MediaKeyError -> WebKitMediaKeyError
</del><ins>+ Update SourceBufferPrivateGStreamer to match the new append return value:
+ * platform/graphics/gstreamer/SourceBufferPrivateGStreamer.cpp:
+ (WebCore::SourceBufferPrivateGStreamer::append):
+ * platform/graphics/gstreamer/SourceBufferPrivateGStreamer.h:
</ins><span class="cx">
</span><del>-2013-08-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-08 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Merge r153851
</del><ins>+ Unreviewed, rolling out r168498.
+ https://bugs.webkit.org/show_bug.cgi?id=132714
</ins><span class="cx">
</span><del>- 2013-08-08 Jer Noble <jer.noble@apple.com>
</del><ins>+ broke Mavericks WK2 (Requested by litherum on #webkit).
</ins><span class="cx">
</span><del>- [EME] setMediaKeys function as defined in the EME specification does not work
- https://bugs.webkit.org/show_bug.cgi?id=119597
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ "http/tests/security/xss-DENIED-xsl-document-redirect.xml
+ fails with NetworkProcess"
+ https://bugs.webkit.org/show_bug.cgi?id=132523
+ http://trac.webkit.org/changeset/168498
</ins><span class="cx">
</span><del>- No new tests; updated media/encrypted-media/encrypted-media-v2-syntax.html
</del><ins>+2014-05-08 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- Rename the mediaKeys attribute 'keys' and make readonly, and add an explicit
- setMediaKeys() method in HTMLMediaElement's IDL.
</del><ins>+ http/tests/security/xss-DENIED-xsl-document-redirect.xml fails with NetworkProcess
+ https://bugs.webkit.org/show_bug.cgi?id=132523
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.h:
- (WebCore::HTMLMediaElement::keys):
- * html/HTMLMediaElement.idl:
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>-2013-08-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+ We should not manufacture a response in the event of an error during a
+ synchronous XHR. In addition, this test removes one place that is
+ sensitive to such a manufactured response.
</ins><span class="cx">
</span><del>- Merge r153838
</del><ins>+ Updates test expectations.
</ins><span class="cx">
</span><del>- 2013-08-08 Jer Noble <jer.noble@apple.com>
</del><ins>+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::platformLoadResourceSynchronously): Do not
+ manufacture a response
+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::platformLoadResourceSynchronously): Do not
+ manufacture a response
+ * xml/XSLTProcessorLibxslt.cpp:
+ (WebCore::docLoaderFunc): Only use the response's URL if no error
+ occurred.
</ins><span class="cx">
</span><del>- [EME] Implement MediaKeys.isTypeSupported()
- https://bugs.webkit.org/show_bug.cgi?id=119586
</del><ins>+2014-05-08 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ [iOS] WebKit should listen to critical memory warnings.
+ <https://webkit.org/b/132704>
+ <rdar://problem/16857112>
</ins><span class="cx">
</span><del>- Test: media/encrypted-media/encrypted-media-is-type-supported.html
</del><ins>+ Listen for DISPATCH_MEMORYSTATUS_PRESSURE_CRITICAL in addition to
+ DISPATCH_MEMORYSTATUS_PRESSURE_WARN, since we may only get the critical
+ notification on some systems.
</ins><span class="cx">
</span><del>- The EME spec has removed the extra keySystem parameter from
- HTMLMediaElement.canPlayType() in favor of a new isTypeSupported()
- method on MediaKeys.
</del><ins>+ Reviewed by Gavin Barraclough.
</ins><span class="cx">
</span><del>- To implement this method, the CDMFactory needs to know whether the
- registered CDM supports the specified mime type. CDMs must register
- this new factory method, which requires changes to CDMPrivateAVFoundation
- and MockCDM.
</del><ins>+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandler::install):
</ins><span class="cx">
</span><del>- Add the new MediaKeys.isTypeSupported() method:
- * Modules/encryptedmedia/MediaKeys.cpp:
- (WebCore::MediaKeys::isTypeSupported):
- * Modules/encryptedmedia/MediaKeys.h:
- * Modules/encryptedmedia/MediaKeys.idl:
</del><ins>+2014-05-08 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- Add the new factory CDMSupportsKeySystemAndMimeType method:
- * Modules/encryptedmedia/CDM.cpp:
- (WebCore::CDMFactory::CDMFactory): Now takes a third parameter.
- (WebCore::installedCDMFactories): When adding the AVFoundation CDM, pass its new method.
- (WebCore::CDM::registerCDMFactory): Now takes a third parameter.
- (WebCore::CDM::keySystemSupportsMimeType): Added.
- * Modules/encryptedmedia/CDM.h:
- * WebCore.exp.in:
</del><ins>+ Web Inspector: InspectorDOMAgent::getAccessibilityPropertiesForNode should gracefully handle bad node
+ https://bugs.webkit.org/show_bug.cgi?id=132697
</ins><span class="cx">
</span><del>- Register this new method with the factory for all concrete CDMs:
- * Modules/encryptedmedia/CDMPrivateAVFoundation.h:
- * Modules/encryptedmedia/CDMPrivateAVFoundation.mm:
- (WebCore::CDMPrivateAVFoundation::supportsKeySystem):
- (WebCore::CDMPrivateAVFoundation::supportsKeySystemAndMimeType):
- * testing/Internals.cpp:
- (WebCore::Internals::initializeMockCDM):
- * testing/MockCDM.cpp:
- (WebCore::MockCDM::supportsKeySystem):
- (WebCore::MockCDM::supportsKeySystemAndMimeType):
- * testing/MockCDM.h:
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-08-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::getAccessibilityPropertiesForNode):
+ Gracefully handle no node.
</ins><span class="cx">
</span><del>- Merge r153810
</del><ins>+2014-05-08 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-07 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Fix the iOS build after r168476.
</ins><span class="cx">
</span><del>- Avoid spurious "all repaint" layouts when scrolling WebViews on Retina displays
- https://bugs.webkit.org/show_bug.cgi?id=119564
</del><ins>+ * platform/graphics/mac/GraphicsContextMac.mm:
+ (WebCore::GraphicsContext::drawFocusRing):
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+2014-05-08 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>- When scrolling WebViews on Macs with Retina displays, AppKit uses
- device pixels for the scroll offset, so [scrollView() documentVisibleRect]
- can return a CGRect with non-integral origin. This rect is used by layout,
- via layoutSize(), to decide whether the view size changed, which prompts
- a full repaint. However, FrameView gets a value which has been rounded
- by enclosingIntRect(), which increases the height or width by 1px if the
- y or x offset is on a half-pixel, causing spurious full repaints.
</del><ins>+ [CSS Shapes] Shapes do not resolve dimensions specified in viewport units
+ https://bugs.webkit.org/show_bug.cgi?id=124052
</ins><span class="cx">
</span><del>- Fix by plumbing through platformVisibleContentSize(), which just
- gets the size of the -documentVisibleRect.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::layout): Don't get layoutHeight and layoutWidth
- separately, since that is two calls down into platformVisibleContentSize.
- * platform/ScrollView.cpp:
- (WebCore::ScrollView::unscaledVisibleContentSize):
- (WebCore::ScrollView::platformVisibleContentSize):
- * platform/ScrollView.h:
- * platform/mac/ScrollViewMac.mm:
- (WebCore::ScrollView::platformVisibleContentSize):
</del><ins>+ Viewport unit resolution doesn't work unless the RenderView is passed
+ down into the floatValueForLength methods. All this does is plumb down
+ a RenderView in all of these cases.
</ins><span class="cx">
</span><del>-2013-08-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Tests: css3/masking/clip-path-polygon-viewport-units.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-viewport-units.html
</ins><span class="cx">
</span><del>- Merge r153845
</del><ins>+ * css/BasicShapeFunctions.cpp:
+ (WebCore::floatValueForCenterCoordinate):
+ * css/BasicShapeFunctions.h:
+ * css/LengthFunctions.cpp:
+ (WebCore::floatSizeForLengthSize):
+ * css/LengthFunctions.h:
+ * rendering/ClipPathOperation.h:
+ (WebCore::ShapeClipPathOperation::pathForReferenceRect):
+ (WebCore::BoxClipPathOperation::pathForReferenceRect):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::setupClipPath):
+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createShape):
+ * rendering/shapes/Shape.h:
+ * rendering/shapes/ShapeOutsideInfo.cpp:
+ (WebCore::ShapeOutsideInfo::computedShape):
+ * rendering/style/BasicShapes.cpp:
+ (WebCore::BasicShapeCircle::floatValueForRadiusInBox):
+ (WebCore::BasicShapeCircle::path):
+ (WebCore::BasicShapeEllipse::floatValueForRadiusInBox):
+ (WebCore::BasicShapeEllipse::path):
+ (WebCore::BasicShapePolygon::path):
+ (WebCore::floatSizeForLengthSize):
+ (WebCore::BasicShapeInset::path):
+ * rendering/style/BasicShapes.h:
+ * rendering/svg/SVGRenderingContext.cpp:
+ (WebCore::SVGRenderingContext::prepareToRenderSVGContent):
</ins><span class="cx">
</span><del>- 2013-08-08 Brent Fulgham <bfulgham@apple.com>
</del><ins>+2014-05-08 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- [Windows] Improper Caption Button Displayed to Users
- https://bugs.webkit.org/show_bug.cgi?id=119593
</del><ins>+ Cue display events may not be registered during page load.
+ https://bugs.webkit.org/show_bug.cgi?id=132696
+ <rdar://problem/16652874>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Remove the custom drawing code for the Windows port, and
- have it render using the CSS/SVG markup like we do on OS X.
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.js:
+ (Controller.prototype.handleTextTrackAdd): Don't register
+ for 'cuechange' events anymore.
+ (Controller.prototype.handleTextTrackRemove): Ditto.
+ (Controller.prototype.updateCaptionContainer): Reduce CSS
+ churn by not adding/removing 'Hidden' class every time a
+ new cue is processed. Only do this when transitioning
+ track display state.
+ (Controller.prototype.handleTextTrackCueChange): Deleted.
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::updateTextTrackDisplay): Call
+ 'updateTextTrackContainer' directory when processing cues,
+ rather than trampolining through the JS layer.
</ins><span class="cx">
</span><del>- * rendering/RenderThemeWin.cpp: Remove drawing code.
- * rendering/RenderThemeWin.h: Remove declaration.
</del><ins>+2014-05-08 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>-2013-08-07 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Make BlobDataFileReference manage its sandbox extension
+ https://bugs.webkit.org/show_bug.cgi?id=132689
</ins><span class="cx">
</span><del>- Merge r153775
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- 2013-08-06 Stephanie Lewis <slewis@apple.com>
</del><ins>+ * WebCore.exp.in: Export symbols that are now needed in WebKit2 to subclass BlobDataFileReference.
</ins><span class="cx">
</span><del>- Update Order Files for Safari
- <rdar://problem/14517392>
</del><ins>+ * fileapi/ThreadableBlobRegistry.cpp: (WebCore::ThreadableBlobRegistry::registerFileBlobURL):
+ * platform/network/BlobData.cpp: (WebCore::BlobData::appendFile):
+ * platform/network/BlobData.h: (WebCore::BlobDataItem::BlobDataItem):
+ * platform/network/BlobRegistry.h:
+ * platform/network/BlobRegistryImpl.cpp: (WebCore::BlobRegistryImpl::registerFileBlobURL):
+ * platform/network/BlobRegistryImpl.h:
+ BlobRegistry now takes a BlobDataFileReference and not a path, so that WebKit2
+ could pass objects that include sandbox extensions.
</ins><span class="cx">
</span><del>- Unreviewed.
</del><ins>+ * platform/network/BlobDataFileReference.h:
+ * platform/network/BlobDataFileReference.cpp:
+ (WebCore::BlobDataFileReference::~BlobDataFileReference): Added a virtual destructor.
+ (WebCore::BlobDataFileReference::size): We now record the size and modification time right away, no need to lazily calculate them.
+ (WebCore::BlobDataFileReference::expectedModificationTime): Ditto.
+ (WebCore::BlobDataFileReference::startTrackingModifications): Record time and size
+ (since it's a single call). However, size calculation will become complicated again soon.
+ (WebCore::BlobDataFileReference::prepareForFileAccess): A hook for subclasses.
+ (WebCore::BlobDataFileReference::revokeFileAccess): Ditto.
+ (WebCore::BlobDataFileReference::computeFileSystemData): Deleted.
</ins><span class="cx">
</span><del>- No change in functionality.
</del><ins>+2014-05-08 Rik Cabanier <cabanier@adobe.com>
</ins><span class="cx">
</span><del>- * WebCore.order:
</del><ins>+ Add support for drawFocusIfNeeded
+ https://bugs.webkit.org/show_bug.cgi?id=132584
</ins><span class="cx">
</span><del>-2013-08-06 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- Merge r153758
</del><ins>+ The drawFocusIfNeeded API will draw a focus ring if the element that is passed
+ in is focused and a child element of the canvas.
</ins><span class="cx">
</span><del>- 2013-08-06 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Test: fast/canvas/draw-focus-if-needed.html
</ins><span class="cx">
</span><del>- Improper Calculation of In-band Cue Colors
- https://bugs.webkit.org/show_bug.cgi?id=119523
</del><ins>+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::drawFocusIfNeeded):
+ * html/canvas/CanvasRenderingContext2D.h:
+ * html/canvas/CanvasRenderingContext2D.idl:
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+2014-05-08 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
- (WebCore::makeRGBA32FromARGBCFArray): Remove redundant multiplication by
- 255. The internal conversion logic already converts to bytes.
</del><ins>+ [iOS WebKit2] Can't activate text fields on Facebook
+ https://bugs.webkit.org/show_bug.cgi?id=132682
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>- Merge r153725
</del><ins>+ * page/DOMTimer.cpp:
+ (WebCore::DOMTimer::fired):
+
+ The isDocument() test here had reversed in the merge breaking content change observer callback.
</ins><span class="cx">
</span><del>- 2013-08-05 Alexey Proskuryakov <ap@apple.com>
</del><ins>+2014-05-07 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>- <rdar://problem/14637103> REGRESSION (r153060?): Microphone appears in the way
- of text when dictating an e-mail
- https://bugs.webkit.org/show_bug.cgi?id=119496
</del><ins>+ Replace DEPRECATED_DEFINE_STATIC_LOCAL by static NeverDestroyed<T> in svg/
+ https://bugs.webkit.org/show_bug.cgi?id=132647
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Test: platform/mac/editing/input/firstrectforcharacterrange-caret-in-br.html
</del><ins>+ * svg/SVGAElement.cpp:
+ (WebCore::SVGAElement::isSupportedAttribute):
+ * svg/SVGAnimateMotionElement.cpp:
+ (WebCore::SVGAnimateMotionElement::isSupportedAttribute):
+ * svg/SVGAnimateTransformElement.cpp:
+ (WebCore::SVGAnimateTransformElement::isSupportedAttribute):
+ * svg/SVGAnimatedLength.cpp:
+ (WebCore::sharedSVGLength):
+ * svg/SVGAnimationElement.cpp:
+ (WebCore::SVGAnimationElement::isSupportedAttribute):
+ * svg/SVGCircleElement.cpp:
+ (WebCore::SVGCircleElement::isSupportedAttribute):
+ * svg/SVGClipPathElement.cpp:
+ (WebCore::SVGClipPathElement::isSupportedAttribute):
+ * svg/SVGComponentTransferFunctionElement.cpp:
+ (WebCore::SVGComponentTransferFunctionElement::isSupportedAttribute):
+ * svg/SVGCursorElement.cpp:
+ (WebCore::SVGCursorElement::isSupportedAttribute):
+ * svg/SVGElement.cpp:
+ (WebCore::SVGElement::instancesForElement):
+ (WebCore::SVGElement::childShouldCreateRenderer):
+ * svg/SVGEllipseElement.cpp:
+ (WebCore::SVGEllipseElement::isSupportedAttribute):
+ * svg/SVGFEBlendElement.cpp:
+ (WebCore::SVGFEBlendElement::isSupportedAttribute):
+ * svg/SVGFEColorMatrixElement.cpp:
+ (WebCore::SVGFEColorMatrixElement::isSupportedAttribute):
+ * svg/SVGFEComponentTransferElement.cpp:
+ (WebCore::SVGFEComponentTransferElement::isSupportedAttribute):
+ * svg/SVGFECompositeElement.cpp:
+ (WebCore::SVGFECompositeElement::isSupportedAttribute):
+ * svg/SVGFEConvolveMatrixElement.cpp:
+ (WebCore::SVGFEConvolveMatrixElement::isSupportedAttribute):
+ * svg/SVGFEDiffuseLightingElement.cpp:
+ (WebCore::SVGFEDiffuseLightingElement::isSupportedAttribute):
+ * svg/SVGFEDisplacementMapElement.cpp:
+ (WebCore::SVGFEDisplacementMapElement::isSupportedAttribute):
+ * svg/SVGFEDropShadowElement.cpp:
+ (WebCore::SVGFEDropShadowElement::isSupportedAttribute):
+ * svg/SVGFEGaussianBlurElement.cpp:
+ (WebCore::SVGFEGaussianBlurElement::isSupportedAttribute):
+ * svg/SVGFEImageElement.cpp:
+ (WebCore::SVGFEImageElement::isSupportedAttribute):
+ * svg/SVGFELightElement.cpp:
+ (WebCore::SVGFELightElement::isSupportedAttribute):
+ * svg/SVGFEMergeNodeElement.cpp:
+ (WebCore::SVGFEMergeNodeElement::isSupportedAttribute):
+ * svg/SVGFEMorphologyElement.cpp:
+ (WebCore::SVGFEMorphologyElement::isSupportedAttribute):
+ * svg/SVGFEOffsetElement.cpp:
+ (WebCore::SVGFEOffsetElement::isSupportedAttribute):
+ * svg/SVGFESpecularLightingElement.cpp:
+ (WebCore::SVGFESpecularLightingElement::isSupportedAttribute):
+ * svg/SVGFETileElement.cpp:
+ (WebCore::SVGFETileElement::isSupportedAttribute):
+ * svg/SVGFETurbulenceElement.cpp:
+ (WebCore::SVGFETurbulenceElement::isSupportedAttribute):
+ * svg/SVGFilterElement.cpp:
+ (WebCore::SVGFilterElement::isSupportedAttribute):
+ (WebCore::SVGFilterElement::childShouldCreateRenderer):
+ * svg/SVGFilterPrimitiveStandardAttributes.cpp:
+ (WebCore::SVGFilterPrimitiveStandardAttributes::isSupportedAttribute):
+ * svg/SVGForeignObjectElement.cpp:
+ (WebCore::SVGForeignObjectElement::isSupportedAttribute):
+ * svg/SVGGElement.cpp:
+ (WebCore::SVGGElement::isSupportedAttribute):
+ * svg/SVGGradientElement.cpp:
+ (WebCore::SVGGradientElement::isSupportedAttribute):
+ * svg/SVGGraphicsElement.cpp:
+ (WebCore::SVGGraphicsElement::isSupportedAttribute):
+ * svg/SVGImageElement.cpp:
+ (WebCore::SVGImageElement::isSupportedAttribute):
+ * svg/SVGLength.cpp:
+ (WebCore::SVGLength::lengthModeForAnimatedLengthAttribute):
+ * svg/SVGLineElement.cpp:
+ (WebCore::SVGLineElement::isSupportedAttribute):
+ * svg/SVGLinearGradientElement.cpp:
+ (WebCore::SVGLinearGradientElement::isSupportedAttribute):
+ * svg/SVGMPathElement.cpp:
+ (WebCore::SVGMPathElement::isSupportedAttribute):
+ * svg/SVGMarkerElement.cpp:
+ (WebCore::SVGMarkerElement::isSupportedAttribute):
+ * svg/SVGMaskElement.cpp:
+ (WebCore::SVGMaskElement::isSupportedAttribute):
+ * svg/SVGPathElement.cpp:
+ (WebCore::SVGPathElement::isSupportedAttribute):
+ * svg/SVGPatternElement.cpp:
+ (WebCore::SVGPatternElement::isSupportedAttribute):
+ * svg/SVGPolyElement.cpp:
+ (WebCore::SVGPolyElement::isSupportedAttribute):
+ * svg/SVGRadialGradientElement.cpp:
+ (WebCore::SVGRadialGradientElement::isSupportedAttribute):
+ * svg/SVGRectElement.cpp:
+ (WebCore::SVGRectElement::isSupportedAttribute):
+ * svg/SVGScriptElement.cpp:
+ (WebCore::SVGScriptElement::isSupportedAttribute):
+ * svg/SVGStopElement.cpp:
+ (WebCore::SVGStopElement::isSupportedAttribute):
+ * svg/SVGStyleElement.cpp:
+ (WebCore::SVGStyleElement::isSupportedAttribute):
+ * svg/SVGSymbolElement.cpp:
+ (WebCore::SVGSymbolElement::isSupportedAttribute):
+ * svg/SVGTRefElement.cpp:
+ (WebCore::SVGTRefElement::isSupportedAttribute):
+ * svg/SVGTests.cpp:
+ (WebCore::SVGTests::attributeToPropertyMap):
+ * svg/SVGTextContentElement.cpp:
+ (WebCore::SVGTextContentElement::textLengthAnimated):
+ (WebCore::SVGTextContentElement::isSupportedAttribute):
+ * svg/SVGTextPathElement.cpp:
+ (WebCore::SVGTextPathElement::isSupportedAttribute):
+ * svg/SVGTextPositioningElement.cpp:
+ (WebCore::SVGTextPositioningElement::isSupportedAttribute):
+ * svg/SVGUseElement.cpp:
+ (WebCore::SVGUseElement::isSupportedAttribute):
+ (WebCore::isDisallowedElement):
+ * svg/SVGViewElement.cpp:
+ (WebCore::SVGViewElement::isSupportedAttribute):
</ins><span class="cx">
</span><del>- * rendering/RenderObject.cpp: (WebCore::RenderObject::absoluteBoundingBoxRectForRange):
- FloatRect::unite() doesn't preserve empty rects, which we need here.
- We alrady handle the case of collapsed range in Editor::firstRectForRange(), and
- this is similar, but we can't currently cover both with one simple fix.
</del><ins>+2014-05-08 Ion Rosca <rosca@adobe.com>
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [CSS Blending] Replacing Unisolated with NotIsolated in variables and methods names
+ https://bugs.webkit.org/show_bug.cgi?id=132677
</ins><span class="cx">
</span><del>- Merge r152884
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- 2013-07-18 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ No new tests required.
</ins><span class="cx">
</span><del>- Build fix after r152876.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::RenderLayer):
+ (WebCore::RenderLayer::updateAncestorChainHasBlendingDescendants):
+ (WebCore::RenderLayer::dirtyAncestorChainHasBlendingDescendants):
+ (WebCore::RenderLayer::updateDescendantDependentFlags):
+ hasUnisolatedBlendingDescendants -> hasNotIsolatedBlendingDescendants
+ (WebCore::RenderLayer::addChild):
+ (WebCore::RenderLayer::removeChild):
+ (WebCore::RenderLayer::updateStackingContextsAfterStyleChange):
+ * rendering/RenderLayer.h:
+ m_hasUnisolatedBlendingDescendants -> m_hasNotIsolatedBlendingDescendants
+ m_hasUnisolatedBlendingDescendantsStatusDirty -> m_hasNotIsolatedBlendingDescendantsStatusDirty
+ hasUnisolatedBlendingDescendants() -> hasNotIsolatedBlendingDescendants()
+ hasUnisolatedBlendingDescendantsStatusDirty() -> hasNotIsolatedBlendingDescendantsStatusDirty()
+ m_hasUnisolatedCompositedBlendingDescendants -> m_hasNotIsolatedCompositedBlendingDescendants
+ hasUnisolatedCompositedBlendingDescendants() -> hasNotIsolatedCompositedBlendingDescendants()
+ setHasUnisolatedCompositedBlendingDescendants() -> setHasNotIsolatedCompositedBlendingDescendants
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::CompositingState::CompositingState):
+ m_hasUnisolatedCompositedBlendingDescendants -> m_hasNotIsolatedCompositedBlendingDescendants
+ (WebCore::RenderLayerCompositor::computeCompositingRequirements):
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- (WebCore::MediaPlayerPrivateAVFoundation::processNewAndRemovedTextTracks):
</del><ins>+2014-05-08 Xabier Rodriguez Calvar <calvaris@igalia.com>
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [GTK] Enable skipped http/tests/media/hls/video-controls-live-stream.html
+ https://bugs.webkit.org/show_bug.cgi?id=132329
</ins><span class="cx">
</span><del>- Merge r152876
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- 2013-07-18 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ GTK port needed to define what happened with live stream media
+ controls. Now we disable and dim the timeline and tweak the
+ timers.
</ins><span class="cx">
</span><del>- [Media] Share more code between Mac and Windows implementation files.
- https://bugs.webkit.org/show_bug.cgi?id=118801
</del><ins>+ Test: http/tests/media/hls/video-controls-live-stream.html.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * Modules/mediacontrols/mediaControlsGtk.js:
+ (ControllerGtk.prototype.configureControls): Moved logic from
+ setControlsType and changed to use an early return.
+ (ControllerGtk.prototype.reconnectControls): Redefined to just
+ configure the controls.
+ (ControllerGtk.prototype.handlePlay): If stream is live we don't
+ activate the current time just in case.
+ (ControllerGtk.prototype.updateDuration): Calls the superclass and
+ sets timeline.max to 0.
+ (ControllerGtk.prototype.setControlsType): Deleted.
+ (ControllerGtk.prototype.setIsLive): Configures controls and
+ disables the timeline if stream is live.
+ * css/mediaControlsGtk.css:
+ (audio::-webkit-media-controls-timeline[disabled])
+ (video::-webkit-media-controls-timeline[disabled]): Dimmed the
+ timeline by setting opacity to 0.3.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- (WebCore::MediaPlayerPrivateAVFoundation::clearTextTracks): Move
- implementation from ObjC file to parent file.
- (WebCore::MediaPlayerPrivateAVFoundation::processNewAndRemovedTextTracks):
- Ditto.
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
- Remove duplicate implementation.
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- Ditto.
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
- Ditto.
- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
- Ditto.
- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- Ditto.
</del><ins>+2014-05-08 Ion Rosca <rosca@adobe.com>
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [CSS Blending] Changing isolation CSS property should not trigger repaint in RenderStyle::changeRequiresLayerRepaint
+ https://bugs.webkit.org/show_bug.cgi?id=131436
</ins><span class="cx">
</span><del>- Merge r153628
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- 2013-08-01 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ The isolation:isolate property will create a stacking context. This is done in
+ StyleResolver::adjustRenderStyle where z-index is forced to 0.
+ If the element is already a stacking context for any other reason,
+ changing the isolation flag should not have any effect.
</ins><span class="cx">
</span><del>- [Windows] WebKit1 Fullscreen Video Play is Broken
- https://bugs.webkit.org/show_bug.cgi?id=119415
</del><ins>+ Tests: css3/blending/repaint/blend-mode-turn-off-isolation-no-effect.html
+ css3/blending/repaint/blend-mode-turn-off-isolation.html
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::changeRequiresLayerRepaint):
+ do not request repaint if isolation has changed.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h: Add
- call for ACFPlayerLayerSetFrame
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformSetVisible):
- Tear down video player when leaving Fullscreen mode and not using
- the newer Fullscreen feature.
- (WebCore::AVFWrapper::disconnectAndDeleteAVFWrapper):
- Disconnect from notifications for AVCFPlayerItemPresentationSizeChangedNotification,
- AVCFPlayerItemDuratoinChangedNotification, and disconnect any
- LegibleOutput items added to the player item.
- (WebCore::AVFWrapper::createPlayerItem): Add notifications for
- AVCFPlayerItemPresentationSizeChanged.
- (WebCore::LayerClient::platformCALayerLayoutSublayersOfLayer): Notify
- the AVCFPLayerLayer when the display size has changed.
- * platform/graphics/ca/win/CACFLayerTreeHost.h:
- (WebCore::CACFLayerTreeHost::manualCreateRenderer): Added.
- * platform/graphics/ca/win/WKCACFViewLayerTreeHost.h:
- (WebCore::WKCACFViewLayerTreeHost::manualCreateRenderer): Added.
- * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
- (WebCore::MediaPlayerPrivateFullscreenWindow::createWindow): Minor
- cleanups.
- (WebCore::MediaPlayerPrivateFullscreenWindow::setRootChildLayer):
- Make sure a Direct3D renderer is created when building the full screen
- window for Video playback.
</del><ins>+2014-05-08 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+ REGRESSION (r167652): SelectionState is not set properly for non leaf objects in pages with regions
+ https://bugs.webkit.org/show_bug.cgi?id=132493
</ins><span class="cx">
</span><del>- Merge r153377
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- 2013-07-26 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Non selection leaf elements were not included in the selection ranges,
+ that was causing that their selection state was not set properly and
+ when one of the element was removed as it was marked as SelectionNone
+ current selection was not removed.
</ins><span class="cx">
</span><del>- [Windows] Remove workarounds now that rdar://problem/14390466 is fixed.
- https://bugs.webkit.org/show_bug.cgi?id=119150
</del><ins>+ Due to this fix, the regression detected in bug #131982 arose again.
+ Reverted changes from r167675 and reopened bug as previous fix was not
+ right. Updated TestExpectations accordingly.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Test: fast/regions/selection/crash-select-all.html
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::AVFWrapper::createPlayer): Remove workaround to add legible output
- after player is created.
- (WebCore::AVFWrapper::createPlayerItem): Remove workaround to delay adding
- legible output until player is created.
- (WebCore::AVFWrapper::platformLayer): Get rid of unused temporary.
</del><ins>+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::splitSelectionBetweenSubtrees): We need to include
+ non selection leafs in the range, otherwise we won't be marking
+ selection state of some elements properly.
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-08 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- Merge r152861
</del><ins>+ [CSS Shapes] Can't select content within the area of the floating box when clip-path is applied
+ https://bugs.webkit.org/show_bug.cgi?id=131375
</ins><span class="cx">
</span><del>- 2013-07-17 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- [Windows] Support in-band text tracks.
- https://bugs.webkit.org/show_bug.cgi?id=103770
</del><ins>+ According to http://www.w3.org/TR/css-masking-1/, the clipped part of the element should
+ not have pointer event dispatching. So add this logic to RenderBlock::nodeAtPoint. This
+ fixes the bug as it disallows selection on any clipped parts.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ I implemented the proper selection for the various CSS box types and added testing
+ for them. Also, I made and run performance tests for exposing mouse events over the
+ clipped/non-clipped area, which results can be seen in bugzilla.
</ins><span class="cx">
</span><del>- Existing media tests cover these features.
</del><ins>+ Based on the patch made by Rob Buis <rob.buis@samsung.com>
+ Blink revision: http://src.chromium.org/viewvc/blink?view=revision&revision=172619
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Add new files for Windows captions
- * WebCore.vcxproj/WebCore.vcxproj.filters: ditto.
- * config.h: Make sure proper buid flags are turned on when building
- with AVCF_LEGIBLE_OUTPUT.
- * page/CaptionUserPreferencesMediaAF.cpp: Revise to reduce soft linking
- duplication between Mac and Windows.
- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: Update
- to support Windows platform by removing compiler guards and adding
- Windows declarations for soft-link functions.
- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: Ditto.
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- Remove build guards preventing Windows from using LegibleOutput
- features.
- (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation):
- (WebCore::MediaPlayerPrivateAVFoundation::seek):
- (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):
- (WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification):
- (WebCore::MediaPlayerPrivateAVFoundation::trackModeChanged):
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
- (WebCore::MediaPlayerPrivateAVFoundation::contentsNeedsDisplay): Ditto
- * platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h:
- Add new LegibleOutput support functions, and try to reduce duplication
- between Windows and Mac soft link declarations.
- * platform/graphics/avfoundation/cf/CoreMediaSoftLinking.h: Ditto.
- * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp: Added.
- (WebCore::InbandTextTrackPrivateAVCF::InbandTextTrackPrivateAVCF):
- (WebCore::InbandTextTrackPrivateAVCF::disconnect):
- (WebCore::InbandTextTrackPrivateAVCF::kind):
- (WebCore::InbandTextTrackPrivateAVCF::isClosedCaptions):
- (WebCore::InbandTextTrackPrivateAVCF::isSDH):
- (WebCore::InbandTextTrackPrivateAVCF::containsOnlyForcedSubtitles):
- (WebCore::InbandTextTrackPrivateAVCF::isMainProgramContent):
- (WebCore::InbandTextTrackPrivateAVCF::isEasyToRead):
- (WebCore::InbandTextTrackPrivateAVCF::label):
- (WebCore::InbandTextTrackPrivateAVCF::language):
- (WebCore::InbandTextTrackPrivateAVCF::isDefault):
- * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h: Added.
- (WebCore::InbandTextTrackPrivateAVCF::create):
- (WebCore::InbandTextTrackPrivateAVCF::~InbandTextTrackPrivateAVCF):
- (WebCore::InbandTextTrackPrivateAVCF::mediaSelectionOption):
- * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp: Added.
- (WebCore::InbandTextTrackPrivateLegacyAVCF::InbandTextTrackPrivateLegacyAVCF):
- (WebCore::InbandTextTrackPrivateLegacyAVCF::disconnect):
- (WebCore::InbandTextTrackPrivateLegacyAVCF::kind):
- (WebCore::InbandTextTrackPrivateLegacyAVCF::isClosedCaptions):
- (WebCore::InbandTextTrackPrivateLegacyAVCF::containsOnlyForcedSubtitles):
- (WebCore::InbandTextTrackPrivateLegacyAVCF::isMainProgramContent):
- (WebCore::InbandTextTrackPrivateLegacyAVCF::isEasyToRead):
- (WebCore::InbandTextTrackPrivateLegacyAVCF::label):
- (WebCore::InbandTextTrackPrivateLegacyAVCF::language):
- * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h: Added.
- (WebCore::InbandTextTrackPrivateLegacyAVCF::create):
- (WebCore::InbandTextTrackPrivateLegacyAVCF::~InbandTextTrackPrivateLegacyAVCF):
- (WebCore::InbandTextTrackPrivateLegacyAVCF::avPlayerItemTrack):
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- Update to support LegibleOutput features for the Windows port.
- (WebCore::AVFWrapper::currentTrack): Added.
- (WebCore::AVFWrapper::legibleOutput): Added.
- (WebCore::createMetadataKeyNames): Added missing key names.
- (WebCore::avLegibleOutput): Added.
- (WebCore::safeMediaSelectionGroupForLegibleMedia): Added.
- (WebCore::MediaPlayerPrivateAVFoundationCF::cancelLoad): Clear text
- tracks when cancelling.
- (WebCore::MediaPlayerPrivateAVFoundationCF::setCurrentTrack): Added.
- (WebCore::MediaPlayerPrivateAVFoundationCF::currentTrack): Added.
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformDuration): Revised
- to match logic in Objective C implementation.
- (WebCore::MediaPlayerPrivateAVFoundationCF::currentTime): Revised
- to match logic in Objective C implementation.
- (WebCore::MediaPlayerPrivateAVFoundationCF::paintCurrentFrameInContext):
- Check presence of metadata before proceeding. Revised to match logic
- in Objective C implementation.
- (WebCore::MediaPlayerPrivateAVFoundationCF::paint): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundationCF::tracksChanged): Update for
- in-band text tracks.
- (WebCore::MediaPlayerPrivateAVFoundationCF::clearTextTracks): Added.
- (WebCore::MediaPlayerPrivateAVFoundationCF::processLegacyClosedCaptionsTracks):
- Added.
- (WebCore::MediaPlayerPrivateAVFoundationCF::processNewAndRemovedTextTracks):
- Added.
- (WebCore::MediaPlayerPrivateAVFoundationCF::processMediaSelectionOptions):
- Added.
- (WebCore::AVFWrapper::setCurrentTrack): Added.
- (WebCore::MediaPlayerPrivateAVFoundationCF::languageOfPrimaryAudioTrack):
- Added.
- (WebCore::AVFWrapper::AVFWrapper): Add new initializers.
- (WebCore::AVFWrapper::~AVFWrapper): Clean up text track information.
- (WebCore::AVFWrapper::createPlayer): Add Legible Output support.
- (WebCore::AVFWrapper::createPlayerItem): Ditto.
- (WebCore::LegibleOutputData::LegibleOutputData): Added.
- (WebCore::AVFWrapper::processCue): Added.
- (WebCore::AVFWrapper::legibleOutputCallback): Added.
- (WebCore::AVFWrapper::safeMediaSelectionGroupForLegibleMedia): Added.
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
- Update to support LegibleOutput features for the Windows port.
- * platform/win/SoftLinking.h: Change signature of variable accessor
- to match Mac so reduce duplicate code.
</del><ins>+ Tests: fast/masking/clip-path-selection.html
+ fast/shapes/shape-outside-floats/shape-outside-clip-path-selection.html
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::nodeAtPoint):
</ins><span class="cx">
</span><del>- Merge r153706
</del><ins>+2014-05-07 Ion Rosca <rosca@adobe.com>
</ins><span class="cx">
</span><del>- 2013-08-03 Jer Noble <jer.noble@apple.com>
</del><ins>+ [CSS Blending] Blending doesn't work if the parent stacking context is not a self painting layer
+ https://bugs.webkit.org/show_bug.cgi?id=130891
</ins><span class="cx">
</span><del>- Loading a video with a custom URL scheme will result in stalling playback
- https://bugs.webkit.org/show_bug.cgi?id=119469
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ The stacking context layers having unisolated blending descendants should be able
+ to create transparency layers or to become composited in order to restrict blending
+ content to accessing the information outside the current stacking context.
+ Some layers are not self painting layers and these layers cannot crate transparency
+ layers and cannot be composited, thus they are not able to isolate blending descendants
+ when it's required.
+
+ The solution in this patch is to make a layer isSelfPaintingLayer when
+ it needs to isolate blending descendants (hasUnisolatedBlendingDescendants).
</ins><span class="cx">
</span><del>- Break the assumption that only one AVAssetResourceRequest will be outstanding simultaneously
- by storing a HashMap of AVAssetResourceRequests and their resulting WebCoreAVFResourceLoader.
- When loading is stopped (due to completion or error), notify the MediaPlayerPrivateAVFoundation
- parent so that the map can be emptied.
</del><ins>+ Tests: css3/blending/blend-mode-isolation-accelerated-overflow-hidden.html
+ css3/blending/blend-mode-isolation-overflow-hidden.html
+ css3/blending/blend-mode-isolation-turn-off-self-painting-layer.html
+ css3/blending/blend-mode-isolation-turn-off-self-painting-layer1.html
+ css3/blending/blend-mode-isolation-turn-off-self-painting-layer2.html
+ css3/blending/blend-mode-isolation-turn-on-self-painting-layer.html
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForLoadingOfResource): Store the request
- in m_resourceLoaderMap.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::didCancelLoadingRequest): Pull the request from
- m_resourceLoaderMap.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::didStopLoadingRequest): Remove the requset from
- m_resourceLoaderMap.
- * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h:
- * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
- (WebCore::WebCoreAVFResourceLoader::create): Return a PassRefPtr, rather than a PassOwnPtr.
- (WebCore::WebCoreAVFResourceLoader::stopLoading): Call didStopLoadingRequest.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::updateAncestorChainHasBlendingDescendants):
+ When hasUnisolatedBlendingDescendants is set we make sure that isSelfPaintingLayer flag is set too.
+ (WebCore::RenderLayer::updateDescendantDependentFlags):
+ The flags might be read or changed while walking the descendants, so we don't want to reset
+ them before traversing the tree.
+ (WebCore::RenderLayer::shouldBeSelfPaintingLayer):
+ Adding isolatesBlending() condition for a layer to be self painting.
+ * rendering/RenderLayer.h:
+ Removing ASSERT from hasUnisolatedBlendingDescendants(). It crashes in minibrowser
+ and in layout tests when painting contents. Similar bugs on other flags: #71044, #71277.
+ * rendering/RenderLayerModelObject.cpp:
+ (WebCore::RenderLayerModelObject::styleDidChange):
+ Telling ancestors that blend mode property has been removed from CSS when the layer for
+ this element is going to be removed; styleChanged will not be called anymore.
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-06 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- Merge r153699
</del><ins>+ Dragging text from one paragraph to another does not render as expected
+ https://bugs.webkit.org/show_bug.cgi?id=132633
</ins><span class="cx">
</span><del>- 2013-08-04 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Darin Adler and Ryosuke Niwa.
</ins><span class="cx">
</span><del>- Inserting a rule into an empty style sheet shouldn't trigger style recalc unless necessary.
- <http://webkit.org/b/119475>
- <rdar://problem/14643481>
</del><ins>+ When we are dragging and dropping into a content editable field, we detect
+ if we are trying to put a <p> into an existing <p>, and if so, split the
+ outer <p> and insert the new <p> as its sibling. However, the outer <p>
+ might not be editable, so we don't want to do any splitting and inserting
+ at that location.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Test: editing/pasteboard/drag-drop-paragraph-crasher.html
</ins><span class="cx">
</span><del>- This is kind of a cheesy optimization, but it turns out that the use case is quite common.
- The pattern goes like this:
</del><ins>+ * editing/ReplaceSelectionCommand.cpp:
+ (WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
</ins><span class="cx">
</span><del>- (1) Create <style> element.
- (2) Add it to the document's <head>.
- (3) .addRule() one rule through the CSSOM API.
</del><ins>+2014-05-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- Prior to this patch, (3) would always cause a full (deferred) style recalc.
</del><ins>+ [CoordinatedGraphics][WK2] Scale factor and scroll position is not being restored properly in a back/forward load
+ https://bugs.webkit.org/show_bug.cgi?id=126022
</ins><span class="cx">
</span><del>- Now that we exclude empty style sheets from the document's (effective) active set,
- we can piggyback on the style invalidation analysis when transitioning from an empty
- sheet to a single-rule sheet.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- In other words, add a special code path for the first rule insertion into an empty,
- in-document style sheet to minimize the amount of invalidation that happens.
</del><ins>+ Original author : Thiago de Barros Lacerda, and finished by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- * css/CSSStyleSheet.cpp:
- (WebCore::CSSStyleSheet::didMutateRules):
- (WebCore::CSSStyleSheet::insertRule):
- * css/CSSStyleSheet.h:
- (WebCore::CSSStyleSheet::RuleMutationScope::RuleMutationScope):
- (WebCore::CSSStyleSheet::RuleMutationScope::~RuleMutationScope):
</del><ins>+ When user is navigating back/forward to a page that has been scrolled and/or scaled, that page must be shown
+ with its last scroll position and scale factor. However, when fixed layout was enabled with CoordinatedGraphics
+ and TILED_BACKING_STORE, Page::setPageScaleFactor() doesn't send previous scroll position since r165652 and r165913.
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+ This patch allows the Page::setPageScaleFactor() send stored position to WK2 implementation by calling delegatedScrollRequested()
+ directly when delegatesScrolling() is on.
</ins><span class="cx">
</span><del>- Merge r153696
</del><ins>+ * page/Page.cpp:
+ (WebCore::Page::setPageScaleFactor): TILED_BACKING_STORE and delegateScrolling are enabled, we pass new scroll position to WK2 though
+ delegateScrolling is disabled.
+ * platform/ScrollView.cpp: delegatedScrollRequested() call is moved from ScrollView::setScrollPosition() to Page::setPageScaleFactor().
+ (WebCore::ScrollView::setScrollPosition):
</ins><span class="cx">
</span><del>- 2013-08-04 Andreas Kling <akling@apple.com>
</del><ins>+2014-05-07 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- [Mac] Disable screen font substitution at WebCore-level in OS X 10.9+
- <http://webkit.org/b/119474>
- <rdar://problem/14643349>
</del><ins>+ Using a fill pattern much larger than actual canvas reliably segfaults browser
+ https://bugs.webkit.org/show_bug.cgi?id=132635
</ins><span class="cx">
</span><del>- Reviewed by Dan Bernstein.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Disable screen font substitution by default in Settings so internal WebCore clients
- such as SVG-as-image will get the right default setting.
</del><ins>+ Make sure that createPattern checks that the canvas it is about to use
+ as a source is valid.
</ins><span class="cx">
</span><del>- * page/Settings.cpp:
- (WebCore::Settings::Settings):
- (WebCore::Settings::shouldEnableScreenFontSubstitutionByDefault):
- (WebCore::Settings::setScreenFontSubstitutionEnabled):
- * page/Settings.h:
- (WebCore::Settings::screenFontSubstitutionEnabled):
- * page/Settings.in:
- * page/mac/SettingsMac.mm:
- (WebCore::Settings::shouldEnableScreenFontSubstitutionByDefault):
</del><ins>+ Test: fast/canvas/pattern-too-large-to-create.html
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::createPattern): Check that the source canvas has
+ an ok ImageBuffer.
</ins><span class="cx">
</span><del>- Merge r153695
</del><ins>+2014-05-07 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-03 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Use system defaults for hardware jpeg decoding
+ https://bugs.webkit.org/show_bug.cgi?id=132661
+ <rdar://problem/11348201>
</ins><span class="cx">
</span><del>- Refine the unavailable plug-in indicator
- https://bugs.webkit.org/show_bug.cgi?id=119400
- <rdar://problem/14616012>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Reviewed by Oliver Hunt.
</del><ins>+ Remove code that explicitly disabled hardware image decoding. Let the system decide what to do.
</ins><span class="cx">
</span><del>- Add a border, flip the text and background colors, and make the indicator
- much higher contrast, to be more visible on a variety of sites.
- Also, refine the arrow to be less blocky and inlaid inside a circle.
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/ImageSource.h:
+ (WebCore::ImageSource::acceleratedImageDecodingEnabled): Deleted.
+ (WebCore::ImageSource::setAcceleratedImageDecodingEnabled): Deleted.
+ * platform/graphics/cg/ImageSourceCG.cpp:
+ (WebCore::ImageSource::imageSourceOptions):
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::replacementTextRoundedRectPressedColor):
- (WebCore::replacementTextRoundedRectColor):
- (WebCore::replacementTextColor):
- (WebCore::unavailablePluginBorderColor):
- (WebCore::drawReplacementArrow):
- (WebCore::RenderEmbeddedObject::paintReplaced):
- (WebCore::RenderEmbeddedObject::getReplacementTextGeometry):
- (WebCore::RenderEmbeddedObject::unavailablePluginIndicatorBounds):
- (WebCore::RenderEmbeddedObject::isInUnavailablePluginIndicator):
- * rendering/RenderEmbeddedObject.h:
</del><ins>+2014-05-07 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>-2013-08-05 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Use after free in WebCore::RenderObject::nextSibling / WebCore::RenderBoxModelObject::moveChildrenTo
+ https://bugs.webkit.org/show_bug.cgi?id=132625
</ins><span class="cx">
</span><del>- Merge r153591
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- 2013-08-01 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Fixed problem with dynamically inserting first letter elements.
</ins><span class="cx">
</span><del>- Unavailable plug-in indicator arrow should be inside the rounded rect, not in its own circle
- https://bugs.webkit.org/show_bug.cgi?id=119400
- <rdar://problem/14616012>
</del><ins>+ Test: fast/multicol/newmulticol/first-letter-create.html
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::getFirstLetter):
+ (WebCore::RenderBlock::updateFirstLetter):
+ * rendering/RenderBlock.h:
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::moveChildrenTo):
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::RenderEmbeddedObject::getReplacementTextGeometry):
- Shift the arrow in by 9px, and make the text's rounded rect include it,
- instead of having the arrow in a separate circle.
</del><ins>+2014-05-07 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>-2013-08-05 Filip Pizlo <fpizlo@apple.com>
</del><ins>+ WK2: Programatic scroll requests during scroll or zoom animation to reveal focused element are ignored.
+ https://bugs.webkit.org/show_bug.cgi?id=132657
+ <rdar://problem/16468462>
</ins><span class="cx">
</span><del>- DFG optimizations don't handle neutered arrays properly
- https://bugs.webkit.org/show_bug.cgi?id=119409
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- Reviewed by Mark Hahnenberg and Oliver Hunt.
</del><ins>+ With the scrolling model we use on iOS, a programatic scroll
+ request can be received while we are still animating to reveal
+ the focused input element. The WebProcess is unaware that the
+ scroll position is being changed in the UIProcess, and does not
+ honor the scroll request from JavaScript.
+ This is patch changes the behavior for clients using scroll delegates
+ to always send the scroll request to the UIProcess without checking
+ the current scroll position.
+
+ * page/FrameView.h:
+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::setScrollPosition):
+ * platform/ScrollView.h:
+ (WebCore::ScrollView::inProgrammaticScroll):
+
+2014-05-07 Brent Fulgham <bfulgham@apple.com>
+
+ [Mac, iOS] REGRESSION: WK2 YouTube support
+ https://bugs.webkit.org/show_bug.cgi?id=132568
+ <rdar://problem/11464344>
+
+ Reviewed by Darin Adler.
+
+ Move the custom YouTube loader code out of the WebFrameLoaderClient into a
+ PluginReplacement-based class.
+
+ * Modules/plugins/PluginReplacement.h:
+ (WebCore::PluginReplacement::supportsURL): New predicate so we can restrict
+ use of a plugin to a particular category of URLs.
+ * Modules/plugins/QuickTimePluginReplacement.mm:
+ (WebCore::QuickTimePluginReplacement): Updated for new registrar signature.
+ * Modules/plugins/YouTubePluginReplacement.h: Added.
+ (WebCore::YouTubePluginReplacement::parentElement):
+ * Modules/plugins/YouTubePluginReplacement.cpp: Added.
+ (WebCore::YouTubePluginReplacement::registerPluginReplacement):
+ (WebCore::YouTubePluginReplacement::create):
+ (WebCore::YouTubePluginReplacement::supportsMimeType):
+ (WebCore::YouTubePluginReplacement::supportsFileExtension):
+ (WebCore::kit):
+ (WebCore::YouTubePluginReplacement::YouTubePluginReplacement):
+ (WebCore::YouTubePluginReplacement::createElementRenderer):
+ (WebCore::objectForKey):
+ (WebCore::YouTubePluginReplacement::installReplacement):
+ (WebCore::createYouTubeURL):
+ (WebCore::processAndCreateYouTubeURL):
+ (WebCore::YouTubePluginReplacement::youTubeURL):
+ * WebCore.exp.in: Add new export from WebCore.
+ * WebCore.xcodeproj/project.pbxproj:
+ * html/HTMLPlugInElement.cpp:
+ (WebCore::pluginReplacementForType): Update to also check that the URL is supported
+ by the plugin.
+ (WebCore::registeredPluginReplacements): Add new YouTubePluginReplacement to registry.
+ * html/HTMLPlugInImageElement.cpp:
+ (WebCore::HTMLPlugInImageElement::createElementRenderer): Remove custom YouTube code
+ now that this logic is handled in the plugin replacement class.
+ (WebCore::HTMLPlugInImageElement::createShadowIFrameSubtree): Deleted.
+ * html/HTMLPlugInImageElement.h:
+ * html/shadow/YouTubeEmbedShadowElement.cpp:
+ (WebCore::YouTubeEmbedShadowElement::YouTubeEmbedShadowElement):
+ (WebCore::YouTubeEmbedShadowElement::shadowPseudoId): Use correct pseudoID for the
+ plugin replacement architecture.
+ * html/shadow/YouTubeEmbedShadowElement.h:
+ * platform/mac/WebCoreNSURLExtras.h:
+ * platform/mac/WebCoreNSURLExtras.mm:
+ (WebCore::unescapedQueryValue): Moved from WebKit/Misc/WebNSURLExtras.
+ (WebCore::queryKeysAndValues): Ditto.
+
+2014-05-07 Simon Fraser <simon.fraser@apple.com>
+
+ [iOS] Acclerated overflow-scrolling broken in WK1
+ https://bugs.webkit.org/show_bug.cgi?id=132665
+ <rdar://problem/16842909>
+
+ Reviewed by Tim Horton.
+
+ r168301 added a CALayer delegate to disable implicit animations,
+ but for some layers we wrap them in UIViews (which are themselves
+ layer delegates), so bad things happened.
</ins><span class="cx">
</span><del>- This just neuters view wrappers also.
</del><ins>+ Fix by falling back to setting the null actions dictionary for
+ layers with custom scrolling behavior.
</ins><span class="cx">
</span><del>- Test: fast/js/dfg-typed-array-neuter.
</del><ins>+ * platform/graphics/GraphicsLayer.h:
+ * platform/graphics/ca/mac/PlatformCALayerMac.h:
+ * platform/graphics/ca/mac/PlatformCALayerMac.mm:
+ (PlatformCALayerMac::updateCustomBehavior):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateScrollingLayers):
</ins><span class="cx">
</span><del>- * bindings/js/SerializedScriptValue.cpp:
- (WebCore::neuterView):
- (WebCore::SerializedScriptValue::transferArrayBuffers):
- (WebCore::SerializedScriptValue::create):
- * bindings/js/SerializedScriptValue.h:
</del><ins>+2014-05-07 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>-2013-08-02 Lucas Forschler <lforschler@apple.com>
</del><ins>+ HTMLMediaElement should exitFullscreen when view is removed from the window.
+ https://bugs.webkit.org/show_bug.cgi?id=132506
</ins><span class="cx">
</span><del>- Merge r153681
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- 2013-08-02 Dean Jackson <dino@apple.com>
</del><ins>+ * platform/ios/WebVideoFullscreenControllerAVKit.h:
+ Add -requestExitFullscreen.
</ins><span class="cx">
</span><del>- Force elements with perspective or preserve-3d to disallow direct composited backgrounds
- https://bugs.webkit.org/show_bug.cgi?id=119462
- <rdar://problem/14607548>
</del><ins>+ * platform/ios/WebVideoFullscreenControllerAVKit.mm:
+ (-[WebVideoFullscreenController requestExitFullscreen]):
+ Forward request onto WebVideoFullscreenModelMediaElement.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ (WebVideoFullscreenModelMediaElement::requestExitFullscreen):
+ Add some protection here since this may be called when not in fullscreen.
</ins><span class="cx">
</span><del>- Bug 119461 (http://wkb.ug/119461) describes how a directly composited
- background color can intersect with its children. It's not clear exactly
- what the best way to fix that is, but for the moment we should disallow
- any element that has perspective or a preserve-3d transform style from
- getting a directly composited background.
</del><ins>+2014-05-07 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Test: compositing/background-color/no-composited-background-color-when-perspective.html
</del><ins>+ Clean up the difference between painting focus rings and adding PDF annotations
+ https://bugs.webkit.org/show_bug.cgi?id=132638
</ins><span class="cx">
</span><del>- * rendering/RenderLayerBacking.cpp:
- (WebCore::hasPerspectiveOrPreserves3D): New static helper.
- (WebCore::supportsDirectBoxDecorationsComposition): Return false if the above function is true.
</del><ins>+ Follow-up comments from Darin Adler.
</ins><span class="cx">
</span><del>-2013-08-02 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/RenderInline.cpp:
+ (WebCore::RenderInline::paintOutline): Move "else if" to a separate "if" for clarity.
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::paintFocusRing): Don't guard against outlineIsAuto(). ASSERT instead.
+ (WebCore::RenderObject::addPDFURLRect): Give "rect" variable a better name.
+ (WebCore::RenderObject::paintOutline): Move "else if" to a separate "if" for clarity.
</ins><span class="cx">
</span><del>- Merge r153672
</del><ins>+2014-05-07 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-02 Andreas Kling <akling@apple.com>
</del><ins>+ Make blob size computation lazy
+ https://bugs.webkit.org/show_bug.cgi?id=132653
</ins><span class="cx">
</span><del>- Removing a <link> element with an empty stylesheet shouldn't trigger style recalc.
- <http://webkit.org/b/119442>
- <rdar://problem/14631785>
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * fileapi/Blob.cpp:
+ (WebCore::Blob::Blob):
+ (WebCore::Blob::size):
+ * fileapi/Blob.h:
+ (WebCore::Blob::size): Deleted.
+ * fileapi/File.cpp:
+ (WebCore::File::size): Deleted.
+ * fileapi/File.h:
+ * fileapi/ThreadableBlobRegistry.cpp:
+ (WebCore::ThreadableBlobRegistry::registerFileBlobURL):
+ (WebCore::ThreadableBlobRegistry::registerBlobURL):
+ (WebCore::ThreadableBlobRegistry::registerBlobURLForSlice):
+ (WebCore::ThreadableBlobRegistry::blobSize):
+ (WebCore::ThreadableBlobRegistry::unregisterBlobURL):
+ (WebCore::unregisterBlobURLTask): Deleted.
+ * fileapi/ThreadableBlobRegistry.h:
+ * platform/network/BlobData.cpp:
+ (WebCore::BlobData::appendData):
+ * platform/network/BlobRegistry.h:
+ * platform/network/BlobRegistryImpl.cpp:
+ (WebCore::BlobRegistryImpl::registerBlobURL):
+ (WebCore::BlobRegistryImpl::registerBlobURLForSlice):
+ * platform/network/BlobRegistryImpl.h:
</ins><span class="cx">
</span><del>- Let Document decide whether or not to do a style recalc after a <link> element is removed.
- This avoids unnecessary work when removing a <link> that refers to an empty style sheet.
</del><ins>+2014-05-06 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Some Facebook pages have a <link rel="stylesheet" href="data:text/css;base64,"> that gets
- removed during the initial page load, causing style recalc.
</del><ins>+ Add scrolling tree logging to RemoteLayerTree output
+ https://bugs.webkit.org/show_bug.cgi?id=132640
</ins><span class="cx">
</span><del>- * html/HTMLLinkElement.cpp:
- (WebCore::HTMLLinkElement::removedFrom):
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- Use DeferRecalcStyleIfNeeded. Since the style sheet is being removed, it will either
- cause a recalc (because it's no longer in the set of active sheets) or do nothing.
</del><ins>+ Support scrolling tree logging in the RemoteLayerTree log channel
+ output.
+
+ ScrollingStateTree::commit() unconditionally set treeStateClone->m_hasChangedProperties
+ to true, but we should set it based on original scrolling state tree's
+ m_hasChangedProperties.
+
+ We have to encode all of the scrolling state nodes anyway (they only encode
+ changed properties), but we can use this for future optimizations, and to
+ avoid spurious logging.
+
+ * WebCore.exp.in: Export a couple of things we need.
+ * page/scrolling/ScrollingStateTree.cpp:
+ (WebCore::ScrollingStateTree::commit):
</ins><span class="cx">
</span><del>-2013-08-02 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-07 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Merge r153632
</del><ins>+ AX: aria-expanded changes are not communicated to clients
+ https://bugs.webkit.org/show_bug.cgi?id=132642
</ins><span class="cx">
</span><del>- 2013-07-31 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- FormAssociatedElement shouldn't create out-of-tree FormAttributeTargetObserver
- https://bugs.webkit.org/show_bug.cgi?id=119309
</del><ins>+ When aria-expanded changes on non list/tree items, send out a generic
+ AXExpandedChange notification.
</ins><span class="cx">
</span><del>- Reviewed by Kent Tamura.
</del><ins>+ Test: platform/mac/accessibility/expanded-notification.html
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/6fbdcbf311de539107bc28711b3f7a527176e97b.
</del><ins>+ * accessibility/AXObjectCache.h:
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::handleAriaExpandedChanged):
+ * accessibility/mac/AXObjectCacheMac.mm:
+ (WebCore::AXObjectCache::postPlatformNotification):
</ins><span class="cx">
</span><del>- I'm not merging the test since the attached test case only works when the shadow DOM API is enabled.
</del><ins>+2014-05-07 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- * html/FormAssociatedElement.cpp:
- (WebCore::FormAssociatedElement::formAttributeChanged):
- (WebCore::FormAssociatedElement::resetFormAttributeTargetObserver):
</del><ins>+ Release build fix.
</ins><span class="cx">
</span><del>-2013-08-02 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedImageMIMETypes):
+ Removed unused globals.
</ins><span class="cx">
</span><del>- Merge r153641
</del><ins>+2014-05-07 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-01 Andreas Kling <akling@apple.com>
</del><ins>+ Eliminate "well known MIME type" support
+ https://bugs.webkit.org/show_bug.cgi?id=132654
</ins><span class="cx">
</span><del>- Removing an empty style sheet shouldn't trigger style recalc.
- <http://webkit.org/b/119248>
- <rdar://problem/14629045>
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Vestiges of FileSystem API.
</ins><span class="cx">
</span><del>- Teach DocumentStyleSheetCollection to filter out empty style sheets when deciding whether
- or not to trigger a style recalc. We can then be clever when an empty style sheet is removed
- from the document, and avoid causing extra work.
</del><ins>+ * dom/DataTransfer.cpp:
+ (WebCore::DataTransfer::files):
+ (WebCore::DataTransfer::hasFileOfType):
+ * fileapi/File.cpp:
+ (WebCore::File::File):
+ (WebCore::File::contentTypeFromFilePathOrName):
+ * fileapi/File.h:
+ * html/FileInputType.cpp:
+ (WebCore::FileInputType::createFileList):
+ * platform/MIMETypeRegistry.cpp:
+ (WebCore::initializeSupportedImageMIMETypes):
+ (WebCore::findMimeType): Deleted.
+ (WebCore::MIMETypeRegistry::getWellKnownMIMETypeForExtension): Deleted.
+ * platform/MIMETypeRegistry.h:
</ins><span class="cx">
</span><del>- Some pages use this pattern:
</del><ins>+2014-05-07 Christophe Dumez <ch.dumez@samsung.com>
</ins><span class="cx">
</span><del>- (1) Create a <style> element.
- (2) Add it to the document's <head> element.
- (3) Insert some CSS as a text child of the <style> element.
</del><ins>+ [HTML] Default argument to HTMLTableElement.insertRow() should be -1
+ https://bugs.webkit.org/show_bug.cgi?id=132651
</ins><span class="cx">
</span><del>- Since the <style> element is already inside the document at (3), we had to treat this as an
- old style sheet being removed, even though it was just an empty sheet of nothing.
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- With this patch, Document gains enough smarts to know that removing/adding an empty sheet
- won't affect layout/rendering in any meaningful way, thus a style recalc can be avoided.
</del><ins>+ HTMLTableElement.insertRow()'s argument default value should be -1, not 0,
+ as per the specification:
+ http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#htmltableelement
</ins><span class="cx">
</span><del>- * dom/Document.h:
- * dom/Document.cpp:
- (WebCore::Document::styleResolverChanged):
</del><ins>+ The new behavior matches the one of Firefox 29 and IE11, and soon Blink:
+ https://codereview.chromium.org/270213007/
</ins><span class="cx">
</span><del>- Add a DeferRecalcStyleIfNeeded mode to styleResolverChanged().
</del><ins>+ Test: fast/dom/HTMLTableElement/insertRow-default-argument.html
</ins><span class="cx">
</span><del>- * css/CSSStyleSheet.h:
- * css/CSSStyleSheet.cpp:
- (WebCore::CSSStyleSheet::clearOwnerNode):
</del><ins>+ * html/HTMLTableElement.h:
+ * html/HTMLTableElement.idl:
</ins><span class="cx">
</span><del>- Use DeferRecalcStyleIfNeeded when saying bye from a CSSStyleSheet and let Document decide
- if removing the sheet should trigger style recalc instead of always assuming it should.
</del><ins>+2014-05-07 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- * dom/DocumentStyleSheetCollection.cpp:
- (WebCore::filterEnabledNonemptyCSSStyleSheets):
- (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
</del><ins>+ AX: AXSelectTextWithCriteria should support capitalize/lowercase/uppercase
+ https://bugs.webkit.org/show_bug.cgi?id=132622
</ins><span class="cx">
</span><del>- Exclude empty sheets from the activeAuthorStyleSheets() collection. They are still
- visible through CSSOM's document.styleSheets.
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>-2013-08-02 Lucas Forschler <lforschler@apple.com>
</del><ins>+ The select text with criteria mechanism used through accessibility needs to support
+ a few more parameters to be complete (including capitalize, lowercase and uppercase).
</ins><span class="cx">
</span><del>- Merge r153649
</del><ins>+ Updated: accessibility/select-text.html
</ins><span class="cx">
</span><del>- 2013-08-02 Brady Eidson <beidson@apple.com>
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::selectText):
+ * accessibility/AccessibilityObject.h:
+ * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+ (accessibilitySelectTextCriteriaForCriteriaParameterizedAttribute):
+ * rendering/RenderText.cpp:
+ (WebCore::makeCapitalized):
+ * rendering/RenderText.h:
</ins><span class="cx">
</span><del>- REGRESSION (r130783): Scrolling is broken going back to a cached page from a page that still has outstanding subresources.
- <rdar://problem/14601124> and https://bugs.webkit.org/show_bug.cgi?id=119416
</del><ins>+2014-05-07 peavo@outlook.com <peavo@outlook.com>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ DocumentLoader::dataReceived assertion failed
+ https://bugs.webkit.org/show_bug.cgi?id=132017
</ins><span class="cx">
</span><del>- Test: http/tests/loading/unfinished-load-back-to-cached-page-callbacks.html
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::stopLoading): Always explicitly cancel the Document parser when stopLoading is called.
</del><ins>+ We need to call didReceiveResponse client method before the didReceiveData client method, otherwise we get a lot of asserts.
+ This patch also fixes frequent crashes in downloadTimerCallback method on page loading.
</ins><span class="cx">
</span><del>-2013-08-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/network/curl/ResourceHandleManager.cpp:
+ (WebCore::calculateWebTimingInformations): Initialize local variables.
+ (WebCore::headerCallback): Call didReceiveResponse client method here instead of in downloadTimerCallback.
+ (WebCore::ResourceHandleManager::downloadTimerCallback): Remove call to didReceiveResponse method.
+ (WebCore::ResourceHandleManager::dispatchSynchronousJob): Removed empty line.
</ins><span class="cx">
</span><del>- Merge r153595
</del><ins>+2014-05-06 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- 2013-08-01 Andreas Kling <akling@apple.com>
</del><ins>+ REGRESSION: Animated GIF inside compositing layer never resumes animation when scrolled back into view
+ https://bugs.webkit.org/show_bug.cgi?id=132608
</ins><span class="cx">
</span><del>- Layout should force a StyleResolver rebuild if there isn't one at all.
- <http://webkit.org/b/119378>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Test: fast/repaint/animation-after-layer-scroll.html
</ins><span class="cx">
</span><del>- We can't tell if viewport-dependent media queries have been invalidated at layout,
- unless we have a StyleResolver to ask about this.
- In case there isn't one, take the same path as we would with an invalidated query
- instead of relying on ensureStyleResolver() to build it.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::scrollTo):
+
+ Check if any animations need to be restarted after layer scroll.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::layout):
</del><ins>+2014-05-07 Hyowon Kim <hw1008.kim@samsung.com>
</ins><span class="cx">
</span><del>-2013-08-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ GraphicsLayer::client() should return a reference.
+ https://bugs.webkit.org/show_bug.cgi?id=126372
</ins><span class="cx">
</span><del>- Merge r153553
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- 2013-07-31 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ GraphicsLayers always have a GraphicsLayerClient attached,
+ so make client() a reference and remove some unnecessary branches.
+ The author of the changes in the mac port is Andreas Kling <akling@apple.com>.
</ins><span class="cx">
</span><del>- Reuse of XMLHttpRequests causes character corruption in response text
- https://bugs.webkit.org/show_bug.cgi?id=119358
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::GraphicsLayer):
+ (WebCore::GraphicsLayer::willBeDestroyed):
+ (WebCore::GraphicsLayer::paintGraphicsLayerContents):
+ (WebCore::GraphicsLayer::addRepaintRect):
+ (WebCore::dumpChildren):
+ (WebCore::GraphicsLayer::dumpProperties):
+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::client):
+ (WebCore::GraphicsLayer::pageScaleFactor):
+ (WebCore::GraphicsLayer::deviceScaleFactor):
+ * platform/graphics/GraphicsLayerFactory.h:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayer::create):
+ (WebCore::GraphicsLayerCA::GraphicsLayerCA):
+ (WebCore::GraphicsLayerCA::initialize):
+ (WebCore::GraphicsLayerCA::platformCALayerAnimationStarted):
+ (WebCore::GraphicsLayerCA::computePositionRelativeToBase):
+ (WebCore::GraphicsLayerCA::flushCompositingStateForThisLayerOnly):
+ (WebCore::GraphicsLayerCA::computeVisibleRect):
+ (WebCore::GraphicsLayerCA::recursiveCommitChanges):
+ (WebCore::GraphicsLayerCA::platformCALayerContentsScaleMultiplierForNewTiles):
+ (WebCore::GraphicsLayerCA::platformCALayerShouldAggressivelyRetainTiles):
+ (WebCore::GraphicsLayerCA::platformCALayerShouldTemporarilyRetainTileCohorts):
+ (WebCore::GraphicsLayerCA::updateContentsOpaque):
+ (WebCore::GraphicsLayerCA::updateContentsScale):
+ (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
+ (WebCore::GraphicsLayerCA::noteLayerPropertyChanged):
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
+ (WebCore::GraphicsLayer::create):
+ (WebCore::GraphicsLayerTextureMapper::GraphicsLayerTextureMapper):
+ (WebCore::GraphicsLayerTextureMapper::notifyChange):
+ (WebCore::GraphicsLayerTextureMapper::commitLayerChanges):
+ * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
+ * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
+ (WebCore::CompositingCoordinator::createRootLayer):
+ (WebCore::CompositingCoordinator::createGraphicsLayer):
+ * platform/graphics/texmap/coordinated/CompositingCoordinator.h:
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::notifyFlushRequired):
+ (WebCore::CoordinatedGraphicsLayer::CoordinatedGraphicsLayer):
+ (WebCore::CoordinatedGraphicsLayer::computeTransformedVisibleRect):
+ (WebCore::CoordinatedGraphicsLayer::animationStartedTimerFired):
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::createGraphicsLayer):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateLayerForTopOverhangArea):
+ (WebCore::RenderLayerCompositor::updateLayerForBottomOverhangArea):
+ (WebCore::RenderLayerCompositor::updateLayerForHeader):
+ (WebCore::RenderLayerCompositor::updateLayerForFooter):
+ (WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
+ (WebCore::RenderLayerCompositor::ensureRootLayer):
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-05-07 Xabier Rodriguez Calvar <calvaris@igalia.com>
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/6496e7bb9a0b46bc79032b86d5993b25f127a4cb
</del><ins>+ [GStreamer] Corrected typo
+ https://bugs.webkit.org/show_bug.cgi?id=132609
</ins><span class="cx">
</span><del>- Test: http/tests/xmlhttprequest/reopen-encoding.html
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::clearResponseBuffers):
- (WebCore::XMLHttpRequest::didFinishLoading):
</del><ins>+ Corrected m_canFallBackToLastFinishedSeekPositon typo and
+ initialized in the constructor to prevent problems in the future.
</ins><span class="cx">
</span><del>-2013-08-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ No test needed.
</ins><span class="cx">
</span><del>- Merge r153494
</del><ins>+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
+ Initialized m_canFallBackToLastFinishedSeekPosition as false.
+ (WebCore::MediaPlayerPrivateGStreamer::playbackPosition):
+ (WebCore::MediaPlayerPrivateGStreamer::handleMessage):
+ (WebCore::MediaPlayerPrivateGStreamer::asyncStateChangeDone):
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
+ m_canFallBackToLastFinishedSeekPositon ->
+ m_canFallBackToLastFinishedSeekPosition
</ins><span class="cx">
</span><del>- 2013-07-30 Andreas Kling <akling@apple.com>
</del><ins>+2014-05-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- Inactive style sheets should not trigger style recalc when loaded.
- <http://webkit.org/b/119236>
- <rdar://problem/14588132>
</del><ins>+ Convert PassOwnPtr to unique_ptr in CrossThreadTask.h
+ https://bugs.webkit.org/show_bug.cgi?id=132605
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- Style sheets that are either alternate sheets or are excluded by their media query should not trigger
- a full style recalc when they finish loading, since the end result will not be observably different.
</del><ins>+ * dom/CrossThreadTask.h: Converted.
</ins><span class="cx">
</span><del>- The sheets are still inspectable through document.styleSheets.
</del><ins>+2014-05-07 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- Changed enums from Blocking/NonBlocking to ActiveSheet/InactiveSheet to clarify what's going on.
</del><ins>+ [SOUP] TLSErrors do not cause page load to fail when not ignored
+ https://bugs.webkit.org/show_bug.cgi?id=121548
</ins><span class="cx">
</span><del>- * html/HTMLLinkElement.h:
- * html/HTMLLinkElement.cpp:
- (WebCore::HTMLLinkElement::HTMLLinkElement):
- (WebCore::HTMLLinkElement::setDisabledState):
- (WebCore::HTMLLinkElement::process):
- (WebCore::HTMLLinkElement::startLoadingDynamicSheet):
- (WebCore::HTMLLinkElement::addPendingSheet):
- (WebCore::HTMLLinkElement::removePendingSheet):
</del><ins>+ Reviewed by Sergio Villar Senin.
</ins><span class="cx">
</span><del>-2013-08-01 Beth Dakin <bdakin@apple.com>
</del><ins>+ This only happens in case of redirection, when the initial URL is
+ an HTTPS site with an invalid certificate, that redirects to
+ another location. We are starting the redirection without checking
+ the TLS errors.
</ins><span class="cx">
</span><del>- <rdar://problem/14616729> REGRESSION (r144350): Overflow bounding boxes are way
- too big; prevents VoiceOver taps from activating the right elements
</del><ins>+ * platform/network/soup/ResourceHandleSoup.cpp:
+ (WebCore::sendRequestCallback): Check TLS errors before starting a
+ possible redirection.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-05-07 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>- This is a partial-rollout of http://trac.webkit.org/changeset/144350 which is the
- change that caused this regression. This patch rolls out most of that patch, and
- it only leaves in the part that added a paintContainer variable to PaintInfo since
- that is now used in other places in the code. All uses of the paintContainer that
- were added with this patch have been removed since they contribute to the
- regression.
</del><ins>+ [CSS Grid Layout] Remove runtime feature
+ https://bugs.webkit.org/show_bug.cgi?id=132382
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::paintObject):
- (WebCore::RenderBlock::paintContinuationOutlines):
- (WebCore::RenderBlock::addFocusRingRects):
- * rendering/RenderBlock.h:
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::addFocusRingRects):
- * rendering/RenderBox.h:
</del><ins>+ Reviewed by Benjamin Poulain.
+
+ Remove cssGridLayoutEnabled setting. Update methods using it accordingly.
+
+ * WebCore.order:
+ * css/CSSParser.cpp:
+ (WebCore::CSSParserContext::CSSParserContext):
+ (WebCore::operator==):
+ (WebCore::isValidKeywordPropertyAndValue):
+ (WebCore::CSSParser::parseValue):
+ (WebCore::CSSParser::parseGridTemplateShorthand):
+ (WebCore::CSSParser::parseGridAreaShorthand):
+ (WebCore::CSSParser::cssGridLayoutEnabled): Deleted.
+ * css/CSSParser.h:
+ * css/CSSParserMode.h:
+ * dom/Document.cpp:
+ (WebCore::Document::cssGridLayoutEnabled): Deleted.
+ * dom/Document.h:
+ * page/Settings.in:
+
+2014-05-07 Praveen R Jadhav <praveen.j@samsung.com>
+
+ Fix build errors for BlobDataItem after r168391.
+ https://bugs.webkit.org/show_bug.cgi?id=132643
+
+ Reviewed by Carlos Garcia Campos.
+
+ Patch updates BlobDataItem params usage in ResourceHandleSoup.cpp
+ to be inline with r168391.
+
+ * platform/network/soup/ResourceHandleSoup.cpp:
+ (WebCore::blobIsOutOfDate): BlobDataItem class is updated in r168391.
+ Corresponding parameter changes are done to resolve build error.
+ (WebCore::addEncodedBlobItemToSoupMessageBody): BlobDataItem class is updated
+ in r168391. Corresponding parameter changes are done to resolve build error.
+
+2014-05-06 Dean Jackson <dino@apple.com>
+
+ Clean up the difference between painting focus rings and adding PDF annotations
+ https://bugs.webkit.org/show_bug.cgi?id=132638
+
+ Reviewed by Simon Fraser.
+
+ The code to add a PDF annotation when printing was called from
+ drawFocusRing, which is quite confusing. With just little movement
+ of code, we can detect an annotation and call addPDFURLRect in the
+ paint phase, and drawFocusRing becomes something that only
+ draws focus rings.
+
</ins><span class="cx"> * rendering/RenderInline.cpp:
</span><del>- (WebCore::RenderInline::addFocusRingRects):
- (WebCore::RenderInline::paintOutline):
- * rendering/RenderInline.h:
- * rendering/RenderLineBoxList.cpp:
- (WebCore::RenderLineBoxList::paint):
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::addFocusRingRects):
- * rendering/RenderListBox.h:
</del><ins>+ (WebCore::RenderInline::paintOutline): Split calls to drawFocusRing
+ and addPDFURLRect.
</ins><span class="cx"> * rendering/RenderObject.cpp:
</span><del>- (WebCore::RenderObject::paintFocusRing):
- (WebCore::RenderObject::paintOutline):
</del><ins>+ (WebCore::RenderObject::paintFocusRing): Get rid of call to PDF.
+ (WebCore::RenderObject::addPDFURLRect): Change the signature so it
+ can be called externally, and calculates the rectangle itself.
+ (WebCore::RenderObject::paintOutline): Split the calls.
</ins><span class="cx"> * rendering/RenderObject.h:
</span><del>- (WebCore::RenderObject::addFocusRingRects):
- * rendering/RenderReplaced.cpp:
- (WebCore::RenderReplaced::paint):
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::paintObject):
- * rendering/RenderTableRow.cpp:
- (WebCore::RenderTableRow::paintOutlineForRowIfNeeded):
- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::paint):
- * rendering/RenderTextControl.cpp:
- (WebCore::RenderTextControl::addFocusRingRects):
- * rendering/RenderTextControl.h:
- * rendering/RenderWidget.cpp:
- (WebCore::RenderWidget::paint):
- * rendering/svg/RenderSVGContainer.cpp:
- (WebCore::RenderSVGContainer::paint):
- (WebCore::RenderSVGContainer::addFocusRingRects):
- * rendering/svg/RenderSVGContainer.h:
- * rendering/svg/RenderSVGImage.cpp:
- (WebCore::RenderSVGImage::paint):
- (WebCore::RenderSVGImage::addFocusRingRects):
- * rendering/svg/RenderSVGImage.h:
- * rendering/svg/RenderSVGShape.cpp:
- (WebCore::RenderSVGShape::paint):
- (WebCore::RenderSVGShape::addFocusRingRects):
- * rendering/svg/RenderSVGShape.h:
</del><span class="cx">
</span><del>-2013-07-31 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-06 Rik Cabanier <cabanier@adobe.com>
</ins><span class="cx">
</span><del>- Merge r153511
</del><ins>+ Calling createPattern with a broken image must throw an invalidstate error
+ https://bugs.webkit.org/show_bug.cgi?id=132407
</ins><span class="cx">
</span><del>- 2013-07-30 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- DHTML drag can result in a null-deref under WebDragClient::startDrag
- https://bugs.webkit.org/show_bug.cgi?id=119297
- <rdar://problem/14213012>
</del><ins>+ Updated createPattern so it throws an invalidState exception
+ if you pass it an image that is in the broken state.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Tests:
+ * canvas/philip/tests/2d.pattern.image.broken.html:
+ * canvas/philip/tests/2d.pattern.image.incomplete.empty.html:
+ * fast/canvas/canvas-empty-image-pattern.html:
</ins><span class="cx">
</span><del>- Test: fast/events/setDragImage-in-document-element-crash.html
</del><ins>+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::createPattern):
</ins><span class="cx">
</span><del>- * page/mac/FrameSnapshottingMac.mm:
- (WebCore::snapshotDragImage):
- We shouldn't waste time painting an empty image, nor should we return
- an image with no size.
</del><ins>+2014-05-06 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>-2013-07-29 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [iOS][Mac] Display sleeps while playing <video> content.
+ https://bugs.webkit.org/show_bug.cgi?id=132624
</ins><span class="cx">
</span><del>- Merge r153447
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- 2013-07-26 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ On iOS and Mac, create a DisplaySleepDisablerCocoa rather than an (no-op) DisplaySleepDisabler.
</ins><span class="cx">
</span><del>- Fix crash due to unexpected Node deletion during MutationObserver registration book-keeping
- https://bugs.webkit.org/show_bug.cgi?id=119124
</del><ins>+ * platform/cocoa/DisplaySleepDisablerCocoa.cpp:
+ (WebCore::DisplaySleepDisabler::create):
+ * platform/cocoa/DisplaySleepDisablerCocoa.h:
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+2014-05-06 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/b6afb927695b3acf2c75c25f05e99682660993e2
</del><ins>+ [Mac] Allow focus rings to redraw themselves if necessary
+ https://bugs.webkit.org/show_bug.cgi?id=132593
</ins><span class="cx">
</span><del>- No new tests since I could not reproduce the crash with the test attached in the Blink change.
</del><ins>+ Fix iOS build.
</ins><span class="cx">
</span><del>- The bug was caused by Node::unregisterMutationObserver removing the MutationObserverRegistration
- that holds the last ref to the node. Avoid that by explicitly allocating a local RefPtr to the node
- in MutationObserverRegistration::unregister. Also rename it to unregisterAndDelete to clarify
- the semantics and make it a static member function to be even safer.
</del><ins>+ * platform/graphics/mac/GraphicsContextMac.mm:
+ (WebCore::GraphicsContext::drawFocusRing): We no longer use the color parameter.
</ins><span class="cx">
</span><del>- * dom/MutationObserver.cpp:
- (WebCore::MutationObserver::disconnect):
- * dom/MutationObserverRegistration.cpp:
- (WebCore::MutationObserverRegistration::unregisterAndDelete):
- * dom/MutationObserverRegistration.h:
</del><ins>+2014-05-06 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>-2013-07-29 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [Mac] Allow focus rings to redraw themselves if necessary
+ https://bugs.webkit.org/show_bug.cgi?id=132593
</ins><span class="cx">
</span><del>- Merge r153418
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- 2013-07-28 Andreas Kling <akling@apple.com>
</del><ins>+ Mac allows focus rings to change rendering over time. Expose this
+ functionality to WebKit by having the rendering code detect that
+ a focused element has asked to repaint itself, and also have
+ the FocusController object remember how long it has been since
+ an element was focused.
</ins><span class="cx">
</span><del>- Don't update the text track override CSS every time a media element is created.
- <http://webkit.org/b/119199>
- <rdar://problem/14572855>
</del><ins>+ This patch removes WebCoreNSCellExtras, since a better version is
+ available in WebKitSystemInterface, and it was going to be cumbersome
+ to port the code from there into WebKit.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * WebCore.exp.in: Export _wkDrawFocusRingAtTime and _wkDrawCellFocusRingWithFrameAtTime.
+ * WebCore.xcodeproj/project.pbxproj: Remove WebCoreNSCellExtras.
+ * page/FocusController.cpp:
+ (WebCore::FocusController::FocusController): Initialize the repaint timer.
+ (WebCore::FocusController::~FocusController): Stop the repaint timer on deletion.
+ (WebCore::FocusController::setFocusedElement): Keep track of the current time when focused.
+ (WebCore::FocusController::focusedElementNeedsRepaint): Start the repaint timer.
+ (WebCore::FocusController::focusRepaintTimerFired): Ask the focused element to repaint itself.
+ (WebCore::FocusController::timeSinceFocusWasSet):
+ * page/FocusController.h: Expose timeSinceFocusWasSet() and focusedElementNeedsRepaint(), as
+ well as add the timer for repainting.
</ins><span class="cx">
</span><del>- We should only have to update the CSS if the accessibility caption preferences are changed.
- This was forcing a full style recalc in every Document any time a media element is instantiated.
</del><ins>+ * platform/ControlStates.h: Add timeSinceControlWasFocused member variable, allowing the platform
+ code such as Theme to obtain the value from FocusController.
+ (WebCore::ControlStates::ControlStates):
+ (WebCore::ControlStates::timeSinceControlWasFocused):
+ (WebCore::ControlStates::setTimeSinceControlWasFocused):
</ins><span class="cx">
</span><del>- * page/CaptionUserPreferencesMediaAF.cpp:
- (WebCore::CaptionUserPreferencesMediaAF::setInterestedInCaptionPreferenceChanges):
</del><ins>+ * platform/graphics/GraphicsContext.h:
+ (WebCore::GraphicsContext::drawFocusRing): New Mac-only method that uses timeOffset.
</ins><span class="cx">
</span><del>-2013-07-28 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/graphics/mac/GraphicsContextMac.mm:
+ (WebCore::drawFocusRingToContext): No need to pass in color and radius - these are now
+ ignored in WKDrawFocusRing. However, I didn't want to change the signature of the
+ WKSI function.
+ (WebCore::drawFocusRingToContextAtTime): Call into the new method WKDrawFocusRingAtTime.
+ (WebCore::GraphicsContext::drawFocusRing): Color and radius no longer used.
</ins><span class="cx">
</span><del>- Merge r153399
</del><ins>+ * platform/mac/ThemeMac.mm:
+ (WebCore::checkboxMargins): Update the margins since our focus ring can be a lot bigger.
+ (WebCore::radioMargins): Ditto.
+ (WebCore::paintToggleButton): Drawing a focus ring might trigger a repaint too.
+ (WebCore::buttonMargins): Increase the margins.
+ (WebCore::paintButton): If our focus ring wants to be drawn again, set the ControlStates flag.
</ins><span class="cx">
</span><del>- 2013-07-26 Sam Weinig <sam@webkit.org>
</del><ins>+ * platform/mac/WebCoreNSCellExtras.h: Removed.
+ * platform/mac/WebCoreNSCellExtras.m: Removed.
</ins><span class="cx">
</span><del>- Stop pretending to support <string> for text-align.
- https://bugs.webkit.org/show_bug.cgi?id=119107
</del><ins>+ * platform/mac/WebCoreSystemInterface.h: Declare the new methods.
+ * platform/mac/WebCoreSystemInterface.mm:
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::initializeStyle): Expand the overflow rects by the maximum
+ focus ring width. This might be different from the current outline size.
+ (WebCore::RenderElement::setStyle): Ditto.
</ins><span class="cx">
</span><del>- Test: fast/css/text-align-string-crash.html
</del><ins>+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::paintFocusRing): If we're on Mac, use the new drawFocusRing method,
+ which sets a parameter to true if the focused element needs a repaint.
</ins><span class="cx">
</span><del>- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseValue):
- Stop pretending to support <string> for text-align.
</del><ins>+ * rendering/RenderTheme.cpp:
+ (WebCore::RenderTheme::updateControlStatesForRenderer): Copy the value from FocusController
+ so that the platform Theme code can use it.
</ins><span class="cx">
</span><del>- * css/DeprecatedStyleBuilder.cpp:
- (WebCore::ApplyPropertyTextAlign::applyValue):
- ASSERT that only value IDs get passed.
</del><ins>+ * rendering/RenderTheme.h:
+ (WebCore::RenderTheme::platformFocusRingMaxWidth): Add a way to get the maximum width
+ of a focus ring for the platform. This is used to extend the overflow rects.
+ * rendering/RenderThemeMac.h: Override the focus ring width.
+ * rendering/RenderThemeMac.mm: On newer versions of OS X, we have a larger focus ring.
+ (WebCore::RenderThemeMac::platformFocusRingMaxWidth):
+ (WebCore::RenderThemeMac::paintMenuList): If a menu is focused, and needs a repaint, mark
+ it as such.
</ins><span class="cx">
</span><del>-2013-07-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-06 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Merge r153378
</del><ins>+ [iOS] Animate AVPlayerLayer into and out of full screen
+ https://bugs.webkit.org/show_bug.cgi?id=132603
</ins><span class="cx">
</span><del>- 2013-07-26 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Add a mode where autosizing fixes the FrameView height to at least the WKView height
- https://bugs.webkit.org/show_bug.cgi?id=119104
- <rdar://problem/14549021>
</del><ins>+ Rather than synchronize animations across the WebProcess / UIProcess boundary, animate
+ the AVPlayerLayer into place by first resizing the full screen layer to occupy the
+ entire screen in the WebProcess, and use a sublayerTransform animation in the UIProcess
+ to scale the AVPlayer from its initial screen location, as well as back to its final screen
+ location.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * platform/graphics/GeometryUtilities.cpp:
+ (WebCore::largestRectWithAspectRatioInsideRect): Added utility method.
+ * platform/graphics/GeometryUtilities.h:
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVVideoLayer init]): Added, initialize video gravity and enable child layer masking.
+ (-[WebAVVideoLayer setBounds:]): Create a transform to scale the video area.
+ (WebVideoFullscreenInterfaceAVKit::enterFullscreen): Block implicit animations during setup.
+ (WebVideoFullscreenInterfaceAVKit::exitFullscreen): Reset the gravity to ResizeAspect
+ if necessary.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Export FrameView::setAutoSizeFixedMinimumHeight.
- * page/FrameView.cpp:
- (WebCore::FrameView::FrameView):
- Initialize m_autoSizeFixedMinimumHeight to 0.
</del><ins>+2014-05-06 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::FrameView::autoSizeIfEnabled):
- Increase the FrameView height to m_autoSizeFixedMinimumHeight if necessary,
- and do another layout. Store the computed intrinsic content size.
</del><ins>+ Make BlobDataItem use a refcounted object for files
+ https://bugs.webkit.org/show_bug.cgi?id=132628
</ins><span class="cx">
</span><del>- (WebCore::FrameView::setAutoSizeFixedMinimumHeight): Added.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * page/FrameView.h:
- (WebCore::FrameView::autoSizingIntrinsicContentSize): Added.
</del><ins>+ * CMakeLists.txt:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ Added BlobDataFileReference.{h|cpp}
</ins><span class="cx">
</span><del>-2013-07-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * WebCore.exp.in: Removed unused exports.
</ins><span class="cx">
</span><del>- Merge r153349
</del><ins>+ * platform/network/BlobData.h:
+ (WebCore::BlobDataItem::offset):
+ (WebCore::BlobDataItem::BlobDataItem):
+ Use a wrapper class for files, not a path. Changed to be more class-like accordingly.
</ins><span class="cx">
</span><del>- 2013-07-25 Tim Horton <timothy_horton@apple.com>
</del><ins>+ * platform/network/BlobData.cpp:
+ (WebCore::BlobData::appendData):
+ (WebCore::BlobData::appendFile):
+ (WebCore::BlobData::appendBlob): Deleted.
+ (WebCore::BlobData::BlobData): Deleted.
+ We never add blobs to BlobData, they are always resolved to data of file references.
+ Lots of very confusing code to delete.
</ins><span class="cx">
</span><del>- Null check m_frame in maximum and minimumScrollPosition
- https://bugs.webkit.org/show_bug.cgi?id=119109
- <rdar://problem/14545393>
</del><ins>+ * platform/network/BlobDataFileReference.h: Added.
+ * platform/network/BlobDataFileReference.cpp: Added.
+ (WebCore::BlobDataFileReference::size):
+ (WebCore::BlobDataFileReference::expectedModificationTime):
+ (WebCore::BlobDataFileReference::computeFileSystemData):
+ A unique reference to a file referenced by blob, to be preserved when you slice
+ or combine blobs.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/network/BlobRegistryImpl.cpp:
+ (WebCore::BlobRegistryImpl::appendStorageItems):
+ (WebCore::BlobRegistryImpl::registerFileBlobURL):
+ (WebCore::BlobRegistryImpl::registerBlobURL):
+ (WebCore::BlobRegistryImpl::blobSize):
+ * platform/network/BlobResourceHandle.cpp:
+ (WebCore::BlobResourceHandle::getSizeForNext):
+ (WebCore::BlobResourceHandle::didGetSize):
+ (WebCore::BlobResourceHandle::readDataSync):
+ (WebCore::BlobResourceHandle::readFileSync):
+ (WebCore::BlobResourceHandle::readDataAsync):
+ (WebCore::BlobResourceHandle::readFileAsync):
+ * platform/network/BlobResourceHandle.h:
+ * platform/network/FormData.cpp:
+ (WebCore::appendBlobResolved):
+ Updated for BlobDataItem interface changes.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::minimumScrollPosition):
- (WebCore::FrameView::maximumScrollPosition):
- Null-check m_frame (and move the early-return after the clamp-to-0
- as the revert in r152911 should have).
</del><ins>+2014-05-06 Christophe Dumez <ch.dumez@samsung.com>
</ins><span class="cx">
</span><del>-2013-07-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [HTML] Default argument to HTMLTableRowElement.insertCell() should be -1
+ https://bugs.webkit.org/show_bug.cgi?id=132615
</ins><span class="cx">
</span><del>- Merge r153366
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- 2013-07-25 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ HTMLTableRowElement.insertCell()'s argument default value should be -1, not
+ 0, as per the specification:
+ http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-tr-element
</ins><span class="cx">
</span><del>- Fix document leak when selection is created inside the document
- https://bugs.webkit.org/show_bug.cgi?id=119122
</del><ins>+ The new behavior matches the one of Firefox 29 and IE11, and soon Blink:
+ https://codereview.chromium.org/263323004/
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Test: fast/dom/HTMLTableRowElement/insertCell-default-argument.html
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/b908cb4c8da93316d787de31c93f2a43de332a10
</del><ins>+ * html/HTMLTableRowElement.h:
+ * html/HTMLTableRowElement.idl:
</ins><span class="cx">
</span><del>- The bug was caused by FrameSelection::m_previousCaretNode holding onto a Node, leaking its document.
- Fixed the bug by explicitly clearing it in FrameSelection::prepareForDestruction.
</del><ins>+2014-05-06 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>- Test: editing/selection/leak-document-with-selection-inside.html
</del><ins>+ Fix build.
</ins><span class="cx">
</span><del>- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::prepareForDestruction):
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>-2013-07-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-06 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Merge r153344
</del><ins>+ Add missing line from r168384.
</ins><span class="cx">
</span><del>- 2013-07-25 Sam Weinig <sam@webkit.org>
</del><ins>+ * dom/ContainerNode.h:
+ (WebCore::ChildNodesLazySnapshot::~ChildNodesLazySnapshot):
</ins><span class="cx">
</span><del>- -[WebHTMLView attributedSubstringForProposedRange:actualRange:] does not include strikethrough attribute in the returned attributed string
- https://bugs.webkit.org/show_bug.cgi?id=119099
- <rdar://problem/13439291>
</del><ins>+2014-05-06 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Enrica Casucci.
</del><ins>+ Can't make a booking at virginamerica.com
+ https://bugs.webkit.org/show_bug.cgi?id=132626
</ins><span class="cx">
</span><del>- Tests:
- API Test: AttributedStringTest_Strikethrough
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- * platform/mac/HTMLConverter.mm:
- (+[WebHTMLConverter editingAttributedStringFromRange:]):
- Set the NSStrikethroughStyleAttributeName attribute when text-decoration: line-through is seen.
</del><ins>+ Test: fast/dom/assign-to-prototype-accessor-on-prototype-should-be-silent.html
</ins><span class="cx">
</span><del>-2013-07-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ We can't throw an exception when a site incorrectly attempts
+ to use a dom property setter directly on the prototype as
+ there are sites that do this as compatibility workarounds
+ for old browsers. Instead we treat use of the setter on
+ the prototype object in the same way we do getters, and just
+ log a warning to the console.
</ins><span class="cx">
</span><del>- Merge r153102
</del><ins>+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::reportDeprecatedSetterError):
+ * bindings/js/JSDOMBinding.h:
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::setJSTestInterfaceImplementsStr2):
+ (WebCore::setJSTestInterfaceImplementsStr3):
+ (WebCore::setJSTestInterfaceImplementsNode):
+ (WebCore::setJSTestInterfaceSupplementalStr2):
+ (WebCore::setJSTestInterfaceSupplementalStr3):
+ (WebCore::setJSTestInterfaceSupplementalNode):
+ * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
+ (WebCore::setJSTestNondeterministicNondeterministicWriteableAttr):
+ (WebCore::setJSTestNondeterministicNondeterministicExceptionAttr):
+ (WebCore::setJSTestNondeterministicNondeterministicGetterExceptionAttr):
+ (WebCore::setJSTestNondeterministicNondeterministicSetterExceptionAttr):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::setJSTestObjTestSubObjEnabledBySettingConstructor):
+ (WebCore::setJSTestObjEnumAttr):
+ (WebCore::setJSTestObjByteAttr):
+ (WebCore::setJSTestObjOctetAttr):
+ (WebCore::setJSTestObjShortAttr):
+ (WebCore::setJSTestObjUnsignedShortAttr):
+ (WebCore::setJSTestObjLongAttr):
+ (WebCore::setJSTestObjLongLongAttr):
+ (WebCore::setJSTestObjUnsignedLongLongAttr):
+ (WebCore::setJSTestObjStringAttr):
+ (WebCore::setJSTestObjTestObjAttr):
+ (WebCore::setJSTestObjXMLObjAttr):
+ (WebCore::setJSTestObjCreate):
+ (WebCore::setJSTestObjReflectedStringAttr):
+ (WebCore::setJSTestObjReflectedIntegralAttr):
+ (WebCore::setJSTestObjReflectedUnsignedIntegralAttr):
+ (WebCore::setJSTestObjReflectedBooleanAttr):
+ (WebCore::setJSTestObjReflectedURLAttr):
+ (WebCore::setJSTestObjReflectedCustomIntegralAttr):
+ (WebCore::setJSTestObjReflectedCustomBooleanAttr):
+ (WebCore::setJSTestObjReflectedCustomURLAttr):
+ (WebCore::setJSTestObjTypedArrayAttr):
+ (WebCore::setJSTestObjAttrWithGetterException):
+ (WebCore::setJSTestObjAttrWithSetterException):
+ (WebCore::setJSTestObjStringAttrWithGetterException):
+ (WebCore::setJSTestObjStringAttrWithSetterException):
+ (WebCore::setJSTestObjCustomAttr):
+ (WebCore::setJSTestObjWithScriptStateAttribute):
+ (WebCore::setJSTestObjWithScriptExecutionContextAttribute):
+ (WebCore::setJSTestObjWithScriptStateAttributeRaises):
+ (WebCore::setJSTestObjWithScriptExecutionContextAttributeRaises):
+ (WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateAttribute):
+ (WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises):
+ (WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute):
+ (WebCore::setJSTestObjWithScriptArgumentsAndCallStackAttribute):
+ (WebCore::setJSTestObjConditionalAttr1):
+ (WebCore::setJSTestObjConditionalAttr2):
+ (WebCore::setJSTestObjConditionalAttr3):
+ (WebCore::setJSTestObjConditionalAttr4Constructor):
+ (WebCore::setJSTestObjConditionalAttr5Constructor):
+ (WebCore::setJSTestObjConditionalAttr6Constructor):
+ (WebCore::setJSTestObjAnyAttribute):
+ (WebCore::setJSTestObjMutablePoint):
+ (WebCore::setJSTestObjImmutablePoint):
+ (WebCore::setJSTestObjStrawberry):
+ (WebCore::setJSTestObjStrictFloat):
+ (WebCore::setJSTestObjId):
+ (WebCore::setJSTestObjReplaceableAttribute):
+ (WebCore::setJSTestObjNullableLongSettableAttribute):
+ (WebCore::setJSTestObjNullableStringValue):
+ (WebCore::setJSTestObjAttributeWithReservedEnumType):
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ (WebCore::setJSTestSerializedScriptValueInterfaceValue):
+ (WebCore::setJSTestSerializedScriptValueInterfaceCachedValue):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::setJSTestTypedefsUnsignedLongLongAttr):
+ (WebCore::setJSTestTypedefsImmutableSerializedScriptValue):
+ (WebCore::setJSTestTypedefsAttrWithGetterException):
+ (WebCore::setJSTestTypedefsAttrWithSetterException):
+ (WebCore::setJSTestTypedefsStringAttrWithGetterException):
+ (WebCore::setJSTestTypedefsStringAttrWithSetterException):
</ins><span class="cx">
</span><del>- 2013-07-24 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-05-06 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Use-after-free in ApplyStyleCommand::removeInlineStyle
- https://bugs.webkit.org/show_bug.cgi?id=118627
</del><ins>+ ChildNodesLazySnapshot::m_childNodes needs two heap allocations.
+ <https://webkit.org/b/132616>
</ins><span class="cx">
</span><del>- Reviewed by Oliver Hunt.
</del><ins>+ This seems a bit silly, since ChildNodesLazySnapshot is always
+ allocated on the stack.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/b6471d077e012b05ccba14d0ce8e6d616106c8e6
</del><ins>+ Change it to be a bool + a Vector instead of using the nullity
+ as a presence indicator. This way we also don't end up with an
+ out-of-line ~OwnPtr for the Vector.
</ins><span class="cx">
</span><del>- Unfortunately, there is no test case for this bug.
</del><ins>+ Reviewed by Geoff Garen.
</ins><span class="cx">
</span><del>- * editing/ApplyStyleCommand.cpp:
- (WebCore::ApplyStyleCommand::removeInlineStyle):
</del><ins>+ * dom/ContainerNode.h:
+ (WebCore::ChildNodesLazySnapshot::ChildNodesLazySnapshot):
+ (WebCore::ChildNodesLazySnapshot::nextNode):
+ (WebCore::ChildNodesLazySnapshot::takeSnapshot):
+ (WebCore::ChildNodesLazySnapshot::hasSnapshot):
</ins><span class="cx">
</span><del>-2013-07-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-06 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Merge r152905
</del><ins>+ Eliminate BlobStorageData
+ https://bugs.webkit.org/show_bug.cgi?id=132617
</ins><span class="cx">
</span><del>- 2013-07-19 Geoffrey Garen <ggaren@apple.com>
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- TrailingObjects shouldn't shrink vector capacity in a loop
- https://bugs.webkit.org/show_bug.cgi?id=118322
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/network/BlobData.h:
+ (WebCore::BlobData::create):
+ (WebCore::BlobData::BlobData):
+ * platform/network/BlobRegistryImpl.cpp:
+ (WebCore::loadResourceSynchronously):
+ (WebCore::BlobRegistryImpl::appendStorageItems):
+ (WebCore::BlobRegistryImpl::registerFileBlobURL):
+ (WebCore::BlobRegistryImpl::registerBlobURL):
+ (WebCore::BlobRegistryImpl::registerBlobURLForSlice):
+ (WebCore::BlobRegistryImpl::getBlobDataFromURL):
+ (WebCore::BlobRegistryImpl::blobSize):
+ * platform/network/BlobRegistryImpl.h:
+ * platform/network/BlobResourceHandle.cpp:
+ (WebCore::BlobResourceHandle::createAsync):
+ (WebCore::BlobResourceHandle::loadResourceSynchronously):
+ (WebCore::BlobResourceHandle::BlobResourceHandle):
+ (WebCore::BlobResourceHandle::doStart):
+ (WebCore::BlobResourceHandle::getSizeForNext):
+ (WebCore::BlobResourceHandle::didGetSize):
+ (WebCore::BlobResourceHandle::seek):
+ (WebCore::BlobResourceHandle::readSync):
+ (WebCore::BlobResourceHandle::readDataSync):
+ (WebCore::BlobResourceHandle::readFileSync):
+ (WebCore::BlobResourceHandle::readAsync):
+ (WebCore::BlobResourceHandle::readDataAsync):
+ (WebCore::BlobResourceHandle::readFileAsync):
+ (WebCore::BlobResourceHandle::notifyResponseOnSuccess):
+ * platform/network/BlobResourceHandle.h:
+ * platform/network/BlobStorageData.h: Removed.
+ * platform/network/FormData.cpp:
+ (WebCore::appendBlobResolved):
+ * platform/network/soup/ResourceHandleSoup.cpp:
+ (WebCore::addEncodedBlobToSoupMessageBody):
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-05-06 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- This seems to take about 3% off the profile of loading a large text file.
</del><ins>+ Fix the iOS build.
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::TrailingObjects::clear): clear() has the built-in side effect
- of throwing away existing capacity. Use shrink(0) to indicate that we
- want to keep our existing capacity.
-
-2013-07-24 Lucas Forschler <lforschler@apple.com>
</del><ins>+ WebCore::Editor::replaceNodeFromPasteboard(WebCore::Node*, WTF::String const&) is Mac-only.
+ Also sort the export file.
</ins><span class="cx">
</span><del>- Merge r153092
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- 2013-07-24 Jessie Berlin <jberlin@apple.com>
</del><ins>+2014-05-06 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Remove WKPageGetPlugInInformation - it is not used anymore
- https://bugs.webkit.org/show_bug.cgi?id=119047
</del><ins>+ Begin Removal of Old Multi-Column Code.
+ https://bugs.webkit.org/show_bug.cgi?id=132480
</ins><span class="cx">
</span><del>- Rubber-stamped by Alexey Proskuryakov.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Revert r152328, which added a key used only in the callback info for
- WKPageGetPlugInInformation.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::regionBasedColumnsEnabled): Deleted.
+ * dom/Document.h:
+ * page/FrameView.cpp:
+ (WebCore::updateLayerPositionFlags):
+ * page/Settings.in:
+ * rendering/LayoutState.cpp:
+ (WebCore::LayoutState::LayoutState):
+ (WebCore::LayoutState::clearPaginationInformation):
+ (WebCore::LayoutState::addForcedColumnBreak): Deleted.
+ * rendering/LayoutState.h:
+ (WebCore::LayoutState::LayoutState):
+ (WebCore::LayoutState::isPaginatingColumns): Deleted.
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::~RenderBlock):
+ (WebCore::RenderBlock::addChildToContinuation):
+ (WebCore::RenderBlock::addChild):
+ (WebCore::RenderBlock::addChildIgnoringContinuation):
+ (WebCore::RenderBlock::removeLeftoverAnonymousBlock):
+ (WebCore::canMergeContiguousAnonymousBlocks):
+ (WebCore::RenderBlock::removeChild):
+ (WebCore::RenderBlock::recomputeLogicalWidth):
+ (WebCore::RenderBlock::addOverflowFromChildren):
+ (WebCore::RenderBlock::expandsToEncloseOverhangingFloats):
+ (WebCore::RenderBlock::simplifiedLayout):
+ (WebCore::RenderBlock::layoutPositionedObjects):
+ (WebCore::RenderBlock::paintObject):
+ (WebCore::RenderBlock::selectionGaps):
+ (WebCore::RenderBlock::nodeAtPoint):
+ (WebCore::RenderBlock::offsetForContents):
+ (WebCore::RenderBlock::computeIntrinsicLogicalWidths):
+ (WebCore::RenderBlock::createAnonymousBoxWithSameTypeAs):
+ (WebCore::RenderBlock::childBoxIsUnsplittableForFragmentation):
+ (WebCore::RenderBlock::renderName):
+ (WebCore::RenderBlock::addChildToAnonymousColumnBlocks): Deleted.
+ (WebCore::RenderBlock::containingColumnsBlock): Deleted.
+ (WebCore::RenderBlock::splitFlow): Deleted.
+ (WebCore::RenderBlock::makeChildrenAnonymousColumnBlocks): Deleted.
+ (WebCore::RenderBlock::columnsBlockForSpanningElement): Deleted.
+ (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks): Deleted.
+ (WebCore::RenderBlock::updateLogicalWidthAndColumnWidth): Deleted.
+ (WebCore::RenderBlock::isTopLayoutOverflowAllowed): Deleted.
+ (WebCore::RenderBlock::isLeftLayoutOverflowAllowed): Deleted.
+ (WebCore::RenderBlock::paintColumnRules): Deleted.
+ (WebCore::RenderBlock::initialBlockOffsetForPainting): Deleted.
+ (WebCore::RenderBlock::blockDeltaForPaintingNextColumn): Deleted.
+ (WebCore::RenderBlock::paintColumnContents): Deleted.
+ (WebCore::ColumnRectIterator::ColumnRectIterator): Deleted.
+ (WebCore::ColumnRectIterator::advance): Deleted.
+ (WebCore::ColumnRectIterator::columnRect): Deleted.
+ (WebCore::ColumnRectIterator::hasMore): Deleted.
+ (WebCore::ColumnRectIterator::adjust): Deleted.
+ (WebCore::ColumnRectIterator::update): Deleted.
+ (WebCore::RenderBlock::hitTestColumns): Deleted.
+ (WebCore::RenderBlock::adjustForColumnRect): Deleted.
+ (WebCore::RenderBlock::availableLogicalWidth): Deleted.
+ (WebCore::RenderBlock::columnGap): Deleted.
+ (WebCore::RenderBlock::computeColumnCountAndWidth): Deleted.
+ (WebCore::RenderBlock::requiresColumns): Deleted.
+ (WebCore::RenderBlock::setComputedColumnCountAndWidth): Deleted.
+ (WebCore::RenderBlock::updateColumnProgressionFromStyle): Deleted.
+ (WebCore::RenderBlock::computedColumnWidth): Deleted.
+ (WebCore::RenderBlock::computedColumnCount): Deleted.
+ (WebCore::RenderBlock::columnInfo): Deleted.
+ (WebCore::RenderBlock::columnCount): Deleted.
+ (WebCore::RenderBlock::columnRectAt): Deleted.
+ (WebCore::RenderBlock::adjustPointToColumnContents): Deleted.
+ (WebCore::RenderBlock::adjustRectForColumns): Deleted.
+ (WebCore::RenderBlock::flipForWritingModeIncludingColumns): Deleted.
+ (WebCore::RenderBlock::adjustStartEdgeForWritingModeIncludingColumns): Deleted.
+ (WebCore::RenderBlock::adjustForColumns): Deleted.
+ (WebCore::RenderBlock::adjustIntrinsicLogicalWidthsForColumns): Deleted.
+ (WebCore::RenderBlock::paginationUnit): Deleted.
+ (WebCore::RenderBlock::createAnonymousColumnsWithParentRenderer): Deleted.
+ (WebCore::RenderBlock::createAnonymousColumnSpanWithParentRenderer): Deleted.
+ (WebCore::RenderBlock::computeLineGridPaginationOrigin): Deleted.
+ * rendering/RenderBlock.h:
+ (WebCore::RenderBlock::pixelSnappedLogicalRightOffsetForLine):
+ (WebCore::RenderBlock::createAnonymousBlock):
+ (WebCore::RenderBlock::paintColumnRules):
+ (WebCore::RenderBlock::createAnonymousColumnsBlock): Deleted.
+ (WebCore::RenderBlock::createAnonymousColumnSpanBlock): Deleted.
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::adjustIntrinsicLogicalWidthsForColumns):
+ (WebCore::RenderBlockFlow::computeIntrinsicLogicalWidths):
+ (WebCore::RenderBlockFlow::recomputeLogicalWidthAndColumnWidth):
+ (WebCore::RenderBlockFlow::columnGap):
+ (WebCore::RenderBlockFlow::computeColumnCountAndWidth):
+ (WebCore::RenderBlockFlow::layoutBlock):
+ (WebCore::inNormalFlow):
+ (WebCore::RenderBlockFlow::applyBeforeBreak):
+ (WebCore::RenderBlockFlow::applyAfterBreak):
+ (WebCore::RenderBlockFlow::updateMinimumPageHeight):
+ (WebCore::RenderBlockFlow::computeOverflow):
+ (WebCore::RenderBlockFlow::addOverhangingFloats):
+ (WebCore::RenderBlockFlow::hasOverhangingFloat):
+ (WebCore::RenderBlockFlow::relayoutForPagination):
+ (WebCore::RenderBlockFlow::checkForPaginationLogicalHeightChange):
+ (WebCore::RenderBlockFlow::requiresColumns):
+ (WebCore::RenderBlockFlow::setComputedColumnCountAndWidth):
+ (WebCore::RenderBlockFlow::updateColumnProgressionFromStyle):
+ (WebCore::RenderBlockFlow::computedColumnWidth):
+ (WebCore::RenderBlockFlow::computedColumnCount):
+ * rendering/RenderBlockFlow.h:
+ (WebCore::RenderBlockFlow::hasOverhangingFloats):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::styleDidChange):
+ (WebCore::RenderBox::offsetFromContainer):
+ (WebCore::RenderBox::computeRectForRepaint):
+ (WebCore::RenderBox::layoutOverflowRectForPropagation):
+ * rendering/RenderBox.h:
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::adjustedPositionRelativeToOffsetParent):
+ (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
+ * rendering/RenderBoxModelObject.h:
+ (WebCore::RenderBoxModelObject::canHaveBoxInfoInRegion):
+ * rendering/RenderFlexibleBox.cpp:
+ (WebCore::RenderFlexibleBox::layoutBlock):
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderGeometryMap.cpp:
+ (WebCore::canMapBetweenRenderers):
+ * rendering/RenderInline.cpp:
+ (WebCore::RenderInline::clippedOverflowRectForRepaint):
+ (WebCore::RenderInline::computeRectForRepaint):
+ (WebCore::RenderInline::offsetFromContainer):
+ (WebCore::RenderInline::mapLocalToContainer):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::RenderLayer):
+ (WebCore::RenderLayer::updateLayerPositions):
+ (WebCore::RenderLayer::updatePagination):
+ (WebCore::accumulateOffsetTowardsAncestor):
+ (WebCore::RenderLayer::paintList):
+ (WebCore::RenderLayer::hitTestList):
+ (WebCore::checkContainingBlockChainForPagination): Deleted.
+ (WebCore::RenderLayer::useRegionBasedColumns): Deleted.
+ (WebCore::RenderLayer::paintPaginatedChildLayer): Deleted.
+ (WebCore::RenderLayer::paintChildLayerIntoColumns): Deleted.
+ (WebCore::RenderLayer::hitTestPaginatedChildLayer): Deleted.
+ (WebCore::RenderLayer::hitTestChildLayerColumns): Deleted.
+ * rendering/RenderLayer.h:
+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::shouldCheckColumnBreaks):
+ * rendering/RenderMultiColumnFlowThread.h:
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::computeRectForRepaint):
+ (WebCore::RenderObject::mapLocalToContainer):
+ (WebCore::RenderObject::pushMappingToContainer):
+ (WebCore::RenderObject::offsetFromContainer):
+ * rendering/RenderObject.h:
+ (WebCore::RenderObject::isAnonymousBlock):
+ (WebCore::RenderObject::RenderObjectBitfields::RenderObjectBitfields):
+ (WebCore::RenderObject::hasColumns): Deleted.
+ (WebCore::RenderObject::setHasColumns): Deleted.
+ (WebCore::RenderObject::isAnonymousColumnsBlock): Deleted.
+ (WebCore::RenderObject::isAnonymousColumnSpanBlock): Deleted.
+ (WebCore::RenderObject::adjustForColumns): Deleted.
+ (WebCore::RenderObject::offsetForColumns): Deleted.
+ * rendering/RenderText.cpp:
+ (WebCore::RenderText::selectionRectForRepaint):
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::availableLogicalHeight):
+ (WebCore::RenderView::pageOrViewLogicalHeight):
+ (WebCore::RenderView::unextendedBackgroundRect):
+ (WebCore::RenderView::backgroundRect):
+ (WebCore::RenderView::shouldDisableLayoutStateForSubtree):
+ (WebCore::RenderView::pageNumberForBlockProgressionOffset):
+ (WebCore::RenderView::pageCount):
+ (WebCore::RenderView::paginationUnit): Deleted.
+ * rendering/RenderView.h:
+ (WebCore::LayoutStateMaintainer::LayoutStateMaintainer):
+ (WebCore::LayoutStateMaintainer::push):
+ * rendering/SimpleLineLayout.cpp:
+ (WebCore::SimpleLineLayout::canUseFor):
+ * rendering/svg/RenderSVGText.cpp:
+ (WebCore::RenderSVGText::layout):
+ * style/StyleResolveForDocument.cpp:
+ (WebCore::Style::resolveForDocument):
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+2014-05-06 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>-2013-07-24 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Don't select an image that is about to have its menu shown.
+ <rdar://problem/16807845> and https://bugs.webkit.org/show_bug.cgi?id=132579
</ins><span class="cx">
</span><del>- Merge r153002
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- 2013-07-22 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- AX: VoiceOver only read the first column in a safari table
- https://bugs.webkit.org/show_bug.cgi?id=118992
</del><ins>+ * editing/Editor.h:
+ * editing/mac/EditorMac.mm:
+ (WebCore::Editor::replaceNodeFromPasteboard): New method that first selects
+ the Node and then immediately pastes over it. Since it’s synchronous the
+ selection never has a chance to paint.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ * html/shadow/mac/ImageControlsButtonElementMac.cpp:
+ (WebCore::ImageControlsButtonElementMac::defaultEventHandler): Don’t select the image.
</ins><span class="cx">
</span><del>- In case the first section has fewer columns than the rest of the table, the AXTable was only reporting the number of
- columns for the first section. We need to take the max number of columns out of all sections.
</del><ins>+2014-05-06 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Test: accessibility/table-with-mismatch-column-count-in-initial-section.html
</del><ins>+ [Mac] make metadata cue attributes consistent
+ https://bugs.webkit.org/show_bug.cgi?id=132610
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityTable.cpp:
- (WebCore::AccessibilityTable::addChildren):
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>-2013-07-23 Lucas Forschler <lforschler@apple.com>
</del><ins>+ No new tests, updated http/tests/media/track-in-band-hls-metadata.html.
</ins><span class="cx">
</span><del>- Merge r153072
</del><ins>+ * platform/mac/SerializedPlatformRepresentationMac.mm:
+ (WebCore::jsValueWithAVMetadataItemInContext): Don't include keys @dataTypeNamespace
+ or @pictureType, @dataType -> @type.
</ins><span class="cx">
</span><del>- 2013-07-23 Andreas Kling <akling@apple.com>
</del><ins>+2014-05-06 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- REGRESSION(r150867): FrameView auto-sizing + delegate denied image load may cause StyleResolver to re-enter itself.
- <rdar://problem/14324895>
- <http://webkit.org/b/119023>
</del><ins>+ "Flash of content without image" when pasting a raw image from the pasteboard
+ <rdar://problem/16826199> and https://bugs.webkit.org/show_bug.cgi?id=132612
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- The bug happened when FrameView::autoSizeIfEnabled() was getting called below FrameLoader::checkCompleted()
- triggered by an incorrect loadDone() callback originating in SubresourceLoader::didCancel().
</del><ins>+ Let an ArchiveResource be flagged as "should load immediately":
+ * loader/archive/ArchiveResource.cpp:
+ (WebCore::ArchiveResource::ArchiveResource):
+ * loader/archive/ArchiveResource.h:
+ (WebCore::ArchiveResource::setShouldLoadImmediately):
+ (WebCore::ArchiveResource::shouldLoadImmediately):
</ins><span class="cx">
</span><del>- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::loadPendingResources):
</del><ins>+ Set that flag on the ArchiveResource for the image.
+ Note we quite explicitly do this only in the "read a single image" from the pasteboard
+ case, because we don't want to do this synchronous step for multiple images at once
+ such as when pasting a WebArchive:
+ * editing/mac/EditorMac.mm:
+ (WebCore::Editor::WebContentReader::readImage):
</ins><span class="cx">
</span><del>- Add an assertion that this function is not getting re-entered. If a similar bug occurs
- in the future, this will help the lucky person debugging.
</del><ins>+ When creating a new CachedResource, if there is an ArchiveResource that is set to
+ load immediately, populate the CachedResource immediately instead of scheduling a load:
+ * loader/cache/CachedResourceLoader.cpp:
+ (WebCore::CachedResourceLoader::requestResource):
</ins><span class="cx">
</span><del>- * loader/SubresourceLoader.cpp:
- (WebCore::SubresourceLoader::didCancel):
</del><ins>+2014-05-06 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Don't notifyDone() if the SubresourceLoader is in Uninitialized state.
</del><ins>+ Unreviewed build fix for debug after r168367.
</ins><span class="cx">
</span><del>-2013-07-23 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/NotImplemented.cpp:
+ Added include NotImplemented.h.
</ins><span class="cx">
</span><del>- Merge r153068
</del><ins>+2014-05-06 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- 2013-07-23 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Removed unnecessary notImplemented.h includes.
+ https://bugs.webkit.org/show_bug.cgi?id=132587
</ins><span class="cx">
</span><del>- Pixel-snap the unavailable plugin indicator arrow for maximum sharpness
- https://bugs.webkit.org/show_bug.cgi?id=119024
- <rdar://problem/14523331>
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * Modules/webdatabase/Database.cpp:
+ * accessibility/AccessibilityObject.cpp:
+ * bindings/js/Dictionary.h:
+ * bindings/js/SerializedScriptValue.cpp:
+ * html/HTMLMediaSession.cpp:
+ * html/ImageDocument.cpp:
+ * html/parser/HTMLFormattingElementList.cpp:
+ * loader/appcache/ApplicationCacheStorage.cpp:
+ * page/mac/EventHandlerMac.mm:
+ * platform/NotImplemented.cpp:
+ * platform/audio/ios/MediaSessionManagerIOS.mm:
+ * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
+ * platform/graphics/mac/GraphicsContext3DMac.mm:
+ * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
+ * platform/ios/PlatformScreenIOS.mm:
+ * platform/mac/PlatformScreenMac.mm:
+ * platform/mac/WidgetMac.mm:
+ * platform/mediastream/MediaStreamTrackPrivate.cpp:
+ * platform/mediastream/mac/AVCaptureDeviceManager.mm:
+ * platform/mediastream/mac/AVMediaCaptureSource.mm:
+ * rendering/RenderGrid.cpp:
+ * workers/SharedWorkerGlobalScope.cpp:
+ * workers/WorkerGlobalScope.cpp:
+ * workers/WorkerMessagingProxy.cpp:
+ Removed notImplemented from list of includes.
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::addReplacementArrowPath):
- (WebCore::RenderEmbeddedObject::getReplacementTextGeometry):
- Pixel-snap the unavailable plugin indicator arrow. Snapping directions
- were chosen by eye/symmetry to look best on 1x and 2x devices at
- 1x and 2x page scale.
</del><ins>+2014-05-06 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>-2013-07-23 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Unreviewed build fix after http://trac.webkit.org/changeset/168364
</ins><span class="cx">
</span><del>- Merge r153060
</del><ins>+ * rendering/RenderLineBreak.cpp:
</ins><span class="cx">
</span><del>- 2013-07-23 Alexey Proskuryakov <ap@apple.com>
</del><ins>+2014-05-06 Christophe Dumez <ch.dumez@samsung.com>
</ins><span class="cx">
</span><del>- Dictionary hotkey does not work on vertical text
- https://bugs.webkit.org/show_bug.cgi?id=118993
- <rdar://problem/14478260>
</del><ins>+ [HTML] Default argument to HTMLTableSectionElement.insertRow() should be -1
+ https://bugs.webkit.org/show_bug.cgi?id=132570
</ins><span class="cx">
</span><del>- Reviewed by Enrica Casucci.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Test: platform/mac/editing/input/firstrectforcharacterrange-vertical.html
</del><ins>+ HTMLTableSectionElement.insertRow()'s argument default value should be -1, not
+ 0, as per the specification:
+ http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-tbody-element
</ins><span class="cx">
</span><del>- * editing/Editor.cpp:
- (WebCore::collapseCaretWidth): A helper function.
- (WebCore::Editor::firstRectForRange): Many changes:
- - use RenderObject::absoluteBoundingBoxRectForRange() in regular case, because
- that's more direct that getting caret rects and computing bounding rect from those.
- - handle collapsed ranges separately, because absoluteBoundingBoxRectForRange()
- doesn't provide the needed result, and because it can be done faster.
- - wherever we use carets to compute the result, account for vertical text (in a hackish
- way, as we don't have layout information at Editor level).
</del><ins>+ The new behavior matches the one of Firefox 29 and IE11, and soon Blink:
+ https://code.google.com/p/chromium/issues/detail?id=369803
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp: (WebCore::RenderBlock::localCaretRect): Removed
- dead code.
</del><ins>+ Test: fast/dom/HTMLTableSectionElement/insertRow-default-argument.html
</ins><span class="cx">
</span><del>-2013-07-23 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * html/HTMLTableSectionElement.h:
+ * html/HTMLTableSectionElement.idl:
</ins><span class="cx">
</span><del>- Merge r153003
</del><ins>+2014-05-05 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- 2013-07-22 Zalan Bujtas <zalan@apple.com>
</del><ins>+ REGRESSION(r155957): Selection rects are incorrect when the selection contains BR elements.
+ https://bugs.webkit.org/show_bug.cgi?id=132596
+ <rdar://problem/16692206>
</ins><span class="cx">
</span><del>- segfault in RenderLayerCompositor when the iframe's position attribute is changed and it embeds <object>.
- https://bugs.webkit.org/show_bug.cgi?id=118965
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ This patch adds an implementation of collectSelectionRects to RenderLineBreak.
+ It uses the same logic used by RenderText to compute and annotate the returned rect
+ which is computed, like the caret rect, using information from the rootline box.
</ins><span class="cx">
</span><del>- Do not change the composition state unless we can reliably figure out the iframe's size.
- If the renderer is not yet attached, its size is not computable.
</del><ins>+ * rendering/RenderLineBreak.cpp:
+ (WebCore::RenderLineBreak::collectSelectionRects):
+ * rendering/RenderLineBreak.h:
</ins><span class="cx">
</span><del>- Test: compositing/iframes/iframe-position-absolute-with-padding-percentage-crash.html
</del><ins>+2014-05-06 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::requiresCompositingForFrame):
</del><ins>+ [CSS Regions] Optimize the number of regions invalidations
+ https://bugs.webkit.org/show_bug.cgi?id=132611
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Merge r153017
</del><ins>+ It is possible to invalidate the region chain of a flow thread
+ during the layout of the region when its height is not final.
</ins><span class="cx">
</span><del>- 2013-07-22 Tim Horton <timothy_horton@apple.com>
</del><ins>+ This patch places the check after the height of the region
+ is determined, reducing the number of invalidations.
</ins><span class="cx">
</span><del>- Plug-in unavailability indicator should not be displayed if a blocked plugin's indicator is clipped
- https://bugs.webkit.org/show_bug.cgi?id=118998
- <rdar://problem/14511268>
</del><ins>+ Tests: Less invalidations and repaints in the repaint tests for
+ the flow threads.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::updateLogicalHeight):
+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::layoutBlock):
+ (WebCore::RenderNamedFlowFragment::invalidateRegionIfNeeded):
+ * rendering/RenderNamedFlowFragment.h:
</ins><span class="cx">
</span><del>- * html/HTMLEmbedElement.cpp:
- (WebCore::HTMLEmbedElement::updateWidget):
- * html/HTMLObjectElement.cpp:
- (WebCore::HTMLObjectElement::updateWidget):
- * html/HTMLPlugInElement.cpp:
- (WebCore::HTMLPlugInElement::defaultEventHandler):
- (WebCore::HTMLPlugInElement::supportsFocus):
- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::updateWidgetIfNecessary):
- * loader/SubframeLoader.cpp:
- (WebCore::SubframeLoader::createJavaAppletWidget):
- (WebCore::SubframeLoader::loadPlugin):
- * page/FrameView.cpp:
- (WebCore::FrameView::updateWidget):
- Rename showsUnavailablePluginIndicator to isPluginUnavailable, since being unavailable
- and actually showing the indicator are two totally different things.
</del><ins>+2014-05-03 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Expose setUnavailablePluginIndicatorIsHidden.
</del><ins>+ [Extended Background] Respect repeat-x/repeat-y when creating margin tiles
+ https://bugs.webkit.org/show_bug.cgi?id=132534
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::RenderEmbeddedObject::RenderEmbeddedObject):
- Rename m_showsUnavailablePluginIndicator to m_isPluginUnavailable.
- Add m_isUnavailablePluginIndicatorHidden, defaulting to false.
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReasonWithDescription):
- Set m_isPluginUnavailable when we get an unavailability reason.
</del><ins>+ If the background image that is causing margin tiles only repeats in dimension only create
+ the tiles in that dimension.
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::paint):
- (WebCore::RenderEmbeddedObject::setUnavailablePluginIndicatorIsHidden): Added.
</del><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::updateExtendBackgroundIfNecessary):
+ (WebCore::FrameView::calculateExtendedBackgroundMode):
+ (WebCore::FrameView::updateTilesForExtendedBackgroundMode):
+ (WebCore::FrameView::setBackgroundExtendsBeyondPage): Deleted.
+ (WebCore::FrameView::needsExtendedBackgroundRectForPainting): Deleted.
+ (WebCore::FrameView::setHasExtendedBackgroundRectForPainting): Deleted.
+ * page/FrameView.h:
+ * page/Settings.cpp:
+ (WebCore::Settings::setBackgroundShouldExtendBeyondPage):
+ * platform/graphics/TiledBacking.h:
+ * platform/graphics/ca/mac/TileController.h:
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::hasHorizontalMargins):
+ (WebCore::TileController::hasVerticalMargins):
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::styleWillChange):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::setTiledBackingHasMargins):
+ * rendering/RenderLayerBacking.h:
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.h:
- (WebCore::RenderEmbeddedObject::isPluginUnavailable): Added.
</del><ins>+2014-05-06 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::showsUnavailablePluginIndicator):
- Repurpose "showsUnavailablePluginIndicator" to actually represent whether
- the indicator is displayed (i.e. the plugin is unavailable, and the
- indicator is not hidden).
</del><ins>+ AX: VoiceOver does not announce text changes for content editable regions in Safari
+ https://bugs.webkit.org/show_bug.cgi?id=132577
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- Merge r153014
</del><ins>+ When text or children are changed inside of a contenteditable region, we need to
+ convert those actions into AXValueChange notifications.
</ins><span class="cx">
</span><del>- 2013-07-22 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Test: accessibility/content-editable-set-inner-text-generates-axvalue-notification.html
</ins><span class="cx">
</span><del>- RenderEmbeddedObject::isReplacementObscured should include the arrow in its area-of-interest
- https://bugs.webkit.org/show_bug.cgi?id=118995
- <rdar://problem/14516421>
</del><ins>+ * accessibility/AccessibilityNodeObject.cpp:
+ (WebCore::AccessibilityNodeObject::childrenChanged):
+ (WebCore::AccessibilityNodeObject::hasContentEditableAttributeSet): Deleted.
+ * accessibility/AccessibilityNodeObject.h:
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::hasContentEditableAttributeSet):
+ * accessibility/AccessibilityObject.h:
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::textChanged):
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-05-06 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::RenderEmbeddedObject::unavailablePluginIndicatorBounds):
- Rename method from replacementTextRect to unavailablePluginIndicatorBounds for accuracy.
- Use the bounding box of the indicator's path, which includes the rounded rect behind
- the text as well as the arrow button.
</del><ins>+ [SVG2] Share "on"- event attributes with HTMLElement
+ https://bugs.webkit.org/show_bug.cgi?id=132604
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::isReplacementObscured):
- * rendering/RenderEmbeddedObject.h:
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Share "on" event attribute parsing between SVGElement and HTMLElement.
</ins><span class="cx">
</span><del>- Merge r153013
</del><ins>+ Tests: fast/dom/script-tests/event-attribute-availability.js:
</ins><span class="cx">
</span><del>- 2013-07-22 Tim Horton <timothy_horton@apple.com>
</del><ins>+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::populateEventNameForAttributeLocalNameMap):
+ (WebCore::populateEventNameForAttributeLocalNameMap): Deleted.
+ * html/HTMLElement.h: Make populateEventNameForAttributeLocalNameMap
+ public for use in SVGElement.
+ * svg/SVGElement.cpp: Use HTMLElement code to parse "on" event
+ attributes.
+ (WebCore::SVGElement::parseAttribute):
</ins><span class="cx">
</span><del>- <applet> plugins are instantiated post-attach (instead of post-layout like for object and embed)
- https://bugs.webkit.org/show_bug.cgi?id=118994
- <rdar://problem/14511232>
</del><ins>+2014-05-05 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ [Soup] Use std::unique_ptr<char[]> for the read buffer in SocketStreamHandle
+ https://bugs.webkit.org/show_bug.cgi?id=132559
</ins><span class="cx">
</span><del>- Make <applet> consistent with <object> and <embed>, deferring plugin
- instantiation to post-layout, so that layout is up-to-date if anything
- needs it (like RenderEmbeddedObject::isReplacementObscured) during creation.
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>- * html/HTMLAppletElement.cpp:
- (WebCore::HTMLAppletElement::updateWidget):
- Copy code from HTMLObjectElement/HTMLEmbedElement that defers plugin
- creation until post-layout tasks. Java is always an NPAPI plugin, so
- we should always defer if requested.
</del><ins>+ Manage the read buffer array through a std::unique_ptr<char[]> object.
+ This avoids handling with the raw pointer and also ensures that the memory
+ allocated with the new[] operator is deleted with the delete[] operator,
+ a problem exposed by the AddressSanitizer in WebSocket tests.
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/network/soup/SocketStreamHandle.h:
+ * platform/network/soup/SocketStreamHandleSoup.cpp:
+ (WebCore::SocketStreamHandle::SocketStreamHandle):
+ (WebCore::SocketStreamHandle::connected):
+ (WebCore::SocketStreamHandle::readBytes):
+ (WebCore::SocketStreamHandle::platformClose):
</ins><span class="cx">
</span><del>- Merge r152989
</del><ins>+2014-05-05 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- 2013-07-22 Dean Jackson <dino@apple.com>
</del><ins>+ Adapt inline SVG sizing behavior to Firefox and Blink
+ https://bugs.webkit.org/show_bug.cgi?id=132569
</ins><span class="cx">
</span><del>- PlugIn content can disappear after restarting
- https://bugs.webkit.org/show_bug.cgi?id=118982
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ This patch is ported from Blink CR 308992. Thanks to David Vest for helping
+ with back porting his Blink patch. From the commit message:
</ins><span class="cx">
</span><del>- When a snapshotted plug-in is restarted, we inserted its compositing
- layer back into the tree, but didn't recalculate style. This meant
- that a subsequent compositing tree operation (such as any hardware
- animation) could cause the content to disappear.
</del><ins>+ "The basis of this change is to map explicit width and height
+ attributes to CSS properties, essentially promoting them to
+ presentation attributes. Note that implicit "100%" width and height
+ are not mapped.
+
+ This enables us to remove the concept of "percentage intrinsic size"
+ and rely on normal CSS rules to resolve percentage values.
+
+ The change has been approved by the SVG WG and the spec is being
+ updated. Minutes here:
+
+ http://www.w3.org/2014/04/07-svg-minutes.html#item03"
</ins><span class="cx">
</span><del>- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::setDisplayState): Force a style recalc.
- (WebCore::HTMLPlugInImageElement::removeSnapshotTimerFired): Ditto.
</del><ins>+ The new model was indeed approved by the SVG WG and is basically following
+ the CSS 2.1 model for replaced elements.
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ With this patch WebKit, Firefox and Blink have the same behavior for inline SVG.
+ This is the first successful approach to unify the sizing behavior of SVG
+ across UAs.
</ins><span class="cx">
</span><del>- Merge r152951
</del><ins>+ Tests: svg/as-object/sizing/svg-in-object-placeholder-height-auto.html
+ svg/as-object/sizing/svg-in-object-placeholder-height-fixed.html
+ svg/as-object/sizing/svg-in-object-placeholder-height-percentage.html
+ svg/in-html/sizing/svg-inline.html
</ins><span class="cx">
</span><del>- 2013-07-21 Andreas Kling <akling@apple.com>
</del><ins>+ * css/svg.css: Root SVG elements still need to be sized with height: 100% and
+ width: 100%. This is necessary since width and height are presentation
+ attributes now.
+ (svg:root):
+ * rendering/RenderBox.h:
+ (WebCore::RenderBox::computeIntrinsicRatioInformation): Remove all special
+ behavior for intrinsic and percentage based sizes in SVG. This simplifies and
+ unifies the code a lot. Most of the logic that is used is in RenderBox and
+ RenderReplaced now. RenderSVGRoot was cleaned up a lot and is much lighter.
+ And so it SVGSVGElement.
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight):
+ (WebCore::RenderBoxModelObject::calculateImageIntrinsicDimensions):
+ * rendering/RenderImage.cpp:
+ (WebCore::RenderImage::computeIntrinsicRatioInformation):
+ * rendering/RenderImage.h:
+ * rendering/RenderReplaced.cpp:
+ (WebCore::RenderReplaced::computeAspectRatioInformationForRenderBox):
+ (WebCore::RenderReplaced::computeIntrinsicRatioInformation):
+ (WebCore::RenderReplaced::computeReplacedLogicalWidth):
+ (WebCore::RenderReplaced::computeReplacedLogicalHeight):
+ (WebCore::RenderReplaced::computePreferredLogicalWidths):
+ * rendering/RenderReplaced.h:
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::computeIntrinsicRatioInformation):
+ (WebCore::RenderSVGRoot::computeReplacedLogicalWidth):
+ (WebCore::RenderSVGRoot::computeReplacedLogicalHeight):
+ (WebCore::RenderSVGRoot::hasRelativeDimensions):
+ (WebCore::RenderSVGRoot::hasRelativeIntrinsicLogicalWidth): Deleted.
+ (WebCore::RenderSVGRoot::hasRelativeLogicalHeight): Deleted.
+ * rendering/svg/RenderSVGRoot.h:
+ * svg/SVGElement.h:
+ (WebCore::SVGElement::invalidateSVGPresentationAttributeStyle):
+ * svg/SVGSVGElement.cpp:
+ (WebCore::SVGSVGElement::isPresentationAttribute):
+ (WebCore::SVGSVGElement::collectStyleForPresentationAttribute):
+ (WebCore::SVGSVGElement::svgAttributeChanged):
+ (WebCore::SVGSVGElement::currentViewportSize):
+ (WebCore::SVGSVGElement::hasIntrinsicWidth):
+ (WebCore::SVGSVGElement::hasIntrinsicHeight):
+ (WebCore::SVGSVGElement::intrinsicWidth):
+ (WebCore::SVGSVGElement::intrinsicHeight):
+ (WebCore::SVGSVGElement::widthAttributeEstablishesViewport): Deleted.
+ (WebCore::SVGSVGElement::heightAttributeEstablishesViewport): Deleted.
+ * svg/SVGSVGElement.h:
+ * svg/graphics/SVGImage.cpp:
+ (WebCore::SVGImage::containerSize):
+ * xml/XMLErrors.cpp: If an error occurs in a stand alone SVG file, we create
+ an XHTML document with the error message and append the SVG file.
+ This SVG file now follows the CSS sizing behavior as inline SVG.
+ Therefore, we need to set width and height to 100% explicitly.
+ (WebCore::XMLErrors::insertErrorMessageBlock):
</ins><span class="cx">
</span><del>- KURL creates duplicate strings when completing data: URIs.
- <http://webkit.org/b/118952>
- <rdar://problem/14504480>
</del><ins>+2014-05-05 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ [EFL] REGRESSION(167145): JavaScript media controls are broken
+ https://bugs.webkit.org/show_bug.cgi?id=131573
</ins><span class="cx">
</span><del>- When checking if the original URL input string can be reused, compare against the part
- of the parsing buffer that we would actually return, not the entire buffer.
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- 632 kB progression on <http://www.nytimes.com/>
</del><ins>+ * PlatformEfl.cmake: Add the localized strings file to the list of user agent scripts.
+ * platform/efl/RenderThemeEfl.cpp:
+ (WebCore::RenderThemeEfl::mediaControlsScript): Include the localized strings file in the script body.
</ins><span class="cx">
</span><del>- Test: KURLTest.KURLDataURIStringSharing
</del><ins>+2014-05-05 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- * platform/KURL.cpp:
- (WebCore::KURL::parse):
</del><ins>+ Implement scan backward and forward in video fullscreen.
+ https://bugs.webkit.org/show_bug.cgi?id=132517
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Merge r152941
</del><ins>+ Implement scanning forward and backward. This implements methods in
+ WebAVPlayerController and forwards them through WebVideoFullscreenModelMediaElement
+ and on to HTMLMediaElement.
</ins><span class="cx">
</span><del>- 2013-07-19 Brady Eidson <beidson@apple.com>
</del><ins>+ * WebCore.exp.in: necessary exports.
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVPlayerController seekToTime:]):
+ Use fastSeek in this case.
+ (-[WebAVPlayerController canScanForward]): If you can play, you can scan.
+ (+[WebAVPlayerController keyPathsForValuesAffectingCanScanForward]): ditto
+ (-[WebAVPlayerController beginScanningForward:]): ditto
+ (-[WebAVPlayerController endScanningForward:]): ditto
+ (-[WebAVPlayerController canScanBackward]): If you can play, you can scan.
+ (+[WebAVPlayerController keyPathsForValuesAffectingCanScanBackward]): ditto
+ (-[WebAVPlayerController beginScanningBackward:]): ditto
+ (-[WebAVPlayerController endScanningBackward:]): ditto
+ (-[WebAVPlayerController canSeekToBeginning]):
+ This looks at seekableRanges to determine if any seeking is possible.
+ (+[WebAVPlayerController keyPathsForValuesAffectingCanSeekToBeginning]):
+ depends on seekableRanges.
+ (-[WebAVPlayerController seekToBeginning:]): seek to -ininity
+ (-[WebAVPlayerController canSeekToEnd]):
+ This looks at seekableRanges to determine if any seeking is possible.
+ (+[WebAVPlayerController keyPathsForValuesAffectingCanSeekToEnd]):
+ depends on seekableRanges.
+ (-[WebAVPlayerController seekToEnd:]): seek to INFINITY.
+ * platform/ios/WebVideoFullscreenModel.h:
+ Add 4 new functions.
+ * platform/ios/WebVideoFullscreenModelMediaElement.h:
+ ditto
+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ (WebVideoFullscreenModelMediaElement::fastSeek): forwards to HTMLMediaEelement
+ (WebVideoFullscreenModelMediaElement::beginScanningForward): forwards to HTMLMediaEelement
+ (WebVideoFullscreenModelMediaElement::beginScanningBackward): forwards to HTMLMediaEelement
+ (WebVideoFullscreenModelMediaElement::endScanning): forwards to HTMLMediaEelement
</ins><span class="cx">
</span><del>- Pages should not be able to abuse users inside beforeunload handlers.
- <rdar://problem/14475779> and https://bugs.webkit.org/show_bug.cgi?id=118871.
</del><ins>+2014-05-05 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ [iOS][WK2] Prefetch DNS hostnames on tap highlight
+ https://bugs.webkit.org/show_bug.cgi?id=132509
</ins><span class="cx">
</span><del>- Tests: fast/loader/show-only-one-beforeunload-dialog.html
- http/tests/misc/iframe-beforeunload-dialog-matching-ancestor-securityorigin.html
- http/tests/misc/iframe-beforeunload-dialog-not-matching-ancestor-securityorigin.html
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::FrameLoader):
- (WebCore::FrameLoader::shouldClose):
- (WebCore::FrameLoader::handleBeforeUnloadEvent):
- (WebCore::FrameLoader::shouldCloseFiringBeforeUnloadEvent): Renamed from fireBeforeUnloadEvent.
- Add logic to enforce "1 beforeunload dialog per navigation" as well as "iframes can only show beforeunload
- dialogs if their entire ancestry's security origins match the navigating frame."
- * loader/FrameLoader.h:
- * loader/FrameLoader.h:
</del><ins>+ * WebCore.exp.in:
+ * dom/Element.cpp:
+ * dom/Element.h:
+ (WebCore::Element::absoluteLinkURL()):
</ins><span class="cx">
</span><del>- Add the ability for Page to know when any frame is dispatching beforeunload:
- * page/Page.cpp:
- (WebCore::Page::Page):
- (WebCore::Page::incrementFrameHandlingBeforeUnloadEventCount):
- (WebCore::Page::decrementFrameHandlingBeforeUnloadEventCount):
- (WebCore::Page::isAnyFrameHandlingBeforeUnloadEvent):
- * page/Page.h:
</del><ins>+2014-05-05 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::print): Disallow if any frame is in beforeunload dispatch.
- (WebCore::DOMWindow::alert): Ditto.
- (WebCore::DOMWindow::confirm): Ditto.
- (WebCore::DOMWindow::prompt): Ditto.
- (WebCore::DOMWindow::showModalDialog): Ditto.
</del><ins>+ [iOS WK2] Flickery scrolling inside overflow-scrolling: touch
+ https://bugs.webkit.org/show_bug.cgi?id=132591
+ <rdar://problem/16760466>
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Merge r152939
</del><ins>+ Avoid triggering layer tree commits that touch the layer's boundsOrigin
+ while the user is scrolling in the UI process.
+
+ Fix the WKOverflowScrollViewDelegate to pass along an "inUserInteration"
+ flag to the ScrollingTree to say that we're in the middle of a user interaction
+ (and also to send a final non-interactive update). That gets passed along
+ to the web process, and turned into "SyncScrollingLayerPosition" update.
+ AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll() consults
+ this, and uses it to set a flag on the ScrollableArea to say that the scroll
+ is a user scroll.
+
+ RenderLayerBacking then makes use of this (in existing code, shared with WK1)
+ to avoid triggering layer bounds setting. Instead, it now just calls syncBoundsOrigin(),
+ which updates the GraphicsLayer without touching platform layers. This is necessary
+ so that GraphicsLayer geometry is up-to-date (used for tiled layer visibility
+ computations).
+
+ Finally, a hack in GraphicsLayerCA::computeVisibleRect() is conditionalized
+ for WebKit1 by checking the type of platform layer.
</ins><span class="cx">
</span><del>- 2013-07-19 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll):
+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::scrollPositionChangedViaDelegatedScrolling):
+ * page/scrolling/ScrollingTree.h:
+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::syncBoundsOrigin):
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::computeVisibleRect):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
</ins><span class="cx">
</span><del>- AX: VoiceOver not detecting misspelled words don't work in all cases
- https://bugs.webkit.org/show_bug.cgi?id=118924
</del><ins>+2014-05-05 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ Stop using BlobData on client side
+ https://bugs.webkit.org/show_bug.cgi?id=132582
</ins><span class="cx">
</span><del>- VoiceOver is now looking for a new misspelled attribute.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (AXAttributeStringSetSpelling):
- (AXAttributedStringAppendText):
</del><ins>+ Blob registration now uses either a single file path, or a vector of much simpler
+ BlobPart objects, not an array with arbitrarily sliced blobs or files, which can't happen.
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * Modules/websockets/WebSocket.cpp:(WebCore::WebSocket::didReceiveBinaryData):
+ Use a new simpler Blob constructor.
</ins><span class="cx">
</span><del>- Merge r152939
</del><ins>+ * WebCore.xcodeproj/project.pbxproj: Added BlobPart, removed BlobRegistrationData.
</ins><span class="cx">
</span><del>- 2013-07-19 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ * bindings/js/JSBlobCustom.cpp: (WebCore::JSBlobConstructor::constructJSBlob):
+ Use Vector<BlobPart> instead of BlobData (1 line of code instead of 5).
</ins><span class="cx">
</span><del>- AX: VoiceOver not detecting misspelled words don't work in all cases
- https://bugs.webkit.org/show_bug.cgi?id=118924
</del><ins>+ * dom/DataTransfer.cpp: (WebCore::DataTransfer::hasFileOfType): Updated for
+ File::contentTypeFromFilePathOrName rename.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ * fileapi/Blob.cpp: (WebCore::Blob::Blob):
+ * fileapi/Blob.h:
+ (WebCore::Blob::create):
+ (WebCore::Blob::deserialize):
+ * fileapi/File.cpp:
+ (WebCore::File::File):
+ (WebCore::File::contentTypeFromFilePathOrName):
+ (WebCore::createBlobDataForFileWithType): Deleted.
+ (WebCore::createBlobDataForFile): Deleted.
+ (WebCore::createBlobDataForFileWithName): Deleted.
+ (WebCore::File::contentTypeFromFilePath): Deleted.
+ * fileapi/File.h: (WebCore::File::deserialize): Deleted.
+ Added and updated constructors to not use BlobData. Changed special case constructors
+ to use name tags instead of non-enforced comments.
</ins><span class="cx">
</span><del>- VoiceOver is now looking for a new misspelled attribute.
</del><ins>+ * fileapi/ThreadableBlobRegistry.h:
+ * fileapi/ThreadableBlobRegistry.cpp:
+ (WebCore::BlobRegistryContext::BlobRegistryContext): Updated with new data members
+ that were split out of BlobData.
+ (WebCore::ThreadableBlobRegistry::registerFileBlobURL): Added.
+ (WebCore::ThreadableBlobRegistry::registerBlobURL): Updated to pass Content-Type
+ explicitly, as it's no longer hidden in BlobData.
</ins><span class="cx">
</span><del>- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (AXAttributeStringSetSpelling):
- (AXAttributedStringAppendText):
</del><ins>+ * fileapi/WebKitBlobBuilder.h:
+ * fileapi/WebKitBlobBuilder.cpp:
+ (WebCore::BlobBuilder::append):
+ (WebCore::BlobBuilder::finalize):
+ (WebCore::BlobBuilder::appendBytesData): Deleted.
+ Updated to use BlobPart. There is no longer any need to special case Files,
+ the registry takes care of that.
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/network/BlobData.h:
+ * platform/network/BlobData.cpp:
+ (WebCore::BlobDataItem::detachFromCurrentThread): Deleted.
+ (WebCore::BlobData::detachFromCurrentThread): Deleted.
+ BlobData will only be used on main thread by the registry.
</ins><span class="cx">
</span><del>- Merge r152911
</del><ins>+ * platform/network/BlobPart.h: Added. A new class to encapsulate a list of blobs
+ that are combined into a new blob, as exposed to JS via Blob constructor.
</ins><span class="cx">
</span><del>- 2013-07-19 David Hyatt <hyatt@apple.com>
</del><ins>+ * platform/network/BlobRegistry.h:
+ * platform/network/BlobRegistryImpl.cpp:
+ (WebCore::BlobRegistryImpl::registerFileBlobURL):
+ (WebCore::BlobRegistryImpl::registerBlobURL):
+ * platform/network/BlobRegistryImpl.h:
+ Updated for the new registration methods. We no longer have arbitrary BlobDatas
+ coming in.
</ins><span class="cx">
</span><del>- OSX: ePub: Unable to select text in vertical Japanese book
- https://bugs.webkit.org/show_bug.cgi?id=118864
- <rdar://problem/14109351>
</del><ins>+ * platform/network/FormData.cpp: Don't include BlobData for now (but really,
+ BlobStorageData is the same thing, and they will be merged soon).
+ Unfortunately, FormData is used by both client and registry side, and there is
+ no clear delimitation at the time.
+
+ * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::responseBlob): Use the new simpler
+ way to create a Blob.
</ins><span class="cx">
</span><del>- Reviewed by Dan Bernstein and Sam Weinig.
</del><ins>+2014-05-05 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- This patch fixes all of the various writing-mode and pagination combinations
- so that the columns are painted in the correct location. The code that sets up
- the initial painting translation offset in the block direction and that advances
- that offset has been pulled into two helper functions, initialBlockOffsetForPainting
- and blockDeltaForPaintingNextColumn, and that code is now shared by the four call
- sites that need it (painting and hit testing in RenderBlock and painting and hit testing
- in RenderLayer).
</del><ins>+ Clean up Image Document and tweak the layout and viewport
+ https://bugs.webkit.org/show_bug.cgi?id=132552
</ins><span class="cx">
</span><del>- This patch also backs out the maximumScrollPosition change, since it only occurred because
- of incorrect sizing of the RenderView, and this sizing issue has now been corrected by
- ensuring that computeLogicalHeight() always makes sure you are the size of the viewport
- and does not shrink you to the column height.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- There was also a race condition that caused pagination to be incorrect if layout occurred
- before the html/body renderer that set the writing-mode were available. When this happened,
- the writing mode got propagated up to the view, but the column styles didn't get
- adjusted to compensate for the writing mode change.
</del><ins>+ The #ifdef in every function was making quite a mess. A lot of that code does
+ not make sense on iOS.
</ins><span class="cx">
</span><del>- Added tests for every pagination and writing-mode combination in fast/multicol/pagination.
</del><ins>+ This patch make a clean split between mouse related stuff and iOS.
</ins><span class="cx">
</span><del>- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::styleForDocument):
- (WebCore::StyleResolver::adjustRenderStyle):
- Move setStylesForPaginationMode into RenderStyle and make it a member function. This is
- necessary so that the style can be adjusted dynamically to fix the race condition mentioned
- above.
</del><ins>+ Also:
+ -Change the viewport to be only width based, and avoid scaling in portrait.
+ -Center the image horizontally in the view.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::maximumScrollPosition):
- Back out this change since the symptom it was fixing only occurred because the logical
- height of the view was being set incorrectly.
</del><ins>+ * html/ImageDocument.cpp:
+ (WebCore::ImageDocument::ImageDocument):
+ (WebCore::ImageDocument::createDocumentStructure):
+ (WebCore::ImageDocument::imageUpdated):
+ (WebCore::ImageDocument::scale):
+ (WebCore::ImageDocument::resizeImageToFit):
+ (WebCore::ImageDocument::imageFitsInWindow):
+ (WebCore::ImageDocument::windowSizeChanged):
+ (WebCore::ImageDocument::imageClicked):
+ * html/ImageDocument.h:
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::checkForPaginationLogicalHeightChange):
- Patch the column code that sets up the initial page height to use the pagination API's
- page height rather than the viewport logical height. This allows the view to still match
- the viewport in dimensions rather than being incorrectly sized to the column height.
</del><ins>+2014-05-05 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::RenderBlock::initialBlockOffsetForPainting):
- (WebCore::RenderBlock::blockDeltaForPaintingNextColumn):
- Two new helper functions used to set up the block direction paint/hit testing translation.
- The major bug fix that occurred in this code is that the old block axis code didn't handle
- reversal correctly and it also used physical coordinates to try to determine the translation
- offset, when you really need to use logical coordinates in the original writing mode coordinate
- system to determine the offset.
</del><ins>+ Need a delegate that informs the UI process when the page's pin state changes
+ https://bugs.webkit.org/show_bug.cgi?id=132583
+ -and corresponding-
+ <rdar://problem/16806231>
</ins><span class="cx">
</span><del>- (WebCore::RenderBlock::paintColumnContents):
- Patched to call the new helper functions.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- (WebCore::ColumnRectIterator::ColumnRectIterator):
- (WebCore::ColumnRectIterator::adjust):
- (WebCore::ColumnRectIterator::update):
- Patched to call the new helper functions.
</del><ins>+ We should default all of these pin-state value to true.
+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::ScrollingTree):
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.h:
- Add the two new helper functions to the RenderBlock header.
</del><ins>+2014-05-05 Christophe Dumez <ch.dumez@samsung.com>
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::styleDidChange):
- If the writing mode of the html/body propagates to the viewport and changes its writing mode,
- also change our column styles to match if we're in paginated mode.
</del><ins>+ Named element cache can become invalid during HTMLCollection::updateNamedElementCache()
+ https://bugs.webkit.org/show_bug.cgi?id=132575
</ins><span class="cx">
</span><del>- (WebCore::RenderBox::computeLogicalHeight):
- (WebCore::RenderBox::computePercentageLogicalHeight):
- Call the new pageOrViewLogicalHeight function on RenderView instead of
- RenderBox::viewLogicalHeightForPercentages (which is now removed).
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::paintChildLayerIntoColumns):
- (WebCore::RenderLayer::hitTestChildLayerColumns):
- Patched to use the two new helper functions for block direction paint offset setup and
- advancement.
</del><ins>+ Make sure the named element cache object stays valid in
+ HTMLCollection::updateNamedElementCache() while it is populating it.
</ins><span class="cx">
</span><del>- * rendering/RenderView.cpp:
- (WebCore::RenderView::pageOrViewLogicalHeight):
- New helper function that does what viewLogicalHeightForPercentages used to do but also
- handles returning the page length for block axis column progression. Again, this is to
- allow the view to retain its correct size (matching the viewport).
</del><ins>+ The method was previously creating and setting the cache first, and then start
+ traversing the DOM tree to populate it. As a consequence, hasNamedElementCache()
+ would start returning true before the cache is actually populated.
+ The issue is that finding matches in the DOM tree can cause
+ HTMLCollection::invalidateCache() to be called under certain circumstances and
+ thus the named element cache object can become invalid while
+ updateNamedElementCache() is populating it.
</ins><span class="cx">
</span><del>- (WebCore::RenderView::viewLogicalHeight):
- Back out the code that made the view grow or shrink to the size of the Pagination API page
- length when the progression was block axis. This was the source of most of the scroll origin
- and scrolling issues.
</del><ins>+ To avoid the issue, this patch updates updateNamedElementCache() so that the
+ named element cache map is set *after* traversing the DOM tree. This way,
+ hasNamedElementCache() returns false while the cache is being populated and
+ there is no chance of it being invalidated too early.
</ins><span class="cx">
</span><del>- * rendering/RenderView.h:
- Add the new pageOrViewLogicalHeight() function.
</del><ins>+ Test: fast/dom/htmlcollection-selectedOptions-namedItem-crash.html
</ins><span class="cx">
</span><del>- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::setColumnStylesFromPaginationMode):
- This is the old StyleResolver function for setting up the column styles. It's in RenderStyle
- now so that it can be called at any time to change a style rather than only at style resolution
- time.
</del><ins>+ * html/HTMLCollection.cpp:
+ (WebCore::HTMLCollection::updateNamedElementCache):
+ * html/HTMLCollection.h:
+ (WebCore::HTMLCollection::setNameItemCache):
+ (WebCore::HTMLCollection::createNameItemCache): Deleted.
+ * html/HTMLFormControlsCollection.cpp:
+ (WebCore::HTMLFormControlsCollection::updateNamedElementCache):
</ins><span class="cx">
</span><del>- * rendering/style/RenderStyle.h:
- Declaration of the setColumnStylesFromPaginationMode function.
</del><ins>+2014-05-05 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [iOS][WK2] Special case ViewGestureGeometryCollector::collectGeometryForSmartMagnificationGesture() for image documents
+ https://bugs.webkit.org/show_bug.cgi?id=132553
</ins><span class="cx">
</span><del>- Merge r152907
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- 2013-07-19 Radu Stavila <stavila@adobe.com>
</del><ins>+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * html/ImageDocument.cpp:
+ (WebCore::ImageDocument::imageElement):
+ * html/ImageDocument.h:
</ins><span class="cx">
</span><del>- Hover doesn't work for block elements inside a href element
- https://bugs.webkit.org/show_bug.cgi?id=118907
</del><ins>+2014-05-05 Ion Rosca <rosca@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ [CSS Blending] Webkit-blend-mode fails for accelerated parent with overflow:hidden
+ https://bugs.webkit.org/show_bug.cgi?id=126160
</ins><span class="cx">
</span><del>- Added test for hovering block elements inside a href element.
</del><ins>+ When the isolating layer has overflow:hidden, it will create a descendant clipping layer
+ (m_childContainmentLayer), which will restrict the bleding layer to reading the backdrop
+ from the isolating layer.
+ The solution in this patch is to forbid the isolating layer to create a descendant clipping
+ layer and make all the children to get their own ancestor clipping layers instead.
</ins><span class="cx">
</span><del>- Test: fast/css/hover-display-block.html
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::hoverAncestor):
</del><ins>+ Tests: css3/compositing/blend-mode-accelerated-parent-overflow-hidden.html
+ css3/compositing/blend-mode-clip-accelerated-blending-canvas.html
+ css3/compositing/blend-mode-clip-accelerated-blending-child.html
+ css3/compositing/blend-mode-clip-accelerated-blending-double.html
+ css3/compositing/blend-mode-clip-accelerated-blending-with-siblings.html
+ css3/compositing/blend-mode-clip-accelerated-transformed-blending.html
+ css3/compositing/blend-mode-clip-rect-accelerated-blending.html
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ when the compositing ancestor isolates blending we take it into account for computing
+ the clipping rect for this layer, because it was not allowed to create the descendant
+ clipping layer.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::clippedByAncestor):
+ when the compositing ancestor isolates blending we decide if a layer is clipped by ancestor
+ by computing the clipping rect taking into account all the ancestors up to and including
+ the compositing ancestor.
+ (WebCore::RenderLayerCompositor::clipsCompositingDescendants):
+ if a layer isolates blending, it is not allowed to create a descendant clipping layer.
</ins><span class="cx">
</span><del>- Merge r152858
</del><ins>+2014-05-05 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- 2013-07-18 Antoine Quint <graouts@apple.com>
</del><ins>+ AX: tabindex support in SVG2
+ https://bugs.webkit.org/show_bug.cgi?id=130212
</ins><span class="cx">
</span><del>- Crash in WebCore::createMarkup()
- https://bugs.webkit.org/show_bug.cgi?id=118847
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ The patch is mainly based on a patch for Blink by Erik Dahlström.
+ https://src.chromium.org/viewvc/blink?revision=172964&view=revision
</ins><span class="cx">
</span><del>- Also check that we have a containingBlock() for the renderer() so that we
- may safely call node() on it.
</del><ins>+ It adds support for tabindex to SVG by reusing the HTML code.
</ins><span class="cx">
</span><del>- * editing/markup.cpp:
- (WebCore::highestAncestorToWrapMarkup):
</del><ins>+ Spec: https://svgwg.org/svg2-draft/interact.html#sequential-focus-navigation-and-the-tabindex-attribute
+ IDL attribute: https://svgwg.org/svg2-draft/types.html#__svg__SVGElement__tabIndex
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Test: svg/custom/tabindex-order.html
</ins><span class="cx">
</span><del>- Merge r152839
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::setTabIndex): Moved from HTMLElement and shared with all elements.
+ * dom/Element.h:
+ * html/HTMLAnchorElement.cpp: Remove outdated comment.
+ (WebCore::HTMLAnchorElement::canStartSelection):
+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::setTabIndex): Deleted.
+ * html/HTMLElement.h:
+ * svg/SVGAElement.cpp: Uses the same logic as HTMLAnchorElement now.
+ (WebCore::SVGAElement::tabIndex):
+ (WebCore::SVGAElement::supportsFocus):
+ (WebCore::SVGAElement::isMouseFocusable):
+ (WebCore::SVGAElement::isKeyboardFocusable):
+ (WebCore::SVGAElement::canStartSelection):
+ * svg/SVGAElement.h:
+ * svg/SVGCircleElement.h:
+ * svg/SVGClipPathElement.h:
+ * svg/SVGDefsElement.h:
+ * svg/SVGElement.cpp:
+ (WebCore::SVGElement::tabIndex): Return -1 if element can not be focused.
+ (WebCore::SVGElement::parseAttribute):
+ (WebCore::SVGElement::isMouseFocusable):
+ (WebCore::SVGElement::isKeyboardFocusable): Deleted. Use function on Element.
+ * svg/SVGElement.h:
+ * svg/SVGElement.idl:
+ * svg/SVGEllipseElement.h:
+ * svg/SVGGElement.h:
+ * svg/SVGGraphicsElement.h: Remove supportsFocus() from inheriting functions.
+ Don't just return true. SVG elements should not be focusable by default.
+ Instead check if tabindex was set explicitly.
+ * svg/SVGImageElement.h:
+ * svg/SVGLineElement.h:
+ * svg/SVGPathElement.h:
+ * svg/SVGPolyElement.h:
+ * svg/SVGRectElement.h:
+ * svg/SVGSVGElement.h:
+ * svg/SVGSwitchElement.h:
+ * svg/SVGSymbolElement.h:
+ * svg/SVGTextElement.h:
</ins><span class="cx">
</span><del>- 2013-07-18 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-05-05 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- willWriteSelectionToPasteboard and willPerformDragSourceAction editing callbacks are not called for drag and drop
- https://bugs.webkit.org/show_bug.cgi?id=118828
</del><ins>+ Implement beginScrubbing and endScrubbing for video fullscreen.
+ https://bugs.webkit.org/show_bug.cgi?id=132520
</ins><span class="cx">
</span><del>- Reviewed by Gavin Barraclough.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Call these two callbacks when we start a drag and drop.
</del><ins>+ Plumb through beginScrubbing and endScrubbing from AVKit down to HTMLMediaElement.
+ This keeps the playback state consistent while scrubbing and allows playback state
+ to return to the original state when scrubbing is complete.
</ins><span class="cx">
</span><del>- No new tests for now but we should start logging these callbacks in DRT and WTR's EditorClients.
</del><ins>+ * WebCore.exp.in:
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVPlayerController beginScrubbing:]):
+ (-[WebAVPlayerController endScrubbing:]):
+ * platform/ios/WebVideoFullscreenModel.h:
+ * platform/ios/WebVideoFullscreenModelMediaElement.h:
+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ (WebVideoFullscreenModelMediaElement::beginScrubbing):
+ (WebVideoFullscreenModelMediaElement::endScrubbing):
</ins><span class="cx">
</span><del>- * page/DragController.cpp:
- (WebCore::DragController::startDrag):
</del><ins>+2014-05-05 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ More long hangs under IOSurfacePool::evict
+ https://bugs.webkit.org/show_bug.cgi?id=132576
+ <rdar://problem/16769469>
</ins><span class="cx">
</span><del>- Merge r152824
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- 2013-07-17 Tim Horton <timothy_horton@apple.com>
</del><ins>+ * platform/graphics/cg/IOSurfacePool.cpp:
+ (WebCore::IOSurfacePool::evict):
+ If the pool is too full, we should be evicting in-use surfaces
+ even if the size of the in-use surfaces has dropped below maximumInUseBytes,
+ otherwise we can get stuck in an infinite loop with 0 cached surfaces
+ and 1+ in-use surfaces.
</ins><span class="cx">
</span><del>- Update blocked/missing plug-in UI
- https://bugs.webkit.org/show_bug.cgi?id=118347
- <rdar://problem/14209318>
</del><ins>+2014-05-05 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ [CSS Regions] Remove regionLayoutUpdate event
+ https://bugs.webkit.org/show_bug.cgi?id=132564
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- Export RenderEmbeddedObject::setPluginUnavailabilityReasonWithDescription.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::replacementTextRoundedRectPressedColor):
- (WebCore::replacementTextRoundedRectColor):
- (WebCore::replacementTextColor):
- Change colors to new design and add some more constants.
</del><ins>+ The regionLayoutUpdate event was removed from the regions spec and was replaced by two other events:
+ regionOversetChange and regionFragmentChange.
</ins><span class="cx">
</span><del>- (WebCore::shouldUnavailablePluginMessageBeButton): Added.
</del><ins>+ No new tests needed, this patch removes a feature.
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReasonWithDescription): Added.
- (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReason):
- Call through to the -WithDescription variant.
</del><ins>+ * dom/EventNames.h:
+ * dom/WebKitNamedFlow.cpp:
+ (WebCore::WebKitNamedFlow::dispatchRegionLayoutUpdateEvent): Deleted.
+ * dom/WebKitNamedFlow.h:
+ * inspector/InspectorCSSAgent.cpp:
+ (WebCore::InspectorCSSAgent::resetNonPersistentData):
+ (WebCore::InspectorCSSAgent::willRemoveNamedFlow):
+ (WebCore::UpdateRegionLayoutTask::UpdateRegionLayoutTask): Deleted.
+ (WebCore::UpdateRegionLayoutTask::scheduleFor): Deleted.
+ (WebCore::UpdateRegionLayoutTask::unschedule): Deleted.
+ (WebCore::UpdateRegionLayoutTask::reset): Deleted.
+ (WebCore::UpdateRegionLayoutTask::timerFired): Deleted.
+ (WebCore::InspectorCSSAgent::didUpdateRegionLayout): Deleted.
+ (WebCore::InspectorCSSAgent::regionLayoutUpdated): Deleted.
+ * inspector/InspectorCSSAgent.h:
+ * inspector/InspectorInstrumentation.cpp:
+ (WebCore::InspectorInstrumentation::didUpdateRegionLayoutImpl): Deleted.
+ * inspector/InspectorInstrumentation.h:
+ (WebCore::InspectorInstrumentation::didUpdateRegionLayout): Deleted.
+ * inspector/protocol/CSS.json:
+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::updateOversetState):
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::RenderNamedFlowThread):
+ (WebCore::RenderNamedFlowThread::removeRegionFromThread):
+ (WebCore::RenderNamedFlowThread::layout):
+ (WebCore::RenderNamedFlowThread::dispatchRegionLayoutUpdateEventIfNeeded): Deleted.
+ (WebCore::RenderNamedFlowThread::regionLayoutUpdateEventTimerFired): Deleted.
+ * rendering/RenderNamedFlowThread.h:
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::paintReplaced):
- Fill the background, and otherwise match the new design.
</del><ins>+2014-05-05 Rik Cabanier <cabanier@adobe.com>
</ins><span class="cx">
</span><del>- (WebCore::addReplacementArrowPath):
- Add an arrow to the given path, inside the given rect.
</del><ins>+ Enhance IDL compiler so it supports unrestricted float and double
+ https://bugs.webkit.org/show_bug.cgi?id=132460
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::getReplacementTextGeometry):
- Add a 1px padding to the bottom of the text.
- Add a circle and an arrow into the indicator as per the new design.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::isInUnavailablePluginIndicator):
- Hit-test the indicator arrow as well; otherwise, the fact that the arrow
- is a hole in the path means it won't be hit.
</del><ins>+ Updated IDL compiler so it supports unrestricted types.
+ Also updated the IDL files so they use unrestricted float and
+ double.
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.h:
</del><ins>+ Tests:
+ * canvas/philip/tests/2d.gradient.linear.nonfinite.html:
+ * canvas/philip/tests/2d.gradient.object.invalidoffset.html:
+ * canvas/philip/tests/2d.gradient.radial.nonfinite.html:
+ * canvas/philip/tests/2d.imageData.get.nonfinite.html:
+ * canvas/philip/tests/2d.imageData.put.nonfinite.html:
+ * canvas/philip/tests/2d.missingargs.html:
+ * fast/canvas/canvas-getImageData-invalid-expected.txt:
+ * fast/canvas/canvas-putImageData-expected.txt:
+ * fast/canvas/canvas-putImageData.js:
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * Modules/battery/BatteryManager.idl:
+ * Modules/gamepad/Gamepad.idl:
+ * Modules/geolocation/Coordinates.idl:
+ * Modules/mediasource/MediaSource.idl:
+ * Modules/mediasource/SourceBuffer.idl:
+ * Modules/mediasource/VideoPlaybackQuality.idl:
+ * Modules/mediastream/MediaSourceStates.idl:
+ * Modules/proximity/DeviceProximityEvent.idl:
+ * Modules/speech/SpeechGrammar.idl:
+ * Modules/speech/SpeechGrammarList.idl:
+ * Modules/speech/SpeechRecognitionAlternative.idl:
+ * Modules/speech/SpeechSynthesisEvent.idl:
+ * Modules/speech/SpeechSynthesisUtterance.idl:
+ * Modules/webaudio/AnalyserNode.idl:
+ * Modules/webaudio/AudioBuffer.idl:
+ * Modules/webaudio/AudioBufferSourceNode.idl:
+ * Modules/webaudio/AudioContext.idl:
+ * Modules/webaudio/AudioListener.idl:
+ * Modules/webaudio/AudioParam.idl:
+ * Modules/webaudio/AudioProcessingEvent.idl:
+ * Modules/webaudio/OfflineAudioContext.idl:
+ * Modules/webaudio/OscillatorNode.idl:
+ * Modules/webaudio/PannerNode.idl:
+ * bindings/scripts/CodeGenerator.pm:
+ * bindings/scripts/CodeGeneratorGObject.pm:
+ (GetGValueTypeName):
+ (GetGlibTypeName):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ (GenerateParametersCheck):
+ (JSValueToNative):
+ * bindings/scripts/CodeGeneratorObjC.pm:
+ (GetObjCType):
+ (GenerateHeader):
+ * bindings/scripts/test/TestObj.idl:
+ * bindings/scripts/test/TestTypedefs.idl:
+ * css/CSSPrimitiveValue.idl:
+ * css/WebKitCSSMatrix.idl:
+ * dom/ClientRect.idl:
+ * dom/DeviceMotionEvent.idl:
+ * dom/DeviceOrientationEvent.idl:
+ * dom/Document.idl:
+ * dom/RequestAnimationFrameCallback.idl:
+ * dom/Touch.idl:
+ * dom/TransitionEvent.idl:
+ * dom/WebKitAnimationEvent.idl:
+ * dom/WebKitTransitionEvent.idl:
+ * dom/WheelEvent.idl:
+ * html/HTMLInputElement.idl:
+ * html/HTMLMediaElement.idl:
+ * html/HTMLMeterElement.idl:
+ * html/HTMLProgressElement.idl:
+ * html/MediaController.idl:
+ * html/TextMetrics.idl:
+ * html/TimeRanges.idl:
+ * html/canvas/CanvasRenderingContext2D.idl:
+ * html/canvas/WebGLRenderingContext.idl:
+ * html/track/DataCue.idl:
+ * html/track/TextTrackCue.idl:
+ * html/track/VTTCue.idl:
+ * html/track/VTTRegion.idl:
+ * inspector/InspectorFrontendHost.idl:
+ * inspector/ScriptProfile.idl:
+ * inspector/ScriptProfileNode.idl:
+ * page/DOMWindow.idl:
+ * page/Performance.idl:
+ * page/PerformanceEntry.idl:
+ * page/PerformanceResourceTiming.idl:
+ * page/SpeechInputResult.idl:
+ * page/WebKitPoint.idl:
+ * svg/SVGAngle.idl:
+ * svg/SVGAnimatedNumber.idl:
+ * svg/SVGAnimationElement.idl:
+ * svg/SVGFEDropShadowElement.idl:
+ * svg/SVGFEGaussianBlurElement.idl:
+ * svg/SVGFEMorphologyElement.idl:
+ * svg/SVGGlyphRefElement.idl:
+ * svg/SVGLength.idl:
+ * svg/SVGMatrix.idl:
+ * svg/SVGNumber.idl:
+ * svg/SVGPathElement.idl:
+ * svg/SVGPathSegArcAbs.idl:
+ * svg/SVGPathSegArcRel.idl:
+ * svg/SVGPathSegCurvetoCubicAbs.idl:
+ * svg/SVGPathSegCurvetoCubicRel.idl:
+ * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
+ * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
+ * svg/SVGPathSegCurvetoQuadraticAbs.idl:
+ * svg/SVGPathSegCurvetoQuadraticRel.idl:
+ * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
+ * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
+ * svg/SVGPathSegLinetoAbs.idl:
+ * svg/SVGPathSegLinetoHorizontalAbs.idl:
+ * svg/SVGPathSegLinetoHorizontalRel.idl:
+ * svg/SVGPathSegLinetoRel.idl:
+ * svg/SVGPathSegLinetoVerticalAbs.idl:
+ * svg/SVGPathSegLinetoVerticalRel.idl:
+ * svg/SVGPathSegMovetoAbs.idl:
+ * svg/SVGPathSegMovetoRel.idl:
+ * svg/SVGPoint.idl:
+ * svg/SVGRect.idl:
+ * svg/SVGSVGElement.idl:
+ * svg/SVGTextContentElement.idl:
+ * svg/SVGTransform.idl:
+ * svg/SVGZoomEvent.idl:
+ * testing/InternalSettings.idl:
+ * testing/Internals.idl:
+ * xml/XPathResult.idl:
</ins><span class="cx">
</span><del>- Rollout r152701
</del><ins>+2014-05-05 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Use a layer delegate instead of web_disableAllActions wherever possible
+ https://bugs.webkit.org/show_bug.cgi?id=132560
+ <rdar://problem/16459284>
</ins><span class="cx">
</span><del>- Merge r152793
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- 2013-07-17 Zalan Bujtas <zalan@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/graphics/ca/mac/PlatformCALayerMac.mm:
+ (PlatformCALayerMac::commonInit):
+ If we own the platform layer, set its delegate to the action-disabling WebActionDisablingCALayerDelegate.
+ If we don't, its actual owner might want to control the delegate, so continue using web_disableAllActions.
</ins><span class="cx">
</span><del>- Wrong linebox height, when block element parent has vertical-align property defined.
- https://bugs.webkit.org/show_bug.cgi?id=118245
</del><ins>+ * platform/graphics/cocoa/WebActionDisablingCALayerDelegate.h: Added.
+ * platform/graphics/cocoa/WebActionDisablingCALayerDelegate.mm: Added.
+ (+[WebActionDisablingCALayerDelegate shared]):
+ (-[WebActionDisablingCALayerDelegate actionForLayer:forKey:]):
+ Add a class that can act as the delegate of a CALayer, and disables all actions.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * platform/graphics/cocoa/WebCoreCALayerExtras.h: Renamed from Source/WebCore/platform/graphics/mac/WebCoreCALayerExtras.h.
+ * platform/graphics/cocoa/WebCoreCALayerExtras.mm: Renamed from Source/WebCore/platform/graphics/mac/WebCoreCALayerExtras.mm.
+ (-[CALayer web_disableAllActions]):
+ Move WebCoreCALayerExtras from mac/ to cocoa/.
</ins><span class="cx">
</span><del>- Do not push the current element to the next, when it is still considered empty, even with
- some object(s) in front. Behave as if it was actually empty.
- Inline elements like <span></span> generate such lines.
</del><ins>+2014-05-05 Martin Hock <mhock@apple.com>
</ins><span class="cx">
</span><del>- Test: fast/css/empty-span-with-parent-div-and-vertical-align.html
</del><ins>+ Session-aware plugin autostart data
+ https://bugs.webkit.org/show_bug.cgi?id=131758
+ <rdar://problem/15906540>
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * html/HTMLPlugInImageElement.cpp:
+ (WebCore::HTMLPlugInImageElement::userDidClickSnapshot):
+ * page/PlugInClient.h:
</ins><span class="cx">
</span><del>- Merge r152788
</del><ins>+2014-05-05 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- 2013-07-17 Andreas Kling <akling@apple.com>
</del><ins>+ [CSS Regions] Elements with overflow:auto are not painted inside regions when following a float
+ https://bugs.webkit.org/show_bug.cgi?id=131161
</ins><span class="cx">
</span><del>- CSS selector list splitting should be by component, not by selector.
- <http://webkit.org/b/118761>
- <rdar://problem/14421609>
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ When a float-avoiding element (such as overflow:auto) is flowed into a flow thread after a float, its
+ logical left is not set on its frameRect or its layer's topLeft, but is instead kept in its RenderBoxRegionInfo
+ structure. In some situation, this causes paint rejection to kick-in because intersecting the layer's rect
+ (which DOESN'T contain the logical left from the region info object) with the computed background rect
+ (which contains the logical left from the region info object) results in an empty rect.
</ins><span class="cx">
</span><del>- Test (amended): fast/css/rule-selector-overflow.html
</del><ins>+ Test: fast/regions/overflow-auto-after-float.html
</ins><span class="cx">
</span><del>- * css/CSSSelectorList.h:
- * css/CSSSelectorList.cpp:
- (WebCore::CSSSelectorList::CSSSelectorList):
- (WebCore::CSSSelectorList::componentCount):
- * css/CSSStyleRule.cpp:
- (WebCore::CSSStyleRule::setSelectorText):
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::calculateClipRects):
</ins><span class="cx">
</span><del>- Renamed CSSSelectorList::length() to componentCount() and made it public.
</del><ins>+2014-05-05 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- * css/RuleSet.h:
</del><ins>+ [CSSRegions] Slider displayed wrong in regions
+ https://bugs.webkit.org/show_bug.cgi?id=132243
</ins><span class="cx">
</span><del>- maximumSelectorCount => maximumSelectorComponentCount
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>- * css/StyleRule.cpp:
- (WebCore::StyleRule::splitIntoMultipleRulesWithMaximumSelectorComponentCount):
</del><ins>+ In case a box didn't have a range, getRegionRangeForBox was searching for
+ the top-most unplittable ancestor. This is not correct in every case. It's
+ possible to have a box with range that has children without ranges (e.g. an
+ absolutely positioned inline box with shadow descendants).
</ins><span class="cx">
</span><del>- Make the splits after accumulating 'maximumSelectorComponentCount' components.
</del><ins>+ I've modified getRegionRangeForBox to search for the first ancestor that
+ has a cached range and use that instead of looking for an unsplittable box.
+ The range of the box is the region at the top of the box, clamped by the
+ range of the ancestor. This will be correct all the time once all the layout
+ systems are region range aware and are able to cache it.
</ins><span class="cx">
</span><del>- * css/StyleRule.h:
- * css/StyleSheetContents.cpp:
- (WebCore::StyleSheetContents::parserAppendRule):
</del><ins>+ Test: fast/regions/positioned-slider-in-regions.html
</ins><span class="cx">
</span><del>- splitIntoMultipleRulesWithMaximumSelectorCount => splitIntoMultipleRulesWithMaximumSelectorComponentCount
</del><ins>+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::hasRegionRangeForBox):
+ (WebCore::RenderFlowThread::getRegionRangeForBox):
+ * rendering/RenderFlowThread.h:
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-05 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- Merge r152783
</del><ins>+ [CSS Regions] ASSERT when hovering over region
+ https://bugs.webkit.org/show_bug.cgi?id=128809
</ins><span class="cx">
</span><del>- 2013-07-17 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>- Regression: columnheader/rowheader roles not exposed correctly
- https://bugs.webkit.org/show_bug.cgi?id=113628
</del><ins>+ There's no point in hit-testing a box for a region if it's not contained inside
+ that region.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ Test: fast/regions/hit-test-box-non-containing-region.html
</ins><span class="cx">
</span><del>- When we determine the row and column headers we look at the ARIA role being returned, but
- since TableCell overrides the determineAccessibilityRole method, the ARIA role is never set.
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::nodeAtPoint):
</ins><span class="cx">
</span><del>- Test: platform/mac/accessibility/aria-columnrowheaders.html
</del><ins>+2014-05-04 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityTableCell.cpp:
- (WebCore::AccessibilityTableCell::determineAccessibilityRole):
</del><ins>+ Optimize JSRopeString for resolving directly to AtomicString.
+ <https://webkit.org/b/132548>
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Add two bindings generator attributes for parameters to influence
+ the way that JS rope strings are resolved:
</ins><span class="cx">
</span><del>- Merge r152743
</del><ins>+ - AtomicString
</ins><span class="cx">
</span><del>- 2013-07-16 Andreas Kling <akling@apple.com>
</del><ins>+ Generates code that avoids allocating a new StringImpl if there
+ is already an existing AtomicString we can reuse.
</ins><span class="cx">
</span><del>- Atomicize HTMLAnchorElement.hash before passing it to JS.
- <http://webkit.org/b/118748>
- <rdar://problem/14459780>
</del><ins>+ - RequiresExistingAtomicString
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Generates code that fails immediately if the provided string
+ is not found in the AtomicString table. This is now used for
+ document.getElementById(), and works because any existing ID
+ is guaranteed to be in the table.
</ins><span class="cx">
</span><del>- Instead of generating a unique string from '#' + the URL hash every time HTMLAnchorElement.hash
- is queried, turn it into an AtomicString. This prevents massive memory usage in scripts that
- fetch .hash a lot.
</del><ins>+ Reviewed by Filip Pizlo.
</ins><span class="cx">
</span><del>- Reduces memory consumption by 4.65 MB when viewing the full HTML5 spec at <http://whatwg.org/c>
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateParametersCheck):
+ (JSValueToNative):
+ * bindings/scripts/IDLAttributes.txt:
+ * dom/Document.idl:
</ins><span class="cx">
</span><del>- * html/HTMLAnchorElement.cpp:
- (WebCore::HTMLAnchorElement::hash):
</del><ins>+2014-05-04 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-07-22 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [iOS WK2] Compositing layers in iframes are misplaced
+ https://bugs.webkit.org/show_bug.cgi?id=132554
+ <rdar://problem/16203027>
</ins><span class="cx">
</span><del>- Merge r152721
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- 2013-07-16 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Have requiresScrollLayer() only consider frameView.delegatesScrolling()
+ for the main frame, so that iframes get scroll layers (even though they
+ will never scroll), so that the rest of geometry code works as on other
+ platforms.
</ins><span class="cx">
</span><del>- HTMLMediaElement should not add cues for disabled text tracks
- https://bugs.webkit.org/show_bug.cgi?id=118682
</del><ins>+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::requiresScrollLayer):
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-05-04 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- Merge https://src.chromium.org/viewvc/blink?view=rev&revision=153810
</del><ins>+ Use std::unique_ptr in m_taskTimer of Notification class
+ https://bugs.webkit.org/show_bug.cgi?id=132544
</ins><span class="cx">
</span><del>- Tests: media/track/track-disabled-addcue.html
- media/track/track-disabled.html
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::textTrackAddCues): Do nothing if the track is disabled.
- (WebCore::HTMLMediaElement::textTrackAddCue): Ditto.
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><del>-2013-07-16 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * Modules/notifications/Notification.cpp:
+ (WebCore::Notification::Notification):
+ * Modules/notifications/Notification.h: Use std::unique_ptr instead of OwnPtr.
</ins><span class="cx">
</span><del>- Merge r152701
</del><ins>+2014-05-04 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- 2013-07-15 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Long hangs under IOSurfacePool::evict
+ https://bugs.webkit.org/show_bug.cgi?id=132549
+ <rdar://problem/16769469>
</ins><span class="cx">
</span><del>- Update blocked/missing plug-in UI
- https://bugs.webkit.org/show_bug.cgi?id=118347
- <rdar://problem/14209318>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
- Patch by Anders Carlsson, Antoine Quint, Sam Weinig, and myself.
</del><ins>+ * platform/graphics/cg/IOSurfacePool.cpp:
+ (WebCore::IOSurfacePool::willAddSurface):
+ Run eviction before adding the new surface to m_bytesCached/m_inUseBytesCached.
+ We use the additionalSize parameter to make space for the new surface.
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.am:
- * WebCore.exp.in:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * css/CSSDefaultStyleSheets.cpp:
- * css/unavailablePlugIns.css: Added.
- Add new Source/WebCore/css/unavailablePlugIns.css stylesheet.
</del><ins>+ (WebCore::IOSurfacePool::evict):
+ If we want to free up the entire pool, we can do so by throwing away everything.
+ This also avoids an underflow if additionalSize is larger than the maximum pool size.
</ins><span class="cx">
</span><del>- * dom/EventListener.h:
- New event listener type to support the creation of an event listener
- for the label and icon for missing / blocked plug-in UI.
</del><ins>+2014-05-04 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>- * html/HTMLPlugInElement.cpp:
- (WebCore::HTMLPlugInElement::defaultEventHandler):
- Remove explicit event handling since we're now using a DOM event handler
- on the label and icon in the shadow root.
</del><ins>+ Shortcircuit shouldUseCredentialStorage callback
+ https://bugs.webkit.org/show_bug.cgi?id=132308
+ <rdar://problem/16806708>
</ins><span class="cx">
</span><del>- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot):
- Don't populate the shadow root with plugin snapshotting elements
- if we're not planning on showing a snapshot, because this means that
- the shadow root was created for the unavailable plugin indicator instead.
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- * page/ChromeClient.h:
- (WebCore::ChromeClient::shouldUnavailablePluginMessageIncludeButton):
- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::RenderEmbeddedObject::RenderEmbeddedObject):
- (WebCore::shouldUnavailablePluginMessageIncludeButton):
- Rename from shouldUnavailablePluginMessageBeButton to
- shouldUnavailablePluginMessageIncludeButton for accuracy.
</del><ins>+ If we are going to return true from the shouldUseCredentialStorage callback then we don't
+ really need to have CFNetwork/Foundation call us. We can just disable the callback and
+ CFNetwork will assume true. Add a separate subclass that implements this callback when we
+ need to return false. We can also eliminate the corresponding async callbacks. This avoids
+ pingponging between dispatch queue and main thread in the common case.
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReasonDescription):
- Set custom text to be displayed in the unavailability indicator.
</del><ins>+ No new tests because no change in functionality.
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReason):
- (WebCore::RenderEmbeddedObject::handleUnavailablePluginButtonClickEvent):
- (WebCore::RenderEmbeddedObject::willBeDestroyed):
- (WebCore::RenderEmbeddedObject::isReplacementObscured):
- (WebCore::RenderEmbeddedObjectEventListener::handleEvent):
- (WebCore::RenderEmbeddedObjectEventListener::operator==):
- Remove the old code used to render the missing / blocked plug-in UI in C++ in favor
- of populating a shadow root in setPluginUnavailabilityReason(). We add a DOM event
- listener in the shadow root to eventually call into unavailablePluginButtonClicked()
- on the ChromeClient.
</del><ins>+ * WebCore.exp.in:
+ * platform/network/ResourceHandle.cpp:
+ * platform/network/ResourceHandle.h:
+ * platform/network/ResourceHandleClient.cpp:
+ * platform/network/ResourceHandleClient.h:
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::createCFURLConnection):
+ (WebCore::ResourceHandle::shouldUseCredentialStorage):
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegate.h:
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp:
+ (WebCore::ResourceHandleCFURLConnectionDelegateWithOperationQueue::shouldUseCredentialStorage):
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
+ * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp:
+ * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::start):
+ (WebCore::ResourceHandle::makeDelegate):
+ (WebCore::ResourceHandle::delegate):
+ (WebCore::ResourceHandle::platformLoadResourceSynchronously):
+ (WebCore::ResourceHandle::shouldUseCredentialStorage):
+ * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.h:
+ * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm:
+ (-[WebCoreResourceHandleWithCredentialStorageAsOperationQueueDelegate connectionShouldUseCredentialStorage:]):
+ * platform/network/soup/ResourceHandleSoup.cpp:
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::paint):
- (WebCore::RenderEmbeddedObject::layout):
- Paint and lay out UA shadow root children.
</del><ins>+2014-05-04 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::canHaveChildren):
- canHaveChildren can use the existence of a UA shadow root to decide
- whether a RenderEmbeddedObject can have children.
</del><ins>+ [iOS] deviceScaleFactor is being double-applied when rendering captions in full screen mode
+ https://bugs.webkit.org/show_bug.cgi?id=132481
+ <rdar://problem/16507482>
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.h:
- (WebCore::RenderEmbeddedObjectEventListener::create):
- (WebCore::RenderEmbeddedObjectEventListener::cast):
- (WebCore::RenderEmbeddedObjectEventListener::RenderEmbeddedObjectEventListener):
- Create the new event listener class necessary to handle events in the shadow root.
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::pluginUnavailabilityReasonDescription): Added.
</del><ins>+ Add a new 'syncTextTrackBounds' method (and relaying functions) to keep the text track container in sync
+ with changes to the video player's display layer.
</ins><span class="cx">
</span><del>- * rendering/RenderWidget.h:
- Promote willBeDestroyed() to be public so we may override it in the RenderEmbeddedObject subclass.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::syncTextTrackBounds: Added.
+ * html/HTMLMediaElement.h:
+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlTextTrackContainerElement::updateDisplay): Don't set the platform scale factor here. It is already
+ being accounted for in the createTextTrackRepresentationImage method.
+ (WebCore::MediaControlTextTrackContainerElement::updateSizes): Synchronize the text track representation
+ with any new video layer changes.
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::syncTextTrackBounds): Added.
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
+ (WebCore::MediaPlayerPrivateInterface::syncTextTrackBounds): Added.
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenLayer): Use new sync function.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenFrame): Ditto.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::syncTextTrackBounds): Added. Keep the text track layer size in sync with
+ the current video layer size. This may change during animations, rotations, etc.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setTextTrackRepresentation): Use new sync function.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-04 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- Merge r152689
</del><ins>+ Top content inset: Margin tiles should not display in the inset area when pinned
+ to the top of the page
+ https://bugs.webkit.org/show_bug.cgi?id=132535
+ -and corresponding-
+ <rdar://problem/16613039>
</ins><span class="cx">
</span><del>- 2013-07-15 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Pack WebCore::Font slightly better.
- <http://webkit.org/b/118681>
- <rdar://problem/14446014>
</del><ins>+ Prior to this change, topContentInset was implemented by positioning
+ RenderLayerCompositor’s m_rootContentLayer based on the inset value. In order to
+ ensure that no content is displayed in the inset area when we are pinned to the
+ top of the page, we’ll have to take a different approach. In this patch, when you
+ are pinned to the top of the page, the m_rootContentLayer is positioned at (0,0),
+ much like it would be without an inset, but the m_clip layer IS positioned at (0,
+ topContentInset). Then for all y-scroll values between 0 and topContentInset, the
+ positions of the clip layer and the contents layer are adjusted so that the clip
+ layer approaches a position of (0,0), and the root layer approaches a position of
+ (0, topContentInset). This makes sure that any content above the top the document
+ is aways clipped out of the inset area.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ In order to achieve this, the scrolling thread needs to know about the
+ topContentInset, the clip layer, and the root contents layer.
</ins><span class="cx">
</span><del>- Knock 8 bytes off of Font by packing the members better. Reduces memory consumption by 429 kB when
- viewing the full HTML5 spec at <http://whatwg.org/c>
</del><ins>+ AsyncScrollingCoordinator::updateScrollingNode() now takes an additional parameter
+ for the clip layer. Also export the topContentInset symbol for UI-side
+ compositing.
+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- * platform/graphics/Font.h:
- (WebCore::Font::typesettingFeatures):
</del><ins>+ Here is the new computation. Implemented in one spot that can be called from the
+ scrolling thread, AsyncScrollingCoordinator and RenderLayerCompositor.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::yPositionForInsetClipLayer):
+ (WebCore::FrameView::yPositionForRootContentLayer):
+ * page/FrameView.h:
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Set the topContentInset, the insetClipLayer, and the scrolledContentsLayer when
+ appropriate.
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::frameViewLayoutUpdated):
+ (WebCore::AsyncScrollingCoordinator::frameViewRootLayerDidChange):
</ins><span class="cx">
</span><del>- Merge r152653
</del><ins>+ Set or sync the positions for the inset layer and the contents layer.
+ (WebCore::AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll):
+ (WebCore::AsyncScrollingCoordinator::updateScrollingNode):
+ * page/scrolling/AsyncScrollingCoordinator.h:
</ins><span class="cx">
</span><del>- 2013-07-15 Antoine Quint <graouts@apple.com>
</del><ins>+ Convenience functions for getting the clipLayer() and the rootContentLayer() from
+ the RenderLayerCompositor.
+ * page/scrolling/ScrollingCoordinator.cpp:
+ (WebCore::ScrollingCoordinator::insetClipLayerForFrameView):
+ (WebCore::ScrollingCoordinator::rootContentLayerForFrameView):
+ * page/scrolling/ScrollingCoordinator.h:
+ (WebCore::ScrollingCoordinator::updateScrollingNode):
</ins><span class="cx">
</span><del>- Text with "text-overflow:ellipsis" and an SVG font do not render correctly
- https://bugs.webkit.org/show_bug.cgi?id=118669
</del><ins>+ ScrollingStateScrolling nodes have two new members now. m_insetClipLayer and
+ m_topContentInset. We can use m_scrolledContentsLayer for the rootContentsLayer
+ since previously that member was not used for FrameViews; it was only used for
+ accelerated overflow:scroll nodes.
+ * page/scrolling/ScrollingStateScrollingNode.cpp:
+ (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode):
+ (WebCore::ScrollingStateScrollingNode::setTopContentInset):
+ (WebCore::ScrollingStateScrollingNode::setInsetClipLayer):
+ * page/scrolling/ScrollingStateScrollingNode.h:
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ Similarly, ScrollingTreeScrollingNode has two new members for m_topContentInset
+ and m_clipLayer.
+ * page/scrolling/ScrollingTreeScrollingNode.cpp:
+ (WebCore::ScrollingTreeScrollingNode::ScrollingTreeScrollingNode):
+ (WebCore::ScrollingTreeScrollingNode::updateBeforeChildren):
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ (WebCore::ScrollingTreeScrollingNode::topContentInset):
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::updateBeforeChildren):
</ins><span class="cx">
</span><del>- Partial runs may be routed through the complex path in several Font functions. While incomplete,
- we can check for a non-NULL run.renderingContext() and exempt runs that have it from being forced
- down the complex path. A more thorough fix is already tracked by http://webkit.org/b/100050.
</del><ins>+ Compute positions for the two new layers.
+ (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
</ins><span class="cx">
</span><del>- Adding a new testcase which is a copy of svg/text/text-overflow-ellipsis-svgfont.html with kerning
- and ligatures turned on explicitly since DRT runs with those off by default and this option is required
- to be on for the issue to reproduce.
</del><ins>+ Now use the static FrameView functions to compute the positions for these layers.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::frameViewDidChangeSize):
+ (WebCore::RenderLayerCompositor::positionForClipLayer):
+ (WebCore::RenderLayerCompositor::clipLayer):
+ (WebCore::RenderLayerCompositor::rootContentLayer):
+ (WebCore::RenderLayerCompositor::updateRootLayerPosition):
+ (WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
+ (WebCore::RenderLayerCompositor::ensureRootLayer):
+ (WebCore::RenderLayerCompositor::updateScrollCoordinatedLayer):
+ * rendering/RenderLayerCompositor.h:
</ins><span class="cx">
</span><del>- Fix courtesy of Dan Bernstein.
</del><ins>+2014-05-04 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Test: svg/text/text-overflow-ellipsis-svgfont-kerning-ligatures.html
</del><ins>+ Clear the Selector Query caches on memory pressure
+ https://bugs.webkit.org/show_bug.cgi?id=132545
</ins><span class="cx">
</span><del>- * platform/graphics/Font.cpp:
- (WebCore::Font::drawText):
- (WebCore::Font::drawEmphasisMarks):
- (WebCore::Font::selectionRectForText):
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ The Selector Query Cache can use quite a bit of memory if many
+ complex selectors are compiled. This patch makes sure the cache gets
+ cleared on memory pressure.
</ins><span class="cx">
</span><del>- Rollout r152686. Previously merged.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::clearSelectorQueryCache):
+ (WebCore::Document::setCompatibilityMode):
+ (WebCore::Document::updateBaseURL):
+ * dom/Document.h:
+ * dom/SelectorQuery.cpp:
+ (WebCore::SelectorQueryCache::invalidate): Deleted.
+ * dom/SelectorQuery.h:
+ * platform/MemoryPressureHandler.cpp:
+ (WebCore::MemoryPressureHandler::releaseMemory):
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-04 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- Merge r152382
</del><ins>+ Convert OwnPtr to std::unique_ptr in CDM
+ https://bugs.webkit.org/show_bug.cgi?id=132467
</ins><span class="cx">
</span><del>- 2013-07-03 Gordon Sheridan <gordon_sheridan@apple.com>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Implement mechanism to detect (partially) hidden blocked plugins.
- https://bugs.webkit.org/show_bug.cgi?id=117998
</del><ins>+ Use std::unique_ptr in CDM class.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::RenderEmbeddedObject::replacementTextRect):
- Added private method for calculating the size of the replacement text for blocked plugins.
</del><ins>+ * Modules/encryptedmedia/CDM.cpp:
+ (WebCore::CDM::create):
+ (WebCore::CDM::CDM):
+ * Modules/encryptedmedia/CDM.h:
+ * Modules/encryptedmedia/CDMPrivateMediaPlayer.h:
+ (WebCore::CDMPrivateMediaPlayer::CDMPrivateMediaPlayer):
+ (WebCore::CDMPrivateMediaPlayer::create):
+ * Modules/encryptedmedia/MediaKeys.cpp:
+ (WebCore::MediaKeys::create):
+ (WebCore::MediaKeys::MediaKeys):
+ * Modules/encryptedmedia/MediaKeys.h:
+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::isReplacementObscured):
- Added public method to determine if the EMBED element used for a blocked plugin is inaccessible to the user.
- * rendering/RenderEmbeddedObject.h:
- Declare the two new methods mentioned above.
</del><ins>+2014-05-03 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- Export RenderEmbeddedObject::isReplacementObscured().
</del><ins>+ Unreviewed, rolling out r168232.
+ https://bugs.webkit.org/show_bug.cgi?id=132543
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ broke ~15 tests on WK2 debug (Requested by kling on #webkit).
</ins><span class="cx">
</span><del>- Merge r152623
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- 2013-07-14 Jon Lee <jonlee@apple.com>
</del><ins>+ "Shortcircuit shouldUseCredentialStorage callback"
+ https://bugs.webkit.org/show_bug.cgi?id=132308
+ http://trac.webkit.org/changeset/168232
</ins><span class="cx">
</span><del>- Origins with invalid ports are not marked as unique (118652)
- https://bugs.webkit.org/show_bug.cgi?id=118652
- <rdar://problem/14437753>
</del><ins>+2014-05-03 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ RenderSVGResourcePattern should deal in RenderElement&.
+ <https://webkit.org/b/132536>
</ins><span class="cx">
</span><del>- * page/SecurityOrigin.cpp:
- (WebCore::SecurityOrigin::create): Return a unique origin if the port is out of range.
</del><ins>+ Tweak buildPattern() and buildTileImageTransform() to take RenderElement&
+ instead of RenderObject* since we know that these functions will always
+ be called with non-null RenderElement subclasses.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Merge r152613
</del><ins>+ * rendering/svg/RenderSVGResourceContainer.cpp:
+ (WebCore::RenderSVGResourceContainer::shouldTransformOnTextPainting):
+ * rendering/svg/RenderSVGResourceContainer.h:
+ * rendering/svg/RenderSVGResourceGradient.cpp:
+ (WebCore::RenderSVGResourceGradient::applyResource):
+ * rendering/svg/RenderSVGResourcePattern.cpp:
+ (WebCore::RenderSVGResourcePattern::buildPattern):
+ (WebCore::RenderSVGResourcePattern::applyResource):
+ (WebCore::RenderSVGResourcePattern::buildTileImageTransform):
+ * rendering/svg/RenderSVGResourcePattern.h:
</ins><span class="cx">
</span><del>- 2013-07-13 Commit Queue <commit-queue@webkit.org>
</del><ins>+2014-05-03 Yusuke Suzuki <utatane.tea@gmail.com>
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r151978.
- http://trac.webkit.org/changeset/151978
- https://bugs.webkit.org/show_bug.cgi?id=118651
</del><ins>+ CSS JIT: optimize direct / indirect adjacent's traversal backtracking
+ https://bugs.webkit.org/show_bug.cgi?id=132319
</ins><span class="cx">
</span><del>- Caused regressions at least 3 websites (Requested by rniwa on
- #webkit).
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- * bindings/js/JSDOMBinding.cpp:
- * bindings/js/JSDOMBinding.h:
- * bindings/scripts/CodeGeneratorJS.pm:
- (GetNativeTypeFromSignature):
- (JSValueToNative):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/test/JS/JSTestObj.cpp:
- (WebCore::setJSTestObjReflectedStringAttr):
- (WebCore::setJSTestObjReflectedURLAttr):
- (WebCore::setJSTestObjReflectedCustomURLAttr):
- * dom/Document.idl:
- * dom/Element.idl:
- * dom/Node.idl:
</del><ins>+ Since adjacent backtracking stack reference is pre-allocated
+ in prologue in http://trac.webkit.org/changeset/166834,
+ clearing stack phase is not needed. So we can drop
+ JumpToClearAdjacentTail from backtracking action and simplify
+ backtracking handling.
+ And optimize direct / indirect adjacent's traversal backtracking by
+ using appropriate backtracking height.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ When solving adjacent traversal backtracking action,
+ 1) When there's no descendant relation on the right, traversal
+ failure becomes global failure.
+ 2) When `tagNameMatchedBacktrackingStartHeightFromDescendant` ==
+ `heightFromDescendant` + 1, the descendant backtracking starts with
+ the parent of the current element. So we can use the current element
+ and the backtracking action is JumpToDescendantTreeWalkerEntryPoint.
+ 3) Otherwise, currently we take the conservative approach,
+ JumpToDescendantTail.
</ins><span class="cx">
</span><del>- Merge r152580
</del><ins>+ NOTE:
+ And if `hasDescendantRelationOnTheRight` is true and there's no child
+ fragment on the right, the backtracking element register is not
+ effective. So we should ensure that fragment doesn't use the
+ backtracking element register. Such a fragment fulfills the following
+ conditions. 1. tagNameMatchedBacktrackingStartHeightFromDescendant is
+ always 1 (tagNames.size(), that contains only descendant fragment) 2.
+ heightFromDescendant is always 0 (-- See
+ computeBacktrackingHeightFromDescendant implementation) Therefore such
+ a fragment's action always becomes
+ JumpToDescendantTreeWalkerEntryPoint. So we can ensure that the
+ backtracking element register is not used.
</ins><span class="cx">
</span><del>- 2013-07-10 Roger Fong <roger_fong@apple.com>
</del><ins>+ Test: fast/selectors/backtracking-adjacent.html
</ins><span class="cx">
</span><del>- Plugins that don't support snapshotting should not all autostart.
- https://bugs.webkit.org/show_bug.cgi?id=118572
- <rdar://problem/14324391>.
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::solveDescendantBacktrackingActionForChild):
+ (WebCore::SelectorCompiler::solveAdjacentTraversalBacktrackingAction):
+ (WebCore::SelectorCompiler::solveBacktrackingAction):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::computeBacktrackingInformation):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::linkFailures):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateAdjacentBacktrackingTail):
+ (WebCore::SelectorCompiler::isAfterChildRelation): Deleted.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+2014-05-03 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Test: plugins/snapshotting/quicktime-plugin-snapshotted.html
</del><ins>+ Clear the JSString cache when under memory pressure.
+ <https://webkit.org/b/132539>
</ins><span class="cx">
</span><del>- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot): Pass in information about whether or not a snapshot exists
- to the shadow dom.
- * plugins/PluginViewBase.h:
- (WebCore::PluginViewBase::shouldNotAddLayer): This method determines whether or not we should add the plugin's layer to the tree.
- It should not be added if the plugin is in it's snapshotted state but does not actually support snapshotting.
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration): We should only add the layer to the tree when the plugin
- is actually playing. Otherwise we run into an issue where the contents of the layer initially appear on the screen briefly
- on page load before we display the substitute for a plugin that doesn't support snapshotting.
</del><ins>+ The WeakGCMap used for fast mapping from StringImpl* to JSString*
+ can actually get pretty big, and if we find ourselves under memory
+ pressure, it's entirely inessential.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ 1.1 MB progression on Membuster3.
</ins><span class="cx">
</span><del>- Merge r152568
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- 2013-07-11 Andreas Kling <akling@apple.com>
</del><ins>+ * platform/MemoryPressureHandler.cpp:
+ (WebCore::MemoryPressureHandler::releaseMemory):
</ins><span class="cx">
</span><del>- Revert r149313: Don't check for @media rules affected by viewport changes in every layout.
- <rdar://problem/14277905>
</del><ins>+2014-05-03 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Rubber-stamped by Antti Koivisto.
</del><ins>+ [iOS][WK2] Support disabling speculative tiling
+ https://bugs.webkit.org/show_bug.cgi?id=132512
</ins><span class="cx">
</span><del>- This changed caused more harm than good. setFrameRect() is not the only path in FrameView
- that can cause media queries to need invalidation.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::setFrameRect):
- (WebCore::FrameView::layout):
</del><ins>+ Move ScrollView::setScrollVelocity() and ScrollView::computeCoverageRect() to FrameView.
+ When speculative tiling is disabled, return an unmodified exposed rect.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Time/velocity adjusments are completely unnecessary at the moment since speculative tiling
+ is enabled as soon as the view scrolls.
</ins><span class="cx">
</span><del>- Merge r152554
</del><ins>+ * WebCore.exp.in:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::setScrollVelocity):
+ (WebCore::FrameView::computeCoverageRect):
+ * page/FrameView.h:
+ * platform/ScrollView.h:
+ * platform/ios/ScrollViewIOS.mm:
+ (WebCore::ScrollView::setScrollVelocity): Deleted.
+ (WebCore::ScrollView::computeCoverageRect): Deleted.
</ins><span class="cx">
</span><del>- 2013-07-10 Sam Weinig <sam@webkit.org>
</del><ins>+2014-05-02 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>- Range.getClientRects() not working correctly for partially contained vertically styled text nodes
- <rdar://problem/14305675>
- https://bugs.webkit.org/show_bug.cgi?id=118447
</del><ins>+ Shortcircuit shouldUseCredentialStorage callback
+ https://bugs.webkit.org/show_bug.cgi?id=132308
+ <rdar://problem/16806708>
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- Original patch by Mac Murrett, tweaked by me.
</del><ins>+ If we are going to return true from the shouldUseCredentialStorage callback then we don't
+ really need to have CFNetwork/Foundation call us. We can just disable the callback and
+ CFNetwork will assume true. Add a separate subclass that implements this callback when we
+ need to return false. We can also eliminate the corresponding async callbacks. This avoids
+ pingponging between dispatch queue and main thread in the common case.
</ins><span class="cx">
</span><del>- Test: fast/dom/Range/getClientRects-vertical.html
</del><ins>+ No new tests because no change in functionality.
</ins><span class="cx">
</span><del>- * rendering/RenderText.cpp:
- (WebCore::localQuadForTextBox):
- Use the physical accessors rather than the logical ones to get the correct metrics.
</del><ins>+ * WebCore.exp.in:
+ * platform/network/ResourceHandle.cpp:
+ * platform/network/ResourceHandle.h:
+ * platform/network/ResourceHandleClient.cpp:
+ * platform/network/ResourceHandleClient.h:
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::createCFURLConnection):
+ (WebCore::ResourceHandle::shouldUseCredentialStorage):
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegate.h:
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp:
+ (WebCore::ResourceHandleCFURLConnectionDelegateWithOperationQueue::shouldUseCredentialStorage):
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
+ * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp:
+ * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::start):
+ (WebCore::ResourceHandle::makeDelegate):
+ (WebCore::ResourceHandle::delegate):
+ (WebCore::ResourceHandle::platformLoadResourceSynchronously):
+ (WebCore::ResourceHandle::shouldUseCredentialStorage):
+ * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.h:
+ * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm:
+ (-[WebCoreResourceHandleWithCredentialStorageAsOperationQueueDelegate connectionShouldUseCredentialStorage:]):
+ * platform/network/soup/ResourceHandleSoup.cpp:
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-03 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Merge r152547
</del><ins>+ Invalidate scrollbars when custom scrollbar style changes dynamically.
+ <https://webkit.org/b/132529>
</ins><span class="cx">
</span><del>- 2013-07-10 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Add a ScrollView::styleDidChange() and call that from RenderView::styleDidChange()
+ so that the scrollbars are sure to get repainted with potentially different style.
</ins><span class="cx">
</span><del>- [Mac] every enabled text track should be listed in the track menu
- https://bugs.webkit.org/show_bug.cgi?id=118477
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+ Test: fast/css/scrollbar-dynamic-style-change.html
</ins><span class="cx">
</span><del>- Test: media/video-controls-captions-trackmenu-includes-enabled-track.html
</del><ins>+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::styleDidChange):
+ * platform/ScrollView.h:
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::styleDidChange):
</ins><span class="cx">
</span><del>- * html/shadow/MediaControlElements.cpp:
- (WebCore::MediaControlClosedCaptionsTrackListElement::updateDisplay): Don't select the
- "Off" menu item if a track is enabled.
</del><ins>+2014-05-03 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * page/CaptionUserPreferencesMediaAF.cpp:
- (WebCore::CaptionUserPreferencesMediaAF::sortedTrackListForMenu): Always include a track
- that is showing in the menu. Add more diagnostic logging.
</del><ins>+ Very fuzzy layers under non-decompasable matrices
+ https://bugs.webkit.org/show_bug.cgi?id=132516
+ <rdar://problem/16717478>
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Sam Weinig.
+
+ r155977 added code to modify layer contentsScale based on a root-relative
+ scale, so that scaled-up layers remained sharp. It does this by decomposing
+ an accumulated matrix, but failed to test whether the decomposition
+ succeeded. This would result in contentsScale of 0, which is clamped to 0.1,
+ resulting in very fuzzy layers.
+
+ Fix by testing for success of decomposition.
</ins><span class="cx">
</span><del>- Merge r152532
</del><ins>+ Test: compositing/contents-scale/non-decomposable-matrix.html
</ins><span class="cx">
</span><del>- 2013-07-10 James Craig <james@cookiecrook.com>
</del><ins>+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::maxScaleFromTransform):
+ * platform/graphics/transforms/TransformationMatrix.cpp:
+ (WebCore::TransformationMatrix::decompose2): Return early for identity matrices,
+ with fix for m11 and m22.
+ (WebCore::TransformationMatrix::decompose4): Return early for identity matrices.
+ * platform/graphics/transforms/TransformationMatrix.h:
+ Make Decomposed2Type and Decomposed4Type into C++ structs.
+ (WebCore::TransformationMatrix::Decomposed2Type::operator==): Added to make it easier
+ to write code that asserts that decomposition is correct.
+ (WebCore::TransformationMatrix::Decomposed4Type::operator==): Ditto.
</ins><span class="cx">
</span><del>- AX: AccessibilityNodeObject::supportsRequiredAttribute() should switch on CellRole
- https://bugs.webkit.org/show_bug.cgi?id=117817
</del><ins>+2014-05-03 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+ Fix crash in WebKit client app when zooming
+ https://bugs.webkit.org/show_bug.cgi?id=132475
+ <rdar://problem/16703405>
</ins><span class="cx">
</span><del>- CellRole supports the required attribute now for accessibility, according to ARIA spec.
- Updated existing test coverage.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::supportsRequiredAttribute):
</del><ins>+ It's possible for a WebTiledBackingLayer CALayer to remain in the CALayer
+ hierarchy after we've called -invalidate on it, which clears the _tileController.
+ Project the getters against null derefs to handle this.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/graphics/ca/mac/WebTiledBackingLayer.mm:
+ (-[WebTiledBackingLayer isOpaque]):
+ (-[WebTiledBackingLayer acceleratesDrawing]):
+ (-[WebTiledBackingLayer contentsScale]):
</ins><span class="cx">
</span><del>- Merge r152522
</del><ins>+2014-05-03 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- 2013-07-09 James Craig <james@cookiecrook.com>
</del><ins>+ Unreviewed. Fix GTK+ build after r168209.
</ins><span class="cx">
</span><del>- @readonly and @aria-readonly="false" are not exposed correctly to accessibility
- https://bugs.webkit.org/show_bug.cgi?id=118475
</del><ins>+ * platform/leveldb/LevelDBDatabase.cpp:
+ (WebCore::LevelDBDatabase::write):
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+2014-05-03 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Account for implicit and explicit @readonly/@aria-readonly mismatches. Updated existing test coverage.
</del><ins>+ Subpixel rendering: Fieldset legend has a horizontal line through, when the fieldset is painted on odd device pixel position.
+ https://bugs.webkit.org/show_bug.cgi?id=132521
+ <rdar://problem/16803305>
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::canSetValueAttribute):
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Use device pixel snapping when the fieldset's border gets clipped out for the legend's text. It ensures that
+ the device pixel snapped border gets properly clipped out.
</ins><span class="cx">
</span><del>- Merge r152520
</del><ins>+ Existing fieldset tests cover it.
</ins><span class="cx">
</span><del>- 2013-07-09 Jer Noble <jer.noble@apple.com>
</del><ins>+ * rendering/RenderFieldset.cpp:
+ (WebCore::RenderFieldset::paintBoxDecorations):
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+2014-05-02 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Remember the scroll position and restore after exiting full-screen mode.
- https://bugs.webkit.org/show_bug.cgi?id=61956
</del><ins>+ CodeCleanup: Remove *MaintainsPixelAlignment from GraphicsLayer*.
+ https://bugs.webkit.org/show_bug.cgi?id=132501
</ins><span class="cx">
</span><del>- No new tests, adds a client callback used by WebKit and WebKit2 win.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * platform/graphics/win/FullScreenController.cpp:
- (FullScreenController::enterFullScreen):
- (FullScreenController::exitFullScreen):
- * platform/graphics/win/FullScreenControllerClient.h:
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::GraphicsLayer):
+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::setMaintainsPixelAlignment): Deleted.
+ (WebCore::GraphicsLayer::maintainsPixelAlignment): Deleted.
+ (WebCore::GraphicsLayer::pixelAlignmentOffset): Deleted.
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::updateGeometry):
+ (WebCore::GraphicsLayerCA::computePixelAlignment):
+ (WebCore::GraphicsLayerCA::setMaintainsPixelAlignment): Deleted.
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::createGraphicsLayer):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::keepLayersPixelAligned): Deleted.
+ * rendering/RenderLayerCompositor.h:
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-02 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge r152459
</del><ins>+ [iOS WK2] Tiled layer content missing on pages with animated tiled layers
+ https://bugs.webkit.org/show_bug.cgi?id=132507
+ <rdar://problem/16765740>
</ins><span class="cx">
</span><del>- 2013-07-08 Ruth Fong <ruth_fong@apple.com>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Fix TextTrackCue::cueIndex() to handle the null case of TextTrack::cues(() properly
- https://bugs.webkit.org/show_bug.cgi?id=117815
- <rdar://problem/14211041>
</del><ins>+ Updating the tiling area of content TileControllers while
+ CSS animations are running depends on GraphicsLayerUpdater
+ triggering repeated layer flushes. With UI-side compositing, those
+ flushes were happening, but nothing triggered RemoteLayerTreeDrawingArea
+ to flush changes to the UI process.
+
+ Fix by having RenderLayerCompositor schedule a flush, rather
+ than just doing a flush, in response to GraphicsLayerUpdater.
+
+ Also change the name of the GraphicsLayerUpdaterClient function
+ to indicate that it suggests that a flush is required soon, rather than
+ that the flushing has to be synchronous.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * platform/graphics/GraphicsLayerUpdater.cpp:
+ (WebCore::GraphicsLayerUpdater::displayRefreshFired):
+ * platform/graphics/GraphicsLayerUpdater.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::flushLayersSoon):
+ (WebCore::RenderLayerCompositor::flushLayers): Deleted.
+ * rendering/RenderLayerCompositor.h:
</ins><span class="cx">
</span><del>- Merge https://src.chromium.org/viewvc/blink?revision=153206&view=revision
</del><ins>+2014-05-02 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- No new tests, only behavior change is preventing a crash in the release build.
- cueIndex() is only used for sorting cues, so returning an invalidCueIndex in the case
- where track()->cues() is null makes sense and won't modify behavior.
</del><ins>+ Use displayNameForTrack instead of textTrack->label() for captions.
+ https://bugs.webkit.org/show_bug.cgi?id=131311
</ins><span class="cx">
</span><del>- * html/track/TextTrackCue.cpp:
- (WebCore::TextTrackCue::cueIndex):
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Use the same mechanism as the desktop to build the captions list so it has the correct
+ names in the correct order including none and automatic.
</ins><span class="cx">
</span><del>- Merge r152388
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.h:
+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ (WebVideoFullscreenModelMediaElement::setMediaElement):
+ move legible track code into updateLegibleOptions()
</ins><span class="cx">
</span><del>- 2013-07-03 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ (WebVideoFullscreenModelMediaElement::handleEvent):
+ updateLegibleOptions on addTrack and removeTrack
</ins><span class="cx">
</span><del>- AX: Items the img aria role aren't inserting an object replacement character
- https://bugs.webkit.org/show_bug.cgi?id=118259
</del><ins>+ (WebVideoFullscreenModelMediaElement::selectLegibleMediaOption):
+ select the corresponding TextTrack on HTMLMediaElement.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ (WebVideoFullscreenModelMediaElement::updateLegibleOptions):
+ use the same mechanism as desktop to build the captions menu.
</ins><span class="cx">
</span><del>- VoiceOver relies on object replacement characters being emitted when asking for selected text.
- This has worked if a real <img> is used, but if role="img" is used on a <div>, for example,
- no emission is performed, which leads to missed elements in text.
</del><ins>+2014-05-02 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- Test: platform/mac/accessibility/aria-image-emits-object-replacement.html
</del><ins>+ CSS-based Media Controls Show Different times content longer than 1 hour.
+ https://bugs.webkit.org/show_bug.cgi?id=132443
</ins><span class="cx">
</span><del>- * editing/TextIterator.cpp:
- (WebCore::isRendererReplacedElement):
- (WebCore::TextIterator::advance):
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.css:
+ (audio::-webkit-media-controls-timeline-container .hour-long-time):
+ This class has a wider width for longer duration times.
</ins><span class="cx">
</span><del>- Merge r152345
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.js:
+ (Controller.prototype.updateDuration):
+ Apply .hour-long-time class as appropriate.
</ins><span class="cx">
</span><del>- 2013-07-03 Radu Stavila <stavila@adobe.com>
</del><ins>+ (Controller.prototype.formatTime):
+ More robust formatting to handle hours.
</ins><span class="cx">
</span><del>- [CSS Regions] Improve implementation of elements in region being flowed to another flow thread
- https://bugs.webkit.org/show_bug.cgi?id=118300
</del><ins>+ * Modules/mediacontrols/mediaControlsiOS.css:
+ (audio::-webkit-media-controls-timeline-container .hour-long-time):
+ This class has a wider width for longer duration times.
</ins><span class="cx">
</span><del>- Based on patch by Zoltán Árvai <zarvai@inf.u-szeged.hu>
</del><ins>+ * Modules/mediacontrols/mediaControlsiOS.js:
+ (ControllerIOS.prototype.formatTime):
+ More robust formatting to handle hours.
</ins><span class="cx">
</span><del>- Reviewed by Csaba Osztrogonác.
</del><ins>+2014-05-02 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Fixed CSS_REGIONS guard.
</del><ins>+ [MSE][Mac] AVAssetTrack returns incorrect track size
+ https://bugs.webkit.org/show_bug.cgi?id=132469
</ins><span class="cx">
</span><del>- * dom/Element.h:
- * dom/NodeRenderingContext.cpp:
- (WebCore::NodeRenderingContext::elementInsideRegionNeedsRenderer):
- (WebCore::NodeRenderingContext::moveToFlowThreadIfNeeded):
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ (WebCore::SourceBufferPrivateAVFObjC::didParseStreamDataAsAsset): Remove the sizeChanged() notification.
+ (WebCore::SourceBufferPrivateAVFObjC::processCodedFrame): Cache the last parsed video frame size.
+ (WebCore::SourceBufferPrivateAVFObjC::naturalSize): Return the cached value.
</ins><span class="cx">
</span><del>- Merge r152330
</del><ins>+2014-05-02 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- 2013-07-02 Ruth Fong <ruth_fong@apple.com>
</del><ins>+ Subpixel rendering[iOS]: Use pixelSnappedRoundedRectForPainting() to clip text area rect.
+ https://bugs.webkit.org/show_bug.cgi?id=132499
+ <rdar://problem/16631050>
</ins><span class="cx">
</span><del>- Change event should not be dispatched by clicking a scrollbar of select listbox
- https://bugs.webkit.org/show_bug.cgi?id=118019
- <rdar://problem/14297760>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ Snap to device pixels properly instead of relying on float arithmetics while converting from RoundedRect
+ to FloatRoundedRect. This is the second, cleanup part of the text-area decoration is off-by-one painting issue.
</ins><span class="cx">
</span><del>- Test: fast/forms/select/listbox-click-on-scrollbar.html
</del><ins>+ Currently not testable.
</ins><span class="cx">
</span><del>- Merge the following:
- http://src.chromium.org/viewvc/blink?view=revision&revision=151689
- https://chromium.googlesource.com/chromium/blink/+/492549b0fcaa58a85aa0797446b62985a263704f
</del><ins>+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::paintTextFieldDecorations):
</ins><span class="cx">
</span><del>- Previously, a select element with the multiple attribute would dispatch
- an onChanged event when the scrollbar is clicked. This patch corrects this
- issue by only calling listBoxOnChange(), which fires the onChanged event,
- when an actual option is clicked.
</del><ins>+2014-05-02 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * html/HTMLSelectElement.cpp:
- (WebCore::HTMLSelectElement::childrenChanged): Updated to clear the list
- of selected items when when an <option> element is added to/deleted from its <select> element.
- (Without this addition, if a option was selected, and then JavaScript was used to modify
- the <select> element, and then the scrollbar was clicked, an onChanged event would fire
- because it remembers the previously selected option.)
</del><ins>+ Remove HistogramSupport.
+ <https://webkit.org/b/132354>
</ins><span class="cx">
</span><del>- (WebCore::HTMLSelectElement::listBoxOnChange):
</del><ins>+ Prune some leftover Chromium gunk that no other ports ever used.
</ins><span class="cx">
</span><del>- (WebCore::HTMLSelectElement::listBoxDefaultEventHandler): Updated to
- only call listBoxOnChange() if at least one option is selected.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * CMakeLists.txt:
+ * Modules/indexeddb/IDBDatabase.cpp:
+ (WebCore::IDBDatabase::createObjectStore):
+ (WebCore::IDBDatabase::deleteObjectStore):
+ (WebCore::IDBDatabase::transaction):
+ * Modules/indexeddb/IDBFactory.cpp:
+ (WebCore::IDBFactory::openInternal):
+ (WebCore::IDBFactory::deleteDatabase):
+ * Modules/indexeddb/IDBHistograms.h: Removed.
+ * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
+ (WebCore::IDBBackingStoreLevelDB::open):
+ (WebCore::IDBBackingStoreLevelDB::openInMemory):
+ (WebCore::recordInternalError): Deleted.
+ * Modules/indexeddb/leveldb/IDBBackingStoreTransactionLevelDB.cpp:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * css/CSSParser.cpp:
+ (WebCore::cssPropertyID):
+ * dom/Document.cpp:
+ (WebCore::Document::~Document):
+ (WebCore::histogramMutationEventUsage): Deleted.
+ * dom/ShadowRoot.cpp:
+ * fileapi/Blob.cpp:
+ * fileapi/WebKitBlobBuilder.cpp:
+ (WebCore::BlobBuilder::append):
+ * history/PageCache.cpp:
+ (WebCore::logCanCacheFrameDecision):
+ (WebCore::logCanCachePageDecision):
+ * platform/HistogramSupport.cpp: Removed.
+ * platform/HistogramSupport.h: Removed.
+ * platform/leveldb/LevelDBDatabase.cpp:
+ (WebCore::LevelDBDatabase::open):
+ (WebCore::histogramLevelDBError): Deleted.
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::updateNeedsCompositedScrolling):
+ * xml/XMLHttpRequest.cpp:
+ (WebCore::XMLHttpRequest::send):
</ins><span class="cx">
</span><del>- Merge r152320
</del><ins>+2014-05-02 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- 2013-07-02 Radu Stavila <stavila@adobe.com>
</del><ins>+ Stop flipping the ImageControlsButton
+ <rdar://problem/16773238> and https://bugs.webkit.org/show_bug.cgi?id=132502
</ins><span class="cx">
</span><del>- [CSS Regions] Improve implementation of elements in region being flowed to another flow thread
- https://bugs.webkit.org/show_bug.cgi?id=118300
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::paintImageControlsButton):
</ins><span class="cx">
</span><del>- Methods that must be const have been turned back into const. Code has been better organized.
- Performance is better. Tests have been added to.
</del><ins>+2014-05-02 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::detach):
- (WebCore::Element::setIsInsideRegion):
- (WebCore::Element::isInsideRegion):
- (WebCore::Element::shouldMoveToFlowThread):
- * dom/Element.h:
- * dom/ElementRareData.h:
- (WebCore::ElementRareData::isInsideRegion):
- (WebCore::ElementRareData::setIsInsideRegion):
- (WebCore::ElementRareData::ElementRareData):
- * dom/Node.cpp:
- (WebCore::Node::isRegisteredWithNamedFlow):
- * dom/Node.h:
- * dom/NodeRenderingContext.cpp:
- (WebCore::NodeRenderingContext::parentRenderer):
- (WebCore::NodeRenderingContext::shouldCreateRenderer):
- (WebCore::NodeRenderingContext::elementInsideRegionNeedsRenderer):
- (WebCore::NodeRenderingContext::moveToFlowThreadIfNeeded):
- (WebCore::NodeRenderingContext::createRendererForElementIfNeeded):
- * dom/NodeRenderingContext.h:
- * dom/PseudoElement.h:
- * dom/Text.cpp:
- (WebCore::Text::textRendererIsNeeded):
- * dom/Text.h:
- * rendering/FlowThreadController.cpp:
- (WebCore::FlowThreadController::unregisterNamedFlowContentNode):
- (WebCore::FlowThreadController::isContentNodeRegisteredWithAnyNamedFlow):
- * rendering/FlowThreadController.h:
- * rendering/RenderObject.h:
- * rendering/RenderRegion.h:
- * svg/SVGElement.cpp:
- (WebCore::SVGElement::shouldMoveToFlowThread):
- * svg/SVGElement.h:
</del><ins>+ Fullscreen UI does not appear after WebProcess has crashed
+ https://bugs.webkit.org/show_bug.cgi?id=132442
</ins><span class="cx">
</span><del>-2013-07-15 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Merge r151845
</del><ins>+ Clean up immediately when there is a WebProcess crash.
</ins><span class="cx">
</span><del>- 2013-06-21 Ruth Fong <ruth_fong@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (WebVideoFullscreenInterfaceAVKit::invalidate):
+ Clean-up resources immediately.
</ins><span class="cx">
</span><del>- Fix TextTrackCue::cueIndex() to handle the null case of TextTrack::cues(() properly
- https://bugs.webkit.org/show_bug.cgi?id=117815
- <rdar://problem/14211041>
</del><ins>+2014-05-02 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Unreviewed, rolling out r168192.
+ https://bugs.webkit.org/show_bug.cgi?id=132498
</ins><span class="cx">
</span><del>- This patch adds assert statements to try to catch when
- track()->cues() returns a null pointer.
</del><ins>+ Was not the correct fix (blurry!) (Requested by bfulgham_ on
+ #webkit).
</ins><span class="cx">
</span><del>- * html/track/TextTrackCue.cpp:
- (WebCore::TextTrackCue::cueIndex):
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>-2013-07-12 Lucas Forschler <lforschler@apple.com>
</del><ins>+ "[iOS] deviceScaleFactor is being double-applied when
+ rendering captions in full screen mode"
+ https://bugs.webkit.org/show_bug.cgi?id=132481
+ http://trac.webkit.org/changeset/168192
</ins><span class="cx">
</span><del>- Merge r152571
</del><ins>+2014-05-02 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- 2013-07-11 Timothy Hatcher <timothy@apple.com>
</del><ins>+ Remove Blob contentDisposition handling
+ https://bugs.webkit.org/show_bug.cgi?id=132490
</ins><span class="cx">
</span><del>- Revert r152267 and soft link WebInspectorUI.framework again.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- https://bugs.webkit.org/show_bug.cgi?id=118544
</del><ins>+ Dead code.
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ * platform/network/BlobData.h:
+ (WebCore::BlobData::contentDisposition): Deleted.
+ (WebCore::BlobData::setContentDisposition): Deleted.
+ * platform/network/BlobRegistryImpl.cpp:
+ (WebCore::BlobRegistryImpl::registerBlobURL):
+ (WebCore::BlobRegistryImpl::registerBlobURLForSlice):
+ * platform/network/BlobResourceHandle.cpp:
+ (WebCore::BlobResourceHandle::notifyResponseOnSuccess):
+ * platform/network/BlobStorageData.h:
+ (WebCore::BlobStorageData::create):
+ (WebCore::BlobStorageData::contentType):
+ (WebCore::BlobStorageData::BlobStorageData):
+ (WebCore::BlobStorageData::contentDisposition): Deleted.
</ins><span class="cx">
</span><del>- * platform/mac/SoftLinking.h: Rename SOFT_LINK_STAGED_FRAMEWORK_OPTIONAL
- to SOFT_LINK_STAGED_FRAMEWORK and ASSERT since we don't want to silently
- fail anymore when using this macro.
</del><ins>+2014-05-02 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>-2013-07-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Implement FormData decoding using KeyedDecoder
+ https://bugs.webkit.org/show_bug.cgi?id=132494
</ins><span class="cx">
</span><del>- Rollout r152556. <rdar://problem/14305675>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>-2013-07-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/KeyedCoding.h:
+ (WebCore::KeyedDecoder::decodeEnum):
+ * platform/network/FormData.cpp:
+ (WebCore::decodeElement):
+ (WebCore::FormData::decode):
+ * platform/network/FormData.h:
</ins><span class="cx">
</span><del>- Merge r152554
</del><ins>+2014-05-02 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- 2013-07-10 Sam Weinig <sam@webkit.org>
</del><ins>+ [iOS] deviceScaleFactor is being double-applied when rendering captions in full screen mode
+ https://bugs.webkit.org/show_bug.cgi?id=132481
</ins><span class="cx">
</span><del>- Range.getClientRects() not working correctly for partially contained vertically styled text nodes
- <rdar://problem/14305675>
- https://bugs.webkit.org/show_bug.cgi?id=118447
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlTextTrackContainerElement::updateDisplay): Don't set the platform scale factor here. It is already
+ being accounted for in the createTextTrackRepresentationImage method.
</ins><span class="cx">
</span><del>- Original patch by Mac Murrett, tweaked by me.
</del><ins>+2014-05-02 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Test: fast/dom/Range/getClientRects-vertical.html
</del><ins>+ [iOS WK2] Don't create backing store for -webkit-overflow-scrolling:touch that can't scroll
+ https://bugs.webkit.org/show_bug.cgi?id=132487
+ <rdar://problem/16758041>
</ins><span class="cx">
</span><del>- * rendering/RenderText.cpp:
- (WebCore::localQuadForTextBox):
- Use the physical accessors rather than the logical ones to get the correct metrics.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>-2013-07-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Previously, -webkit-overflow-scrolling:touch would cause us to make compositing
+ layers for any element that had overflow: auto or scroll on either axis. This
+ created lots of backing store when not required.
+
+ Improve this to only create compositing for scrolling when there is actually
+ scrollable overflow. This makes things slightly more complex, because we can
+ only know when layout is up to date.
</ins><span class="cx">
</span><del>- Merge r152548
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::computeRectForRepaint): usesCompositedScrolling() tells
+ us if we're actually doing composited overflow.
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::hasTouchScrollableOverflow):
+ (WebCore::RenderLayer::handleTouchEvent):
+ * rendering/RenderLayer.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::layerOrAncestorIsTransformedOrUsingCompositedScrolling):
+ (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration): Only update
+ scrolling and clipping layers if layout is not pending.
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ (WebCore::RenderLayerBacking::updateScrollingLayers): The caller calls
+ updateInternalHierarchy(), so no need to do it here.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::requiresCompositingForScrolling): We
+ can only determine that we're scrollable after layout.
+ (WebCore::isStickyInAcceleratedScrollingLayerOrViewport):
+ (WebCore::isMainFrameScrollingOrOverflowScrolling):
</ins><span class="cx">
</span><del>- 2013-07-10 Tim Horton <timothy_horton@apple.com>
</del><ins>+2014-05-02 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- Deferring layer flushes can cause painting without layout being done
- https://bugs.webkit.org/show_bug.cgi?id=118493
</del><ins>+ Clean up FormDataElement
+ https://bugs.webkit.org/show_bug.cgi?id=132483
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- r147797 added a mechanism for the TileController to inform RenderLayerCompositor
- that it had performed an action (setNeedsDisplay, etc.) that would cause CoreAnimation
- to call back into us to paint in this runloop, and that it shouldn't throttle the next
- layer flush.
</del><ins>+ * platform/network/FormData.cpp:
+ (WebCore::FormData::FormData):
+ (WebCore::FormData::deepCopy):
+ (WebCore::FormData::expandDataStore):
+ (WebCore::FormData::flatten):
+ (WebCore::FormData::resolveBlobReferences):
+ (WebCore::FormData::generateFiles):
+ (WebCore::FormData::hasGeneratedFiles):
+ (WebCore::FormData::hasOwnedGeneratedFiles):
+ (WebCore::FormData::removeGeneratedFilesIfNeeded):
+ (WebCore::encodeElement):
+ (WebCore::decodeElement):
+ * platform/network/FormData.h:
+ (WebCore::FormDataElement::FormDataElement):
+ (WebCore::operator==):
+ * platform/network/cf/FormDataStreamCFNet.cpp:
+ (WebCore::advanceCurrentStream):
+ (WebCore::setHTTPBody):
+ * platform/network/curl/FormDataStreamCurl.cpp:
+ (WebCore::FormDataStream::read):
+ * platform/network/curl/ResourceHandleManager.cpp:
+ (WebCore::setupFormData):
+ * platform/network/soup/ResourceHandleSoup.cpp:
+ (WebCore::addFormElementsToSoupMessage):
</ins><span class="cx">
</span><del>- However, if tiles were created and left unparented (because the TileController was
- out-of-window), when they are later parented, we failed to inform RenderLayerCompositor
- that they were about to call back for painting, and so it would happily throttle the
- next layer flush, and layout would be out of date, and garbage and corruption could result.
</del><ins>+2014-05-02 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- To resolve this, rework the logic surrounding parenting existing-but-unparented tiles
- to ensure that they get added to the TileController's dirtyRect.
</del><ins>+ [iOS] Wireless playback button not blue when active
+ https://bugs.webkit.org/show_bug.cgi?id=132473
</ins><span class="cx">
</span><del>- No new tests; the bug only reproduces under specific timing circumstances, and
- manifests itself as an assertion failure or garbage on the screen, so it's quite
- hard to make a workable test.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * platform/graphics/ca/mac/TileController.mm:
- (WebCore::TileController::revalidateTiles):
- - Factor out the code to parent unparented tiles so that it is shared between the
- created-new-tile and reparenting-existing-tile cases.
- - Keep track of whether we updated the frame of a pre-existing tile.
- - If the tile is dirty and needed to be parented (because either it's new
- or hadn't been parented before), add it to the dirty rect list.
- - If the tile changed size, add it to the dirty rect list.
</del><ins>+ The playback button's class was being set to 'undefined', due to Controller.ClassNames.active being undefined.
</ins><span class="cx">
</span><del>- (WebCore::TileController::ensureTilesForRect):
- Ditto everything from revalidateTiles.
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.js:
</ins><span class="cx">
</span><del>- (WebCore::TileController::createTileLayer):
- - Explicitly mark fresh tiles as needing display, so that we can depend on
- [WebTileLayer needsDisplay] in revalidateTiles to tell us that it's dirty.
</del><ins>+2014-05-02 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>-2013-07-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Don't abuse Blob deserialization constructor in WebSocket
+ https://bugs.webkit.org/show_bug.cgi?id=132478
</ins><span class="cx">
</span><del>- Merge r152541
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- 2013-07-09 Roger Fong <roger_fong@apple.com>
</del><ins>+ * Modules/websockets/WebSocketChannel.cpp:
+ (WebCore::WebSocketChannel::send):
+ (WebCore::WebSocketChannel::enqueueBlobFrame): This is the important change -
+ Blob::create was called for no reason. If the blob came from a worker, it was
+ already cloned for cross-thread messaging, otherwise there is no reason to make
+ a new one.
</ins><span class="cx">
</span><del>- HTMLPluginElement's state should be Playing before firing mouse click event.
- https://bugs.webkit.org/show_bug.cgi?id=118398.
- <rdar://problem/14262126>
</del><ins>+ * fileapi/Blob.h:
+ (WebCore::Blob::deserialize):
+ (WebCore::Blob::create): Deleted.
+ * fileapi/File.h:
+ (WebCore::File::deserialize):
+ (WebCore::File::create): Deleted.
+ Renamed a special case of "create" function to avoid explaining what it is for.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ * Modules/websockets/ThreadableWebSocketChannel.h:
+ * Modules/websockets/WebSocket.cpp:
+ (WebCore::WebSocket::send):
+ * Modules/websockets/WebSocketChannel.h:
+ * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
+ (WebCore::WorkerThreadableWebSocketChannel::send): Print a full URL in LOG(),
+ not one shortened to 1024 characters.
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::send):
+ (WebCore::WorkerThreadableWebSocketChannel::mainThreadSendBlob):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::send):
+ * Modules/websockets/WorkerThreadableWebSocketChannel.h:
+ * bindings/js/SerializedScriptValue.cpp:
+ (WebCore::CloneDeserializer::readFile):
+ (WebCore::CloneDeserializer::readTerminal):
</ins><span class="cx">
</span><del>- Test: plugins/snapshotting/plugin-receives-click-event.html
</del><ins>+2014-05-02 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::simulatedMouseClickTimerFired):
- The defaultEventHandler returns early if the state is not Playing.
- This is because we only want the plugin to deal with user interaction normally if the
- plugin is actually enabled (not being snapshotted).
- When we click on the snapshotted plugin to start it, we mimic what would happen to the plugin
- normally by dispatching another click event on top of where we just clicked.
- However, we were sending the click event before setting the state to Playing which meant that our
- simulated click was not being handled.
- We should be setting this state before sending the click, not after.
</del><ins>+ Add and implement KeyedDecoder::decodeBytes
+ https://bugs.webkit.org/show_bug.cgi?id=132479
</ins><span class="cx">
</span><del>-2013-07-10 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Merge r152426
</del><ins>+ * platform/KeyedCoding.h:
+ (WebCore::KeyedDecoder::decodeBytes):
</ins><span class="cx">
</span><del>- 2013-07-05 Brent Fulgham <bfulgham@apple.com>
</del><ins>+2014-05-02 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- [Windows] Identify OS-level at build-time.
- https://bugs.webkit.org/show_bug.cgi?id=118428
</del><ins>+ [iOS] WebKit2 File Upload Support
+ https://bugs.webkit.org/show_bug.cgi?id=132024
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>- * DerivedSources.make: Activate legible output features if present.
- * WebCorePrefix.h: Activate MSVC 2010 workarounds for CGFloat if
- building with VS2010.
- * config.h: Activate legible output features if present.
</del><ins>+ * English.lproj/Localizable.strings:
+ New localized strings for <input type="file"> on iOS.
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-02 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Merge r152514
</del><ins>+ AX: WK2: iOS web page scrolling doesn't work with VoiceOver
+ https://bugs.webkit.org/show_bug.cgi?id=132028
</ins><span class="cx">
</span><del>- 2013-07-09 Jeff Miller <jeffm@apple.com>
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- AuthenticationMac.mm does not handle NSURLAuthenticationMethodNegotiate in WebCore::mac()
- https://bugs.webkit.org/show_bug.cgi?id=118518
</del><ins>+ With the AX tree residing in the WebProcess, scrolling needs to be implemented in
+ WebCore using accessibilityScroll: in order for accessibility clients to scroll through the AX API.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::scrollViewAncestor):
+ (WebCore::AccessibilityObject::scrollToMakeVisibleWithSubFocus):
+ * accessibility/AccessibilityObject.h:
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.h:
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper _accessibilityConvertPointToViewSpace:]):
+ (-[WebAccessibilityObjectWrapper _accessibilityScrollToVisible]):
+ (-[WebAccessibilityObjectWrapper accessibilityScroll:]):
+ (-[WebAccessibilityObjectWrapper postScrollStatusChangeNotification]):
+ (-[WebAccessibilityObjectWrapper _accessibilityScrollPosition]):
+ (-[WebAccessibilityObjectWrapper _accessibilityScrollSize]):
+ (-[WebAccessibilityObjectWrapper _accessibilityScrollVisibleRect]):
</ins><span class="cx">
</span><del>- * platform/network/mac/AuthenticationMac.mm:
- (WebCore::mac):
- Map ProtectionSpaceAuthenticationSchemeNegotiate to NSURLAuthenticationMethodNegotiate.
</del><ins>+2014-05-02 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Pause playback on exit fullscreen when inline playback not allowed.
+ https://bugs.webkit.org/show_bug.cgi?id=132450
</ins><span class="cx">
</span><del>- Merge r152513
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- 2013-07-09 Jeff Miller <jeffm@apple.com>
</del><ins>+ Use correct method of determining if inline playback is allowed.
</ins><span class="cx">
</span><del>- AuthenticationMac.mm does not handle NSURLAuthenticationMethodNegotiate
- https://bugs.webkit.org/show_bug.cgi?id=118517
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
+ Use m_mediaSession->requiresFullscreenForVideoPlayback to detect if inline playback is allowed.
</ins><span class="cx">
</span><del>- Reviewed by Brady Eidson.
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ (WebVideoFullscreenModelMediaElement::requestExitFullscreen):
+ Prevent duplicate exit requests.
</ins><span class="cx">
</span><del>- * platform/network/mac/AuthenticationMac.mm:
- (WebCore::core):
- Map "NSURLAuthenticationMethodNegotiate" to ProtectionSpaceAuthenticationSchemeNegotiate.
</del><ins>+2014-05-02 Ion Rosca <rosca@adobe.com>
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [CSS Blending] Remove support for non-separable blend modes from background-blend-mode
+ https://bugs.webkit.org/show_bug.cgi?id=132327
</ins><span class="cx">
</span><del>- Merge r152494
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- 2013-07-09 Mark Lam <mark.lam@apple.com>
</del><ins>+ Removed support for non-separable background blend modes from the CSS parser.
+ Covered by existing tests.
</ins><span class="cx">
</span><del>- Fix 30% JSBench regression (caused by adding column numbers to stack traces).
- https://bugs.webkit.org/show_bug.cgi?id=118481.
</del><ins>+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseFillProperty):
</ins><span class="cx">
</span><del>- Reviewed by Mark Hahnenberg and Geoffrey Garen.
</del><ins>+2014-05-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- Test: fast/js/line-column-numbers.html
</del><ins>+ Clean up #include <OwnPtr.h>|<PassOwnPtr.h> in Supplementable classes
+ https://bugs.webkit.org/show_bug.cgi?id=132466
</ins><span class="cx">
</span><del>- Updated the bindings to use StackFrame::computeLineAndColumn(). The old
- StackFrame::line() and StackFrame::column() has been removed. The new
- algorithm always computes the 2 values together anyway. Hence it is more
- efficient to return them as a pair instead of doing the same computation
- twice for each half of the result.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * bindings/js/ScriptCallStackFactory.cpp:
- (WebCore::createScriptCallStack):
- (WebCore::createScriptCallStackFromException):
- * bindings/js/ScriptSourceCode.h:
- (WebCore::ScriptSourceCode::ScriptSourceCode):
</del><ins>+ Since r168144, Supplementable classes don't need to include OwnPtr.h or PassOwnPtr.h.
+ Clean up those inclusions.
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ No new tests, just clean up patch.
</ins><span class="cx">
</span><del>- Merge r152453
</del><ins>+ * Modules/encryptedmedia/CDMPrivate.h:
+ * Modules/gamepad/NavigatorGamepad.cpp:
+ * Modules/geolocation/GeolocationController.cpp:
+ (WebCore::GeolocationController::create): Deleted. Don't need to have a factory function.
+ * Modules/geolocation/GeolocationController.h:
+ * Modules/mediasource/MediaSource.h:
+ * Modules/mediastream/UserMediaController.h:
+ * Modules/notifications/NotificationCenter.h:
+ * Modules/notifications/NotificationController.cpp:
+ * Modules/quota/StorageErrorCallback.h:
+ * Modules/vibration/Vibration.h:
+ * Modules/webdatabase/Database.cpp:
+ * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
+ * Modules/websockets/WebSocket.cpp:
+ * Modules/websockets/WebSocket.h:
</ins><span class="cx">
</span><del>- 2013-07-08 Andreas Kling <akling@apple.com>
</del><ins>+2014-05-01 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- REGRESSION(r125294): A style rule with more than 8192 selectors can cause style corruption.
- <http://webkit.org/b/118369>
- <rdar://problem/14291428>
</del><ins>+ Remove TiledBackingStore stuff from Frame
+ https://bugs.webkit.org/show_bug.cgi?id=132458
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Add a semi-hard cap of 8192 selectors per CSS rule. Rules with longer selector lists will be split into
- multiple rules (with 8192 selectors per rule.) The style properties are shared behind the scenes
- so it's all pretty efficient.
</del><ins>+ Although TiledBackingStore is using for the CoordinatedGraphics,
+ CoordinatedGraphics does not use tiledBackingStore of Frame.
</ins><span class="cx">
</span><del>- This does generate a different CSSOM for gigantic selector lists, I've added a test to document this.
- Note that setting CSSStyleRule.selectorText with over 8192 selectors will now fail, the splitting into
- multiple rules only happens when parsing full style sheets.
</del><ins>+ This patch removed TiledBackingStore related code of the Frame.
</ins><span class="cx">
</span><del>- Test: fast/css/rule-selector-overflow.html
</del><ins>+ * page/Frame.cpp:
+ (WebCore::Frame::Frame):
+ (WebCore::Frame::setView):
+ (WebCore::Frame::setTiledBackingStoreEnabled): Deleted.
+ (WebCore::Frame::tiledBackingStorePaintBegin): Deleted.
+ (WebCore::Frame::tiledBackingStorePaint): Deleted.
+ (WebCore::Frame::tiledBackingStorePaintEnd): Deleted.
+ (WebCore::Frame::tiledBackingStoreContentsRect): Deleted.
+ (WebCore::Frame::tiledBackingStoreVisibleRect): Deleted.
+ (WebCore::Frame::tiledBackingStoreBackgroundColor): Deleted.
+ * page/Frame.h:
+ (WebCore::Frame::tiledBackingStore): Deleted.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::repaintContentRectangle):
+ * page/Settings.cpp:
+ (WebCore::Settings::Settings):
+ (WebCore::Settings::setTiledBackingStoreEnabled): Deleted.
+ * page/Settings.h:
+ (WebCore::Settings::tiledBackingStoreEnabled): Deleted.
</ins><span class="cx">
</span><del>- * css/CSSSelectorList.cpp:
- (WebCore::CSSSelectorList::selectorCount):
</del><ins>+2014-05-01 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- Add a helper to count the number of selectors in a list (not the number of raw selector components.)
</del><ins>+ Migrate all uses of DeviceMotionController and DeviceOrientationController to std::unique_ptr
+ https://bugs.webkit.org/show_bug.cgi?id=132461
</ins><span class="cx">
</span><del>- * css/RuleSet.h:
- * css/CSSStyleRule.cpp:
- (WebCore::CSSStyleRule::setSelectorText):
</del><ins>+ Unreviewed build fix.
</ins><span class="cx">
</span><del>- Add RuleData::maximumSelectorCount constant and cap CSSStyleRule.selectorText to that many selectors.
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- * css/CSSSelectorList.h:
- (WebCore::CSSSelectorList::adoptSelectorArray):
- * css/StyleRule.cpp:
- (WebCore::StyleRule::create):
- (WebCore::StyleRule::splitIntoMultipleRulesWithMaximumSelectorCount):
- * css/StyleRule.h:
- (WebCore::StyleRule::parserAdoptSelectorArray):
- * css/StyleSheetContents.cpp:
- (WebCore::StyleSheetContents::parserAppendRule):
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::Document):
+ * dom/Document.h:
+ * platform/ios/DeviceMotionClientIOS.h:
+ (WebCore::DeviceMotionClientIOS::create): Deleted.
+ * platform/ios/DeviceOrientationClientIOS.h:
+ (WebCore::DeviceOrientationClientIOS::create): Deleted.
</ins><span class="cx">
</span><del>- The meat of this change. Split rules with >8K selectors into multiple rules with 8K selectors in each.
</del><ins>+2014-05-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- * css/StyleRule.h:
- (WebCore::toStyleRule):
</del><ins>+ Convert OwnPtr and PassOwnPtr uses to std::unique_ptr in Supplement
+ https://bugs.webkit.org/show_bug.cgi?id=132165
</ins><span class="cx">
</span><del>- Added a toStyleRule() helper for good measure.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ According to convert from PassOwnPtr to std::unique_ptr, provideTo() callers also begin
+ to use std::make_unique.
</ins><span class="cx">
</span><del>- Merge r152434
</del><ins>+ * Modules/battery/BatteryController.cpp:
+ (WebCore::provideBatteryTo):
+ * Modules/battery/BatteryController.h:
+ * Modules/battery/NavigatorBattery.cpp:
+ (WebCore::NavigatorBattery::from):
+ * Modules/gamepad/NavigatorGamepad.cpp:
+ (WebCore::NavigatorGamepad::from):
+ * Modules/geolocation/GeolocationController.cpp:
+ (WebCore::provideGeolocationTo):
+ * Modules/geolocation/GeolocationController.h:
+ * Modules/geolocation/NavigatorGeolocation.cpp:
+ (WebCore::NavigatorGeolocation::from):
+ * Modules/indexeddb/DOMWindowIndexedDatabase.cpp:
+ (WebCore::DOMWindowIndexedDatabase::from):
+ * Modules/indexeddb/PageGroupIndexedDatabase.cpp:
+ (WebCore::PageGroupIndexedDatabase::from):
+ * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp:
+ (WebCore::WorkerGlobalScopeIndexedDatabase::from):
+ * Modules/mediastream/UserMediaController.cpp:
+ (WebCore::provideUserMediaTo):
+ (WebCore::UserMediaController::create): Deleted.
+ * Modules/mediastream/UserMediaController.h:
+ * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
+ (WebCore::provideNavigatorContentUtilsTo):
+ (WebCore::NavigatorContentUtils::create): Deleted.
+ * Modules/navigatorcontentutils/NavigatorContentUtils.h:
+ * Modules/notifications/DOMWindowNotifications.cpp:
+ (WebCore::DOMWindowNotifications::from):
+ * Modules/notifications/NotificationController.cpp:
+ (WebCore::provideNotification):
+ (WebCore::NotificationController::create): Deleted.
+ * Modules/notifications/NotificationController.h:
+ * Modules/notifications/WorkerGlobalScopeNotifications.cpp:
+ (WebCore::WorkerGlobalScopeNotifications::from):
+ * Modules/proximity/DeviceProximityController.cpp:
+ (WebCore::provideDeviceProximityTo):
+ (WebCore::DeviceProximityController::create): Deleted.
+ * Modules/proximity/DeviceProximityController.h:
+ * Modules/quota/DOMWindowQuota.cpp:
+ (WebCore::DOMWindowQuota::from):
+ * Modules/quota/NavigatorStorageQuota.cpp:
+ (WebCore::NavigatorStorageQuota::from):
+ * Modules/quota/WorkerNavigatorStorageQuota.cpp:
+ (WebCore::WorkerNavigatorStorageQuota::from):
+ * Modules/speech/DOMWindowSpeechSynthesis.cpp:
+ (WebCore::DOMWindowSpeechSynthesis::from):
+ * Modules/speech/SpeechRecognitionController.cpp:
+ (WebCore::provideSpeechRecognitionTo):
+ * Modules/vibration/Vibration.cpp:
+ (WebCore::provideVibrationTo):
+ (WebCore::Vibration::create): Deleted.
+ * Modules/vibration/Vibration.h:
+ * dom/DeviceMotionController.cpp:
+ (WebCore::provideDeviceMotionTo):
+ (WebCore::DeviceMotionController::create): Deleted.
+ * dom/DeviceMotionController.h:
+ * dom/DeviceOrientationController.cpp:
+ (WebCore::provideDeviceOrientationTo):
+ (WebCore::DeviceOrientationController::create): Deleted.
+ * dom/DeviceOrientationController.h:
+ * page/SpeechInput.cpp:
+ (WebCore::provideSpeechInputTo):
+ (WebCore::SpeechInput::create): Deleted.
+ * page/SpeechInput.h:
+ * platform/Supplementable.h:
+ (WebCore::Supplement::provideTo):
+ (WebCore::Supplementable::provideSupplement):
+ * testing/InternalSettings.cpp:
+ (WebCore::InternalSettings::from):
</ins><span class="cx">
</span><del>- 2013-07-05 Tim Horton <timothy_horton@apple.com>
</del><ins>+2014-05-01 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Tons of crashes on bots after r152425
- https://bugs.webkit.org/show_bug.cgi?id=118440
- <rdar://problem/14366772>
</del><ins>+ HTMLMediaElement: Remove two unnecessary virtual overrides.
+ <https://webkit.org/b/132445>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Now that ENABLE_PLUGIN_PROXY_FOR_VIDEO is gone, we can remove
+ these overrides:
</ins><span class="cx">
</span><del>- Null-check the frame's page and early return. It's OK to do this
- because it only happens when we're being torn down.
</del><ins>+ - defaultEventHandler()
+ - willRespondToMouseClickEvents()
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::minimumScrollPosition):
- (WebCore::FrameView::maximumScrollPosition):
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * html/HTMLMediaElement.cpp:
+ * html/HTMLMediaElement.h:
</ins><span class="cx">
</span><del>- Merge r152433
</del><ins>+2014-05-01 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- 2013-07-05 Tim Horton <timothy_horton@apple.com>
</del><ins>+ ViewportConfiguration::minimumScale() uses the initial scale as initial value
+ https://bugs.webkit.org/show_bug.cgi?id=132451
+ <rdar://problem/16780111>
</ins><span class="cx">
</span><del>- Fix r152265: FrameView's pagination mode is only one of two, and the logic was totally wrong
- https://bugs.webkit.org/show_bug.cgi?id=118439
- <rdar://problem/14366120>
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * page/ViewportConfiguration.cpp:
+ (WebCore::ViewportConfiguration::minimumScale):
+ The initial minimum scale was set to the initial scale, preventing some pages from zooming
+ out.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::maximumScrollPosition):
- - Test both Page and FrameView's pagination modes.
- - *Don't* clamp negatives to zero if we are paginated with scroll offset set,
- like the original changelog claimed, but the code did the opposite.
- - Don't clamp in *all* pagination modes; with 'direction: RTL' it's still possible
- to have a negative maximum position in LTR/TB pagination modes.
</del><ins>+2014-05-01 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Build fix for !ENABLE(BLOB) builds.
</ins><span class="cx">
</span><del>- Merge r152430
</del><ins>+ * fileapi/ThreadableBlobRegistry.cpp:
+ (WebCore::ThreadableBlobRegistry::registerBlobURL):
+ (WebCore::ThreadableBlobRegistry::registerBlobURLForSlice):
</ins><span class="cx">
</span><del>- 2013-07-05 Sam Weinig <sam@webkit.org>
</del><ins>+2014-05-01 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- WKPageFindStringMatches with kWKFindOptionsBackwards still doesn't work
- <rdar://problem/13881024>
- https://bugs.webkit.org/show_bug.cgi?id=118436
</del><ins>+ Move size computation for Blob constructor into BlobRegistryImpl
+ https://bugs.webkit.org/show_bug.cgi?id=132439
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * page/Page.cpp:
- (WebCore::Page::findStringMatchingRanges):
- - When searching backwards, use END_TO_START rather than START_TO_END.
- - If there is no selection and we are searching backwards, we now select the last item,
- not the first.
</del><ins>+ * Modules/websockets/WebSocket.cpp: (WebCore::WebSocket::didReceiveBinaryData):
+ Don't pass the size, anyone who cares can get it from BlobData.
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * bindings/js/JSBlobCustom.cpp: (WebCore::JSBlobConstructor::constructJSBlob):
+ Updated for BlobBuilder changes.
</ins><span class="cx">
</span><del>- Merge r152425
</del><ins>+ * fileapi/Blob.cpp: (WebCore::Blob::Blob):
+ * fileapi/Blob.h: (WebCore::Blob::create):
+ No longer take a precomputed size with BlobData, BlobRegistry will compute it as
+ part of registration.
</ins><span class="cx">
</span><del>- 2013-07-05 Tim Horton <timothy_horton@apple.com>
</del><ins>+ * fileapi/File.h:
+ * fileapi/File.cpp:
+ (WebCore::File::File): Don't pass a size (that's unknown anyway).
+ (WebCore::File::captureSnapshot): Deleted. Finally, only the registry is responsible
+ for snapshot tracking now (I doubt that either new or old code is particularly compliant).
</ins><span class="cx">
</span><del>- [wk2] Add API to lock the scroll position at the top or bottom of the page
- https://bugs.webkit.org/show_bug.cgi?id=118429
- <rdar://problem/14120323>
</del><ins>+ * fileapi/ThreadableBlobRegistry.cpp:
+ (WebCore::ThreadableBlobRegistry::registerBlobURL):
+ * fileapi/ThreadableBlobRegistry.h:
+ Plumbing to make this version of registerBlobURL return a size. I may make size
+ calculation lazy and the function async later, but this is needed to move the behavior
+ to the right place first.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * fileapi/WebKitBlobBuilder.h:
+ * fileapi/WebKitBlobBuilder.cpp:
+ (WebCore::BlobBuilder::BlobBuilder):
+ (WebCore::BlobBuilder::append):
+ (WebCore::BlobBuilder::appendBytesData):
+ (WebCore::BlobBuilder::finalize):
+ (WebCore::BlobBuilder::getBlob): Deleted.
+ Don't track sizes or modification times, registry will do that with appropriate laziness.
+ Cleaned up the API - now that BlobBuilder is not exposed to JS as an object, it
+ does not need to be reusable.
</ins><span class="cx">
</span><del>- Test (API): WebKit2.ScrollPinningBehaviors
</del><ins>+ * platform/network/BlobRegistry.h: Made this version of registerBlobURL return a size.
+ * platform/network/BlobRegistryImpl.h:
+ * platform/network/BlobRegistryImpl.cpp:
+ (WebCore::BlobRegistryImpl::appendStorageItems): Assert that length computations are accurate.
+ (WebCore::BlobRegistryImpl::registerBlobURL): Compute a size to return, and record
+ modification time as necessary.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- Expose FrameView::setScrollPinningBehavior.
</del><ins>+ * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::responseBlob): Don't pass the
+ size, which can be computed from data. Soon, I want to add a constructor that doesn't
+ require wrapping a single Vector as BlobData to construct a Blob.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::FrameView):
- Our pinning behavior should be DoNotPin by default.
</del><ins>+2014-05-01 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::minimumScrollPosition):
- (WebCore::FrameView::maximumScrollPosition):
- * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
- (WebCore::ScrollingTreeScrollingNodeMac::minimumScrollPosition):
- (WebCore::ScrollingTreeScrollingNodeMac::maximumScrollPosition):
- Fix the minimum scroll position's vertical location to the maximum if
- we're pinned to the bottom, and vice-versa if we're pinned to the top.
</del><ins>+ [iOS] audio and video should automatically play to active external device
+ https://bugs.webkit.org/show_bug.cgi?id=132428
</ins><span class="cx">
</span><del>- (WebCore::FrameView::setScrollPinningBehavior): Added.
- If scroll pinning behavior has changed, inform ScrollingCoordinator
- and update scrollbars (which will also re-pin the scroll position).
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- * page/FrameView.h:
- Override minimumScrollPosition, add setScrollPinningBehavior,
- and storage for m_scrollPinningBehavior.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): Set
+ AVPlayer.usesExternalPlaybackWhileExternalScreenIsActive.
</ins><span class="cx">
</span><del>- * page/scrolling/ScrollingCoordinator.h:
- (WebCore::ScrollingCoordinator::setScrollPinningBehavior): Added.
</del><ins>+2014-05-01 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- * page/scrolling/ScrollingTree.cpp:
- (WebCore::ScrollingTree::ScrollingTree):
- Our pinning behavior should be DoNotPin by default.
</del><ins>+ REGRESSION (r168046): [New Multicolumn] Selection into and out of column-span elements doesn't work
+ https://bugs.webkit.org/show_bug.cgi?id=132066
</ins><span class="cx">
</span><del>- (WebCore::ScrollingTree::setScrollPinningBehavior):
- (WebCore::ScrollingTree::scrollPinningBehavior):
- Getter/setter for m_scrollPinningBehavior, scrolling-thread-safe.
</del><ins>+ Reviewed by Oliver Hunt.
</ins><span class="cx">
</span><del>- * page/scrolling/ScrollingTree.h:
- * page/scrolling/mac/ScrollingCoordinatorMac.h:
- * page/scrolling/mac/ScrollingCoordinatorMac.mm:
- (WebCore::ScrollingCoordinatorMac::setScrollPinningBehavior):
- Inform ScrollingTree of the scroll pinning behavior change.
</del><ins>+ Make a new SelectionIterator struct that knows how to drill into and out of
+ column span placeholders. Also change spans to be selection roots (in the painting
+ sense).
</ins><span class="cx">
</span><del>- * platform/ScrollTypes.h:
- Add ScrollPinningBehavior enum.
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::isSelectionRoot):
+ (WebCore::RenderBlock::selectionGaps):
+ * rendering/RenderView.cpp:
+ (WebCore::SelectionIterator::SelectionIterator):
+ (WebCore::SelectionIterator::checkForSpanner):
+ (WebCore::SelectionIterator::current):
+ (WebCore::SelectionIterator::next):
+ (WebCore::RenderView::subtreeSelectionBounds):
+ (WebCore::RenderView::repaintSubtreeSelection):
+ (WebCore::RenderView::setSubtreeSelection):
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-01 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge r152424
</del><ins>+ Don't always make backing store for -webkit-backface-visibility:hidden
+ https://bugs.webkit.org/show_bug.cgi?id=132420
</ins><span class="cx">
</span><del>- 2013-07-05 Zalan Bujtas <zalan@apple.com>
</del><ins>+ Reviewed by Sam Weinig.
+
+ Previously, -webkit-backface-visibility:hidden unconditionally created
+ compositing layers with backing store. This results in high memory use
+ on pages with this style applied to many elements (a cargo-cult "optimization").
+
+ Fix by only having -webkit-backface-visibility:hidden create compositing layers
+ if some ancestor has a 3D transform. That's the only scenario in which the
+ element can be flipped around to reveal the back side, so the only time we need
+ to do compositing for this property. In future, we could be smarter, and only
+ consider 3D transforms in the current preserve-3d context.
</ins><span class="cx">
</span><del>- iframe constrained by max-width in full screen
- https://bugs.webkit.org/show_bug.cgi?id=118250
</del><ins>+ Tests: compositing/backing/backface-visibility-in-3dtransformed.html
+ compositing/backing/backface-visibility-in-transformed.html
+ compositing/backing/backface-visibility.html
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::RenderLayer):
+ (WebCore::RenderLayer::updateLayerPositions):
+ (WebCore::RenderLayer::hitTestLayer):
+ * rendering/RenderLayer.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::requiresCompositingLayer):
+ (WebCore::RenderLayerCompositor::requiresOwnBackingStore):
+ (WebCore::RenderLayerCompositor::requiresCompositingForBackfaceVisibility):
+ * rendering/RenderLayerCompositor.h:
</ins><span class="cx">
</span><del>- Ensure that contents inside iframe can go full screen properly.
</del><ins>+2014-05-01 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Set max-width and max-height values to the default 'none', so that iframes are not
- constrained when entering full screen.
</del><ins>+ Finish updating ANGLE.
+ https://bugs.webkit.org/show_bug.cgi?id=132434
</ins><span class="cx">
</span><del>- Test: fullscreen/full-screen-iframe-with-max-width-height.html
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * css/fullscreen.css:
- (iframe:-webkit-full-screen):
</del><ins>+ * CMakeLists.txt:
+ Removed Uniform.cpp which is no longer in ANGLE.
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-05-01 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Merge r152422
</del><ins>+ REGRESSION (new multi-column): WebKit2.ResizeReversePaginatedWebView fails on debug bots
+ https://bugs.webkit.org/show_bug.cgi?id=132429
</ins><span class="cx">
</span><del>- 2013-07-05 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Reviewed by Alexey Proskuryakov.
+
+ Make sure to get the column count directly from the column set.
+ I was returning the theoretical column count from the flow thread,
+ and that wasn't the right value.
</ins><span class="cx">
</span><del>- [Mac] .webkitClosedCaptionsVisible doesn't work with "Automatic" caption mode
- https://bugs.webkit.org/show_bug.cgi?id=118319
</del><ins>+ * rendering/RenderMultiColumnSet.h:
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::pageCount):
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+2014-05-01 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Track when captions are enabled with the old 'webkitClosedCaptionsVisible' attribute and
- consider that when determining which track should be enabled.
</del><ins>+ Fix handling of attributes prior to compiling shader
+ https://bugs.webkit.org/show_bug.cgi?id=132430
</ins><span class="cx">
</span><del>- Test: media/track/track-legacyapi-with-automatic-mode.html
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize m_webkitLegacyClosedCaptionOverride.
- (WebCore::HTMLMediaElement::setWebkitClosedCaptionsVisible): Set m_webkitLegacyClosedCaptionOverride.
- (WebCore::HTMLMediaElement::webkitClosedCaptionsVisible): Return m_webkitLegacyClosedCaptionOverride.
- * html/HTMLMediaElement.h:
</del><ins>+ WebGL programs that called bindAttribLocations prior to compiling shader sources
+ would perform the bind using the non-hashed symbol name, but would later create
+ the attributes as hashed names. Consequently, the program would refer to
+ attributes that were never actually part of any shader, resulting in some amazing
+ display artifacts.
</ins><span class="cx">
</span><del>- * page/CaptionUserPreferencesMediaAF.cpp:
- (WebCore::CaptionUserPreferencesMediaAF::textTrackSelectionScore): Don't apply "automatic"
- logic when captions were enabled with .webkitClosedCaptionsVisible.
</del><ins>+ This patch adds a dictionary of hashed symbol names so that we can tell the WebGL
+ program the proper name that will be used when the shader is eventually compiled,
+ allowing the WebGL program to link against the proper symbol after compiling and
+ linking completes.
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/graphics/GraphicsContext3D.h:
+ * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
+ (WebCore::generateHashedName): Function uses the ANGLE hashing
+ function to generate correct symbol.
+ (WebCore::GraphicsContext3D::mappedSymbolName): If we haven't compiled shaders yet, look
+ in our set of potentially unused attributes.
+ (WebCore::GraphicsContext3D::originalSymbolName): Ditto, for reverse lookup.
</ins><span class="cx">
</span><del>- Merge r152383
</del><ins>+2014-05-01 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- 2013-07-03 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Subpixel rendering: Make selection gaps painting subpixel aware.
+ https://bugs.webkit.org/show_bug.cgi?id=132169
</ins><span class="cx">
</span><del>- [Windows] Updates to support changes in CoreGraphics libraries.
- https://bugs.webkit.org/show_bug.cgi?id=118373
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Push selection gaps painting to device pixel boundaries instead of integral CSS pixel positions.
</ins><span class="cx">
</span><del>- * WebCorePrefix.h: Include definitions for isnan/round/roundf for versions of
- Visual Studio that do not provide them natively.
</del><ins>+ Test: fast/inline/hidpi-selection-gap-on-subpixel-position.html
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::blockSelectionGap):
+ (WebCore::RenderBlock::logicalLeftSelectionGap):
+ (WebCore::RenderBlock::logicalRightSelectionGap):
</ins><span class="cx">
</span><del>- Merge r152382
</del><ins>+2014-05-01 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- 2013-07-03 Gordon Sheridan <gordon_sheridan@apple.com>
</del><ins>+ Really remove ENABLE_PLUGIN_PROXY_FOR_VIDEO
+ <http://webkit.org/b/132432>
</ins><span class="cx">
</span><del>- Implement mechanism to detect (partially) hidden blocked plugins.
- https://bugs.webkit.org/show_bug.cgi?id=117998
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ * platform/graphics/wince/MediaPlayerPrivateWinCE.h: Remove
+ methods and ivar in ENABLE(PLUGIN_PROXY_FOR_VIDEO).
</ins><span class="cx">
</span><del>- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::RenderEmbeddedObject::replacementTextRect):
- Added private method for calculating the size of the replacement text for blocked plugins.
</del><ins>+2014-05-01 Javier Fernandez <jfernandez@igalia.com>
</ins><span class="cx">
</span><del>- (WebCore::RenderEmbeddedObject::isReplacementObscured):
- Added public method to determine if the EMBED element used for a blocked plugin is inaccessible to the user.
- * rendering/RenderEmbeddedObject.h:
- Declare the two new methods mentioned above.
</del><ins>+ [CSS Grid Layout] Clamping the number of repetitions in repeat()
+ https://bugs.webkit.org/show_bug.cgi?id=131023
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- Export RenderEmbeddedObject::isReplacementObscured().
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ The ED suggests now to be able to clamp the number of repetitions when
+ using the repeat() function, taking precautions about excessive memory
+ usage.
</ins><span class="cx">
</span><del>- Merge r152348
</del><ins>+ The implemented max repetitions is 10K.
</ins><span class="cx">
</span><del>- 2013-07-03 Zalan Bujtas <zalan@apple.com>
</del><ins>+ Test: fast/css-grid-layout/grid-element-repeat-max-repetitions.html
</ins><span class="cx">
</span><del>- H&R Block 2010 Help window can not be reopened.
- https://bugs.webkit.org/show_bug.cgi?id=118342
</del><ins>+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseGridTrackRepeatFunction):
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+2014-04-30 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- http://trac.webkit.org/changeset/118916 changed the window.focus() behaviour so that
- only the opener can (re)focus() a particular window.
- H&R Block app relies on the relaxed window.focus() rules.
</del><ins>+ [MSE] Seeking between two buffered ranges enquues incorrect buffers.
+ https://bugs.webkit.org/show_bug.cgi?id=132416
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * platform/RuntimeApplicationChecks.cpp:
- (WebCore::applicationIsHRBlock):
- * platform/RuntimeApplicationChecks.h:
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-07-09 Lucas Forschler <lforschler@apple.com>
</del><ins>+ std::equal_range(begin, end, value) will return an empty range if equal values cannot
+ be found. But the range is not necessarily [end, end). It may be some other value n,
+ such that the empty range is [n, n). Check to see if the returned range is empty in
+ findSampleContainingPresentationTime() and its reverse version, and if so, explicitly
+ return presentationEnd() or reversePresentationEnd() respectively.
</ins><span class="cx">
</span><del>- Merge r152324
</del><ins>+ Drive-by fix: make the comparator functions take const& arguments to minimize object
+ creation.
</ins><span class="cx">
</span><del>- 2013-07-02 Jer Noble <jer.noble@apple.com>
</del><ins>+ * Modules/mediasource/SampleMap.cpp:
+ (WebCore::SampleIsLessThanMediaTimeComparator::operator()):
+ (WebCore::SampleIsGreaterThanMediaTimeComparator::operator()):
+ (WebCore::SampleMap::findSampleContainingPresentationTime):
+ (WebCore::SampleMap::reverseFindSampleContainingPresentationTime):
</ins><span class="cx">
</span><del>- media/unsupported-rtsp.html is failing
- https://bugs.webkit.org/show_bug.cgi?id=118327
</del><ins>+2014-05-01 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Subpixel rendering: Inline text selection painting should not snap to integral CSS pixel position.
+ https://bugs.webkit.org/show_bug.cgi?id=132164
</ins><span class="cx">
</span><del>- Fixes the media/unsupported-rtsp.html test.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Set the contentType field of contentInformationRequest in order to trigger AVFoundation to
- notice that loading failed and generate an error.
</del><ins>+ Inline text selection painting now snaps to device pixels. It uses the same rounding logic as
+ other painting functions.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
- (WebCore::WebCoreAVFResourceLoader::notifyFinished):
</del><ins>+ Test: fast/inline/hidpi-select-inline-on-subpixel-position.html
</ins><span class="cx">
</span><del>-2013-07-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/EllipsisBox.cpp:
+ (WebCore::EllipsisBox::paintSelection):
+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::paintSelection):
+ (WebCore::alignSelectionRectToDevicePixels): Deleted.
+ * rendering/InlineTextBox.h:
</ins><span class="cx">
</span><del>- Merge r152315
</del><ins>+2014-05-01 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- 2013-07-02 Anders Carlsson <andersca@apple.com>
</del><ins>+ [EFL] There are many warnings with software backend
+ https://bugs.webkit.org/show_bug.cgi?id=132422
</ins><span class="cx">
</span><del>- Always flip the coordinate system before drawing NSViews from Widget::paint
- https://bugs.webkit.org/show_bug.cgi?id=118318
- <rdar://problem/13895483>
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ ecore_evas_gl_x11_window_get should be called when only engine is opengl_x11.
</ins><span class="cx">
</span><del>- Undo the change that would not flip on 10.9; turns out the bug was in AppKit. Also remove the
- _hasCanDrawSubviewsIntoLayerOrAncestor workaround since drawing works correctly now.
</del><ins>+ This patch refactors not to call unnecessary API by checking engine type.
+ In addition, removed unnecessary isUsingEcoreX().
</ins><span class="cx">
</span><del>- Also, pass flipped:NO when creating the NSGraphicsContext to indicate that the graphics context
- is unflipped as far as AppKit knows (since we flipped it earlier).
</del><ins>+ * platform/efl/EflScreenUtilities.cpp:
+ (WebCore::applyFallbackCursor):
+ (WebCore::getEcoreXWindow):
+ (WebCore::isUsingEcoreX): Deleted.
+ * platform/efl/EflScreenUtilities.h:
</ins><span class="cx">
</span><del>- * platform/mac/WidgetMac.mm:
- (WebCore::Widget::paint):
</del><ins>+2014-05-01 Rik Cabanier <cabanier@adobe.com>
</ins><span class="cx">
</span><del>-2013-07-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Calling createPattern with a broken image must throw an invalidstate error
+ https://bugs.webkit.org/show_bug.cgi?id=132407
</ins><span class="cx">
</span><del>- Merge r152303
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- 2013-07-02 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Per the WebIDL spec, passing non-finite parameter to a method that
+ takes doubles, should generate a type error.
</ins><span class="cx">
</span><del>- constrainScrollPositionForOverhang needs to handle scrollOrigin correctly
- https://bugs.webkit.org/show_bug.cgi?id=118176
- <rdar://problem/14301271>
</del><ins>+ Tests:
+ * canvas/philip/tests/2d.imageData.create2.nonfinite.html:
+ * fast/canvas/canvas-2d-imageData-create-nonfinite.html:
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::createImageData):
</ins><span class="cx">
</span><del>- Test: compositing/geometry/fixed-position-flipped-writing-mode.html
</del><ins>+2014-04-30 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- WebCore makes use of constrainScrollPositionForOverhang not only for
- constraining fixed- and sticky-positioned elements to the viewport, but
- also for clamping the tile cache's visible rect.
</del><ins>+ REGRESSION (r168046): [New Multicolumn] LeftToRight-rl.html (and all the other reversed/block-axis pagination tests) fail
+ https://bugs.webkit.org/show_bug.cgi?id=132419
</ins><span class="cx">
</span><del>- Therefore, constrainScrollPositionForOverhang needs to correctly take
- the scrollOrigin into account. The easiest way I saw to do this was to
- reimplement the function in terms of a pair of rect intersections
- between a virtual scrollable "viewport" and the document (with a bit
- of complication from headers and footers).
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- The first intersection is performed, then if the viewport doesn't fit,
- it is pushed down and to the right, from the origin. Next, we intersect
- again, this time pushing the rect up by the amount it overflowed the document
- rect from the bottom right. This performs effectively the same constraint
- as previously, but handles the scrollOrigin correctly and is also somewhat
- easier to read and understand (with pictures).
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::initialBlockOffsetForPainting):
+ Don't flip here. The old code needed to do that, but the new code doesn't.
</ins><span class="cx">
</span><del>- * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
- (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
- Subtract the scrollOrigin out of the offset passed to scrollOffsetForFixedPosition,
- it's expecting an offset without the origin included.
</del><ins>+2014-04-30 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- * platform/ScrollableArea.cpp:
- (WebCore::ScrollableArea::constrainScrollPositionForOverhang):
- Reimplement the function as described above.
</del><ins>+ Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637:
+ Clean up unnecessary methods in the BackForwardClient interface
</ins><span class="cx">
</span><del>-2013-07-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+ It broke a regression test and an API test.
</ins><span class="cx">
</span><del>- Rollout r151510. <rdar://problem/14380353>
</del><ins>+ * WebCore.exp.in:
+ * history/BackForwardClient.h:
+ (WebCore::BackForwardClient::backItem):
+ (WebCore::BackForwardClient::currentItem):
+ (WebCore::BackForwardClient::forwardItem):
+ * history/BackForwardController.cpp:
+ (WebCore::BackForwardController::BackForwardController):
+ * history/BackForwardController.h:
+ (WebCore::BackForwardController::client):
+ * history/BackForwardList.cpp:
+ (WebCore::BackForwardList::BackForwardList):
+ (WebCore::BackForwardList::close):
+ * history/BackForwardList.h:
+ (WebCore::BackForwardList::create):
+ (WebCore::BackForwardList::page):
+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ (WebCore::Page::PageClients::PageClients):
+ * page/Page.h:
</ins><span class="cx">
</span><del>-2013-07-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-30 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge r152306
</del><ins>+ More iOS build fixing. MediaPlayerPrivateIOS is defunct and can be removed.
+ Fix some build errors in other media files.
</ins><span class="cx">
</span><del>- 2013-07-02 Geoffrey Garen <ggaren@apple.com>
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/graphics/MediaPlayer.cpp:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ * platform/graphics/ios/MediaPlayerPrivateIOS.h: Removed.
+ * platform/graphics/ios/MediaPlayerPrivateIOS.mm: Removed.
</ins><span class="cx">
</span><del>- plainText() is O(N^2)
- https://bugs.webkit.org/show_bug.cgi?id=118282
- <rdar://problem/14284360>
</del><ins>+2014-04-30 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Fix the iOS build, which no longer needs these calls
+ to enter/exitFullscreen.
</ins><span class="cx">
</span><del>- * editing/TextIterator.cpp:
- (WebCore::plainText): Linear growth for a vector data type is O(N^2).
- Don't do that. Luckily, StringBuilder does the right thing automatically,
- so we can just delete code.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
</ins><span class="cx">
</span><del>-2013-07-08 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-30 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge r151737
</del><ins>+ Remove ENABLE_PLUGIN_PROXY_FOR_VIDEO
+ https://bugs.webkit.org/show_bug.cgi?id=132396
</ins><span class="cx">
</span><del>- 2013-06-19 Robert Hogan <robert@webkit.org>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Incorrect computation of shrink-to-fit width for block with white-space:nowrap and floating children
- https://bugs.webkit.org/show_bug.cgi?id=114879
</del><ins>+ Remove ENABLE_PLUGIN_PROXY_FOR_VIDEO and related code.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
- Per http://www.w3.org/TR/CSS21/visudet.html#Computing_widths_and_margins when width is auto then floating non-replaced,
- absolute non-replaced, and inline-block non-replaced elements should use shrink-to-fit width. This trumps any no-wrap property
- on the element so if we are shrinking to fit ensure our minimum width respects all possible line breaks.
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
+ * WebCore.exp.in:
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::canShareStyleWithElement):
+ * dom/DOMImplementation.cpp:
+ (WebCore::DOMImplementation::createDocument):
+ * editing/TextIterator.cpp:
+ (WebCore::isRendererReplacedElement):
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::HTMLMediaElement):
+ (WebCore::HTMLMediaElement::parseAttribute):
+ * html/HTMLMediaElement.h:
+ (WebCore::HTMLMediaElement::setNeedWidgetUpdate): Deleted.
+ * html/HTMLMediaSession.cpp:
+ (WebCore::HTMLMediaSession::showPlaybackTargetPicker):
+ (WebCore::HTMLMediaSession::hasWirelessPlaybackTargets):
+ (WebCore::HTMLMediaSession::setHasPlaybackTargetAvailabilityListeners):
+ * html/HTMLVideoElement.cpp:
+ (WebCore::HTMLVideoElement::createElementRenderer):
+ (WebCore::HTMLVideoElement::didAttachRenderers):
+ (WebCore::HTMLVideoElement::parseAttribute):
+ (WebCore::HTMLVideoElement::setDisplayMode):
+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlTextTrackContainerElement::updateSizes):
+ * loader/EmptyClients.cpp:
+ (WebCore::EmptyFrameLoaderClient::createMediaPlayerProxyPlugin): Deleted.
+ * loader/EmptyClients.h:
+ * loader/FrameLoaderClient.h:
+ * loader/SubframeLoader.cpp:
+ (WebCore::SubframeLoader::loadPlugin):
+ (WebCore::SubframeLoader::loadMediaPlayerProxyPlugin): Deleted.
+ * loader/SubframeLoader.h:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::updateEmbeddedObject):
+ * page/Settings.cpp:
+ (WebCore::Settings::setVideoPluginProxyEnabled): Deleted.
+ * page/Settings.h:
+ (WebCore::Settings::isVideoPluginProxyEnabled): Deleted.
+ * platform/graphics/GraphicsLayerClient.h:
+ (WebCore::GraphicsLayerClient::mediaLayerMustBeUpdatedOnMainThread): Deleted.
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::installedMediaEngines):
+ (WebCore::MediaPlayer::MediaPlayer):
+ (WebCore::MediaPlayer::loadWithNextMediaEngine):
+ (WebCore::NullMediaPlayerPrivate::deliverNotification): Deleted.
+ (WebCore::NullMediaPlayerPrivate::setMediaPlayerProxy): Deleted.
+ (WebCore::NullMediaPlayerPrivate::setControls): Deleted.
+ (WebCore::MediaPlayer::deliverNotification): Deleted.
+ (WebCore::MediaPlayer::setMediaPlayerProxy): Deleted.
+ (WebCore::MediaPlayer::setControls): Deleted.
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
+ (WebCore::MediaPlayerPrivateInterface::deliverNotification): Deleted.
+ (WebCore::MediaPlayerPrivateInterface::setMediaPlayerProxy): Deleted.
+ (WebCore::MediaPlayerPrivateInterface::setControls): Deleted.
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::updateGeometry):
+ (WebCore::GraphicsLayerCA::updateContentsRects):
+ (WebCore::GraphicsLayerCA::mediaLayerMustBeUpdatedOnMainThread): Deleted.
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * rendering/RenderEmbeddedObject.cpp:
+ (WebCore::RenderEmbeddedObject::canHaveChildren):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::mediaLayerMustBeUpdatedOnMainThread): Deleted.
+ * rendering/RenderLayerBacking.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::requiresCompositingForVideo):
</ins><span class="cx">
</span><del>- Test: fast/block/shrink-to-fit-width-container-with-floating-children.html
</del><ins>+2014-04-30 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::computeIntrinsicLogicalWidths):
</del><ins>+ [iOS WK2] Some accerated overflow-scroll doesn't scroll correctly
+ https://bugs.webkit.org/show_bug.cgi?id=132375
</ins><span class="cx">
</span><del>-2013-07-02 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Tim Horton.
+
+ We set the size of the scrolling layer (which becomes the bounds of
+ the UIScrollView) to a non-pixel-snapped padding box size, but the
+ size of the contents layer is an integral-snapped scroll size.
+ This would result in a fractional difference between the two, which
+ makes us thing that the element is scrollable when it really is not.
+
+ Fix by setting the size of the scroll layer to pixel snapped client size,
+ which is what we also use for scrollability computation.
+
+ Added some FIXMEs in code that requires pixel snapping.
+
+ Also use #if PLATFORM(IOS)/#else to bracket some code that never runs on iOS
+ but tries to do something similar to iOS-only code.
</ins><span class="cx">
</span><del>- Merge r152328
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
</ins><span class="cx">
</span><del>- 2013-07-02 Jessie Berlin <jberlin@apple.com>
</del><ins>+2014-04-30 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- The callback for WKPageGetPlugInInformation needs info about whether or not there are any
- non-playing instances of the plug-in on the page
- https://bugs.webkit.org/show_bug.cgi?id=118330
</del><ins>+ REGRESSION (r168046): [New Multicolumn] Painting order is wrong for columns and fixed positioned elements
+ https://bugs.webkit.org/show_bug.cgi?id=132377
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- Expose a symbol so it can be used in WebKit2.
</del><ins>+ Added fast/multicol/fixed-stack.html
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::shouldBeSelfPaintingLayer):
+ (WebCore::RenderLayer::shouldBeNormalFlowOnly):
+ Change the flow thread layer for multicolumn layout to be normal flow only and to
+ stay self-painting. This has the effect of keeping the flow thread layer grouped
+ with the enclosing multicolumn layer, and this keeps the paint order correct when
+ compositing kicks in (or when something would otherwise try to get between the
+ two layers).
</ins><span class="cx">
</span><del>- Merge r152265
</del><ins>+2014-04-30 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- 2013-07-01 Tim Horton <timothy_horton@apple.com>
</del><ins>+ [iOS] do not pause video when entering background while playing to external device
+ https://bugs.webkit.org/show_bug.cgi?id=132374
</ins><span class="cx">
</span><del>- Maximum scroll position can be negative in some cases
- https://bugs.webkit.org/show_bug.cgi?id=118175
- <rdar://problem/14301217>
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * WebCore.exp.in: Update beginInterruption signature.
</ins><span class="cx">
</span><del>- Test (API): WebKit2.ResizeReversePaginatedWebView
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::canOverrideBackgroundPlaybackRestriction): New, return true when
+ playing to external device.
+ * html/HTMLMediaElement.h:
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::maximumScrollPosition):
- * page/FrameView.h:
- Override maximumScrollPosition() in FrameView and don't clamp to zero if
- a reverse pagination mode is enabled, as it is possible (and common) to
- have a negative maximum scroll position with reverse pagination.
</del><ins>+ * platform/audio/MediaSession.cpp:
+ (WebCore::MediaSession::beginInterruption): Add interruption type to beginInterruption.
+ * platform/audio/MediaSession.h:
</ins><span class="cx">
</span><del>- * platform/ScrollView.cpp:
- (WebCore::ScrollView::updateScrollbars):
- Drive-by adoption of toIntSize().
</del><ins>+ * platform/audio/MediaSessionManager.cpp:
+ (WebCore::MediaSessionManager::beginInterruption): Ditto.
+ (WebCore::MediaSessionManager::applicationWillEnterBackground): Ditto.
+ (WebCore::MediaSessionManager::systemWillSleep): Ditto.
+ * platform/audio/MediaSessionManager.h:
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/audio/ios/AudioDestinationIOS.h:
+ * platform/audio/ios/MediaSessionManagerIOS.mm:
+ (-[WebMediaSessionHelper interruption:]): Ditto.
</ins><span class="cx">
</span><del>- Merge r152204
</del><ins>+ * platform/audio/mac/AudioDestinationMac.h: Make most methods private. Add
+ canOverrideBackgroundPlaybackRestriction. Add missing overrides.
+ * testing/Internals.cpp:
+ (WebCore::Internals::beginMediaSessionInterruption): Pass interruption type.
</ins><span class="cx">
</span><del>- 2013-06-28 Eric Carlson <eric.carlson@apple.com>
</del><ins>+2014-04-30 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>- [Mac] adopt new AVFoundation caption API
- https://bugs.webkit.org/show_bug.cgi?id=118207
</del><ins>+ Unreviewed, rolling out r167879 and r167942.
+ https://bugs.webkit.org/show_bug.cgi?id=132408
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ OrderIterator changes caused regressions in flexbox (Requested
+ by rego on #webkit).
</ins><span class="cx">
</span><del>- No new tests, I was not able to come up with a reliable layout test.
</del><ins>+ We're keeping the new layout test introduced in r167942
+ (fast/flexbox/order-iterator-crash.html) to avoid similar
+ regressions in the future.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::flushCues): New, call currentTrack->resetCueValues().
- (-[WebCoreAVFMovieObserver outputSequenceWasFlushed:]): New delegate method.
</del><ins>+ Reverted changesets:
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ "OrderIterator refactoring to avoid extra loops"
+ https://bugs.webkit.org/show_bug.cgi?id=119061
+ http://trac.webkit.org/changeset/167879
</ins><span class="cx">
</span><del>- Merge r152185
</del><ins>+ "REGRESSION (r167879): Heap-use-after-free in
+ WebCore::RenderFlexibleBox"
+ https://bugs.webkit.org/show_bug.cgi?id=132337
+ http://trac.webkit.org/changeset/167942
</ins><span class="cx">
</span><del>- 2013-06-28 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-04-30 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- -webkit-line-break: after-white-space sometimes truncates DOM on copy & paste
- https://bugs.webkit.org/show_bug.cgi?id=118164
</del><ins>+ Cursor gets thinner on empty lines.
+ https://bugs.webkit.org/show_bug.cgi?id=132411
+ <rdar://problem/15994556>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- We can't assume that all subsequent ancestors contain exactly one child since they could have been
- added in the first if statement matching: currentNode->parentNode() != rootNode && isRemovableBlock(currentNode)
</del><ins>+ RenderLineBreak::localCaretRect should not define
+ locally the constant caretWidth, but use the one from
+ RenderObject.h which knows about the differences between
+ iOS and the other platforms.
</ins><span class="cx">
</span><del>- Exit early when we encounter such an ancestor since removing its ancestor (that contains multiple children
- some of which aren't in nodesToRemove) can clobber more nodes than we're allowed to remove.
</del><ins>+ * rendering/RenderLineBreak.cpp:
+ (WebCore::RenderLineBreak::localCaretRect):
</ins><span class="cx">
</span><del>- Test: editing/pasteboard/simplfiying-markup-should-not-strip-content.html
</del><ins>+2014-04-30 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
</ins><span class="cx">
</span><del>- * editing/SimplifyMarkupCommand.cpp:
- (WebCore::SimplifyMarkupCommand::doApply):
- (WebCore::SimplifyMarkupCommand::pruneSubsequentAncestorsToRemove):
</del><ins>+ [GStreamer] Use GstMetaVideo
+ https://bugs.webkit.org/show_bug.cgi?id=132247
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- Merge r152234
</del><ins>+ In WebKitVideoSink we announce the usage of GstMetaVideo, but we do
+ not use it when handling the video frames. This might break
+ some decoders and filters that rely on buffer's meta, rather
+ that in the caps structures.
</ins><span class="cx">
</span><del>- 2013-06-27 Jer Noble <jer.noble@apple.com>
</del><ins>+ This patch enables the use of GstMetaVideo through the GstVideoFrame
+ API. And it is used everywhere the buffer mapping is required.
</ins><span class="cx">
</span><del>- Audio in apps which embed WebViews is corrupted.
- https://bugs.webkit.org/show_bug.cgi?id=118163
</del><ins>+ Also this patch changes to nullptr where zeros were used.
</ins><span class="cx">
</span><del>- Reviewed by Maciej Stachowiak.
</del><ins>+ Also, compile conditionally the video buffer conversion when it is
+ ARGB/BGRA, since it is only required for the Cairo backend.
</ins><span class="cx">
</span><del>- Add a preference, which defaults to off, which controls whether the
- AudioSessionManager will switch to a large audio buffer setting for
- power-savings during <video> playback.
</del><ins>+ No new tests, already covered by current tests.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * page/Settings.cpp:
- (WebCore::Settings::setLowPowerVideoAudioBufferSizeEnabled): Added. Simple setter.
- * page/Settings.h:
- (WebCore::Settings::lowPowerVideoAudioBufferSizeEnabled): Added. Simple getter.
- * platform/audio/mac/AudioSessionManagerMac.cpp:
- (AudioSessionManager::updateSessionState): Only set the large audio buffer
- size if lowPowerVideoAudioBufferSize is enabled.
</del><ins>+ * platform/graphics/gstreamer/GStreamerUtilities.cpp:
+ (WebCore::getVideoSizeAndFormatFromCaps): init the GstVideoInfo before
+ used and remove caps fixate check since it is done by
+ gst_video_info_from_caps().
+ * platform/graphics/gstreamer/ImageGStreamer.h:
+ * platform/graphics/gstreamer/ImageGStreamerCairo.cpp:
+ (ImageGStreamer::ImageGStreamer): use GstVideoFrame for buffer mapping
+ and unmapping.
+ (ImageGStreamer::~ImageGStreamer): ditto.
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ (WebCore::MediaPlayerPrivateGStreamerBase::updateTexture): ditto.
+ (WebCore::MediaPlayerPrivateGStreamerBase::currentVideoSinkCaps):
+ return nullptr if failed.
+ * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
+ (webkitVideoSinkRender): rely on GstVideoInfo rather than on the
+ caps. Use GstVideoFrame for buffer mapping and unmapping. Add guards
+ for buffer transformation, since it's only used by Cairo.
+ (webkitVideoSinkDispose): remove glib version guards.
+ (webkitVideoSinkSetCaps): update the value of the private
+ GstVideoInfo.
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-30 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
</ins><span class="cx">
</span><del>- Merge r152231
</del><ins>+ [GTK][GStreamer] Remove unnecessary GLIB_CHECK_VERSION #ifdefs
+ https://bugs.webkit.org/show_bug.cgi?id=132390
</ins><span class="cx">
</span><del>- 2013-07-01 Roger Fong <roger_fong@apple.com>
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- Unreviewed. Make WebCore.make copy over QTMovieWin DLL's and PDB's.
- <rdar://problem/14321403>
</del><ins>+ Since EFL port use GLib 2.38 and GTK+, 2.33.2, I assume it is OK
+ remove, in GTK+ and GST, the existing glib version guards.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.make:
</del><ins>+ No new tests, already covered by current tests.
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ (WebCore::MediaPlayerPrivateGStreamerBase::MediaPlayerPrivateGStreamerBase):
+ (WebCore::MediaPlayerPrivateGStreamerBase::~MediaPlayerPrivateGStreamerBase):
+ * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
+ (webkitVideoSinkDispose):
+ (webkitVideoSinkFinalize): Deleted.
</ins><span class="cx">
</span><del>- Merge r152207
</del><ins>+2014-04-30 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- 2013-06-29 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ Updated ANGLE.
+ https://bugs.webkit.org/show_bug.cgi?id=132367
+ <rdar://problem/16211451>
</ins><span class="cx">
</span><del>- REGRESSION(151586): multipart/x-mixed-replace images are broken
- https://bugs.webkit.org/show_bug.cgi?id=118169
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ * CMakeLists.txt
+ Fixed ANGLE compiling with the update.
+ * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
+ (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
+ Removed SH_MAP_LONG_VARIABLE_NAMES which is no longer defined in ANGLE.
+ See https://chromium.googlesource.com/angle/angle/+/3cdfcce86b38ef31a0afd71855887193a7924468
+ * platform/graphics/opengl/Extensions3DOpenGLES.h:
+ * platform/graphics/opengl/Extensions3DOpenGLES.cpp:
+ Updated type names from ANGLE.
</ins><span class="cx">
</span><del>- When loading multipart content the resource data will change as
- the next part is loaded, so we need to make a copy of the data
- before sending it to the resource.
</del><ins>+2014-04-30 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- * loader/SubresourceLoader.cpp:
- (WebCore::SubresourceLoader::didReceiveResponse):
</del><ins>+ Move Blob.slice() implementation into BlobRegistryImpl
+ https://bugs.webkit.org/show_bug.cgi?id=132402
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Merge r152202
</del><ins>+ Part or centralizing the responsibility for file size tracking.
</ins><span class="cx">
</span><del>- 2013-06-28 Gavin Barraclough <barraclough@apple.com>
</del><ins>+ * fileapi/Blob.cpp:
+ (WebCore::Blob::Blob):
+ (WebCore::Blob::slice): Deleted.
+ * fileapi/Blob.h:
+ (WebCore::Blob::slice):
+ * fileapi/ThreadableBlobRegistry.cpp:
+ (WebCore::ThreadableBlobRegistry::registerBlobURL):
+ (WebCore::ThreadableBlobRegistry::registerBlobURLForSlice):
+ (WebCore::registerBlobURLTask): Deleted.
+ (WebCore::registerBlobURLFromTask): Deleted.
+ * fileapi/ThreadableBlobRegistry.h:
+ * platform/network/BlobRegistry.h:
+ * platform/network/BlobRegistryImpl.cpp:
+ (WebCore::BlobRegistryImpl::appendStorageItems):
+ (WebCore::BlobRegistryImpl::registerBlobURLForSlice):
+ (WebCore::BlobRegistryImpl::blobSize):
+ * platform/network/BlobRegistryImpl.h:
</ins><span class="cx">
</span><del>- PageThrottler::shouldThrottleTimers is wrong.
- https://bugs.webkit.org/show_bug.cgi?id=118210
</del><ins>+2014-04-30 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlson.
</del><ins>+ Unreviewed build fix after r168041.
</ins><span class="cx">
</span><del>- m_throttleState == PageNotThrottledState
- -> page NOT throttled, so should NOT throttle timers
- m_throttleState != PageNotThrottledState
- -> page NOT NOT throttled, so should throttle timers
</del><ins>+ * WebCore.exp.in: Add missing iOS exports.
</ins><span class="cx">
</span><del>- This needs cleaning up, but for now, 1 character fix.
</del><ins>+2014-04-30 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- * page/PageThrottler.h:
- (WebCore::PageThrottler::shouldThrottleTimers):
- == -> !=
</del><ins>+ Always-visible scrollbars continuously repaint after non-momentum scrollling
+ https://bugs.webkit.org/show_bug.cgi?id=132403
+ -and corresponding-
+ <rdar://problem/16553878>
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Merge r152198
</del><ins>+ No longer universally opt into presentation value mode whenever the scroll
+ position changes on the scrolling thread. We really only want it for momentum
+ scrolls, and this will ensure that we always set it to NO once we have set it to
+ YES.
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::handleWheelEvent):
+ (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
</ins><span class="cx">
</span><del>- 2013-06-28 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Expose shouldUsePresentationValue.
+ * platform/mac/NSScrollerImpDetails.h:
</ins><span class="cx">
</span><del>- An element with -webkit-user-select: all should be selected on single click
- https://bugs.webkit.org/show_bug.cgi?id=117864
</del><ins>+2014-04-30 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
+ https://bugs.webkit.org/show_bug.cgi?id=132399
+ <rdar://problem/15920046>
</ins><span class="cx">
</span><del>- Set m_mouseDownMayStartSelect true even when the node cannot start selection
- if the node was inside an element with -webkit-user-select: all.
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- Test: editing/selection/user-select-all-with-single-click.html
</del><ins>+ Allow WebKitLegacy to link against WebCore.
</ins><span class="cx">
</span><del>- * page/EventHandler.cpp:
- (WebCore::canMouseDownStartSelect):
</del><ins>+ * Configurations/WebCore.xcconfig:
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-30 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Merge r152196
</del><ins>+ [New Multicolumn] ASSERTs in fast/dynamic/continuation-detach-crash.html
+ https://bugs.webkit.org/show_bug.cgi?id=132392
</ins><span class="cx">
</span><del>- 2013-06-28 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- [Mac] Crash when loading is stopped from -didReceiveResponse
- https://bugs.webkit.org/show_bug.cgi?id=118209
- <rdar://problem/14259249>
</del><ins>+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::setRegionRangeForBox):
+ Add ASSERTs in case we ever try to set regions from the wrong flow thread
+ as part of the box's region range.
</ins><span class="cx">
</span><del>- Reviewed by Brady Eidson.
</del><ins>+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::flowThreadDescendantInserted):
+ Add a bunch of code that handles the discovery of a span from an outer flow thread
+ being inserted into an inner flow thread. This forces us to delete that placeholder
+ and shift the outer spanning content into the inner flow thread in order to get a new
+ mapping/placeholder created in the inner flow thread.
</ins><span class="cx">
</span><del>- Test: TestWebKitAPI/Tests/mac/StopLoadingFromDidReceiveResponse.mm.
</del><ins>+ (WebCore::RenderMultiColumnFlowThread::flowThreadRelativeWillBeRemoved):
+ Tighten this code to use the parent() just in case we change the invariant of
+ parent = containingBlock later.
</ins><span class="cx">
</span><del>- * loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::didReceiveResponse):
- Added yet another check for reachedTerminalState().
</del><ins>+ * rendering/RenderMultiColumnFlowThread.h:
+ Add a static guard when shifting a spanner to prevent the outer flow thread from
+ thinking the spanner belongs to it when it gets punted out of the inner flow thread.
+ A better long-term solution might be to make the spanner map global instead of
+ per-flow thread.
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/RenderMultiColumnSpannerPlaceholder.cpp:
+ (WebCore::RenderMultiColumnSpannerPlaceholder::RenderMultiColumnSpannerPlaceholder):
+ * rendering/RenderMultiColumnSpannerPlaceholder.h:
+ Cache the flow thread so that we can get back to it in order to detect if the
+ placeholder belongs to us or not.
</ins><span class="cx">
</span><del>- Merge r152194
</del><ins>+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::insertedIntoTree):
+ Notifications from insertedIntoTree are problematic, since this can be called during
+ the layout of the outer flow thread for content inside an inner flow thread that is
+ not getting a layout yet. This makes the currentFlowThread in the flow thread controller
+ inaccurate, so we have to add code to clear it out and put it back.
</ins><span class="cx">
</span><del>- 2013-06-28 Beth Dakin <bdakin@apple.com>
</del><ins>+2014-04-29 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Cached pages don't update their backing scale factor when it changes
- https://bugs.webkit.org/show_bug.cgi?id=118206
- -and-
- <rdar://problem/14261627>
</del><ins>+ AX: Make "contenteditable" regions into AXTextAreas
+ https://bugs.webkit.org/show_bug.cgi?id=132379
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- It is not sufficient to mark pages in the PageCache as needing a full style
- recalc. We also need to ensure that the RenderLayerCompositors for the CachesPages
- get updated.
</del><ins>+ Make contenteditable regions into AXTextAreas. This will allow for a more standardized
+ interface for interaction with assistive technologies.
</ins><span class="cx">
</span><del>- Keep track of whether device scale has been updated with
- m_needsDeviceScaleChanged. If that has been marked true, then restore() will call
- Frame::deviceOrPageScaleFactorChanged().
- * history/CachedPage.cpp:
- (WebCore::CachedPage::CachedPage):
- (WebCore::CachedPage::restore):
- * history/CachedPage.h:
- (WebCore::CachedPage::markForDeviceScaleChanged):
</del><ins>+ Test: accessibility/content-editable-as-textarea.html
</ins><span class="cx">
</span><del>- Propagate markForDeviceScaleChanged() to all of the CachedPages.
- * history/PageCache.cpp:
- (WebCore::PageCache::markPagesForDeviceScaleChanged):
- * history/PageCache.h:
</del><ins>+ * accessibility/AccessibilityNodeObject.cpp:
+ (WebCore::AccessibilityNodeObject::hasContentEditableAttributeSet):
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::contentEditableAttributeIsEnabled):
+ * accessibility/AccessibilityObject.h:
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::documentBasedSelectedTextRange):
+ (WebCore::AccessibilityRenderObject::selectedText):
+ (WebCore::AccessibilityRenderObject::selectedTextRange):
+ (WebCore::AccessibilityRenderObject::renderObjectIsObservable):
+ (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
+ (WebCore::AccessibilityRenderObject::ariaSelectedTextRange): Deleted.
+ * accessibility/AccessibilityRenderObject.h:
</ins><span class="cx">
</span><del>- Call PageCache::markPagesForDeviceScaleChanged()
- * page/Page.cpp:
- (WebCore::Page::setDeviceScaleFactor):
</del><ins>+2014-04-30 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Clean up unnecessary methods in the BackForwardClient interface
+ https://bugs.webkit.org/show_bug.cgi?id=131637
</ins><span class="cx">
</span><del>- Merge r152117
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- 2013-06-27 Ruth Fong <ruth_fong@apple.com>
</del><ins>+ Demote back/current/forwardItem and iOS-specific methods from the
+ BackForwardClient interface. Convert the class to not be refcounted.
</ins><span class="cx">
</span><del>- Polish context menus for media elements
- https://bugs.webkit.org/show_bug.cgi?id=118078
- <rdar://problem/14278960>
</del><ins>+ No new tests, no behavior was changed.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * WebCore.exp.in:
+ * history/BackForwardClient.h:
+ (WebCore::BackForwardClient::~BackForwardClient): Deleted.
+ (WebCore::BackForwardClient::backItem): Deleted.
+ (WebCore::BackForwardClient::currentItem): Deleted.
+ (WebCore::BackForwardClient::forwardItem): Deleted.
+ * history/BackForwardController.cpp:
+ (WebCore::BackForwardController::BackForwardController):
+ * history/BackForwardController.h: Take ownership of the passed BackForwardClient.
+ (WebCore::BackForwardController::client): Return a reference.
+ * history/BackForwardList.h: Remove the Page field, since it isn't used any more.
+ (WebCore::BackForwardList::create): Deleted.
+ * page/Page.h: Remove RefPtr from PageClient.
+ * page/Page.cpp:
+ (WebCore::PageClients::PageClients): Initialize client to nullptr.
</ins><span class="cx">
</span><del>- No new tests: media/context-menu-action.html,
- which has been disabled by bug 116651, is used to test context menus.
</del><ins>+2014-04-30 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- * English.lproj/Localizable.strings: Changed "Fullscreen" to "Full Screen"
- and added strings "Show Controls" and "Hide Controls".
</del><ins>+ [Mac, iOS] Support caption activation via JS webkitHasClosedCaptions method
+ https://bugs.webkit.org/show_bug.cgi?id=132320
</ins><span class="cx">
</span><del>- * page/ContextMenuController.cpp: Updated to include a new context menu item
- that toggles betweeen "Show Controls" and "Hide Controls".
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * platform/ContextMenuItem.h:
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.css:
+ (video::-webkit-media-text-track-container .hidden): Added.
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::configureTextTrackGroup): Added call to
+ new 'updateCaptionsContainer'.
+ (WebCore::HTMLMediaElement::updateCaptionContainer): Added.
+ * html/HTMLMediaElement.h:
</ins><span class="cx">
</span><del>- * platform/LocalizedStrings.cpp:
- * platform/LocalizedStrings.h:
- * platform/efl/LocalizedStringsEfl.cpp:
- * platform/gtk/LocalizedStringsGtk.cpp:
- * platform/qt/LocalizedStringsQt.cpp:
- Added equivalents of localized strings "Show Controls" and "Hide Controls".
</del><ins>+2014-04-30 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ https://bugs.webkit.org/show_bug.cgi?id=132363
+ Make Blob RawData immutable
</ins><span class="cx">
</span><del>- Merge r152065
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- 2013-06-26 Roger Fong <roger_fong@apple.com>
</del><ins>+ * Modules/websockets/WebSocket.cpp: (WebCore::WebSocket::didReceiveBinaryData):
+ Create RawData in one step.
</ins><span class="cx">
</span><del>- Add an accessibility delegate interface to AppleWin port.
- https://bugs.webkit.org/show_bug.cgi?id=118094.
</del><ins>+ * WebCore.exp.in: Don't export a constructor that we no longer have (and the new one is inline).
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ * fileapi/Blob.cpp: Removed entirely dead code.
</ins><span class="cx">
</span><del>- * accessibility/win/AXObjectCacheWin.cpp: We call the page client's AXStartFrameLoad and AXFinishFrameLoad methods here, which will in turn call the AccessibilityDelegate's callbacks.
- (WebCore::AXObjectCache::frameLoadingEventPlatformNotification):
- * loader/EmptyClients.h:
- (WebCore::EmptyChromeClient::AXStartFrameLoad):
- (WebCore::EmptyChromeClient::AXFinishFrameLoad):
- * page/ChromeClient.h:
</del><ins>+ * fileapi/WebKitBlobBuilder.cpp:
+ * fileapi/WebKitBlobBuilder.h:
+ Updated to collect data in a plain Vector, so that we don't have to modify RawData.
+ Removed FIXMEs about renaming - there used to be a BlobBuilder exposed to JS, but
+ now this is just a helper to implement JS Blob constructor. We should probably
+ still rename it, but not how the FIXME suggested.
</ins><span class="cx">
</span><del>-2013-07-01 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/network/BlobData.cpp:
+ (WebCore::BlobDataItem::detachFromCurrentThread): RawData::detachFromCurrentThread()
+ was a no-op.
+ (WebCore::BlobDataHandle::BlobDataHandle): Deleted. This was entirely dead code.
+ (WebCore::BlobDataHandle::~BlobDataHandle): Ditto.
</ins><span class="cx">
</span><del>- Merge r151978
</del><ins>+ * platform/network/BlobData.h: Made RawData immutable.
</ins><span class="cx">
</span><del>- 2013-06-25 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::responseBlob):
+ Create RawData in one step.
</ins><span class="cx">
</span><del>- JSString should remember AtomicString
- https://bugs.webkit.org/show_bug.cgi?id=117386
</del><ins>+2014-04-30 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ [New Multicolumn] Region offset not factored in when mapping to local coords
+ https://bugs.webkit.org/show_bug.cgi?id=132383
</ins><span class="cx">
</span><del>- Added "Atomic" attribute as a WebKit extension to WebIDL, and deployed it in Element.idl and Node.idl so that
- the binding code can use newly added JSValue::toAtomic to update JSString's m_value.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * bindings/js/JSDOMBinding.cpp:
- (WebCore::valueToAtomicStringWithNullCheck): Added.
- (WebCore::valueToAtomicStringWithUndefinedOrNullCheck): Added.
</del><ins>+ Make sure to cache the offset of the multicolumn set from its parent and then
+ add that in to the translation offset.
</ins><span class="cx">
</span><del>- * bindings/js/JSDOMBinding.h:
</del><ins>+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::mapAbsoluteToLocalPoint):
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorJS.pm:
- (GetNativeTypeFromSignature): Return const AtomicString& when either Atomic attribute is specified or the type is
- Reflect. Note that setAttribute and getAttribute both use AtomicString for all arguments.
- (JSValueToNative): Use AtomicString equivalents when possible when converting DOMString to a WebCore object.
</del><ins>+2014-04-30 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- * bindings/scripts/IDLAttributes.txt: Added "Atomic" attribute.
</del><ins>+ Move removeEquivalentProperties functions to EditingStyle
+ https://bugs.webkit.org/show_bug.cgi?id=131093
</ins><span class="cx">
</span><del>- * bindings/scripts/test/JS/JSTestObj.cpp: Baselined test cases.
- (WebCore::setJSTestObjReflectedStringAttr):
- (WebCore::setJSTestObjReflectedURLAttr):
- (WebCore::setJSTestObjReflectedCustomURLAttr):
</del><ins>+ Reviewed by Csaba Osztrogonác.
</ins><span class="cx">
</span><del>- * dom/Document.idl:
- * dom/Element.idl:
- * dom/Node.idl:
</del><ins>+ A follow-up to r167967. Use single line declaration for template methods.
</ins><span class="cx">
</span><del>-2013-06-27 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * editing/EditingStyle.h:
</ins><span class="cx">
</span><del>- Merge r152038
</del><ins>+2014-04-30 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>- 2013-06-26 Jer Noble <jer.noble@apple.com>
</del><ins>+ [CSS Grid Layout] Enable runtime feature by default
+ https://bugs.webkit.org/show_bug.cgi?id=132189
</ins><span class="cx">
</span><del>- Potential use-after-free after neutering AudioBuffer's underlying ArrayBuffer.
- https://bugs.webkit.org/show_bug.cgi?id=118040
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- Reviewed by Filip Pizlo.
</del><ins>+ * page/Settings.in: Set cssGridLayoutEnabled to true.
</ins><span class="cx">
</span><del>- Test: webaudio/audiobuffer-neuter.html
</del><ins>+2014-04-30 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>- When creating an AudioBuffer's backing ArrayBufferView objects, mark them as 'unneuterable',
- meaning the underlying data will be copied in a neuter scenario rather than transferred. This
- means the underlying assumtions of the webaudio code can continue to assume that the memory
- areas owned by the ArrayBufferView will be present until the AudioBuffer is itself destroyed.
</del><ins>+ [CSS Grid Layout] Wrap some specific grid code under compilation flag
+ https://bugs.webkit.org/show_bug.cgi?id=132341
</ins><span class="cx">
</span><del>- In order to not expose the 'unneuterable' behavior to JavaScript, return a fresh Float32Array
- wrapper around the ArrayBuffer object, rather than our own.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioBuffer.cpp:
- (WebCore::AudioBuffer::AudioBuffer): Mark the newly created channels as not neuterable.
- (WebCore::AudioBuffer::getChannelData): Return a new Float32Array object rather than a pointer to our own.
- * Modules/webaudio/AudioBuffer.h:
</del><ins>+ Some static variables in RenderBox are only used for CSS Grid Layout code. Wrap them and the related methods
+ under ENABLE_CSS_GRID_LAYOUT compilation flag.
</ins><span class="cx">
</span><del>-2013-06-27 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::willBeDestroyed):
+ (WebCore::RenderBox::containingBlockLogicalWidthForContent):
+ (WebCore::RenderBox::containingBlockLogicalHeightForContent):
+ (WebCore::RenderBox::perpendicularContainingBlockLogicalHeight):
+ (WebCore::RenderBox::computePercentageLogicalHeight):
+ * rendering/RenderBox.h:
</ins><span class="cx">
</span><del>- Merge r152035
</del><ins>+2014-04-29 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- 2013-06-26 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Unreviewed, rolling out r167962 and r167975.
+ https://bugs.webkit.org/show_bug.cgi?id=132376
</ins><span class="cx">
</span><del>- [Windows] Enable CaptionUserPreferencesMediaAF on Windows.
- https://bugs.webkit.org/show_bug.cgi?id=118076
</del><ins>+ Mysteriously broke many tests (Requested by ap on #webkit).
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Reverted changesets:
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Enable building the CaptionUserPreferencesMediaAF source file.
- * page/CaptionUserPreferencesMediaAF.cpp: Add soft-link commands for CoreText symbols needed in
- the implementation for Windows.
- * platform/LocalizedStrings.cpp: Enable Text Track-related strings on Windows.
- * platform/LocalizedStrings.h: Ditto.
</del><ins>+ "[Mac, iOS] Support caption activation via JS
+ webkitHasClosedCaptions method"
+ https://bugs.webkit.org/show_bug.cgi?id=132320
+ http://trac.webkit.org/changeset/167962
</ins><span class="cx">
</span><del>-2013-06-27 Lucas Forschler <lforschler@apple.com>
</del><ins>+ "Unreviewed test fix after r167962."
+ http://trac.webkit.org/changeset/167975
</ins><span class="cx">
</span><del>- Merge r152004
</del><ins>+2014-04-29 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- 2013-06-26 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ [New Multicolumn] Multiple tests assert in RenderGeometryMap
+ https://bugs.webkit.org/show_bug.cgi?id=132285
</ins><span class="cx">
</span><del>- Prepare CaptionUserPreferencesMac for use on Windows port.
- https://bugs.webkit.org/show_bug.cgi?id=118069
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Implement offsetFromContainer for RenderMultiColumnFlowThread so that the
+ geometry map gets the right offsets. This is really only relevant for the
+ geometry map, since I already overrode mapAbsoluteToLocalPoint and multicolumn
+ flow threads are repaint containers (so mapLocalToAbsolute never needs offsetFromContainer).
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Add new files.
- * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
- * WebCore.xcodeproj/project.pbxproj: Update for new file name.
- * page/CaptionUserPreferencesMac.h: Removed.
- * page/CaptionUserPreferencesMac.mm: Removed.
- * page/CaptionUserPreferencesMediaAF.cpp: Copied from page/CaptionUserPreferencesMac.mm.
- * page/CaptionUserPreferencesMediaAF.h: Copied from page/CaptionUserPreferencesMac.h.
- * page/PageGroup.cpp:
- (WebCore::PageGroup::captionPreferences): Updated to new class name.
</del><ins>+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::offsetFromContainer):
+ * rendering/RenderMultiColumnFlowThread.h:
</ins><span class="cx">
</span><del>-2013-06-27 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-29 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Merge r151868
</del><ins>+ [iOS][WK2] When pageScaleFactor * deviceScaleFactor = 1, the tile grid is completely messed up
+ https://bugs.webkit.org/show_bug.cgi?id=132368
</ins><span class="cx">
</span><del>- 2013-06-21 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- AX: Title for ListItemRole should consist of concatenated child text elements.
- https://bugs.webkit.org/show_bug.cgi?id=117892
</del><ins>+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::TileController):
+ The initial device scale factor was initialized to 1. We were returning the wrong zoomedOutContentsScale() and
+ contentsScale() on retina devices until the next successful scale update.
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+2014-04-29 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- accessibility/listitem-title.html
</del><ins>+ Remove an unused override of BlobRegistryImpl::appendStorageItems
+ https://bugs.webkit.org/show_bug.cgi?id=132365
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::visibleText): Add ListItemRole to set of
- elements that concatenate their children for display purposes.
- (WebCore::AccessibilityNodeObject::title): Ditto.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-06-27 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/network/BlobRegistryImpl.cpp:
+ (WebCore::BlobRegistryImpl::appendStorageItems): Deleted.
+ * platform/network/BlobRegistryImpl.h:
</ins><span class="cx">
</span><del>- Merge r151841
</del><ins>+2014-04-29 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- 2013-06-20 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ [Mac] tag the video layers with descriptive name to aid debugging
+ https://bugs.webkit.org/show_bug.cgi?id=132371
</ins><span class="cx">
</span><del>- [Windows] AX: Radio buttons with "tab" role should describe themselves as tabs
- https://bugs.webkit.org/show_bug.cgi?id=117837
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoLayer): Set the AVPlayerLayer
+ name in a debug build.
</ins><span class="cx">
</span><del>- accessibility/aria-tab-role-on-buttons.html
</del><ins>+2014-04-29 Nikos Andronikos <nikos.andronikos-webkit@cisra.canon.com.au>
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::canSetSelectedAttribute): Indicate that certain accessibility
- types (such as Tabs) can be selected.
- * accessibility/AccessibilityNodeObject.h: Signature for canSelectAttribute override.
</del><ins>+ [GTK][cmake] CMake variable (non)expansion causing 'File name too long' build error.
+ https://bugs.webkit.org/show_bug.cgi?id=132244
</ins><span class="cx">
</span><del>-2013-06-27 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Merge r151778
</del><ins>+ Removing quotes around include directory variable ${WebCore_INCLUDE_DIRECTORIES} in
+ the include_directories cmake macro enables the variable to be expanded correctly.
</ins><span class="cx">
</span><del>- 2013-06-19 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ No tests created as this fixes a platform specific build issue.
</ins><span class="cx">
</span><del>- AX: List Items should support a default action
- https://bugs.webkit.org/show_bug.cgi?id=117812
</del><ins>+ * PlatformGTK.cmake:
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+2014-04-29 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityObject.cpp:
- (WebCore::AccessibilityObject::actionVerb): Provide a "select" verb
- for use in ListItemRole objects.
- * platform/LocalizedStrings.cpp:
- (WebCore::AXListItemActionVerb): Added.
- * platform/LocalizedStrings.h:
- * platform/blackberry/LocalizedStringsBlackBerry.cpp:
- (WebCore::AXListItemActionVerb):
- * platform/efl/LocalizedStringsEfl.cpp:
- (WebCore::AXListItemActionVerb):
- * platform/gtk/LocalizedStringsGtk.cpp:
- (WebCore::AXListItemActionVerb):
</del><ins>+ Unreviewed test fix after r167962.
+ * Modules/mediacontrols/mediaControlsApple.css:
+ (.hidden): Use common '.hidden' class for controls.
+ (video::-webkit-media-text-track-container .hidden): Deleted.
</ins><span class="cx">
</span><del>-2013-06-27 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-29 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- Merge r151745
</del><ins>+ Handle selection services menu.
+ <rdar://problem/16727798> and https://bugs.webkit.org/show_bug.cgi?id=132362
</ins><span class="cx">
</span><del>- 2013-06-19 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- [Windows] AX: Extend notification handling
- https://bugs.webkit.org/show_bug.cgi?id=117761.
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-04-29 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- accessibility/press-works-on-control-types.html
</del><ins>+ Removing unused argument in InlineFlowBox::placeBoxesInInlineDirection()
+ https://bugs.webkit.org/show_bug.cgi?id=132369
</ins><span class="cx">
</span><del>- * accessibility/win/AXObjectCacheWin.cpp:
- (WebCore::AXObjectCache::postPlatformNotification): Add handlers for more event notifications.
- * accessibility/win/AccessibilityObjectWrapperWin.cpp:
- (WebCore::AccessibilityObjectWrapper::accessibilityAttributeValue): Protect against null
- pointer dereference found during testing.
- * dom/Document.cpp:
- (WebCore::Document::implicitClose): Execute notification handler for Windows as well as Mac.
- * page/FrameView.cpp:
- (WebCore::FrameView::layout): Ditto.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ This was not caught by our compiler because placeBoxesInInlineDirection()
+ is mutually-recursive with placeBoxRangeInInlineDirection().
</ins><span class="cx">
</span><del>- Merge r152020
</del><ins>+ No new tests are necessary because there should be no behavior change.
</ins><span class="cx">
</span><del>- 2013-06-26 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * rendering/InlineFlowBox.cpp:
+ (WebCore::InlineFlowBox::placeBoxesInInlineDirection):
+ (WebCore::InlineFlowBox::placeBoxRangeInInlineDirection):
+ * rendering/InlineFlowBox.h:
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlockFlow::computeInlineDirectionPositionsForLine):
</ins><span class="cx">
</span><del>- Speed up SVG sprites by only painting the source rect in SVGImage::draw
- https://bugs.webkit.org/show_bug.cgi?id=118070
</del><ins>+2014-04-29 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ [WinCairo] Switch video from GStreamer to Media Foundation.
+ https://bugs.webkit.org/show_bug.cgi?id=132358
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/d359ab67fdd76a877d666dca91c311505dd27bbf.
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- * svg/graphics/SVGImage.cpp:
- (WebCore::SVGImage::draw):
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ Removed dependencies on GStreamer.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-29 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Merge r151998
</del><ins>+ Remove some PLATFORM(IOS) #ifdefs related to hasAcceleratedTouchScrolling()
+ https://bugs.webkit.org/show_bug.cgi?id=132353
</ins><span class="cx">
</span><del>- 2013-06-26 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Reviewed by Tim Horton & Darin Adler.
</ins><span class="cx">
</span><del>- Set Attr.ownerDocument in Element#setAttributeNode()
- https://bugs.webkit.org/show_bug.cgi?id=118031
</del><ins>+ Minor cleanup and refactoring to remove #idefs.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::scrollTo): No need for this #ifdef, usesCompositedScrolling()
+ gives the right answser already.
+ (WebCore::RenderLayer::visibleContentRectInternal): Use showsOverflowControls() to
+ avoid #ifdef.
+ (WebCore::RenderLayer::invalidateScrollbarRect): Ditto.
+ (WebCore::RenderLayer::invalidateScrollCornerRect): Ditto.
+ (WebCore::RenderLayer::verticalScrollbarWidth): Ditto.
+ (WebCore::RenderLayer::horizontalScrollbarHeight): Ditto.
+ (WebCore::RenderLayer::showsOverflowControls): Return false on iOS.
+ (WebCore::RenderLayer::paintOverflowControls): Ditto.
+ (WebCore::RenderLayer::calculateClipRects): Ditto.
+ * rendering/RenderLayer.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::layerOrAncestorIsTransformedOrUsingCompositedScrolling):
+ Just #ifdef in side of this function rather than having two similar functions.
+ (WebCore::RenderLayerBacking::shouldClipCompositedBounds):
+ (WebCore::hasNonZeroTransformOrigin):
+ (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration): Use a local bool
+ to reduce #ifdefs.
+ (WebCore::layerOrAncestorIsTransformedOrScrolling): Deleted.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/fa739fe5369f55bbdcb3fa123cb64df36b8ae414.
</del><ins>+2014-04-29 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Adopt Attr node as needed.
</del><ins>+ Remove Settings::compositedScrollingForFramesEnabled
+ https://bugs.webkit.org/show_bug.cgi?id=132352
</ins><span class="cx">
</span><del>- Test: fast/dom/Attr/set-attribute-node-from-iframe.html
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::setAttributeNode):
</del><ins>+ The usesCompositedScrolling setting was only used by Chromium, so
+ remove it and associated code.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::usesCompositedScrolling): Deleted.
+ * page/FrameView.h:
+ * page/Settings.in:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateScrollLayerPosition):
</ins><span class="cx">
</span><del>- Merge r151997
</del><ins>+2014-04-29 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- 2013-06-25 David Hyatt <hyatt@apple.com>
</del><ins>+ Move removeEquivalentProperties functions to EditingStyle
+ https://bugs.webkit.org/show_bug.cgi?id=131093
</ins><span class="cx">
</span><del>- Flex boxes (both old and new) don't handle max-height images correctly.
- https://bugs.webkit.org/show_bug.cgi?id=118000
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ Moved the removeEquivalentProperties functions
+ from StyleProperties to EditingStyle class.
</ins><span class="cx">
</span><del>- Tests: css3/flexbox/image-percent-max-height.html
- fast/flexbox/image-percent-max-height.html
</del><ins>+ * css/StyleProperties.cpp:
+ (WebCore::MutableStyleProperties::removeEquivalentProperties): Deleted.
+ * css/StyleProperties.h:
+ * editing/EditingStyle.cpp:
+ (WebCore::EditingStyle::removeStyleAddedByNode):
+ (WebCore::EditingStyle::removeStyleConflictingWithStyleOfNode):
+ (WebCore::EditingStyle::prepareToApplyAt):
+ (WebCore::EditingStyle::removeEquivalentProperties):
+ (WebCore::extractPropertiesNotIn):
+ * editing/EditingStyle.h:
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::dirtyForLayoutFromPercentageHeightDescendants):
- (WebCore::RenderBlock::layoutBlockChildren):
- Pull the percentage height descendant code that dirties those descendants
- out of layoutBlockChildren and into a protected helper function,
- dirtyForLayoutFromPercentageHeightDescendants, that can be called from the
- flex box code.
</del><ins>+2014-04-29 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Also patch dirtyForLayoutFromPercentageHeightDescendants so that it will dirty
- preferred logical widths when a child has an aspect ratio, since we know that
- percentage height changes will potentially affect the preferred widths of the image and
- its ancestor blocks.
</del><ins>+ [New Multicolumn] Implement support for compositing
+ https://bugs.webkit.org/show_bug.cgi?id=132298
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.h:
- Declaration of the new dirtyForLayoutFromPercentageHeightDescendants function.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * rendering/RenderDeprecatedFlexibleBox.cpp:
- (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
- Make the old flex box code call dirtyForLayoutFromPercentageHeightDescendants so
- that everything is dirtied properly.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::accumulateOffsetTowardsAncestor):
+ Add in a case for the new columns that calls into the multi-column flow thread
+ to get an offset to adjust by.
</ins><span class="cx">
</span><del>- (WebCore::RenderDeprecatedFlexibleBox::layoutHorizontalBox):
- (WebCore::RenderDeprecatedFlexibleBox::layoutVerticalBox):
- Remove the isReplaced()/percentage height/width dirtying now that the old flexible
- box is using the same dirtying mechanism as RenderBlock.
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::adjustAncestorCompositingBoundsForFlowThread):
+ Make sure this code only runs for named flow threads.
</ins><span class="cx">
</span><del>- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::layoutBlock):
- Patch the new flexible box code to use the dirtying mechanism that RenderBlock
- uses for percentage heights/widths on replaced descendants.
</del><ins>+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::canBeComposited):
+ Turn on compositing support for in-flow RenderFlowThreads instead of always returning
+ false
</ins><span class="cx">
</span><del>- * rendering/RenderObject.h:
- (WebCore::RenderObject::hasAspectRatio):
- Pulled the static helper function from RenderReplaced into a full-blown method
- on RenderObject, so that dirtyForLayoutFromPercentageHeightDescendants can call
- it to check if an object has an aspect ratio.
</del><ins>+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::physicalTranslationOffsetFromFlowToRegion):
+ Changed this function to fix a couple of bugs exposed by compositing/columns tests. Its
+ end goal is the same, but the approach is improved.
</ins><span class="cx">
</span><del>- * rendering/RenderReplaced.cpp:
- (WebCore::RenderReplaced::computeAspectRatioInformationForRenderBox):
- (WebCore::RenderReplaced::computeIntrinsicRatioInformation):
- Patch the call sites of the static helper function to use hasAspectRatio instead
- and get rid of the static in the cpp file.
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::endFlow):
+ Don't pad out to a multiple of column height. You can't flip around a flow thread
+ to get back to accurate physical coordinates if bogus padding is introduced. This
+ seemed to have no effect on any layout tests when removed, so I don't think it
+ was really serving any useful purpose.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ (WebCore::RenderMultiColumnSet::columnTranslationForOffset):
+ Don't factor in the overall flow thread portion, since this is handled by the callers
+ now.
</ins><span class="cx">
</span><del>- Merge r151994
</del><ins>+ (WebCore::RenderMultiColumnSet::adjustRegionBoundsFromFlowThreadPortionRect):
+ * rendering/RenderMultiColumnSet.h:
+ Change this function to be ASSERT_NOT_REACHED(), since we want to know if someone calls
+ it. It only runs for named flow thread compositing code, so it would be a mistake if
+ this ever gets invoked.
</ins><span class="cx">
</span><del>- 2013-06-26 Brady Eidson <beidson@apple.com>
</del><ins>+2014-04-29 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>- [Mac] Document URL is not updated by HSTS
- <rdar://problem/14241270> and https://bugs.webkit.org/show_bug.cgi?id=118003
</del><ins>+ JSProxies should be cacheable
+ https://bugs.webkit.org/show_bug.cgi?id=132351
</ins><span class="cx">
</span><del>- Patch started by Alexey Proskuryakov, finished by Brady Eidson.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Reviewed by Brady Eidson and then Alexey Proskuryakov.
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- Synthesize a response and properly handle willSendRequest when the URL changes in a way that's typical for HSTS.
</del><ins>+ Whenever we encounter a proxy in an inline cache we should try to cache on the
+ proxy's target instead of giving up.
</ins><span class="cx">
</span><del>- * platform/network/mac/WebCoreURLResponse:
- * platform/network/mac/WebCoreURLResponse:
- (WebCore::synthesizeRedirectResponseIfNecessary): Synthesize a redirect response and when the URL changes in a way that's
- typical for HSTS connections.
</del><ins>+ This patch adds support for a simple "recursive" inline cache if the base object
+ we're accessing is a pure forwarding proxy. JSGlobalObject and its subclasses
+ are the only ones to benefit from this right now.
</ins><span class="cx">
</span><del>- * platform/network/mac/WebCoreResourceHandleAsDelegate.mm:
- (-[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:]): Call synthesizeRedirectResponseIfNecessary.
</del><ins>+ This is performance neutral on the benchmarks we track. Currently we won't
+ cache on JSDOMWindow due to HasImpureGetOwnPropertySlot, but this issue will be fixed soon.
</ins><span class="cx">
</span><del>- * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm:
- (-[WebCoreResourceHandleAsOperationQueueDelegate connection:willSendRequest:redirectResponse:]): Ditto.
</del><ins>+ * bindings/js/JSDOMWindowShell.h:
+ (WebCore::JSDOMWindowShell::createStructure):
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-29 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Merge r151986
</del><ins>+ [Mac, iOS] Support caption activation via JS webkitHasClosedCaptions method
+ https://bugs.webkit.org/show_bug.cgi?id=132320
</ins><span class="cx">
</span><del>- 2013-06-26 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Use-after-free in RadioInputType::handleKeydownEvent
- https://bugs.webkit.org/show_bug.cgi?id=118035
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.css:
+ (video::-webkit-media-text-track-container .hidden): Added.
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::configureTextTrackGroup): Added call to
+ new 'updateCaptionsContainer'.
+ (WebCore::HTMLMediaElement::updateCaptionContainer): Added.
+ * html/HTMLMediaElement.h:
+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlTextTrackContainerElement::hide): Use CSS class .hidden instead of
+ hard-coded "display:none".
+ (WebCore::MediaControlTextTrackContainerElement::show): Ditto.
+ * html/shadow/MediaControlElements.h:
</ins><span class="cx">
</span><del>- Reviewed by Kent Tamura.
</del><ins>+2014-04-28 Roger Fong <roger_fong@apple.com>
</ins><span class="cx">
</span><del>- Use RefPtr for inputElement since setFocusedNode could blow it away.
</del><ins>+ Plugins hidden by images should autoplay.
+ https://bugs.webkit.org/show_bug.cgi?id=132222.
+ <rdar://problem/16653536>
</ins><span class="cx">
</span><del>- * html/RadioInputType.cpp:
- (WebCore::RadioInputType::handleKeydownEvent):
</del><ins>+ Reviewed by Jon Lee and Darin Adler.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * WebCore.exp.in: Add exports needed by WK2.
</ins><span class="cx">
</span><del>- Merge r151971
</del><ins>+2014-04-29 Filip Pizlo <fpizlo@apple.com>
</ins><span class="cx">
</span><del>- 2013-06-25 Dean Jackson <dino@apple.com>
</del><ins>+ Use LLVM as a backend for the fourth-tier DFG JIT (a.k.a. the FTL JIT)
+ https://bugs.webkit.org/show_bug.cgi?id=112840
</ins><span class="cx">
</span><del>- Don't snapshot plug-ins that come from the same host as the page
- https://bugs.webkit.org/show_bug.cgi?id=117969
- <rdar://problem/12885400>
</del><ins>+ Rubber stamped by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ It already has a lot of tests.
</ins><span class="cx">
</span><del>- If a page is serving plug-in content directly, then that content
- is typically very important to the page. For example, embedding
- a video or audio player. In this case, don't snapshot the plug-ins.
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
</ins><span class="cx">
</span><del>- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn): Add a test
- that compares the plug-in's URL against the main page's URL and don't snapshot
- if they are the same.
</del><ins>+2014-04-29 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Change Image Controls replacement to use selection and paste
+ <rdar://problem/16302722> and https://bugs.webkit.org/show_bug.cgi?id=131992
</ins><span class="cx">
</span><del>- Merge r151934
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- 2013-06-24 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ * WebCore.exp.in: Remove deleted symbol.
</ins><span class="cx">
</span><del>- Fix various crashes on sites with fixed backgrounds
- https://bugs.webkit.org/show_bug.cgi?id=117959
</del><ins>+ * html/shadow/mac/ImageControlsButtonElementMac.cpp:
+ (WebCore::ImageControlsButtonElementMac::defaultEventHandler):
</ins><span class="cx">
</span><del>- Reviewed by Andy Estes.
</del><ins>+ * page/ContextMenuController.cpp:
+ (WebCore::ContextMenuController::showImageControlsMenu): Select the image element
+ before showing the menu.
+ (WebCore::ContextMenuController::replaceControlledImage): Deleted.
+ * page/ContextMenuController.h:
</ins><span class="cx">
</span><del>- FrameView::removeSlowRepaintObject() would assume that addSlowRepaintObject()
- had been called before it, but this isn't always the case. For example, if
- a page has a fixed background on the body, this falls into the accelerated
- path in WK2 tiled mode, so addSlowRepaintObject() is never called. However,
- we still call removeSlowRepaintObject() if the body is removed.
</del><ins>+2014-04-29 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- So null-check m_slowRepaintObjects to avoid crashing.
</del><ins>+ [iOS] Remove workaround for <rdar://problem/16578727>.
+ https://bugs.webkit.org/show_bug.cgi?id=132338
</ins><span class="cx">
</span><del>- Test: platform/mac-wk2/tiled-drawing/fixed-background/fixed-background-removal.html
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::removeSlowRepaintObject):
</del><ins>+ Now that <rdar://problem/16578727> is fixed, remove the workaround by replacing the
+ call to -_updatePlaybackControlsViewController with one to -layoutIfNeeded.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (WebVideoFullscreenInterfaceAVKit::enterFullscreen):
</ins><span class="cx">
</span><del>- Merge r151916
</del><ins>+2014-04-29 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- 2013-06-24 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ ScriptExecutionContext::Task should work well with C++11 lambdas
+ https://bugs.webkit.org/show_bug.cgi?id=129795
</ins><span class="cx">
</span><del>- Potential crash when in-band track is removed
- https://bugs.webkit.org/show_bug.cgi?id=117938
- <rdar://problem/14246763>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+ Instead of having classes that subclass ScriptExecutionContext::Task and override
+ the performTask(ScriptExecutionContext*) method, have the ScriptExecutionContext::Task
+ take in a std::function<void (ScriptExecutionContext*)>-like object trough the constructor
+ which would contain the code currently kept in the performTask() methods.
</ins><span class="cx">
</span><del>- This is timing dependent and I was unable to come up with a reliable test.
</del><ins>+ This enables inlining C++11 lambdas into ScriptExecutionContext::postTask() calls. For
+ cleanup tasks, the Task object can be implicitly constructed by using the initializer list
+ constructor with the first argument being the ScriptExecutionContext::Task::CleanupTask tag.
+ The ScriptExecutionContext class remains non-copyable and now stores the passed-in invokable
+ object in the std::function wrapper, along with a boolean member that indicates whether the
+ task is of cleanup nature.
</ins><span class="cx">
</span><del>- * html/track/InbandTextTrack.cpp:
- (WebCore::InbandTextTrack::willRemoveTextTrackPrivate): Early return if the media element
- has been cleared.
</del><ins>+ * Modules/quota/StorageErrorCallback.cpp:
+ (WebCore::StorageErrorCallback::CallbackTask::CallbackTask):
+ (WebCore::StorageErrorCallback::CallbackTask::performTask): Deleted.
+ * Modules/quota/StorageErrorCallback.h:
+ (WebCore::StorageErrorCallback::CallbackTask::create): Deleted.
+ * Modules/webdatabase/Database.cpp:
+ (WebCore::Database::~Database):
+ (WebCore::Database::runTransaction):
+ (WebCore::Database::scheduleTransactionCallback):
+ (WebCore::DerefContextTask::create): Deleted.
+ (WebCore::DerefContextTask::performTask): Deleted.
+ (WebCore::DerefContextTask::isCleanupTask): Deleted.
+ (WebCore::DerefContextTask::DerefContextTask): Deleted.
+ (WebCore::callTransactionErrorCallback): Deleted.
+ (WebCore::DeliverPendingCallbackTask::create): Deleted.
+ (WebCore::DeliverPendingCallbackTask::performTask): Deleted.
+ (WebCore::DeliverPendingCallbackTask::DeliverPendingCallbackTask): Deleted.
+ * Modules/webdatabase/DatabaseManager.cpp:
+ (WebCore::DatabaseManager::openDatabase):
+ (WebCore::DatabaseCreationCallbackTask::create): Deleted.
+ (WebCore::DatabaseCreationCallbackTask::performTask): Deleted.
+ (WebCore::DatabaseCreationCallbackTask::DatabaseCreationCallbackTask): Deleted.
+ * Modules/webdatabase/DatabaseSync.cpp:
+ (WebCore::CloseSyncDatabaseOnContextThreadTask::create): Deleted.
+ (WebCore::CloseSyncDatabaseOnContextThreadTask::performTask): Deleted.
+ (WebCore::CloseSyncDatabaseOnContextThreadTask::CloseSyncDatabaseOnContextThreadTask): Deleted.
+ * Modules/webdatabase/SQLCallbackWrapper.h:
+ (WebCore::SQLCallbackWrapper::clear):
+ (WebCore::SQLCallbackWrapper::SafeReleaseTask::create): Deleted.
+ (WebCore::SQLCallbackWrapper::SafeReleaseTask::performTask): Deleted.
+ (WebCore::SQLCallbackWrapper::SafeReleaseTask::isCleanupTask): Deleted.
+ (WebCore::SQLCallbackWrapper::SafeReleaseTask::SafeReleaseTask): Deleted.
+ * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didConnect):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessage):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didUpdateBufferedAmount):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didStartClosingHandshake):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didClose):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageError):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasks):
+ * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
+ * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadInitialize):
+ (WebCore::WorkerThreadableWebSocketChannel::mainThreadDestroy):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::disconnect):
+ (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::create): Deleted.
+ (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::~WorkerGlobalScopeDidInitializeTask): Deleted.
+ (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::WorkerGlobalScopeDidInitializeTask): Deleted.
+ * Modules/websockets/WorkerThreadableWebSocketChannel.h:
+ * bindings/js/JSCallbackData.h:
+ (WebCore::DeleteCallbackDataTask::DeleteCallbackDataTask):
+ (WebCore::DeleteCallbackDataTask::create): Deleted.
+ (WebCore::DeleteCallbackDataTask::performTask): Deleted.
+ (WebCore::DeleteCallbackDataTask::isCleanupTask): Deleted.
+ * bindings/js/JSDOMGlobalObjectTask.cpp:
+ (WebCore::JSGlobalObjectTask::JSGlobalObjectTask):
+ (WebCore::JSGlobalObjectTask::~JSGlobalObjectTask): Deleted.
+ (WebCore::JSGlobalObjectTask::performTask): Deleted.
+ * bindings/js/JSDOMGlobalObjectTask.h:
+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::queueTaskToEventLoop):
+ * bindings/js/JSWorkerGlobalScopeBase.cpp:
+ (WebCore::JSWorkerGlobalScopeBase::queueTaskToEventLoop):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ * bindings/scripts/test/JS/JSTestCallback.cpp:
+ (WebCore::JSTestCallback::~JSTestCallback):
+ (GenerateCallbackImplementation):
+ * dom/CrossThreadTask.h:
+ (WebCore::CrossThreadTask1::performTask):
+ (WebCore::CrossThreadTask2::performTask):
+ (WebCore::CrossThreadTask3::performTask):
+ (WebCore::CrossThreadTask4::performTask):
+ (WebCore::CrossThreadTask5::performTask):
+ (WebCore::CrossThreadTask6::performTask):
+ (WebCore::CrossThreadTask7::performTask):
+ (WebCore::CrossThreadTask8::performTask):
+ (WebCore::createCallbackTask):
+ (WebCore::CrossThreadTask1::create): Deleted.
+ (WebCore::CrossThreadTask2::create): Deleted.
+ (WebCore::CrossThreadTask3::create): Deleted.
+ (WebCore::CrossThreadTask4::create): Deleted.
+ (WebCore::CrossThreadTask5::create): Deleted.
+ (WebCore::CrossThreadTask6::create): Deleted.
+ (WebCore::CrossThreadTask7::create): Deleted.
+ (WebCore::CrossThreadTask8::create): Deleted.
+ * dom/Document.cpp:
+ (WebCore::Document::addConsoleMessage):
+ (WebCore::Document::addMessage):
+ (WebCore::Document::postTask):
+ (WebCore::Document::pendingTasksTimerFired):
+ (WebCore::PerformTaskContext::PerformTaskContext): Deleted.
+ (WebCore::Document::didReceiveTask): Deleted.
+ * dom/Document.h:
+ * dom/ScriptExecutionContext.cpp:
+ (WebCore::ScriptExecutionContext::processMessagePortMessagesSoon):
+ (WebCore::ScriptExecutionContext::timerAlignmentInterval):
+ (WebCore::ProcessMessagesSoonTask::create): Deleted.
+ (WebCore::ScriptExecutionContext::AddConsoleMessageTask::performTask): Deleted.
+ (WebCore::ScriptExecutionContext::Task::~Task): Deleted.
+ * dom/ScriptExecutionContext.h:
+ (WebCore::ScriptExecutionContext::Task::Task):
+ (WebCore::ScriptExecutionContext::Task::performTask):
+ (WebCore::ScriptExecutionContext::Task::isCleanupTask):
+ (WebCore::ScriptExecutionContext::AddConsoleMessageTask::AddConsoleMessageTask):
+ (WebCore::ScriptExecutionContext::AddConsoleMessageTask::create): Deleted.
+ * dom/StringCallback.cpp:
+ (WebCore::StringCallback::scheduleCallback):
+ * loader/appcache/ApplicationCacheGroup.cpp:
+ (WebCore::ApplicationCacheGroup::postListenerTask):
+ (WebCore::CallCacheListenerTask::create): Deleted.
+ (WebCore::CallCacheListenerTask::CallCacheListenerTask): Deleted.
+ * workers/DefaultSharedWorkerRepository.cpp:
+ (WebCore::SharedWorkerProxy::postTaskToLoader):
+ (WebCore::SharedWorkerProxy::postTaskForModeToWorkerGlobalScope):
+ (WebCore::SharedWorkerConnectTask::SharedWorkerConnectTask):
+ (WebCore::DefaultSharedWorkerRepository::workerScriptLoaded):
+ (WebCore::DefaultSharedWorkerRepository::connectToWorker):
+ (WebCore::SharedWorkerConnectTask::create): Deleted.
+ (WebCore::SharedWorkerConnectTask::performTask): Deleted.
+ * workers/WorkerEventQueue.cpp:
+ (WebCore::WorkerEventQueue::EventDispatcher::EventDispatcher):
+ (WebCore::WorkerEventQueue::EventDispatcher::~EventDispatcher):
+ (WebCore::WorkerEventQueue::EventDispatcher::dispatch):
+ (WebCore::WorkerEventQueue::enqueueEvent):
+ (WebCore::WorkerEventQueue::cancelEvent):
+ (WebCore::WorkerEventQueue::close):
+ * workers/WorkerEventQueue.h:
+ * workers/WorkerGlobalScope.cpp:
+ (WebCore::WorkerGlobalScope::close):
+ (WebCore::WorkerGlobalScope::postTask):
+ (WebCore::WorkerGlobalScope::addConsoleMessage):
+ (WebCore::WorkerGlobalScope::addMessage):
+ (WebCore::CloseWorkerGlobalScopeTask::create): Deleted.
+ (WebCore::CloseWorkerGlobalScopeTask::performTask): Deleted.
+ (WebCore::CloseWorkerGlobalScopeTask::isCleanupTask): Deleted.
+ * workers/WorkerGlobalScope.h:
+ * workers/WorkerLoaderProxy.h:
+ * workers/WorkerMessagingProxy.cpp:
+ (WebCore::WorkerMessagingProxy::postMessageToWorkerObject):
+ (WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope):
+ (WebCore::WorkerMessagingProxy::postTaskForModeToWorkerGlobalScope):
+ (WebCore::WorkerMessagingProxy::postTaskToLoader):
+ (WebCore::WorkerMessagingProxy::postExceptionToWorkerObject):
+ (WebCore::WorkerMessagingProxy::workerThreadCreated):
+ (WebCore::WorkerMessagingProxy::notifyNetworkStateChange):
+ (WebCore::WorkerMessagingProxy::workerGlobalScopeDestroyed):
+ (WebCore::WorkerMessagingProxy::workerGlobalScopeClosed):
+ (WebCore::WorkerMessagingProxy::postMessageToPageInspector):
+ (WebCore::WorkerMessagingProxy::confirmMessageFromWorkerObject):
+ (WebCore::WorkerMessagingProxy::reportPendingActivity):
+ (WebCore::MessageWorkerGlobalScopeTask::create): Deleted.
+ (WebCore::MessageWorkerGlobalScopeTask::MessageWorkerGlobalScopeTask): Deleted.
+ (WebCore::MessageWorkerGlobalScopeTask::performTask): Deleted.
+ (WebCore::MessageWorkerTask::create): Deleted.
+ (WebCore::MessageWorkerTask::MessageWorkerTask): Deleted.
+ (WebCore::MessageWorkerTask::performTask): Deleted.
+ (WebCore::WorkerExceptionTask::create): Deleted.
+ (WebCore::WorkerExceptionTask::WorkerExceptionTask): Deleted.
+ (WebCore::WorkerExceptionTask::performTask): Deleted.
+ (WebCore::WorkerGlobalScopeDestroyedTask::create): Deleted.
+ (WebCore::WorkerGlobalScopeDestroyedTask::WorkerGlobalScopeDestroyedTask): Deleted.
+ (WebCore::WorkerGlobalScopeDestroyedTask::performTask): Deleted.
+ (WebCore::WorkerTerminateTask::create): Deleted.
+ (WebCore::WorkerTerminateTask::WorkerTerminateTask): Deleted.
+ (WebCore::WorkerTerminateTask::performTask): Deleted.
+ (WebCore::WorkerThreadActivityReportTask::create): Deleted.
+ (WebCore::WorkerThreadActivityReportTask::WorkerThreadActivityReportTask): Deleted.
+ (WebCore::WorkerThreadActivityReportTask::performTask): Deleted.
+ (WebCore::PostMessageToPageInspectorTask::create): Deleted.
+ (WebCore::PostMessageToPageInspectorTask::PostMessageToPageInspectorTask): Deleted.
+ (WebCore::PostMessageToPageInspectorTask::performTask): Deleted.
+ (WebCore::NotifyNetworkStateChangeTask::create): Deleted.
+ (WebCore::NotifyNetworkStateChangeTask::NotifyNetworkStateChangeTask): Deleted.
+ (WebCore::NotifyNetworkStateChangeTask::performTask): Deleted.
+ * workers/WorkerMessagingProxy.h:
+ * workers/WorkerRunLoop.cpp:
+ (WebCore::WorkerRunLoop::postTask):
+ (WebCore::WorkerRunLoop::postTaskAndTerminate):
+ (WebCore::WorkerRunLoop::postTaskForMode):
+ (WebCore::WorkerRunLoop::Task::create):
+ (WebCore::WorkerRunLoop::Task::performTask):
+ (WebCore::WorkerRunLoop::Task::Task):
+ * workers/WorkerRunLoop.h:
+ * workers/WorkerThread.cpp:
+ (WebCore::WorkerThread::stop):
+ (WebCore::WorkerThread::releaseFastMallocFreeMemoryInAllThreads):
+ (WebCore::WorkerThreadShutdownFinishTask::create): Deleted.
+ (WebCore::WorkerThreadShutdownFinishTask::performTask): Deleted.
+ (WebCore::WorkerThreadShutdownFinishTask::isCleanupTask): Deleted.
+ (WebCore::WorkerThreadShutdownStartTask::create): Deleted.
+ (WebCore::WorkerThreadShutdownStartTask::performTask): Deleted.
+ (WebCore::WorkerThreadShutdownStartTask::isCleanupTask): Deleted.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-29 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>- Merge r151894
</del><ins>+ REGRESSION (r167879): Heap-use-after-free in WebCore::RenderFlexibleBox
+ https://bugs.webkit.org/show_bug.cgi?id=132337
</ins><span class="cx">
</span><del>- 2013-06-24 Zalan Bujtas <zalan@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Hittest finds the truncated text instead of the floating input, when the input is clicked.
- https://bugs.webkit.org/show_bug.cgi?id=115675
</del><ins>+ From Blink r154582 by <jchaffraix@chromium.org>
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ This is a regression from the changes in OrderIterator. The issue is
+ that we don't invalidate our iterator when a child is removed. This
+ means that we could hold onto free'd memory until the next layout
+ when we will recompute the iterator.
</ins><span class="cx">
</span><del>- Ignore truncated text on inline textbox and everything beyond the ellipsis box on
- the root inlinebox while hittesting. (provided that nodeAtPoint finds no hit for any of
- the root inline's children.)
</del><ins>+ The solution is simple: just clear the memory when we remove a child.
</ins><span class="cx">
</span><del>- Test: fast/css/text-overflow-ellipsis-and-floating-input-hittest.html
</del><ins>+ Note that RenderGrid is not impacted by this bug as we don't use the
+ iterator outside layout yet, but if we do it at some point the very same
+ problem will arise, so the same treatment was applied to the class.
</ins><span class="cx">
</span><del>- * rendering/InlineFlowBox.cpp:
- (WebCore::InlineFlowBox::nodeAtPoint):
- * rendering/InlineTextBox.cpp:
- (WebCore::InlineTextBox::nodeAtPoint):
- (WebCore::InlineTextBox::paint):
</del><ins>+ Test: fast/flexbox/order-iterator-crash.html
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/OrderIterator.cpp:
+ (WebCore::OrderIterator::invalidate): Clear m_children Vector.
+ * rendering/OrderIterator.h:
+ (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): Use
+ invalidate() method.
+ * rendering/RenderFlexibleBox.cpp:
+ (WebCore::RenderFlexibleBox::removeChild): Invalidate m_orderIterator.
+ * rendering/RenderFlexibleBox.h: Add removeChild() signature.
+ * rendering/RenderGrid.cpp: Invalidate m_orderIterator.
+ (WebCore::RenderGrid::removeChild):
+ * rendering/RenderGrid.h: Add removeChild() header.
</ins><span class="cx">
</span><del>- Merge r151879
</del><ins>+2014-04-29 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- 2013-06-22 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ iOS build fix after http://trac.webkit.org/changeset/167937.
+ Unreviewed.
</ins><span class="cx">
</span><del>- Followup from r151877 .
- Fix crash in fast/frames/iframe-access-screen-of-deleted.html by null-checking the widget.
</del><ins>+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::adjustButtonStyle):
</ins><span class="cx">
</span><del>- * platform/mac/PlatformScreenMac.mm:
- (WebCore::screenForWidget):
</del><ins>+2014-04-29 Hans Muller <hmuller@adobe.com>
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [CSS Shapes] off-by-one error in Shape::createRasterShape()
+ https://bugs.webkit.org/show_bug.cgi?id=132154
</ins><span class="cx">
</span><del>- Merge r151877
</del><ins>+ Reviewed by Bem Jones-Bey.
</ins><span class="cx">
</span><del>- 2013-06-22 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ This is a port of a patch for a bug that was reported by and fixed in Blink by
+ David Vest: https://codereview.chromium.org/237123002/. Shape::createRasterShape()
+ now consistently reports "end-point exclusive" intervals. Before the patch
+ an entire row of pixels was above the shape-image-threshold, the interval's end
+ index was reported as image.width. Now it's image.width + 1, which is consistent
+ with the way the end index is reported if the last above threshold pixel is within
+ an image row.
</ins><span class="cx">
</span><del>- screen.availWidth always returns width of primary display
- https://bugs.webkit.org/show_bug.cgi?id=117863
</del><ins>+ Two existing tests were revised to account for this change.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ * rendering/shapes/RasterShape.cpp:
+ (WebCore::RasterShape::getExcludedIntervals):
+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createRasterShape):
</ins><span class="cx">
</span><del>- In WebKit2, Widgets have no platformWidget, so trying to get to the
- NSScreen via the platform widget's window never succeeded, and we always
- fell back on getting info for the main display.
</del><ins>+2014-04-29 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>- However, we were already pushing the WKView's displayID down to the
- WebProcess for the requestAnimationFrame infrastructure, so use that.
</del><ins>+ Wrap CSS length conversion arguments in an object
+ https://bugs.webkit.org/show_bug.cgi?id=131552
</ins><span class="cx">
</span><del>- Add a virtual function on Widget windowDisplayID(), that is overridden
- in FrameView to return the PlatformDisplayID which Page has.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Fix PlatformScreenMac to fall back to Widget::windowDisplayID() when it fails
- to get an NSWindow from the Widget.
</del><ins>+ This patch introduces a class CSSToLengthConversionData to wrap the
+ data required to convert CSS lengths to Lengths. This simplifies the
+ plumbing that goes on whenever we need to resolve CSS lengths and
+ makes it easier to update the arguments needed for resolving these (in
+ particular adding a RenderView for resolving viewport units at style
+ recalc time; removing the computingFontSize bool also appears
+ possible).
</ins><span class="cx">
</span><del>- Add a utility category on NSScreen to get an NSScreen's displayID, and to
- find an NSScreen given a displayID.
</del><ins>+ Note that the zoom argument, which was previously a float in some
+ places and a double in others is now a float.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * WebCore.xcodeproj/project.pbxproj:
- * page/FrameView.cpp:
- (WebCore::FrameView::windowDisplayID):
- * page/FrameView.h:
- * platform/Widget.cpp:
- (WebCore::Widget::windowDisplayID):
- * platform/Widget.h:
- * platform/mac/PlatformScreenMac.h: Added.
- * platform/mac/PlatformScreenMac.mm:
- (+[NSScreen screenForDislayID:]):
- (-[NSScreen displayID]):
- (WebCore::screenRect):
- (WebCore::screenAvailableRect):
- * platform/mac/WidgetMac.mm:
- (WebCore::Widget::windowDisplayID):
</del><ins>+ This is a port of a Blink patch by timloh@chromium.org.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><del>- Merge r151875
</del><ins>+ * CMakeLists.txt:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * css/BasicShapeFunctions.cpp:
+ (WebCore::convertToLength):
+ (WebCore::convertToLengthSize):
+ (WebCore::convertToCenterCoordinate):
+ (WebCore::cssValueToBasicShapeRadius):
+ (WebCore::basicShapeForValue):
+ * css/BasicShapeFunctions.h:
+ * css/CSSCalculationValue.cpp:
+ (WebCore::CSSCalcValue::computeLengthPx):
+ (WebCore::determineCategory):
+ * css/CSSCalculationValue.h:
+ (WebCore::CSSCalcValue::createCalculationValue):
+ * css/CSSGradientValue.cpp:
+ (WebCore::CSSGradientValue::addStops):
+ (WebCore::positionFromValue):
+ (WebCore::CSSGradientValue::computeEndPoint):
+ (WebCore::CSSLinearGradientValue::createGradient):
+ (WebCore::CSSRadialGradientValue::resolveRadius):
+ (WebCore::CSSRadialGradientValue::createGradient):
+ * css/CSSGradientValue.h:
+ * css/CSSPrimitiveValue.cpp:
+ (WebCore::CSSPrimitiveValue::computeLength):
+ (WebCore::CSSPrimitiveValue::computeLengthDouble):
+ * css/CSSPrimitiveValue.h:
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::convertToLength):
+ * css/CSSToLengthConversionData.cpp: Added.
+ (WebCore::CSSToLengthConversionData::zoom):
+ * css/CSSToLengthConversionData.h: Added.
+ (WebCore::CSSToLengthConversionData::CSSToLengthConversionData):
+ (WebCore::CSSToLengthConversionData::style):
+ (WebCore::CSSToLengthConversionData::rootStyle):
+ (WebCore::CSSToLengthConversionData::computingFontSize):
+ (WebCore::CSSToLengthConversionData::copyWithAdjustedZoom):
+ * css/CSSToStyleMap.cpp:
+ (WebCore::CSSToStyleMap::CSSToStyleMap):
+ (WebCore::CSSToStyleMap::mapFillSize):
+ (WebCore::CSSToStyleMap::mapFillXPosition):
+ (WebCore::CSSToStyleMap::mapFillYPosition):
+ (WebCore::CSSToStyleMap::mapNinePieceImageQuad):
+ * css/CSSToStyleMap.h:
+ (WebCore::CSSToStyleMap::CSSToStyleMap): Deleted.
+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::ApplyPropertyAuto::applyValue):
+ (WebCore::ApplyPropertyClip::convertToLength):
+ (WebCore::ApplyPropertyLength::applyValue):
+ (WebCore::ApplyPropertyBorderRadius::applyValue):
+ (WebCore::ApplyPropertyComputeLength::applyValue):
+ (WebCore::ApplyPropertyFontSize::applyValue):
+ (WebCore::csstoLengthConversionDataWithTextZoomFactor):
+ (WebCore::ApplyPropertyMarqueeIncrement::applyValue):
+ (WebCore::ApplyPropertyLineHeight::applyValue):
+ (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyValue):
+ (WebCore::ApplyPropertyWordSpacing::applyValue):
+ (WebCore::ApplyPropertyPageSize::mmLength):
+ (WebCore::ApplyPropertyPageSize::inchLength):
+ (WebCore::ApplyPropertyPageSize::applyValue):
+ (WebCore::ApplyPropertyVerticalAlign::applyValue):
+ (WebCore::ApplyPropertyClipPath::applyValue):
+ (WebCore::ApplyPropertyShape::applyValue):
+ (WebCore::ApplyPropertyTextIndent::applyValue):
+ * css/MediaQueryEvaluator.cpp:
+ (WebCore::colorMediaFeatureEval):
+ (WebCore::color_indexMediaFeatureEval):
+ (WebCore::monochromeMediaFeatureEval):
+ (WebCore::orientationMediaFeatureEval):
+ (WebCore::aspect_ratioMediaFeatureEval):
+ (WebCore::device_aspect_ratioMediaFeatureEval):
+ (WebCore::device_pixel_ratioMediaFeatureEval):
+ (WebCore::resolutionMediaFeatureEval):
+ (WebCore::gridMediaFeatureEval):
+ (WebCore::computeLength):
+ (WebCore::device_heightMediaFeatureEval):
+ (WebCore::device_widthMediaFeatureEval):
+ (WebCore::heightMediaFeatureEval):
+ (WebCore::widthMediaFeatureEval):
+ (WebCore::min_colorMediaFeatureEval):
+ (WebCore::max_colorMediaFeatureEval):
+ (WebCore::min_color_indexMediaFeatureEval):
+ (WebCore::max_color_indexMediaFeatureEval):
+ (WebCore::min_monochromeMediaFeatureEval):
+ (WebCore::max_monochromeMediaFeatureEval):
+ (WebCore::min_aspect_ratioMediaFeatureEval):
+ (WebCore::max_aspect_ratioMediaFeatureEval):
+ (WebCore::min_device_aspect_ratioMediaFeatureEval):
+ (WebCore::max_device_aspect_ratioMediaFeatureEval):
+ (WebCore::min_device_pixel_ratioMediaFeatureEval):
+ (WebCore::max_device_pixel_ratioMediaFeatureEval):
+ (WebCore::min_heightMediaFeatureEval):
+ (WebCore::max_heightMediaFeatureEval):
+ (WebCore::min_widthMediaFeatureEval):
+ (WebCore::max_widthMediaFeatureEval):
+ (WebCore::min_device_heightMediaFeatureEval):
+ (WebCore::max_device_heightMediaFeatureEval):
+ (WebCore::min_device_widthMediaFeatureEval):
+ (WebCore::max_device_widthMediaFeatureEval):
+ (WebCore::min_resolutionMediaFeatureEval):
+ (WebCore::max_resolutionMediaFeatureEval):
+ (WebCore::animationMediaFeatureEval):
+ (WebCore::transitionMediaFeatureEval):
+ (WebCore::transform_2dMediaFeatureEval):
+ (WebCore::transform_3dMediaFeatureEval):
+ (WebCore::view_modeMediaFeatureEval):
+ (WebCore::video_playable_inlineMediaFeatureEval):
+ (WebCore::hoverMediaFeatureEval):
+ (WebCore::pointerMediaFeatureEval):
+ (WebCore::MediaQueryEvaluator::eval):
+ * css/SVGCSSStyleSelector.cpp:
+ (WebCore::StyleResolver::applySVGProperty):
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::State::clear):
+ (WebCore::StyleResolver::State::initForStyleResolve):
+ (WebCore::StyleResolver::convertToIntLength):
+ (WebCore::StyleResolver::convertToFloatLength):
+ (WebCore::createGridTrackBreadth):
+ (WebCore::StyleResolver::applyProperty):
+ (WebCore::StyleResolver::createFilterOperations):
+ * css/StyleResolver.h:
+ (WebCore::StyleResolver::State::setStyle):
+ (WebCore::StyleResolver::State::cssToLengthConversionData):
+ * css/TransformFunctions.cpp:
+ (WebCore::convertToFloatLength):
+ (WebCore::transformsForValue):
+ * css/TransformFunctions.h:
+ * css/WebKitCSSMatrix.cpp:
+ (WebCore::WebKitCSSMatrix::setMatrixValue):
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::applyCommonButtonPaddingToStyle):
+ (WebCore::RenderThemeIOS::adjustButtonStyle):
</ins><span class="cx">
</span><del>- 2013-06-21 Geoffrey Garen <ggaren@apple.com>
</del><ins>+2014-04-29 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- Crashes due to NULL dereference beneath WebCore::StyleResolver::loadPendingSVGDocuments and related functions
- https://bugs.webkit.org/show_bug.cgi?id=117903
</del><ins>+ [CSS Shapes] complex calc args for inset round vanish
+ https://bugs.webkit.org/show_bug.cgi?id=132293
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Bem Jones-Bey.
</ins><span class="cx">
</span><del>- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::loadPendingSVGDocuments): Add a NULL check for
- RenderStyle here...
- (WebCore::StyleResolver::loadPendingResources): ...and here.
</del><ins>+ In order to use calc in the rounded parameters for inset shapes, we need
+ to pass RenderStyle for the value creation as we did for the width arguments.
+ Without taking RenderStyle into account, we hit an assert not reache
+ in CSSPrimitiveValue::init in the debug builds.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ I've added new parsing test.
</ins><span class="cx">
</span><del>- Merge r151873
</del><ins>+ * css/BasicShapeFunctions.cpp:
+ (WebCore::valueForBasicShape):
+ * css/CSSPrimitiveValue.cpp:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
+ (WebCore::CSSPrimitiveValue::init):
+ * css/CSSPrimitiveValue.h:
+ (WebCore::CSSPrimitiveValue::create):
+ * css/CSSValuePool.h:
+ (WebCore::CSSValuePool::createValue):
</ins><span class="cx">
</span><del>- 2013-06-21 Simon Fraser <simon.fraser@apple.com>
</del><ins>+2014-04-29 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- Occasional crash swiping between pages
- https://bugs.webkit.org/show_bug.cgi?id=117902
</del><ins>+ [CSS Shapes] complex calc values for shape-margin return null for computed style
+ https://bugs.webkit.org/show_bug.cgi?id=132313
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ Reviewed by Bem Jones-Bey.
</ins><span class="cx">
</span><del>- m_scrollingStateTree->rootStateNode() can be null when quickly swiping between pages,
- so check this in ScrollingCoordinatorMac::commitTreeState().
</del><ins>+ We need to pass RenderStyle* to the cssValuePool when parsing
+ shape-margin in order to use calc() as a parameter.
</ins><span class="cx">
</span><del>- * page/scrolling/mac/ScrollingCoordinatorMac.mm:
- (WebCore::ScrollingCoordinatorMac::commitTreeState):
</del><ins>+ I've added the new test case to parsing-shape-margin.html
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::ComputedStyleExtractor::propertyValue):
</ins><span class="cx">
</span><del>- Merge r151852
</del><ins>+2014-04-29 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- 2013-06-21 James Craig <james@cookiecrook.com>
</del><ins>+ AX: Row span info is wrong for table cells when a footer section is placed above a body section
+ https://bugs.webkit.org/show_bug.cgi?id=131832
</ins><span class="cx">
</span><del>- AX: audio/video playback control timers (elapsed and remaining) should be exposed as ApplicationTimerRole
- https://bugs.webkit.org/show_bug.cgi?id=117883
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+ If a <footer> section is placed before the body, it renders AX row information and order incorrectly.
+ This also affects ARIA tables because they add their children by looking at renderer children, instead
+ interrogating the RenderTable directly.
</ins><span class="cx">
</span><del>- Some of the media controls were returning the wrong role. Updated existing test coverage.
</del><ins>+ Test: accessibility/table-with-footer-section-above-body.html
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityMediaControls.h:
- (WebCore::AccessibilityMediaTimeDisplay::roleValue):
</del><ins>+ * accessibility/AccessibilityARIAGrid.cpp:
+ (WebCore::AccessibilityARIAGrid::addTableCellChild):
+ (WebCore::AccessibilityARIAGrid::addChildren):
+ * accessibility/AccessibilityTable.cpp:
+ (WebCore::AccessibilityTable::addChildren):
+ (WebCore::AccessibilityTable::addChildrenFromSection):
+ * accessibility/AccessibilityTable.h:
+ * accessibility/AccessibilityTableCell.cpp:
+ (WebCore::AccessibilityTableCell::rowIndexRange):
+ (WebCore::AccessibilityTableCell::columnIndexRange):
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-29 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Merge r151836
</del><ins>+ AX: SpeechSynthesisUtterance cannot addEventListener
+ https://bugs.webkit.org/show_bug.cgi?id=132321
</ins><span class="cx">
</span><del>- 2013-06-21 Zalan Bujtas <zalan@apple.com>
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- Rollout r150602: Restoring text-overflow vs. floating rendering behaviour.
- https://bugs.webkit.org/show_bug.cgi?id=117871
</del><ins>+ Modified an existing test (speech-synthesis-speak.html) to use addEventTarget.
</ins><span class="cx">
</span><del>- Unreviewed. Rolling out r150602.
- Undesirable rendering behaviour.
</del><ins>+ * Modules/speech/SpeechSynthesisUtterance.idl:
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::checkLinesForTextOverflow):
</del><ins>+2014-04-29 Hans Muller <hmuller@adobe.com>
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [CSS Shapes] shape-outside polygon fails when first vertex is 0,0
+ https://bugs.webkit.org/show_bug.cgi?id=132132
</ins><span class="cx">
</span><del>- Merge r151832
</del><ins>+ Reviewed by Bem Jones-Bey.
</ins><span class="cx">
</span><del>- 2013-06-21 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ ShapeInterval now distinguishes between x1==x2 - isEmpty() and x1,x2 haven't been
+ set yet - isUndefined(). Removed the ShapeInterval setX1() and setX2() methods, since
+ they're no longer used.
</ins><span class="cx">
</span><del>- REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere
- https://bugs.webkit.org/show_bug.cgi?id=117825
</del><ins>+ The polygon algorithm for computing excluded intervals now ignores horizontal
+ edges. It also ignores edges whose lower vertex matches the top of the line, if
+ the edge's Y direction is upwards (away from the top of the line). The rationale
+ for this was explained here:
+ http://hansmuller-webkit.blogspot.com/2012/11/revised-horizontal-box-algorithm.html
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Test: fast/shapes/shape-outside-floats/shape-outside-polygon-zero-vertex.html
</ins><span class="cx">
</span><del>- Partially revert r150663 so that we use Settings to enable WebAudio instead of
- RuntimeEnabledFeatures.
</del><ins>+ * rendering/shapes/PolygonShape.cpp:
+ (WebCore::OffsetPolygonEdge::clippedEdgeXRange):
+ (WebCore::PolygonShape::getExcludedIntervals):
+ * rendering/shapes/ShapeInterval.h:
+ (WebCore::ShapeInterval::ShapeInterval):
+ (WebCore::ShapeInterval::isUndefined):
+ (WebCore::ShapeInterval::x1):
+ (WebCore::ShapeInterval::x2):
+ (WebCore::ShapeInterval::width):
+ (WebCore::ShapeInterval::isEmpty):
+ (WebCore::ShapeInterval::setX1):
+ (WebCore::ShapeInterval::setX2):
+ (WebCore::ShapeInterval::overlaps):
+ (WebCore::ShapeInterval::contains):
+ (WebCore::ShapeInterval::unite):
</ins><span class="cx">
</span><del>- Introduce a new [EnabledBySetting] IDL extended attribute which behaves similarly to
- the existing [EnabledAtRuntime] but relies on Settings instead of RuntimeEnabledFeatures
- to determine if the feature should be enabled. Make use of this new IDL attribute for
- webkitAudioContext interface.
</del><ins>+2014-04-29 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ [CSS Regions] Fix getClientRects() for content nodes
+ https://bugs.webkit.org/show_bug.cgi?id=117407
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioContext.idl:
- * WebCore.exp.in:
- * WebCore.order:
- * bindings/generic/RuntimeEnabledFeatures.cpp:
- * bindings/generic/RuntimeEnabledFeatures.h:
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateImplementation):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/preprocess-idls.pl:
- (GenerateConstructorAttribute):
- * bindings/scripts/test/JS/JSTestObj.cpp:
- (WebCore::jsTestObjTestSubObjEnabledBySettingConstructor):
- (WebCore::setJSTestObjTestSubObjEnabledBySettingConstructor):
- * bindings/scripts/test/JS/JSTestObj.h:
- * bindings/scripts/test/ObjC/DOMTestObj.h:
- * bindings/scripts/test/ObjC/DOMTestObj.mm:
- (-[DOMTestObj TestSubObjEnabledBySetting]):
- (-[DOMTestObj setTestSubObjEnabledBySetting:]):
- * bindings/scripts/test/TestObj.idl:
- * page/Settings.in:
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ This patch modifies getClientRects() to return a list of fragments
+ for a fragmented box instead of a single rectangle positioned inside
+ the region where the box center would appear.
</ins><span class="cx">
</span><del>- Merge r151822
</del><ins>+ The approach is to split the border box of the element in regions using
+ the layout positioning. Then each fragment is mapped to the view coordinates
+ and the result added to the list of rectangles. To preserve the originating
+ region when mapping the fragment through the ancestor tree I've introduced
+ the concept of a current region. The current region is stored inside a
+ CurrentRenderRegionMaintainer object, created whenever an algorithm needing
+ it needs to run. When the maintainer is destroyed, the cleanup is made
+ automatically. The RenderFlowThread holds a pointer to this structure for
+ easy access.
</ins><span class="cx">
</span><del>- 2013-06-20 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Tests: fast/regions/cssom/client-rects-fixed-content.html
+ fast/regions/cssom/client-rects-forced-breaks.html
+ fast/regions/cssom/client-rects-inline-complex.html
+ fast/regions/cssom/client-rects-inline.html
+ fast/regions/cssom/client-rects-nested-regions.html
+ fast/regions/cssom/client-rects-positioned.html
+ fast/regions/cssom/client-rects-relative-position.html
+ fast/regions/cssom/client-rects-simple-block.html
+ fast/regions/cssom/client-rects-transforms.html
+ fast/regions/cssom/client-rects-unsplittable-float.html
</ins><span class="cx">
</span><del>- REGRESSION(r145788): mouse drag on canvas shouldn't start selection
- https://bugs.webkit.org/show_bug.cgi?id=117860
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::absoluteQuads): Split the box in fragments.
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::absoluteQuads): Split the box in fragments.
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::RenderFlowThread):
+ (WebCore::RenderFlowThread::mapFromFlowToRegion):
+ (WebCore::RenderFlowThread::mapLocalToContainer):
+ (WebCore::RenderFlowThread::currentRegion):
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::absoluteQuadsForBoxInRegion): Get
+ the fragments for this box in the region.
+ * rendering/RenderNamedFlowFragment.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::absoluteQuadsForBox): Virtual function
+ that can be used to implement fragments to client rects mapping.
+ * rendering/RenderNamedFlowThread.h:
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::rectFlowPortionForBox): Small change to correctly
+ map empty rectangles to containers.
+ (WebCore::CurrentRenderRegionMaintainer::CurrentRenderRegionMaintainer):
+ (WebCore::CurrentRenderRegionMaintainer::~CurrentRenderRegionMaintainer):
+ * rendering/RenderRegion.h:
+ (WebCore::RenderRegion::absoluteQuadsForBoxInRegion):
+ (WebCore::CurrentRenderRegionMaintainer::region):
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+2014-04-29 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- Like HTMLImageElement, HTMLCanvasElement shouldn't start selection.
</del><ins>+ Store the containing region map inside the flow thread
+ https://bugs.webkit.org/show_bug.cgi?id=131647
</ins><span class="cx">
</span><del>- Also uninline some virtual function overrides.
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>- Test: fast/events/mosuedrag-on-canvas-should-not-start-selection.html
</del><ins>+ The patch moves the containing region map inside the flow thread where
+ it can be better handled in case the region chain changes and the map
+ needs to be cleared.
</ins><span class="cx">
</span><del>- * html/HTMLCanvasElement.cpp:
- (WebCore::HTMLCanvasElement::areAuthorShadowsAllowed):
- (WebCore::HTMLCanvasElement::canContainRangeEndPoint):
- (WebCore::HTMLCanvasElement::canStartSelection):
- * html/HTMLCanvasElement.h:
</del><ins>+ As a result of this move we are able to also cleanup the lines region
+ information of a block flow when it is removed from the tree.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Test: fast/regions/inline-strike-through.html
</ins><span class="cx">
</span><del>- Merge r151821
</del><ins>+ * rendering/InlineFlowBox.h:
+ (WebCore::InlineFlowBox::InlineFlowBox):
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlockFlow::addOverflowFromInlineChildren):
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::removeFlowChildInfo):
+ (WebCore::RenderFlowThread::invalidateRegions):
+ (WebCore::RenderFlowThread::removeLineRegionInfo):
+ (WebCore::RenderFlowThread::checkLinesConsistency):
+ (WebCore::RenderFlowThread::containingRegionMap):
+ * rendering/RenderFlowThread.h:
+ * rendering/RootInlineBox.cpp:
+ (WebCore::containingRegionMap):
+ (WebCore::RootInlineBox::~RootInlineBox):
+ (WebCore::RootInlineBox::paint):
+ (WebCore::RootInlineBox::containingRegion):
+ (WebCore::RootInlineBox::clearContainingRegion):
+ (WebCore::RootInlineBox::setContainingRegion):
</ins><span class="cx">
</span><del>- 2013-06-20 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-04-28 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- REGRESSION(r149652): accessing items in .children via id doesn't work when element is not rooted in DOM tree
- https://bugs.webkit.org/show_bug.cgi?id=117836
</del><ins>+ SelectorCodeGenerator::generateElementIsNthChild() leaks the parent register :nth-child() is non-filtering
+ https://bugs.webkit.org/show_bug.cgi?id=132311
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- When the root node of a HTML collection is not in the document or in a shadow tree,
- we shouldn't use its tree scope's id and name maps to find name getters.
</del><ins>+ In two cases, the parent register was never returned to the register allocator:
+ -Non filtering selectors (the early return).
+ -Non marking selectors (at the moment: only querySelector API).
</ins><span class="cx">
</span><del>- Always use the slow path in such cases.
</del><ins>+ Unfortunately, generateElementIsNthChild() makes function call, which forces us to do this manual allocation
+ of the parentElement register. Long term, I want RegisterAllocator and FunctionCall to have a special type for that.
</ins><span class="cx">
</span><del>- Test: fast/dom/htmlallcollection-detached-node-children.html
</del><ins>+ Test: fast/selectors/several-nth-child.html
</ins><span class="cx">
</span><del>- * html/HTMLCollection.cpp:
- (WebCore::HTMLCollection::namedItem):
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsNthChild):
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-28 Yusuke Suzuki <utatane.tea@gmail.com>
</ins><span class="cx">
</span><del>- Merge r151812
</del><ins>+ CSS JIT: backtracking with current / parent element for child
+ https://bugs.webkit.org/show_bug.cgi?id=132057
</ins><span class="cx">
</span><del>- 2013-06-20 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- https://bugs.webkit.org/show_bug.cgi?id=116495
- Fix null-pointer deref in DocumentLoader::responseReceived()
</del><ins>+ Calculate appropriate backtracking start height from the closest
+ descendant. And at first, we use it for a simple optimization.
</ins><span class="cx">
</span><del>- Patch by Nate Chapin, reviewed by Mike West and myself.
</del><ins>+ 1. When backtracking start height equals to current height, we
+ can simply jump to a descendant element check phase.
+ 2. When backtracking start height equals to current height + 1, we
+ can simply jump to a descendant element traversing phase.
</ins><span class="cx">
</span><del>- Test: http/tests/security/XFrameOptions/x-frame-options-deny-delete-frame-in-load-event.html
</del><ins>+ We can apply this optimization to fragments with adjacent combinators.
+ But, in the meantime, we start to implement it for a fragment with
+ child combinator.
</ins><span class="cx">
</span><del>- * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::responseReceived): Added
- a null check.
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorFragment::SelectorFragment):
+ (WebCore::SelectorCompiler::TagNamePattern::TagNamePattern):
+ (WebCore::SelectorCompiler::solveDescendantBacktrackingActionForChild):
+ (WebCore::SelectorCompiler::solveBacktrackingAction):
+ (WebCore::SelectorCompiler::equalTagNames):
+ (WebCore::SelectorCompiler::equalTagNamePatterns):
+ (WebCore::SelectorCompiler::computeBacktrackingStartHeightFromDescendant):
+ (WebCore::SelectorCompiler::computeBacktrackingHeightFromDescendant):
+ (WebCore::SelectorCompiler::requiresAdjacentTail):
+ (WebCore::SelectorCompiler::requiresDescendantTail):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::computeBacktrackingInformation):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateSelectorChecker):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateWalkToParentNode):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateWalkToParentElement):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateParentElementTreeWalker):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateAncestorTreeWalker):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateDirectAdjacentTreeWalker):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateIndirectAdjacentTreeWalker):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatching):
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-28 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Merge r151807
</del><ins>+ [iOS][WK2] Restore the scroll position and scale from the HistoryItem (mostly)
+ https://bugs.webkit.org/show_bug.cgi?id=132307
</ins><span class="cx">
</span><del>- 2013-06-20 Enrica Casucci <enrica@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Initial advance on the first glyph of the run is not correctly set for rtl text.
- https://bugs.webkit.org/show_bug.cgi?id=117839
- <rdar://problem/13860717>
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+2014-04-28 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- We need to set the initial advance to the glyphBuffer, using the
- initial advance of the complex run that will be drawn first.
- In order to choose the run correctly we must consider the text direction.
</del><ins>+ Scrollbars do not update properly when topContentInset changes dynamically
+ https://bugs.webkit.org/show_bug.cgi?id=132309
+ -and corresponding-
+ <rdar://problem/16642232>
</ins><span class="cx">
</span><del>- Test: fast/text/complex-first-glyph-with-initial-advance.html
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * platform/graphics/mac/ComplexTextController.cpp:
- (WebCore::ComplexTextController::advance):
</del><ins>+ It is not sufficient to do a layout and call updateScrollbars(). We must also call
+ RenderLayerCompositor::frameViewDidChangeSize() in order to properly adjust the
+ size and position of all of the scrolling-related layers.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::topContentInsetDidChange):
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-28 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Merge r151804
</del><ins>+ [New Multicolumn] event.offsetX/offsetY don't work correctly
+ https://bugs.webkit.org/show_bug.cgi?id=132284
</ins><span class="cx">
</span><del>- 2013-06-20 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- FrameView needs to initialize paintsEntireContents on creation
- https://bugs.webkit.org/show_bug.cgi?id=117844
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
+ Change the code here to only trigger for CSS Regions and not for
+ multi-column. Add a FIXME pointing out that the code is broken even for
+ CSS regions.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::mapAbsoluteToLocalPoint):
+ Override mapAbsoluteToLocalPoint in order to guess a region and attempt
+ to translate the point from that region to the flow thread local coordinate
+ space.
</ins><span class="cx">
</span><del>- In WebKit1, if the WebView is layer-backed, WebHTMLView gets a layer.
- In this mode, FrameView::paintsEntireContents() is true. However,
- we would only call setPaintsEntireContents(true) on the FrameView
- when the view's layer-backed status changes. FrameView also needs
- to fetch this state when it is initialized, because we may be creating
- a new FrameView for an already layer-backed WebHTMLView.
</del><ins>+ (WebCore::RenderMultiColumnFlowThread::physicalTranslationFromRegionToFlow):
+ * rendering/RenderMultiColumnFlowThread.h:
+ New helper function that just wraps calling the region's logical translation
+ function and converting to/from physical coordinates.
</ins><span class="cx">
</span><del>- * page/ChromeClient.h:
- (WebCore::ChromeClient::shouldPaintEntireContents):
- * page/FrameView.cpp:
- (WebCore::FrameView::init):
</del><ins>+2014-04-28 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Unreviewed, rolling out r167857.
+ https://bugs.webkit.org/show_bug.cgi?id=132305
</ins><span class="cx">
</span><del>- Merge r151803
</del><ins>+ the change was rolled out, roll out the new expectations as
+ well (Requested by thorton on #webkit).
</ins><span class="cx">
</span><del>- 2013-06-20 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Sticky elements are missing or misplaced sometimes when reloading a page that scrolls to a named anchor
- https://bugs.webkit.org/show_bug.cgi?id=117819
</del><ins>+ "Unreviewed. Updating one bindings test baseline after
+ r167855."
+ http://trac.webkit.org/changeset/167857
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-04-28 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- At the end of FrameView::performPostLayoutTasks() we call scrollToAnchor() which attempts
- to restore the scroll position to a named anchor, even when the document has been
- changed by layout. This ends up in a call to ScrollView::scrollTo(), which in turn
- calls repaintFixedElementsAfterScrolling(). However, repaintFixedElementsAfterScrolling()
- would bail if m_nestedLayoutCount != 0, so we never updated layer positions which
- depend on scroll position (but which would not be updated by layout, since their
- renderers are not marked for layout when scrolling happens).
</del><ins>+ [Mac] Use the animated version of setHighlighted on NSButtonCell where available
+ https://bugs.webkit.org/show_bug.cgi?id=132295
+ <rdar://problem/16747240>
</ins><span class="cx">
</span><del>- We've solved this problem once before in updateFixedElementsAfterScrolling() which
- checks for m_nestedLayoutCount <= 1, so that we do work on the outermost nested layout.
- Apply that same fix to repaintFixedElementsAfterScrolling().
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- Very timing-dependent, so hard to make a test.
</del><ins>+ Like setState, there is an animated version of setHighlighted available.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::repaintFixedElementsAfterScrolling):
</del><ins>+ * platform/mac/ThemeMac.mm:
+ (WebCore::updateStates): Use private version of _setHighlighted where possible.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-28 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Merge r151796
</del><ins>+ Unreviewed, rolling out r167855.
+ https://bugs.webkit.org/show_bug.cgi?id=132301
</ins><span class="cx">
</span><del>- 2013-06-20 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Broke the windows build (Requested by bfulgham on #webkit).
</ins><span class="cx">
</span><del>- ASSERT removing then adding a <track> element
- https://bugs.webkit.org/show_bug.cgi?id=117814
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+ "ScriptExecutionContext::Task should work well with C++11
+ lambdas"
+ https://bugs.webkit.org/show_bug.cgi?id=129795
+ http://trac.webkit.org/changeset/167855
</ins><span class="cx">
</span><del>- Test: media/track/add-and-remove-track.html
</del><ins>+2014-04-24 Andy Estes <aestes@apple.com>
</ins><span class="cx">
</span><del>- * html/HTMLTrackElement.cpp:
- (WebCore::HTMLTrackElement::insertedInto): Always call ensureTrack before adding the track
- to the parent <video> element.
- (WebCore::HTMLTrackElement::ensureTrack): Call m_track->setTrackElement() in case the
- parent was cleared after m_track was created.
</del><ins>+ [iOS] Implement WebQuickLookHandleClient for WebKit2
+ https://bugs.webkit.org/show_bug.cgi?id=132157
</ins><span class="cx">
</span><del>- * html/track/LoadableTextTrack.cpp:
- (WebCore::LoadableTextTrack::setTrackElement): New, set m_trackElement.
- * html/track/LoadableTextTrack.h:
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * WebCore.exp.in: Exported QuickLookHandle::previewUTI().
+ * platform/network/ios/QuickLook.h:
+ * platform/network/ios/QuickLook.mm:
+ (WebCore::QuickLookHandle::previewFileName): Changed to return a WTF::String.
+ (WebCore::QuickLookHandle::previewUTI): Added.
</ins><span class="cx">
</span><del>- Merge r151793
</del><ins>+2014-04-28 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- 2013-06-20 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ REGRESSION: Intermittent crash in SpeechSynthesis::didFinishSpeaking
+ https://bugs.webkit.org/show_bug.cgi?id=111613
</ins><span class="cx">
</span><del>- [Mac] Downloaded file name encoding is incorrect when download link opens in a new window
- https://bugs.webkit.org/show_bug.cgi?id=117818
- <rdar://problem/14212635>
</del><ins>+ Reviewed by Mark Lam.
</ins><span class="cx">
</span><del>- Reviewed by Brady Eidson.
</del><ins>+ I think it's possible that didFinishSpeaking ends up calling directly back into start speaking, and the utterance reference
+ we were holding can get cleared, so protecting this should avoid a few asserts.
</ins><span class="cx">
</span><del>- No tests added. The machinery we have for logging downloaded file name is very
- far from being able to work in a secondary window.
</del><ins>+ * platform/mock/PlatformSpeechSynthesizerMock.cpp:
+ (WebCore::PlatformSpeechSynthesizerMock::speakingFinished):
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp: (WebCore::FrameLoader::addExtraFieldsToRequest):
- Made a targeted fix - don't update encoding fallback array if we already have one,
- there is no chance for it to be more correct. In this case, it's incorrect because
- it comes from a new blank window, instead of original referer.
- We have a lot of code in addExtraFieldsToRequest() to struggle with this, and we have
- a FIXME to try not calling it from policy delegate.
</del><ins>+2014-04-28 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Unreviewed, rolling out r167871.
+ https://bugs.webkit.org/show_bug.cgi?id=132290
</ins><span class="cx">
</span><del>- Merge r151776
</del><ins>+ broke a newmulticol test (spanner-nested-dynamic) (Requested
+ by thorton on #webkit).
</ins><span class="cx">
</span><del>- 2013-06-20 James Craig <james@cookiecrook.com>
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- AX: aria-required is not exposed on all expected roles
- https://bugs.webkit.org/show_bug.cgi?id=115123
</del><ins>+ "Store the containing region map inside the flow thread"
+ https://bugs.webkit.org/show_bug.cgi?id=131647
+ http://trac.webkit.org/changeset/167871
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+2014-04-28 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- aria-required is now exposed on more roles. Updated existing test file.
</del><ins>+ Unreviewed, rolling out r167853.
+ https://bugs.webkit.org/show_bug.cgi?id=132288
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::supportsRequiredAttribute):
- * accessibility/AccessibilityNodeObject.h:
- * accessibility/AccessibilityObject.h:
- (WebCore::AccessibilityObject::supportsRequiredAttribute):
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (-[WebAccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
</del><ins>+ caused crashes+timeouts+layout test failures described in the
+ bug (Requested by thorton on #webkit).
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Merge r151785
</del><ins>+ "Coalesce responses on network process side"
+ https://bugs.webkit.org/show_bug.cgi?id=132229
+ http://trac.webkit.org/changeset/167853
</ins><span class="cx">
</span><del>- 2013-06-19 Jer Noble <jer.noble@apple.com>
</del><ins>+2014-04-24 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Roll-on in-band captions are displayed bottom-to-top rather than top-to-bottom.
- https://bugs.webkit.org/show_bug.cgi?id=117811
</del><ins>+ [iOS WK2] flickery scrolling with overflow-scrolling:touch
+ https://bugs.webkit.org/show_bug.cgi?id=132150
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- When comparing Generic cues, we should check that their type is Generic, not WebVTT.
</del><ins>+ Fix typo in a comment.
</ins><span class="cx">
</span><del>- * html/track/TextTrackCueGeneric.cpp:
- (WebCore::TextTrackCueGeneric::isOrderedBefore):
</del><ins>+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::scheduleUpdateScrollPositionAfterAsyncScroll):
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-28 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- Merge r151774
</del><ins>+ [GTK] Builtin cursors do not properly handle transparency
+ https://bugs.webkit.org/show_bug.cgi?id=131866
</ins><span class="cx">
</span><del>- 2013-06-20 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ Reviewed by Gustavo Noronha Silva.
</ins><span class="cx">
</span><del>- Web Inspector: Use console.timeStamp instead of console.markTimeline
- https://bugs.webkit.org/show_bug.cgi?id=117810
</del><ins>+ Tested by ManualTests/cursor.html.
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro.
</del><ins>+ * platform/gtk/CursorGtk.cpp:
+ (WebCore::createNamedCursor): Instead of interpreting the source bitmap as an A1 image, use
+ it as a 1-bit black and white image. We do this by:
+ 1. Painting the result to a full color image with transparency instead of an alpha-only surface.
+ 2. Masking a white background using the cursor alpha surface.
+ 3. Painting the black parts of the cursor by painting the source surface, where black pixels
+ will be interpreted as full opaque pixels.
</ins><span class="cx">
</span><del>- Webkit supports both console.timeStamp and console.markTimeline.
- And they do the exact same thing.
- This patch gets rid of console.markTimeline for Chrome/Firebug compatibility.
</del><ins>+2014-04-28 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- No new functionality, no new tests.
</del><ins>+ Unreviewed. Update GObject DOM bindings symbols file.
</ins><span class="cx">
</span><del>- * WebCore.order:
- * page/Console.cpp:
- * page/Console.h:
- * page/Console.idl:
</del><ins>+ * bindings/gobject/webkitdom.symbols: Add missing symbols.
</ins><span class="cx">
</span><del>-2013-06-26 Lucas Forschler <lforschler@apple.com>
</del><ins>+2014-04-28 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>- Merge r151719
</del><ins>+ OrderIterator refactoring to avoid extra loops
+ https://bugs.webkit.org/show_bug.cgi?id=119061
</ins><span class="cx">
</span><del>- 2013-06-18 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Input type range slider is not updated when min or max are changed
- https://bugs.webkit.org/show_bug.cgi?id=117778
</del><ins>+ This patch removes order values Vector and use a Vector of pairs instead. The pairs are formed by a child
+ (RenderBox) and the index of this child. In addition, OrderIterator code is simplified.
</ins><span class="cx">
</span><del>- Reviewed by Kent Tamura.
</del><ins>+ It provides a helper class OrderIteratorPopulator, used for manipulating the Vector directly. Which allows to
+ consolidate the code into a single implementation across flexbox and grid. OrderIteratorPopulator part is based
+ on a patch from Blink r153971 by <jchaffraix@chromium.org>.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/089c7a0ba2d85b9b59632c2603fbc6472b310be1.
</del><ins>+ Current implementation is O(number of children * number of order values). Now it will just do a sort operation
+ and then a regular loop. So if you have different order values in a flexbox or grid the performance will
+ improve.
</ins><span class="cx">
</span><del>- Test: fast/forms/range/range-change-min-max.html
</del><ins>+ Comparing results of perf-tests:
+ * Layout/auto-grid-lots-of-data: ~0.5% worse.
+ * Layout/fixed-grid-lots-of-data: ~0.5% worse.
+ * Layout/fixed-grid-lots-of-data (setting 100 different order values): ~50% better.
+ * Layout/flexbox-lots-of-data: ~5% better.
</ins><span class="cx">
</span><del>- * html/RangeInputType.cpp:
- (WebCore::RangeInputType::minOrMaxAttributeChanged):
</del><ins>+ No new tests, already covered by current tests.
</ins><span class="cx">
</span><del>-2013-06-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * rendering/OrderIterator.cpp:
+ (WebCore::OrderIterator::currentChild): Return current child according to m_childrenIndex.
+ (WebCore::OrderIterator::first): Initialize m_childrenIndex and return current child.
+ (WebCore::OrderIterator::next): Increase m_childrenIndex and return current child.
+ (WebCore::compareByOrderValueAndIndex): Sorts the Vector by order value and index.
+ (WebCore::OrderIteratorPopulator::~OrderIteratorPopulator): Calls compareByOrderValueAndIndex() if there is any
+ child with non default order value.
+ (WebCore::OrderIteratorPopulator::collectChild): Adds the child and index to the Vector. Update
+ m_allChildrenHaveDefaultOrderValue accordingly.
+ (WebCore::OrderIterator::OrderIterator): Deleted.
+ (WebCore::OrderIterator::setOrderValues): Deleted.
+ (WebCore::OrderIterator::reset): Deleted.
+ * rendering/OrderIterator.h:
+ (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): New helper class to manipulate the Vector.
+ (WebCore::OrderIterator::currentChild): Deleted.
+ * rendering/RenderFlexibleBox.cpp:
+ (WebCore::RenderFlexibleBox::RenderFlexibleBox): Remove OrderIterator intialization.
+ (WebCore::RenderFlexibleBox::layoutBlock): Remove unneeded code related to old OrderValues vector.
+ (WebCore::RenderFlexibleBox::prepareOrderIteratorAndMargins): Populate OrderIterator using collectChild().
+ (WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes): Deleted.
+ * rendering/RenderFlexibleBox.h: Rename computeMainAxisPreferredSizes() to prepareOrderIteratorAndMargins().
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::RenderGrid): Remove OrderIterator initialization.
+ (WebCore::RenderGrid::populateExplicitGridAndOrderIterator): Populate OrderIterator using collectChild().
</ins><span class="cx">
</span><del>- Merge r151747
</del><ins>+2014-04-28 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- 2013-06-19 Oliver Hunt <oliver@apple.com>
</del><ins>+ std::bitset<>::test() does unnecessary bounds checks on CSSPropertyID bitsets
+ https://bugs.webkit.org/show_bug.cgi?id=131685
</ins><span class="cx">
</span><del>- Incorrect use of jsCast in a finalizer
- https://bugs.webkit.org/show_bug.cgi?id=117807
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Use std::bitset<>::operator[]() instead of std::bitset<>::test() to avoid
+ bounds checks which are not necessary as long as a CSSPropertyID value is used.
</ins><span class="cx">
</span><del>- We can't use jsCast in a finalizer as it checks an object's structure,
- and the structure may already have been swept by that point. Use a
- static_cast instead.
</del><ins>+ * css/CSSParser.cpp:
+ (WebCore::filterProperties):
+ * css/StyleProperties.cpp:
+ (WebCore::StyleProperties::asText):
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::CascadedProperties::hasProperty):
+ (WebCore::StyleResolver::CascadedProperties::set):
</ins><span class="cx">
</span><del>- * bridge/runtime_array.cpp:
- (JSC::RuntimeArray::destroy):
</del><ins>+2014-04-28 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>-2013-06-25 Lucas Forschler <lforschler@apple.com>
</del><ins>+ [GTK] TextTrack kind and mode attributes are enums since r166180
+ https://bugs.webkit.org/show_bug.cgi?id=132228
</ins><span class="cx">
</span><del>- Merge r151929
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- 2013-06-24 Ruth Fong <ruth_fong@apple.com>
</del><ins>+ Improve coding style according to review comments, that I forgot
+ to do before landing previous commit.
</ins><span class="cx">
</span><del>- Expose the mediaHasAudio() function in WK2
- https://bugs.webkit.org/show_bug.cgi?id=117946
- <rdar://problem/14250527>
</del><ins>+ * bindings/gobject/WebKitDOMCustom.cpp:
+ (webkit_dom_text_track_get_kind):
+ (webkit_dom_text_track_get_mode):
+ (webkit_dom_text_track_set_mode):
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+2014-04-28 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Updated to include symbol for
- HTMLMediaElement::mediaHasAudio() function.
</del><ins>+ [GTK] TextTrack kind and mode attributes are enums since r166180
+ https://bugs.webkit.org/show_bug.cgi?id=132228
</ins><span class="cx">
</span><del>-2013-06-21 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Merge r151787
</del><ins>+ We don't support enum values yet in GObject DOM bindings, but they
+ are internally strings anyway, so we can keep the old
+ implementations using strings as custom functions until we
+ properly support enums.
</ins><span class="cx">
</span><del>- 2013-06-20 Roger Fong <roger_fong@apple.com>
</del><ins>+ * bindings/gobject/WebKitDOMCustom.cpp:
+ (webkit_dom_text_track_get_kind):
+ (webkit_dom_text_track_get_mode):
+ (webkit_dom_text_track_set_mode):
+ * bindings/gobject/WebKitDOMCustom.h:
+ * bindings/gobject/WebKitDOMCustom.symbols:
</ins><span class="cx">
</span><del>- Make Windows makefile copy build output to a different folder.
- <rdar://problem/14219184>.
</del><ins>+2014-04-28 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.make:
</del><ins>+ [GTK] TextTrack::addCue can raise an exception since r163974
+ https://bugs.webkit.org/show_bug.cgi?id=132227
</ins><span class="cx">
</span><del>-2013-06-20 Lucas Forschler <lforschler@apple.com>
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Merge r151799
</del><ins>+ webkit_dom_text_track_add_cue() now receives a GError paramater
+ which is an API break. Add
+ webkit_dom_text_track_add_cue_with_error and keep
+ webkit_dom_text_track_add_cue as deprecated to keep API
+ compatibility.
</ins><span class="cx">
</span><del>-2013-06-20 Lucas Forschler <lforschler@apple.com>
</del><ins>+ * bindings/gobject/WebKitDOMDeprecated.cpp:
+ (webkit_dom_text_track_add_cue):
+ * bindings/gobject/WebKitDOMDeprecated.h:
+ * bindings/gobject/WebKitDOMDeprecated.symbols:
+ * bindings/gobject/webkitdom.symbols:
+ * bindings/scripts/CodeGeneratorGObject.pm:
+ (GetEffectiveFunctionName):
</ins><span class="cx">
</span><del>- Merge r151762
</del><ins>+2014-04-28 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- 2013-06-19 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ [GTK] TextTrackCue API changed in r163649
+ https://bugs.webkit.org/show_bug.cgi?id=132226
</ins><span class="cx">
</span><del>- [Mac] Common crashes when playing media
- https://bugs.webkit.org/show_bug.cgi?id=117813
- <rdar://problem/13837412>
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ TextTrackCue is now a base class and part of its API was moved to
+ the derived class VTTCue. Update the GObject DOM bindings to keep
+ backwards compatibility.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (-[WebCoreAVFLoaderDelegate resourceLoader:didCancelLoadingRequest:]):
- This method may be called from a secondary thread, but it does things that are
- not thread safe.
</del><ins>+ * PlatformGTK.cmake: Generate bindings for DataCue and VTTCue.
+ * bindings/gobject/WebKitDOMDeprecated.cpp:
+ (webkit_dom_text_track_cue_get_cue_as_html): Mark as deprecated in
+ favor of VTTCue API.
+ (webkit_dom_text_track_cue_get_vertical): Ditto.
+ (webkit_dom_text_track_cue_set_vertical): Ditto.
+ (webkit_dom_text_track_cue_get_snap_to_lines): Ditto.
+ (webkit_dom_text_track_cue_set_snap_to_lines): Ditto.
+ (webkit_dom_text_track_cue_get_line): Ditto.
+ (webkit_dom_text_track_cue_set_line): Ditto.
+ (webkit_dom_text_track_cue_get_position): Ditto.
+ (webkit_dom_text_track_cue_set_position): Ditto.
+ (webkit_dom_text_track_cue_get_size): Ditto.
+ (webkit_dom_text_track_cue_set_size): Ditto.
+ (webkit_dom_text_track_cue_get_align): Ditto.
+ (webkit_dom_text_track_cue_set_align): Ditto.
+ (webkit_dom_text_track_cue_get_text): Ditto.
+ (webkit_dom_text_track_cue_set_text): Ditto.
+ * bindings/gobject/WebKitDOMDeprecated.h:
+ * bindings/gobject/WebKitDOMDeprecated.symbols: Add new deprecated symbols.
+ * bindings/gobject/WebKitDOMPrivate.cpp:
+ (WebKit::wrap): Add generic wrap for TextTrackCue now that it's a
+ base class to generate DataCue or VTTCue objects.
+ * bindings/gobject/WebKitDOMPrivate.h:
+ * bindings/gobject/webkitdom.symbols: Add DataCue symbols.
+ * bindings/scripts/CodeGeneratorGObject.pm:
+ (IsPolymorphic): Add TextTrackCue to the list of polymorphic classes.
</ins><span class="cx">
</span><del>-2013-06-18 Roger Fong <roger_fong@apple.com>
</del><ins>+2014-04-27 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- Disable some feature flags.
- <rdar://problem/14171207>.
</del><ins>+ Store the containing region map inside the flow thread
+ https://bugs.webkit.org/show_bug.cgi?id=131647
</ins><span class="cx">
</span><del>- Rubberstamped by Jon Lee.
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>- * Configurations/FeatureDefines.xcconfig:
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::updateRegionsAndExclusionsAfterChildLayout):
- (WebCore::RenderBlock::logicalLeftOffsetForLine):
- (WebCore::RenderBlock::logicalRightOffsetForLine):
</del><ins>+ The patch moves the containing region map inside the flow thread where
+ it can be better handled in case the region chain changes and the map
+ needs to be cleared.
</ins><span class="cx">
</span><del>-2013-06-18 Darin Adler <darin@apple.com>
</del><ins>+ As a result of this move we are able to also cleanup the lines region
+ information of a block flow when it is removed from the tree.
</ins><span class="cx">
</span><del>- Improve style of null checks in FrameView::setFrameRect
- https://bugs.webkit.org/show_bug.cgi?id=117681
</del><ins>+ Test: fast/regions/inline-strike-through.html
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ * rendering/InlineFlowBox.h:
+ (WebCore::InlineFlowBox::InlineFlowBox):
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlockFlow::addOverflowFromInlineChildren):
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::removeFlowChildInfo):
+ (WebCore::RenderFlowThread::invalidateRegions):
+ (WebCore::RenderFlowThread::removeLineRegionInfo):
+ (WebCore::RenderFlowThread::checkLinesConsistency):
+ (WebCore::RenderFlowThread::containingRegionMap):
+ * rendering/RenderFlowThread.h:
+ * rendering/RootInlineBox.cpp:
+ (WebCore::containingRegionMap):
+ (WebCore::RootInlineBox::~RootInlineBox):
+ (WebCore::RootInlineBox::paint):
+ (WebCore::RootInlineBox::containingRegion):
+ (WebCore::RootInlineBox::clearContainingRegion):
+ (WebCore::RootInlineBox::setContainingRegion):
</ins><span class="cx">
</span><ins>+2014-04-27 Darin Adler <darin@apple.com>
+
+ REGRESSION (r159345): The hover state for links in the top navigation of Yahoo.com doesn't work
+ https://bugs.webkit.org/show_bug.cgi?id=132241
+ rdar://problem/16501924
+
+ Reviewed by Andreas Kling.
+
+ Test: fast/text/simple-lines-hover-underline.html
+
+ Checked that this does not hurt performance by running the
+ run-perf-tests PerformanceTests/Layout/line-layout.html command before and after.
+
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::hitTestInlineChildren): Use simpleLineLayout function rather than
+ getting at the data member directly.
+ (WebCore::RenderBlockFlow::firstLineBaseline): Ditto.
+ (WebCore::RenderBlockFlow::inlineBlockBaseline): Ditto.
+ (WebCore::RenderBlockFlow::lineCount): Ditto.
+ (WebCore::RenderBlockFlow::paintInlineChildren): Ditto.
+ (WebCore::RenderBlockFlow::hasLines): Ditto.
+ (WebCore::RenderBlockFlow::simpleLineLayout): Added logic to determine which path to use if
+ m_lineLayoutPath is undetermined, and call createLineBoxes if it's not simple.
+ (WebCore::RenderBlockFlow::ensureLineBoxes): Factored out most of the code into a new
+ createLineBoxes function.
+ (WebCore::RenderBlockFlow::createLineBoxes): Ditto.
+
+ * rendering/RenderBlockFlow.h: Made simpleLineLayout function no longer an inline.
+ Added a private createLineBoxes function.
+
+2014-04-27 Praveen R Jadhav <praveen.j@samsung.com>
+
+ [MediaStream] .ended shouldn't be part of MediaStream IDL
+ https://bugs.webkit.org/show_bug.cgi?id=132104
+
+ Reviewed by Eric Carlson.
+
+ .ended attribute is spec'ed out of MediaStream IDL. Instead, .active
+ is introduced to handle more scenarios. This patch replaces all 'ended'
+ attribute calls with corresponding 'active' attributes.
+
+ MediaStream-add-remove-tracks.html is updated.
+
+ * Modules/mediastream/MediaStream.cpp:
+ (WebCore::MediaStream::addTrack): Replaced ended() with active().
+ (WebCore::MediaStream::removeTrack): setEnded() isn't called. setActive()
+ is retained which propagates oninactive event.
+ (WebCore::MediaStream::trackDidEnd): setEnded() isn't called.
+ (WebCore::MediaStream::removeRemoteSource): Replaced ended() with active().
+ (WebCore::MediaStream::addRemoteTrack): Replaced ended() with active().
+ (WebCore::MediaStream::removeRemoteTrack): Replaced ended() with active().
+ (WebCore::MediaStream::ended): Deleted.
+ (WebCore::MediaStream::setEnded): Deleted.
+ (WebCore::MediaStream::streamDidEnd): Deleted.
+ * Modules/mediastream/MediaStream.h:
+ * Modules/mediastream/MediaStream.idl:
+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::RTCPeerConnection::didRemoveRemoteStream): Replaced setEnded()
+ with setActive().
+ * platform/mediastream/MediaStreamPrivate.cpp:
+ (WebCore::MediaStreamPrivate::MediaStreamPrivate):
+ (WebCore::MediaStreamPrivate::setActive): Updated comment from bug
+ https://bugs.webkit.org/show_bug.cgi?id=131973
+ (WebCore::MediaStreamPrivate::setEnded): Deleted.
+ * platform/mediastream/MediaStreamPrivate.h:
+ (WebCore::MediaStreamPrivate::ended): Deleted.
+
+2014-04-25 Andy Estes <aestes@apple.com>
+
+ [iOS] Stop creating a WKWebResourceQuickLookDelegate for every WebResourceLoader
+ https://bugs.webkit.org/show_bug.cgi?id=132215
+
+ Reviewed by Dan Bernstein.
+
+ * WebCore.exp.in: Moved QuickLook symbols to the USE(QUICK_LOOK) stanza.
+ * platform/network/ios/QuickLook.h: Changed one of the create() overloads to no longer take a delegate argument.
+ * platform/network/ios/QuickLook.mm: Moved WKWebResourceQuickLookDelegate to here and renamed to WebResourceLoaderQuickLookDelegate.
+ (WebCore::QuickLookHandle::create): Created a WebResourceLoaderQuickLookDelegate only if QuickLook can handle the response.
+
+2014-04-27 Sam Weinig <sam@webkit.org>
+
+ [iOS WebKit2] Add support for text autosizing
+ <rdar://problem/16545245>
+ https://bugs.webkit.org/show_bug.cgi?id=132237
+
+ Reviewed by Tim Horton.
+
+ Move text autosizing width from Frame to Page, as it is a Page level concept.
+
+ * WebCore.exp.in:
+ * page/Frame.cpp:
+ (WebCore::Frame::textAutosizingWidth): Deleted.
+ (WebCore::Frame::setTextAutosizingWidth): Deleted.
+ * page/Frame.h:
</ins><span class="cx"> * page/FrameView.cpp:
</span><del>- (WebCore::FrameView::setFrameRect): Used nested if statements and local variables
- to tighten this code up a little.
</del><ins>+ (WebCore::FrameView::layout):
+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ * page/Page.h:
+ (WebCore::Page::textAutosizingWidth):
+ (WebCore::Page::setTextAutosizingWidth):
</ins><span class="cx">
</span><del>-2013-06-18 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-04-27 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Move IDL extended attributes to their correct location
- https://bugs.webkit.org/show_bug.cgi?id=117732
</del><ins>+ Unreviewed. Updating one bindings test baseline after r167855.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ * bindings/scripts/test/JS/JSTestCallback.cpp:
+ (WebCore::JSTestCallback::~JSTestCallback):
</ins><span class="cx">
</span><del>- Move IDL extended attributes to their correct location according to the
- latest Web IDL specification. We used to be inconsistent in the positioning
- of the extended attributes. This simplifies a lot the code of the IDL parser
- and makes our IDL files more standard.
</del><ins>+2014-04-27 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Based on Blink r148345 by Kentaro Hara <haraken@chromium.org>.
</del><ins>+ Webpages can trigger loads with invalid URLs
+ https://bugs.webkit.org/show_bug.cgi?id=132224
+ rdar://problem/16697142
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- * Modules/encryptedmedia/MediaKeyMessageEvent.idl:
- * Modules/notifications/Notification.idl:
- * Modules/speech/SpeechSynthesisVoice.idl:
- * bindings/scripts/IDLParser.pm:
- (parseDefinitions):
- (parseInterfaceMembers):
- (parseInterfaceMember):
- (parseDictionaryMembers):
- (parseAttributeOrOperationOrIterator):
- (parseAttribute):
- * css/CSSFontFaceLoadEvent.idl:
- * dom/Document.idl:
- * dom/Element.idl:
- * dom/Node.idl:
- * html/HTMLBodyElement.idl:
- * html/HTMLEmbedElement.idl:
- * html/HTMLFrameSetElement.idl:
- * html/HTMLMediaElement.idl:
- * html/HTMLSelectElement.idl:
- * html/HTMLSourceElement.idl:
- * page/DOMWindow.idl:
- * svg/SVGElementInstance.idl:
- * svg/SVGScriptElement.idl:
- * testing/TypeConversions.idl:
</del><ins>+ Invalid URLs can be a way to trick the user about what website they
+ are looking at. Still trying to figure out a good way to regression-test this.
</ins><span class="cx">
</span><del>-2013-06-18 Jessie Berlin <jberlin@apple.com>
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::processHttpEquiv): Pass a URL rather than a String to
+ the navigation scheduler.
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::receivedFirstData): Ditto.
</ins><span class="cx">
</span><del>- Let the script to update the Localizable.strings file do the reordering it wants to do.
</del><ins>+ * loader/NavigationScheduler.cpp:
+ (WebCore::ScheduledURLNavigation::ScheduledURLNavigation): Take a URL rather
+ than a string.
+ (WebCore::ScheduledURLNavigation::url): Ditto.
+ (WebCore::ScheduledRedirect::ScheduledRedirect): Ditto.
+ (WebCore::ScheduledLocationChange::ScheduledLocationChange): Ditto.
+ (WebCore::ScheduledRefresh::ScheduledRefresh): Ditto.
+ (WebCore::NavigationScheduler::shouldScheduleNavigation): Added a check that
+ prevents navigation to any URL that is invalid, except for JavaScript URLs,
+ which need not be valid.
+ (WebCore::NavigationScheduler::scheduleRedirect): Use URL instead of String.
+ (WebCore::NavigationScheduler::scheduleLocationChange): Use URL instead of
+ String. Also got rid of empty string check since empty URLs are also invalid,
+ and so shouldScheduleNavigation will take care of it.
+ (WebCore::NavigationScheduler::scheduleRefresh): Use URL instead of String.
</ins><span class="cx">
</span><del>- Rubber-stamped by Anders Carlsson.
</del><ins>+ * loader/NavigationScheduler.h: Take URL instead of String. Also removed some
+ unneeded incldues and uses of WTF_MAKE_NONCOPYABLE. NavigationScheduler is
+ already noncopyable because it has a reference for a data member, and the
+ disabler doesn't have any real reason to be noncopyable.
</ins><span class="cx">
</span><del>- * English.lproj/Localizable.strings:
</del><ins>+ * loader/SubframeLoader.cpp:
+ (WebCore::SubframeLoader::loadOrRedirectSubframe): Pass a URL rather than a
+ String to the NavigationScheduler.
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::createWindow): Ditto.
</ins><span class="cx">
</span><del>-2013-06-18 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ * page/SecurityOrigin.cpp:
+ (WebCore::SecurityOrigin::urlWithUniqueSecurityOrigin): Return a URL instead
+ of a String.
+ * page/SecurityOrigin.h: Updated for above change.
</ins><span class="cx">
</span><del>- [Windows] Unreviewed gardening -- show missing AccessibilityNodeObject source
- files in Visual Studio.
</del><ins>+2014-04-27 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Add missing files.
- * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
</del><ins>+ ScriptExecutionContext::Task should work well with C++11 lambdas
+ https://bugs.webkit.org/show_bug.cgi?id=129795
</ins><span class="cx">
</span><del>-2013-06-18 Commit Queue <commit-queue@webkit.org>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r151513.
- http://trac.webkit.org/changeset/151513
- https://bugs.webkit.org/show_bug.cgi?id=117763
</del><ins>+ Instead of having classes that subclass ScriptExecutionContext::Task and override
+ the performTask(ScriptExecutionContext*) method, have the ScriptExecutionContext::Task
+ take in a std::function<void (ScriptExecutionContext*)>-like object trough the constructor
+ which would contain the code currently kept in the performTask() methods.
</ins><span class="cx">
</span><del>- It causes assertions in debug (Requested by benjaminp on
- #webkit).
</del><ins>+ This enables inlining C++11 lambdas into ScriptExecutionContext::postTask() calls. For
+ cleanup tasks, the Task object can be implicitly constructed by using the initializer list
+ constructor with the first argument being the ScriptExecutionContext::Task::CleanupTask tag.
+ The ScriptExecutionContext class remains non-copyable and now stores the passed-in invokable
+ object in the std::function wrapper, along with a boolean member that indicates whether the
+ task is of cleanup nature.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::startAnimation):
- (WebCore::RenderLayerBacking::startTransition):
</del><ins>+ * Modules/quota/StorageErrorCallback.cpp:
+ (WebCore::StorageErrorCallback::CallbackTask::CallbackTask):
+ (WebCore::StorageErrorCallback::CallbackTask::performTask): Deleted.
+ * Modules/quota/StorageErrorCallback.h:
+ (WebCore::StorageErrorCallback::CallbackTask::create): Deleted.
+ * Modules/webdatabase/Database.cpp:
+ (WebCore::Database::~Database):
+ (WebCore::Database::runTransaction):
+ (WebCore::Database::scheduleTransactionCallback):
+ (WebCore::DerefContextTask::create): Deleted.
+ (WebCore::DerefContextTask::performTask): Deleted.
+ (WebCore::DerefContextTask::isCleanupTask): Deleted.
+ (WebCore::DerefContextTask::DerefContextTask): Deleted.
+ (WebCore::callTransactionErrorCallback): Deleted.
+ (WebCore::DeliverPendingCallbackTask::create): Deleted.
+ (WebCore::DeliverPendingCallbackTask::performTask): Deleted.
+ (WebCore::DeliverPendingCallbackTask::DeliverPendingCallbackTask): Deleted.
+ * Modules/webdatabase/DatabaseManager.cpp:
+ (WebCore::DatabaseManager::openDatabase):
+ (WebCore::DatabaseCreationCallbackTask::create): Deleted.
+ (WebCore::DatabaseCreationCallbackTask::performTask): Deleted.
+ (WebCore::DatabaseCreationCallbackTask::DatabaseCreationCallbackTask): Deleted.
+ * Modules/webdatabase/DatabaseSync.cpp:
+ (WebCore::CloseSyncDatabaseOnContextThreadTask::create): Deleted.
+ (WebCore::CloseSyncDatabaseOnContextThreadTask::performTask): Deleted.
+ (WebCore::CloseSyncDatabaseOnContextThreadTask::CloseSyncDatabaseOnContextThreadTask): Deleted.
+ * Modules/webdatabase/SQLCallbackWrapper.h:
+ (WebCore::SQLCallbackWrapper::clear):
+ (WebCore::SQLCallbackWrapper::SafeReleaseTask::create): Deleted.
+ (WebCore::SQLCallbackWrapper::SafeReleaseTask::performTask): Deleted.
+ (WebCore::SQLCallbackWrapper::SafeReleaseTask::isCleanupTask): Deleted.
+ (WebCore::SQLCallbackWrapper::SafeReleaseTask::SafeReleaseTask): Deleted.
+ * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didConnect):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessage):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didUpdateBufferedAmount):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didStartClosingHandshake):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didClose):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageError):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasks):
+ * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
+ * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadInitialize):
+ (WebCore::WorkerThreadableWebSocketChannel::mainThreadDestroy):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::disconnect):
+ (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::create): Deleted.
+ (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::~WorkerGlobalScopeDidInitializeTask): Deleted.
+ (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::WorkerGlobalScopeDidInitializeTask): Deleted.
+ * Modules/websockets/WorkerThreadableWebSocketChannel.h:
+ * bindings/js/JSCallbackData.h:
+ (WebCore::DeleteCallbackDataTask::DeleteCallbackDataTask):
+ (WebCore::DeleteCallbackDataTask::create): Deleted.
+ (WebCore::DeleteCallbackDataTask::performTask): Deleted.
+ (WebCore::DeleteCallbackDataTask::isCleanupTask): Deleted.
+ * bindings/js/JSDOMGlobalObjectTask.cpp:
+ (WebCore::JSGlobalObjectTask::JSGlobalObjectTask):
+ (WebCore::JSGlobalObjectTask::~JSGlobalObjectTask): Deleted.
+ (WebCore::JSGlobalObjectTask::performTask): Deleted.
+ * bindings/js/JSDOMGlobalObjectTask.h:
+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::queueTaskToEventLoop):
+ * bindings/js/JSWorkerGlobalScopeBase.cpp:
+ (WebCore::JSWorkerGlobalScopeBase::queueTaskToEventLoop):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateCallbackImplementation):
+ * dom/CrossThreadTask.h:
+ (WebCore::CrossThreadTask1::performTask):
+ (WebCore::CrossThreadTask2::performTask):
+ (WebCore::CrossThreadTask3::performTask):
+ (WebCore::CrossThreadTask4::performTask):
+ (WebCore::CrossThreadTask5::performTask):
+ (WebCore::CrossThreadTask6::performTask):
+ (WebCore::CrossThreadTask7::performTask):
+ (WebCore::CrossThreadTask8::performTask):
+ (WebCore::createCallbackTask):
+ (WebCore::CrossThreadTask1::create): Deleted.
+ (WebCore::CrossThreadTask2::create): Deleted.
+ (WebCore::CrossThreadTask3::create): Deleted.
+ (WebCore::CrossThreadTask4::create): Deleted.
+ (WebCore::CrossThreadTask5::create): Deleted.
+ (WebCore::CrossThreadTask6::create): Deleted.
+ (WebCore::CrossThreadTask7::create): Deleted.
+ (WebCore::CrossThreadTask8::create): Deleted.
+ * dom/Document.cpp:
+ (WebCore::Document::addConsoleMessage):
+ (WebCore::Document::addMessage):
+ (WebCore::Document::postTask):
+ (WebCore::Document::pendingTasksTimerFired):
+ (WebCore::PerformTaskContext::PerformTaskContext): Deleted.
+ (WebCore::Document::didReceiveTask): Deleted.
+ * dom/Document.h:
+ * dom/ScriptExecutionContext.cpp:
+ (WebCore::ScriptExecutionContext::processMessagePortMessagesSoon):
+ (WebCore::ScriptExecutionContext::timerAlignmentInterval):
+ (WebCore::ProcessMessagesSoonTask::create): Deleted.
+ (WebCore::ScriptExecutionContext::AddConsoleMessageTask::performTask): Deleted.
+ (WebCore::ScriptExecutionContext::Task::~Task): Deleted.
+ * dom/ScriptExecutionContext.h:
+ (WebCore::ScriptExecutionContext::Task::Task):
+ (WebCore::ScriptExecutionContext::Task::performTask):
+ (WebCore::ScriptExecutionContext::Task::isCleanupTask):
+ (WebCore::ScriptExecutionContext::AddConsoleMessageTask::AddConsoleMessageTask):
+ (WebCore::ScriptExecutionContext::AddConsoleMessageTask::create): Deleted.
+ * dom/StringCallback.cpp:
+ (WebCore::StringCallback::scheduleCallback):
+ * loader/appcache/ApplicationCacheGroup.cpp:
+ (WebCore::ApplicationCacheGroup::postListenerTask):
+ (WebCore::CallCacheListenerTask::create): Deleted.
+ (WebCore::CallCacheListenerTask::CallCacheListenerTask): Deleted.
+ * workers/DefaultSharedWorkerRepository.cpp:
+ (WebCore::SharedWorkerProxy::postTaskToLoader):
+ (WebCore::SharedWorkerProxy::postTaskForModeToWorkerGlobalScope):
+ (WebCore::SharedWorkerConnectTask::SharedWorkerConnectTask):
+ (WebCore::DefaultSharedWorkerRepository::workerScriptLoaded):
+ (WebCore::DefaultSharedWorkerRepository::connectToWorker):
+ (WebCore::SharedWorkerConnectTask::create): Deleted.
+ (WebCore::SharedWorkerConnectTask::performTask): Deleted.
+ * workers/WorkerEventQueue.cpp:
+ (WebCore::WorkerEventQueue::EventDispatcher::EventDispatcher):
+ (WebCore::WorkerEventQueue::EventDispatcher::~EventDispatcher):
+ (WebCore::WorkerEventQueue::EventDispatcher::dispatch):
+ (WebCore::WorkerEventQueue::enqueueEvent):
+ (WebCore::WorkerEventQueue::cancelEvent):
+ (WebCore::WorkerEventQueue::close):
+ * workers/WorkerEventQueue.h:
+ * workers/WorkerGlobalScope.cpp:
+ (WebCore::WorkerGlobalScope::close):
+ (WebCore::WorkerGlobalScope::postTask):
+ (WebCore::WorkerGlobalScope::addConsoleMessage):
+ (WebCore::WorkerGlobalScope::addMessage):
+ (WebCore::CloseWorkerGlobalScopeTask::create): Deleted.
+ (WebCore::CloseWorkerGlobalScopeTask::performTask): Deleted.
+ (WebCore::CloseWorkerGlobalScopeTask::isCleanupTask): Deleted.
+ * workers/WorkerGlobalScope.h:
+ * workers/WorkerLoaderProxy.h:
+ * workers/WorkerMessagingProxy.cpp:
+ (WebCore::WorkerMessagingProxy::postMessageToWorkerObject):
+ (WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope):
+ (WebCore::WorkerMessagingProxy::postTaskForModeToWorkerGlobalScope):
+ (WebCore::WorkerMessagingProxy::postTaskToLoader):
+ (WebCore::WorkerMessagingProxy::postExceptionToWorkerObject):
+ (WebCore::WorkerMessagingProxy::workerThreadCreated):
+ (WebCore::WorkerMessagingProxy::notifyNetworkStateChange):
+ (WebCore::WorkerMessagingProxy::workerGlobalScopeDestroyed):
+ (WebCore::WorkerMessagingProxy::workerGlobalScopeClosed):
+ (WebCore::WorkerMessagingProxy::postMessageToPageInspector):
+ (WebCore::WorkerMessagingProxy::confirmMessageFromWorkerObject):
+ (WebCore::WorkerMessagingProxy::reportPendingActivity):
+ (WebCore::MessageWorkerGlobalScopeTask::create): Deleted.
+ (WebCore::MessageWorkerGlobalScopeTask::MessageWorkerGlobalScopeTask): Deleted.
+ (WebCore::MessageWorkerGlobalScopeTask::performTask): Deleted.
+ (WebCore::MessageWorkerTask::create): Deleted.
+ (WebCore::MessageWorkerTask::MessageWorkerTask): Deleted.
+ (WebCore::MessageWorkerTask::performTask): Deleted.
+ (WebCore::WorkerExceptionTask::create): Deleted.
+ (WebCore::WorkerExceptionTask::WorkerExceptionTask): Deleted.
+ (WebCore::WorkerExceptionTask::performTask): Deleted.
+ (WebCore::WorkerGlobalScopeDestroyedTask::create): Deleted.
+ (WebCore::WorkerGlobalScopeDestroyedTask::WorkerGlobalScopeDestroyedTask): Deleted.
+ (WebCore::WorkerGlobalScopeDestroyedTask::performTask): Deleted.
+ (WebCore::WorkerTerminateTask::create): Deleted.
+ (WebCore::WorkerTerminateTask::WorkerTerminateTask): Deleted.
+ (WebCore::WorkerTerminateTask::performTask): Deleted.
+ (WebCore::WorkerThreadActivityReportTask::create): Deleted.
+ (WebCore::WorkerThreadActivityReportTask::WorkerThreadActivityReportTask): Deleted.
+ (WebCore::WorkerThreadActivityReportTask::performTask): Deleted.
+ (WebCore::PostMessageToPageInspectorTask::create): Deleted.
+ (WebCore::PostMessageToPageInspectorTask::PostMessageToPageInspectorTask): Deleted.
+ (WebCore::PostMessageToPageInspectorTask::performTask): Deleted.
+ (WebCore::NotifyNetworkStateChangeTask::create): Deleted.
+ (WebCore::NotifyNetworkStateChangeTask::NotifyNetworkStateChangeTask): Deleted.
+ (WebCore::NotifyNetworkStateChangeTask::performTask): Deleted.
+ * workers/WorkerMessagingProxy.h:
+ * workers/WorkerRunLoop.cpp:
+ (WebCore::WorkerRunLoop::postTask):
+ (WebCore::WorkerRunLoop::postTaskAndTerminate):
+ (WebCore::WorkerRunLoop::postTaskForMode):
+ (WebCore::WorkerRunLoop::Task::create):
+ (WebCore::WorkerRunLoop::Task::performTask):
+ (WebCore::WorkerRunLoop::Task::Task):
+ * workers/WorkerRunLoop.h:
+ * workers/WorkerThread.cpp:
+ (WebCore::WorkerThread::stop):
+ (WebCore::WorkerThread::releaseFastMallocFreeMemoryInAllThreads):
+ (WebCore::WorkerThreadShutdownFinishTask::create): Deleted.
+ (WebCore::WorkerThreadShutdownFinishTask::performTask): Deleted.
+ (WebCore::WorkerThreadShutdownFinishTask::isCleanupTask): Deleted.
+ (WebCore::WorkerThreadShutdownStartTask::create): Deleted.
+ (WebCore::WorkerThreadShutdownStartTask::performTask): Deleted.
+ (WebCore::WorkerThreadShutdownStartTask::isCleanupTask): Deleted.
</ins><span class="cx">
</span><del>-2013-06-18 Roger Fong <roger_fong@apple.com>
</del><ins>+2014-04-27 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- Replace tools32 folder with tools and update WebKit Windows solution accordingly.
- <rdar://problem/14118143>.
</del><ins>+ Coalesce responses on network process side
+ https://bugs.webkit.org/show_bug.cgi?id=132229
</ins><span class="cx">
</span><del>- Rubberstamped by Brent Fulgham.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/QTMovieWin/QTMovieWin.vcxproj:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinCairoDebug.props:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinCairoRelease.props:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinDebug.props:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinPostBuild.cmd:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinProduction.props:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinRelease.props:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCoreDebug.props:
- * WebCore.vcxproj/WebCoreDebugWinCairo.props:
- * WebCore.vcxproj/WebCoreGenerated.vcxproj:
- * WebCore.vcxproj/WebCoreGeneratedDebug.props:
- * WebCore.vcxproj/WebCoreGeneratedDebugWinCairo.props:
- * WebCore.vcxproj/WebCoreGeneratedProduction.props:
- * WebCore.vcxproj/WebCoreGeneratedRelease.props:
- * WebCore.vcxproj/WebCoreGeneratedReleaseWinCairo.props:
- * WebCore.vcxproj/WebCoreProduction.props:
- * WebCore.vcxproj/WebCoreRelease.props:
- * WebCore.vcxproj/WebCoreReleaseWinCairo.props:
- * WebCore.vcxproj/WebCoreTestSupport.vcxproj:
- * WebCore.vcxproj/build-generated-files.sh:
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>-2013-06-18 Zoltan Horvath <zoltan@webkit.org>
</del><ins>+2014-04-27 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- [CSS Shapes] Remove lineOverflowsFromShapeInside boolean from RenderBlock::layoutRunsAndFloatsInRange function
- https://bugs.webkit.org/show_bug.cgi?id=117757
</del><ins>+ Roll out changes not part of the patch reviewed for Bug 132089
+ <http://webkit.org/b/132089>
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * loader/SubframeLoader.cpp:
+ (WebCore::SubframeLoader::loadOrRedirectSubframe):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::setLocation):
+ (WebCore::DOMWindow::createWindow):
+ (WebCore::DOMWindow::open):
</ins><span class="cx">
</span><del>- We don't need keep lineOverflowsFromShapeInside boolean in RenderBlock::layoutRunsAndFloatsInRange and in its
- helpers because it's easy to decide whether we are in an shape content overflow state or not, so I got rid of
- lineOverflowsFromShapeInside's occurences and updated the affected functions.
</del><ins>+2014-04-26 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Covered by existing overflow tests in fast/exclusions/shape-inside and fast/regions/shape-inside.
</del><ins>+ Frame and page lifetime fixes in WebCore::createWindow
+ https://bugs.webkit.org/show_bug.cgi?id=132089
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.h: Update helper's definition.
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::pushShapeContentOverflowBelowTheContentBox): Add condition when overflow is already positioned.
- (WebCore::RenderBlock::updateShapeAndSegmentsForCurrentLine): Remove lineOverflowsFromShapeInside.
- (WebCore::RenderBlock::updateShapeAndSegmentsForCurrentLineInFlowThread): Remove lineOverflowsFromShapeInside.
- (WebCore::RenderBlock::layoutRunsAndFloatsInRange): Remove lineOverflowsFromShapeInside.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>-2013-06-18 Zalan Bujtas <zalan@apple.com>
</del><ins>+ Speculative fix because I was unable to reproduce the crash that was
+ reported with the test case attached to this bug.
</ins><span class="cx">
</span><del>- widthMediaFeatureEval ends up with null FrameView during iframe unload.
- https://bugs.webkit.org/show_bug.cgi?id=117754
</del><ins>+ * loader/FrameLoader.cpp:
+ (WebCore::createWindow): Changed code to remove the assumption that calls
+ out will not destroy the page or frame. Use RefPtr for the frame, and
+ added early exits if frame->page() becomes null at any point before we
+ use a page pointer.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+2014-04-26 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Ensure that MediaQueryEvaluator checks against NULL FrameView.
</del><ins>+ Local files should not be allowed to read pasteboard data during drag
+ https://bugs.webkit.org/show_bug.cgi?id=131767
</ins><span class="cx">
</span><del>- While frames are being unloaded, the Frame object does not necessarily have valid
- FrameView anymore. Layout on the main frame can end up querying media values on such child
- frames, while detaching.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Test: fast/frames/crash-when-child-iframe-forces-layout-during-unload-and-sibling-frame-has-mediaquery.html
</del><ins>+ Test: fast/files/local-file-drag-security.html
</ins><span class="cx">
</span><del>- * css/MediaQueryEvaluator.cpp:
- (WebCore::orientationMediaFeatureEval):
- (WebCore::aspect_ratioMediaFeatureEval):
- (WebCore::evalResolution):
- (WebCore::heightMediaFeatureEval):
- (WebCore::widthMediaFeatureEval):
- (WebCore::MediaQueryEvaluator::eval):
</del><ins>+ * page/DragController.cpp:
+ (WebCore::DragController::dragExited):
+ (WebCore::DragController::tryDHTMLDrag):
+ Make an old Dashboard quirk really Dashboard only.
</ins><span class="cx">
</span><del>-2013-06-18 Ruth Fong <ruth_fong@apple.com>
</del><ins>+2014-04-24 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Expose a getMediaType method in WebKit
- https://bugs.webkit.org/show_bug.cgi?id=117667
</del><ins>+ REGRESSION (r164133): Selection doesn't paint when scrolling some pages
+ https://bugs.webkit.org/show_bug.cgi?id=132172
+ rdar://problem/16719473
</ins><span class="cx">
</span><del>- Reviewed by Brady Eidson.
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Updated to add a symbol for
- HitTestResult::mediaIsVideo method
- and alphabetize the list of exposed methods.
</del><ins>+ Tests: fast/dynamic/remove-invisible-node-inside-selection.html
+ fast/dynamic/remove-node-inside-selection.html
</ins><span class="cx">
</span><del>-2013-06-18 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * editing/FrameSelection.cpp:
+ (WebCore::clearRenderViewSelection): Changed to take a Node& because having
+ this take a Position& was unnecessary and strange, when really it just needs
+ to take a document as an argument.
+ (WebCore::DragCaretController::nodeWillBeRemoved): Updated for the above.
+ (WebCore::FrameSelection::respondToNodeModification): Added code to set the
+ m_pendingSelectionUpdate flag and call RenderView::setNeedsLayout so the
+ selection will be recomputed after it's temporarily cleared when one of
+ the selected nodes is removed.
</ins><span class="cx">
</span><del>- Remove unused bool argument from ReplacementFragment's constructor
- https://bugs.webkit.org/show_bug.cgi?id=117752
</del><ins>+2014-04-25 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ REGRESSION (r167689): Hovering file name in a file input causes a crash
+ https://bugs.webkit.org/show_bug.cgi?id=132214
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/265586d9f154a9dff657511d09926429b8e1b53d.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::ReplacementFragment::ReplacementFragment):
- (WebCore::ReplaceSelectionCommand::doApply):
</del><ins>+ The bug was caused by callDefaultEventHandlersInTheBubblingOrder unconditionally
+ accessing path.contextAt(0) even if the event path was empty.
</ins><span class="cx">
</span><del>-2013-06-18 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Fixed the bug by exiting early when the event path is empty.
</ins><span class="cx">
</span><del>- Not all subtitle tracks are SDH
- https://bugs.webkit.org/show_bug.cgi?id=117738
</del><ins>+ Test: fast/events/shadow-event-path-2.html
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ * dom/EventDispatcher.cpp:
+ (WebCore::callDefaultEventHandlersInTheBubblingOrder):
</ins><span class="cx">
</span><del>- No new tests, existing tests updated.
</del><ins>+2014-04-25 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- * html/track/InbandTextTrack.cpp:
- (WebCore::InbandTextTrack::isSDH): New.
</del><ins>+ REGRESSION (r167828): http/tests/media/hls/video-controls-live-stream.html fails
</ins><span class="cx">
</span><del>- * html/track/InbandTextTrack.h: Add isSDH override.
- * html/track/TextTrack.h:
</del><ins>+ * English.lproj/mediaControlsLocalizedStrings.js:
+ Add 'Live Broadcast' to the localized strings list.
</ins><span class="cx">
</span><del>- * page/CaptionUserPreferencesMac.mm:
- (WebCore::trackDisplayName): Only add "SDH" label if a track claims to be SDH.
</del><ins>+2014-04-25 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/InbandTextTrackPrivate.h:
- (WebCore::InbandTextTrackPrivate::isSDH): New.
</del><ins>+ Add a selection overlay.
+ <rdar://problem/16727797> and https://bugs.webkit.org/show_bug.cgi?id=132200
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h:
- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm:
- (WebCore::InbandTextTrackPrivateAVFObjC::isSDH): Return true if track has both "transcribes
- spoken dialog for accessibility" and "describes music and sound for accessibility"
- characteristics.
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>-2013-06-18 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ No new tests (WK2 feature in development).
</ins><span class="cx">
</span><del>- Simplify FormKeyGenerator::willDeleteForm
- https://bugs.webkit.org/show_bug.cgi?id=117751
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Add a SelectionRectGathterer class.
+ It creates a Notifier (given a RenderView) then accepts Rects from the RenderView.
+ When the Notifier is destroyed, the appropriate EditorClient is notified of the gathered rects.
+ * editing/SelectionRectGatherer.cpp: Added.
+ (WebCore::SelectionRectGatherer::SelectionRectGatherer):
+ (WebCore::SelectionRectGatherer::addRect):
+ (WebCore::SelectionRectGatherer::addRects):
+ (WebCore::SelectionRectGatherer::Notifier::Notifier):
+ (WebCore::SelectionRectGatherer::Notifier::~Notifier):
+ (WebCore::SelectionRectGatherer::clearAndCreateNotifier):
+ * editing/SelectionRectGatherer.h: Added.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/c6399efb9da863eb1d1fc98b17ef925998b985ac
</del><ins>+ * page/EditorClient.h:
+ (WebCore::EditorClient::selectionRectsDidChange):
</ins><span class="cx">
</span><del>- * html/FormController.cpp:
- (WebCore::FormKeyGenerator::willDeleteForm):
</del><ins>+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::RenderView):
+ (WebCore::RenderView::setSelection): Clear the gatherer’s rects then create a Notifier.
+ (WebCore::RenderView::setSubtreeSelection): Give all the selection rects to be painted to
+ the SelectionRectGatherer.
+ * rendering/RenderView.h:
</ins><span class="cx">
</span><del>-2013-06-18 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-04-08 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- REGRESSION(r147602): Search text field doesn't render selection when it has some :focus rules
- https://bugs.webkit.org/show_bug.cgi?id=117747
</del><ins>+ Support "Live" streams in media controls.
+ https://bugs.webkit.org/show_bug.cgi?id=131390
</ins><span class="cx">
</span><del>- Reviewed by Kent Tamura.
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/7ff656c8239ce3b125246abcc8b149a603fcff28
</del><ins>+ Test: http/tests/media/hls/video-controls-live-stream.html
</ins><span class="cx">
</span><del>- r147612 added setNeedsLayout(true, MarkOnlyThis) for
- TextControlInnerTextElement renderer. It's ok for input[type=text]
- because RenderTextControlSingleLine also has needsLayout flag, and it
- has only the inner text renderer as a child.
</del><ins>+ Support "Live" streams by adding an isLive property to our media controls.
</ins><span class="cx">
</span><del>- As for input[type=search], it doesn't work. Renderer structure for
- input[type=search] is:
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.css:
+ (audio::-webkit-media-controls-status-display):
+ (video:-webkit-full-screen::-webkit-media-controls-status-display):
+ * Modules/mediacontrols/mediaControlsApple.js:
+ (Controller): isLive defaults to false.
+ (Controller.prototype.setIsLive): Set the isLive property and conditionally reconfigure the controls.
+ (Controller.prototype.configureInlineControls): Don't add the timeline if we are live.
+ (Controller.prototype.configureFullScreenControls): Ditto.
+ (Controller.prototype.updateStatusDisplay): Added.
+ (Controller.prototype.handleLoadStart): Call updateStatusDisplay().
+ (Controller.prototype.handleError): Ditto.
+ (Controller.prototype.handleAbort): Ditto.
+ (Controller.prototype.handleSuspend): Ditto.
+ (Controller.prototype.handleStalled): Ditto.
+ (Controller.prototype.handleWaiting): Ditto.
+ (Controller.prototype.updateDuration): Ditto.
+ (Controller.prototype.updateReadyState): Ditto.
</ins><span class="cx">
</span><del>- RenderTextControlSingleLine
- └Renderer for TextControlInnerContainer
- └Renderer for TextControlInnerElement
- └Renderer for TextControlInnerTextElement
</del><ins>+2014-04-25 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- After r147612, there is a case that only RenderTextControlSingleLine
- and TextControlInnerTextElement renderer have needsLayout flag, and
- others don't. It won't trigger layout for
- TextControlInnerTextElement renderer.
</del><ins>+ Allow a platform-specific size enumeration to be passed into popup-menu display
+ https://bugs.webkit.org/show_bug.cgi?id=132195
</ins><span class="cx">
</span><del>- We should set needsLayout flags of TextControlInnerContainer renderer
- and TextControlInnerElement renderer by MarkContainingBlockChain.
</del><ins>+ Reviewed by Brent Fulgham. With some in-person review comments from Sam Weinig.
</ins><span class="cx">
</span><del>- Manual Tests: search-select-all-with-focus-style.html
- (I tried but couldn't make a test that works in DRT)
</del><ins>+ Platforms like OS X use a set of predefined sizes for built-in controls
+ used for <select>: normal, small and mini. Expose that information to
+ the PopupMenuClient via the PopupMenuStyle, allowing it to be passed
+ into the platform code in WebKitSystemInterface.
</ins><span class="cx">
</span><del>- * rendering/RenderTextControlSingleLine.cpp:
- (WebCore::RenderTextControlSingleLine::styleDidChange):
</del><ins>+ * platform/PopupMenuStyle.h: Add a menu size enum.
+ (WebCore::PopupMenuStyle::PopupMenuStyle):
+ (WebCore::PopupMenuStyle::menuSize):
+ * platform/mac/WebCoreSystemInterface.h: Pass in NSControlSize as a parameter
+ to WKPopupMenu.
+ * platform/mac/WebCoreSystemInterface.mm: Ditto.
+ * rendering/RenderMenuList.cpp:
+ (RenderMenuList::menuStyle): Ask the RenderTheme to calculate the size
+ of the menu button, so that it can be added to the PopupMenuStyle.
+ * rendering/RenderTheme.h: New method to retrieve the menu size.
+ (WebCore::RenderTheme::popupMenuSize): Convert an NSControlSize into a PopupMenuSize.
+ * rendering/RenderThemeMac.h: Override the base function, and add a
+ controlSizeForCell helper.
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::controlSizeForCell): Used by this new
+ code and the old setControlSizeForCell to calculate the NSControlSize
+ that would be used for the button.
+ (WebCore::RenderThemeMac::setControlSize): Call the new helper.
+ (WebCore::RenderThemeMac::popupMenuSize): Return the value from the helper.
</ins><span class="cx">
</span><del>-2013-06-18 Dean Jackson <dino@apple.com>
</del><ins>+2014-04-25 Javier Fernandez <jfernandez@igalia.com>
</ins><span class="cx">
</span><del>- Attempted build fix for non-Mac.
</del><ins>+ REGRESSION(r167799): ASSERTION in parseGridTemplateShorthand in fast/css-grid-layout/grid-template-shorthand-get-set.html
+ https://bugs.webkit.org/show_bug.cgi?id=132194
</ins><span class="cx">
</span><del>- * platform/graphics/SimpleFontData.cpp:
- (WebCore::SimpleFontData::nonSyntheticItalicFontData):
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>-2013-06-18 Dean Jackson <dino@apple.com>
</del><ins>+ Properly resolving the grid-template shorthand for the corresponding longhand
+ properties.
</ins><span class="cx">
</span><del>- Synthesized vertical italics on rotated glyphs are transformed incorrectly
- https://bugs.webkit.org/show_bug.cgi?id=117726
</del><ins>+ No new tests, grid-template-shorthand-get-set.html already covers this case.
</ins><span class="cx">
</span><del>- Reviewed by Enrica Casucci.
</del><ins>+ * css/StyleProperties.cpp:
+ (WebCore::StyleProperties::getPropertyValue):
+ * css/StylePropertyShorthand.cpp:
+ (WebCore::shorthandForProperty):
+ (WebCore::matchingShorthandsForLonghand):
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::applyProperty):
</ins><span class="cx">
</span><del>- If a font does not have italic glyphs, and is in a vertical flow, then
- the synthesis of italics was skewing in the wrong direction. While here,
- ensure that no CJK text will get italics in vertical layout.
</del><ins>+2014-04-25 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- This is a topic under discussion in the CSS Working Group. The resolution
- at the June 2013 face-to-face was that:
- - italics in Japanese (and Chinese) text are rare in vertical layout
- - most people wanted Latin text to italicize in the direction of the line flow
</del><ins>+ Column rules not respecting scroll offsets.
+ https://bugs.webkit.org/show_bug.cgi?id=109683
</ins><span class="cx">
</span><del>- The final behaviour was left undefined, but we consider the change here
- to be sufficient for now. In all cases, the best solution is to avoid
- synthesized italics by specifying a font that includes such forms.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Tests: fast/text/international/synthesized-italic-vertical-latin.html
- fast/text/international/synthesized-italic-vertical.html
</del><ins>+ Added fast/multicol/scrolling-column-rules.html
</ins><span class="cx">
</span><del>- * platform/graphics/FontGlyphs.cpp:
- (WebCore::glyphDataAndPageForCJKCharacterWithoutSyntheticItalic): New function
- that makes a new glyph data pair that is marked as NOT using a synthesized italic.
- (WebCore::FontGlyphs::glyphDataAndPageForCharacter): If this is a CJK character and
- has a synthesized oblique, then run it through the function above to make a new glyph data pair.
- * platform/graphics/SimpleFontData.cpp:
- (WebCore::SimpleFontData::nonSyntheticItalicFontData): Creates/returns a new SimpleFontData that will
- not synthesize italics.
- * platform/graphics/SimpleFontData.h: New method nonSyntheticItalicFontData.
- * platform/graphics/mac/FontMac.mm:
- (WebCore::Font::drawGlyphs): This is the actual bug fix. If you are in a vertical flow, the
- skew direction should be downwards, not leftwards.
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::paintColumnRules):
+ Make paintColumnRules virtual so that it works with both column implementations.
</ins><span class="cx">
</span><del>-2013-06-18 Commit Queue <commit-queue@webkit.org>
</del><ins>+ (WebCore::RenderBlock::paintObject):
+ Changed to call paintColumnRules with the adjusted scroll offset and to do it after
+ bailing on the root background only check.
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r151549.
- http://trac.webkit.org/changeset/151549
- https://bugs.webkit.org/show_bug.cgi?id=117741
</del><ins>+ * rendering/RenderBlock.h:
+ paintColumnRules is now virtual.
</ins><span class="cx">
</span><del>- broke selection in the web inspector source after scrolling
- (Requested by smfr on #webkit).
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::paintColumnRules):
+ (WebCore::RenderBlockFlow::paintBoxDecorations): Deleted.
+ * rendering/RenderBlockFlow.h:
+ Got rid of paintBoxDecorations override since it failed when hasBoxDecorations was false
+ anyway. Override paintColumnRules instead to paint at the right time.
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::computeRectForRepaint):
- * rendering/RenderLayerModelObject.cpp:
- * rendering/RenderLayerModelObject.h:
</del><ins>+2014-04-23 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>-2013-06-18 Santosh Mahto <santosh.ma@samsung.com>
</del><ins>+ Crash applying editing commands from iframe onload event
</ins><span class="cx">
</span><del>- <video> element delays document load event for ~ 3 seconds
- https://bugs.webkit.org/show_bug.cgi?id=90272
</del><ins>+ <https://bugs.webkit.org/show_bug.cgi?id=132103>
+ <rdar://problem/15696351>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ This patch merges the Chromium bug workaround from
+ <http://src.chromium.org/viewvc/blink?revision=162080&view=revision>,
+ which prevents reentrancy in CompositeEditCommand::apply().
</ins><span class="cx">
</span><del>- Test: media/media-preload-no-delay-loadevent.html
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::prepareForLoad):
- No need to delay document load event here when preload="none"
</del><ins>+ Test: editing/apply-style-iframe-crash.html
</ins><span class="cx">
</span><del>-2013-06-18 Diego Pino Garcia <dpino@igalia.com>
</del><ins>+ * editing/CompositeEditCommand.cpp:
+ (WebCore::HTMLNames::ReentrancyGuard::isRecursiveCall):
+ (WebCore::HTMLNames::ReentrancyGuard::Scope::Scope):
+ (WebCore::HTMLNames::ReentrancyGuard::Scope::~Scope):
+ (WebCore::CompositeEditCommand::apply):
+ If this is a recursive call, return early.
</ins><span class="cx">
</span><del>- [GTK] Remove comment about possibility of handling ObjCPolymorphic (it's used by ObjC bindings only)
- https://bugs.webkit.org/show_bug.cgi?id=117546
</del><ins>+2014-04-25 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Xan Lopez.
</del><ins>+ [New Multicolumn] fast/multicol/hit-test-* layout tests all fail
+ https://bugs.webkit.org/show_bug.cgi?id=132081
</ins><span class="cx">
</span><del>- According to the WebKit IDL spec the modifier ObjCPolymorphic only
- applies to the Objective-C bindings generator
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorGObject.pm:
- (IsPolymorphic): Remove comment. Search parameter 'type' in array, instead of
- concatening a series of 'or' conditionals.
</del><ins>+ Added a bunch of tests in fast/multicol/newmulticol/compare-with-old-impl/hit-test-*.html
</ins><span class="cx">
</span><del>-2013-06-18 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
</del><ins>+ * rendering/RenderBlock.h:
+ Make offsetForContents public, since I need to call it from RenderMultiColumnSet.
</ins><span class="cx">
</span><del>- Fix after r151673
- https://bugs.webkit.org/show_bug.cgi?id=116042
</del><ins>+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::populate):
+ Stop an ASSERT in the new columns code on the hit tests by making sure layout state is
+ disabled when moving children around.
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::positionForPoint):
+ Refactor this function to call a helper function instead, translateRegionPointToFlowThread.
</ins><span class="cx">
</span><del>- Removed a spurious semicolon in the video sink caps definition.
</del><ins>+ (WebCore::RenderMultiColumnSet::translateRegionPointToFlowThread):
+ This function is logical (unlike the mistaken physical function I first implemented in
+ positionForPoint).
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ (WebCore::RenderMultiColumnSet::updateHitTestResult):
+ * rendering/RenderMultiColumnSet.h:
+ Overridden to fill in the correct local coordinate when the HTML document is inside a paginated
+ RenderView. Note that column spans don't actually work, but once we move over to a
+ non-column based pagination API, that will become irrelevant.
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
</del><ins>+2014-04-25 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2013-06-18 Praveen R Jadhav <praveen.j@samsung.com>
</del><ins>+ Mark some things with WTF_MAKE_FAST_ALLOCATED.
+ <https://webkit.org/b/132198>
</ins><span class="cx">
</span><del>- [WebSpeech] Speech Recognition requires convertValue support in JSDictionary
- https://bugs.webkit.org/show_bug.cgi?id=117731
</del><ins>+ Use FastMalloc for more things.
</ins><span class="cx">
</span><del>- Reviewed by Christophe Dumez.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Build fails after enabling ENABLE_SCRIPTED_SPEECH feature. This patch
- resolves the issue.
</del><ins>+ * bindings/js/ScriptController.h:
+ * dom/DocumentOrderedMap.h:
+ * inspector/InspectorCSSAgent.h:
+ * inspector/InspectorDOMAgent.h:
+ * inspector/InspectorDOMDebuggerAgent.h:
+ * inspector/InspectorDOMStorageAgent.h:
+ * inspector/InspectorDatabaseAgent.h:
+ * inspector/InspectorLayerTreeAgent.h:
+ * inspector/InspectorPageAgent.h:
+ * inspector/InspectorResourceAgent.h:
+ * inspector/InspectorTimelineAgent.h:
+ * inspector/InspectorWorkerAgent.h:
+ * inspector/PageRuntimeAgent.h:
+ * loader/HistoryController.h:
+ * page/DeviceClient.h:
+ * page/DeviceController.h:
+ * page/EventHandler.h:
+ * page/Page.h:
+ * page/scrolling/ScrollingStateNode.h:
+ * platform/graphics/FontGenericFamilies.h:
+ * platform/graphics/FontPlatformData.h:
</ins><span class="cx">
</span><del>- No new tests. No change in behaviour.
</del><ins>+2014-04-25 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- * bindings/js/JSDictionary.cpp:
- (WebCore::JSDictionary::convertValue):
- * bindings/js/JSDictionary.h:
</del><ins>+ [CSS Regions] Rename objectShouldPaintInFlowRegion to something more clear
+ https://bugs.webkit.org/show_bug.cgi?id=132050
</ins><span class="cx">
</span><del>-2013-06-18 Mary Wu <mary.wu@torchmobile.com.cn>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- [BlackBerry] only notify download client when download error
- https://bugs.webkit.org/show_bug.cgi?id=117687
</del><ins>+ The objectShouldPaintInFlowRegion is no longer used only by the painting process
+ but also for hit-testing, so it was renamed to something more generic (objectShouldFragmentInFlowRegion).
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ No new tests required, it's just a method rename.
</ins><span class="cx">
</span><del>- When met network error in downloading, we notify the error to download
- client through download stream, we shouldn't notify page client the error.
- RIM JIRA 419985
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::paint):
+ (WebCore::RenderBlock::selectionGaps):
+ (WebCore::RenderBlock::nodeAtPoint):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::positionForPoint):
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::objectShouldFragmentInFlowRegion):
+ (WebCore::RenderFlowThread::objectShouldPaintInFlowRegion): Deleted.
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paintLayer):
+ (WebCore::RenderLayer::hitTestLayer):
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::ensureOverflowForBox):
+ * rendering/RenderReplaced.cpp:
+ (WebCore::RenderReplaced::shouldPaint):
</ins><span class="cx">
</span><del>- * platform/network/blackberry/NetworkJob.cpp:
- (WebCore::NetworkJob::shouldNotifyClientFailed):
</del><ins>+2014-04-25 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>-2013-06-18 Mario Sanchez Prada <mario.prada@samsung.com>
</del><ins>+ iOS build fix after http://trac.webkit.org/changeset/167803
+ Unreviewed.
</ins><span class="cx">
</span><del>- Shader compiler not properly configured for GLES on cairo based ports
- https://bugs.webkit.org/show_bug.cgi?id=117705
</del><ins>+ * page/Frame.cpp:
+ (WebCore::Frame::checkOverflowScroll):
+ * rendering/RenderBlock.cpp:
+ (WebCore::positionForPointRespectingEditingBoundaries):
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+2014-04-24 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Configure the shader compiler with SH_ESSL_OUTPUT for GLESv2
- compliant platforms, and with SH_GLSL_OUTPUT otherwise.
</del><ins>+ [New Multicolumn] Add support for offsetLeft and offsetTop.
+ https://bugs.webkit.org/show_bug.cgi?id=132080
</ins><span class="cx">
</span><del>- * platform/graphics/cairo/GraphicsContext3DCairo.cpp:
- (WebCore::GraphicsContext3D::GraphicsContext3D):
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>-2013-06-18 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Added fast/multicol/client-spanners-complex.html and offset-top-left.html
</ins><span class="cx">
</span><del>- touching any idl rebuilds all derived sources
- https://bugs.webkit.org/show_bug.cgi?id=117708
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::adjustedPositionRelativeToOffsetParent):
+ Patch the offsetLeft/Top loop to handle calling into RenderMultiColumnFlowThread
+ in order to adjust the coordinates for the new multicolumn layout.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::mapFromFlowToRegion):
+ Modified to use a helper that can be shared by offsetLeft/Top code. This code
+ ran for client rects, and I'm moving/refactoring it for more sharing.
</ins><span class="cx">
</span><del>- Fix preprocess-idls.pl script to update the following files only
- if they have changed:
- DerivedSources/WebCore/supplemental_dependency.tmp
- DerivedSources/WebCore/DOMWindowConstructors.idl
- DerivedSources/WebCore/WorkerContextConstructors.idl
</del><ins>+ (WebCore::RenderMultiColumnFlowThread::physicalTranslationOffsetFromFlowToRegion):
+ (WebCore::RenderMultiColumnFlowThread::physicalTranslationFromFlowToRegion):
+ * rendering/RenderMultiColumnFlowThread.h:
+ New functions that beef up what was in mapFromFlowToRegion and fix some bugs
+ with the translation code.
</ins><span class="cx">
</span><del>- This avoids triggering uselessly bindings generation for all IDL
- files whenever an IDL file is touched.
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::columnTranslationForOffset):
+ Patched to factor in the flow thread portion rect of the specific multicolumn set.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ * rendering/RenderObject.h:
+ (WebCore::RenderObject::isRenderMultiColumnFlowThread):
+ Added for toRenderMultiColumnFlowThread capability.
</ins><span class="cx">
</span><del>- * bindings/scripts/preprocess-idls.pl:
- (WriteFileIfChanged):
- (GeneratePartialInterface):
</del><ins>+2014-04-25 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>-2013-06-18 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
</del><ins>+ ScrollingCoordinator is unaware of topContentInset
+ https://bugs.webkit.org/show_bug.cgi?id=132158
+ <rdar://problem/16706152>
</ins><span class="cx">
</span><del>- [GStreamer] [texmap] upload a video buffer into the video texture
- https://bugs.webkit.org/show_bug.cgi?id=116042
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ Test: platform/mac/fast/scrolling/scroll-select-bottom-test.html
</ins><span class="cx">
</span><del>- This patch prepares more quickly the texture when the video frame is
- already in the GPU memory.
</del><ins>+ The calculation of non-fast-scrollable regions does not currently take
+ the topContentOffset into account. Consequently, the logic that decides
+ whether to stay on the scrolling thread, or drop down to an individual
+ page element, can make the wrong choice. This is especially true for
+ small scrollable regions (such as <select> elements), where the
+ topContentInset may be quite close to the size of the scrollable
+ element itself.
</ins><span class="cx">
</span><del>- It is done using a new buffer's metadata available in GStreamer 1.2,
- and its purpose is to upload buffers into a OpenGL texture.
</del><ins>+ * page/scrolling/ScrollingCoordinator.cpp:
+ (WebCore::ScrollingCoordinator::computeNonFastScrollableRegion): Also
+ include the topContentInset value in our calculation.
</ins><span class="cx">
</span><del>- If the decoder provides buffers with this metadata, the buffer will be
- uploaded into the texture used for the video display and it will be
- rendered, avoiding a expensive mem copies. This is particularly useful
- for Full HD videos, where all the processing and display will be done
- in the GPU.
</del><ins>+2014-04-25 Javier Fernandez <jfernandez@igalia.com>
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ REGRESSION(r167799): Breaks debug build
+ https://bugs.webkit.org/show_bug.cgi?id=132194
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
- (WebCore::MediaPlayerPrivateGStreamerBase::MediaPlayerPrivateGStreamerBase):
- (WebCore::MediaPlayerPrivateGStreamerBase::updateTexture):
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
- * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
- (webkitVideoSinkProposeAllocation):
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>-2013-06-17 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ Fix the debug bots after r167799
</ins><span class="cx">
</span><del>- [curl] Set the http response status text
- https://bugs.webkit.org/show_bug.cgi?id=117307
</del><ins>+ No new tests, no new functionality.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseGridTemplateShorthand):
</ins><span class="cx">
</span><del>- No new tests, covered by existing ones.
</del><ins>+2014-04-25 Miyoung Shin <myid.shin@samsung.com>
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::headerCallback):
</del><ins>+ Web process is crashed during dispatching touchEvent created by JS.
+ https://bugs.webkit.org/show_bug.cgi?id=113225
</ins><span class="cx">
</span><del>-2013-06-14 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- AX: Correct accessibility role when -webkit-box:display is used.
- https://bugs.webkit.org/show_bug.cgi?id=117706
</del><ins>+ TouchEvent created by JS should have the necessary attributes
+ of touches, targetTouches and changedTouches.
+ It should be verified weather there are touchLists before dispatching touch event.
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+ Test: fast/events/touch/create-touch-event-without-touchList.html
</ins><span class="cx">
</span><del>- accessibility/box-styled-lists.html
</del><ins>+ * dom/EventDispatcher.cpp:
+ (WebCore::EventDispatcher::dispatchEvent):
+ (WebCore::EventPath::updateTouchLists):
+ (WebCore::addRelatedNodeResolversForTouchList): Deleted.
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::determineAccessibilityRole): If HTML token is
- of the list element type, treat it as a ListItemRole accessibility role, regardless
- of what specific renderer is being used.
</del><ins>+2014-04-25 Philippe Normand <pnormand@igalia.com>
</ins><span class="cx">
</span><del>-2013-06-17 Roger Fong <roger_fong@apple.com>
</del><ins>+ [GTK] File webkitRelativePath attribute was removed in r163483
+ https://bugs.webkit.org/show_bug.cgi?id=132193
</ins><span class="cx">
</span><del>- Add some UNUSED_PARAMs to RenderBlock.cpp so that it builds properly if CSS_EXCLUSIONS is disabled.
- https://bugs.webkit.org/show_bug.cgi?id=117722.
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>- Rubberstamped by Jon Lee.
</del><ins>+ Add the removed getter as deprecated API to keep backwards compatibility.
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::updateRegionsAndExclusionsAfterChildLayout):
- (WebCore::RenderBlock::logicalLeftOffsetForLine):
- (WebCore::RenderBlock::logicalRightOffsetForLine):
</del><ins>+ * bindings/gobject/WebKitDOMDeprecated.cpp:
+ (webkit_dom_file_get_webkit_relative_path):
+ * bindings/gobject/WebKitDOMDeprecated.h:
+ * bindings/gobject/WebKitDOMDeprecated.symbols:
</ins><span class="cx">
</span><del>-2013-06-17 Beth Dakin <bdakin@apple.com>
</del><ins>+2014-04-25 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- PageBanners appear over HTML5 video when media element is in full screen mode
- https://bugs.webkit.org/show_bug.cgi?id=117721
- -and corresponding-
- <rdar://problem/13686998>
</del><ins>+ [CSS Regions] Overflow selection doesn't work properly
+ https://bugs.webkit.org/show_bug.cgi?id=130715
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Update the scrolling tree when a header/footer has been removed.
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::updateLayerForHeader):
- (WebCore::RenderLayerCompositor::updateLayerForFooter):
</del><ins>+ When hit-testing, painting block selection gaps and searching for the node at a specific point inside a flow thread,
+ the region range of the box being checked must be validated in order to not return false positives. Otherwise, hit-testing
+ at the top of region B could hit elements that overflow the bottom of region A.
</ins><span class="cx">
</span><del>-2013-06-17 Roger Fong <roger_fong@apple.com>
</del><ins>+ Tests: fast/regions/selection-in-overflow-hit-testing.html
+ fast/regions/selection-in-overflow.html
+ fast/regions/selection-in-text-after-overflow-hit-testing.html
</ins><span class="cx">
</span><del>- Modify Windows makefiles to copy some bin output into Program Files.
- https://bugs.webkit.org/show_bug.cgi?id=117714.
- <rdar://problem/14179054>
</del><ins>+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::visiblePositionRangeForLine):
+ (WebCore::AccessibilityRenderObject::visiblePositionForPoint):
+ * dom/Document.cpp:
+ (WebCore::Document::caretRangeFromPoint):
+ * editing/FrameSelection.cpp:
+ (WebCore::FrameSelection::contains):
+ * editing/VisibleUnits.cpp:
+ (WebCore::previousLinePosition):
+ (WebCore::nextLinePosition):
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::selectClosestWordFromHitTestResult):
+ (WebCore::EventHandler::selectClosestWordOrLinkFromMouseEvent):
+ (WebCore::EventHandler::handleMousePressEventTripleClick):
+ (WebCore::EventHandler::handleMousePressEventSingleClick):
+ (WebCore::selectionExtentRespectingEditingBoundary):
+ (WebCore::EventHandler::updateSelectionForMouseDrag):
+ (WebCore::EventHandler::handleMouseReleaseEvent):
+ * page/Frame.cpp:
+ (WebCore::Frame::visiblePositionForPoint):
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::selectionGaps):
+ (WebCore::RenderBlock::nodeAtPoint):
+ (WebCore::positionForPointRespectingEditingBoundaries):
+ (WebCore::RenderBlock::positionForPointWithInlineChildren):
+ (WebCore::isChildHitTestCandidate):
+ (WebCore::RenderBlock::positionForPoint):
+ * rendering/RenderBlock.h:
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::positionForPointWithInlineChildren):
+ (WebCore::RenderBlockFlow::positionForPoint):
+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::positionForPoint):
+ * rendering/RenderBox.h:
+ * rendering/RenderFileUploadControl.cpp:
+ (WebCore::RenderFileUploadControl::positionForPoint):
+ * rendering/RenderFileUploadControl.h:
+ * rendering/RenderInline.cpp:
+ (WebCore::RenderInline::positionForPoint):
+ * rendering/RenderInline.h:
+ * rendering/RenderLineBreak.cpp:
+ (WebCore::RenderLineBreak::positionForPoint):
+ * rendering/RenderLineBreak.h:
+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::positionForPoint):
+ * rendering/RenderMultiColumnSet.h:
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::positionForPoint):
+ * rendering/RenderObject.h:
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::positionForPoint):
+ * rendering/RenderRegion.h:
+ * rendering/RenderReplaced.cpp:
+ (WebCore::RenderReplaced::positionForPoint):
+ * rendering/RenderReplaced.h:
+ * rendering/RenderText.cpp:
+ (WebCore::RenderText::positionForPoint):
+ * rendering/RenderText.h:
+ * rendering/svg/RenderSVGInlineText.cpp:
+ (WebCore::RenderSVGInlineText::positionForPoint):
+ * rendering/svg/RenderSVGInlineText.h:
+ * rendering/svg/RenderSVGText.cpp:
+ (WebCore::RenderSVGText::positionForPoint):
+ * rendering/svg/RenderSVGText.h:
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+2014-04-25 Philippe Normand <pnormand@igalia.com>
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.make:
</del><ins>+ [GTK] Iframe seamless support was removed in r163427
+ https://bugs.webkit.org/show_bug.cgi?id=132192
</ins><span class="cx">
</span><del>-2013-06-17 Max Vujovic <mvujovic@adobe.com>
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>- Crash in loadPendingShaders
- https://bugs.webkit.org/show_bug.cgi?id=117665
</del><ins>+ Add the removed get and set methods as deprecated API to keep
+ backwards compatibility.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ * bindings/gobject/WebKitDOMDeprecated.cpp:
+ (webkit_dom_processing_instruction_set_data):
+ (webkit_dom_html_iframe_element_get_seamless):
+ (webkit_dom_html_iframe_element_set_seamless):
+ * bindings/gobject/WebKitDOMDeprecated.h:
+ * bindings/gobject/WebKitDOMDeprecated.symbols:
</ins><span class="cx">
</span><del>- Speculative fix because the crash reports do not contain a test case.
</del><ins>+2014-04-25 Philippe Normand <pnormand@igalia.com>
</ins><span class="cx">
</span><del>- Rearrange the conditions to check m_state.hasPendingShaders() first. Additionally, check if
- m_state.style() is non-null.
</del><ins>+ [GTK] HTMLInputElement webkitdirectory property was removed in r163483
+ https://bugs.webkit.org/show_bug.cgi?id=132191
</ins><span class="cx">
</span><del>- No new tests. We don't know how to reproduce this crash yet.
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::loadPendingShaders):
</del><ins>+ Add the removed get and set methods as deprecated API to keep
+ backwards compatibility.
</ins><span class="cx">
</span><del>-2013-06-17 Ruth Fong <ruth_fong@apple.com>
</del><ins>+ * bindings/gobject/WebKitDOMDeprecated.cpp:
+ (webkit_dom_html_input_element_get_webkitdirectory):
+ (webkit_dom_html_input_element_set_webkitdirectory):
+ * bindings/gobject/WebKitDOMDeprecated.h:
+ * bindings/gobject/WebKitDOMDeprecated.symbols:
</ins><span class="cx">
</span><del>- REGRESSION: Important controls are missing from <video> element UI, when compared to QuickTime
- https://bugs.webkit.org/show_bug.cgi?id=20599
</del><ins>+2014-04-25 Javier Fernandez <jfernandez@igalia.com>
</ins><span class="cx">
</span><del>- Add a "Download Video"/"Download Audio" context menu item to download media
- elements.
</del><ins>+ [CSS Grid Layout] Implementation of the grid-template shorthand.
+ https://bugs.webkit.org/show_bug.cgi?id=128980
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- No new tests. media/context-menu-action.html,
- which has been disabled by bug 116651, is used to test context menus.
</del><ins>+ This shorthand sets the values for the grid-template-columns,
+ grid-template-rows and grid-template-areas, so the implementation
+ tries to reuse as much available parsing functions as possible.
</ins><span class="cx">
</span><del>- * English.lproj/Localizable.strings: Updated to
- include localizable strings for "Download Video" and "Download Audio".
</del><ins>+ The "parsingGridTrackList" was refactored to return a CSSValue and
+ let the "parseValue" function to assign the property value. The
+ "forwardSlash" operator is now valid when the track-list clause is
+ part of a shorthand. The "parseValue" function checkouts that only
+ additional clauses are allowed when processing shorthands; the
+ grid-columns-rows-get-set.html tests was modified to verify this.
</ins><span class="cx">
</span><del>- * page/ContextMenuController.cpp: Updated to
- include and handle a "Download Video/Audio" context menu item.
</del><ins>+ The "parseGridTemplateAreas" was refactored too, in order to
+ process single areas's rows. This is very useful for the
+ gris-template secondary syntax, which mixes areas and rows values.
</ins><span class="cx">
</span><del>- * platform/ContextMenuItem.h:
</del><ins>+ Finally, the "parseGirdLineNames" function was modified as well by
+ defining an new argument to concatenate head/tail custom-ident
+ elements and ensure the identList is at the heading index, since
+ it's now possible the parseList was rewound.
</ins><span class="cx">
</span><del>- * platform/LocalizedStrings.cpp:
- * platform/LocalizedStrings.h:
- * platform/efl/LocalizedStringsEfl.cpp:
- * platform/gtk/LocalizedStringsGtk.cpp:
- * platform/qt/LocalizedStringsQt.cpp:
- Updated to include localizable strings for "Download Video" and "Download Audio".
</del><ins>+ The implementation of the grid-template shorthand tries first to
+ match the <grid-template-columns> / <grid-template-rows> syntax,
+ failing back to the secondary syntax if needed. This approach
+ requires to rewind the parseList but it produces a clearer code.
</ins><span class="cx">
</span><del>-2013-06-17 Zoltan Horvath <zoltan@webkit.org>
</del><ins>+ Test: fast/css-grid-layout/grid-template-shorthand-get-set.html
</ins><span class="cx">
</span><del>- [CSS Shapes] Consider bottom borders when calculating the position of the overflow
- https://bugs.webkit.org/show_bug.cgi?id=117663
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::ComputedStyleExtractor::propertyValue):
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseValue):
+ (WebCore::CSSParser::parseGridTemplateRowsAndAreas):
+ (WebCore::CSSParser::parseGridTemplateShorthand):
+ (WebCore::CSSParser::parseGridLineNames):
+ (WebCore::CSSParser::parseGridTrackList):
+ (WebCore::CSSParser::parseGridTemplateAreasRow):
+ (WebCore::CSSParser::parseGridTemplateAreas):
+ * css/CSSParser.h:
+ * css/CSSParserValues.h:
+ (WebCore::CSSParserValueList::setCurrentIndex):
+ * css/CSSPropertyNames.in:
+ * css/StylePropertyShorthand.cpp:
+ (WebCore::webkitGridTemplateShorthand):
+ * css/StylePropertyShorthand.h:
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+2014-04-25 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- When you have a shape and the content overflows from the shape we need to push the overflow below the content box,
- not below the border box. We didn't consider the bottom borders of the content box, now I fixed it too and the overflow
- just starts after the content box. I added a new helper function called pushShapeContentOverflowBelowTheContentBox. Now
- both the shape in flow thread and the shape overflow use the same function. I added a new test and modified the existing
- tests to cover all the affected cases.
</del><ins>+ Remove two unused SVGDocument functions.
+ <https://webkit.org/b/132178>
</ins><span class="cx">
</span><del>- Test: fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions-block-content.html
- Existing overflow tests also modified to test the behavior:
- fast/exclusions/shape-inside/shape-inside-empty-expected.html
- fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions-block-content-expected.html
- fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions-block-content.html
- fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html
- fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html
- fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-multiple-shapes-expected.html
- fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-multiple-shapes.html
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::pushShapeContentOverflowBelowTheContentBox):
- (WebCore::RenderBlock::updateShapeAndSegmentsForCurrentLine):
- (WebCore::RenderBlock::updateShapeAndSegmentsForCurrentLineInFlowThread):
</del><ins>+ * svg/SVGDocument.cpp:
+ (WebCore::SVGDocument::dispatchZoomEvent): Deleted.
+ (WebCore::SVGDocument::dispatchScrollEvent): Deleted.
+ * svg/SVGDocument.h:
</ins><span class="cx">
</span><del>-2013-06-17 Igor Oliveira <igor.o@sisa.samsung.com>
</del><ins>+2014-04-25 Ion Rosca <rosca@adobe.com>
</ins><span class="cx">
</span><del>- [CSS Regions] ::before and ::after pseudo-elements are not displayed for regions
- https://bugs.webkit.org/show_bug.cgi?id=80163
</del><ins>+ Incomplete body painting when using blend modes
+ https://bugs.webkit.org/show_bug.cgi?id=131889
</ins><span class="cx">
</span><del>- When the implementation of the before/after was moved to the DOM, before/after generated
- content stoppped to work with css regions. The problem happens when:
- 1. RenderRegion can not have children and when the PseudoElement::attach tries to create a renderer for the
- generated content, it fails.
- 2. RenderRegion::canHaveGeneratedChildren should not be false because regions can have generated content.
</del><ins>+ The incomplete painting was caused by the transparency layer created for
+ the root renderer. We can safely skip creating this transparency layer at
+ the root level, as there is nothing else being painted behind this layer that
+ could be used erroneously as a backdrop.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Tests: fast/regions/region-dynamic-after-before.html
- fast/regions/region-generated-content-before-after.html
</del><ins>+ Test: css3/compositing/blend-mode-with-body.html
</ins><span class="cx">
</span><del>- * dom/NodeRenderingContext.cpp:
- (WebCore::NodeRenderingContext::shouldCreateRenderer):
- * rendering/RenderRegion.h:
</del><ins>+ * rendering/RenderLayer.h:
+ Changing RenderLayer::paintsWithTransparency so that it will not
+ return true when the root renderer needs to isolate blending.
</ins><span class="cx">
</span><del>-2013-06-17 Michael Brüning <michael.bruning@digia.com>
</del><ins>+2014-04-25 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- [Mac] Remove unmaintained GStreamer specific video code.
- https://bugs.webkit.org/show_bug.cgi?id=117694
</del><ins>+ ASSERTION FAILED: "!m_isolatedWorld->isNormal() || m_wrapper || !m_jsFunction" in svg/custom/use-instanceRoot-event-listeners.xhtml
+ https://bugs.webkit.org/show_bug.cgi?id=132148
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- No new tests, no behaviour change.
</del><ins>+ Changed how JSCustomMarkFunction generation works. Instead of leaving out
+ the generated visitChildren function, just generate a call to visitAdditionalChildren.
+ This eliminates the need to repeat boilerplate.
</ins><span class="cx">
</span><del>- * platform/mac/WebVideoFullscreenController.mm:
- (-[WebVideoFullscreenController setupVideoOverlay:]):
- (-[WebVideoFullscreenController windowDidLoad]):
- (-[WebVideoFullscreenController setMediaElement:]):
- (-[WebVideoFullscreenController windowDidExitFullscreen]):
</del><ins>+ The fix for the above bug was to correct mistaken logic where JSSVGElementInstance
+ had a visitChildren that did not properly mark event listeners because it explicitly
+ did not call through to the base class visitChildren. The new arrangement makes that
+ mistake impossible.
</ins><span class="cx">
</span><del>-2013-06-17 Michael Brüning <michael.bruning@digia.com>
</del><ins>+ * bindings/js/JSAttrCustom.cpp:
+ (WebCore::JSAttr::visitAdditionalChildren): Use this instead of visitChildren.
+ * bindings/js/JSAudioTrackCustom.cpp:
+ (WebCore::JSAudioTrack::visitAdditionalChildren): Ditto.
+ * bindings/js/JSAudioTrackListCustom.cpp:
+ (WebCore::JSAudioTrackList::visitAdditionalChildren): Ditto.
+ * bindings/js/JSCSSRuleCustom.cpp:
+ (WebCore::JSCSSRule::visitAdditionalChildren): Ditto.
+ * bindings/js/JSCSSStyleDeclarationCustom.cpp:
+ (WebCore::JSCSSStyleDeclaration::visitAdditionalChildren): Ditto.
+ * bindings/js/JSCanvasRenderingContextCustom.cpp:
+ (WebCore::JSCanvasRenderingContext::visitAdditionalChildren): Ditto.
+ * bindings/js/JSCryptoKeyPairCustom.cpp:
+ (WebCore::JSCryptoKeyPair::visitAdditionalChildren): Ditto.
+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::visitAdditionalChildren): Ditto.
+ * bindings/js/JSMessageChannelCustom.cpp:
+ (WebCore::JSMessageChannel::visitAdditionalChildren): Ditto.
+ * bindings/js/JSMessagePortCustom.cpp:
+ (WebCore::JSMessagePort::visitAdditionalChildren): Ditto.
+ * bindings/js/JSNodeCustom.cpp:
+ (WebCore::JSNode::visitAdditionalChildren): Ditto.
+ * bindings/js/JSNodeFilterCustom.cpp:
+ (WebCore::JSNodeFilter::visitAdditionalChildren): Ditto.
+ * bindings/js/JSNodeIteratorCustom.cpp:
+ (WebCore::JSNodeIterator::visitAdditionalChildren): Ditto.
+ * bindings/js/JSSVGElementInstanceCustom.cpp:
+ (WebCore::JSSVGElementInstance::visitAdditionalChildren): Ditto.
+ * bindings/js/JSSharedWorkerCustom.cpp:
+ (WebCore::JSSharedWorker::visitAdditionalChildren): Ditto.
+ * bindings/js/JSStyleSheetCustom.cpp:
+ (WebCore::JSStyleSheet::visitAdditionalChildren): Ditto.
+ * bindings/js/JSTextTrackCueCustom.cpp:
+ (WebCore::JSTextTrackCue::visitAdditionalChildren): Ditto.
+ * bindings/js/JSTextTrackCustom.cpp:
+ (WebCore::JSTextTrack::visitAdditionalChildren): Ditto.
+ * bindings/js/JSTextTrackListCustom.cpp:
+ (WebCore::JSTextTrackList::visitAdditionalChildren): Ditto.
+ * bindings/js/JSTreeWalkerCustom.cpp:
+ (WebCore::JSTreeWalker::visitAdditionalChildren): Ditto.
+ * bindings/js/JSVideoTrackCustom.cpp:
+ (WebCore::JSVideoTrack::visitAdditionalChildren): Ditto.
+ * bindings/js/JSVideoTrackListCustom.cpp:
+ (WebCore::JSVideoTrackList::visitAdditionalChildren): Ditto.
+ * bindings/js/JSWebGLRenderingContextCustom.cpp:
+ (WebCore::JSWebGLRenderingContext::visitAdditionalChildren): Ditto.
+ * bindings/js/JSWorkerGlobalScopeCustom.cpp:
+ (WebCore::JSWorkerGlobalScope::visitAdditionalChildren): Ditto.
+ * bindings/js/JSXMLHttpRequestCustom.cpp:
+ (WebCore::JSXMLHttpRequest::visitAdditionalChildren): Ditto.
+ * bindings/js/JSXPathResultCustom.cpp:
+ (WebCore::JSXPathResult::visitAdditionalChildren): Ditto.
</ins><span class="cx">
</span><del>- [Qt] Remove Qt specific QTKIT flagged code.
- https://bugs.webkit.org/show_bug.cgi?id=117635
</del><ins>+ * bindings/js/JSDOMGlobalObject.cpp:
+ (WebCore::JSDOMGlobalObject::visitChildren): Rewrote to use modern for loops.
</ins><span class="cx">
</span><del>- Reviewed by Simon Hausmann.
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateHeader): Generate declaration of visitAdditionalChildren.
+ (GenerateImplementation): Generate call to visitAdditionalChildren.
</ins><span class="cx">
</span><del>- Due to disabling QTKIT for Qt in r151546, the
- code the flags that are not taken into account
- anymore and the code that has been rendered
- unreachable by this are removed.
</del><ins>+2014-04-24 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- No new tests, no behavioural change.
</del><ins>+ [iOS WebKit2] Enable optimization to mmap downloaded resources once they become file-backed.
+ <https://webkit.org/b/132171>
+ <rdar://problem/16720733>
</ins><span class="cx">
</span><del>- * Target.pri:
</del><ins>+ Add a missing export for the USE(CFNETWORK) + WebKit2 combo.
+
+ Reviewed by Antti Koivisto.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- * page/Settings.cpp:
- * page/Settings.h:
- * platform/KURL.h:
- * platform/SharedBuffer.h:
- * platform/cf/KURLCFNet.cpp:
- (WebCore::KURL::fileSystemPath):
- * platform/cf/SharedBufferCF.cpp:
- * platform/graphics/FloatSize.h:
- * platform/graphics/IntRect.h:
- * platform/graphics/IntSize.h:
- * platform/graphics/MediaPlayer.cpp:
- (WebCore::installedMediaEngines):
- * platform/graphics/cg/FloatSizeCG.cpp:
- * platform/graphics/cg/IntRectCG.cpp:
- * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
- * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
- (WebCore::MediaPlayerPrivateQTKit::createQTMovieLayer):
- (WebCore::MediaPlayerPrivateQTKit::preferredRenderingMode):
- (WebCore::MediaPlayerPrivateQTKit::paint):
- (-[WebCoreMovieObserver layerHostChanged:]):
- * platform/mac/SharedBufferMac.mm:
- (+[WebCoreSharedBufferData initialize]):
- (WebCore::SharedBuffer::createWithContentsOfFile):
</del><span class="cx">
</span><del>-2013-06-17 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+2014-04-24 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- REGRESSSION(r151632) : Build error on ASSERT(WTF_USE_GRAMMAR_CHECKING)
- https://bugs.webkit.org/show_bug.cgi?id=117692
</del><ins>+ FrameLoader::checkCompleted can hit the "ref'ing while destroyed" assertion
+ https://bugs.webkit.org/show_bug.cgi?id=132163
+ rdar://problem/16720640
</ins><span class="cx">
</span><del>- Reviewed by Jocelyn Turcotte.
</del><ins>+ Reviewed by Brady Eidson.
</ins><span class="cx">
</span><del>- Ifdef the feature-depending code and fix the assertions to check runtime conditions.
</del><ins>+ Couldn't find a way to test this yet. Would be nice to have a test.
</ins><span class="cx">
</span><del>- * editing/Editor.cpp:
- (WebCore::Editor::advanceToNextMisspelling):
- (WebCore::Editor::markMisspellingsOrBadGrammar):
- (WebCore::Editor::markBadGrammar):
- * editing/TextCheckingHelper.cpp:
- (WebCore::findBadGrammars):
- (WebCore::TextCheckingHelper::findFirstGrammarDetail):
- (WebCore::TextCheckingHelper::findFirstBadGrammar):
- (WebCore::TextCheckingHelper::isUngrammatical):
- (WebCore::TextCheckingHelper::markAllBadGrammar):
- (WebCore::checkTextOfParagraph):
- * editing/TextCheckingHelper.h:
</del><ins>+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::checkCompleted): Move protector until after we check
+ if the frame is already complete. That can happen in practice when this is
+ called from within the frame's destructor. All the code that runs before the
+ protector simply checks state and does not require protection.
</ins><span class="cx">
</span><del>-2013-06-17 Grzegorz Czajkowski <g.czajkowski@samsung.com>
</del><ins>+2014-04-24 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r151632.
- http://trac.webkit.org/changeset/151632
- https://bugs.webkit.org/show_bug.cgi?id=117585
</del><ins>+ Mark Supplement instead of RefCountedSupplement in NavigatorContentUtils
+ https://bugs.webkit.org/show_bug.cgi?id=132151
</ins><span class="cx">
</span><del>- Debug build error ASSERT(WTF_USE_GRAMMAR_CHECKING) for non MAC
- platforms
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * page/ContextMenuController.cpp:
- (WebCore::ContextMenuController::contextMenuItemSelected):
- (WebCore::ContextMenuController::createAndAppendSpellingAndGrammarSubMenu):
- (WebCore::ContextMenuController::populate):
- (WebCore::ContextMenuController::checkOrEnableIfNeeded):
- * platform/LocalizedStrings.cpp:
- (WebCore::contextMenuItemTagSpellingMenu):
- (WebCore::contextMenuItemTagShowSpellingPanel):
- (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
- * platform/LocalizedStrings.h:
- * platform/efl/LocalizedStringsEfl.cpp:
- (WebCore::contextMenuItemTagSpellingMenu):
- (WebCore::contextMenuItemTagShowSpellingPanel):
- (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
- * platform/gtk/LocalizedStringsGtk.cpp:
- (WebCore::contextMenuItemTagSpellingMenu):
- (WebCore::contextMenuItemTagShowSpellingPanel):
- (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
- * platform/qt/LocalizedStringsQt.cpp:
- (WebCore::contextMenuItemTagSpellingMenu):
- (WebCore::contextMenuItemTagShowSpellingPanel):
- (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
</del><ins>+ Though Original goal was to make it sharable across navigator instances, the NavigatorContentUtils
+ has used RefCountedSupplement<Page> instead of RefCountedSupplement<Navigator>. This patch makes it
+ use Supplement<Page> because there is no scenario which needs to be shared across navigator instances.
</ins><span class="cx">
</span><del>-2013-06-17 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ Blink merge from https://src.chromium.org/viewvc/blink?view=rev&revision=171403.
</ins><span class="cx">
</span><del>- Unreviewed. Fix make distcheck.
</del><ins>+ No new tests, no behavior changes.
</ins><span class="cx">
</span><del>- * GNUmakefile.list.am: Remove non existent files from compilation
- and add a missing header file.
</del><ins>+ * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
+ (WebCore::NavigatorContentUtils::from):
+ (WebCore::NavigatorContentUtils::create):
+ (WebCore::provideNavigatorContentUtilsTo):
+ * Modules/navigatorcontentutils/NavigatorContentUtils.h:
</ins><span class="cx">
</span><del>-2013-06-14 Grzegorz Czajkowski <g.czajkowski@samsung.com>
</del><ins>+2014-04-24 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Context menu grammar checking items are available when GRAMMAR_CHECKING macro is off
- https://bugs.webkit.org/show_bug.cgi?id=117585
</del><ins>+ Unreviewed, rolling out r167700.
+ https://bugs.webkit.org/show_bug.cgi?id=132142
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Incorrectly reverted the change in r167547 for
+ webkit.org/b/131898 (Requested by rniwa on #webkit).
</ins><span class="cx">
</span><del>- Do not add "Check Grammar With Spelling" and "Ignore Grammar" to the context menu
- when GRAMMAR_CHECKING is off.
- Replace "Spelling and Grammar" with "Spelling" as the sub menu title and "Show/Hide Spelling
- and Grammar" with "Show/Hide Spelling" when GRAMMAR_CHECKING is off.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Additionally, guard grammar checking in context menu code to not necessarily
- compile it.
</del><ins>+ "Cursor doesn't change back to pointer when leaving the Safari
+ window"
+ https://bugs.webkit.org/show_bug.cgi?id=132038
+ http://trac.webkit.org/changeset/167700
</ins><span class="cx">
</span><del>- No new layout tests because every port has a different way of showing
- spelling/grammar context menu items.
</del><ins>+2014-04-24 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><ins>+ Rename "IMAGE_CONTROLS" feature to "SERVICE_CONTROLS"
+ https://bugs.webkit.org/show_bug.cgi?id=132155
+
+ Reviewed by Tim Horton.
+
+ No new tests (No change in behavior).
+
+ * Configurations/FeatureDefines.xcconfig:
+ * DerivedSources.make:
+ * WebCore.exp.in:
+ * css/CSSDefaultStyleSheets.cpp:
+ (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
+ * css/CSSValueKeywords.in:
+ * dom/Node.h:
+ * html/HTMLImageElement.cpp:
+ (WebCore::HTMLImageElement::HTMLImageElement):
+ (WebCore::HTMLImageElement::parseAttribute):
+ (WebCore::HTMLImageElement::didAttachRenderers):
+ * html/HTMLImageElement.h:
+ * html/shadow/ImageControlsRootElement.cpp:
+ * html/shadow/ImageControlsRootElement.h:
+ * html/shadow/mac/ImageControlsButtonElementMac.cpp:
+ * html/shadow/mac/ImageControlsButtonElementMac.h:
+ * html/shadow/mac/ImageControlsRootElementMac.cpp:
+ * html/shadow/mac/ImageControlsRootElementMac.h:
+ * page/ContextMenuContext.cpp:
+ (WebCore::ContextMenuContext::ContextMenuContext):
+ * page/ContextMenuContext.h:
</ins><span class="cx"> * page/ContextMenuController.cpp:
</span><del>- (WebCore::ContextMenuController::contextMenuItemSelected):
- (WebCore::ContextMenuController::createAndAppendSpellingAndGrammarSubMenu):
</del><ins>+ (WebCore::ContextMenuController::maybeCreateContextMenu):
</ins><span class="cx"> (WebCore::ContextMenuController::populate):
</span><del>- (WebCore::ContextMenuController::checkOrEnableIfNeeded):
- * platform/LocalizedStrings.cpp:
- (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
- (WebCore::contextMenuItemTagSpellingMenu):
- (WebCore::contextMenuItemTagShowSpellingPanel):
- * platform/LocalizedStrings.h:
- * platform/efl/LocalizedStringsEfl.cpp:
- (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
- (WebCore::contextMenuItemTagSpellingMenu):
- (WebCore::contextMenuItemTagShowSpellingPanel):
- * platform/gtk/LocalizedStringsGtk.cpp:
- (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
- (WebCore::contextMenuItemTagSpellingMenu):
- (WebCore::contextMenuItemTagShowSpellingPanel):
- * platform/qt/LocalizedStringsQt.cpp:
- (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
- (WebCore::contextMenuItemTagSpellingMenu):
- (WebCore::contextMenuItemTagShowSpellingPanel):
</del><ins>+ * page/ContextMenuController.h:
+ * page/Settings.in:
+ * platform/ThemeTypes.h:
+ * rendering/RenderImage.cpp:
+ (WebCore::RenderImage::canHaveChildren):
+ * rendering/RenderTheme.cpp:
+ (WebCore::RenderTheme::adjustStyle):
+ (WebCore::RenderTheme::paint):
+ (WebCore::RenderTheme::paintBorderOnly):
+ (WebCore::RenderTheme::paintDecorations):
+ * rendering/RenderTheme.h:
+ * rendering/RenderThemeMac.h:
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::servicesRolloverButtonCell):
+ (WebCore::RenderThemeMac::paintImageControlsButton):
+ (WebCore::RenderThemeMac::imageControlsButtonSize):
</ins><span class="cx">
</span><del>-2013-06-16 Simon Fraser <simon.fraser@apple.com>
</del><ins>+2014-04-24 Timothy Hatcher <timothy@apple.com>
</ins><span class="cx">
</span><del>- Fix test assertion after r151624
</del><ins>+ Web Inspector: Restore PageDebuggerAgent::enable / disable
+ https://bugs.webkit.org/show_bug.cgi?id=132156
</ins><span class="cx">
</span><del>- An assertion was hit in RenderObject::willBeDestroyed()
- for fast/css/getComputedStyle/getComputedStyle-background-shorthand.html
- because the code asserted that the RenderObject had been removed from
- the FrameView's slowRepaintObject set before remove() was called,
- so move the assertion to after that call.
</del><ins>+ Restore functions that were eroniously removed in r167530.
</ins><span class="cx">
</span><del>- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::willBeDestroyed):
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><del>-2013-06-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</del><ins>+ * inspector/PageDebuggerAgent.cpp:
+ (WebCore::PageDebuggerAgent::enable): Added.
+ (WebCore::PageDebuggerAgent::disable): Added.
+ * inspector/PageDebuggerAgent.h:
</ins><span class="cx">
</span><del>- Remove a redundant virtual call to hostWindow() in FrameView::invalidateRect()
- https://bugs.webkit.org/show_bug.cgi?id=117685
</del><ins>+2014-04-24 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Dropzone effects don't work in non-file documents
+ https://bugs.webkit.org/show_bug.cgi?id=131770
</ins><span class="cx">
</span><del>- From Blink r152490 by <vivek.vg@samsung.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::invalidateRect): Avoid hostWindow() twice call.
</del><ins>+ File documents have two quirks that were making dropzone work in these before:
+ 1. An ancient hack for Dashboard allows pasteboard access from JS.
+ 2. On Mac, sandbox doesn't prevent File object creation, as we already have the access.
</ins><span class="cx">
</span><del>-2013-06-16 Kent Tamura <tkent@chromium.org>
</del><ins>+ * dom/DataTransfer.cpp:
+ (WebCore::DataTransfer::hasFileOfType):
+ (WebCore::DataTransfer::hasStringOfType):
+ * dom/DataTransfer.h:
+ Moved these functions from EventHandler to DataTransfer. We can't create a DataTransfer
+ with Files while dragging, security doesn't permit us to. But we can get the file name.
</ins><span class="cx">
</span><del>- Fix two assertion failures in Range::insertNode
- https://bugs.webkit.org/show_bug.cgi?id=116511
</del><ins>+ * fileapi/File.cpp:
+ (WebCore::createBlobDataForFile):
+ (WebCore::createBlobDataForFileWithName):
+ (WebCore::File::contentTypeFromFilePath):
+ (WebCore::getContentTypeFromFileName): Deleted.
+ * fileapi/File.h:
+ Exposed a function to get file type from path without creating a File first.
+ This is much cheaper than creating a File, and works even when sandbox disallows
+ read access to content, such as when dragging over a target.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ * page/EventHandler.cpp:
+ (WebCore::hasDropZoneType):
+ (WebCore::hasFileOfType): Deleted.
+ (WebCore::hasStringOfType): Deleted.
</ins><span class="cx">
</span><del>- > ASSERTION FAILED: childBefore == (offset ? container->childNode(offset - 1) : 0)
- > third_party/WebKit/Source/WebCore/dom/RangeBoundaryPoint.h(115) : void WebCore::RangeBoundaryPoint::set(PassRefPtr<WebCore::Node>, int, WebCore::Node *)
</del><ins>+2014-04-24 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- > ASSERTION FAILED: child->parentNode()
- > ../../third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h(133) : void WebCore::RangeBoundaryPoint::setToBeforeChild(WebCore::Node *)
- > 1 0x87594b2 WebCore::RangeBoundaryPoint::setToBeforeChild(WebCore::Node*)
- > 2 0x87534a9 WebCore::Range::insertNode(WTF::PassRefPtr<WebCore::Node>, int&)
</del><ins>+ Unreviewed, rolling out r167441.
+ https://bugs.webkit.org/show_bug.cgi?id=132152
</ins><span class="cx">
</span><del>- Range::insertNode calls Node::insertBefore, in which an event handler
- can update the DOM structure so that RangeBoundaryPoint don't like. We
- postpone event dispatching by EventQueueScope.
</del><ins>+ Caused full screen regressions on vimeo, youtube, and others.
+ (Requested by jernoble on #webkit).
</ins><span class="cx">
</span><del>- Also, remove old comments about Acid3. The behavior is standardized.
- (Step 9 of http://dom.spec.whatwg.org/#dom-range-insertnode)
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- This patch imports http://src.chromium.org/viewvc/blink?view=revision&revision=150470 .
</del><ins>+ "Fullscreen media controls are unusable in pagination mode"
+ https://bugs.webkit.org/show_bug.cgi?id=131705
+ http://trac.webkit.org/changeset/167441
</ins><span class="cx">
</span><del>- Test: fast/dom/Range/range-insertNode-assertion.html
</del><ins>+2014-04-24 Adenilson Cavalcanti <cavalcantii@gmail.com>
</ins><span class="cx">
</span><del>- * dom/Range.cpp:
- (WebCore::Range::insertNode):
- - Add EventQueueScope
- - Remove obsolete comments
</del><ins>+ Unused class forward declarations in Page
+ https://bugs.webkit.org/show_bug.cgi?id=132141
</ins><span class="cx">
</span><del>-2013-06-16 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- Fixed backgrounds in composited layers not repainted on scrolling
- https://bugs.webkit.org/show_bug.cgi?id=117684
</del><ins>+ No new tests, no change on behavior.
</ins><span class="cx">
</span><ins>+ * page/Page.h:
+
+2014-04-24 Eric Carlson <eric.carlson@apple.com>
+
+ [Mac] don't ask for AVAssetTrack properties before they are available
+ https://bugs.webkit.org/show_bug.cgi?id=131902
+ <rdar://problem/16505076>
+
+ Reviewed by Brent Fulgham.
+
+ No new tests, the behavior this changes can not be tested with a layout test.
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC): Initialize
+ m_cachedTotalBytes.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::beginLoadingMetadata): Don't report that
+ metadata has been loaded until the track properties we need have been loaded too.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::totalBytes): Cache totalBytes instead
+ of recalculating it every time.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksDidChange): Invalidate cached
+ total bytes.
+ (WebCore::assetTrackMetadataKeyNames): Array of AVAssetTrack properties we use.
+
+2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Unify platformWidthForGlyph across OS X and iOS
+ https://bugs.webkit.org/show_bug.cgi?id=132036
+
+ Reviewed by Darin Adler.
+
+ This patch creates on shared SimpleFontData::platformWidthForGlyph() function for both OS X and iOS.
+
+ No new tests are necessary because there should be no behavior changes.
+
+ * platform/graphics/SimpleFontData.h: Signatures for two helper functions
+ * platform/graphics/ios/SimpleFontDataIOS.mm: Replace iOS implementation of platformWidthForGlyph() with
+ implementations of only the two helper functions
+ (WebCore::SimpleFontData::getRenderingStyle): Compute style argument to CGFontGetGlyphAdvancesForStyle()
+ (WebCore::SimpleFontData::advanceForColorBitmapFont): iOS doesn't have color bitmap fonts
+ (WebCore::SimpleFontData::platformWidthForGlyph): Deleted.
+ * platform/graphics/mac/SimpleFontDataMac.mm:
+ (WebCore::SimpleFontData::getRenderingStyle): Compute style argument to CGFontGetGlyphAdvancesForStyle()
+ (WebCore::SimpleFontData::advanceForColorBitmapFont): Use [NSFont advancementForGlyph] to compute the advance
+ (WebCore::hasCustomTracking): Removed #if
+ (WebCore::isEmoji): Only relevant on iOS
+ (WebCore::SimpleFontData::platformWidthForGlyph): Shared implementation. Calls helper functions.
+
+2014-04-24 Zalan Bujtas <zalan@apple.com>
+
+ Subpixel rendering: Clipping on text areas when shifted by one device pixel.
+ https://bugs.webkit.org/show_bug.cgi?id=132008
+
+ Reviewed by Darin Adler.
+
+ Make RenderTheme paint* functions LayoutRect aware. Textarea is device pixel snapped, while
+ other theme controls are still on integral size/positions.
+
+ Test: fast/forms/hidpi-textarea-on-subpixel-position.html
+
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::paintBoxDecorations):
+ * rendering/RenderTheme.cpp:
+ (WebCore::RenderTheme::paint):
+ (WebCore::RenderTheme::paintBorderOnly):
+ (WebCore::RenderTheme::paintDecorations):
+ * rendering/RenderTheme.h:
+ (WebCore::RenderTheme::paintTextField):
+ (WebCore::RenderTheme::paintTextFieldDecorations):
+ (WebCore::RenderTheme::paintTextArea):
+ (WebCore::RenderTheme::paintTextAreaDecorations):
+ * rendering/RenderThemeIOS.h:
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::paintTextFieldDecorations):
+ (WebCore::RenderThemeIOS::paintTextAreaDecorations):
+ * rendering/RenderThemeMac.h:
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::paintTextField):
+ (WebCore::RenderThemeMac::paintTextArea):
+
+2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
+
+ FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
+ https://bugs.webkit.org/show_bug.cgi?id=132110
+
</ins><span class="cx"> Reviewed by Tim Horton.
</span><del>-
- FrameView is aware that "slow-repaint objects" (i.e. renderers with
- background-attachment:fixed) require a slow-scrolling path. However,
- it was ignorant of the fact that such objects could be painting into
- compositing layers; it simply dirtied the main tiles, and nothing else.
-
- Fix by having FrameView track the slow-repaints objects explicitly, as we
- do for position:fixed, and repaint each of them on scrolling.
</del><span class="cx">
</span><del>- Test: compositing/repaint/fixed-background-scroll.html
</del><ins>+ Updates callers to use '.' instead of '->'.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::FrameView): No need to initialize m_slowRepaintObjectCount,
- which is now an OwnPtr<RenderObjectSet>.
- (WebCore::FrameView::useSlowRepaints): Use hasSlowRepaintObjects() now.
- (WebCore::FrameView::addSlowRepaintObject): Now adds the object to a set,
- allocating the set if necessary.
- (WebCore::FrameView::removeSlowRepaintObject): Remove the object from the set,
- and deallocate the set if empty.
- (WebCore::FrameView::scrollContentsSlowPath): Call repaintSlowRepaintObjects();
- this is the change that fixes the bug for always-composited implementations (e.g.
- tile cache). This is a conservative change; we still invalidate the tile cache
- as well. This could be optimized later.
- (WebCore::FrameView::repaintSlowRepaintObjects): Repaint each object in the set.
- Their appropriate compositing ancestor will be repainted.
- (WebCore::FrameView::scrollPositionChangedViaPlatformWidget): Call
- repaintSlowRepaintObjects() so that fixed backgrounds in composited layers are
- correctly repainted; this fixes the bug for WebKit1.
- * page/FrameView.h: Replace m_slowRepaintObjectCount with a HashSet of
- RenderObjects.
- (WebCore::FrameView::hasSlowRepaintObject): Takes a RenderObject* now.
- (WebCore::FrameView::hasSlowRepaintObjects): Ditto.
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::styleWillChange): Pass the RenderObject.
- (WebCore::RenderObject::willBeDestroyed): Assert that this RenderObject
- has been removed from FrameView's set of slow-repaint objects already, if
- the document is not being destroyed.
- (WebCore::RenderObject::willBeRemovedFromTree): Pass the RenderObject.
</del><ins>+ No new tests are necessary because there should be no behavior change.
</ins><span class="cx">
</span><del>-2013-06-15 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ * css/CSSFontFaceSource.cpp:
+ (WebCore::CSSFontFaceSource::getFontData):
+ * css/CSSFontSelector.cpp:
+ (WebCore::CSSFontSelector::CSSFontSelector):
+ (WebCore::CSSFontSelector::~CSSFontSelector):
+ (WebCore::CSSFontSelector::addFontFaceRule):
+ (WebCore::fontDataForGenericFamily):
+ (WebCore::CSSFontSelector::getFallbackFontData):
+ * platform/MemoryPressureHandler.cpp:
+ (WebCore::MemoryPressureHandler::releaseMemory):
+ * platform/graphics/FontCache.cpp:
+ (WebCore::fontCache): Return a reference
+ * platform/graphics/FontCache.h:
+ (WebCore::FontCachePurgePreventer::FontCachePurgePreventer):
+ (WebCore::FontCachePurgePreventer::~FontCachePurgePreventer):
+ * platform/graphics/FontGlyphs.cpp:
+ (WebCore::FontGlyphs::FontGlyphs):
+ (WebCore::FontGlyphs::releaseFontData):
+ (WebCore::FontGlyphs::realizeFontDataAt):
+ (WebCore::FontGlyphs::glyphDataAndPageForCharacter):
+ * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
+ (WebCore::FontPlatformData::verticalData):
+ * platform/graphics/ios/SimpleFontDataIOS.mm:
+ (WebCore::SimpleFontData::platformCreateScaledFontData):
+ * platform/graphics/mac/ComplexTextControllerCoreText.mm:
+ (WebCore::ComplexTextController::collectComplexTextRunsForCharacters):
+ * platform/graphics/mac/FontCacheMac.mm:
+ (WebCore::invalidateFontCache):
+ (WebCore::fontCacheRegisteredFontsChangedNotificationCallback):
+ * platform/graphics/mac/SimpleFontDataMac.mm:
+ (WebCore::SimpleFontData::platformDestroy):
+ (WebCore::SimpleFontData::platformCreateScaledFontData):
+ * platform/graphics/win/FontCacheWin.cpp:
+ (WebCore::getCJKCodePageMasks):
+ * platform/graphics/win/SimpleFontDataWin.cpp:
+ (WebCore::SimpleFontData::containsCharacters):
+ * platform/graphics/wince/FontCacheWinCE.cpp:
+ (WebCore::getCJKCodePageMasks):
+ * platform/graphics/wince/FontPlatformData.cpp:
+ (WebCore::FontFamilyCodePageInfo::codePages):
+ (WebCore::FixedSizeFontData::create):
+ * platform/graphics/wince/GlyphPageTreeNodeWinCE.cpp:
+ (WebCore::GlyphPage::fill):
+ * platform/graphics/wince/SimpleFontDataWinCE.cpp:
+ (WebCore::SimpleFontData::platformCreateScaledFontData):
+ (WebCore::SimpleFontData::containsCharacters):
</ins><span class="cx">
</span><del>- Painting of fixed background images is wrong in composited layers
- https://bugs.webkit.org/show_bug.cgi?id=65793
</del><ins>+2014-04-24 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ [iOS] Manage AudioSession category according to media type
+ https://bugs.webkit.org/show_bug.cgi?id=132096
+
+ Reviewed by Jer Noble.
+
+ * WebCore.exp.in: Export setting.
+
+ * html/HTMLMediaSession.cpp:
+ (WebCore::HTMLMediaSession::HTMLMediaSession):
+ (WebCore::initializeAudioSession): Deleted.
+
+ * page/Settings.cpp:
+ * page/Settings.h:
+ (WebCore::Settings::setShouldManageAudioSession): New.
+ (WebCore::Settings::shouldManageAudioSession): Ditto.
+
+ * platform/audio/ios/AudioDestinationIOS.cpp:
+ (WebCore::AudioDestinationIOS::AudioDestinationIOS): Use a MediaSession instead of inheriting
+ from AudioListener and calling the AudioSession directly.
+ (WebCore::AudioDestinationIOS::~AudioDestinationIOS): Ditto.
+ (WebCore::AudioDestinationIOS::start): Notify session.
+ (WebCore::AudioDestinationIOS::stop): Ditto.
+ (WebCore::AudioDestinationIOS::beganAudioInterruption): Deleted.
+ (WebCore::AudioDestinationIOS::endedAudioInterruption): Deleted.
+ * platform/audio/ios/AudioDestinationIOS.h:
+ (WebCore::AudioDestinationIOS::mediaType):
+ (WebCore::AudioDestinationIOS::canReceiveRemoteControlCommands):
+ (WebCore::AudioDestinationIOS::didReceiveRemoteControlCommand):
+ (WebCore::AudioDestinationIOS::isPlaying): Deleted.
+
+ * platform/audio/ios/AudioSessionIOS.mm:
+ (WebCore::categoryName): Debug-only logging function.
+ (WebCore::AudioSession::setCategory): Don't stick with "media" once it is set.
+
+ * platform/audio/ios/MediaSessionManagerIOS.mm:
+ (WebCore::MediaSessionManageriOS::resetRestrictions): Set up restrictions for WebAudio.
+ (WebCore::MediaSessionManageriOS::updateNowPlayingInfo): Don't set invalid start time.
+
+ * platform/audio/mac/MediaSessionManagerMac.cpp:
+ (MediaSessionManager::updateSessionState): Manage AudioSession.active when WebAudio clients
+ come and go. Manage AudioSession.category according to the number of WebAudio and
+ HTMLMediaElement clients.
+
+2014-04-24 David Hyatt <hyatt@apple.com>
+
+ [New Multicolumn] Client rects don't work with column spans.
+ https://bugs.webkit.org/show_bug.cgi?id=132131
+
+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- The code that computed background image geometry for background-attachment:fixed
- images was unaware of compositing, so often painting the image at the wrong location.
-
- Fix by having RenderBoxModelObject::calculateBackgroundImageGeometry() do the correct
- math for fixed backgrounds in composited layer by offsetting the viewport rect by
- the paint container's absolute position.
</del><ins>+ Don't factor in the offset of the multicolumn set from the top
+ of the multicolumn block. This was added already, and it doesn't
+ need to be a part of columnTranslationForOffset.
</ins><span class="cx">
</span><del>- Tests: compositing/backgrounds/fixed-background-on-descendant.html
- compositing/backgrounds/fixed-backgrounds.html
</del><ins>+ Added fast/multicol/client-rects-spanners.html
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::getBackgroundPaintedExtent): Now returns a bool indicating
- whether it is returning a reliable extent rect. It can return false in the case where
- a background is fixed, since computing the correct extent would require finding
- the appropriate composited ancestor to pass to calculateBackgroundImageGeometry().
- This is OK since this function is used for "background opaque" optimizations.
- (WebCore::RenderBox::computeBackgroundIsKnownToBeObscured): If getBackgroundPaintedExtent()
- returns false, return false.
- (WebCore::RenderBox::maskClipRect): We removed mask-attachment, so we never need to
- compute the composited ancestor here and can pass null.
- (WebCore::RenderBox::repaintLayerRectsForImage): Unwrap a comment.
- If the changed image is related to a fixed background, geometry.hasNonLocalGeometry()
- will be true. In that cause, just repaint the entire renderer rather than groveling
- around for a composited ancestor.
- * rendering/RenderBox.h: Changed name and signature of backgroundPaintedExtent.
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::paintFillLayerExtended): calculateBackgroundImageGeometry()
- now needs to know the painting container.
- (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry): Now takes a painting
- container, that is required to correctly compute the viewport-relative offset for fixed
- backgrounds. geometry.setHasNonLocalGeometry() is set for fixed backgrounds to indicate
- to callers that, if they didn't pass a paint container, the destRect is not accurate.
- The main bug fix is also here: we move the viewportRect by the absolute location of
- paint container, which is equivalent to the composited layer offset.
- (WebCore::RenderBoxModelObject::getGeometryForBackgroundImage): calculateBackgroundImageGeometry()
- takes a paint container.
- * rendering/RenderBoxModelObject.h:
- (WebCore::RenderBoxModelObject::BackgroundImageGeometry::BackgroundImageGeometry):
- (WebCore::RenderBoxModelObject::BackgroundImageGeometry::setHasNonLocalGeometry):
- (WebCore::RenderBoxModelObject::BackgroundImageGeometry::hasNonLocalGeometry):
- * rendering/RenderImage.cpp:
- (WebCore::RenderImage::computeBackgroundIsKnownToBeObscured): If getBackgroundPaintedExtent()
- can't cheaply give an accurate answer, return false.
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateDirectlyCompositedBackgroundImage): Pass the paint container,
- which is our own renderer.
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::columnTranslationForOffset):
</ins><span class="cx">
</span><del>-2013-06-15 Simon Fraser <simon.fraser@apple.com>
</del><ins>+2014-04-24 Praveen R Jadhav <praveen.j@samsung.com>
</ins><span class="cx">
</span><del>- webkit-backface-visibility on a parent element stops background-position from updating
- https://bugs.webkit.org/show_bug.cgi?id=116319
</del><ins>+ [EFL] WebKit build fails when MEDIA_SOURCE is enabled
+ https://bugs.webkit.org/show_bug.cgi?id=132118
</ins><span class="cx">
</span><ins>+ Reviewed by Brent Fulgham.
+
+ Files MediaSourceGStreamer.cpp, SourceBufferPrivateGStreamer.cpp and
+ WebKitMediaSourceGStreamer.cpp are included for EFL port build.
+
+ No new tests. No change in behaviour.
+
+ * PlatformEfl.cmake: MediaSourceGStreamer.cpp, SourceBufferPrivateGStreamer.cpp
+ and WebKitMediaSourceGStreamer.cpp are included for compilation.
+
+2014-04-24 Tamas Gergely <tgergely.u-szeged@partner.samsung.com>
+
+ ASSERTION FAILED: !begin.isIndefinite() in WebCore::SVGSMILElement::resolveFirstInterval.
+ https://bugs.webkit.org/show_bug.cgi?id=131097
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- The optimization added in r102952 was incorrect in the case where a style change
- resulted in a positioned-movement-only layout but also required a repaint; it assumed
- that a composited layer did not need to be repainted for a a positioned-movement-only layout.
-
- Fix by making RenderObject::setNeedsLayoutForPositionedMovement() check whether the
- style change requires a repaint, and calling setLayerNeedsFullRepaint() in that situation.
</del><ins>+ According to smil animation reference, max attribute cannot be 0.
</ins><span class="cx">
</span><del>- Test: compositing/repaint/positioned-movement.html
</del><ins>+ Test: svg/animations/smil-animation-max-attribute-zero-crash.svg
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.h: RepaintStatus values do not need to be bit flags.
</del><ins>+ * svg/animation/SVGSMILElement.cpp:
+ (WebCore::SVGSMILElement::maxValue):
+ changed (result < 0) to (result <= 0)
+
+2014-04-24 Ryuan Choi <ryuan.choi@samsung.com>
+
+ Remove screenColorProfile()
+ https://bugs.webkit.org/show_bug.cgi?id=132035
+
+ Reviewed by Darin Adler.
+
+ Only chromium used screenColorProfile() since r120789.
+
+ * platform/PlatformScreen.h:
+ * platform/efl/PlatformScreenEfl.cpp:
+ (WebCore::screenColorProfile): Deleted.
+ * platform/gtk/PlatformScreenGtk.cpp:
+ (WebCore::screenColorProfile): Deleted.
+ * platform/image-decoders/ImageDecoder.h:
+ (WebCore::ImageDecoder::qcmsOutputDeviceProfile):
+ * platform/ios/PlatformScreenIOS.mm:
+ (WebCore::screenColorProfile): Deleted.
+ * platform/mac/PlatformScreenMac.mm:
+ (WebCore::screenColorProfile): Deleted.
+ * platform/win/PlatformScreenWin.cpp:
+ (WebCore::screenColorProfile): Deleted.
+
+2014-04-24 Zalan Bujtas <zalan@apple.com>
+
+ One more unreviewed build fix after r167755.
+
+ * html/shadow/mac/ImageControlsButtonElementMac.cpp:
+ (WebCore::RenderImageControlsButton::updateLogicalWidth):
+ (WebCore::RenderImageControlsButton::computeLogicalHeight):
+
+2014-04-24 Zalan Bujtas <zalan@apple.com>
+
+ Unreviewed build fix after r167755.
+
+ * rendering/RenderThemeMac.h:
+
+2014-04-24 Zalan Bujtas <zalan@apple.com>
+
+ Transition RenderTheme API from RenderObject* to const RenderObject&
+ https://bugs.webkit.org/show_bug.cgi?id=132037
+
+ Reviewed by Andreas Kling.
+
+ Using const references provides better encapsulation and improve security.
+
+ No change in behavior.
+
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::boundingBoxForQuads):
+ * dom/Element.cpp:
+ (WebCore::Element::setActive):
+ (WebCore::Element::setHovered):
+ * editing/FrameSelection.cpp:
+ (WebCore::FrameSelection::focusedOrActiveStateChanged):
+ * html/HTMLFormControlElement.cpp:
+ (WebCore::HTMLFormControlElement::disabledStateChanged):
+ (WebCore::HTMLFormControlElement::readOnlyAttributeChanged):
+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::setChecked):
+ (WebCore::HTMLInputElement::setIndeterminate):
+ * html/HTMLOptionElement.cpp:
+ (WebCore::HTMLOptionElement::parseAttribute):
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::addVisualOverflowFromTheme):
+ (WebCore::RenderBlock::baselinePosition):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::paintBoxDecorations):
+ * rendering/RenderButton.cpp:
+ (WebCore::RenderButton::styleDidChange):
+ * rendering/RenderFileUploadControl.cpp:
+ (WebCore::RenderFileUploadControl::paintObject):
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::addRegionsVisualOverflowFromTheme):
</ins><span class="cx"> * rendering/RenderObject.cpp:
</span><del>- (WebCore::RenderObject::setStyle): Pass the old style to setNeedsPositionedMovementLayout().
- (WebCore::RenderObject::styleDidChange): Ditto.
</del><ins>+ (WebCore::RenderObject::drawLineForBoxSide):
</ins><span class="cx"> * rendering/RenderObject.h:
</span><del>- (WebCore::RenderObject::setNeedsPositionedMovementLayout): Now takes a const RenderStyle*.
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::diff): Remove a comment now that this bug is fixed.
- (WebCore::RenderStyle::diffRequiresRepaint): Public wrapper for changeRequiresRepaint().
- That function never uses contextSensitiveProperties so we can safely ignore them.
- * rendering/style/RenderStyle.h: Expose a way to call changeRequiresRepaint().
</del><ins>+ * rendering/RenderProgress.cpp:
+ (WebCore::RenderProgress::computeLogicalHeight):
+ * rendering/RenderTextControlSingleLine.cpp:
+ (WebCore::RenderTextControlSingleLine::paint):
+ * rendering/RenderTheme.cpp:
+ (WebCore::RenderTheme::paint):
+ (WebCore::RenderTheme::paintBorderOnly):
+ (WebCore::RenderTheme::paintDecorations):
+ (WebCore::RenderTheme::baselinePosition):
+ (WebCore::RenderTheme::adjustRepaintRect):
+ (WebCore::RenderTheme::stateChanged):
+ (WebCore::RenderTheme::updateControlStatesForRenderer):
+ (WebCore::RenderTheme::extractControlStatesForRenderer):
+ (WebCore::RenderTheme::isActive):
+ (WebCore::RenderTheme::isChecked):
+ (WebCore::RenderTheme::isIndeterminate):
+ (WebCore::RenderTheme::isEnabled):
+ (WebCore::RenderTheme::isFocused):
+ (WebCore::RenderTheme::isPressed):
+ (WebCore::RenderTheme::isSpinUpButtonPartPressed):
+ (WebCore::RenderTheme::isReadOnlyControl):
+ (WebCore::RenderTheme::isHovered):
+ (WebCore::RenderTheme::isSpinUpButtonPartHovered):
+ (WebCore::RenderTheme::isDefault):
+ (WebCore::RenderTheme::paintInputFieldSpeechButton):
+ (WebCore::RenderTheme::paintMeter):
+ (WebCore::RenderTheme::paintSliderTicks):
+ (WebCore::RenderTheme::progressBarRectForBounds):
+ * rendering/RenderTheme.h:
+ (WebCore::RenderTheme::controlSupportsTints):
+ (WebCore::RenderTheme::paintCapsLockIndicator):
+ (WebCore::RenderTheme::paintFileUploadIconDecorations):
+ (WebCore::RenderTheme::imageControlsButtonSize):
+ (WebCore::RenderTheme::paintCheckbox):
+ (WebCore::RenderTheme::paintRadio):
+ (WebCore::RenderTheme::paintButton):
+ (WebCore::RenderTheme::paintInnerSpinButton):
+ (WebCore::RenderTheme::paintCheckboxDecorations):
+ (WebCore::RenderTheme::paintRadioDecorations):
+ (WebCore::RenderTheme::paintButtonDecorations):
+ (WebCore::RenderTheme::paintTextField):
+ (WebCore::RenderTheme::paintTextFieldDecorations):
+ (WebCore::RenderTheme::paintTextArea):
+ (WebCore::RenderTheme::paintTextAreaDecorations):
+ (WebCore::RenderTheme::paintMenuList):
+ (WebCore::RenderTheme::paintMenuListDecorations):
+ (WebCore::RenderTheme::paintMenuListButtonDecorations):
+ (WebCore::RenderTheme::paintPushButtonDecorations):
+ (WebCore::RenderTheme::paintSquareButtonDecorations):
+ (WebCore::RenderTheme::paintProgressBar):
+ (WebCore::RenderTheme::paintSliderTrack):
+ (WebCore::RenderTheme::paintSliderThumb):
+ (WebCore::RenderTheme::paintSliderThumbDecorations):
+ (WebCore::RenderTheme::paintSearchField):
+ (WebCore::RenderTheme::paintSearchFieldDecorations):
+ (WebCore::RenderTheme::paintSearchFieldCancelButton):
+ (WebCore::RenderTheme::paintSearchFieldDecorationPart):
+ (WebCore::RenderTheme::paintSearchFieldResultsDecorationPart):
+ (WebCore::RenderTheme::paintSearchFieldResultsButton):
+ (WebCore::RenderTheme::paintMediaFullscreenButton):
+ (WebCore::RenderTheme::paintMediaPlayButton):
+ (WebCore::RenderTheme::paintMediaOverlayPlayButton):
+ (WebCore::RenderTheme::paintMediaMuteButton):
+ (WebCore::RenderTheme::paintMediaSeekBackButton):
+ (WebCore::RenderTheme::paintMediaSeekForwardButton):
+ (WebCore::RenderTheme::paintMediaSliderTrack):
+ (WebCore::RenderTheme::paintMediaSliderThumb):
+ (WebCore::RenderTheme::paintMediaVolumeSliderContainer):
+ (WebCore::RenderTheme::paintMediaVolumeSliderTrack):
+ (WebCore::RenderTheme::paintMediaVolumeSliderThumb):
+ (WebCore::RenderTheme::paintMediaRewindButton):
+ (WebCore::RenderTheme::paintMediaReturnToRealtimeButton):
+ (WebCore::RenderTheme::paintMediaToggleClosedCaptionsButton):
+ (WebCore::RenderTheme::paintMediaControlsBackground):
+ (WebCore::RenderTheme::paintMediaCurrentTime):
+ (WebCore::RenderTheme::paintMediaTimeRemaining):
+ (WebCore::RenderTheme::paintMediaFullScreenVolumeSliderTrack):
+ (WebCore::RenderTheme::paintMediaFullScreenVolumeSliderThumb):
+ (WebCore::RenderTheme::paintSnapshottedPluginOverlay):
+ (WebCore::RenderTheme::paintImageControlsButton):
+ * rendering/RenderThemeIOS.h:
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::addRoundedBorderClip):
+ (WebCore::RenderThemeIOS::paintCheckboxDecorations):
+ (WebCore::RenderThemeIOS::baselinePosition):
+ (WebCore::RenderThemeIOS::paintRadioDecorations):
+ (WebCore::RenderThemeIOS::paintTextFieldDecorations):
+ (WebCore::RenderThemeIOS::paintTextAreaDecorations):
+ (WebCore::RenderThemeIOS::paintMenuListButtonDecorations):
+ (WebCore::RenderThemeIOS::paintSliderTrack):
+ (WebCore::RenderThemeIOS::paintSliderThumbDecorations):
+ (WebCore::RenderThemeIOS::paintProgressBar):
+ (WebCore::RenderThemeIOS::paintSearchFieldDecorations):
+ (WebCore::RenderThemeIOS::paintButtonDecorations):
+ (WebCore::RenderThemeIOS::paintPushButtonDecorations):
+ (WebCore::RenderThemeIOS::paintFileUploadIconDecorations):
+ * rendering/RenderThemeMac.h:
+ (WebCore::RenderThemeMac::updateActiveState):
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::documentViewFor):
+ (WebCore::RenderThemeMac::adjustRepaintRect):
+ (WebCore::RenderThemeMac::convertToPaintingRect):
+ (WebCore::RenderThemeMac::updateCheckedState):
+ (WebCore::RenderThemeMac::updateEnabledState):
+ (WebCore::RenderThemeMac::updateFocusedState):
+ (WebCore::RenderThemeMac::updatePressedState):
+ (WebCore::RenderThemeMac::controlSupportsTints):
+ (WebCore::RenderThemeMac::paintTextField):
+ (WebCore::RenderThemeMac::paintCapsLockIndicator):
+ (WebCore::RenderThemeMac::paintTextArea):
+ (WebCore::RenderThemeMac::paintMenuList):
+ (WebCore::RenderThemeMac::paintMeter):
+ (WebCore::RenderThemeMac::progressBarRectForBounds):
+ (WebCore::RenderThemeMac::paintProgressBar):
+ (WebCore::RenderThemeMac::paintMenuListButtonGradients):
+ (WebCore::RenderThemeMac::paintMenuListButtonDecorations):
+ (WebCore::RenderThemeMac::setPopupButtonCellState):
+ (WebCore::RenderThemeMac::paintSliderTrack):
+ (WebCore::RenderThemeMac::paintSliderThumb):
+ (WebCore::RenderThemeMac::paintSearchField):
+ (WebCore::RenderThemeMac::setSearchCellState):
+ (WebCore::RenderThemeMac::paintSearchFieldCancelButton):
+ (WebCore::RenderThemeMac::paintSearchFieldDecorationPart):
+ (WebCore::RenderThemeMac::paintSearchFieldResultsDecorationPart):
+ (WebCore::RenderThemeMac::paintSearchFieldResultsButton):
+ (WebCore::RenderThemeMac::paintSnapshottedPluginOverlay):
+ (WebCore::RenderThemeMac::paintImageControlsButton):
+ (WebCore::RenderThemeMac::imageControlsButtonSize):
</ins><span class="cx">
</span><del>-2013-06-15 Darin Adler <darin@apple.com>
</del><ins>+2014-04-23 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- Try to fix iOS after last Pasteboard change.
</del><ins>+ [GTK] HTML Media capture attribute is a boolean since r163958
+ https://bugs.webkit.org/show_bug.cgi?id=132061
</ins><span class="cx">
</span><del>- * platform/ios/PasteboardIOS.mm:
- (WebCore::Pasteboard::writeSelection): Put the new code inline here because the
- stringSelectionForPasteboard function is currently Mac-only.
</del><ins>+ Reviewed by Gustavo Noronha Silva.
</ins><span class="cx">
</span><del>-2013-06-15 Darin Adler <darin@apple.com>
</del><ins>+ Add new methods webkit_dom_html_input_element_get_capture_enabled
+ and webkit_dom_html_input_element_set_capture_enabled using a
+ boolean and deprecate the old methods.
</ins><span class="cx">
</span><del>- Move Pasteboard::getStringSelection to Editor, fixing a layering violation
- https://bugs.webkit.org/show_bug.cgi?id=117673
</del><ins>+ * bindings/gobject/WebKitDOMDeprecated.cpp:
+ (webkit_dom_html_input_element_get_capture):
+ (webkit_dom_html_input_element_set_capture):
+ * bindings/gobject/WebKitDOMDeprecated.h:
+ * bindings/gobject/WebKitDOMDeprecated.symbols:
+ * bindings/gobject/webkitdom.symbols:
+ * bindings/scripts/CodeGeneratorGObject.pm:
+ (GetEffectiveFunctionName): Helper function to rename API methods
+ for special cases.
+ (GenerateFunction): Use GetEffectiveFunctionName().
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-04-23 Praveen R Jadhav <praveen.j@samsung.com>
</ins><span class="cx">
</span><del>- * editing/Editor.h: Added stringSelectionForPasteboardWithImageAltText.
</del><ins>+ [MediaStream] Implement MediaStream active attribute
+ https://bugs.webkit.org/show_bug.cgi?id=131973
</ins><span class="cx">
</span><del>- * editing/mac/EditorMac.mm:
- (WebCore::Editor::stringSelectionForPasteboard): Moved code here from the Pasteboard
- class, since all the Pasteboard class did really was turn around and call back here.
- (WebCore::Editor::stringSelectionForPasteboardWithImageAltText): Added. Variant of
- the function above that includes image alt text. Separate named functions are often
- the best pattern for something like this unless there are many different combinations.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Remove the Mac-only Pasteboard::getStringSelectioon.
</del><ins>+ MediaStream .active attribute are introduced which will replace
+ .ended attribute. This patch implements the newly introduced attributes.
</ins><span class="cx">
</span><del>- * platform/ios/PasteboardIOS.mm:
- (WebCore::Pasteboard::writeSelection):
- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::writeSelectionForTypes):
- Call the two new functions instead of the old Pasteboard::getStringSelection.
</del><ins>+ MediaStream-add-remove-tracks.html is updated to handle this scenario.
</ins><span class="cx">
</span><del>-2013-06-15 Darin Adler <darin@apple.com>
</del><ins>+ * Modules/mediastream/MediaStream.cpp:
+ (WebCore::MediaStream::active): Added.
+ (WebCore::MediaStream::setActive): Added.
+ (WebCore::MediaStream::addTrack): Propagates 'onactive' event when required.
+ (WebCore::MediaStream::removeTrack): Propagates 'oninactive' event when required.
+ (WebCore::MediaStream::trackDidEnd): Propagates 'oninactive' event when required.
+ (WebCore::MediaStream::streamDidEnd):
+ (WebCore::MediaStream::setStreamIsActive): Added.
+ * Modules/mediastream/MediaStream.h:
+ * Modules/mediastream/MediaStream.idl:
+ * dom/EventNames.h:
+ * platform/mediastream/MediaStreamPrivate.cpp:
+ (WebCore::MediaStreamPrivate::MediaStreamPrivate): Initialize .active attribute
+ (WebCore::MediaStreamPrivate::setEnded):
+ (WebCore::MediaStreamPrivate::setActive): Added.
+ * platform/mediastream/MediaStreamPrivate.h:
+ (WebCore::MediaStreamPrivate::active): Added.
</ins><span class="cx">
</span><del>- Support using clang instead of gcc for bindings preprocessing
- https://bugs.webkit.org/show_bug.cgi?id=117674
</del><ins>+2014-04-23 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ [Cocoa] fix CF leaks found by code inspection
+ https://bugs.webkit.org/show_bug.cgi?id=132106
</ins><span class="cx">
</span><del>- I couldn't build on my computer because I don't have gcc installed.
- This is my cut at fixing it.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorObjC.pm:
- (ReadPublicInterfaces): Use clang if present.
- * bindings/scripts/preprocessor.pm:
- (applyPreprocessor): Ditto.
</del><ins>+ * page/CaptionUserPreferencesMediaAF.cpp:
+ (WebCore::trackDisplayName): Added a missing adoptCF.
</ins><span class="cx">
</span><del>-2013-06-14 Robert Hogan <robert@webkit.org>
</del><ins>+ * platform/Language.cpp:
+ (WebCore::displayNameForLanguageLocale): Added a missing adoptCF.
</ins><span class="cx">
</span><del>- REGRESSION (r148367): Facebook and Twitter icons at macworld.com are stacked vertically, obscuring Twitter one
- https://bugs.webkit.org/show_bug.cgi?id=117284
</del><ins>+ * platform/graphics/FontPlatformData.cpp:
+ (WebCore::FontPlatformData::openTypeTable): Added a missing adoptCF.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp:
+ (WebCore::InbandTextTrackPrivateAVCF::label): Added two missing adoptCF.
</ins><span class="cx">
</span><del>- Test: fast/text/whitespace/inline-whitespace-wrapping-7.html
</del><ins>+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
+ (WebCore::AVFWrapper::createImageForTimeInRect): Added two missing adoptCF.
</ins><span class="cx">
</span><del>- We were looking for line breaks in trailing collapsed whitespace even when inside a nowrap inline.
- It's wrong to do this as we don't know yet if we will want or need to break - that decision has to
- be deferred until we enter a part of the line that is autowrap.
</del><ins>+ * platform/graphics/cg/PDFDocumentImage.cpp:
+ (WebCore::PDFDocumentImage::createPDFDocument): Added missing adoptCF.
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
</del><ins>+ * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
+ (WebCore::cascadeToLastResortFontDescriptor): Added two missing adoptCF.
</ins><span class="cx">
</span><del>-2013-06-14 Lukasz Gajowy <l.gajowy@samsung.com>
</del><ins>+ * platform/graphics/mac/FontMac.mm:
+ (WebCore::Font::primaryFontDataIsSystemFont): Added missing adoptCF.
</ins><span class="cx">
</span><del>- background-color is not preserved when inserting a new paragraph
- https://bugs.webkit.org/show_bug.cgi?id=117138
</del><ins>+ * platform/graphics/mac/SimpleFontDataMac.mm:
+ (WebCore::hasCustomTracking): Added missing adoptCF.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ * platform/image-decoders/ImageDecoder.h:
+ (WebCore::ImageDecoder::qcmsOutputDeviceProfile): Added CFRelease.
</ins><span class="cx">
</span><del>- The style isn't copied because background-color isn't defined as inheritable property.
</del><ins>+ * plugins/mac/PluginPackageMac.cpp:
+ (WebCore::readPListFile): Added two missing adoptCF.
</ins><span class="cx">
</span><del>- Test: editing/inserting/insert-paragraph-not-preserving-background-color.html
</del><ins>+2014-04-23 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- * editing/InsertParagraphSeparatorCommand.cpp:
- (WebCore::InsertParagraphSeparatorCommand::calculateStyleBeforeInsertion):
- Passing EditingPropertiesInEffect instead of implicit parameter OnlyEditingInheritableProperties.
</del><ins>+ REGRESSION (r157328): popover to check into flight ba.com dismisses instantly when focusing form
+ https://bugs.webkit.org/show_bug.cgi?id=131949
</ins><span class="cx">
</span><del>-2013-06-14 Adam Barth <abarth@webkit.org>
</del><ins>+ Address the review comment.
</ins><span class="cx">
</span><del>- Threaded HTML parser can ASSERT in some situations
- https://bugs.webkit.org/show_bug.cgi?id=117662
</del><ins>+ * dom/EventDispatcher.cpp:
+ (WebCore::EventRelatedNodeResolver::findHostOfTreeScopeInTargetTreeScope):
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-04-23 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- This patch merges https://chromium.googlesource.com/chromium/blink/+/3c0a112b42d72c7623f78463166dd7f04d680b4c
</del><ins>+ CachedResourceLoader hoards URLs indefinitely for no good reason.
+ <https://webkit.org/b/132102>
+ <rdar://problem/16708265>
</ins><span class="cx">
</span><del>- --->8---
- The parser is supposed to stop processing data when there's a pending
- location change, but before this CL we would actually process the first
- token from every chunk when there was a pending location change.
</del><ins>+ Since we don't care about CachedResourceLoader::m_validatedURL's after
+ the Document has finished dispatching its initial load event, clear the
+ set at that point, and don't add any new URLs to it.
</ins><span class="cx">
</span><del>- If the first token in a chunk was a "script" start tag, that would put
- the tree builder into TextMode, which can only process character
- tokens. If the next chunk starts with another start tag token, the tree
- builder would be sad and hit an ASSERT.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- This CL reorders a couple lines in HTMLDocumentParser so that we check
- for pending location changes before processing any tokens. This change
- stops us from processing the first token from each chunk while there is
- a pending location change.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::dispatchWindowLoadEvent):
+ * loader/cache/CachedResourceLoader.cpp:
+ (WebCore::CachedResourceLoader::requestResource):
+ (WebCore::CachedResourceLoader::documentDidFinishLoadEvent):
+ * loader/cache/CachedResourceLoader.h:
</ins><span class="cx">
</span><del>- This issue can reproduce on any platform, but it reproduced often on
- Android because mobile markup often elides spaces between consecutive
- script tags. If there are space characters between the script tags,
- then those space characters will be the first ones processes in the
- chunk, which doesn't trigger the ASSERT.
- ---8<---
</del><ins>+2014-04-23 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Since we landed this patch in Blink, we've been able to reproduce this
- issue on desktops as well. I spoke with rniwa in #webkit and he said
- that WebKit doesn't have any current plans to enable the threaded
- parser but that it was probably worth merging this patch anyway.
</del><ins>+ Canvas cache of clean URLs can grow without bounds.
+ <https://webkit.org/b/132091>
+ <rdar://problem/16695665>
</ins><span class="cx">
</span><del>- Test: http/tests/navigation/pending-location-change-assert.html
</del><ins>+ Remove a silly "optimization" that kept a cache of clean URLs
+ that can be drawn into a canvas without tainting it, all to avoid
+ the "expensive" checks to determine whether it would taint.
</ins><span class="cx">
</span><del>- * html/parser/HTMLDocumentParser.cpp:
- (WebCore::HTMLDocumentParser::processParsedChunkFromBackgroundParser):
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>-2013-06-14 Patrick Gansterer <paroga@webkit.org>
</del><ins>+ * html/canvas/CanvasRenderingContext.cpp:
+ (WebCore::CanvasRenderingContext::wouldTaintOrigin):
+ * html/canvas/CanvasRenderingContext.h:
</ins><span class="cx">
</span><del>- Introduce USE(WINGDI) for the Windows port
- https://bugs.webkit.org/show_bug.cgi?id=116138
</del><ins>+2014-04-23 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ [iOS][WK2] Fix a few mistakes affecting the initial layout and the initial unobscured rect
+ https://bugs.webkit.org/show_bug.cgi?id=132093
</ins><span class="cx">
</span><del>- Using USE(WINGDI) instead of OS(WINCE) will allow us to
- compile the GDI based Windows port on WinNT too.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * config.h:
- * platform/graphics/BitmapImage.h:
- * platform/graphics/FontPlatformData.h:
- * platform/graphics/GlyphBuffer.h:
- (WebCore):
- (GlyphBuffer):
- * platform/graphics/Gradient.h:
- (Gradient):
- * platform/graphics/GraphicsContext.cpp:
- (WebCore):
- * platform/graphics/GraphicsContext.h:
- (WebCore):
- (GraphicsContext):
- * platform/graphics/ImageBufferData.h:
- * platform/graphics/NativeImagePtr.h:
- (WebCore):
- * platform/graphics/Path.h:
- * platform/graphics/Pattern.h:
- * plugins/win/PluginViewWin.cpp:
- (WebCore::PluginView::paintWindowedPluginIntoContext):
- (WebCore::PluginView::paint):
- (WebCore::PluginView::snapshot):
</del><ins>+ Change the minimum layout size to float point values to account for size defined on retina displays.
+ The minimum layout size supports half-pixels, the value is rounded later when computing the layout size
+ in document coordinates.
</ins><span class="cx">
</span><del>-2013-06-13 Jer Noble <jer.noble@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * page/ViewportConfiguration.cpp:
+ (WebCore::ViewportConfiguration::ViewportConfiguration):
+ Setting the initial content size is incorrect. The layout size computation already take into account
+ empty size for the first layout.
</ins><span class="cx">
</span><del>- Report the memory cost of HTMLMediaElements to GC.
- https://bugs.webkit.org/show_bug.cgi?id=117608
</del><ins>+ Setting the content size upfront make the first computation incorrect when the viewport arguments specify
+ the initial scale.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ (WebCore::ViewportConfiguration::setMinimumLayoutSize):
+ * page/ViewportConfiguration.h:
+ (WebCore::ViewportConfiguration::minimumLayoutSize):
</ins><span class="cx">
</span><del>- Report the extra memory cost of a HTMLMediaElement to the VM, in order to
- encourage GC to occur after a media element is removed from the DOM.
</del><ins>+2014-04-23 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Because we cannot know for sure the memory cost of our underlying media
- framework objects, use the worst case scenario for the media memory cost:
- the buffered percentage of movie * the total data length of the movie.
</del><ins>+ [Mac, iOS] Stop buffering media when on an inactive tab.
+ https://bugs.webkit.org/show_bug.cgi?id=132077
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize m_reportedExtraMemoryCost.
- (WebCore::HTMLMediaElement::removedFrom): Report the extra memory cost.
</del><ins>+ Reviewed by Eric Carlson.
+
+ * html/HTMLMediaElement.cpp: Rename 'm_isDisplaySleepDisablingSuspended'
+ to 'm_elementIsHidden'.
+ (WebCore::HTMLMediaElement::HTMLMediaElement):
+ (WebCore::HTMLMediaElement::visibilityStatusChanged): Notify the
+ media session that the element is (or is not) hidden.
+ (WebCore::HTMLMediaElement::setShouldBufferData): Added.
</ins><span class="cx"> * html/HTMLMediaElement.h:
</span><del>- * html/TimeRanges.cpp:
- (TimeRanges::totalDuration): Added convenience function.
- * html/TimeRanges.h:
</del><ins>+ * platform/audio/MediaSession.cpp:
+ (WebCore::MediaSession::clientWillBeginPlayback): Tell media to
+ buffer if not hidden or playing.
+ (WebCore::MediaSession::clientWillPausePlayback): Ditto.
+ (WebCore::MediaSession::visibilityChanged): Added. Client API, just relays call
+ to updateClientDataBuffering.
+ (WebCore::MediaSession::updateClientDataBuffering): Tell client it should only
+ buffer data if it's currently playing, or not hidden.
+ * platform/audio/MediaSession.h:
</ins><span class="cx"> * platform/graphics/MediaPlayer.cpp:
</span><del>- (WebCore::MediaPlayer::extraMemoryCost): Pass to MediaPlayerPrivate.
</del><ins>+ (WebCore::MediaPlayer::setShouldBufferData): Added: Just relays to
+ MediaPlayerPrivate object.
</ins><span class="cx"> * platform/graphics/MediaPlayer.h:
</span><span class="cx"> * platform/graphics/MediaPlayerPrivate.h:
</span><del>- (WebCore::MediaPlayerPrivateInterface::extraMemoryCost): Default to 0.
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- (WebCore::MediaPlayerPrivateAVFoundation::extraMemoryCost): Return the percentage
- loaded * total data length.
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
</del><ins>+ (WebCore::MediaPlayerPrivateInterface::setShouldBufferData):
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setShouldBufferData): Added.
+ Detach the player item from the player if we don't want to continue
+ buffering or other background tasks.
</ins><span class="cx">
</span><del>-2013-06-13 Jer Noble <jer.noble@apple.com>
</del><ins>+2014-04-23 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Add support for AVFoundation-backed HTMLMediaElements in the WebVideoFullScreenController.
- https://bugs.webkit.org/show_bug.cgi?id=117597
</del><ins>+ Eliminate internals.setMockScrollbarsEnabled()
+ https://bugs.webkit.org/show_bug.cgi?id=132085
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Check for media elements with AVFoundation media types and create a AVPlayerLayer
- rather than a QTMovieLayer.
</del><ins>+ This was essentially unused, and also didnt work.
</ins><span class="cx">
</span><del>- * platform/mac/WebVideoFullscreenController.h:
- * platform/mac/WebVideoFullscreenController.mm:
- (-[WebVideoFullscreenController setupVideoOverlay:]): Take a CALayer rather than a
- QTMovieLayer. Move the code which connects the layer with it's media source into
- setMediaElement.
- (-[WebVideoFullscreenController windowDidLoad]): Give the window's contentView a generic
- CALayer instaead of a QTMovieLayer.
- (-[WebVideoFullscreenController setMediaElement:]): Test whether the incoming media
- element is backed by a QTMovie or an AVPlayer, and create the appropriate layer.
- (-[WebVideoFullscreenController windowDidExitFullscreen]): Remove the observer of
- AVPlayer's rate property.
- (-[WebVideoFullscreenController observeValueForKeyPath:ofObject:change:context:]):
- If the keyPath is "rate", call rateChanged.
</del><ins>+ * testing/InternalSettings.cpp:
+ (WebCore::InternalSettings::Backup::restoreTo):
+ (WebCore::InternalSettings::setMockScrollbarsEnabled): Deleted.
+ * testing/InternalSettings.h:
+ * testing/InternalSettings.idl:
</ins><span class="cx">
</span><del>-2013-06-14 Enrica Casucci <enrica@apple.com>
</del><ins>+2014-04-23 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- WKPageFindStringMatches ignores the kWKFindOptionsBackwards option.
- https://bugs.webkit.org/show_bug.cgi?id=117647
- <rdar://problem/13881024>
</del><ins>+ Don't migrate the WKView.h header from WebCore to WebKit
+ https://bugs.webkit.org/show_bug.cgi?id=132086
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
-
- The API returns the matched ranges in the DOM order regardless of the
- find direction, but the index of the first match after the user selection
- should take the find direction into account.
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- Extended existing test in TestWebKitAPI.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ Add WAKViewInternal.h.
</ins><span class="cx">
</span><del>- * page/Page.cpp:
- (WebCore::Page::findStringMatchingRanges): Added handling of the Backwards case.
- * page/Page.h: Fixed incorrect name of the enum.
</del><ins>+ * platform/WAKViewInternal.h: Added.
</ins><span class="cx">
</span><del>-2013-06-14 Jer Noble <jer.noble@apple.com>
</del><ins>+ * platform/ios/wak/WAKClipView.m:
+ Import WAKViewInternal.h instead of WAKViewPrivate.h.
</ins><span class="cx">
</span><del>- REGRESSION (r150651): Web Audio doesn't work at all (silence or squawks) on Mountain Lion
- https://bugs.webkit.org/show_bug.cgi?id=117652
</del><ins>+ * platform/ios/wak/WAKScrollView.mm:
+ Import WAKViewInternal.h instead of WAKViewPrivate.h.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * platform/ios/wak/WAKView.h:
+ Move ivars to a class extension in WAKViewInternal.h and remove WKView.h import.
</ins><span class="cx">
</span><del>- r150651 disabled setting the buffer size to a large value, but in so doing, also
- disabled setting the buffer size to a small value for Web Audio. Narrow the Mountain
- Lion protection to just the <video> element case.
-
- * platform/audio/mac/AudioSessionManagerMac.cpp:
- (AudioSessionManager::updateSessionState):
</del><ins>+ * platform/ios/wak/WAKView.mm:
+ Import WAKViewInternal.h instead of WAKViewPrivate.h.
</ins><span class="cx">
</span><del>-2013-06-14 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * platform/ios/wak/WAKViewPrivate.h:
+ Import WKViewPrivate.h.
</ins><span class="cx">
</span><del>- Function names on Object.prototype should be common identifiers
- https://bugs.webkit.org/show_bug.cgi?id=117614
</del><ins>+2014-04-23 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ [New Multicolumn] fast/multicol/fixed-column-percent-logical-height-orthogonal-writing-mode.html fails
+ https://bugs.webkit.org/show_bug.cgi?id=132078
</ins><span class="cx">
</span><del>- Use the added common identifiers.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * bindings/js/JSDOMWindowBase.cpp:
- (WebCore::JSDOMWindowBase::finishCreation):
- (WebCore::JSDOMWindowBase::updateDocument):
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::skipContainingBlockForPercentHeightCalculation):
+ Add a parameter to test for orthogonal writing modes. If we're perpendicular,
+ then we should not skip the flow thread, since we resolve relative to the column width,
+ and that is always set.
</ins><span class="cx">
</span><del>-2013-06-14 Arpita Bahuguna <a.bah@samsung.com>
</del><ins>+ (WebCore::RenderBox::computePercentageLogicalHeight):
+ Patched to pass in whether or not the box and the ancestor block are perpendicular.
</ins><span class="cx">
</span><del>- Editing: wrong text position when you click enter on the text behind the image
- https://bugs.webkit.org/show_bug.cgi?id=115023
</del><ins>+ * rendering/RenderBox.h:
+ Patched the signature of skipContainingBlockForPercentHeightCalculation
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-04-23 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- When trying to break a line after an image followed by some text, contrary
- to the expected behavior the text doesn't move to a new line, instead, the
- caret position just shifts to the end of line.
</del><ins>+ [OS X] Make checking if a font is the system font more robust
+ https://bugs.webkit.org/show_bug.cgi?id=132030
</ins><span class="cx">
</span><del>- As per the existing implementation for inserting a paragraph separator,
- the insertion position obtained corresponds to the point after the image
- element.
- Since the insertion position doesn't resolve to being offset in the
- following text node (0 offset), no splitting of text occurs and the block
- to be inserted is placed after the containing (start) block (thereby
- causing the caret position to shift).
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- If the computed insertionPosition points to an element that shall be
- ignored for editing purposes (i.e. cannot have a VisiblePosition inside
- it), and the position lies either at the start or at the end of such
- an element, we should move our Position either upstream or
- downstream (respectively) so as to obtain a valid position which can
- be used further for splitting of the text.
</del><ins>+ Instead of inspecting a font's name to determine if it is a system font,
+ on OS X we can ask the system directly.
+
+ This patch also moves a platform-specific check into platform-specific
+ code, so that other platforms don't check for OS X-specific behavior.
+
+ Covered by existing tests.
+
+ * platform/graphics/Font.cpp:
+ (WebCore::Font::hasValidAverageCharWidth):
+ * platform/graphics/Font.h:
+ * platform/graphics/mac/FontMac.mm:
+ (WebCore::Font::primaryFontDataIsSystemFont):
+
+2014-04-23 David Hyatt <hyatt@apple.com>
+
+ [New Multicolumn] Assertion failure in huge-column-count.html
+ https://bugs.webkit.org/show_bug.cgi?id=132071
+
+ Reviewed by Dean Jackson.
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::regionAtBlockOffset):
+ Back out this change, since it wasn't general enough.
+
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::getRegionRangeForBox):
+ The real issue was that this loop needed to consider the actual box
+ rather than starting from the parent. This was a non-issue for normal
+ regions (which cannot have nested flow threads), but for columns, you
+ have to consider the fact that the box could itself be a flow thread.
+
+2014-04-23 Andreas Kling <akling@apple.com>
+
+ [iOS] Memory pressure notification should fire on main thread.
+ <https://webkit.org/b/132074>
+
+ Rejig the memory pressure notification to fire on the main queue
+ directly instead of rerouting it manually.
+
+ Reviewed by Mark Rowe.
+
+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandler::install):
+
+2014-04-23 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r167720.
+ https://bugs.webkit.org/show_bug.cgi?id=132075
+
+ broke eight newmulticol tests (Requested by thorton on
+ #webkit).
+
+ Reverted changeset:
+
+ "[New Multicolumn] Assertion failure in huge-column-
+ count.html"
+ https://bugs.webkit.org/show_bug.cgi?id=132071
+ http://trac.webkit.org/changeset/167720
+
+2014-04-23 David Hyatt <hyatt@apple.com>
+
+ [New Multicolumn] Assertion failure in huge-column-count.html
+ https://bugs.webkit.org/show_bug.cgi?id=132071
+
+ Reviewed by Dean Jackson.
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::regionAtBlockOffset):
+ Remove the code that returned 0 here, since we're going to patch a lower-level
+ function to catch all cases.
+
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::getRegionRangeForBox):
+ Don't allow in-flow RenderFlowThreads to ever have a region range. The sets
+ are what should have ranges... the flow thread needs to just be ignored.
+
+2014-04-23 David Hyatt <hyatt@apple.com>
+
+ [New Multicolumn] Crasher when clearing out a flow thread in multicolumn layout.
+ https://bugs.webkit.org/show_bug.cgi?id=132069
+
+ Reviewed by Dean Jackson.
+
+ This is imported from a patch Morten did for Blink, but I had to change it a fair
+ bit. deleteLines() is used to handle simple line box layout instead of just calling
+ deleteLineBoxTree.
</ins><span class="cx">
</span><del>- Test: editing/inserting/insert-paragraph-after-non-editable-node-before-text.html
</del><ins>+ I also had to disable the layout state to stop asserts on repaint when the children
+ get moved. Not sure why Blink didn't hit this, but it's simple enough to add a
+ LayoutStateDisabler to stop the assert.
</ins><span class="cx">
</span><del>- * editing/InsertParagraphSeparatorCommand.cpp:
- (WebCore::InsertParagraphSeparatorCommand::doApply):
- Moving the insertionPosition either upstream or downstream, if the point
- lies either at the start or at the end of the anchor node.
- The ensuing position, if a text node, can then be used for splitting of
- the text correctly.
</del><ins>+ Added fast/multicol/inline-children-crash.html
</ins><span class="cx">
</span><del>-2013-06-14 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::evacuateAndDestroy):
</ins><span class="cx">
</span><del>- [BlackBerry] Remove implementation of ContextMenu classes
- https://bugs.webkit.org/show_bug.cgi?id=114860
</del><ins>+2014-04-23 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ [iOS WebKit2] IOSurfacePool should force CA to actually garbage collect surfaces.
+ <https://webkit.org/b/132065>
+ <rdar://problem/16110687>
</ins><span class="cx">
</span><del>- This code is not being used so we can safely remove it.
</del><ins>+ Add a platformGarbageCollectNow() helper function to IOSurfacePool that
+ triggers a sweep of the IOSurfaces. Call this from collectionTimerFired()
+ and discardAllSurfaces().
</ins><span class="cx">
</span><del>- * PlatformBlackBerry.cmake:
- * platform/blackberry/ContextMenuBlackBerry.cpp: Removed.
- * platform/blackberry/ContextMenuItemBlackBerry.cpp: Removed.
- * platform/blackberry/LocalizedStringsBlackBerry.cpp:
</del><ins>+ This lets us drop all otherwise-unused 420f surfaces on memory pressure.
</ins><span class="cx">
</span><del>-2013-06-14 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- [Windows] Provide simple <meter> drawing logic for testing.
- https://bugs.webkit.org/show_bug.cgi?id=117645.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/graphics/cg/IOSurfacePool.cpp:
+ (WebCore::IOSurfacePool::collectionTimerFired):
+ (WebCore::IOSurfacePool::discardAllSurfaces):
+ * platform/graphics/cg/IOSurfacePool.h:
+ * platform/graphics/cocoa/IOSurfacePoolCocoa.mm: Added.
+ (WebCore::IOSurfacePool::platformGarbageCollectNow):
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-04-23 Morten Stenshorne <mstensho@opera.com>
</ins><span class="cx">
</span><del>- accessbility/meter-element.html
</del><ins>+ REGRESSION (Safari 6 - ToT): Incorrectly assumes that RenderStyle data can be shared
+ https://bugs.webkit.org/show_bug.cgi?id=113058
</ins><span class="cx">
</span><del>- * rendering/RenderThemeSafari.cpp: Simple test implementation
- (WebCore::RenderThemeSafari::adjustMeterStyle): Added.
- (WebCore::RenderThemeSafari::supportsMeter): Added.
- (WebCore::RenderThemeSafari::meterSizeForBounds): Added.
- (WebCore::RenderThemeSafari::paintMeter): Added.
- * rendering/RenderThemeSafari.h:
- * rendering/RenderThemeWin.cpp:
- (WebCore::RenderThemeWin::progressBarTheme): Added.
- (WebCore::RenderThemeWin::getClassicThemeData): Support meters.
- (WebCore::RenderThemeWin::getThemeData): Support meter theme.
- (WebCore::RenderThemeWin::adjustMeterStyle): Added.
- (WebCore::RenderThemeWin::supportsMeter): Added.
- (WebCore::RenderThemeWin::meterSizeForBounds): Added.
- (WebCore::RenderThemeWin::paintMeter): Added.
- * rendering/RenderThemeWin.h:
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>-2013-06-14 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Before sharing CSS properties with an element in the cache, we need to
+ check that the new element is suitable for this, just like we check
+ elements before inserting them into the cache.
</ins><span class="cx">
</span><del>- Potential use-after-free with an event fired at a HTMLMediaElement which is currently being deleted
- https://bugs.webkit.org/show_bug.cgi?id=117466
</del><ins>+ Test: fast/css/identical-logical-height-decl.html
</ins><span class="cx">
</span><del>- Reviewed by Oliver Hunt.
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::applyMatchedProperties):
+
+2014-04-23 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r167713.
+ https://bugs.webkit.org/show_bug.cgi?id=132070
+
+ broke hundreds of tests (Requested by thorton on #webkit).
+
+ Reverted changeset:
+
+ "[OS X] Make checking if a font is the system font more
+ robust"
+ https://bugs.webkit.org/show_bug.cgi?id=132030
+ http://trac.webkit.org/changeset/167713
+
+2014-04-22 David Hyatt <hyatt@apple.com>
+
+ [New Multicolumn] Nested columns not working at all.
+ https://bugs.webkit.org/show_bug.cgi?id=131805
+
+ Reviewed by Dean Jackson.
+
+ Add support for nested pagination contexts, allowing for an arbitrary level
+ of nesting of multicolumn layouts. There were a number of things that had to
+ be patched in order for this to work.
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::regionAtBlockOffset):
+ Make sure RenderMultiColumnFlowThreads just return null for regions at any
+ block offset. Individual region sets will be created as you cross ancestor
+ regions eventually, so this is just getting in the way.
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::enclosingPaginationLayerInSubtree):
+ Add a new helper method for obtaining an enclosingPaginationLayer when
+ constrained by some root. This function ensures you don't accidentally
+ cross your subtree root when looking for enclosing pagination layers.
+
+ (WebCore::RenderLayer::collectFragments):
+ Patch collectFragments to know how to recur to collect ancestor fragments
+ in order to apply nested splitting as you cross pagination boundaries.
+
+ (WebCore::RenderLayer::updatePaintingInfoForFragments):
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderLayer.h:
+ (WebCore::LayerFragment::LayerFragment):
+ (WebCore::LayerFragment::setRects):
+ (WebCore::LayerFragment::moveBy):
+ (WebCore::LayerFragment::intersect):
+ Improve the LayerFragment so that it caches transformed bounding boxes as
+ well. This is needed to fix intersectsDamageRect so that it doesn't grab
+ the wrong bounding box when checking inline layers that are paginated.
+
+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::flowThreadDescendantInserted):
+ Ignore inserted flow threads inside an ancestor flow thread, since we only
+ care about what the sets do.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/f4200a0093b3d9376f703961615359ec7fb712b4
-
- If an event is created using as target an HTMLMediaElement which is
- currently being deleted it becomes a heap-use-after free situation.
</del><ins>+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::insertedIntoTree):
+ Make sure that nested flow thread layers return themselves when a child
+ is inserted directly under them.
</ins><span class="cx">
</span><del>- The GenericEventQueue instance is already owned by the HTMLMediaElement,
- and there already is an underlying mechanism to set the target of the
- event to NULL, if their target is owner of the queue.
</del><ins>+2014-04-22 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- In order to avoid creating this reference in the first place, we enqueue
- the event with a NULL target to defer the refcount increment until the
- timer for dispatching the event happens (which won't happen at all if
- garbage collection is already destroying the objects).
</del><ins>+ [OS X] Make checking if a font is the system font more robust
+ https://bugs.webkit.org/show_bug.cgi?id=132030
</ins><span class="cx">
</span><del>- Test: media/track/media-element-enqueue-event-crash.html
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * dom/GenericEventQueue.cpp:
- (WebCore::GenericEventQueue::enqueueEvent): Don't ASSERT if the event has no target.
</del><ins>+ Instead of inspecting a font's name to determine if it is a system font,
+ on OS X we can ask the system directly.
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::~HTMLMediaElement): Close the event queue so it won't try to
- dispatch any pending events.
- (WebCore::HTMLMediaElement::scheduleEvent): Don't set the event target, it will happen just
- prior to event dispatch.
- (WebCore::HTMLMediaElement::stop): Close the event queue.
</del><ins>+ This patch also moves a platform-specific check into platform-specific
+ code, so that other platforms don't check for OS X-specific behavior.
</ins><span class="cx">
</span><del>-2013-06-14 Dean Jackson <dino@apple.com>
</del><ins>+ Covered by existing tests.
</ins><span class="cx">
</span><del>- Clicking on snapshotting plug-ins does not restart them
- https://bugs.webkit.org/show_bug.cgi?id=117620
- <rdar://problem/13821729>
</del><ins>+ * platform/graphics/Font.cpp:
+ (WebCore::Font::hasValidAverageCharWidth):
+ * platform/graphics/Font.h:
+ * platform/graphics/mac/FontMac.mm:
+ (WebCore::Font::primaryFontDataIsSystemFont):
</ins><span class="cx">
</span><del>- Follow-up review comments from Darin Adler, with some
- discussion on IRC.
</del><ins>+2014-04-23 Philippe Normand <pnormand@igalia.com>
</ins><span class="cx">
</span><del>- Sprinkle OVERRIDE on virtual functions where needed. Also
- make sure that the Event is a MouseEvent before casting to it.
</del><ins>+ [GTK] Focus management API was moved from HTMLDocument to Document in r166668
+ https://bugs.webkit.org/show_bug.cgi?id=132060
</ins><span class="cx">
</span><del>- * html/HTMLPlugInElement.h: Move defaultEventHandler back to protected and add OVERRIDE.
- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::defaultEventHandler): Check for MouseEvent and
- use toMouseEvent().
- * html/HTMLPlugInImageElement.h: Sprinkle some OVERRIDEs, and move defaultEventHandler
- to private.
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>-2013-06-14 Timothy Hatcher <timothy@apple.com>
</del><ins>+ Deprecate the removed methods in WebKitDOMHTMLDocument to keep API compatibility.
</ins><span class="cx">
</span><del>- Remove front-end from the WebCore Xcode project.
- https://bugs.webkit.org/show_bug.cgi?id=117640
</del><ins>+ * bindings/gobject/WebKitDOMDeprecated.cpp:
+ (webkit_dom_html_document_get_active_element):
+ (webkit_dom_html_document_has_focus):
+ * bindings/gobject/WebKitDOMDeprecated.h:
+ * bindings/gobject/WebKitDOMDeprecated.symbols:
+ * bindings/gobject/webkitdom.symbols:
</ins><span class="cx">
</span><ins>+2014-04-22 Andreas Kling <akling@apple.com>
+
+ [iOS WebKit1] MemoryPressureHandler::respondToMemoryPressure called on wrong thread.
+ <https://webkit.org/b/132041>
+ <rdar://problem/16687238>
+
+ Always dispatch the memory pressure relief code on the main queue.
+ This is really only needed for iOS/WK1, but we might as well share the code.
+
+ Reviewed by Michael Saboff.
+
+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandler::install):
+
+2014-04-23 Philippe Normand <pnormand@igalia.com>
+
+ [GTK] ShadowRoot API was removed in r164131
+ https://bugs.webkit.org/show_bug.cgi?id=132059
+
+ Reviewed by Gustavo Noronha Silva.
+
+ Add ShadowRoot removed API to WebKitDOMDeprecated to keep API/ABI compatibility.
+
+ * bindings/gobject/WebKitDOMDeprecated.cpp:
+ (webkit_dom_shadow_root_class_init):
+ (webkit_dom_shadow_root_init):
+ (webkit_dom_shadow_root_element_from_point):
+ (webkit_dom_shadow_root_get_active_element):
+ (webkit_dom_shadow_root_get_apply_author_styles):
+ (webkit_dom_shadow_root_get_element_by_id):
+ (webkit_dom_shadow_root_get_elements_by_class_name):
+ (webkit_dom_shadow_root_get_elements_by_tag_name):
+ (webkit_dom_shadow_root_get_elements_by_tag_name_ns):
+ (webkit_dom_shadow_root_get_inner_html):
+ (webkit_dom_shadow_root_get_reset_style_inheritance):
+ (webkit_dom_shadow_root_get_selection):
+ (webkit_dom_shadow_root_set_apply_author_styles):
+ (webkit_dom_shadow_root_set_inner_html):
+ (webkit_dom_shadow_root_set_reset_style_inheritance):
+ * bindings/gobject/WebKitDOMDeprecated.h:
+ * bindings/gobject/WebKitDOMDeprecated.symbols:
+
+2014-04-23 Morten Stenshorne <mstensho@opera.com>
+
+ [New Multicolumn] fast/multicol/overflow-content.html displays red
+ https://bugs.webkit.org/show_bug.cgi?id=131809
+
+ Reviewed by David Hyatt.
+
+ Insert a break at end of content on our own in the multicol code, to make sure
+ that overflow is accounted for, and also to make sure that we account for all
+ content in non-final sets (i.e. those preceding spanners).
+
+ In other words, this will additionally fix balancing issues in sets preceding
+ a spanner. Added a test for that.
+
+ Tests: fast/multicol/break-in-columns-before-spanner.html
+ fast/multicol/newmulticol/compare-with-old-impl/overflow-content.html
+
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::regionInRange): Deleted.
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::distributeImplicitBreaks):
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::applyBreakAfterContent):
+ * rendering/RenderNamedFlowThread.h:
+
+2014-04-23 Morten Stenshorne <mstensho@opera.com>
+
+ Overflow propagation broken in BTT and RTL writing-modes
+ https://bugs.webkit.org/show_bug.cgi?id=113781
+
+ Reviewed by David Hyatt.
+
+ Overflow rectangles are not quite physical, not quite logical. This
+ means that we cannot use clientBoxRect() directly to represent a
+ rectangle that expresses exactly no overflow. This rectangle is the
+ padding box (relative to the border box) in vertical-lr and
+ horizontal-tb, but the block-direction borders need to be flipped in
+ vertical-rl and horizontal-bt.
+
+ Tests: fast/css/overflow-btt-border-after.html
+ fast/css/overflow-rtl-border-after.html
+
+ * WebCore.exp.in:
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::computeOverflow):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::addLayoutOverflow):
+ (WebCore::RenderBox::addVisualOverflow):
+ (WebCore::RenderBox::layoutOverflowRectForPropagation):
+ * rendering/RenderBox.h:
+ (WebCore::RenderBox::layoutOverflowRect):
+
+2014-04-23 Andrei Bucur <abucur@adobe.com>
+
+ [CSS Regions] Improve the debugging infrastructure
+ https://bugs.webkit.org/show_bug.cgi?id=132042
+
+ Reviewed by Mihnea Ovidenie.
+
+ This patch improves the debugging code for CSS Regions.
+
+ Tests: No function change. No new tests.
+
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::showRegionsInformation): Print brackets around the region range when dumping
+ the render tree to the console.
+ * rendering/RootInlineBox.cpp:
+ (WebCore::RootInlineBox::containingRegion): Convert the ASSERT to an ASSERT_WITH_SECURITY_IMPLICATION.
+
+2014-04-22 Ryosuke Niwa <rniwa@webkit.org>
+
+ Cursor doesn't change back to pointer when leaving the Safari window
+ https://bugs.webkit.org/show_bug.cgi?id=132038
+
+ Reviewed by Alexey Proskuryakov.
+
+ r147739 incorrectly added an early exit in EventHandler::selectCursor when hit test result didn't have
+ any node associated with it. Since we will hit this code when the cursor is outside of the WebView,
+ we still need to take the CURSOR_AUTO path as did the code before r147739.
+
+ No new test is added since this behavior can't be tested in DRT or WTR.
+
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::selectCursor):
+
+2014-04-22 Zalan Bujtas <zalan@apple.com>
+
+ Do not paint border image when the border rect is empty.
+ https://bugs.webkit.org/show_bug.cgi?id=131988
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- * WebCore.xcodeproj/project.pbxproj:
</del><ins>+ http://trac.webkit.org/changeset/167351 introduced an early return when border
+ rect is empty. This patch ensures that border image is not painted either in that case.
</ins><span class="cx">
</span><del>-2013-06-14 Jaehun Lim <ljaehun.lim@samsung.com>
</del><ins>+ Modified padding-margin-negative-border.html to cover border-image case.
</ins><span class="cx">
</span><del>- CSSParser::parseImageSet() doesn't need a parameter.
- https://bugs.webkit.org/show_bug.cgi?id=117617
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintBorder):
</ins><span class="cx">
</span><ins>+2014-04-22 Tim Horton <timothy_horton@apple.com>
+
+ ASSERTION FAILED: scrollerImp == scrollbarPainterForScrollbar(_scrollbar) on two API tests
+ https://bugs.webkit.org/show_bug.cgi?id=132034
+ <rdar://problem/16624332>
+
+ Reviewed by Simon Fraser.
+
+ * platform/mac/ScrollAnimatorMac.mm:
+ (-[WebScrollbarPainterDelegate shouldUseLayerPerPartForScrollerImp:]):
+ scrollerImpWithStyle:controlSize:horizontal:replacingScrollerImp: moves the delegate
+ from the old scrollerImp to the new one, and also happens to call shouldUseLayerPerPartForScrollerImp.
+ Since scrollerImpWithStyle: has not returned yet, the scrollbarPainterForScrollbar still returns the old scrollerImp,
+ so this assertion fires. It's safe to remove this because supportsUpdateOnSecondaryThread doesn't make use of the imp.
+
+2014-04-22 Ryosuke Niwa <rniwa@webkit.org>
+
+ REGRESSION (r157328): popover to check into flight ba.com dismisses instantly when focusing form
+ https://bugs.webkit.org/show_bug.cgi?id=131949
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- parseImageSet() can get m_valueList directly.
- And minor fixes.
</del><ins>+ The regression was caused by two bugs:
+ 1. The event didn't stop propagating itself even when it should.
+ If the related target is same as the event origin, the event propagation should stop when the event reaches
+ the root of the related target's tree scope. Otherwise, it should stop when it reaches the related target.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ 2. Mouse event's related target exposed nodes inside a user-agent shadow DOM when the related target appeared
+ inside the origin.
</ins><span class="cx">
</span><del>- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseValue):
- (WebCore::CSSParser::parseContent):
- (WebCore::CSSParser::parseFillImage):
- (WebCore::CSSParser::parseBorderImage):
- (WebCore::CSSParser::parseImageSet):
- * css/CSSParser.h:
</del><ins>+ Fixed the bugs by re-introducing path shrinkage algorithm removed in r157328 into EventPath::setRelatedTarget
+ and adding an algorithm to determine the least common ancestor of the related target and the current target
+ in moveToParentOrShadowHost. The latter algorithm doesn't match the shadow DOM specification:
+ http://www.w3.org/TR/2013/WD-shadow-dom-20130514/
+ but it's good enough in terms of the Web exposed behavior as we don't support author defined insertion points.
</ins><span class="cx">
</span><del>-2013-06-14 Tiancheng Jiang <tijiang@rim.com>
</del><ins>+ Test: fast/events/shadow-event-path.html
</ins><span class="cx">
</span><del>- [BlackBerry] Dropdown button UX updates.
- https://bugs.webkit.org/show_bug.cgi?id=117642.
</del><ins>+ * dom/EventDispatcher.cpp:
+ (WebCore::EventRelatedNodeResolver::moveToParentOrShadowHost):
+ (WebCore::EventRelatedNodeResolver::findHostOfTreeScopeInTargetTreeScope): Added.
+ (WebCore::EventDispatcher::dispatchEvent):
+ (WebCore::EventPath::setRelatedTarget):
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+2014-04-22 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- JIRA 388652
- Internally Reviewed by Jeff Rogers.
</del><ins>+ Rollout r156635 since the old behavior was intentional.
</ins><span class="cx">
</span><del>- Change arrow assert.
</del><ins>+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::selectCursor):
</ins><span class="cx">
</span><del>- * platform/blackberry/RenderThemeBlackBerry.cpp:
- (WebCore::RenderThemeBlackBerry::paintMenuList):
</del><ins>+2014-04-22 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2013-06-14 Arvid Nilsson <anilsson@rim.com>
</del><ins>+ Unreviewed, rolling out r167674.
+ https://bugs.webkit.org/show_bug.cgi?id=132025
</ins><span class="cx">
</span><del>- [BlackBerry] LayerTiler fails to tile really big layers
- https://bugs.webkit.org/show_bug.cgi?id=117211
</del><ins>+ Going a different way with this (Requested by bradee-oh on
+ #webkit).
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- PR 273550
</del><ins>+ "Change Image Controls replacement to use selection and paste"
+ https://bugs.webkit.org/show_bug.cgi?id=131992
+ http://trac.webkit.org/changeset/167674
</ins><span class="cx">
</span><del>- The cause for this bug was that LayerTiler computed which tiles are
- visible by exhaustively mapping every tile to normalized device
- coordinates and checking if it intersected the viewport. If there was a
- lot of tiles, it would get stuck in this loop, iterating over all
- tiles, for a very long time. Also, the visibility information was
- transferred to the WebKit thread using mutexes, which added unnecessary
- mutex contention to the mix.
</del><ins>+2014-04-22 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Fixed by doing the reverse calculation, unprojecting the visible part
- of the layer to layer coordinate space to find which tiles are visible.
- Instead of doing a traditional unprojection of point to line and see
- where the line intersects the layer, this patch uses the w-coordinates
- of triangle vertices to perform "perspective correct texturing" of the
- intersection points in device space, which is equivalent to
- unprojection since perspective correct texturing computes a 2D
- coordinate in (normalized) layer coordinate space which is easily
- scaled up to the layer bounds and get the visible region expressed in
- layer coordinate space.
</del><ins>+ [Win] Support Python 2.7 in Cygwin
+ https://bugs.webkit.org/show_bug.cgi?id=132023
</ins><span class="cx">
</span><del>- The visible area is approximated by a rectangle, and a set of tiles
- needing render are added to the mix, and we have a swappable data
- structure so visbility can be transferred to WebKit thread without
- mutexes, but instead using atomic swap.
</del><ins>+ Reviewed by Michael Saboff.
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ * DerivedSources.make: Use proper path to Cygwin on
+ all platforms.
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/CanvasLayerWebKitThread.cpp:
- (CanvasLayerCompositingThreadClient):
- (WebCore::CanvasLayerCompositingThreadClient::drawTextures):
- * platform/graphics/blackberry/EGLImageLayerCompositingThreadClient.cpp:
- (WebCore::EGLImageLayerCompositingThreadClient::drawTextures):
- * platform/graphics/blackberry/EGLImageLayerCompositingThreadClient.h:
- (EGLImageLayerCompositingThreadClient):
- * platform/graphics/blackberry/LayerCompositingThread.cpp:
- (WebCore::LayerCompositingThread::drawTextures):
- (WebCore::LayerCompositingThread::drawSurface):
- * platform/graphics/blackberry/LayerCompositingThread.h:
- (LayerCompositingThread):
- * platform/graphics/blackberry/LayerCompositingThreadClient.h:
- (WebCore):
- (LayerCompositingThreadClient):
- * platform/graphics/blackberry/LayerRenderer.cpp:
- (WebCore::LayerRenderer::compositeLayersRecursive):
- * platform/graphics/blackberry/LayerTile.cpp:
- (WebCore::LayerTile::LayerTile):
- (WebCore::LayerTile::setContents):
- (WebCore::LayerTile::updateContents):
- (WebCore::LayerTile::discardContents):
- * platform/graphics/blackberry/LayerTile.h:
- (LayerTile):
- (WebCore::LayerTile::contentsScale):
- (WebCore::LayerTile::setContentsDirty):
- * platform/graphics/blackberry/LayerTiler.cpp:
- (LayerVisibility):
- (WebCore::LayerVisibility::LayerVisibility):
- (WebCore::LayerVisibility::visibleRect):
- (WebCore::LayerVisibility::setVisibleRect):
- (WebCore::LayerVisibility::needsRender):
- (WebCore::LayerVisibility::tileNeedsRender):
- (WebCore::LayerVisibility::willRenderTile):
- (WebCore::LayerVisibility::swapTilesNeedingRender):
- (WebCore::LayerVisibility::merge):
- (WebCore):
- (WebCore::LayerTiler::LayerTiler):
- (WebCore::LayerTiler::~LayerTiler):
- (WebCore::LayerTiler::updateTextureContentsIfNeeded):
- (WebCore::LayerTiler::swapFrontVisibility):
- (WebCore::LayerTiler::setFrontVisibility):
- (WebCore::LayerTiler::layerVisibilityChanged):
- (WebCore::LayerTiler::uploadTexturesIfNeeded):
- (WebCore::LayerTiler::processTextureJob):
- (WebCore::LayerTiler::addTileJob):
- (WebCore::LayerTiler::performTileJob):
- (WebCore::LayerTiler::drawTile):
- (WebCore::inflateViewport):
- (WebCore::LayerTiler::drawTextures):
- (WebCore::LayerTiler::pruneTextures):
- (WebCore::LayerTiler::rectForTile):
- * platform/graphics/blackberry/LayerTiler.h:
- (WebCore):
- (LayerTiler):
- (WebCore::LayerTiler::TextureJob::TextureJob):
- (WebCore::LayerTiler::takeFrontVisibility):
- * platform/graphics/blackberry/LayerUtilities.h:
- (WebCore):
- (WebCore::det):
- (WebCore::dot):
- (LayerClipEdge):
- (WebCore::LayerClipEdge::LayerClipEdge):
- (WebCore::LayerClipEdge::isPointInside):
- (WebCore::LayerClipEdge::computeIntersection):
- (WebCore::intersectPolygonWithRect):
- (WebCore::computeBarycentricCoordinates):
- (WebCore::manhattanDistanceToViewport):
- (UnprojectionVertex):
- (WebCore::compareManhattanDistanceToViewport):
- (WebCore::unproject):
</del><ins>+2014-04-22 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2013-06-14 Antoine Quint <graouts@apple.com>
</del><ins>+ REGRESSION (r151839): Subframe keeps getting mousemove events with the same coordinates after hiding a hovered element.
+ <https://webkit.org/b/131974>
+ <rdar://problem/15907469>
</ins><span class="cx">
</span><del>- [Mac] clicking caption track glyph should dismiss menu
- https://bugs.webkit.org/show_bug.cgi?id=117621
</del><ins>+ When the currently hovered element disappears as a result of style recalc,
+ we send a fake mousemove event to the page, to see if anything newly added
+ should become hovered.
</ins><span class="cx">
</span><del>- We now correctly capture all click events while the captions track menu
- is showing, and ensure that no other control in the media player can be
- activated as the track list gets dismissed by clicking anywhere but on
- itself.
</del><ins>+ The faking mechanism lives in EventHandler and simply synthesizes a new
+ mousemove event using the last seen mouse location.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ The problem here is that we were sending this fake mousemove event to the
+ subframe where the hovered element lived. Since subframes aren't kept up
+ to date on recent mouse locations, this could cause some strange behavior
+ where a subframe would dispatch mousemove events with stale coordinates.
</ins><span class="cx">
</span><del>- * html/shadow/MediaControlsApple.cpp:
- (WebCore::MediaControlsApple::showClosedCaptionTrackList):
- Make the controls panel non-interactive and track click events in the
- capture phase also on the controls container itself such that we can
- identify correctly whether a click in the <video> shadow tree is on
- the track list or another element (the target could only be resolved
- to a shadow tree node if the event is handled within the shadow tree).
</del><ins>+ The solution is to always dispatch fake mousemove events from the main
+ frame's event handler. This is how real event delivery happens, and hit
+ testing will then find the appropriate subframe, if any.
</ins><span class="cx">
</span><del>- (WebCore::MediaControlsApple::hideClosedCaptionTrackList):
- Make the controls panel interactive again and remove the new click
- event handler on the controls container.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- (WebCore::MediaControlsApple::handleClickEvent):
- Capture any click event that targets a node anywhere outside of the track
- list container and its subtree and hide the track list in this condition.
</del><ins>+ Test: fast/events/ghostly-mousemoves-in-subframe.html
</ins><span class="cx">
</span><del>- (WebCore::MediaControlsAppleEventListener::handleEvent):
- Call handleClickEvent() on the media controls when a click event is handled.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::recalcStyle):
</ins><span class="cx">
</span><del>- * html/shadow/MediaControlsApple.h:
- New public handleClickEvent() API such that it can be called from
- MediaControlsAppleEventListener::handleEvent().
</del><ins>+2014-04-22 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>-2013-06-14 Arvid Nilsson <anilsson@rim.com>
</del><ins>+ [OS X] Glyph spacing for system fonts may be incorrect
+ https://bugs.webkit.org/show_bug.cgi?id=131967
</ins><span class="cx">
</span><del>- [BlackBerry] Accelerated compositing layers that intersect the image plane are incorrectly transformed
- https://bugs.webkit.org/show_bug.cgi?id=117067
</del><ins>+ Unreviewed iOS build fix after r167679.
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+ * platform/graphics/mac/SimpleFontDataMac.mm:
</ins><span class="cx">
</span><del>- PR 273550
</del><ins>+2014-04-22 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- The BlackBerry port used to mathematically project each corner of each
- layer bounds rectangle, which gives the wrong results when the layer
- intersects the image plane.
</del><ins>+ [OS X] Glyph spacing for system fonts may be incorrect
+ https://bugs.webkit.org/show_bug.cgi?id=131967
</ins><span class="cx">
</span><del>- For display lists, we still got the correct appearance of the layer
- contents, since the display list results in geometry that's transformed
- in the vertex shader, on the GPU.
</del><ins>+ Unreviewed build fix after r167679.
</ins><span class="cx">
</span><del>- However, the transformed bounds are used for drawing the debug border,
- performing visibility calculations on the CPU and drawing of WebGL,
- masks/reflections and filters. Using the mathematical projection of
- points that lie behind the image plane gives the wrong results.
</del><ins>+ * platform/graphics/mac/SimpleFontDataMac.mm:
+ (WebCore::hasCustomTracking):
</ins><span class="cx">
</span><del>- The most important consequence of this bug was that the wrong area of
- the layer would be considered visible, so a tiled layer would not
- populate the right tiles (or any tiles at all).
</del><ins>+2014-04-21 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- Fixed by implementing something along the lines of the recipe in
- section 6.2 of http://www.w3.org/TR/css3-transforms.
</del><ins>+ [OS X] Glyph spacing for system fonts may be incorrect
+ https://bugs.webkit.org/show_bug.cgi?id=131967
</ins><span class="cx">
</span><del>- No new tests, manually testable by enabling debug border on
- https://developer.mozilla.org/en-US/demos/detail/the-box/launch.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/EGLImageLayerCompositingThreadClient.cpp:
- (WebCore::EGLImageLayerCompositingThreadClient::drawTextures):
- * platform/graphics/blackberry/LayerCompositingThread.cpp:
- (WebCore::LayerCompositingThread::LayerCompositingThread):
- (WebCore::LayerCompositingThread::setDrawTransform):
- (WebCore):
- (WebCore::LayerCompositingThread::textureCoordinates):
- (WebCore::LayerCompositingThread::drawTextures):
- * platform/graphics/blackberry/LayerCompositingThread.h:
- (LayerCompositingThread):
- (WebCore::LayerCompositingThread::transformedBounds):
- (WebCore::LayerCompositingThread::ws):
- (WebCore::LayerCompositingThread::centerW):
- * platform/graphics/blackberry/LayerFilterRenderer.cpp:
- (WebCore::LayerFilterRenderer::applyActions):
- * platform/graphics/blackberry/LayerRenderer.cpp:
- (WebCore::compareLayerW):
- (WebCore::LayerRenderer::compositeLayers):
- (WebCore::LayerRenderer::drawDebugBorder):
- (WebCore):
- (WebCore::LayerRenderer::updateLayersRecursive):
- (WebCore::LayerRenderer::compositeLayersRecursive):
- * platform/graphics/blackberry/LayerRenderer.h:
- (WebCore):
- (LayerRenderer):
- * platform/graphics/blackberry/LayerRendererSurface.cpp:
- (WebCore::LayerRendererSurface::boundingBox):
- (WebCore::LayerRendererSurface::transformedBounds):
- * platform/graphics/blackberry/LayerRendererSurface.h:
- (WebCore::LayerRendererSurface::setDrawTransform):
- (WebCore::LayerRendererSurface::setReplicaDrawTransform):
- (LayerRendererSurface):
- * platform/graphics/blackberry/LayerUtilities.h: Added.
- (WebCore):
- (LayerClipPlane):
- (WebCore::LayerClipPlane::LayerClipPlane):
- (WebCore::LayerClipPlane::isPointInside):
- (WebCore::LayerClipPlane::computeIntersection):
- (WebCore::intersect):
- (WebCore::boundingBox):
- (WebCore::multVecMatrix):
- (WebCore::toVector):
</del><ins>+ Covered by existing tests.
</ins><span class="cx">
</span><del>-2013-06-14 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ * platform/graphics/mac/SimpleFontDataMac.mm:
+ (WebCore::SimpleFontData::platformWidthForGlyph): Update to use CTFontGetAdvancesForGlyphs() for system fonts
+ (WebCore::hasCustomTracking):
</ins><span class="cx">
</span><del>- [Qt] Map rewind and fast forward keys to match GoogleTV
- https://bugs.webkit.org/show_bug.cgi?id=117634
</del><ins>+2014-04-22 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Jocelyn Turcotte.
</del><ins>+ [New Multicolumn] widows/orphans cause assertion failures.
+ https://bugs.webkit.org/show_bug.cgi?id=131233
</ins><span class="cx">
</span><del>- Set the same keycode for media keys rewind and fast-forward as
- GoogleTV does.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * platform/qt/PlatformKeyboardEventQt.cpp:
- (WebCore::windowsKeyCodeForKeyEvent):
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::recordSpaceShortage):
+ Fix an obvious bug where the space shortage is recorded twice (and the
+ if statement that kept it from being negative is accidentally ignored).
</ins><span class="cx">
</span><del>-2013-06-13 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+2014-04-22 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Avoid unnecessary data copies when loading subresources with DoNotBufferData option
- https://bugs.webkit.org/show_bug.cgi?id=115804
</del><ins>+ [New Multicolumn] Make sure columnTranslationForOffset has the same column-span-aware
+ translation that fragment collection does.
+ https://bugs.webkit.org/show_bug.cgi?id=131738
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- When DoNotBufferData option is used to load a resource its data
- is always copied before sending it to the CachedResource. Most
- of the cached resources ignore the incremental data and wait
- until all data has been received to save the ResourceBuffer,
- that will be NULL anyway when DoNotBufferData is used.
- CachedRawResource notifies its clients about the incremental
- data, but it doesn't save the data when DoNotBufferData option
- is present. In those cases we are unnecessary copying the data.
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::collectLayerFragments):
+ Remove a FIXME that is no longer needed, since the translation offset of the
+ column set did get patched.
</ins><span class="cx">
</span><del>- CachedResource::data has been split into
- CachedResource::addDataBuffer() used for incremental data chunks
- when buffering data, CachedResource::addData() used for
- incremental data chunks when not buffering and
- CachedResource::finishLoading() used to finish the loading. This
- way we get rid of the allDataReceived boolean parameter and cached
- resources not interested in incremenetal data chunks only have to
- implement finishLoading() without having to check if all data have
- been received or not.
</del><ins>+ (WebCore::RenderMultiColumnSet::columnTranslationForOffset):
+ Add the exact same fix to columnTranslationForOffset that was applied to collectLayerFragments.
</ins><span class="cx">
</span><del>- SubresourceLoader::sendDataToResource was always called after
- checking if loading multipart content, and then it was checked
- again to decided whether to copy the data or not. It has been
- removed in favor of calling directly the resource methods,
- finishLoading for multipart content, addDataBuffer for data chunks
- when buffering and addData for data chunks when not buffering.
</del><ins>+2014-04-22 Mark Lam <mark.lam@apple.com>
</ins><span class="cx">
</span><del>- No new functionality, covered by existing tests.
</del><ins>+ WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript() needs to acquire the JSLock before calling into JS.
+ <https://webkit.org/b/132021>
</ins><span class="cx">
</span><del>- * html/ImageDocument.cpp:
- (WebCore::ImageDocumentParser::appendBytes): Update to API changes.
- (WebCore::ImageDocumentParser::finish): Ditto.
- * loader/SubresourceLoader.cpp:
- (WebCore::SubresourceLoader::didReceiveResponse): Call
- finishLoading() for multipart content.
- (WebCore::SubresourceLoader::didReceiveDataOrBuffer): Add data to
- the resource using addDataBuffer or addData depending on whether
- we are buffering or not.
- (WebCore::SubresourceLoader::didFinishLoading): Call
- finishLoading() for the cached resource instead of data.
- * loader/SubresourceLoader.h:
- * loader/cache/CachedCSSStyleSheet.cpp:
- (WebCore::CachedCSSStyleSheet::finishLoading):
- * loader/cache/CachedCSSStyleSheet.h:
- * loader/cache/CachedFont.cpp:
- (WebCore::CachedFont::finishLoading):
- * loader/cache/CachedFont.h:
- * loader/cache/CachedImage.cpp:
- (WebCore::CachedImage::isValidDecodedImageSize): Helper function
- to check if the image size is valid.
- (WebCore::CachedImage::addIncrementalDataBuffer): Helper function
- to add incremental data buffer.
- (WebCore::CachedImage::addDataBuffer): Call
- addIncrementalDataBuffer().
- (WebCore::CachedImage::addData): Create a ResourceBuffer and call
- addIncrementalDataBuffer().
- (WebCore::CachedImage::finishLoading):
- * loader/cache/CachedImage.h:
- * loader/cache/CachedRawResource.cpp:
- (WebCore::CachedRawResource::calculateIncrementalDataChunk):
- Returns a pointer to the data corresponding to the current chunk
- and its length.
- (WebCore::CachedRawResource::addDataBuffer): Assert to make sure
- this is only called when BufferData option is present. Use
- calculateIncrementalDataChunk().
- (WebCore::CachedRawResource::addData): Assert to make sure this is
- only called when DoNotBufferData option is present.
- (WebCore::CachedRawResource::finishLoading):
- (WebCore::CachedRawResource::notifyClientsDataWasReceived): Helper
- private function to notify the clients about data received.
- * loader/cache/CachedRawResource.h:
- * loader/cache/CachedResource.cpp:
- (WebCore::CachedResource::addDataBuffer):
- (WebCore::CachedResource::addData):
- (WebCore::CachedResource::finishLoading):
- * loader/cache/CachedResource.h:
- * loader/cache/CachedSVGDocument.cpp:
- (WebCore::CachedSVGDocument::finishLoading):
- * loader/cache/CachedSVGDocument.h:
- * loader/cache/CachedScript.cpp:
- (WebCore::CachedScript::finishLoading):
- * loader/cache/CachedScript.h:
- * loader/cache/CachedShader.cpp:
- (WebCore::CachedShader::finishLoading):
- * loader/cache/CachedShader.h:
- * loader/cache/CachedTextTrack.cpp:
- (WebCore::CachedTextTrack::addDataBuffer):
- (WebCore::CachedTextTrack::finishLoading):
- * loader/cache/CachedTextTrack.h:
- * loader/cache/CachedXSLStyleSheet.cpp:
- (WebCore::CachedXSLStyleSheet::finishLoading):
- * loader/cache/CachedXSLStyleSheet.h:
</del><ins>+ Reviewed by Mark Hahnenberg.
</ins><span class="cx">
</span><del>-2013-06-14 Michał Pakuła vel Rutka <m.pakula@samsung.com>
</del><ins>+ Covered by existing layout test.
</ins><span class="cx">
</span><del>- [EFL] Fix build when DRAG_SUPPORT is set OFF
- https://bugs.webkit.org/show_bug.cgi?id=117628
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
</ins><span class="cx">
</span><del>- Reviewed by Gyuyoung Kim.
</del><ins>+2014-04-22 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>- Add guard around Clipboard::declareAndWriteDragImage.
</del><ins>+ REGRESSION (r167652): Broke fast/regions/cssom/region-range-for-box-crash.html in debug mode
+ https://bugs.webkit.org/show_bug.cgi?id=131982
</ins><span class="cx">
</span><del>- * platform/efl/ClipboardEfl.cpp:
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>-2013-06-13 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ The problem was creating the Range from the arguments received at RenderView::setSelection(). Specifically
+ in this test endPos is 1 when the element has not children which creates an invalid Range.
</ins><span class="cx">
</span><del>- Sometimes we stick in slow scrolling mode even after leaving a page
- https://bugs.webkit.org/show_bug.cgi?id=117622
</del><ins>+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::splitSelectionBetweenSubtrees): Pass 0 as startPos and endPos to Range::create() as we are
+ not interested in the positions at this point.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+2014-04-22 Brady Eidson <beidson@apple.com>
+
+ Change Image Controls replacement to use selection and paste
+ <rdar://problem/16302722> and https://bugs.webkit.org/show_bug.cgi?id=131992
+
+ Reviewed by Tim Horton.
+
+ * WebCore.exp.in: Remove deleted symbol.
+
+ * html/shadow/mac/ImageControlsButtonElementMac.cpp:
+ (WebCore::ImageControlsButtonElementMac::defaultEventHandler):
+
+ * page/ContextMenuController.cpp:
+ (WebCore::ContextMenuController::showImageControlsMenu): Select the image element
+ before showing the menu.
+ (WebCore::ContextMenuController::replaceControlledImage): Deleted.
+ * page/ContextMenuController.h:
+
+2014-04-22 David Hyatt <hyatt@apple.com>
+
+ REGRESSION: Hitting asserts in new flow thread selection code.
+ https://bugs.webkit.org/show_bug.cgi?id=132019
+
+ Reviewed by Anders Carlsson.
+
+ Null checking flowThreadController is not enough. The list of threads
+ can be null even when the flowThreadController is not. That's why you
+ use hasRenderNamedFlowThreads. I patched the two bad places in the code
+ to use hasRenderNamedFlowThreads to stop the crashes.
</ins><span class="cx">
</span><del>- ScrollingCoordinator, and thus the scrolling state tree, is owned by Page,
- and so persists when navigating between cached pages. We do give the ScrollingStateTree
- a new ScrollingStateScrollingNode on navigation, however the ScrollingStateScrollingNode
- would not have dirty flags set for, say, WheelEventHandlerCount if the document had
- no wheel handlers. And because that dirty flag wasn't set, ScrollingTree::commitNewTreeState()
- would fail to update m_hasWheelEventHandlers, so we'd remain in slow scrolling.
-
- Fix by having ScrollingStateTree remember if it's been given a new root ScrollingStateScrollingNode,
- and making ScrollingTree::commitNewTreeState() to the right thing in that case.
-
- Also fix a couple of issues with the tiled scrolling indicator. First, on cached page
- navigation, the indicator color would show the state for the old page, because
- ScrollingCoordinatorMac::commitTreeState() checked scrollingTree()->hasWheelEventHandlers()
- before the scrolling thread has committed the new scrolling tree.
-
- Second, the color change would animate, so stop that.
</del><ins>+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::selectionBounds):
+ (WebCore::RenderView::repaintSelection):
</ins><span class="cx">
</span><del>- Not testable, since tests can only dump the scrolling state tree.
</del><ins>+2014-04-22 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- * page/scrolling/ScrollingStateTree.cpp:
- (WebCore::ScrollingStateTree::ScrollingStateTree):
- (WebCore::ScrollingStateTree::attachNode):
- (WebCore::ScrollingStateTree::commit):
- * page/scrolling/ScrollingStateTree.h:
- (WebCore::ScrollingStateTree::hasNewRootStateNode):
- * page/scrolling/ScrollingTree.cpp:
- (WebCore::ScrollingTree::commitNewTreeState):
- * page/scrolling/mac/ScrollingCoordinatorMac.mm:
- (WebCore::ScrollingCoordinatorMac::commitTreeState):
- * platform/graphics/ca/mac/TileController.mm:
- (-[WebTiledScrollingIndicatorLayer init]): Turn off borderColor implicit animations.
</del><ins>+ Check (rather than assume) element is a RenderTableSection before using it
+ https://bugs.webkit.org/show_bug.cgi?id=121858
</ins><span class="cx">
</span><del>-2013-06-13 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ Reviewed by David Kilzer.
</ins><span class="cx">
</span><del>- [curl] Merge http response header values
- https://bugs.webkit.org/show_bug.cgi?id=117342
</del><ins>+ Test: fast/table/table-insert-object-before-td-crash.html
</ins><span class="cx">
</span><ins>+ * rendering/RenderTable.cpp:
+ (WebCore::RenderTable::addChild): Check that lastBox is a table section before
+ using the node as if it was one.
+
+2014-04-22 Alex Christensen <achristensen@webkit.org>
+
+ Begin implementation of video using Media Foundation.
+ https://bugs.webkit.org/show_bug.cgi?id=131830
+
</ins><span class="cx"> Reviewed by Brent Fulgham.
</span><span class="cx">
</span><del>- According to the HTTP RFC some HTTP header values should be
- merged if multiple entries for the same header exists.
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ Added MediaPlayerPrivateMediaFoundation files.
+ * platform/graphics/MediaPlayer.cpp:
+ Include MediaPlayerPrivateMediaFoundation inside new USE(MEDIA_FOUNDATION) flag.
+ * platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp: Added.
+ * platform/graphics/win/MediaPlayerPrivateMediaFoundation.h: Added.
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::isAppendableHeader):
- (WebCore::headerCallback):
</del><ins>+2014-04-22 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2013-06-13 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Unreviewed, rolling out r167658.
+ https://bugs.webkit.org/show_bug.cgi?id=131993
</ins><span class="cx">
</span><del>- Should not call firePaintRelatedMilestones() for "update control tints" paint pass
- https://bugs.webkit.org/show_bug.cgi?id=117624
</del><ins>+ Caused many crashes on media tests (Requested by ap on
+ #webkit).
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- When window activation changes, we do a fake paint pass that is just used to
- invalidate controls that change their appearance in background windows. This fake
- paint should not be recorded in the inspector, and it should not cause paint-related
- milestones to fire.
</del><ins>+ "[Mac] don't ask for AVAssetTrack properties before they are
+ available"
+ https://bugs.webkit.org/show_bug.cgi?id=131902
+ http://trac.webkit.org/changeset/167658
</ins><span class="cx">
</span><ins>+2014-04-22 David Hyatt <hyatt@apple.com>
+
+ [New Multicolumn] fast/multicol/multicol-with-child-renderLayer-for-input.html puts the textfield in the wrong place
+ https://bugs.webkit.org/show_bug.cgi?id=131808
+
+ Reviewed by Brady Eidson.
+
+ Make sure FrameView is patched to pass in the update pagination flag when subtree layout
+ is done on textfields. It had code for the old multicolumn system but did not have a check
+ for the new multicolumn system.
+
+ Added fast/multicol/newmulticol/compare-with-old-impl/multicol-with-child-renderLayer-for-input.html
+
</ins><span class="cx"> * page/FrameView.cpp:
</span><del>- (WebCore::FrameView::paintContents):
</del><ins>+ (WebCore::updateLayerPositionFlags):
</ins><span class="cx">
</span><del>-2013-06-13 Dean Jackson <dino@apple.com>
</del><ins>+2014-04-22 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Clicking on snapshotting plug-ins does not restart them
- https://bugs.webkit.org/show_bug.cgi?id=117620
- <rdar://problem/13821729>
</del><ins>+ border-style: double rendered as solid when combined with border-radius
+ https://bugs.webkit.org/show_bug.cgi?id=131927
</ins><span class="cx">
</span><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- HTMLPlugInElement has an event handler which would return
- immediately if the element was not snapshotted, restarting
- or playing. There is a case it missed, which was snapshotting
- (WaitingForSnapshot to be precise). If we get a click in this
- state then it should immediately restart.
</del><ins>+ BorderEdge::getDoubleBorderStripeWidths() should return the calculated inner, outer border widths.
</ins><span class="cx">
</span><del>- * html/HTMLPlugInElement.h: Move defaultEventHandler to public (we call it from the child class).
- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::defaultEventHandler): If there is a click on a snapshotting
- plug-in, then call restart.
- * html/HTMLPlugInImageElement.h: Virtual defaultEventHandler declaration.
</del><ins>+ Test: fast/borders/hidpi-double-border-with-border-radius-always-produce-solid-line.html
</ins><span class="cx">
</span><del>-2013-06-13 Zoltan Horvath <zoltan@webkit.org>
</del><ins>+ * rendering/BorderEdge.cpp:
+ (WebCore::BorderEdge::getDoubleBorderStripeWidths):
+ * rendering/BorderEdge.h:
</ins><span class="cx">
</span><del>- Use borderAndPadding[Before,After]() instead of border[Before,After]() + padding[Before,After]()
- https://bugs.webkit.org/show_bug.cgi?id=117611
</del><ins>+2014-04-22 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Dirk Schulze.
</del><ins>+ [Mac] don't ask for AVAssetTrack properties before they are available
+ https://bugs.webkit.org/show_bug.cgi?id=131902
+ <rdar://problem/16505076>
</ins><span class="cx">
</span><del>- I added a new function called borderAndPaddingAfter(), since we already had borderAndPaddingBefore(). I changed
- every separate additions to the old/new function. This change makes the code shorter and more straightforward.
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Behavior hasn't changed, no new tests were needed.
</del><ins>+ No new tests, the behavior this changes can not be tested with a layout test.
</ins><span class="cx">
</span><del>- * rendering/InlineFlowBox.cpp:
- (WebCore::InlineFlowBox::placeBoxesInBlockDirection):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::layoutBlock):
- (WebCore::RenderBlock::marginBeforeEstimateForChild):
- (WebCore::RenderBlock::layoutBlockChildren):
- (WebCore::RenderBlock::paintColumnRules):
- (WebCore::RenderBlock::columnRectAt):
- (WebCore::RenderBlock::relayoutForPagination):
- (WebCore::RenderBlock::adjustRectForColumns):
- (WebCore::RenderBlock::flipForWritingModeIncludingColumns):
- (WebCore::RenderBlock::adjustStartEdgeForWritingModeIncludingColumns):
- (WebCore::RenderBlock::adjustForColumns):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::updateShapeAndSegmentsForCurrentLineInFlowThread):
- (WebCore::RenderBlock::layoutInlineChildren):
- * rendering/RenderBoxModelObject.h:
- (WebCore::RenderBoxModelObject::borderAndPaddingStart):
- (WebCore::RenderBoxModelObject::borderAndPaddingBefore):
- (WebCore::RenderBoxModelObject::borderAndPaddingAfter):
- (WebCore::RenderBoxModelObject::borderAndPaddingLogicalHeight):
- * rendering/RenderMultiColumnBlock.cpp:
- (WebCore::RenderMultiColumnBlock::layoutSpecialExcludedChild):
- * rendering/RenderMultiColumnSet.cpp:
- (WebCore::RenderMultiColumnSet::heightAdjustedForSetOffset):
- (WebCore::RenderMultiColumnSet::prepareForLayout):
- (WebCore::RenderMultiColumnSet::columnRectAt):
- * rendering/RenderTableCell.cpp:
- (WebCore::RenderTableCell::computeIntrinsicPadding):
- (WebCore::RenderTableCell::cellBaselinePosition):
- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::calcRowLogicalHeight):
- (WebCore::RenderTableSection::layoutRows):
- (WebCore::RenderTableSection::firstLineBoxBaseline):
- * rendering/RootInlineBox.cpp:
- (WebCore::RootInlineBox::lineSnapAdjustment):
- (WebCore::RootInlineBox::selectionTop):
- (WebCore::RootInlineBox::ascentAndDescentForBox):
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC): Initialize
+ m_cachedTotalBytes.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::beginLoadingMetadata): Don't report that
+ metadata has been loaded until the track properties we need have been loaded too.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::totalBytes): Cache totalBytes instead
+ of recalculating it every time.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksDidChange): Invalidate cached
+ total bytes.
+ (WebCore::assetTrackMetadataKeyNames): Array of AVAssetTrack properties we use.
</ins><span class="cx">
</span><del>-2013-06-13 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-22 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Move Node::shouldUseInputMethod() to Element.
- <http://webkit.org/b/117603>
</del><ins>+ Buildfix after r167650 broke non-Cocoa builds
+ https://bugs.webkit.org/show_bug.cgi?id=131980
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- This method is only ever called on Elements, so move it off of Node.
</del><ins>+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::handleWheelEvent):
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::shouldUseInputMethod):
- * dom/Element.h:
- * dom/Node.cpp:
- * dom/Node.h:
- * html/HTMLInputElement.h:
- * html/HTMLTextAreaElement.h:
</del><ins>+2014-04-22 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>-2013-06-13 Max Vujovic <mvujovic@adobe.com>
</del><ins>+ [CSS Regions] Selection highlight doesn't match DOM selection
+ https://bugs.webkit.org/show_bug.cgi?id=131511
</ins><span class="cx">
</span><del>- [CSS Regions] Selection dragged from a region paints its background
- https://bugs.webkit.org/show_bug.cgi?id=117607
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ This patch implements a subtrees approach to fix selection interaction in CSS Regions.
</ins><span class="cx">
</span><del>- When a RenderFlowThread is in the selection paint phase, tell its layer to paint with the
- selection only behavior. This way, only foregrounds and not backgrounds will be painted in
- the dragged selection.
</del><ins>+ The idea is to divide the Render tree in subtrees. One subtree will be the RenderView (which is always present),
+ then for each RenderNamedFlowThread (which are children of RenderView) we will have an extra subtree.
</ins><span class="cx">
</span><del>- Manual test: ManualTests/regions/drag-selection-painting.html
</del><ins>+ For each subtree it determines the start and end positions according to the DOM tree. So, every subtree will
+ always have a start and end position, and the selection algorithm will be able to reach the end from the start
+ without problems (this allows us to remove the changes introduced in r155058).
</ins><span class="cx">
</span><del>- * rendering/RenderFlowThread.cpp:
- (WebCore::RenderFlowThread::paintFlowThreadPortionInRegion):
</del><ins>+ Then selection related methods in RenderView are adapted to ensure that they are called for each subtree. Making
+ the selection highlight to match DOM selection as expected.
</ins><span class="cx">
</span><del>-2013-06-13 Zoltan Horvath <zoltan@webkit.org>
</del><ins>+ Test: fast/regions/selection/selecting-text-including-region.html
</ins><span class="cx">
</span><del>- [CSS Shapes][CSS Regions] Respect bottom positioned shapes and content adjustment inside shapes
- https://bugs.webkit.org/show_bug.cgi?id=117599
</del><ins>+ * CMakeLists.txt: Add new class SelectionSubtreeRoot to build file.
+ * WebCore.vcxproj/WebCore.vcxproj: Ditto.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
+ * WebCore.xcodeproj/project.pbxproj: Ditto.
+ * rendering/RenderNamedFlowThread.h: Inherit from SelectionSubtreeRoot.
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::selectionRoot): New method to return the RenderNamedFlowThread if any or the RenderView
+ otherwise.
+ (WebCore::RenderObject::selectionStartEnd): If it's inside a RenderNamedFlowThread use specific method instead
+ of the RenderView's one.
+ * rendering/RenderObject.h: Add new method signature.
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::selectionBounds): Adapt method to subtrees approach.
+ (WebCore::RenderView::subtreeSelectionBounds): Modify previous method in order to use SelectionSubtreeRoot
+ objects.
+ (WebCore::RenderView::repaintSelection): Adapt method to subtrees approach.
+ (WebCore::RenderView::repaintSubtreeSelection): Modify previous method in order to use SelectionSubtreeRoot
+ objects.
+ (getNextOrPrevRenderObjectBasedOnDirection): Deleted method from r155058 as it is not needed anymore. Each
+ subtree will have start and end positions, so the selection algorithm will always find the end.
+ (WebCore::RenderView::setSelection): Adapt method to subtrees approach.
+ (WebCore::RenderView::splitSelectionBetweenSubtrees): Determine start and end positions for each subtree and
+ call setSubtreeSelection().
+ (WebCore::RenderView::setSubtreeSelection): Modify previous method in order to use SelectionSubtreeRoot objects.
+ * rendering/RenderView.h: Inherit from SelectionSubtreeRoot. Add signature for new helper methods receiving
+ SelectionSubtreeRoot objects.
+ * rendering/SelectionSubtreeRoot.cpp: Added.
+ (WebCore::SelectionSubtreeRoot::SelectionSubtreeRoot):
+ (WebCore::SelectionSubtreeRoot::selectionStartEndPositions):
+ * rendering/SelectionSubtreeRoot.h: Added. New class to identify root elements for the subtrees. With some basic
+ attributes and methods to store the start and end positions and offsets.
+ (WebCore::SelectionSubtreeRoot::selectionStart):
+ (WebCore::SelectionSubtreeRoot::selectionStartPos):
+ (WebCore::SelectionSubtreeRoot::selectionEnd):
+ (WebCore::SelectionSubtreeRoot::selectionEndPos):
+ (WebCore::SelectionSubtreeRoot::setSelectionStart):
+ (WebCore::SelectionSubtreeRoot::setSelectionStartPos):
+ (WebCore::SelectionSubtreeRoot::setSelectionEnd):
+ (WebCore::SelectionSubtreeRoot::setSelectionEndPos):
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+2014-04-21 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- In r150478 I added support for multiple positioned shape-insides on regions, this patch covers the cases when a shape
- is positioned to the bottom of the region or the region contains a shape which forces the content to be adjusted inside
- the shape (e.g. we have a triangle shape and the first line needs to be started at the first position where it fits).
- I introduced a new helper function to update the current shape and the current line segments in the flow thread cases. With
- this new helper function all the logic which calculates the segments for shape-inside on regions is located in one function.
</del><ins>+ [Mac] Follow-up: After a horizontal overflow scroll with a mechanical wheel mouse, vertical scrolling no longer works
+ https://bugs.webkit.org/show_bug.cgi?id=131960
+ <rdar://problem/16142100>
</ins><span class="cx">
</span><del>- Tests: fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-bottom-positioned-multiple-shapes.html
- fast/regions/shape-inside/shape-inside-on-regions-block-content-polygon-with-adjustment.html
- fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-bottom-positioned-multiple-shapes.html
- fast/regions/shape-inside/shape-inside-on-regions-inline-content-polygon-with-adjustment.html
</del><ins>+ Unreviewed build fix.
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.h: Add new helper's declaration
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::LineLayoutState::LineLayoutState): Add a member to carry adjustment for flow thread cases.
- (WebCore::LineLayoutState::adjustedLogicalLineTop): Add new member.
- (WebCore::LineLayoutState::setAdjustedLogicalLineTop): Add new setter for the new member.
- (WebCore::RenderBlock::updateShapeAndSegmentsForCurrentLine): Move flow thread case to its helper function.
- (WebCore::RenderBlock::updateShapeAndSegmentsForCurrentLineInFlowThread): Added new helper for flow thread cases.
- (WebCore::RenderBlock::adjustLogicalLineTopAndLogicalHeightIfNeeded): Save adjustment for flow thread cases.
</del><ins>+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::handleWheelEvent): The test to clear the
+ last scrolled node was too broad. It should only follow this path
+ if both the phase and momentum phase are 'None'.
</ins><span class="cx">
</span><del>-2013-06-13 Mihai Tica <mitica@adobe.com>
</del><ins>+2014-04-21 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- [CSS Background Blending] Enable CSS Background blending for layers with SVGs.
</del><ins>+ [Mac] After a horizontal overflow scroll with a mechanical wheel mouse, vertical scrolling no longer works
+ https://bugs.webkit.org/show_bug.cgi?id=131960
+ <rdar://problem/16142100>
</ins><span class="cx">
</span><del>- The change implies adding the blending parameter for SVGImage
- https://bugs.webkit.org/show_bug.cgi?id=117588
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Reviewed by Dirk Schulze.
</del><ins>+ Test: platform/mac/fast/scrolling/scroll-div-no-latching.html
</ins><span class="cx">
</span><del>- Tests: css3/compositing/background-blend-mode-image-svg.html
- css3/compositing/background-blend-mode-svg-color.html
</del><ins>+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::handleWheelEvent): When not latching, always clear m_latchedWheelEventElement and m_previousWheelScrolledElement.
</ins><span class="cx">
</span><del>- * svg/graphics/SVGImage.cpp:
- (WebCore::SVGImage::draw):
</del><ins>+2014-04-21 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>-2013-06-13 Mihai Tica <mitica@adobe.com>
</del><ins>+ WebProfilerAgent::disable is calling the wrong superclass method
+ https://bugs.webkit.org/show_bug.cgi?id=131968
</ins><span class="cx">
</span><del>- Updating the -webkit-background-blend-mode property dynamically does not trigger a redraw of the element.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Adding krit's fix: actual blending values should be compared, not the sets.
- https://bugs.webkit.org/show_bug.cgi?id=117223
</del><ins>+ * inspector/WebProfilerAgent.cpp:
+ (WebCore::WebProfilerAgent::disable):
</ins><span class="cx">
</span><del>- Reviewed by Dirk Schulze.
</del><ins>+2014-04-21 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- Test: css3/compositing/background-blend-mode-image-color-dynamic.html
</del><ins>+ Followup from http://trac.webkit.org/changeset/167624
</ins><span class="cx">
</span><del>- * rendering/style/FillLayer.cpp:
- (WebCore::FillLayer::operator==):
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-06-13 Beth Dakin <bdakin@apple.com>
</del><ins>+ Fixing incorrect use of ? : syntax.
</ins><span class="cx">
</span><del>- Headers and footers should be pinned to the left edge of the window when scrolling
- horizontally, even when zoomed
- https://bugs.webkit.org/show_bug.cgi?id=117562
- -and corresponding-
- <rdar://problem/14006745>
</del><ins>+ * editing/VisibleUnits.cpp:
+ (WebCore::characterBeforePosition):
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+2014-04-21 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- We really want to use the width value from scrollOffsetForFixedPosition() for the
- banner with a scaled factor of 1. So if there is a different scale factor, re-
- compute this value specifically for the banners.
- * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
- (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
</del><ins>+ Move CoordinatedGraphics related codes out of CMakeLists.txt
+ https://bugs.webkit.org/show_bug.cgi?id=131931
</ins><span class="cx">
</span><del>-2013-06-13 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- Support byte and octet types in bindings generators
- https://bugs.webkit.org/show_bug.cgi?id=117547
</del><ins>+ Move CoordinatedGraphics related files to PlatformEfl.cmake because they are not common files.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ * CMakeLists.txt:
+ * PlatformEfl.cmake:
</ins><span class="cx">
</span><del>- Add support for byte and octet IDL types to the bindings
- generator:
- http://dev.w3.org/2006/webapi/WebIDL/#idl-byte
- http://dev.w3.org/2006/webapi/WebIDL/#idl-octet
</del><ins>+2014-04-21 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- No new tests, covered by existing layout tests and by new
- bindings tests.
</del><ins>+ [MSE][Mac] AVSampleBufferDisplayLayer and AudioRenderer is overretained.
+ https://bugs.webkit.org/show_bug.cgi?id=131963
</ins><span class="cx">
</span><del>- No new tests, covered by bindings tests and:
- fast/js/webidl-type-mapping.html
</del><ins>+ Reviewed by Jon Honeycutt.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Export new symbols for mac port.
- * bindings/js/JSDOMBinding.cpp:
- * bindings/js/JSDOMBinding.h: Add toInt8() / toUInt8()
- methods to convert from JSValue to int8_t / uint8_t as
- specified by Web IDL.
</del><ins>+ Adopt the results of -[[class alloc] init] rather than retaining them.
</ins><span class="cx">
</span><del>- * bindings/js/JSDataViewCustom.cpp: Remove custom code for
- getInt8, getUInt8, setInt8, setUInt8 now that byte and octet
- types are supported by the bindings generator.
</del><ins>+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ (WebCore::SourceBufferPrivateAVFObjC::hasVideo):
+ (WebCore::SourceBufferPrivateAVFObjC::trackDidChangeEnabled):
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorCPP.pm:
- * bindings/scripts/CodeGeneratorGObject.pm:
- * bindings/scripts/CodeGeneratorJS.pm:
</del><ins>+2014-04-21 Zalan Bujtas <zalan@apple.com>
+
+ REGRESSION (r166784): Gradient at background of iCloud login page doesn’t go all the way to the bottom
+ https://bugs.webkit.org/show_bug.cgi?id=131924
+
+ Computing tile dimension for contain/cover requires higher precision than what LayoutUnit has. Switching to floats.
+
+ Reviewed by Simon Fraser.
+
+ Test: fast/backgrounds/hidpi-background-image-contain-cover-scale-needs-more-precision.html
+
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::calculateFillTileSize):
+
+2014-04-21 Dean Jackson <dino@apple.com>
+
+ Build fix for Mountain Lion.
+
+ * platform/mac/SerializedPlatformRepresentationMac.mm:
+ (WebCore::SerializedPlatformRepresentationMac::deserialize):
+
+2014-04-21 Dan Bernstein <mitz@apple.com>
+
+ WebCore part of <rdar://problem/16631323> Page::setDefersLoading doesn’t do anything when using the Network process
+ https://bugs.webkit.org/show_bug.cgi?id=131939
+
+ Reviewed by David Kilzer.
+
+ * WebCore.exp.in: Exported WebCore::ResourceHandle::setDefersLoading.
+
+ * loader/ResourceLoadScheduler.cpp:
+ (WebCore::ResourceLoadScheduler::setDefersLoading): Added a no-op implementation.
+ * loader/ResourceLoadScheduler.h: Declared new virtual member function setDefersLoading.
+
+ * loader/ResourceLoader.cpp:
+ (WebCore::ResourceLoader::setDefersLoading): Added a call to the above function.
+
+2014-04-21 Brent Fulgham <bfulgham@apple.com>
+
+ [Mac] Difficulty gesture scrolling vertically with trackpad after scrolling horizontally
+ https://bugs.webkit.org/show_bug.cgi?id=131959
+ <rdar://problem/16654523>
+
+ Reviewed by Simon Fraser.
+
+ * page/mac/EventHandlerMac.mm:
+ (WebCore::deltaIsPredominantlyVertical): Added.
+ (WebCore::scrolledToEdgeInDominantDirection): Only consider current mouse wheel event. We don't care about
+ overall history when deciding if we are bumping against the edge of a scrollable region. Short-circuit if
+ the element style indicates that overflow is hidden, since this means there is no scroll possible in that
+ direction.
+ (WebCore::EventHandler::platformPrepareForWheelEvents): Update for new signature.
+
+2014-04-21 Eric Carlson <eric.carlson@apple.com>
+
+ [Mac] implement WebKitDataCue
+ https://bugs.webkit.org/show_bug.cgi?id=131799
+
+ Reviewed by Dean Jackson.
+
+ Tests: http/tests/media/track-in-band-hls-metadata.html
+ media/track/track-datacue-value.html
+
+ * Configurations/FeatureDefines.xcconfig: Define ENABLE_DATACUE_VALUE.
+ * DerivedSources.make: Add ENABLE_DATACUE_VALUE to HTML_FLAGS when appropriate.
+
+ * CMakeLists.txt: Add JSDataCueCustom.cpp.
+ * bindings/js/JSBindingsAllInOne.cpp:
+ * WebCore.xcodeproj/project.pbxproj: Add new files.
+
+ * bindings/js/JSDataCueCustom.cpp: Added.
+ (WebCore::JSDataCue::value):
+ (WebCore::JSDataCue::setValue):
+ (WebCore::JSDataCueConstructor::constructJSDataCue): Custom constructor.
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::updateActiveTextTrackCues): Drive-by fixes: don't schedule timeupdate
+ events when paused, don't call sort on an Vector that can't be sorted.
+
+ * html/track/DataCue.cpp:
+ (WebCore::DataCue::DataCue): Initialize m_type.
+ (WebCore::DataCue::~DataCue): Unprotect the JSValue if necessary.
+ (WebCore::DataCue::data): Ask the platform value for data if non-null.
+ (WebCore::DataCue::setData): Clear m_platformValue and m_value.
+ (WebCore::DataCue::isEqual): New.
+ (WebCore::DataCue::value): Return a JSValue from the platform value, or the value passed
+ to the constructor/set by script.
+ (WebCore::DataCue::setValue): Set m_value.
+ * html/track/DataCue.h:
+ * html/track/DataCue.idl:
+
+ * html/track/InbandDataTextTrack.cpp:
+ (WebCore::InbandDataTextTrack::addDataCue): Don't add the same cue more than once.
+ (WebCore::InbandDataTextTrack::updateDataCue): Update a cue's duration.
+ (WebCore::InbandDataTextTrack::removeDataCue): Remove an incomplete cue.
+ (WebCore::InbandDataTextTrack::removeCue): Remove a cue from the incomplete cue map if necessary.
+ * html/track/InbandDataTextTrack.h:
+
+ * html/track/InbandGenericTextTrack.cpp:
+ (WebCore::InbandGenericTextTrack::addGenericCue): CueMatchRules is now in TextTrackCue instead
+ of VTTCue.
+ * html/track/InbandTextTrack.h:
+
+ * html/track/InbandWebVTTTextTrack.cpp:
+ (WebCore::InbandWebVTTTextTrack::newCuesParsed): Ditto.
+
+ * html/track/TextTrack.cpp:
+ (WebCore::TextTrack::hasCue): Ditto.
+ * html/track/TextTrack.h:
+
+ * html/track/TextTrackCue.cpp:
+ (WebCore::TextTrackCue::isEqual): New, test base class equality.
+ * html/track/TextTrackCue.h:
+
+ * html/track/TextTrackCueGeneric.cpp:
+ (WebCore::TextTrackCueGeneric::isEqual): Call TextTrackCue::isEqual first.
+ * html/track/TextTrackCueGeneric.h:
+
+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCue::isEqual): Call TextTrackCue::isEqual first.
+ * html/track/VTTCue.h:
+
+ * platform/SerializedPlatformRepresentation.h: Added.
+ (WebCore::SerializedPlatformRepresentation::~SerializedPlatformRepresentation):
+ (WebCore::SerializedPlatformRepresentation::SerializedPlatformRepresentation):
+
+ * platform/graphics/InbandTextTrackPrivateClient.h: Add methods for DataCue with SerializedPlatformRepresentation.
+
+ * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp: Added.
+ (WebCore::InbandMetadataTextTrackPrivateAVF::create):
+ (WebCore::InbandMetadataTextTrackPrivateAVF::InbandMetadataTextTrackPrivateAVF):
+ (WebCore::InbandMetadataTextTrackPrivateAVF::~InbandMetadataTextTrackPrivateAVF):
+ (WebCore::InbandMetadataTextTrackPrivateAVF::addDataCue):
+ (WebCore::InbandMetadataTextTrackPrivateAVF::updatePendingCueEndTimes):
+ (WebCore::InbandMetadataTextTrackPrivateAVF::flushPartialCues):
+ * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.h: Added.
+
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundation::seekWithTolerance): currentTrack -> currentTextTrack.
+ (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted): Ditto.
+ (WebCore::MediaPlayerPrivateAVFoundation::configureInbandTracks): Ditto.
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
+ (WebCore::MediaPlayerPrivateAVFoundation::setCurrentTextTrack):
+ (WebCore::MediaPlayerPrivateAVFoundation::setCurrentTrack): Deleted.
+
+ Renamed currentTrack and setCurrentTrack to currentTextTrack and setCurrentTextTrack.
+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
+ (WebCore::AVFWrapper::currentTextTrack):
+ (WebCore::MediaPlayerPrivateAVFoundationCF::setCurrentTextTrack):
+ (WebCore::MediaPlayerPrivateAVFoundationCF::currentTextTrack):
+ (WebCore::AVFWrapper::setCurrentTextTrack):
+ (WebCore::AVFWrapper::AVFWrapper):
+ (WebCore::AVFWrapper::processCue):
+ (WebCore::AVFWrapper::currentTrack): Deleted.
+ (WebCore::MediaPlayerPrivateAVFoundationCF::setCurrentTrack): Deleted.
+ (WebCore::MediaPlayerPrivateAVFoundationCF::currentTrack): Deleted.
+ (WebCore::AVFWrapper::setCurrentTrack): Deleted.
+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::seekToTime): currentTrack -> currentTextTrack
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): currentTrack -> currentTextTrack.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::processMetadataTrack): New.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::processCue): m_currentTrack -> m_currentTextTrack.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::flushCues): Ditto.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTextTrack): Renamed from setCurrentTextTrack.
+ (WebCore::metadataType): Map an AVFoundation metadata key space to a metadata cue type.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::metadataDidArrive): Process new metadata.
+ (-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTrack): Deleted.
+
+ Create a JSValue representation from an AVMetadataItem.
+ * platform/mac/SerializedPlatformRepresentationMac.h: Added.
+ (WebCore::SerializedPlatformRepresentationMac::platformType):
+ (WebCore::SerializedPlatformRepresentationMac::nativeValue):
+ * platform/mac/SerializedPlatformRepresentationMac.mm: Added.
+ (WebCore::SerializedPlatformRepresentationMac::SerializedPlatformRepresentationMac):
+ (WebCore::SerializedPlatformRepresentationMac::~SerializedPlatformRepresentationMac):
+ (WebCore::SerializedPlatformRepresentationMac::create):
+ (WebCore::SerializedPlatformRepresentationMac::data):
+ (WebCore::SerializedPlatformRepresentationMac::deserialize):
+ (WebCore::SerializedPlatformRepresentationMac::isEqual):
+ (WebCore::toSerializedPlatformRepresentationMac):
+ (WebCore::jsValueWithValueInContext):
+ (WebCore::jsValueWithDataInContext):
+ (WebCore::jsValueWithArrayInContext):
+ (WebCore::jsValueWithDictionaryInContext):
+ (WebCore::jsValueWithAVMetadataItemInContext):
+
+2014-04-21 Benjamin Poulain <benjamin@webkit.org>
+
+ Add Element.matches, the standard name for webkitMatchesSelector
+ https://bugs.webkit.org/show_bug.cgi?id=131922
+
+ Reviewed by Andreas Kling.
+
+ This patch just renames webkitMatchesSelector() to matches().
+
</ins><span class="cx"> * bindings/scripts/CodeGeneratorObjC.pm:
</span><del>- * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
- * bindings/scripts/test/CPP/WebDOMTestObj.h:
- * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
- * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
- * bindings/scripts/test/JS/JSTestObj.cpp:
- * bindings/scripts/test/JS/JSTestObj.h:
- * bindings/scripts/test/ObjC/DOMTestObj.h:
- * bindings/scripts/test/ObjC/DOMTestObj.mm:
- * bindings/scripts/test/TestObj.idl: Add tests for byte and octet types.
- * html/canvas/DataView.idl: Remove [Custom] extended attribute for
- getInt8, getUInt8, setInt8, setUInt8 and use newly supported byte / octet
- types.
</del><ins>+ (GenerateImplementation):
+ The Objective-C binding generator only supported ImplementedAs for getters and setters.
+ This adds support for the option so that Element.matches can be generated for Obj-C.
</ins><span class="cx">
</span><del>-2013-06-13 Timothy Hatcher <timothy@apple.com>
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::matches):
+ (WebCore::Element::webkitMatchesSelector): Deleted.
+ * dom/Element.h:
+ * dom/Element.idl:
+ * inspector/InspectorCSSAgent.cpp:
+ (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
</ins><span class="cx">
</span><del>- Revert r150339 since it causes a hang while paused in the Web Inspector in other apps.
</del><ins>+2014-04-21 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- https://bugs.webkit.org/show_bug.cgi?id=117596
</del><ins>+ topContentInset does not play well with fullscreen elements
+ https://bugs.webkit.org/show_bug.cgi?id=131955
+ -and corresponding-
+ <rdar://problem/16651925>
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * platform/mac/EventLoopMac.mm:
- (WebCore::EventLoop::cycle):
</del><ins>+ Calling setNeedsLayout() is not sufficient when the topContentInset has changed
+ dynamically. We need to perform the layout right away and update the scrollbars.
+ This works completely when the inset changes due to entering/exiting fullscreen,
+ but I left a FIXME behind because it is possible to change the inset dynamically
+ just through the WK2 API and end up in a situation where everything looks right
+ except for the scrollbars.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::topContentInsetDidChange):
+ * page/FrameView.h:
+ * page/Page.cpp:
+ (WebCore::Page::setTopContentInset):
</ins><span class="cx">
</span><del>-2013-06-13 Brent Fulgham <bfulgham@apple.com>
</del><ins>+2014-04-18 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>- [Windows] Unreviewed gardening. Remove dangling 'strings' folder from solution.
</del><ins>+ Empty RenderInline objects should not be line break objects.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj.filters: Get rid of 'strings' that was orphaned by
- recent file reorganization.
</del><ins>+ https://bugs.webkit.org/show_bug.cgi?id=131861
+ <rdar://problem/15663617>
</ins><span class="cx">
</span><del>-2013-06-13 Praveen R Jadhav <praveen.j@samsung.com>
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Avoid unwanted thread hops in ScriptProcessorNode when 'onaudioprocess' listener is not set.
- https://bugs.webkit.org/show_bug.cgi?id=117578.
</del><ins>+ * rendering/line/BreakingContextInlineHeaders.h:
+ (WebCore::BreakingContext::canBreakAtThisPosition):
+ Don't break at this position if this is an empty RenderInline.
</ins><span class="cx">
</span><ins>+2014-04-21 Enrica Casucci <enrica@apple.com>
+
+ [iOS WebKit2] support replacements for misspelled words.
+ https://bugs.webkit.org/show_bug.cgi?id=131827
+ <rdar://problem/16319657>
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- ScriptProcessorNode process operation continues to dispatch AudioProcessingEvent
- even though 'onaudioprocess' listener is not set. This results in unwanted thread hops.
- Code is optimized to dispatch AudioProcessingEvent only if the listener is set.
</del><ins>+ Adds utility function to return the character before the current selection
+ and converts the nbsp to the space character.
</ins><span class="cx">
</span><del>- No new tests, already covered by existing tests.
</del><ins>+ * WebCore.exp.in:
+ * editing/VisibleUnits.cpp:
+ (WebCore::characterBeforePosition):
+ * editing/VisibleUnits.h:
</ins><span class="cx">
</span><del>- * Modules/webaudio/ScriptProcessorNode.cpp:
- (WebCore::ScriptProcessorNode::ScriptProcessorNode):
- (WebCore::ScriptProcessorNode::process):
- (WebCore::ScriptProcessorNode::setOnaudioprocess):
- * Modules/webaudio/ScriptProcessorNode.h:
- (WebCore::ScriptProcessorNode::onaudioprocess):
</del><ins>+2014-04-21 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>-2013-06-13 Max Vujovic <mvujovic@adobe.com>
</del><ins>+ [iOS] enable plug-in replacement
+ https://bugs.webkit.org/show_bug.cgi?id=131947
</ins><span class="cx">
</span><del>- [CSS Regions] -webkit-background-clip: text; does not clip the background in regions
- https://bugs.webkit.org/show_bug.cgi?id=117566
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ * bindings/generic/RuntimeEnabledFeatures.cpp:
+ (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures): initialize m_isPluginReplacementEnabled
+ to true on iOS.
</ins><span class="cx">
</span><del>- This patch enables -webkit-background-clip: text; on regions.
</del><ins>+2014-04-21 Rik Cabanier <cabanier@adobe.com>
</ins><span class="cx">
</span><del>- Test: fast/regions/webkit-background-clip-text.html
</del><ins>+ [CSS Blending] Remove support for non-separable blend modes from mix-blend-mode
+ https://bugs.webkit.org/show_bug.cgi?id=131824
</ins><span class="cx">
</span><del>- * rendering/RenderFlowThread.cpp:
- (WebCore::RenderFlowThread::paintFlowThreadPortionInRegion):
- Force black text if we're in the text clip paint phase. This makes sure the text's alpha
- channel does not affect the final opacity of the background clipping result. Rather,
- the text's alpha channel affects the amount of blending between the text color
- and the background.
- * rendering/RenderRegion.cpp:
- (WebCore::shouldPaintRegionContentsInPhase):
- Factor out a function to check if we should paint the region contents in a particular
- phase. Add "PaintPhaseTextClip" so that we draw the contents in the text clipping phase.
- (WebCore::RenderRegion::paintObject):
- Call shouldPaintRegionContentsInPhase instead of doing the phase checks directly in this
- function. Move, update, and clarify the surrounding comments.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>-2013-06-13 Anton Obzhirov <a.obzhirov@samsung.com>
</del><ins>+ Removed support for non-separable blend modes from the CSS parser.
</ins><span class="cx">
</span><del>- [CSS Regions] Regions auto-height and absolute positioning bug
- https://bugs.webkit.org/show_bug.cgi?id=111092
</del><ins>+ Covered by existing tests
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * css/CSSParser.cpp:
+ (WebCore::isValidKeywordPropertyAndValue):
+ * platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
+ (PlatformCAFilters::setBlendingFiltersOnLayer):
</ins><span class="cx">
</span><del>- During last layout that should update the auto-height regions new auto-height region height
- is calculated correctly based on the text content, but it requires extra step
- to reposition the render block after new logical height is set (correct logical height becomes
- available only during last layout).
</del><ins>+2014-04-21 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Tests: fast/regions/autoheight-abspos-bottom-align.html
</del><ins>+ [New Multicolumn] Column set drawing under horizontal scrollbar.
+ https://bugs.webkit.org/show_bug.cgi?id=131812.
</ins><span class="cx">
</span><del>- * rendering/RenderRegion.cpp:
- (WebCore::RenderRegion::updateLogicalHeight):
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>-2013-06-13 Brent Fulgham <bfulgham@webkit.org>
</del><ins>+ Added fast/multicol/newmulticol/compare-with-old-impl/LeftToRight-tb.html.
</ins><span class="cx">
</span><del>- [WinCairo] Unreviewed build correction.
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::layoutBlock):
+ (WebCore::RenderBlockFlow::checkForPaginationLogicalHeightChange):
+ * rendering/RenderBlockFlow.h:
+ Pass in relayoutChildren as a reference boolean to checkForPaginationLogicalHeightChange.
+ The new columns need to be able to set it to true if the amount of available column
+ height ever changes, so that the RenderFlowThread and the sets get a layout call.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCoreCairo.props: Use proper WebKit_Libraries
- environment variable, rather than older WebKitLibraries.
</del><ins>+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::setColumnStylesFromPaginationMode):
+ Make sure that the pagination mode is set up with an auto column-fill specified. You
+ don't ever want to balance when you set a pagination mode on the RenderView.
</ins><span class="cx">
</span><del>-2013-06-13 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-04-21 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- Avoid duplicate isInt32() / isUInt32() checks in JSDOMBindings
- https://bugs.webkit.org/show_bug.cgi?id=117593
</del><ins>+ [iOS WebKit2] Implement CSS viewport units
+ https://bugs.webkit.org/show_bug.cgi?id=131863
+ <rdar://problem/16279088>
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Avoid duplicate isInt32() / isUInt32() checks in JSDOMBindings by
- calling asInt32() / asUInt32() instead of toInt32() / toUInt32()
- when we already know the value is a int32 / uint32.
</del><ins>+ * WebCore.exp.in:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::setViewportSize):
+ * page/FrameView.h:
+ (WebCore::FrameView::viewportSize):
+ Add setViewportSize() and viewportSize().
+ If the viewport size changes, we have to do style recalc.
+ If we have an overridden viewport size, use it.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::viewportSize):
+ * rendering/RenderView.h:
+ Get the size from FrameView.
</ins><span class="cx">
</span><ins>+2014-04-21 Joseph Pecoraro <pecoraro@apple.com>
+
+ Remove unused WebKitSystemInterface functions
+ https://bugs.webkit.org/show_bug.cgi?id=131938
+
+ Reviewed by Alexey Proskuryakov.
+
+ * WebCore.exp.in:
+ * platform/ios/WebCoreSystemInterfaceIOS.mm:
+ * platform/mac/WebCoreSystemInterface.h:
+ * platform/mac/WebCoreSystemInterface.mm:
+
+2014-04-21 Andreas Kling <akling@apple.com>
+
+ Move the JSString cache from DOMWrapperWorld to VM.
+ <https://webkit.org/b/131940>
+
+ Since there's no need for JSStrings to be world-specific, this patch
+ moves the string cache to JSC::VM. This makes jsStringWithCache()
+ a lot faster since it no longer has to jump through twenty-eleven
+ hoops to find the DOMWrapperWorld.
+
+ Reviewed by Geoff Garen.
+
+ * bindings/js/DOMWrapperWorld.cpp:
+ (WebCore::DOMWrapperWorld::clearWrappers):
+ * bindings/js/DOMWrapperWorld.h:
</ins><span class="cx"> * bindings/js/JSDOMBinding.cpp:
</span><ins>+ (WebCore::jsStringWithCache):
</ins><span class="cx">
</span><del>-2013-06-13 Yuki Sekiguchi <yuki.sekiguchi@access-company.com>
</del><ins>+2014-04-21 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Setting overflow:hidden on position:absolute does not repaint hidden content
- https://bugs.webkit.org/show_bug.cgi?id=116994
</del><ins>+ [New Multicolumn] Column balancing is slow on float-multicol.html
+ https://bugs.webkit.org/show_bug.cgi?id=131801
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>- Since a container which has overflow clip of RenderBox which has self painting layer doesn't have a rect of the RenderBox as visual overflow,
- the container should not clip request repainting rect of the RenderBox.
</del><ins>+ Added fast/multicol/tall-float.html
</ins><span class="cx">
</span><del>- Test: fast/repaint/change-overflow-and-display-of-relative.html
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::expandsToEncloseOverhangingFloats):
+ Make RenderFlowThreads expand to encompass floats. Also from Morten's patch for
+ Blink (#361551).
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::computeRectForRepaint):
- * rendering/RenderLayerModelObject.cpp:
- (WebCore::RenderLayerModelObject::shouldUseClipForRepaint): If this has self painting layer, we should not clip for repaint.
- * rendering/RenderLayerModelObject.h:
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::computeOverflow):
+ Fix a bug where the new multi-column code was adding in overflow for floats
+ when it should not. This was resulting in the creation of scrollbars when none
+ should exist. This is my own addition.
</ins><span class="cx">
</span><del>-2013-06-13 Mihai Tica <mitica@adobe.com>
</del><ins>+ (WebCore::RenderBlockFlow::addOverhangingFloats):
+ Make RenderFlowThreads and RenderRegions ignore overhanging float additions. This
+ comes from Morten's patch for Blink (#361551).
</ins><span class="cx">
</span><del>- [CSS Background Blending] Gradients don't blend with any of the layers behind.
- First, allow the layers behind opaque gradients to be drawn, then add the blending filters
- when working with gradients.
</del><ins>+2014-04-21 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- https://bugs.webkit.org/show_bug.cgi?id=117532
</del><ins>+ REGRESSION (r160908): Safari doesn't draw rotated images properly first time
+ https://bugs.webkit.org/show_bug.cgi?id=131930
</ins><span class="cx">
</span><del>- Reviewed by Dirk Schulze.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Tests: css3/compositing/background-blend-mode-gradient-color.html
- css3/compositing/background-blend-mode-gradient-gradient.html
- css3/compositing/background-blend-mode-gradient-image.html
- css3/compositing/background-blend-mode-multiple-background-layers.html
</del><ins>+ With render tree creation sufficiently lazy, we had to put some explicit
+ calls to updateStyleIfNeeded into the ImageDocument class.
</ins><span class="cx">
</span><del>- * platform/graphics/GeneratorGeneratedImage.cpp:
- (WebCore::GeneratorGeneratedImage::draw):
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::paintFillLayers):
</del><ins>+ * dom/DOMImplementation.cpp:
+ (WebCore::DOMImplementation::createDocument): Pass a Frame&.
</ins><span class="cx">
</span><del>-2013-06-13 Michael Brüning <michael.bruning@digia.com>
</del><ins>+ * html/ImageDocument.cpp:
+ (WebCore::ImageDocument::imageSize): Added this helper function. This updates
+ style so we can use the renderer to compute an image size taking things like
+ orientation into account, and also passes in the zoom factor.
+ (WebCore::ImageDocument::updateDuringParsing): Moved the body of the
+ ImageDocumentParser::appendBytes function into this function. Since it's a
+ member of ImageDocument, it has better access to appropriate private members,
+ and we don't have to expose as many functions to the public. Also changed to
+ not use the frame so much. Also merged in the code that creates the document
+ instead of having it be a side effect in the cachedImage helper function; all
+ the other call sites were checking for null before calling cachedImage.
+ (WebCore::ImageDocument::finishedParsing): Moved the body of the
+ ImageDocumentParser::finish function here. Added a call to updateStyleIfNeeded
+ before using the renderer to get the image size.
+ (WebCore::ImageDocumentParser::document): Made this return a reference. It's
+ just a convenience function used in the two functions below.
+ (WebCore::ImageDocumentParser::appendBytes): Just call updateDuringParsing.
+ (WebCore::ImageDocumentParser::finish): Just call finishedParsing.
+ (WebCore::ImageDocument::ImageDocument): Take a reference for the argument,
+ use nullptr, and also initialize m_shouldShrinkImage directly instead of using
+ a shouldShrinkToFit() helper function to do it.
+ (WebCore::ImageDocument::createDocumentStructure): Removed unneeded check of
+ null for the frame, since the caller does it. Removed some unneeded
+ IGNORE_EXCEPTON and a stray semicolon. Use m_shouldShrinkImage instead of
+ calling shouldShrinkToFit since at this early point they will be identical.
+ (WebCore::ImageDocument::scale): Make non-const so we can call the new
+ imageSize helper. Use Document::view instead of Frame::view. Improved the
+ conversion to floating point so it doesn't involve a static_cast and an extra
+ conversion from int to LayoutUnit.
+ (WebCore::ImageDocument::resizeImageToFit): Ditto.
+ (WebCore::ImageDocument::imageClicked): Ditto.
+ (WebCore::ImageDocument::imageUpdated): Ditto. Also use m_shouldShrinkImage
+ ibnstead of shouldShrinkToFit.
+ (WebCore::ImageDocument::restoreImageSize): Ditto.
+ (WebCore::ImageDocument::imageFitsInWindow): Ditto.
+ (WebCore::ImageDocument::windowSizeChanged): Ditto.
+ (WebCore::ImageDocument::cachedImage): Deleted. Moved logic into updateDuringParsing.
+ (WebCore::ImageDocument::shouldShrinkToFit): Deleted. Moved logic into constructor.
+ (WebCore::ImageEventListener::handleEvent): Updated for changes above.
+ (WebCore::ImageEventListener::operator==): Simplified. No reason this has to check
+ whether both listeners are in the same document.
+ (WebCore::ImageDocumentElement::didMoveToNewDocument): Use nullptr.
</ins><span class="cx">
</span><del>- [Qt][Mac] Disable QTKit video on OS X.
- https://bugs.webkit.org/show_bug.cgi?id=117591
</del><ins>+ * html/ImageDocument.h: Deleted some unused things, updated for changes above,
+ and made some memer functions private.
</ins><span class="cx">
</span><del>- Reviewed by Tor Arne Vestbø.
</del><ins>+ * loader/FrameLoaderClient.h: Deleted the allowScriptFromSource, allowPlugins,
+ allowImage, and allowDisplayingInsecureContent functions. These were only used in
+ Chromium and are now unneeded complexity. We could bring them back if anyone wants them.
</ins><span class="cx">
</span><del>- Deployment of the same Qt binaries to different
- Mac OS X version makes it impossible to link against
- the correct WebKitSystemInterface version at build time.
</del><ins>+ * loader/MixedContentChecker.cpp:
+ (WebCore::MixedContentChecker::canDisplayInsecureContent): Removed call to
+ allowDisplayingInsecureContent, just use the setting directly.
+ (WebCore::MixedContentChecker::canRunInsecureContent): Removed call to
+ allowRunningInsecureContent, just use the setting directly.
</ins><span class="cx">
</span><del>- No new tests, no behavioural change.
</del><ins>+ * loader/SubframeLoader.cpp:
+ (WebCore::SubframeLoader::allowPlugins): Removed call to allowPlugins, just
+ use the arePluginsEnabled setting directly.
</ins><span class="cx">
</span><del>- * WebCore.pri:
</del><ins>+ * loader/cache/CachedResourceLoader.cpp:
+ (WebCore::CachedResourceLoader::canRequest): Removed call to allowScriptFromSource, just
+ use the isScriptEnabled setting directly.
+ (WebCore::CachedResourceLoader::clientDefersImage): Removed call to allowImage.
</ins><span class="cx">
</span><del>-2013-06-13 Morten Stenshorne <mstensho@opera.com>
</del><ins>+2014-04-21 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Column balancing support in the region based multicol implementation
- https://bugs.webkit.org/show_bug.cgi?id=116033
</del><ins>+ [New Multicolumn] Pagination mode messed up with non-inline axis and reversed direction.
+ https://bugs.webkit.org/show_bug.cgi?id=131811
</ins><span class="cx">
</span><del>- Start by setting the column height to the flow thread's height divided
- by the number of columns. Then stretch the column height until
- contents fits without creating overflowing columns, or until the
- maximum allowed column height is reached, whichever comes first. This
- may require several layout iterations (but normally only a
- couple). For each time we stretch, stretch by the least amount
- required to make a difference to which box goes where.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Also make sure that the columns get tall enough to honor orphans
- and widows settings.
</del><ins>+ Added fast/multicol/newmulticol/compare-with-old-impl/BottomToTop-tb.html
+
+ With block axis pagination mode, it is possible to set a column height that is not the same
+ as the available fill height for a block. The new multi-column code had the assumption that
+ the column height was the same as the amount of fill room you had available. This is not
+ the case.
+
+ To correct the issue, I added a member variable to RenderMultiColumnSet that stores the
+ available column height as a separate variable from the computed column height. This allows
+ the pagination API to specify a different column height that is not the same as the view's
+ content height.
</ins><span class="cx">
</span><del>- This change takes some tiny steps in preparing for multiple column
- set support. There is also some minor cleanup and bugfixing; see
- details below.
</del><ins>+ Even though it isn't involved in the solution, I also patched pageOrViewLogicalHeight on
+ RenderView to work with the new column code as well.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ To address the layout test failures (that caused the previous rollout), I made sure to
+ initialize m_availableHeight to 0 when m_computedColumnHeight also gets reset to 0.
+
+ The assertion is not something I could reproduce on any machine, but I can see the problem.
+ I patched Page's pageCount method to not have column code directly in Page.cpp,
+ and to make a new pageCount() method on RenderView that Page calls
+ into. This method is now patched to handle the new column code as well as the old. I have
+ no real way of testing this method though, since I can't reproduce the assertion that the
+ bots were experiencing.
</ins><span class="cx">
</span><del>- Tests: fast/multicol/newmulticol/balance-images.html
- fast/multicol/newmulticol/balance-maxheight1.html
- fast/multicol/newmulticol/balance-maxheight2.html
- fast/multicol/newmulticol/balance1.html
- fast/multicol/newmulticol/balance2.html
- fast/multicol/newmulticol/balance3.html
- fast/multicol/newmulticol/balance4.html
- fast/multicol/newmulticol/balance5.html
- fast/multicol/newmulticol/balance6.html
- fast/multicol/newmulticol/balance7.html
- fast/multicol/newmulticol/balance8.html
- fast/multicol/newmulticol/balance9.html
- fast/multicol/newmulticol/cell-shrinkback.html
- fast/multicol/newmulticol/columns-shorthand-parsing.html
- fast/multicol/newmulticol/orphans-and-widows-balance.html
- fast/multicol/newmulticol/single-line.html
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::adjustForUnsplittableChild):
- (WebCore::RenderBlock::setPageBreak):
- (WebCore):
- (WebCore::RenderBlock::updateMinimumPageHeight):
- (WebCore::calculateMinimumPageHeight):
- (WebCore::RenderBlock::adjustLinePositionForPagination):
- (WebCore::RenderBlock::adjustBlockChildForPagination): If no lines
- cross the boundaries, we need to report where blocks cross
- instead, so that the column balancer knows how much to stretch
- columns if necessary.
- * rendering/RenderBlock.h:
- * rendering/RenderFlowThread.h:
- * rendering/RenderMultiColumnBlock.cpp:
- (WebCore::RenderMultiColumnBlock::RenderMultiColumnBlock):
- (WebCore::RenderMultiColumnBlock::checkForPaginationLogicalHeightChange):
- (WebCore::RenderMultiColumnBlock::relayoutForPagination):
- (WebCore::RenderMultiColumnBlock::layoutSpecialExcludedChild):
- * rendering/RenderMultiColumnBlock.h:
- (WebCore::RenderMultiColumnBlock::columnHeightAvailable):
- (WebCore::RenderMultiColumnBlock::requiresBalancing):
- (RenderMultiColumnBlock):
- * rendering/RenderMultiColumnFlowThread.cpp:
- (WebCore::RenderMultiColumnFlowThread::autoGenerateRegionsToBlockOffset):
- (WebCore::RenderMultiColumnFlowThread::setPageBreak):
- (WebCore):
- (WebCore::RenderMultiColumnFlowThread::updateMinimumPageHeight):
- * rendering/RenderMultiColumnFlowThread.h:
- (RenderMultiColumnFlowThread):
- * rendering/RenderMultiColumnSet.cpp: Get rid of
- RenderMultiColumnSet::updateLogicalHeight() override. Make
- RenderMultiColumnSet behave more like normal blocks, by having
- computeLogicalHeight() calculate logical top in addition to
- height, just like any other block.
</del><ins>+ * page/Page.cpp:
+ (WebCore::Page::pageCount):
+ * rendering/RenderMultiColumnSet.cpp:
</ins><span class="cx"> (WebCore::RenderMultiColumnSet::RenderMultiColumnSet):
</span><del>- (WebCore::RenderMultiColumnSet::heightAdjustedForSetOffset): This
- method will become more meaningful once we add support for
- multiple column sets.
- (WebCore):
- (WebCore::RenderMultiColumnSet::pageLogicalTopForOffset):
</del><span class="cx"> (WebCore::RenderMultiColumnSet::setAndConstrainColumnHeight):
</span><del>- (WebCore::RenderMultiColumnSet::calculateBalancedHeight):
- (WebCore::RenderMultiColumnSet::recordSpaceShortage):
- (WebCore::RenderMultiColumnSet::updateLogicalWidth):
</del><span class="cx"> (WebCore::RenderMultiColumnSet::prepareForLayout):
</span><span class="cx"> (WebCore::RenderMultiColumnSet::computeLogicalHeight):
</span><del>- (WebCore::RenderMultiColumnSet::columnCount):
- (WebCore::RenderMultiColumnSet::columnIndexAtOffset):
- repaintFlowThreadContent() could end up in an infinite loop
- because columnIndexAtOffset() could return UINT_MAX
- (subtracting 1 from unsigned 0, which columnCount() could return),
- which an unsigned integer obviously can never become larger
- than. Also always call columnIndexAtOffset() if we want to get the
- column index for some offset, rather than doing it on our own
- sometimes. To make this work also during layout, we cannot just
- return the last column created so far if we're past it, since
- adding new columns is exactly what we want to do at this point.
</del><span class="cx"> * rendering/RenderMultiColumnSet.h:
</span><del>- (RenderMultiColumnSet):
</del><ins>+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::pageOrViewLogicalHeight):
+ (WebCore::RenderView::pageCount):
+ * rendering/RenderView.h:
</ins><span class="cx">
</span><del>-2013-06-12 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-04-18 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Remove the notion of inactive plug-ins
- https://bugs.webkit.org/show_bug.cgi?id=117570
- <rdar://problem/13484213>
</del><ins>+ [Media] Clean up localized strings in controls
+ https://bugs.webkit.org/show_bug.cgi?id=131857
+ <rdar://problem/16663005>
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Remove RenderEmbeddedObject::PluginInactive and the replacement text.
</del><ins>+ There is no need for separate localization files
+ on OS X and iOS. Move the small number of iOS-specific
+ localizations into a shared file.
</ins><span class="cx">
</span><del>- * English.lproj/Localizable.strings:
- * platform/LocalizedStrings.cpp:
- * platform/LocalizedStrings.h:
- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::unavailablePluginReplacementText):
- * rendering/RenderEmbeddedObject.h:
</del><ins>+ We also don't need a function to return a static table.
+ Ultimately I think we want a top-level WebKit object that
+ hold the table, but for now use a global variable
+ called UIStringTable. Since we're in an isolated world, we
+ won't clash with anything.
</ins><span class="cx">
</span><del>-2013-06-12 Dean Jackson <dino@apple.com>
</del><ins>+ I noticed a few cases were we grab a localized string and
+ then instantly run a replacement on it. This should be
+ supported directly in the UIString() accessor.
</ins><span class="cx">
</span><del>- [Mac] Change default Traditional Chinese serif font on 10.9
- https://bugs.webkit.org/show_bug.cgi?id=117568
</del><ins>+ * English.lproj/mediaControlsLocalizedStrings.js: Add iOS strings. Just
+ use a static table.
+ (mediaControlsLocalizedStrings): Deleted.
+ * English.lproj/mediaControlsLocalizedStringsiOS.js: Removed.
+ * Modules/mediacontrols/mediaControlsApple.js:
+ (Controller.prototype.extend): Fix braces.
+ (Controller.prototype.UIString): Use the string table, and allow replacement.
+ (Controller.prototype.createControls): Use new UIString replacement.
+ * Modules/mediacontrols/mediaControlsiOS.js:
+ (ControllerIOS.prototype.updateWirelessPlaybackStatus): Use new UIString.
+ (ControllerIOS.prototype.UIString): Deleted. Use the parent class version.
+ * WebCore.xcodeproj/project.pbxproj: Remove file from Resources.
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::mediaControlsScript): No need to include the iOS
+ specific localization file.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+2014-04-21 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Change default font on newer versions of OS X.
</del><ins>+ [Win] Unreviewed build fix.
</ins><span class="cx">
</span><del>- * page/mac/SettingsMac.mm:
- (WebCore::Settings::initializeDefaultFontFamilies): Use 'Songti TC'
- on 10.9 and above.
</del><ins>+ * inspector/TimelineRecordFactory.cpp: Add missing include.
</ins><span class="cx">
</span><del>-2013-06-12 Dean Jackson <dino@apple.com>
</del><ins>+2014-04-21 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- [Mac] Change default Simplified Chinese serif font on 10.9
- https://bugs.webkit.org/show_bug.cgi?id=117567
</del><ins>+ Move cross-port Source/WebCore/page/ code to std::unique_ptr
+ https://bugs.webkit.org/show_bug.cgi?id=130534
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Change default font on newer versions of OS X.
</del><ins>+ Replace uses of OwnPtr and PassOwnPtr in cross-port code under Source/WebCore/page/ with
+ std::unique_ptr. Unnecessary OwnPtr.h and PassOwnPtr.h header inclusions are removed as well.
</ins><span class="cx">
</span><del>- * page/mac/SettingsMac.mm:
- (WebCore::Settings::initializeDefaultFontFamilies): Use 'Songti SC'
- instead of 'STSong' on newer systems.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::initSecurityContext):
+ * dom/SecurityContext.cpp:
+ (WebCore::SecurityContext::setContentSecurityPolicy):
+ * dom/SecurityContext.h:
+ * page/CaptionUserPreferences.h:
+ * page/ContentSecurityPolicy.cpp:
+ (WebCore::CSPDirectiveList::create):
+ (WebCore::CSPDirectiveList::checkEvalAndReportViolation):
+ (WebCore::CSPDirectiveList::checkInlineAndReportViolation):
+ (WebCore::CSPDirectiveList::checkSourceAndReportViolation):
+ (WebCore::CSPDirectiveList::setCSPDirective):
+ (WebCore::ContentSecurityPolicy::didReceiveHeader):
+ * page/ContentSecurityPolicy.h:
+ * page/DOMSecurityPolicy.h:
+ * page/DOMWindow.cpp:
+ (WebCore::PostMessageTimer::fired):
+ (WebCore::DOMWindow::postMessageTimerFired):
+ * page/DOMWindow.h:
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::EventHandler):
+ * page/EventHandler.h:
+ * page/Frame.cpp:
+ (WebCore::Frame::Frame):
+ (WebCore::createRegExpForLabels):
+ (WebCore::Frame::searchForLabelsAboveCell):
+ (WebCore::Frame::searchForLabelsBeforeElement):
+ (WebCore::matchLabelsAgainstString):
+ (WebCore::Frame::setTiledBackingStoreEnabled):
+ * page/Frame.h:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::addEmbeddedObjectToUpdate):
+ (WebCore::FrameView::addSlowRepaintObject):
+ (WebCore::FrameView::addViewportConstrainedObject):
+ (WebCore::FrameView::addScrollableArea):
+ * page/FrameView.h:
+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ * page/Page.h:
+ * page/PageConsole.h:
+ * page/PageThrottler.h:
+ * page/SecurityPolicy.cpp:
+ (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
+ * page/animation/AnimationController.h:
+ * page/animation/CSSPropertyAnimation.cpp:
+ (WebCore::PropertyWrapperVisitedAffectedColor::PropertyWrapperVisitedAffectedColor):
+ (WebCore::CSSPropertyAnimationWrapperMap::instance):
+ (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
+ * page/mac/PageMac.cpp:
+ (WebCore::Page::addSchedulePair):
+ * workers/WorkerGlobalScope.cpp:
+ (WebCore::WorkerGlobalScope::applyContentSecurityPolicyFromString):
</ins><span class="cx">
</span><del>-2013-06-12 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</del><ins>+2014-04-21 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Fix crashes due to failed ImageBuffer allocation
- https://bugs.webkit.org/show_bug.cgi?id=117541
</del><ins>+ Add HashSet::takeAny
+ https://bugs.webkit.org/show_bug.cgi?id=131928
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- From Blink r152268 by <pdr@chromium.org>
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::takeAnyMediaCanStartListener): Use HashSet::takeAny.
+ * dom/ScriptExecutionContext.cpp:
+ (WebCore::takeAny): Deleted.
+ (WebCore::ScriptExecutionContext::~ScriptExecutionContext): Use HashSet::takeAny.
</ins><span class="cx">
</span><del>- A crash can happen due to a failed ImageBuffer allocation in
- SVGImage::drawPatternForContainer(). Added a check for that failed allocation.
</del><ins>+2014-04-21 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- * svg/graphics/SVGImage.cpp:
- (WebCore::SVGImage::drawPatternForContainer):
</del><ins>+ iOS and non-iOS RemoteCommandListener::create() functions should use std::make_unique<>()
+ https://bugs.webkit.org/show_bug.cgi?id=131916
</ins><span class="cx">
</span><del>-2013-06-12 Eduardo Lima Mitev <elima@igalia.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- [atk] Replace deprecated call to atk_document_get_locale() in DumpRenderTree
- https://bugs.webkit.org/show_bug.cgi?id=115647
</del><ins>+ A follow-up to r167197. Make RemoteCommandListener ctor public and use std::make_unique<>()
+ in both versions of RemoteCommandListener::create() functions (iOS and non-iOS).
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ * platform/RemoteCommandListener.cpp:
+ (WebCore::RemoteCommandListener::create):
+ * platform/RemoteCommandListener.h:
+ (WebCore::RemoteCommandListener::RemoteCommandListener):
+ * platform/ios/RemoteCommandListenerIOS.mm:
+ (WebCore::RemoteCommandListener::create):
</ins><span class="cx">
</span><del>- Override the get_object_locale() method of WebkitAccessibleWrapperAtk's internal
- AtkObject, to include custom implementations for AtkDocument and AtkText objects,
- taking the logic as-is from AtkDocument::get_document_locale() and DumpRenderTree's
- AccessibilityUIElementAtk::language(), respectively.
</del><ins>+2014-04-21 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Apart from improving encapsulation, this avoids calling deprecated get_document_locale()
- method.
</del><ins>+ Micro-optimize the way we hand NodeLists to JSC.
+ <https://webkit.org/b/131932>
</ins><span class="cx">
</span><del>- No new functionality, no new tests.
</del><ins>+ Use HashMap::fastAdd() when returning cached node lists and collections.
+ 10.9% progression on Bindings/get-elements-by-tag-name.html
</ins><span class="cx">
</span><del>- * accessibility/atk/WebKitAccessibleInterfaceDocument.cpp:
- (webkitAccessibleDocumentInterfaceInit): Chains implementation of
- AtkDocument::get_document_locale() to AtkObject::get_object_locale().
- * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
- (webkitAccessibleGetObjectLocale): Add implementation of locale resolution for
- objects of type AtkDocument and AtkText.
- (webkitAccessibleClassInit): Override AtkObject::get_object_locale() method.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>-2013-06-12 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::addCacheWithAtomicName):
+ (WebCore::NodeListsNodeData::addCacheWithName):
+ (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
+ (WebCore::NodeListsNodeData::addCachedCollection):
</ins><span class="cx">
</span><del>- [GTK] Move more build targets for source code that's free of layer violations into libPlatform
- https://bugs.webkit.org/show_bug.cgi?id=115936
</del><ins>+2014-04-21 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Unreviewed, rolling out r167584.
+ https://bugs.webkit.org/show_bug.cgi?id=131929
</ins><span class="cx">
</span><del>- No new tests - no new functionality.
</del><ins>+ Broke Objective-C bindings test (Requested by ap on #webkit).
</ins><span class="cx">
</span><del>- * GNUmakefile.list.am: Move more build targets under the platform_sources and platformgtk_sources listing.
- These build targets represent source files that are already free of platform layer violations and are as such
- ready to be pushed down from the WebCore layer into the Platform layer.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>-2013-06-12 Ruth Fong <ruth_fong@apple.com>
</del><ins>+ "Add Element.matches, the standard name for
+ webkitMatchesSelector"
+ https://bugs.webkit.org/show_bug.cgi?id=131922
+ http://trac.webkit.org/changeset/167584
</ins><span class="cx">
</span><del>- "Open Video in New Window" doesn't make sense in fullscreen
- https://bugs.webkit.org/show_bug.cgi?id=117556
</del><ins>+2014-04-20 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ Compile the :root pseudo class and fix a related issue with :nth-child()
+ https://bugs.webkit.org/show_bug.cgi?id=131926
</ins><span class="cx">
</span><del>- No new tests needed.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Added WebKit2 hook for mediaIsInFullscreen() method.
</del><ins>+ Add the :root pseudo class. This is another trivial selector, we just need to compare
+ the element pointer with the documentElement.
</ins><span class="cx">
</span><del>-2013-06-12 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ I discovered some issues with :nth-child(n) through the layout tests for ":root".
+ When the pseudo class nth-child could match anything, no code was generated. That decision
+ was taken when generating the fragments.
</ins><span class="cx">
</span><del>- Accessibility code assumes an area element's parent is a map element
- https://bugs.webkit.org/show_bug.cgi?id=117496
</del><ins>+ The specification of :nth-child() has two tests: the parent test and the counter test.
+ Since some fragments would not generate any code for :nth-child(n), they would succeed on the root,
+ which is incorrect since the root should fail the parent test.
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+ This was fixed by moving the filtering of non-counting :nth-child() after we generate the parent
+ check.
+ We still don't generate any counter test unless required.
</ins><span class="cx">
</span><del>- We can't make such an assumption. Scripts can insert any element between area and map elements.
</del><ins>+ Test: fast/selectors/nth-child-on-root.html
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/b6f486284f08c52904701c93e1ec0b7d6e76af9f.
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::addPseudoClassType):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatching):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsNthChild):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsRoot):
+ * dom/Document.h:
+ (WebCore::Document::documentElementMemoryOffset):
</ins><span class="cx">
</span><del>- Test: accessibility/image-map-with-indirect-area-crash.html
</del><ins>+2014-04-20 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::accessibilityImageMapHitTest):
</del><ins>+ Add Element.matches, the standard name for webkitMatchesSelector
+ https://bugs.webkit.org/show_bug.cgi?id=131922
</ins><span class="cx">
</span><del>-2013-06-12 Robert Hogan <robert@webkit.org>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Whitespace between inlines with nowrap and a shrink-to-fit parent gets a line-break when it shouldn't
- https://bugs.webkit.org/show_bug.cgi?id=117370
</del><ins>+ This patch just renames webkitMatchesSelector() to matches().
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * bindings/scripts/CodeGeneratorObjC.pm:
+ (GenerateImplementation):
+ The Objective-C binding generator only supported ImplementedAs for getters and setters.
+ This adds support for the option so that Element.matches can be generated for Obj-C.
</ins><span class="cx">
</span><del>- Test: fast/text/whitespace/inline-whitespace-wrapping-8.html
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::matches):
+ (WebCore::Element::webkitMatchesSelector): Deleted.
+ * dom/Element.h:
+ * dom/Element.idl:
+ * inspector/InspectorCSSAgent.cpp:
+ (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
</ins><span class="cx">
</span><del>- A no-wrap inline shouldn't include trailing space when deciding whether it fits on a line.
- Likewise when we finish iterating through the objects on a line we should clear our linebreak
- if the only thing that prevents us fitting on the line is our collapsed trailing whitespace.
-
- Removing the trailing space from this measurement means we need to watch out for potential
- breaks between no-wrap inlines, in particular if we leave a no-wrap inline ignoring spaces
- and enter an autowrap inline then we need to mark the beginning of the autowrap inline
- as a potential linebreak. The test fast/text/whitespace/inline-whitespace-wrapping-5.html
- is an example of such a case.
</del><ins>+2014-04-20 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::LineWidth::LineWidth):
- (WebCore::LineWidth::fitsOnLine):
- (WebCore::LineWidth::fitsOnLineExcludingTrailingWhitespace):
- (WebCore::LineWidth::fitsOnLineExcludingTrailingCollapsedWhitespace):
- (WebCore::LineWidth::setTrailingWhitespaceWidth):
- (WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
</del><ins>+ Subpixel rendering: RenderLayer's size is set using enclosingRect() which can result in cruft.
+ https://bugs.webkit.org/show_bug.cgi?id=131468
</ins><span class="cx">
</span><del>-2013-06-12 Bem Jones-Bey <bjonesbe@adobe.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- [CSS Shapes] rectangle and inset-rectangle do not properly handle rx and ry
- https://bugs.webkit.org/show_bug.cgi?id=116745
</del><ins>+ Layers marked opaque may not paint edge pixels, when RenderLayer bounds are non-integral and
+ get device pixel snapped.
+ For details see this: https://trac.webkit.org/r159463
</ins><span class="cx">
</span><del>- Reviewed by Dirk Schulze.
</del><ins>+ Test: compositing/hidpi-non-simple-compositing-layer-with-fractional-size-and-background.html
</ins><span class="cx">
</span><del>- If ry is not supplied, it now defaults to the rx value. Also, if rx
- and ry are not supplied, they default to 0px. This also has the effect
- that the computed style for any rectangle or inset-rectangle now
- contains all six parameters.
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
</ins><span class="cx">
</span><del>- If rx > width/2 then it is clamped to width/2, and if ry > height/2,
- then it is clamped to height/2. This happens at layout time because
- given mixed units and relative units, that is the only time this
- determination can be made.
</del><ins>+2014-04-19 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Tests: fast/exclusions/shape-inside/shape-inside-rounded-rectangle-large-radius.html
- fast/exclusions/shape-outside-floats/shape-outside-floats-rounded-rectangle-large-radius.html
</del><ins>+ Simple layout can get confused by coordinate overflow
+ https://bugs.webkit.org/show_bug.cgi?id=131890
+ rdar://problem/15558510
</ins><span class="cx">
</span><del>- * css/BasicShapeFunctions.cpp:
- (WebCore::valueForBasicShape): Remove checks for undefined, since rx
- and ry cannot be undefined in BasicShapes anymore.
- (WebCore::basicShapeForValue): If radii are undefined in CSS, set
- default values in the BasicShape, per the spec.
- * rendering/ExclusionShape.cpp:
- (WebCore::ensureRadiiDoNotOverlap): Utility method to ensure radii
- don't overlap.
- (WebCore::ExclusionShape::createExclusionShape): Remove defaulting to
- zero, clamp radii per the spec.
- * rendering/style/BasicShapes.cpp:
- (WebCore::BasicShapeRectangle::path): Remove defaulting.
- (WebCore::BasicShapeRectangle::blend): Ditto.
- (WebCore::BasicShapeInsetRectangle::path): Ditto.
- (WebCore::BasicShapeInsetRectangle::blend): Ditto.
- * rendering/style/BasicShapes.h:
- (WebCore::BasicShapeRectangle::BasicShapeRectangle): Remove defaulting
- to undefined for radii.
- (WebCore::BasicShapeRectangle::setCornerRadiusX): Add assert to
- prevent undefined.
- (WebCore::BasicShapeRectangle::setCornerRadiusY): Add assert to
- prevent undefined.
- (WebCore::BasicShapeInsetRectangle::BasicShapeInsetRectangle): Ditto.
- (WebCore::BasicShapeInsetRectangle::setCornerRadiusX): Add assert to
- prevent undefined.
- (WebCore::BasicShapeInsetRectangle::setCornerRadiusY): Add assert to
- prevent undefined.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-06-11 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Test: fast/css/simple-layout-overflow.html
</ins><span class="cx">
</span><del>- [Windows] Support Title UI Element Accessibility Attribute
- https://bugs.webkit.org/show_bug.cgi?id=117530
</del><ins>+ * rendering/SimpleLineLayoutResolver.h:
+ (WebCore::SimpleLineLayout::RunResolver::rangeForRect):
+ If lastLine is smaller than firstLine, just ignore it.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-04-20 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Fixes: accessibility/list-item-role.html
- accessibility/hidden-legend.html
</del><ins>+ ScriptExecutionContext::stopActiveDOMObjects iterates a hash map that can change during iteration (for multiple reasons, including GC)
+ https://bugs.webkit.org/show_bug.cgi?id=52719
</ins><span class="cx">
</span><del>- * accessibility/win/AccessibilityObjectWrapperWin.cpp:
- (WebCore::AccessibilityObjectWrapper::accessibilityAttributeValue): Extend to support access
- for the Title UI Element object.
- * accessibility/win/AccessibilityObjectWrapperWin.h: Revise interface to use Variant output,
- which is more in keeping with the Mac's 'id' method signature.
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>-2013-06-12 Ralph Thomas <ralpht@gmail.com>
</del><ins>+ At least two specific ways this can happen:
</ins><span class="cx">
</span><del>- [CSS Shaders] Animations and transitions should use validated custom programs
- https://bugs.webkit.org/show_bug.cgi?id=117550
</del><ins>+ 1) XMLHttpRequest::stop can trigger a JavaScript garbage collection.
+ 2) NotificationCenter::stop can delete the last references to notifications;
+ those notifications are also active DOM objects.
</ins><span class="cx">
</span><del>- Run filters used for animations and transitions through RenderLayer::computeFilterOperations
- in order to validate custom filter operations.
</del><ins>+ Besides fixing the iteration in that function, did some other fixes for the
+ ScriptExecutionContext class, including some coding style changes. Many uses
+ of nullptr instead of 0, without listing each function separately below.
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ * Modules/webdatabase/DatabaseContext.cpp:
+ (WebCore::DatabaseContext::contextDestroyed): Call through to the base class
+ version of contextDestroyed rather than repeating what it does (with a large
+ comment that doesn't acknowledge the base class alread does it).
+ * Modules/webdatabase/DatabaseContext.h: Removed some unneeded includes.
+ Wrote out "private" explicitly for deriving from ActiveDOMObject. Made the
+ ActiveDOMObject function overrides private, and marked them override and final.
</ins><span class="cx">
</span><del>- No new tests as no platform can run custom filters with accelerated animations yet.
</del><ins>+ * dom/ActiveDOMObject.h: Updated comments. Replaced suspendIfNeededCalled with
+ assertSuspendIfNeededWasCalled, which has an empty inline version in the header.
+ Renamed m_suspendIfNeededCalled to m_suspendIfNeededWasCalled.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::startAnimation):
- (WebCore::RenderLayerBacking::startTransition):
</del><ins>+ * dom/ActiveDOMObject.cpp:
+ (WebCore::ActiveDOMObject::ActiveDOMObject): Pass a reference instead of a pointer.
+ (WebCore::ActiveDOMObject::~ActiveDOMObject): Ditto.
+ (WebCore::ActiveDOMObject::suspendIfNeeded): Ditto.
</ins><span class="cx">
</span><del>-2013-06-12 Ruth Fong <ruth_fong@apple.com>
</del><ins>+ * dom/ContextDestructionObserver.cpp:
+ (WebCore::ContextDestructionObserver::observeContext): Pass a reference instead of a pointer.
</ins><span class="cx">
</span><del>- Allow for toggling fullscreen on <video> elements
- https://bugs.webkit.org/show_bug.cgi?id=117220
</del><ins>+ * dom/MessagePort.cpp:
+ (WebCore::MessagePort::MessagePort): Pass a reference instead of a pointer.
+ (WebCore::MessagePort::~MessagePort): Ditto.
+ (WebCore::MessagePort::disentangle): Ditto.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ * dom/ScriptExecutionContext.cpp:
+ (WebCore::ScriptExecutionContext::ScriptExecutionContext): Updated flags used
+ for assertions so they are conditional and updated their names.
+ (WebCore::takeAny): Added. Helper function that we can consider for HashSet in
+ the future; makes loop below easier to read.
+ (WebCore::checkConsistency): Added. Assertions that were done multiple places below,
+ and should not be written over and over again.
+ (WebCore::ScriptExecutionContext::~ScriptExecutionContext): Changed to use C++11
+ for loops and the takeAny function above.
+ (WebCore::ScriptExecutionContext::dispatchMessagePortEvents): Ditto.
+ (WebCore::ScriptExecutionContext::createdMessagePort): Changed to take a reference
+ for clarity and so it doesn't have to do an assert the pointer is non-null.
+ (WebCore::ScriptExecutionContext::destroyedMessagePort): Ditto.
+ (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects): Changed to use
+ C++11 for loop and reworded comment and redid assertions.
+ (WebCore::ScriptExecutionContext::suspendActiveDOMObjects): Ditto.
+ (WebCore::ScriptExecutionContext::resumeActiveDOMObjects): Ditto.
+ (WebCore::ScriptExecutionContext::stopActiveDOMObjects): Changed to support
+ removal of an active DOM object during the stop function. Included new comments
+ to clarify what the rules are.
+ (WebCore::ScriptExecutionContext::suspendActiveDOMObjectIfNeeded): Changed to take
+ a reference for clarity and so it doesn't have to assert a pointer is non-null.
+ (WebCore::ScriptExecutionContext::didCreateActiveDOMObject): Ditto. Also changed to
+ use RELEASE_ASSERT instead of CRASH.
+ (WebCore::ScriptExecutionContext::willDestroyActiveDOMObject): Ditto.
+ (WebCore::ScriptExecutionContext::didCreateDestructionObserver): Ditto.
+ (WebCore::ScriptExecutionContext::willDestroyDestructionObserver): Ditto.
+ (WebCore::ScriptExecutionContext::closeMessagePorts): Moved the body of this
+ function into its one call site, ScriptExecutionContext::stopActiveDOMObjects,
+ since it's simple enough when written as a C++11 for loop.
+ (WebCore::ScriptExecutionContext::hasPendingActivity): Added. This function was
+ already exported for workers, and implementing it outside this class required
+ exposing the private HashSet members; more sensible to implement it here and
+ simply make it public in WorkerGlobalScope.
</ins><span class="cx">
</span><del>- This patch adds the ability for fullscreen
- context menu item on <video> elements to switch between "Enter Fullscreen"
- and "Exit Fullscreen" and behave appropriately.
</del><ins>+ * dom/ScriptExecutionContext.h: Removed unnecessary includes and forward declarations.
+ Removed a long-ago-fixed FIXME. Changed various functions to take references instead of
+ pointers. Added a protected hasPendingActivity function, deleted the closeMessagePorts
+ function, deleted the ActiveDOMObjectsSet typedef, made the assertion flags be
+ !ASSERT_DISABLED only, and deleted the messagePorts and activeDOMObjects functions.
</ins><span class="cx">
</span><del>- No new tests. media/context-menu-action.html,
- which has been disabled by bug 116651, is used to test context menus.
</del><ins>+ * workers/WorkerGlobalScope.cpp:
+ (WebCore::WorkerGlobalScope::hasPendingActivity): Deleted. This is now implemented
+ in the base class.
</ins><span class="cx">
</span><del>- * English.lproj/Localizable.strings: Add "Exit Fullscreen" string.
</del><ins>+ * workers/WorkerGlobalScope.h: Make hasPendingActivity function from the base class
+ public instead of declaring it in this class.
+
+2014-04-20 Brent Fulgham <bfulgham@apple.com>
+
+ [Mac] Unable to select 'Off' or 'Auto' from track menu when tracks consist of unsupported track types
+ https://bugs.webkit.org/show_bug.cgi?id=131908
+ <rdar://problem/15999882>
+
+ Reviewed by Eric Carlson.
+
</ins><span class="cx"> * html/HTMLMediaElement.cpp:
</span><del>- (WebCore::HTMLMediaElement::toggleFullscreenState): Added to appropriately enter/exit fullscreen.
- * html/HTMLMediaElement.h:
- * page/ContextMenuController.cpp:
- * platform/ContextMenuItem.h:
- * platform/LocalizedStrings.cpp:
- * platform/LocalizedStrings.h:
- Updated to rename variables more appropriately to reflect the toggle-ability of video fullscreen.
- * rendering/HitTestResult.cpp:
- (WebCore::HitTestResult::mediaIsInFullscreen): Added to check if an element
- was a media element in fullscreen.
- (WebCore::HitTestResult::toggleMediaFullscreenState): Added to hook into
- HTMLMediaElement::toggleFullscreenState.
- * rendering/HitTestResult.h:
</del><ins>+ (WebCore::HTMLMediaElement::setSelectedTextTrack): When the user selects 'Off', make sure the currently 'showing'
+ track is switched to 'disabled'.
</ins><span class="cx">
</span><del>-2013-06-12 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+2014-04-20 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Skipping {}, () and [] blocks while error recovering in CSS
- https://bugs.webkit.org/show_bug.cgi?id=116071
</del><ins>+ Speed up jsStringWithCache() through WeakGCMap inlining.
+ <https://webkit.org/b/131923>
</ins><span class="cx">
</span><ins>+ Inline the common path of WeakGCMap::add() in jsStringWithCache().
+ 26% progression on Bindings/id-getter.html
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- From Blink r150201 and r150755 by <serya@chromium.org>
</del><ins>+ * WebCore.exp.in:
+ * bindings/js/JSDOMBinding.h:
+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::jsStringWithCache):
</ins><span class="cx">
</span><del>- Test: fast/css/parsing-expr-error-recovery.html
</del><ins>+ Move jsStringWithCache() out of line since we're now blowing up
+ its size quite a bit.
</ins><span class="cx">
</span><del>- The CSS parser should properly recover from invalid {}, () and []
- blocks skipping them instead of discarding the whole declaration
- as invalid. This merge is actually made of two different changes
- from Blink, the original one that fixes the bug and another one
- which refactors a bit the code making it more legible.
</del><ins>+2014-04-20 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><ins>+ Fix the build after r167574
+
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatching):
+
+2014-04-20 Benjamin Poulain <benjamin@webkit.org>
+
+ Compile the pseudo class :target
+ https://bugs.webkit.org/show_bug.cgi?id=131904
+
+ Reviewed by Andreas Kling.
+
+ The pseudo class :target is trivial, it just compare the current element with
+ Document::cssTarget().
+
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::addPseudoType):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatching):
+ (WebCore::SelectorCompiler::getDocument):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementAttributeValueExactMatching):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsTarget):
+ * dom/Document.h:
+ (WebCore::Document::cssTargetMemoryOffset):
+
+2014-04-20 Benjamin Poulain <benjamin@webkit.org>
+
+ Rename the CSSSelector PseudoType to PseudoClassType
+ https://bugs.webkit.org/show_bug.cgi?id=131907
+
+ Reviewed by Andreas Kling.
+
+ Pseudo Elements and Page Pseudo Classes have been moved out of PseudoType in previous patches.
+ The remaining values in the PseudoType enumeration are the pseudo classes.
+
+ This patch is the final clean up, PseudoType is renamed to PseudoClassType.
+
</ins><span class="cx"> * css/CSSGrammar.y.in:
</span><ins>+ * css/CSSParserValues.cpp:
+ (WebCore::CSSParserSelector::parsePseudoClassAndCompatibilityElementSelector):
+ * css/CSSParserValues.h:
+ (WebCore::CSSParserSelector::pseudoClassType):
+ (WebCore::CSSParserSelector::pseudoType): Deleted.
+ * css/CSSSelector.cpp:
+ (WebCore::CSSSelector::specificityForOneSelector):
+ (WebCore::appendPseudoClassFunctionTail):
+ (WebCore::CSSSelector::selectorText):
+ * css/CSSSelector.h:
+ (WebCore::CSSSelector::pseudoClassType):
+ (WebCore::CSSSelector::pseudoElementType):
+ (WebCore::CSSSelector::pagePseudoClassType):
+ (WebCore::pseudoClassIsRelativeToSiblings):
+ (WebCore::CSSSelector::isSiblingSelector):
+ (WebCore::CSSSelector::CSSSelector):
+ (WebCore::CSSSelector::pseudoType): Deleted.
+ * css/RuleSet.cpp:
+ (WebCore::RuleSet::findBestRuleSetAndAdd):
+ * css/SelectorChecker.cpp:
+ (WebCore::SelectorChecker::checkOne):
+ (WebCore::SelectorChecker::checkScrollbarPseudoClass):
+ (WebCore::SelectorChecker::determineLinkMatchType):
+ (WebCore::SelectorChecker::matchesFocusPseudoClass):
+ * css/SelectorChecker.h:
+ (WebCore::SelectorChecker::isCommonPseudoClassSelector):
+ * css/SelectorCheckerFastPath.cpp:
+ (WebCore::SelectorCheckerFastPath::commonPseudoClassSelectorMatches):
+ * css/SelectorPseudoClassAndCompatibilityElementMap.in:
+ * css/SelectorPseudoTypeMap.h:
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::styleForElement):
+ * css/makeSelectorPseudoClassAndCompatibilityElementMap.py:
+ (enumerablePseudoType):
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::addPseudoClassType):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::SelectorCodeGenerator):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatching):
+ (WebCore::SelectorCompiler::addPseudoType): Deleted.
+ * inspector/InspectorCSSAgent.cpp:
+ (WebCore::computePseudoClassMask):
+ (WebCore::InspectorCSSAgent::forcePseudoState):
+ * inspector/InspectorCSSAgent.h:
+ * inspector/InspectorInstrumentation.cpp:
+ (WebCore::InspectorInstrumentation::forcePseudoStateImpl):
+ * inspector/InspectorInstrumentation.h:
+ (WebCore::InspectorInstrumentation::forcePseudoState):
</ins><span class="cx">
</span><del>-2013-06-12 Alberto Garcia <agarcia@igalia.com>
</del><ins>+2014-04-19 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- [BlackBerry] Remove dead WebDOM code
- https://bugs.webkit.org/show_bug.cgi?id=113370
</del><ins>+ Crashes in HTMLFormElement::submit.
+ https://bugs.webkit.org/show_bug.cgi?id=131910
+ <rdar://problem/15661790>
</ins><span class="cx">
</span><ins>+ Based on a patch by Kent Tamura.
+
</ins><span class="cx"> Reviewed by Anders Carlsson.
</span><span class="cx">
</span><del>- BlackBerry PR 347565
- Internally reviewed by Charles Wei.
</del><ins>+ Tests: fast/forms/form-submission-crash-2.html
+ fast/forms/form-submission-crash.html
</ins><span class="cx">
</span><del>- * PlatformBlackBerry.cmake:
</del><ins>+ Code that executes arbitrary JS needs to protect objects that it uses afterwards.
</ins><span class="cx">
</span><del>-2013-06-12 Daniel Bates <dabates@apple.com>
</del><ins>+ * html/HTMLFormElement.cpp:
+ (WebCore::HTMLFormElement::prepareForSubmission):
+ (WebCore::HTMLFormElement::submit):
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::submitForm):
</ins><span class="cx">
</span><del>- window.find() case-insensitive search doesn't match diacritical marks
- https://bugs.webkit.org/show_bug.cgi?id=117353
- <rdar://problem/8535227>
</del><ins>+2014-04-20 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Text bounding box computation for simple line layout is wrong
+ https://bugs.webkit.org/show_bug.cgi?id=131912
</ins><span class="cx">
</span><del>- Currently, a case-insensitive window.find() search will return true for a word w
- (e.g. café) with diacritical characters when w appears on the page without
- diacritical marks (e.g. cafe). This leads to bad results, especially when
- searching for a non-English word (e.g. qué) where the presence of an accented
- character(s) may change the meaning of the word. Instead window.find() should
- return false when case-insensitively matching a word with diacritical marks to
- the same word without diacritical marks.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Test: fast/text/find-diacritical-mark.html
</del><ins>+ Top-left is currently the first line top-left which is not always correct.
</ins><span class="cx">
</span><del>- * editing/TextIterator.cpp:
- (WebCore::SearchBuffer::SearchBuffer):
</del><ins>+ * WebCore.exp.in:
+ * rendering/RenderText.cpp:
+ (WebCore::RenderText::firstRunLocation):
+ (WebCore::RenderText::firstRunOrigin): Deleted.
+ (WebCore::RenderText::firstRunX): Deleted.
+ (WebCore::RenderText::firstRunY): Deleted.
+
+ Keep just one accessor and rename it.
+ Encapsulate the line box and simple line versions.
</ins><span class="cx">
</span><del>-2013-06-12 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ * rendering/RenderText.h:
+ * rendering/RenderTextLineBoxes.cpp:
+ (WebCore::RenderTextLineBoxes::firstRunLocation):
</ins><span class="cx">
</span><del>- Support latest Web IDL indexed property getters
- https://bugs.webkit.org/show_bug.cgi?id=117507
</del><ins>+ Line box version.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ * rendering/RenderTextLineBoxes.h:
+ * rendering/RenderTreeAsText.cpp:
+
+ Simplify RenderText dumping.
</ins><span class="cx">
</span><del>- Support latest Web IDL indexed property getters:
- http://www.w3.org/TR/WebIDL/#dfn-support-indexed-properties
</del><ins>+ (WebCore::RenderTreeAsText::writeRenderObject):
+ * rendering/SimpleLineLayoutFunctions.cpp:
+ (WebCore::SimpleLineLayout::computeTextBoundingBox):
+
+ Return the correct x position.
</ins><span class="cx">
</span><del>- Drop support for outdated [IndexedGetter] and [NumericIndexedGetter]
- IDL extended attributes. Since the new getter format specifies the
- return type, the bindings generator is now smart enough to know if
- the indexed getter is numeric or not on its own.
</del><ins>+ (WebCore::SimpleLineLayout::computeTextFirstRunLocation):
+
+ Simple line version.
</ins><span class="cx">
</span><del>- Based on Blink r149564 by <kojih@chromium.org>.
</del><ins>+ * rendering/SimpleLineLayoutFunctions.h:
+ * rendering/svg/SVGRenderTreeAsText.cpp:
+ (WebCore::writeSVGInlineText):
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+2014-04-19 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * Modules/filesystem/EntryArray.idl:
- * Modules/filesystem/EntryArraySync.idl:
- * Modules/gamepad/GamepadList.idl:
- * Modules/mediasource/SourceBufferList.idl:
- * Modules/speech/SpeechGrammarList.idl:
- * Modules/speech/SpeechRecognitionResult.idl:
- * Modules/speech/SpeechRecognitionResultList.idl:
- * bindings/scripts/CodeGenerator.pm:
- (IsNumericType):
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateGetOwnPropertySlotBody):
- (GenerateGetOwnPropertyDescriptorBody):
- (GetIndexedGetterFunction):
- (GenerateHeader):
- (GenerateImplementation):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/test/TestEventTarget.idl:
- * bindings/scripts/test/TestTypedArray.idl:
- * css/CSSRuleList.idl:
- * css/CSSStyleDeclaration.idl:
- * css/CSSValueList.idl:
- * css/MediaList.idl:
- * css/StyleSheetList.idl:
- * css/WebKitCSSFilterValue.idl:
- * css/WebKitCSSKeyframesRule.idl:
- * css/WebKitCSSTransformValue.idl:
- * dom/ClientRectList.idl:
- * dom/DOMNamedFlowCollection.idl:
- * dom/DOMStringList.idl:
- * dom/DataTransferItemList.idl:
- * dom/NamedNodeMap.idl:
- * dom/NodeList.idl:
- * dom/PropertyNodeList.idl:
- * dom/TouchList.idl:
- * fileapi/FileList.idl:
- * html/DOMSettableTokenList.idl:
- * html/DOMTokenList.idl:
- * html/HTMLAllCollection.idl:
- * html/HTMLCollection.idl:
- * html/HTMLFormControlsCollection.idl:
- * html/HTMLFormElement.idl:
- * html/HTMLPropertiesCollection.idl:
- * html/HTMLSelectElement.idl:
- * html/RadioNodeList.idl:
- * html/canvas/Float32Array.idl:
- * html/canvas/Float64Array.idl:
- * html/canvas/Int16Array.idl:
- * html/canvas/Int32Array.idl:
- * html/canvas/Int8Array.idl:
- * html/canvas/Uint16Array.idl:
- * html/canvas/Uint32Array.idl:
- * html/canvas/Uint8Array.idl:
- * html/canvas/Uint8ClampedArray.idl:
- * html/track/AudioTrackList.idl:
- * html/track/TextTrackCueList.idl:
- * html/track/TextTrackList.idl:
- * html/track/TextTrackRegionList.idl:
- * html/track/VideoTrackList.idl:
- * page/PerformanceEntryList.idl:
- * page/SpeechInputResultList.idl:
- * plugins/DOMMimeTypeArray.idl:
- * plugins/DOMPlugin.idl:
- * plugins/DOMPluginArray.idl:
</del><ins>+ Subpixel rendering: RenderLayer's clipping should snap to device pixel boundaries.
+ https://bugs.webkit.org/show_bug.cgi?id=131466
</ins><span class="cx">
</span><del>-2013-06-12 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Rename [CallWith] to [ConstructorCallWith] for IDL interfaces
- https://bugs.webkit.org/show_bug.cgi?id=117531
</del><ins>+ Fractional pixel clipping can produce cruft on RenderLayers. Since RenderLayer
+ sizing and painting are snapped, painting clip rect needs to be snapped the same way.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Test: fast/clip/clip-when-rect-has-fractional-pixel-value.html
</ins><span class="cx">
</span><del>- Rename [CallWith] to [ConstructorCallWith] for IDL interfaces as the
- meaning is slightly different when [CallWith] is used for IDL operations
- or attributes. This improves IDL readability a bit and makes it more
- directly understandable.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::clipToRect):
</ins><span class="cx">
</span><del>- Also removed [ConstructorCallWith] statements from interfaces with custom
- constructors or no constructor, as this does not have any effect.
</del><ins>+2014-04-19 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Latched scrolling may interact badly with custom programmatic scrolling
+ https://bugs.webkit.org/show_bug.cgi?id=131869
+ <rdar://problem/16249557>
</ins><span class="cx">
</span><del>- * Modules/filesystem/FileWriter.idl:
- * Modules/mediasource/MediaSource.idl:
- * Modules/mediasource/SourceBufferList.idl:
- * Modules/mediastream/MediaStream.idl:
- * Modules/mediastream/RTCPeerConnection.idl:
- * Modules/notifications/Notification.idl:
- * Modules/speech/SpeechRecognition.idl:
- * Modules/speech/SpeechSynthesisUtterance.idl:
- * Modules/webaudio/OfflineAudioContext.idl:
- * Modules/websockets/WebSocket.idl:
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateConstructorDefinition):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/test/TestInterface.idl:
- * dom/MessageChannel.idl:
- * fileapi/FileReader.idl:
- * html/MediaController.idl:
- * html/track/TextTrackCue.idl:
- * page/EventSource.idl:
- * workers/SharedWorker.idl:
- * workers/Worker.idl:
- * xml/XMLHttpRequest.idl:
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-06-12 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::setScrollLeft): Mark scrollable area as having
+ been scrolled programmatically.
+ (WebCore::Element::setScrollTop): Ditto.
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::handleWheelEvent): Check for programmatic scroll, and
+ clear latched state if the handler manually scrolled. Clear programmatic
+ scroll state at the end of event handling.
+ (WebCore::EventHandler::clearLatchedState): Refactored code.
+ * page/EventHandler.h:
+ * page/mac/EventHandlerMac.mm:
+ (WebCore::EventHandler::platformPrepareForWheelEvents): Check
+ if scrollable area was scrolled programmatically. If it was, do
+ not honor latching behavior.
+ * platform/ScrollableArea.cpp:
+ (WebCore::ScrollableArea::ScrollableArea): Initialize new member.
+ * platform/ScrollableArea.h:
+ (WebCore::ScrollableArea::isScrolledProgrammatically): Added.
+ (WebCore::ScrollableArea::setScrolledProgrammatically): Added.
</ins><span class="cx">
</span><del>- [Qt] Set windows key-code for multimedia keys
- https://bugs.webkit.org/show_bug.cgi?id=117535
</del><ins>+2014-04-19 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Jocelyn Turcotte.
</del><ins>+ AX: grid rows are not recognized do to lack of explicit role="row", role="gridcell"
+ https://bugs.webkit.org/show_bug.cgi?id=131819
</ins><span class="cx">
</span><del>- Map Qt Key-events to their defined windows keycode values.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * platform/qt/PlatformKeyboardEventQt.cpp:
- (WebCore::windowsKeyCodeForKeyEvent):
</del><ins>+ Test: accessibility/table-with-missing-aria-role-rows.html
</ins><span class="cx">
</span><del>-2013-06-12 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+ If a table is using role="grid", and it has <tr> elements that do not have
+ role="row", we should still treat them as row elements.
</ins><span class="cx">
</span><del>- [Soup] Use ResourceLoadPriority
- https://bugs.webkit.org/show_bug.cgi?id=112902
</del><ins>+ * accessibility/AccessibilityARIAGrid.cpp:
+ (WebCore::AccessibilityARIAGrid::addTableCellChild):
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+2014-04-19 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Use the ResourceLoadPriority from the ResourceRequest to set the
- correnpondent priority to each SoupMessage.
</del><ins>+ AX: Malformed tables exposing incorrect col and colSpans
+ https://bugs.webkit.org/show_bug.cgi?id=131796
</ins><span class="cx">
</span><del>- No new tests required as there is no change in functionality,
- we're just enabling a new feature in the underlying network stack.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * platform/network/soup/ResourceHandleSoup.cpp:
- (WebCore::createSoupMessageForHandleAndRequest):
- * platform/network/soup/ResourceRequest.h:
- (WebCore):
- (WebCore::toSoupMessagePriority): Translates ResourceLoadPriority
- to SoupMessagePriority.
</del><ins>+ Test: accessibility/table-incorrect-colspan-cell.html
</ins><span class="cx">
</span><del>-2013-06-12 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ When a developer has specified malformed colspans, accessibility is reporting those values instead of the effective column information.
</ins><span class="cx">
</span><del>- Remove memoryInfoEnabled, quantizedMemoryInfoEnabled settings
- https://bugs.webkit.org/show_bug.cgi?id=117512
</del><ins>+ * accessibility/AccessibilityTableCell.cpp:
+ (WebCore::AccessibilityTableCell::columnIndexRange):
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-04-19 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- * page/Settings.in: Remove the memoryInfoEnabled and the quantizedMemoryInfoEnabled settings. These are not used
- anywhere anymore after r151199 which simplified and moved the MemoryInfo interface under window.internals.
</del><ins>+ Make the CSS JIT compile for ARM64
+ https://bugs.webkit.org/show_bug.cgi?id=131834
</ins><span class="cx">
</span><del>-2013-06-12 Diego Pino Garcia <dpino@igalia.com>
</del><ins>+ Reviewed by Gavin Barraclough.
</ins><span class="cx">
</span><del>- [GTK] Parameter 'pseudoElement' from function 'webkit_dom_dom_window_get_computed_style' should be allowed to be NULL
- https://bugs.webkit.org/show_bug.cgi?id=117332
</del><ins>+ Add the CPU specific code required to compile SelectorCompiler on ARM64.
+ The code is absolutely non-functional, it would crash immediately, but it compiles.
</ins><span class="cx">
</span><del>- Reviewed by Xan Lopez.
</del><ins>+ * cssjit/FunctionCall.h:
+ (WebCore::FunctionCall::FunctionCall):
+ (WebCore::FunctionCall::callAndBranchOnCondition):
+ * cssjit/RegisterAllocator.h:
+ What am I supposed to do with all those registers? There are so many of them :)
+ The array calleeSavedRegisters is defined for compatibility but it cannot be reached at the moment.
</ins><span class="cx">
</span><del>- Add parameter 'pseudoElement' to the list of parameters that are allowed to
- be NULL.
</del><ins>+ (WebCore::RegisterAllocator::isValidRegister):
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::modulo):
+ Implement modulo by doing dividend - (divisor * int(dividend/divisor)).
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorGObject.pm:
- (GetGReturnMacro):
</del><ins>+ * cssjit/StackAllocator.h:
+ StackAllocator will need a small redesign to handle the 16 bytes alligned stack of
+ ARM64.
+ The code has been modified to build but it is pretty useless.
</ins><span class="cx">
</span><del>-2013-06-12 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+ (WebCore::StackAllocator::allocateUninitialized):
+ (WebCore::StackAllocator::push):
+ (WebCore::StackAllocator::pop):
+ (WebCore::StackAllocator::popAndDiscard):
+ (WebCore::StackAllocator::popAndDiscardUpTo):
+ (WebCore::StackAllocator::alignStackPreFunctionCall):
+ (WebCore::StackAllocator::unalignStackPostFunctionCall):
</ins><span class="cx">
</span><del>- Add CSS parsing recovery to functions
- https://bugs.webkit.org/show_bug.cgi?id=117500
</del><ins>+2014-04-19 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ [UI-side compositing] Implement blend modes
+ https://bugs.webkit.org/show_bug.cgi?id=131891
+ <rdar://problem/16490085>
</ins><span class="cx">
</span><del>- From Blink r150205 by <serya@chromium.org>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Add parsing recovery capabilities to functions. Errors were
- correctly detected without this change but then the whole
- declaration was invalidated. By using expr_recovery to handle them
- we can recover from those errors and go on with the parsing.
</del><ins>+ Implement blend modes with UI-side compositing.
+
+ PlatformCALayer::setBlendMode() becomes pure virtual, and overridden in
+ PlatformCALayerMac and PlatformCALayerRemote.
+ PlatformCAFilters::setBlendingFiltersOnLayer() now takes a raw platform
+ layer, so it can be called from the UI process on a CALayer*.
+
+ Fix an issue with GraphicsLayerCA::LayerChange flags. 1 << 31 shifts
+ a signed integer, so it ended up setting all the high bits in m_uncommittedChanges,
+ causing us to push blend modes to the UI process for every layer. Fix by shifting
+ an unsigned long long (1LLU << 31). This should also fix a build warning on Windows.
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * platform/graphics/ca/PlatformCAFilters.h:
+ * platform/graphics/ca/PlatformCALayer.h:
+ * platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
+ (PlatformCAFilters::setBlendingFiltersOnLayer):
+ * platform/graphics/ca/mac/PlatformCALayerMac.h:
+ * platform/graphics/ca/mac/PlatformCALayerMac.mm:
+ (PlatformCALayerMac::setFilters):
+ (PlatformCALayerMac::setBlendMode):
+ (PlatformCALayer::setBlendMode): Deleted.
</ins><span class="cx">
</span><del>-2013-06-11 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-04-19 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r151378.
- http://trac.webkit.org/changeset/151378
- https://bugs.webkit.org/show_bug.cgi?id=117400
</del><ins>+ Fix AVPlayerController leak on pages with video
+ https://bugs.webkit.org/show_bug.cgi?id=131878
</ins><span class="cx">
</span><del>- Decreased IDL readability a bit.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * Modules/encryptedmedia/MediaKeys.idl:
- * Modules/mediastream/RTCIceCandidate.idl:
- * Modules/mediastream/RTCPeerConnection.idl:
- * Modules/mediastream/RTCSessionDescription.idl:
- * Modules/webaudio/OfflineAudioContext.idl:
- * Modules/websockets/WebSocket.idl:
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateConstructorDefinition):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/test/TestInterface.idl:
- * bindings/scripts/test/TestNamedConstructor.idl:
- * css/WebKitCSSMatrix.idl:
- * html/HTMLOptionElement.idl:
- * page/EventSource.idl:
- * workers/SharedWorker.idl:
- * workers/Worker.idl:
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVPlayerController init]):
+ Assigning to the retain property will increment the count,
+ so balance the alloc with an autorelease.
</ins><span class="cx">
</span><del>-2013-06-11 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-04-19 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Have to invalidate the mute button when changing the volume
- https://bugs.webkit.org/show_bug.cgi?id=117464
</del><ins>+ Slap ALWAYS_INLINE on Element attribute lookup things.
+ <https://webkit.org/b/131892>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Most of the "inline" helpers for setting/getting attributes were not
+ actually getting inlined by the compiler, so let's make that happen.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/c4c685c82908449526fd8c251cc551e729ebed08
- but without a test since the test doesn't work in WebKit.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- * html/shadow/MediaControls.cpp:
- (WebCore::MediaControls::changedVolume):
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::synchronizeAttribute):
+ * dom/ElementData.h:
+ (WebCore::ElementData::findAttributeByName):
+ (WebCore::ElementData::findAttributeIndexByName):
</ins><span class="cx">
</span><del>-2013-06-11 Max Vujovic <mvujovic@adobe.com>
</del><ins>+2014-04-19 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- [CSS Regions] Regions don't create a stacking context for their contents
- https://bugs.webkit.org/show_bug.cgi?id=114268
</del><ins>+ Telephone number detection should respect its setting consistently
+ https://bugs.webkit.org/show_bug.cgi?id=131893
+ rdar://problem/16597639
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Paint the region content (from RenderFlowThread) during the background phase instead of the
- foreground phase.
</del><ins>+ * editing/Editor.cpp:
+ (WebCore::Editor::respondToChangedSelection): Only start the timer
+ if shouldDetectTelephoneNumbers returns true.
+ (WebCore::Editor::shouldDetectTelephoneNumbers): Added. Calls both
+ isTelephoneNumberParsingEnabled and TelephoneNumberDetector::isSupported.
+ (WebCore::Editor::scanSelectionForTelephoneNumbers): Use
+ shouldDetectTelephoneNumbers.
+ (WebCore::Editor::clearDataDetectedTelephoneNumbers): Use document()
+ instead of m_frame.document().
</ins><span class="cx">
</span><del>- Let's assume there is a region and a sibling element. The sibling partially overlaps the
- region and appears after the region in DOM order.
</del><ins>+ * editing/Editor.h: Added declaration of shouldDetectTelephoneNumbers.
</ins><span class="cx">
</span><del>- Before this patch, we would paint in this order:
- 1) Region background
- 2) Sibling background
- 3) Region content
- 4) Sibling content
</del><ins>+2014-04-19 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- As a result, the sibling background would incorrectly paint between the region
- background and the region content. Instead, the sibling background should paint over the
- region background and the region content.
</del><ins>+ [CSS Regions] Harden the layout in case there are no regions
+ https://bugs.webkit.org/show_bug.cgi?id=131517
</ins><span class="cx">
</span><del>- After this patch, we paint in this order:
- 1) Region background
- 2) Region content
- 3) Sibling background
- 4) Sibling content
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>- Test: fast/regions/region-sibling-paint-order.html
</del><ins>+ The patch fixes the cases when the content of a flow thread is not
+ properly invalidated when all the regions of its chain are removed.
</ins><span class="cx">
</span><ins>+ Test: fast/regions/simplified-layout-no-regions.html
+
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::logicalWidthChangedInRegionsForBlock):
</ins><span class="cx"> * rendering/RenderRegion.cpp:
</span><del>- (WebCore::RenderRegion::paintObject):
</del><ins>+ (WebCore::RenderRegion::ensureOverflowForBox):
</ins><span class="cx">
</span><del>-2013-06-11 Jer Noble <jer.noble@apple.com>
</del><ins>+2014-04-19 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- REGRESSION: (r149232) videos on disney.com are initially scrambled on load
- https://bugs.webkit.org/show_bug.cgi?id=117517
</del><ins>+ https://bugs.webkit.org/show_bug.cgi?id=131594
+ Subpixel rendering: WK1: Wrong repaint rect is calculated when layer has non-compositing transform.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Set a background color on the AVPlayerLayer to avoid corruption when no
- frames are available to display.
</del><ins>+ We need to snap the repaint rect for transformed object the same way when we paint them.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoLayer):
</del><ins>+ Test: fast/repaint/hidpi-wrong-repaint-rect-when-parent-has-noncompositing-transform.html
</ins><span class="cx">
</span><del>-2013-06-11 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::computeRectForRepaint):
</ins><span class="cx">
</span><del>- Use HTMLElementFactory to create equivalent elements in WebVTTElement
- https://bugs.webkit.org/show_bug.cgi?id=117423
</del><ins>+2014-04-18 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Use 'override' in GraphicsLayerCA
+ https://bugs.webkit.org/show_bug.cgi?id=131882
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/3d60bec8e5dabfe877c482797d9ef430bfde31
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- This change forces the calls through the factory so that we create appropriate sub-classes based upon the passed tag name,
- rather than just creating a concrete HTMLElement class with an inappropriate tag name.
</del><ins>+ Add 'override' to all overridden functions. Found a few that need
+ not have been virtual. Removed "allowTiledLayer" stuff that was
+ never called.
</ins><span class="cx">
</span><del>- Test: media/track/getCueAsHTMLCrash.html
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::GraphicsLayerCA):
+ (WebCore::GraphicsLayerCA::requiresTiledLayer):
+ (WebCore::GraphicsLayerCA::setAllowTiledLayer): Deleted.
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ (WebCore::GraphicsLayerCA::platformCALayer):
+ (WebCore::GraphicsLayerCA::hasContentsLayer): Deleted.
+ (WebCore::GraphicsLayerCA::allowTiledLayer): Deleted.
+ (WebCore::GraphicsLayerCA::isGraphicsLayerCA): Deleted.
+ (WebCore::GraphicsLayerCA::platformCALayerLayoutSublayersOfLayer): Deleted.
+ (WebCore::GraphicsLayerCA::platformCALayerRespondsToLayoutChanges): Deleted.
+ (WebCore::GraphicsLayerCA::platformCALayerContentsOrientation): Deleted.
+ (WebCore::GraphicsLayerCA::platformCALayerShowDebugBorders): Deleted.
+ (WebCore::GraphicsLayerCA::platformCALayerIncrementRepaintCount): Deleted.
+ (WebCore::GraphicsLayerCA::platformCALayerContentsOpaque): Deleted.
+ (WebCore::GraphicsLayerCA::platformCALayerDrawsContent): Deleted.
+ (WebCore::GraphicsLayerCA::platformCALayerLayerDidDisplay): Deleted.
</ins><span class="cx">
</span><del>- * html/track/WebVTTElement.cpp:
- (WebCore::WebVTTElement::createEquivalentHTMLElement):
</del><ins>+2014-04-18 Timothy Hatcher <timothy@apple.com>
</ins><span class="cx">
</span><del>-2013-06-11 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ Web Inspector: Move InspectorProfilerAgent to JavaScriptCore
+ https://bugs.webkit.org/show_bug.cgi?id=131673
</ins><span class="cx">
</span><del>- Split SelectorDataList::executeSingleTagNameSelectorData() into the 4 kinds of traversal
- https://bugs.webkit.org/show_bug.cgi?id=117486
</del><ins>+ Passes existing profiler and inspector tests.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><del>- Since this is pretty common, split the name selector to have the constant conditions
- outside the traversal.
</del><ins>+ * CMakeLists.txt:
+ * DerivedSources.make:
+ * ForwardingHeaders/inspector/agents/InspectorProfilerAgent.h: Added.
+ * WebCore.exp.in:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/ScriptProfile.cpp: Removed.
+ * bindings/js/ScriptProfile.h:
+ * bindings/js/ScriptProfiler.cpp: Removed.
+ * bindings/js/ScriptProfiler.h: Removed.
+ * inspector/InspectorAllInOne.cpp:
+ * inspector/InspectorConsoleInstrumentation.h:
+ (WebCore::InspectorInstrumentation::profilerEnabled):
+ (WebCore::InspectorInstrumentation::startProfiling):
+ (WebCore::InspectorInstrumentation::stopProfiling):
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::InspectorController):
+ * inspector/InspectorController.h:
+ * inspector/InspectorInstrumentation.cpp:
+ (WebCore::InspectorInstrumentation::didCommitLoadImpl):
+ (WebCore::InspectorInstrumentation::startProfilingImpl):
+ (WebCore::InspectorInstrumentation::stopProfilingImpl):
+ (WebCore::InspectorInstrumentation::consoleTimeStampImpl): Deleted.
+ * inspector/InspectorInstrumentation.h:
+ * inspector/InspectorProfilerAgent.cpp: Removed.
+ * inspector/InspectorProfilerAgent.h: Removed.
+ * inspector/InspectorTimelineAgent.cpp:
+ (WebCore::startProfiling):
+ (WebCore::stopProfiling):
+ (WebCore::InspectorTimelineAgent::willCallFunction):
+ (WebCore::InspectorTimelineAgent::didCallFunction):
+ (WebCore::InspectorTimelineAgent::willEvaluateScript):
+ (WebCore::InspectorTimelineAgent::didEvaluateScript):
+ (WebCore::InspectorTimelineAgent::didDispatchXHRLoadEvent): Deleted.
+ * inspector/InstrumentingAgents.h:
+ (WebCore::InstrumentingAgents::inspectorProfilerAgent):
+ (WebCore::InstrumentingAgents::setInspectorProfilerAgent):
+ * inspector/PageDebuggerAgent.cpp:
+ (WebCore::PageDebuggerAgent::sourceMapURLForScript): Deleted.
+ * inspector/PageDebuggerAgent.h:
+ * inspector/PageProfilerAgent.cpp: Added.
+ (WebCore::PageProfilerAgent::PageProfilerAgent):
+ (WebCore::PageProfilerAgent::profilingGlobalExecState):
+ * inspector/PageProfilerAgent.h: Added.
+ (WebCore::PageProfilerAgent::~PageProfilerAgent):
+ * inspector/ScriptProfile.idl:
+ * inspector/TimelineRecordFactory.cpp:
+ (WebCore::TimelineRecordFactory::appendProfile):
+ * inspector/TimelineRecordFactory.h:
+ * inspector/WebConsoleAgent.cpp:
+ * inspector/WebProfilerAgent.cpp: Added.
+ (WebCore::WebProfilerAgent::WebProfilerAgent):
+ (WebCore::WebProfilerAgent::enable):
+ (WebCore::WebProfilerAgent::disable):
+ * inspector/WebProfilerAgent.h: Added.
+ (WebCore::WebProfilerAgent::~WebProfilerAgent):
+ * inspector/WorkerInspectorController.cpp:
+ (WebCore::WorkerInspectorController::WorkerInspectorController):
+ * inspector/WorkerProfilerAgent.cpp: Added.
+ (WebCore::WorkerProfilerAgent::WorkerProfilerAgent):
+ (WebCore::WorkerProfilerAgent::profilingGlobalExecState):
+ * inspector/WorkerProfilerAgent.h: Added.
+ (WebCore::WorkerProfilerAgent::~WorkerProfilerAgent):
+ * loader/appcache/ApplicationCacheGroup.cpp:
+ * page/PageConsole.cpp:
+ (WebCore::PageConsole::profile):
+ (WebCore::PageConsole::profileEnd):
+ (WebCore::PageConsole::time): Deleted.
+ (WebCore::PageConsole::timeEnd): Deleted.
+ (WebCore::PageConsole::timeStamp): Deleted.
+ * page/PageConsole.h:
+ * testing/Internals.cpp:
+ * testing/Internals.h:
+ * xml/XMLHttpRequest.cpp:
</ins><span class="cx">
</span><del>- * dom/SelectorQuery.cpp:
- (WebCore::SelectorDataList::executeSingleTagNameSelectorData):
</del><ins>+2014-04-18 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-06-11 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Contents of directly composited image layers are sometimes missing
+ https://bugs.webkit.org/show_bug.cgi?id=131880
</ins><span class="cx">
</span><del>- [Mac] Update text track menu
- https://bugs.webkit.org/show_bug.cgi?id=117351
</del><ins>+ Reviewed by Tim Horton.
+
+ RenderLayerBacking::updateGraphicsLayerGeometry() tested whether a
+ GraphicsLayer had a contents layer to determine whether to call code
+ that updates the contents rect. However, on Mac, we don't make a contents
+ layer until later at layer flush time. That would result in an empty
+ contentsRect being set.
+
+ Fix by renaming GraphicsLayer::hasContentsLayer() to usesContentsLayer(),
+ and on Mac consulting the m_contentsLayerPurpose flag, which is set
+ at the appropriate time.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Test: compositing/images/update-content-rect.html
</ins><span class="cx">
</span><del>- No new tests, existing tests updated.
</del><ins>+ * platform/ScrollView.cpp:
+ (WebCore::positionScrollbarLayer):
+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::getDebugBorderInfo):
+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::usesContentsLayer):
+ (WebCore::GraphicsLayer::hasContentsLayer): Deleted.
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ (WebCore::GraphicsLayerCA::hasContentsLayer): Deleted.
+ * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
+ (WebCore::GraphicsLayerTextureMapper::usesContentsLayer):
+ (WebCore::GraphicsLayerTextureMapper::hasContentsLayer): Deleted.
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ (WebCore::RenderLayerBacking::positionOverflowControlsLayers):
+ (WebCore::RenderLayerBacking::compositingLayerType):
</ins><span class="cx">
</span><del>- * English.lproj/Localizable.strings: Update the menu title.
</del><ins>+2014-04-18 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- * page/CaptionUserPreferencesMac.mm: System language is no longer needed.
</del><ins>+ Unreviewed, rolling out r167527.
+ https://bugs.webkit.org/show_bug.cgi?id=131883
</ins><span class="cx">
</span><del>- * platform/LocalizedStrings.cpp: Ditto.
- * platform/LocalizedStrings.h:
</del><ins>+ Broke 32-bit build (Requested by ap on #webkit).
</ins><span class="cx">
</span><del>-2013-06-11 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Fix the element type in the selector checkers
- https://bugs.webkit.org/show_bug.cgi?id=117450
</del><ins>+ "[Mac] implement WebKitDataCue"
+ https://bugs.webkit.org/show_bug.cgi?id=131799
+ http://trac.webkit.org/changeset/167527
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-04-18 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- * css/SelectorCheckerFastPath.cpp:
- (WebCore::HTMLNames::checkClassValue):
- * dom/SelectorQuery.cpp:
- (WebCore::SelectorDataList::executeSingleClassNameSelectorData):
</del><ins>+ [Mac] implement WebKitDataCue
+ https://bugs.webkit.org/show_bug.cgi?id=131799
</ins><span class="cx">
</span><del>-2013-06-11 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Clean up the initializer mess in Document
- https://bugs.webkit.org/show_bug.cgi?id=117448
</del><ins>+ Tests: http/tests/media/track-in-band-hls-metadata.html
+ media/track/track-datacue-value.html
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ * Configurations/FeatureDefines.xcconfig: Define ENABLE_DATACUE_VALUE.
+ * DerivedSources.make: Add ENABLE_DATACUE_VALUE to HTML_FLAGS when appropriate.
</ins><span class="cx">
</span><del>- Basic cleaning from
- https://chromium.googlesource.com/chromium/blink/+/e54ba8d3b62b0245ecdf2f3ec11cd33b4035a4d7
</del><ins>+ * CMakeLists.txt: Add JSDataCueCustom.cpp.
+ * bindings/js/JSBindingsAllInOne.cpp:
+ * WebCore.xcodeproj/project.pbxproj: Add new files.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::Document):
- * dom/Document.h:
</del><ins>+ * bindings/js/JSDataCueCustom.cpp: Added.
+ (WebCore::JSDataCue::value):
+ (WebCore::JSDataCue::setValue):
+ (WebCore::JSDataCueConstructor::constructJSDataCue): Custom constructor.
</ins><span class="cx">
</span><del>-2013-06-11 Jer Noble <jer.noble@apple.com>
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::updateActiveTextTrackCues): Drive-by fixes: don't schedule timeupdate
+ events when paused, don't call sort on an Vector that can't be sorted.
</ins><span class="cx">
</span><del>- Set the font size for in-band captions on the display box, not the :cue.
- https://bugs.webkit.org/show_bug.cgi?id=117515
</del><ins>+ * html/track/DataCue.cpp:
+ (WebCore::DataCue::DataCue): Initialize m_type.
+ (WebCore::DataCue::~DataCue): Unprotect the JSValue if necessary.
+ (WebCore::DataCue::data): Ask the platform value for data if non-null.
+ (WebCore::DataCue::setData): Clear m_platformValue and m_value.
+ (WebCore::DataCue::isEqual): New.
+ (WebCore::DataCue::value): Return a JSValue from the platform value, or the value passed
+ to the constructor/set by script.
+ (WebCore::DataCue::setValue): Set m_value.
+ * html/track/DataCue.h:
+ * html/track/DataCue.idl:
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * html/track/InbandDataTextTrack.cpp:
+ (WebCore::InbandDataTextTrack::addDataCue): Don't add the same cue more than once.
+ (WebCore::InbandDataTextTrack::updateDataCue): Update a cue's duration.
+ (WebCore::InbandDataTextTrack::removeDataCue): Remove an incomplete cue.
+ (WebCore::InbandDataTextTrack::removeCue): Remove a cue from the incomplete cue map if necessary.
+ * html/track/InbandDataTextTrack.h:
</ins><span class="cx">
</span><del>- Make the in-band font size behavior match the out-of-band behavior.
</del><ins>+ * html/track/InbandGenericTextTrack.cpp:
+ (WebCore::InbandGenericTextTrack::addGenericCue): CueMatchRules is now in TextTrackCue instead
+ of VTTCue.
+ * html/track/InbandTextTrack.h:
</ins><span class="cx">
</span><ins>+ * html/track/InbandWebVTTTextTrack.cpp:
+ (WebCore::InbandWebVTTTextTrack::newCuesParsed): Ditto.
+
+ * html/track/TextTrack.cpp:
+ (WebCore::TextTrack::hasCue): Ditto.
+ * html/track/TextTrack.h:
+
+ * html/track/TextTrackCue.cpp:
+ (WebCore::TextTrackCue::isEqual): New, test base class equality.
+ * html/track/TextTrackCue.h:
+
</ins><span class="cx"> * html/track/TextTrackCueGeneric.cpp:
</span><del>- (WebCore::TextTrackCueGeneric::setFontSize):
</del><ins>+ (WebCore::TextTrackCueGeneric::isEqual): Call TextTrackCue::isEqual first.
+ * html/track/TextTrackCueGeneric.h:
</ins><span class="cx">
</span><del>-2013-06-11 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCue::isEqual): Call TextTrackCue::isEqual first.
+ * html/track/VTTCue.h:
</ins><span class="cx">
</span><del>- [Windows] Implement 'attributeValue' accessor to support testing.
- https://bugs.webkit.org/show_bug.cgi?id=117513
</del><ins>+ * platform/SerializedPlatformRepresentation.h: Added.
+ (WebCore::SerializedPlatformRepresentation::~SerializedPlatformRepresentation):
+ (WebCore::SerializedPlatformRepresentation::SerializedPlatformRepresentation):
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * platform/graphics/InbandTextTrackPrivateClient.h: Add methods for DataCue with SerializedPlatformRepresentation.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Add new implementation file.
- * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
- * accessibility/win/AccessibilityObjectWrapperWin.cpp: Added.
- * accessibility/win/AccessibilityObjectWrapperWin.h: Add declaration
</del><ins>+ * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp: Added.
+ (WebCore::InbandMetadataTextTrackPrivateAVF::create):
+ (WebCore::InbandMetadataTextTrackPrivateAVF::InbandMetadataTextTrackPrivateAVF):
+ (WebCore::InbandMetadataTextTrackPrivateAVF::~InbandMetadataTextTrackPrivateAVF):
+ (WebCore::InbandMetadataTextTrackPrivateAVF::addDataCue):
+ (WebCore::InbandMetadataTextTrackPrivateAVF::updatePendingCueEndTimes):
+ (WebCore::InbandMetadataTextTrackPrivateAVF::flushPartialCues):
+ * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.h: Added.
</ins><span class="cx">
</span><del>-2013-05-27 Robert Hogan <robert@webkit.org>
</del><ins>+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundation::seekWithTolerance): currentTrack -> currentTextTrack.
+ (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted): Ditto.
+ (WebCore::MediaPlayerPrivateAVFoundation::configureInbandTracks): Ditto.
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
+ (WebCore::MediaPlayerPrivateAVFoundation::setCurrentTextTrack):
+ (WebCore::MediaPlayerPrivateAVFoundation::setCurrentTrack): Deleted.
</ins><span class="cx">
</span><del>- Positioned Replaced Elements That Aren't RenderReplaced get Incorrect Width
- https://bugs.webkit.org/show_bug.cgi?id=93735
</del><ins>+ Renamed currentTrack and setCurrentTrack to currentTextTrack and setCurrentTextTrack.
+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
+ (WebCore::AVFWrapper::currentTextTrack):
+ (WebCore::MediaPlayerPrivateAVFoundationCF::setCurrentTextTrack):
+ (WebCore::MediaPlayerPrivateAVFoundationCF::currentTextTrack):
+ (WebCore::AVFWrapper::setCurrentTextTrack):
+ (WebCore::AVFWrapper::AVFWrapper):
+ (WebCore::AVFWrapper::processCue):
+ (WebCore::AVFWrapper::currentTrack): Deleted.
+ (WebCore::MediaPlayerPrivateAVFoundationCF::setCurrentTrack): Deleted.
+ (WebCore::MediaPlayerPrivateAVFoundationCF::currentTrack): Deleted.
+ (WebCore::AVFWrapper::setCurrentTrack): Deleted.
+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::seekToTime): currentTrack -> currentTextTrack
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): currentTrack -> currentTextTrack.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::processMetadataTrack): New.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::processCue): m_currentTrack -> m_currentTextTrack.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::flushCues): Ditto.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTextTrack): Renamed from setCurrentTextTrack.
+ (WebCore::metadataType): Map an AVFoundation metadata key space to a metadata cue type.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::metadataDidArrive): Process new metadata.
+ (-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTrack): Deleted.
</ins><span class="cx">
</span><del>- Replaced elements that aren't RenderReplaced aren't |isReplaced| and don't have an
- intrinsic height or width. This causes them to go down the wrong height and width computation
- path in RenderBox when they are absolute positioned.
-
- The notion of |isReplaced| is entwined with the notion of being |isInline| so it isn't really
- possible to make them isReplaced without re-wiring a lot of code. So instead use an ad-hoc definition
- of isReplacedElement in RenderBox to bring all replaced elements into the height and width calculation.
- To make sure we get the right height and width in there, give non-RenderReplaced replaced renderers
- the helpers for returning their approximation of intrinsic height and width.
</del><ins>+ Create a JSValue representation from an AVMetadataItem.
+ * platform/mac/SerializedPlatformRepresentationMac.h: Added.
+ (WebCore::SerializedPlatformRepresentationMac::platformType):
+ (WebCore::SerializedPlatformRepresentationMac::nativeValue):
+ * platform/mac/SerializedPlatformRepresentationMac.mm: Added.
+ (WebCore::SerializedPlatformRepresentationMac::SerializedPlatformRepresentationMac):
+ (WebCore::SerializedPlatformRepresentationMac::~SerializedPlatformRepresentationMac):
+ (WebCore::SerializedPlatformRepresentationMac::create):
+ (WebCore::SerializedPlatformRepresentationMac::data):
+ (WebCore::SerializedPlatformRepresentationMac::deserialize):
+ (WebCore::SerializedPlatformRepresentationMac::isEqual):
+ (WebCore::toSerializedPlatformRepresentationMac):
+ (WebCore::jsValueWithValueInContext):
+ (WebCore::jsValueWithDataInContext):
+ (WebCore::jsValueWithArrayInContext):
+ (WebCore::jsValueWithDictionaryInContext):
+ (WebCore::jsValueWithAVMetadataItemInContext):
</ins><span class="cx">
</span><del>- Test: fast/replaced/width-and-height-of-positioned-replaced-elements.html
</del><ins>+2014-04-18 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::isReplacedElement):
- (WebCore::RenderBox::computePositionedLogicalWidth):
- (WebCore::RenderBox::computePositionedLogicalHeight):
- * rendering/RenderBox.h:
- (WebCore::RenderBox::intrinsicSize):
- * rendering/RenderButton.h:
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::RenderListBox):
- (WebCore::RenderListBox::computeLogicalHeight):
- * rendering/RenderListBox.h:
- * rendering/RenderMenuList.h:
- * rendering/RenderReplaced.h:
- * rendering/RenderTextControl.cpp:
- (WebCore::RenderTextControl::RenderTextControl):
- (WebCore::RenderTextControl::computeLogicalHeight):
- * rendering/RenderTextControl.h:
</del><ins>+ Harden RenderInline::inlineElementContinuation()
</ins><span class="cx">
</span><del>-2013-06-11 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ <https://bugs.webkit.org/show_bug.cgi?id=131858>
</ins><span class="cx">
</span><del>- There are unused variables in ApplyStyleCommand::mergeEndWithNextIfIdentical and ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds
- https://bugs.webkit.org/show_bug.cgi?id=117475
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ No new tests, as there are no known cases of this happening.
</ins><span class="cx">
</span><del>- Removed.
</del><ins>+ * rendering/RenderInline.cpp:
+ (WebCore::RenderInline::inlineElementContinuation):
+ Return nullptr if the continuation is neither a RenderInline nor a
+ RenderBlock.
</ins><span class="cx">
</span><del>- * editing/ApplyStyleCommand.cpp:
- (WebCore::ApplyStyleCommand::mergeEndWithNextIfIdentical):
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds):
</del><ins>+2014-04-18 Stephanie Lewis <slewis@apple.com>
</ins><span class="cx">
</span><del>-2013-06-11 Robert Hogan <robert@webkit.org>
</del><ins>+ We shouldn’t create page throttlers for other pages than WebKit2 pages.
+ Part of <rdar://problem/16473045> Visibility state counters are often incorrect
+ https://bugs.webkit.org/show_bug.cgi?id=131696
</ins><span class="cx">
</span><del>- Fix typo in r151445
</del><ins>+ Reviewed by Gavin Barraclough.
</ins><span class="cx">
</span><del>- Unreviewed build fix.
</del><ins>+ No new test since not web exposed.
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::computeInlinePreferredLogicalWidths):
</del><ins>+ Page throttlers were being created for SVG images and other page instances that
+ were not accurately tracking the states that enable and disable page throttling.
+ Make the throttler an unique ptr and only initialize it for WebKit2.
</ins><span class="cx">
</span><del>-2013-06-11 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ This also fixes an inefficiency where we would throttle a new page on creation because
+ we assumed it was visible even if that was not the case.
</ins><span class="cx">
</span><del>- Remove redundant calls to ceilToFloat in RenderBlock::computeInlinePreferredLogicalWidths
- https://bugs.webkit.org/show_bug.cgi?id=117490
</del><ins>+ * WebCore.exp.in:
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute): Check page throttler exists.
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::started): ditto
+ * page/Page.cpp:
+ (WebCore::Page::Page): Don’t automatically create page throttler.
+ (WebCore::Page::createPageThrottler): Create page throttler.
+ (WebCore::Page::setViewState): Check page throttler exists.
+ * page/Page.h:
+ (WebCore::Page::pageThrottler): Make the page throttler a unique ptr.
+ * page/PageThrottler.h:
+ * page/Settings.cpp:
+ (WebCore::Settings::setHiddenPageDOMTimerThrottlingEnabled): Check page throttler exists.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-04-18 Stephanie Lewis <slewis@apple.com>
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/be336b14325b2938ff6a4fb6191073a6e717a57c.
</del><ins>+ Move DOM throttling out of the page throttler
+ <rdar://problem/16473004>
+ https://bugs.webkit.org/show_bug.cgi?id=131697
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::computeInlinePreferredLogicalWidths):
</del><ins>+ Reviewed by Gavin Barraclough.
</ins><span class="cx">
</span><del>-2013-06-03 Robert Hogan <robert@webkit.org>
</del><ins>+ No new tests since it's not web exposed.
</ins><span class="cx">
</span><del>- Painting collapsed borders during scrolling
- https://bugs.webkit.org/show_bug.cgi?id=85658
</del><ins>+ DOM timer throttling is currently part of the page throttler which uses per process
+ state and per page state to determine when to throttle. This led us to being overly
+ conservative when turning DOM throttling off. It should only respond to view state changes.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Additionally since creating extra page throttlers SVG images caused bugs
+ in tracking state we'll reserve the page throttler for WebKit2 views. To avoid regressing
+ WebKit1 we should move DOM timer throttling back to the page.
</ins><span class="cx">
</span><del>- Test: fast/repaint/table-cell-collapsed-border-scroll.html
</del><ins>+ * page/Page.cpp:
+ (WebCore::Page::Page): set DOM timer throttling.
+ (WebCore::Page::setIsVisuallyIdleInternal): ditto.
+ (WebCore::Page::hiddenPageDOMTimerThrottlingStateChanged): ditto.
+ (WebCore::Page::setIsVisible): Update view state masks for WebKit1 to include IsVisibleOrOccluded and IsVisuallyIdle
+ * page/Page.h:
+ * page/PageThrottler.cpp:
+ (WebCore::PageThrottler::PageThrottler): remove DOM timer throttling.
+ (WebCore::PageThrottler::started): ditto.
+ (WebCore::PageThrottler::stopped): ditto.
+ (WebCore::PageThrottler::hiddenPageDOMTimerThrottlingStateChanged): Deleted.
+ * page/PageThrottler.h:
+ * page/Settings.cpp:
+ (WebCore::Settings::setHiddenPageDOMTimerThrottlingEnabled):
</ins><span class="cx">
</span><del>- WHen painting collapsed borders we need to paint the borders of the row above
- the topmost dirtied row so that we compute the correct value for the dirtied row's collapsed border.
</del><ins>+2014-04-18 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::paintObject):
</del><ins>+ [WebGL] Limit maximum texture sizes on older Intel hardware
+ https://bugs.webkit.org/show_bug.cgi?id=131867
</ins><span class="cx">
</span><del>-2013-06-11 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- [curl] Custom HTTP method support
- https://bugs.webkit.org/show_bug.cgi?id=117302
</del><ins>+ Both Chrome and Firefox limit the MAX_TEXTURE_SIZE on
+ older Intel hardware to be at most 4096. This does the
+ same for WebKit.
</ins><span class="cx">
</span><del>- Reviewed by Kenneth Rohde Christiansen.
</del><ins>+ * platform/graphics/Extensions3D.h: Add requiresRestrictedMaximumTextureSize() accessor.
+ * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
+ (WebCore::Extensions3DOpenGLCommon::Extensions3DOpenGLCommon): Record the value of GL_RENDERER
+ and test for "Intel HD Graphics 3000", which is the problematic hardware.
+ * platform/graphics/opengl/Extensions3DOpenGLCommon.h:
+ (WebCore::Extensions3DOpenGLCommon::requiresRestrictedMaximumTextureSize): Getter.
+ * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
+ (WebCore::GraphicsContext3D::getIntegerv): If you're asking for MAX_TEXTURE_SIZE or
+ MAX_CUBE_MAP_TEXTURE_SIZE, and you're on problematic hardware, return a clamped value
+ (4096 and 1024 respectively).
</ins><span class="cx">
</span><del>- No new tests, already covered by existing ones like:
- http/tests/xmlhttprequest/workers/methods.html
- http/tests/xmlhttprequest/workers/methods-async.html
</del><ins>+2014-04-18 Hans Muller <hmuller@adobe.com>
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::ResourceHandleManager::initializeHandle):
</del><ins>+ [CSS Shapes] Add parsing support for gradients
+ https://bugs.webkit.org/show_bug.cgi?id=131444
</ins><span class="cx">
</span><del>-2013-06-11 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ Reviewed by Bem Jones-Bey.
</ins><span class="cx">
</span><del>- Web Inspector: Remove 'using namespace std'
- https://bugs.webkit.org/show_bug.cgi?id=117498
</del><ins>+ Added support for shape-outside gradient values.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Test: fast/shapes/shape-outside-floats/shape-outside-linear-gradient.html
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::ApplyPropertyShape::applyValue): Accept generated images as shape-outside values.
+ * rendering/shapes/ShapeOutsideInfo.cpp:
+ (WebCore::checkShapeImageOrigin): Generated images get a pass, others do not.
+ (WebCore::getShapeImageAndRect): Use StyleImage::image() to get a generated image.
+ (WebCore::ShapeOutsideInfo::isEnabledFor):
+ * rendering/style/ShapeValue.h:
+ (WebCore::ShapeValue::isImageValid): Generated images are always considered valid.
</ins><span class="cx">
</span><del>- * inspector/InspectorAgent.cpp: Remove unneeded 'using namespace std'.
- * inspector/InspectorFrontendClientLocal.cpp: Use explicit std:: qualifiers instead.
- (WebCore::InspectorFrontendClientLocal::constrainedAttachedWindowHeight):
- (WebCore::InspectorFrontendClientLocal::constrainedAttachedWindowWidth):
- * inspector/InspectorFrontendHost.cpp: Remove unneeded 'using namespace std'.
- * inspector/InspectorPageAgent.cpp: Remove unneeded 'using namespace std'.
</del><ins>+2014-04-18 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>-2013-06-11 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ REGRESSION (r155700): Pasting an image into content-editable regions is broken.
+ <rdar://problem/16654156> and https://bugs.webkit.org/show_bug.cgi?id=131844
</ins><span class="cx">
</span><del>- Support latest Web IDL named property getters
- https://bugs.webkit.org/show_bug.cgi?id=117403
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ * editing/mac/EditorMac.mm:
+ (WebCore::Editor::createFragmentForImageResourceAndAddResource): Add the ArchiveResource before
+ creating the element that uses it.
</ins><span class="cx">
</span><del>- Add support for the latest Web IDL named property getters to the JSC
- bindings generator:
- http://www.w3.org/TR/WebIDL/#idl-named-properties
</del><ins>+2014-04-18 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Drop support for outdated [NamedGetter] IDL extended attribute.
</del><ins>+ [iOS WK2] Make window.scroll() and window.scrollBy() work
+ https://bugs.webkit.org/show_bug.cgi?id=131848
+ <rdar://problem/16638319>
</ins><span class="cx">
</span><del>- Support for other kinds of named properties will be added in later
- patches. This patch only brings named property getters.
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- This patch is based on Blink r149247 by kojih@chromium.org.
</del><ins>+ The scrolling-related functions in DOMWindow were #ifdeffed for iOS
+ to use the hacky WK1-specific "actual scroll" functions, which do nothing
+ in WK2.
+
+ Fix by adding a scroll position wrapper (contentsScrollPosition) which does
+ the right thing on WK1 and WK2, and change almost all the places that used "actualScrollPosition"
+ to us it (with the exception of contentsScrollOffset() in MouseRelatedEvent.cpp, which has
+ confusing scaling behavior).
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ * dom/MouseRelatedEvent.cpp:
+ (WebCore::MouseRelatedEvent::MouseRelatedEvent):
+ * dom/TreeScope.cpp:
+ (WebCore::nodeFromPoint): Remove #ifdefs.
+ * html/HTMLBodyElement.cpp:
+ (WebCore::HTMLBodyElement::scrollLeft):
+ (WebCore::HTMLBodyElement::scrollTop):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::scrollX):
+ (WebCore::DOMWindow::scrollY):
+ (WebCore::DOMWindow::scrollBy):
+ (WebCore::DOMWindow::scrollTo):
+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::contentsScrollPosition):
+ (WebCore::ScrollView::setContentsScrollPosition):
+ * platform/ScrollView.h:
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateGetOwnPropertySlotBody):
- (GenerateGetOwnPropertyDescriptorBody):
- (GetSpecialAccessorFunctionForType):
- (GetNamedGetterFunction):
- (GenerateHeader):
- (GenerateImplementation):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/IDLParser.pm:
- (applyTypedefs):
- (parseSpecialOperation):
- (parseSpecials):
- (applyMemberList):
- * bindings/scripts/test/TestEventTarget.idl:
- * css/StyleSheetList.idl:
- * dom/DOMNamedFlowCollection.idl:
- * dom/DOMStringMap.idl:
- * dom/NamedNodeMap.idl:
- * dom/NodeList.idl:
- * html/HTMLAllCollection.idl:
- * html/HTMLCollection.idl:
- * html/HTMLFormControlsCollection.idl:
- * html/HTMLPropertiesCollection.idl:
- * plugins/DOMMimeTypeArray.idl:
- * plugins/DOMPlugin.idl:
- * plugins/DOMPluginArray.idl:
- * storage/Storage.idl:
</del><ins>+2014-04-18 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-06-11 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ Worse animation performance on pages with 3D transforms
+ https://bugs.webkit.org/show_bug.cgi?id=131838
+ <rdar://problem/16428630&15705876>
</ins><span class="cx">
</span><del>- [BlackBerry] Test editing/execCommand/indent-paragraphs.html times out
- https://bugs.webkit.org/show_bug.cgi?id=117235
</del><ins>+ Reviewed by Dean Jackson.
+
+ r155977 added logic to adjust the contentsScale of compositing layers
+ based on a root-relative transform. However, this resulted in
+ the contentsScale continually changing on layers whose transforms
+ are changed dynamically, which caused lots of expensive painting.
+
+ Fix by bucketing the part of the scale computed from the root-relative transform
+ into buckets of 0.25 via rounding.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Test: compositing/contents-scale/rounded-contents-scale.html
</ins><span class="cx">
</span><del>- PR 346414.
</del><ins>+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::clampedContentsScaleForScale):
+ (WebCore::GraphicsLayerCA::updateContentsOpaque):
+ (WebCore::GraphicsLayerCA::updateContentsScale):
+ (WebCore::GraphicsLayerCA::updateContentsVisibility): Deleted.
+ (WebCore::GraphicsLayerCA::animatedLayerClones): Deleted.
</ins><span class="cx">
</span><del>- After r150224 ResourceHandle::start() can fail returning false so
- that the ResourceHandle is destroyed and the error not
- handled. Handle the errors by scheduling a InvalidURLFailure and
- returning true when startJob fails to make sure the ResourceHandle
- is not destroyed and the error is handled and notified to the
- client.
</del><ins>+2014-04-18 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Fixes timeout in editing/execCommand/indent-paragraphs.html.
</del><ins>+ Remove some includes from image-related headers, and Document.h
+ https://bugs.webkit.org/show_bug.cgi?id=131797
</ins><span class="cx">
</span><del>- * platform/network/blackberry/ResourceHandleBlackBerry.cpp:
- (WebCore::ResourceHandle::start):
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>-2013-06-11 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Remove some #includes from Document.h, DragImage.h, GradientImage.h,
+ Image.h, and ImageBuffer.h and deal with the fallout.
</ins><span class="cx">
</span><del>- Remove IntRect::pixelSnapped* and its enclosingRect since they are no longer used
- https://bugs.webkit.org/show_bug.cgi?id=117494
</del><ins>+ * dom/ContainerNode.h:
+ * dom/Document.cpp:
+ (WebCore::Document::setInputCursor):
+ * dom/Document.h:
+ (WebCore::Document::inputCursor):
+ * dom/MutationObserverRegistration.cpp:
+ * html/canvas/WebGLRenderingContext.cpp:
+ * page/FrameSnapshotting.cpp:
+ * page/Page.cpp:
+ * platform/DragImage.h:
+ * platform/graphics/BitmapImage.cpp:
+ * platform/graphics/GradientImage.cpp:
+ (WebCore::GradientImage::GradientImage):
+ (WebCore::GradientImage::~GradientImage):
+ * platform/graphics/GradientImage.h:
+ * platform/graphics/Image.h:
+ * platform/graphics/ImageBuffer.cpp:
+ * platform/graphics/ImageBuffer.h:
+ (WebCore::ImageBuffer::create):
+ (WebCore::ImageBuffer::internalSize):
+ (WebCore::ImageBuffer::logicalSize):
+ (WebCore::ImageBuffer::baseTransform):
+ (WebCore::ImageBuffer::spaceSize):
+ (WebCore::ImageBuffer::setSpaceSize):
+ * rendering/RenderThemeMac.mm:
+ * rendering/shapes/Shape.cpp:
+ * rendering/svg/RenderSVGContainer.cpp:
+ * svg/SVGURIReference.h:
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-04-18 Gabor Rapcsanyi <rgabor@webkit.org>
</ins><span class="cx">
</span><del>- Merge: https://chromium.googlesource.com/chromium/blink/+/9433dc00e882e2808ac1db3c1fd89090896d7b58
- https://chromium.googlesource.com/chromium/blink/+/7beaa73aa099170cb2cad02c12c5e0a448b12c21
</del><ins>+ Unreviewed. ARM64 buildfix after r167473.
</ins><span class="cx">
</span><del>- * inspector/InspectorLayerTreeAgent.cpp:
- (WebCore::InspectorLayerTreeAgent::buildObjectForLayer):
- * inspector/InspectorOverlay.cpp:
- (WebCore::InspectorOverlay::update):
- * platform/graphics/IntRect.h:
- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::hitTestCulledInline):
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::repaintUsingContainer):
</del><ins>+ * platform/audio/DenormalDisabler.h: Put back the MathExtras.h include.
</ins><span class="cx">
</span><del>-2013-06-11 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+2014-04-18 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- Autoclose braces and parentheses at the end of style sheet
- https://bugs.webkit.org/show_bug.cgi?id=117414
</del><ins>+ [CSSRegions] Incorrect background paint on positioned element hover
+ https://bugs.webkit.org/show_bug.cgi?id=131617
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- From Blink r150202 by <serya@chromium.org>
</del><ins>+ When computing the repaint rect for absolute elements flowed into regions, the Y location of the
+ region within the flow thread must no longer be added to the repaint rect's location because absolute
+ positioned elements get pushed down through the regions by their absolute top. So adding the region's
+ position in the flow thread and then adding the element's absolute top would cause us to add
+ something twice.
</ins><span class="cx">
</span><del>- Use closing_parenthesis and closing_brace instead of the literals
- '}' and ')'. This allows the parser to treat expressions with
- unmatched closing braces/parenthesis as if all of them were
- actually closed.
</del><ins>+ Tests: fast/regions/repaint/repaint-absolute-pushed-to-next-region.html
</ins><span class="cx">
</span><del>- Tests: animations/keyframe-autoclose-brace.html
- css3/autoclose-braces-and-parentheses.html
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::computeRectForRepaint):
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+2014-04-18 Philippe Normand <pnormand@igalia.com>
</ins><span class="cx">
</span><del>-2013-06-10 Jae Hyun Park <jae.park@company100.net>
</del><ins>+ Remove NETWORK_INFO support
+ https://bugs.webkit.org/show_bug.cgi?id=131841
</ins><span class="cx">
</span><del>- [CoordinatedGraphics] Typos in custom shader support
- https://bugs.webkit.org/show_bug.cgi?id=117413
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- Reviewed by Noam Rosenthal.
</del><ins>+ * CMakeLists.txt:
+ * Modules/networkinfo/NavigatorNetworkInfoConnection.cpp: Removed.
+ * Modules/networkinfo/NavigatorNetworkInfoConnection.h: Removed.
+ * Modules/networkinfo/NavigatorNetworkInfoConnection.idl: Removed.
+ * Modules/networkinfo/NetworkInfo.cpp: Removed.
+ * Modules/networkinfo/NetworkInfo.h: Removed.
+ * Modules/networkinfo/NetworkInfoClient.h: Removed.
+ * Modules/networkinfo/NetworkInfoConnection.cpp: Removed.
+ * Modules/networkinfo/NetworkInfoConnection.h: Removed.
+ * Modules/networkinfo/NetworkInfoConnection.idl: Removed.
+ * Modules/networkinfo/NetworkInfoController.cpp: Removed.
+ * Modules/networkinfo/NetworkInfoController.h: Removed.
+ * PlatformEfl.cmake:
+ * dom/EventTargetFactory.in:
+ * platform/efl/NetworkInfoProviderEfl.cpp: Removed.
+ * platform/efl/NetworkInfoProviderEfl.h: Removed.
+ * testing/Internals.cpp:
+ (WebCore::Internals::setNetworkInformation): Deleted.
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>- Wrong keyframe is passed when assigning filterValue.
</del><ins>+2014-04-17 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
- (WebCore::CoordinatedGraphicsScene::setLayerAnimationsIfNeeded):
</del><ins>+ Unreviewed, rolling out r167478.
+ https://bugs.webkit.org/show_bug.cgi?id=131840
</ins><span class="cx">
</span><del>-2013-06-10 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Broke multicol tests (Requested by ap on #webkit).
</ins><span class="cx">
</span><del>- text-transform: capitalize shouldn't upconvert
- https://bugs.webkit.org/show_bug.cgi?id=117485
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Reviewed by Adam Barth.
</del><ins>+ "[New Multicolumn] Pagination mode messed up with non-inline
+ axis and reversed direction."
+ https://bugs.webkit.org/show_bug.cgi?id=131811
+ http://trac.webkit.org/changeset/167478
</ins><span class="cx">
</span><del>- Avoid the upconversion. Merge https://chromium.googlesource.com/chromium/blink/+/c5a221d6da2443df0639c01c40aac6040908ec79.
</del><ins>+2014-04-17 Daniel Bates <dabates@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderText.cpp:
- (WebCore::makeCapitalized):
</del><ins>+ [iOS] Hook up screen.{availHeight, availWidth, height, width}
+ https://bugs.webkit.org/show_bug.cgi?id=131821
+ <rdar://problem/16413795>
</ins><span class="cx">
</span><del>-2013-06-10 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Reviewed by Benjamin Poulain and Tim Horton.
</ins><span class="cx">
</span><del>- DocType strings should be 8 bit wide
- https://bugs.webkit.org/show_bug.cgi?id=117487
</del><ins>+ Implement support for screen.{availHeight, availWidth, height, width} in WebKit2 for iOS.
</ins><span class="cx">
</span><del>- Reviewed by Michael Saboff.
</del><ins>+ Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/8da02d0ce3965c4e6bf227db856bce930393429a.
</del><ins>+ * WebCore.exp.in: Export symbol for WebCore System Interface function
+ _wkGetAvailableScreenSize.
+ * dom/Document.cpp:
+ (WebCore::Document::processViewport): Modified to call Chrome::screenSize(); formerly it
+ called ChromeClient::viewportScreenSize().
+ * page/Chrome.cpp:
+ (WebCore::Chrome::screenSize): Added; turns around and calls ChromeClient::screenSize().
+ (WebCore::Chrome::availableScreenSize): Added; turns around and calls ChromeClient::availableScreenSize().
+ * page/Chrome.h:
+ * page/ChromeClient.h:
+ (WebCore::ChromeClient::screenSize): Renamed; formerly named viewportScreenSize.
+ (WebCore::ChromeClient::availableScreenSize): Added; default implementation, which
+ returns the size of Chrome::windowRect().
+ * page/ViewportConfiguration.cpp:
+ (WebCore::ViewportConfiguration::textDocumentParameters):
+ * platform/HostWindow.h: Added declarations for availableScreenSize() and screenSize()
+ so that a caller (e.g. WebCore::screenRect()) can query for such screen information using
+ only the HostWindow interface. That is, a caller doesn't need to know about ChromeClient.
+ * platform/ios/PlatformScreenIOS.mm:
+ (WebCore::screenRect): Modified to query HostWindow::screenSize() when computing the
+ screen rectangle in WebKit2 for iOS.
+ (WebCore::screenAvailableRect): Modified to query HostWindow::availableScreenSize()
+ when computing the available screen rectangle in WebKit2 for iOS.
+ * platform/ios/WebCoreSystemInterfaceIOS.mm:
+ * platform/mac/WebCoreSystemInterface.h:
</ins><span class="cx">
</span><del>- * html/parser/HTMLConstructionSite.cpp:
- (WebCore::HTMLConstructionSite::insertDoctype):
</del><ins>+2014-04-17 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>-2013-06-10 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ origin spoofing possible (HTTP Origin, postMessage event.origin) due to inappropriate URL escape sequence decoding
+ https://bugs.webkit.org/show_bug.cgi?id=131837
+ rdar://problem/15211936
</ins><span class="cx">
</span><del>- Make more functions const
- https://bugs.webkit.org/show_bug.cgi?id=117455
</del><ins>+ Reviewed by Anders Carlsson and Dave Hyatt.
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Tests: fast/dom/DOMURL/parsing.html
+ fast/dom/HTMLAnchorElement/anchor-element-href-parsing.html
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/886866f5034d7f30f8aa607b909313f99db1f3b4.
</del><ins>+ * platform/URL.cpp:
+ (WebCore::URL::host): Removed unnecessary call to decodeURLEscapeSequences, which caused
+ problems and was not needed.
</ins><span class="cx">
</span><del>- * editing/VisibleUnits.cpp:
- (WebCore::CachedLogicallyOrderedLeafBoxes::boxIndexInLeaves):
- * html/canvas/WebGLRenderingContext.cpp:
- * page/ContentSecurityPolicy.cpp:
- (WebCore::CSPDirectiveList::evalDisabledErrorMessage):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::LineWidth::shouldIndentText):
</del><ins>+2014-04-17 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>-2013-06-10 Jer Noble <jer.noble@apple.com>
</del><ins>+ [New Multicolumn] Pagination mode messed up with non-inline axis and reversed direction.
+ https://bugs.webkit.org/show_bug.cgi?id=131811
</ins><span class="cx">
</span><del>- REGRESSION(r151302): Many broken webaudio/ tests on Mac port.
- https://bugs.webkit.org/show_bug.cgi?id=117446
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Reviewed by Chris Rogers.
</del><ins>+ Added fast/multicol/newmulticol/compare-with-old-impl/BottomToTop-tb.html
+
+ With block axis pagination mode, it is possible to set a column height that is not the same
+ as the available fill height for a block. The new multi-column code had the assumption that
+ the column height was the same as the amount of fill room you had available. This is not
+ the case.
+
+ To correct the issue, I added a member variable to RenderMultiColumnSet that stores the
+ available column height as a separate variable from the computed column height. This allows
+ the pagination API to specify a different column height that is not the same as the view's
+ content height.
</ins><span class="cx">
</span><del>- The new "pageConsentRequiredForAudioStart()" restriction was blocking playback event
- even when page consent was given. Remvoe the restriction immediately in that case.
</del><ins>+ Even though it isn't involved in the solution, I also patched pageOrViewLogicalHeight on
+ RenderView to work with the new column code as well.
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioContext.cpp:
- (WebCore::AudioContext::startRendering):
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::RenderMultiColumnSet):
+ (WebCore::RenderMultiColumnSet::setAndConstrainColumnHeight):
+ (WebCore::RenderMultiColumnSet::computeLogicalHeight):
+ * rendering/RenderMultiColumnSet.h:
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::pageOrViewLogicalHeight):
</ins><span class="cx">
</span><del>-2013-06-10 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-17 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- REGRESSION(r150633): Find on page non-focused text highlight color is bright yellow.
- <rdar://problem/14098882>
- <http://webkit.org/b/117371>
</del><ins>+ Build fix.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * svg/animation/SMILTime.h:
</ins><span class="cx">
</span><del>- There was a mistake in the parameter ordering which still compiled because of
- implicit bool/unsigned conversion.
- Changed the interface of Page::findMatchesForText() to use enums instead of bools.
</del><ins>+2014-04-17 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>- No test because the color of the highlighted matches is not available through APIs.
</del><ins>+ Unreviewed, rolling out r167384.
</ins><span class="cx">
</span><del>- * page/Page.h:
- * page/Page.cpp:
- (WebCore::Page::findMatchesForText):
- (WebCore::Page::markAllMatchesForText):
- (WebCore::Page::countFindMatches):
</del><ins>+ Sounds like this isn't the right fix, and causes generation to
+ run far too often.
</ins><span class="cx">
</span><del>-2013-06-10 Bear Travis <betravis@adobe.com>
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- [CSS Shapes][CSS Exclusions] Split CSS Exclusions and CSS Shapes code
- https://bugs.webkit.org/show_bug.cgi?id=117162
</del><ins>+ "Fix CodeGenerator.pm to only write files if the generated
+ content has changed"
+ https://bugs.webkit.org/show_bug.cgi?id=131756
+ http://trac.webkit.org/changeset/167384
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+2014-04-17 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- With the split between the CSS Exclusions and CSS Shapes specifications,
- some renaming is necessary. In general, this patch removes 'Exclusion' from
- any Shapes code, while organizing the rendering shapes code into a 'shapes'
- folder.
</del><ins>+ Remove unnecessary MathExtras.h includes
+ https://bugs.webkit.org/show_bug.cgi?id=131789
</ins><span class="cx">
</span><del>- Renames:
- ExclusionShape -> Shape
- Exclusion[Rectangle|Polygon] -> [Rectangle|Polygon]Shape
- Exclusion -> Shape
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Refactoring, no new tests.
</del><ins>+ * platform/FileSystem.h:
+ * platform/Scrollbar.h:
+ * platform/animation/AnimationUtilities.h:
+ * platform/audio/DenormalDisabler.h:
+ * platform/graphics/Font.h:
+ * platform/graphics/IntPoint.h: Included cmath instad of MathExtras.h.
+ * platform/graphics/LayoutPoint.h:
+ * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
+ * rendering/svg/SVGMarkerData.h:
+ * svg/animation/SMILTime.h:
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.am:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.pri:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::ComputedStyleExtractor::propertyValue):
- * css/CSSPrimitiveValue.h:
- * css/DeprecatedStyleBuilder.cpp:
- (WebCore::ApplyPropertyShape::setValue):
- (WebCore::ApplyPropertyShape::applyValue):
- (WebCore::ApplyPropertyShape::createHandler):
- (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
- * page/animation/CSSPropertyAnimation.cpp:
- (WebCore::blendFunc):
- (WebCore::PropertyWrapperShape::PropertyWrapperShape):
- (WebCore::CSSPropertyAnimation::ensurePropertyMap):
- * rendering/LayoutState.cpp:
- (WebCore::LayoutState::LayoutState):
- * rendering/LayoutState.h:
- (WebCore::LayoutState::LayoutState):
- (WebCore::LayoutState::shapeInsideInfo):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::styleDidChange):
- (WebCore::RenderBlock::updateShapeInsideInfoAfterStyleChange):
- (WebCore::shapeInfoRequiresRelayout):
- (WebCore::RenderBlock::updateRegionsAndExclusionsBeforeChildLayout):
- (WebCore::RenderBlock::computeShapeSize):
- (WebCore::RenderBlock::updateRegionsAndExclusionsAfterChildLayout):
- (WebCore::RenderBlock::insertFloatingObject):
- (WebCore::RenderBlock::computeLogicalLocationForFloat):
- (WebCore::RenderBlock::positionNewFloats):
- (WebCore::RenderBlock::logicalLeftOffsetForLine):
- (WebCore::RenderBlock::logicalRightOffsetForLine):
- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::ensureShapeInsideInfo):
- (WebCore::RenderBlock::shapeInsideInfo):
- (WebCore::RenderBlock::setShapeInsideInfo):
- (WebCore::RenderBlock::allowsShapeInsideInfoSharing):
- (WebCore::RenderBlock::xPositionForFloatIncludingMargin):
- (WebCore::RenderBlock::yPositionForFloatIncludingMargin):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::layoutShapeInsideInfo):
- (WebCore::LineWidth::LineWidth):
- (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):
- (WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
- (WebCore::constructBidiRunsForLine):
- (WebCore::adjustLogicalLineTop):
- (WebCore::RenderBlock::updateLineBoundariesForShapes):
- (WebCore::RenderBlock::adjustLogicalLineTopAndLogicalHeightIfNeeded):
- (WebCore::RenderBlock::layoutRunsAndFloatsInRange):
- (WebCore::RenderBlock::LineBreaker::nextLineBreak):
- (WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::willBeDestroyed):
- (WebCore::RenderBox::styleDidChange):
- (WebCore::RenderBox::updateShapeOutsideInfoAfterStyleChange):
- * rendering/RenderBox.h:
- (WebCore::RenderBox::shapeOutsideInfo):
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::paintOffset):
- * rendering/RenderView.h:
- (WebCore::RenderView::pushLayoutState):
- * rendering/shapes/PolygonShape.cpp: Renamed from Source/WebCore/rendering/ExclusionPolygon.cpp.
- (WebCore::leftSide):
- (WebCore::isReflexVertex):
- (WebCore::computeXIntersection):
- (WebCore::inwardEdgeNormal):
- (WebCore::outwardEdgeNormal):
- (WebCore::appendArc):
- (WebCore::snapVerticesToLayoutUnitGrid):
- (WebCore::computeShapePaddingBounds):
- (WebCore::computeShapeMarginBounds):
- (WebCore::PolygonShape::shapePaddingBounds):
- (WebCore::PolygonShape::shapeMarginBounds):
- (WebCore::getVertexIntersectionVertices):
- (WebCore::appendIntervalX):
- (WebCore::compareEdgeIntersectionX):
- (WebCore::computeXIntersections):
- (WebCore::computeOverlappingEdgeXProjections):
- (WebCore::PolygonShape::getExcludedIntervals):
- (WebCore::PolygonShape::getIncludedIntervals):
- (WebCore::firstFitRectInPolygon):
- (WebCore::aboveOrToTheLeft):
- (WebCore::PolygonShape::firstIncludedIntervalLogicalTop):
- * rendering/shapes/PolygonShape.h: Renamed from Source/WebCore/rendering/ExclusionPolygon.h.
- (WebCore::OffsetPolygonEdge::OffsetPolygonEdge):
- (WebCore::OffsetPolygonEdge::edgeIndex):
- (WebCore::OffsetPolygonEdge::basis):
- (WebCore::PolygonShape::PolygonShape):
- * rendering/shapes/RectangleShape.cpp: Renamed from Source/WebCore/rendering/ExclusionRectangle.cpp.
- (WebCore::ellipseXIntercept):
- (WebCore::ellipseYIntercept):
- (WebCore::FloatRoundedRect::paddingBounds):
- (WebCore::FloatRoundedRect::marginBounds):
- (WebCore::FloatRoundedRect::cornerInterceptForWidth):
- (WebCore::RectangleShape::shapePaddingBounds):
- (WebCore::RectangleShape::shapeMarginBounds):
- (WebCore::RectangleShape::getExcludedIntervals):
- (WebCore::RectangleShape::getIncludedIntervals):
- (WebCore::RectangleShape::firstIncludedIntervalLogicalTop):
- * rendering/shapes/RectangleShape.h: Renamed from Source/WebCore/rendering/ExclusionRectangle.h.
- (WebCore::FloatRoundedRect::FloatRoundedRect):
- (WebCore::FloatRoundedRect::rx):
- (WebCore::FloatRoundedRect::ry):
- (WebCore::RectangleShape::RectangleShape):
- * rendering/shapes/Shape.cpp: Renamed from Source/WebCore/rendering/ExclusionShape.cpp.
- (WebCore::createRectangleShape):
- (WebCore::createShapeCircle):
- (WebCore::createShapeEllipse):
- (WebCore::createPolygonShape):
- (WebCore::physicalRectToLogical):
- (WebCore::physicalPointToLogical):
- (WebCore::physicalSizeToLogical):
- (WebCore::Shape::createShape):
- * rendering/shapes/Shape.h: Renamed from Source/WebCore/rendering/ExclusionShape.h.
- (WebCore::LineSegment::LineSegment):
- (WebCore::Shape::~Shape):
- (WebCore::Shape::shapeMargin):
- (WebCore::Shape::shapePadding):
- * rendering/shapes/ShapeInfo.cpp: Renamed from Source/WebCore/rendering/ExclusionShapeInfo.cpp.
- (WebCore::::computedShape):
- (WebCore::::computeSegmentsForLine):
- * rendering/shapes/ShapeInfo.h: Renamed from Source/WebCore/rendering/ExclusionShapeInfo.h.
- (WebCore::MappedInfo::ensureInfo):
- (WebCore::MappedInfo::removeInfo):
- (WebCore::MappedInfo::info):
- (WebCore::MappedInfo::infoMap):
- (WebCore::ShapeInfo::~ShapeInfo):
- (WebCore::ShapeInfo::setShapeSize):
- (WebCore::ShapeInfo::clearSegments):
- (WebCore::ShapeInfo::shapeLogicalTop):
- (WebCore::ShapeInfo::shapeLogicalBottom):
- (WebCore::ShapeInfo::shapeLogicalLeft):
- (WebCore::ShapeInfo::shapeLogicalRight):
- (WebCore::ShapeInfo::shapeLogicalWidth):
- (WebCore::ShapeInfo::shapeLogicalHeight):
- (WebCore::ShapeInfo::logicalLineTop):
- (WebCore::ShapeInfo::logicalLineBottom):
- (WebCore::ShapeInfo::shapeContainingBlockHeight):
- (WebCore::ShapeInfo::lineOverlapsShapeBounds):
- (WebCore::ShapeInfo::lineWithinShapeBounds):
- (WebCore::ShapeInfo::dirtyShapeSize):
- (WebCore::ShapeInfo::shapeSizeDirty):
- (WebCore::ShapeInfo::owner):
- (WebCore::ShapeInfo::ShapeInfo):
- (WebCore::ShapeInfo::logicalTopOffset):
- (WebCore::ShapeInfo::logicalLeftOffset):
- * rendering/shapes/ShapeInsideInfo.cpp: Renamed from Source/WebCore/rendering/ExclusionShapeInsideInfo.cpp.
- (WebCore::LineSegmentRange::LineSegmentRange):
- (WebCore::ShapeInsideInfo::isEnabledFor):
- (WebCore::ShapeInsideInfo::adjustLogicalLineTop):
- * rendering/shapes/ShapeInsideInfo.h: Renamed from Source/WebCore/rendering/ExclusionShapeInsideInfo.h.
- (WebCore::LineSegmentIterator::LineSegmentIterator):
- (WebCore::ShapeInsideInfo::createInfo):
- (WebCore::ShapeInsideInfo::hasSegments):
- (WebCore::ShapeInsideInfo::segments):
- (WebCore::ShapeInsideInfo::segmentRanges):
- (WebCore::ShapeInsideInfo::currentSegment):
- (WebCore::ShapeInsideInfo::setNeedsLayout):
- (WebCore::ShapeInsideInfo::needsLayout):
- (WebCore::ShapeInsideInfo::ShapeInsideInfo):
- * rendering/shapes/ShapeInterval.cpp: Renamed from Source/WebCore/rendering/ExclusionInterval.cpp.
- (WebCore::IntervalX1Comparator::operator()):
- (WebCore::ShapeInterval::intersect):
- (WebCore::sortShapeIntervals):
- (WebCore::mergeShapeIntervals):
- (WebCore::intersectShapeIntervals):
- (WebCore::subtractShapeIntervals):
- * rendering/shapes/ShapeInterval.h: Renamed from Source/WebCore/rendering/ExclusionInterval.h.
- (WebCore::ShapeInterval::ShapeInterval):
- * rendering/shapes/ShapeOutsideInfo.cpp: Renamed from Source/WebCore/rendering/ExclusionShapeOutsideInfo.cpp.
- (WebCore::ShapeOutsideInfo::isEnabledFor):
- (WebCore::ShapeOutsideInfo::computeSegmentsForLine):
- * rendering/shapes/ShapeOutsideInfo.h: Renamed from Source/WebCore/rendering/ExclusionShapeOutsideInfo.h.
- (WebCore::ShapeOutsideInfo::shapeLogicalOffset):
- (WebCore::ShapeOutsideInfo::leftSegmentShapeBoundingBoxDelta):
- (WebCore::ShapeOutsideInfo::rightSegmentShapeBoundingBoxDelta):
- (WebCore::ShapeOutsideInfo::createInfo):
- (WebCore::ShapeOutsideInfo::ShapeOutsideInfo):
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::initialShapeInside):
- * rendering/style/RenderStyle.h:
- * rendering/style/ShapeValue.h: Renamed from Source/WebCore/rendering/style/ExclusionShapeValue.h.
- (WebCore::ShapeValue::createShapeValue):
- (WebCore::ShapeValue::createOutsideValue):
- (WebCore::ShapeValue::createImageValue):
- (WebCore::ShapeValue::type):
- (WebCore::ShapeValue::shape):
- (WebCore::ShapeValue::image):
- (WebCore::ShapeValue::setImage):
- (WebCore::ShapeValue::operator==):
- (WebCore::ShapeValue::ShapeValue):
- * rendering/style/StyleRareNonInheritedData.h:
</del><ins>+2014-04-16 Huang Dongsung <luxtella@company100.net>
</ins><span class="cx">
</span><del>-2013-06-10 Iago Toral Quiroga <itoral@igalia.com>
</del><ins>+ Make RenderLayerBacking get the timingFunction of the correct animation.
+ https://bugs.webkit.org/show_bug.cgi?id=100632
</ins><span class="cx">
</span><del>- Use Cairo implementation of the WidgetBackingStore instead of X11 when running on Wayland
- https://bugs.webkit.org/show_bug.cgi?id=116717
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ When an element has multiple animations that have different timingFunctions,
+ the progress of each animation should be calculated using its respective
+ timingFunction. But at this point, the timingFunction of the first animation is
+ only used in RenderLayerBacking::startAnimation(), regardless of how many
+ animations the element has.
</ins><span class="cx">
</span><del>- Refactored WidgetBackingStore to be an abstract base class and make
- GtkWidgetBackingStoreX11 and WidgetBackingStoreCairo inherit from it.
- GtkWidgetBackingStoreX11 renamed to WidgetBackingStoreGtkX11.
</del><ins>+ getAnimationFromStyleByName() was introduced in r89462 so that the
+ timingFunction of the correct animation searched by its name would be
+ used. This patch moves the function to KeyframeValue::timingFunction()
+ so that RenderLayerBacking reuses this method.
</ins><span class="cx">
</span><del>- * GNUmakefile.list.am:
- * platform/cairo/WidgetBackingStore.h:
</del><ins>+ Test: animations/keyframe-multiple-timing-functions-transform.html
+
+ * page/animation/KeyframeAnimation.cpp:
+ (WebCore::KeyframeAnimation::fetchIntervalEndpointsForProperty):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::startAnimation):
+ * rendering/style/KeyframeList.cpp:
+ (WebCore::KeyframeValue::timingFunction):
</ins><span class="cx"> (WebCore):
</span><del>- (WidgetBackingStore):
- (WebCore::WidgetBackingStore::WidgetBackingStore):
- (WebCore::WidgetBackingStore::~WidgetBackingStore):
- * platform/cairo/WidgetBackingStoreCairo.cpp:
- (WebCore::WidgetBackingStoreCairo::create):
</del><ins>+ * rendering/style/KeyframeList.h:
</ins><span class="cx"> (WebCore):
</span><del>- (WebCore::WidgetBackingStoreCairo::WidgetBackingStoreCairo):
- (WebCore::WidgetBackingStoreCairo::~WidgetBackingStoreCairo):
- (WebCore::WidgetBackingStoreCairo::cairoSurface):
- (WebCore::WidgetBackingStoreCairo::scroll):
- * platform/cairo/WidgetBackingStoreCairo.h: Added.
- (WebCore):
- (WidgetBackingStoreCairo):
- * platform/gtk/GtkWidgetBackingStoreX11.cpp:
- (WebCore::WidgetBackingStoreGtkX11::create):
- (WebCore):
- (WebCore::WidgetBackingStoreGtkX11::WidgetBackingStoreGtkX11):
- (WebCore::WidgetBackingStoreGtkX11::~WidgetBackingStoreGtkX11):
- (WebCore::WidgetBackingStoreGtkX11::cairoSurface):
- (WebCore::WidgetBackingStoreGtkX11::scroll):
- * platform/gtk/GtkWidgetBackingStoreX11.h: Added.
- (WebCore):
- (WidgetBackingStoreGtkX11):
</del><ins>+ (KeyframeValue):
</ins><span class="cx">
</span><del>-2013-06-10 Otto Derek Cheung <otcheung@rim.com>
</del><ins>+2014-04-17 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- [BlackBerry] Store ParsedCookies as RefPtrs instead of PassRefPtrs in CookieDatabaseBackingStore
- https://bugs.webkit.org/show_bug.cgi?id=117411
</del><ins>+ Rollout: Add a way to cache never-changing IDL attributes in the wrapper.
+ <https://webkit.org/b/131759>
</ins><span class="cx">
</span><del>- JIRA388672
- BRWSR-11465
- Reviewed by Rob Buis.
</del><ins>+ This behavior may be observable from the web, so we can't do it this way.
</ins><span class="cx">
</span><del>- When we queue up ParsedCookie objects for modification, we should be storing them as a refptr instead
- of a PassRefPtr.
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ * bindings/scripts/IDLAttributes.txt:
+ * bindings/scripts/test/*:
+ * dom/Element.idl:
+ * dom/Node.idl:
</ins><span class="cx">
</span><del>- * platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.h:
</del><ins>+2014-04-17 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2013-06-10 Mihnea Ovidenie <mihnea@adobe.com>
</del><ins>+ Cheesy Mountain Lion build fix.
</ins><span class="cx">
</span><del>- [CSSRegions] ASSERTION FAILED: roundedIntPoint(rendererMappedResult) == roundedIntPoint(result) in RenderGeometryMap::mapToContainer
- https://bugs.webkit.org/show_bug.cgi?id=117395
</del><ins>+ * platform/MemoryPressureHandler.h:
+ (WebCore::MemoryPressureHandler::ReliefLogger::logString):
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+2014-04-17 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Test: fast/regions/assert-flow-thread-compositing.html
</del><ins>+ [New Multicolumn] Column rules don't respect the specified stacking order.
+ https://bugs.webkit.org/show_bug.cgi?id=131804
</ins><span class="cx">
</span><del>- We should not allow RenderNamedFlowThread layers to be composited, rather their collected children should checked
- for compositing through their associated RenderRegions.
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- The assert in RenderGeometryMap::mapToContainer was hit because after https://bugs.webkit.org/show_bug.cgi?id=117270
- the render named flow threads are hooked in RenderView layer tree - with the caveat that they are not directly involved
- in hit testing/paint which is done through their associated regions.
</del><ins>+ Added fast/multicol/newmulticol/compare_with_old_impl/column-rules-stacking.html
</ins><span class="cx">
</span><del>- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::computeCompositingRequirements): Bail out if we hit a render named flow thread layer.
- (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree): Ditto.
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::paintBoxDecorations):
+ * rendering/RenderBlockFlow.h:
+ Override paintBoxDecorations for block flows so that we can iterate over our column sets
+ and paint their rules just after painting our background and border. We can't wait until
+ the child column sets paint their backgrounds, since that is specified as being above negative
+ z-index children. We have to pretend that the column sets don't exist as
+ far as column rule painting is concerned.
</ins><span class="cx">
</span><del>-2013-06-10 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::paintObject): Deleted.
+ * rendering/RenderMultiColumnSet.h:
+ Turn paintObject in RenderMultiColumnSet into an override that doesn't paint anything.
</ins><span class="cx">
</span><del>- Refactor CALCFUNCTION rules in the CSS grammar
- https://bugs.webkit.org/show_bug.cgi?id=117401
</del><ins>+2014-04-17 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Hit-testing is incorrect for plugins inside iframes when there is a
+ topContentInset
+ https://bugs.webkit.org/show_bug.cgi?id=131826
+ -and corresponding-
+ <rdar://problem/16649996>
</ins><span class="cx">
</span><del>- From Blink r149862 by <serya@chromium.org>.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Reduce the number of CALCFUNCTION rules by refactoring the closing
- parenthesis handling code.
</del><ins>+ I missed one coordinate-conversion spot when getting hit-testing to work. Like
+ headerHeight() which also manipulates the location of the root layer,
+ topContentInset() has to be factored into all of these conversions.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::convertFromRenderer):
</ins><span class="cx">
</span><del>- No new tests required as this is a refactoring, no new functionality
- added.
</del><ins>+2014-04-17 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+ Stub out MemoryPressureHandler::ReliefLogger on older OS X'es.
</ins><span class="cx">
</span><del>-2013-06-10 Radu Stavila <stavila@adobe.com>
</del><ins>+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandler::ReliefLogger::platformLog):
+ (WebCore::MemoryPressureHandler::ReliefLogger::platformMemoryUsage):
</ins><span class="cx">
</span><del>- [CSS Regions] Rename region-overflow to region-fragment
- https://bugs.webkit.org/show_bug.cgi?id=117397
</del><ins>+2014-04-17 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- Renamed -webkit-region-overflow to -webkit-region-fragment and
- webkitRegionOverflow to webkitRegionFragment according to the new working draft
- at http://www.w3.org/TR/2013/WD-css3-regions-20130528/#the-region-fragment-property
</del><ins>+ Remove CANVAS_PATH where possible
+ https://bugs.webkit.org/show_bug.cgi?id=131788
</ins><span class="cx">
</span><del>- Reviewed by Alexander Pavlov.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><ins>+ Since Firefox and Chrome ship the same interoperable subset of Path2D soon,
+ it is time to remove CANVAS_PATH where possible.
+
+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::clip):
+ (WebCore::CanvasRenderingContext2D::isPointInStroke):
+ * html/canvas/CanvasRenderingContext2D.h:
+ * html/canvas/CanvasRenderingContext2D.idl:
+ * html/canvas/DOMPath.h:
+ * html/canvas/DOMPath.idl:
+
+2014-04-17 Brendan Long <b.long@cablelabs.com>
+
+ [GStreamer] Store TrackPrivateBaseGStreamer's label and language as AtomicStrings
+ https://bugs.webkit.org/show_bug.cgi?id=130404
+
+ Reviewed by Philippe Normand.
+
+ No new tests, this just makes things more efficient.
+
+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
+ (WebCore::TrackPrivateBaseGStreamer::getLanguageCode):
+ (WebCore::TrackPrivateBaseGStreamer::getTag):
+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.h:
+
+2014-04-17 Andreas Kling <akling@apple.com>
+
+ Fix Cocoa build.
+
+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandler::ReliefLogger::platformMemoryUsage):
+
+2014-04-17 Rik Cabanier <cabanier@adobe.com>
+
+ [CSS Blending] Remove the -webkit- prefix for mix-blend-mode and isolation CSS properties
+ https://bugs.webkit.org/show_bug.cgi?id=131355
+
+ Reviewed by Dean Jackson.
+
+ Removed webkit prefix from mix-blend-mode and isolation. These properties
+ never shipped and their spec is now in CR.
+
+ Covered by existing tests.
+
</ins><span class="cx"> * css/CSSComputedStyleDeclaration.cpp:
</span><span class="cx"> (WebCore::ComputedStyleExtractor::propertyValue):
</span><span class="cx"> * css/CSSParser.cpp:
</span><span class="cx"> (WebCore::isValidKeywordPropertyAndValue):
</span><span class="cx"> (WebCore::isKeywordPropertyID):
</span><span class="cx"> (WebCore::CSSParser::parseValue):
</span><del>- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- (WebCore::CSSPrimitiveValue::operator RegionFragment):
- * css/CSSProperty.cpp:
- (WebCore::CSSProperty::isInheritedProperty):
</del><span class="cx"> * css/CSSPropertyNames.in:
</span><del>- * css/CSSValueKeywords.in:
</del><span class="cx"> * css/DeprecatedStyleBuilder.cpp:
</span><span class="cx"> (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
</span><del>- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::applyProperty):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::hasNextPage):
- * rendering/RenderRegion.cpp:
- (WebCore::RenderRegion::overflowRectForFlowThreadPortion):
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::changeRequiresLayout):
- * rendering/style/RenderStyle.h:
- * rendering/style/RenderStyleConstants.h:
- * rendering/style/StyleRareNonInheritedData.cpp:
- (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
- (WebCore::StyleRareNonInheritedData::operator==):
- * rendering/style/StyleRareNonInheritedData.h:
</del><span class="cx">
</span><del>-2013-06-10 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-04-17 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- Replace [ConstructorRaisesException] with [RaisesException]
- https://bugs.webkit.org/show_bug.cgi?id=117400
</del><ins>+ Tidy up isIsolatedInline() and highestContainingIsolateWithinRoot()
+ <http://webkit.org/b/131117>
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Reviewed by Daniel Bates.
</ins><span class="cx">
</span><del>- Replace [ConstructorRaisesException] with [RaisesException] IDL extended
- attribute and drop [ConstructorRaisesException]. It makes little sense
- to have 2 extended attributes with the same meaning.
</del><ins>+ Based on review feedback for r166650.
</ins><span class="cx">
</span><del>- [RaisesException] can now be used on IDL operations to indicate that the
- method may throw exceptions or on interfaces to indicate that the
- constructor may throw exceptions.
</del><ins>+ * rendering/InlineIterator.h:
+ (WebCore::isIsolatedInline):
+ - Switch argument to a reference since it is never called with a
+ nullptr.
+ (WebCore::highestContainingIsolateWithinRoot):
+ - Switch first argument to a reference since it's never a
+ nullptr.
+ - Use nullptr for pointer initialization.
+ - Switch while() loop to for() loop. Pass reference to
+ isIsolatedInline().
+ (WebCore::numberOfIsolateAncestors):
+ - Switch while() loop to for() loop. Pass reference to
+ isIsolatedInline().
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::constructBidiRunsForSegment):
+ - Rename startObj to startObject.
+ - No longer need to pass the address of startObject here.
</ins><span class="cx">
</span><del>- From Blink r148027 by Kentaro Hara <haraken@chromium.org>.
</del><ins>+2014-04-17 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Log number of bytes reclaimed at each step of memory pressure relief.
+ <https://webkit.org/b/131751>
</ins><span class="cx">
</span><del>- * Modules/encryptedmedia/MediaKeys.idl:
- * Modules/mediastream/RTCIceCandidate.idl:
- * Modules/mediastream/RTCPeerConnection.idl:
- * Modules/mediastream/RTCSessionDescription.idl:
- * Modules/webaudio/OfflineAudioContext.idl:
- * Modules/websockets/WebSocket.idl:
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateConstructorDefinition):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/test/TestInterface.idl:
- * bindings/scripts/test/TestNamedConstructor.idl:
- * css/WebKitCSSMatrix.idl:
- * html/HTMLOptionElement.idl:
- * page/EventSource.idl:
- * workers/SharedWorker.idl:
- * workers/Worker.idl:
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>-2013-06-10 Mátyás Mustoha <mmatyas@inf.u-szeged.hu>
</del><ins>+ * platform/MemoryPressureHandler.h:
+ * platform/MemoryPressureHandler.cpp:
+ (WebCore::MemoryPressureHandler::ReliefLogger::platformLog):
+ (WebCore::MemoryPressureHandler::ReliefLogger::platformMemoryUsage):
+ (WebCore::MemoryPressureHandler::ReliefLogger::ReliefLogger):
+ (WebCore::MemoryPressureHandler::ReliefLogger::~ReliefLogger):
+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandlerCocoa::ReliefLogger::platformMemoryUsage):
+ (WebCore::MemoryPressureHandlerCocoa::ReliefLogger::platformLog):
</ins><span class="cx">
</span><del>- Web Inspector: refactor statusBarItems getter in front-end.
- https://bugs.webkit.org/show_bug.cgi?id=110114
</del><ins>+ Add a simple RAII helper to check memory usage before and after
+ a block of code, and then dump the delta to system log.
</ins><span class="cx">
</span><del>- Reviewed by Noam Rosenthal.
</del><ins>+ (WebCore::MemoryPressureHandler::releaseMemory):
+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandler::platformReleaseMemory):
</ins><span class="cx">
</span><del>- Refactored "statusBarItems" methods from getters into functions and
- moved default implementation from Panel.js to View.js.
</del><ins>+ Use ReliefLogger to annotate the various attempts to reduce
+ our memory footprint. This will help us understand the efficiency
+ of our current strategy.
</ins><span class="cx">
</span><del>- Patch created by Andrey Lushnikov.
</del><ins>+2014-04-17 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- * inspector/front-end/AdvancedSearchController.js:
- (WebInspector.SearchView.prototype.statusBarItems):
- * inspector/front-end/ApplicationCacheItemsView.js:
- (WebInspector.ApplicationCacheItemsView.prototype.statusBarItems):
- * inspector/front-end/AuditsPanel.js:
- (WebInspector.AuditsPanel.prototype.statusBarItems):
- * inspector/front-end/CPUProfileView.js:
- (WebInspector.CPUProfileView.prototype.statusBarItems):
- * inspector/front-end/CSSSelectorProfileView.js:
- (WebInspector.CSSSelectorProfileView.prototype.statusBarItems):
- * inspector/front-end/CanvasProfileView.js:
- (WebInspector.CanvasProfileView.prototype.statusBarItems):
- (WebInspector.CanvasProfileType.prototype.statusBarItems):
- * inspector/front-end/ConsolePanel.js:
- (WebInspector.ConsolePanel.prototype.statusBarItems):
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype.statusBarItems):
- * inspector/front-end/CookieItemsView.js:
- (WebInspector.CookieItemsView.prototype.statusBarItems):
- * inspector/front-end/DOMStorageItemsView.js:
- (WebInspector.DOMStorageItemsView.prototype.statusBarItems):
- * inspector/front-end/DatabaseTableView.js:
- (WebInspector.DatabaseTableView.prototype.statusBarItems):
- * inspector/front-end/Drawer.js:
- * inspector/front-end/ElementsPanel.js:
- (WebInspector.ElementsPanel.prototype.statusBarItems):
- * inspector/front-end/ExtensionPanel.js:
- (WebInspector.ExtensionPanel.prototype.statusBarItems):
- * inspector/front-end/FileSystemView.js:
- (WebInspector.FileSystemView.prototype.statusBarItems):
- * inspector/front-end/HeapSnapshotView.js:
- * inspector/front-end/IndexedDBViews.js:
- (WebInspector.IDBDataView.prototype.statusBarItems):
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkLogView.prototype.statusBarItems):
- (WebInspector.NetworkPanel.prototype.statusBarItems):
- * inspector/front-end/Panel.js:
- (WebInspector.Panel.prototype.wasShown):
- * inspector/front-end/ProfilesPanel.js:
- (WebInspector.ProfileType.prototype.statusBarItems):
- (WebInspector.ProfilesPanel.prototype.statusBarItems):
- (WebInspector.ProfilesPanel.prototype._updateProfileTypeSpecificUI):
- (WebInspector.ProfilesPanel.prototype._showProfile):
- * inspector/front-end/ResourcesPanel.js:
- (WebInspector.ResourcesPanel.prototype.statusBarItems):
- (WebInspector.ResourcesPanel.prototype._innerShowView):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype.statusBarItems):
- * inspector/front-end/TimelinePanel.js:
- (WebInspector.TimelinePanel.prototype.statusBarItems):
- * inspector/front-end/View.js:
- (WebInspector.View.prototype.statusBarItems):
</del><ins>+ [New Multicolumn] columnNumberForOffset is not patched for new multicolumn code yet.
+ https://bugs.webkit.org/show_bug.cgi?id=131740
</ins><span class="cx">
</span><del>-2013-06-10 Benjamin Poulain <benjamin@webkit.org>
</del><ins>+ Reviewed by Enrica Casucci.
+
+ I took the opportunity to clean this code up while adding support for the new columns.
+ columnNumberForOffset only applied for paginated RenderViews and was really about
+ pages and not columns. It also only returns an actual page number if the columns are
+ block progressed (e.g., right-to-left vertical Japanese books).
+
+ Therefore I renamed columnNumberForOffset to pageNumberForBlockProgressionOffset and
+ moved it to RenderView.
+
+ I also renamed the member variable of SelectionRect to be pageNumber instead of
+ columnNumber in order to make it more obvious that this isn't about columns per se
+ (since the fact that we implemented RenderView's pagination mode using columns is an
+ implementation detail).
</ins><span class="cx">
</span><del>- Add special tree walking for the single tag or class CSS query selectors
- https://bugs.webkit.org/show_bug.cgi?id=117388
</del><ins>+ * dom/Range.cpp:
+ (WebCore::coalesceSelectionRects):
+ (WebCore::Range::collectSelectionRects):
+ * platform/ios/SelectionRect.h:
+ (WebCore::SelectionRect::pageNumber):
+ (WebCore::SelectionRect::columnNumber): Deleted.
+ * rendering/RenderImage.cpp:
+ (WebCore::RenderImage::collectSelectionRects):
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::collectSelectionRects):
+ (WebCore::RenderObject::columnNumberForOffset): Deleted.
+ * rendering/RenderObject.h:
+ * rendering/RenderText.cpp:
+ (WebCore::RenderText::collectSelectionRects):
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::pageNumberForBlockProgressionOffset):
+ * rendering/RenderView.h:
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-04-16 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Queries for a single tag name or a single class name are the most common
- input of querySelector.
</del><ins>+ [Win] A few final cleanups to the DataObject classes.
+ https://bugs.webkit.org/show_bug.cgi?id=131784
</ins><span class="cx">
</span><del>- This patch adds a simplified tree walking in those cases, only checking that particular
- case instead of a full selector.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- With the change, the balanced query selector benchmarks become 11% faster.
</del><ins>+ * platform/win/WCDataObject.cpp:
+ (WebCore::WCDataObject::clearData): Use 'last()' method.
</ins><span class="cx">
</span><del>- * css/SelectorCheckerFastPath.cpp:
- (WebCore::HTMLNames::checkClassValue):
- * dom/SelectorQuery.cpp:
- (WebCore::isSingleTagNameSelector):
- (WebCore::SelectorDataList::executeSingleTagNameSelectorData):
- (WebCore::isSingleClassNameSelector):
- (WebCore::SelectorDataList::executeSingleClassNameSelectorData):
- (WebCore::SelectorDataList::execute):
- * dom/SelectorQuery.h:
</del><ins>+2014-04-15 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>-2013-06-09 Roger Fong <roger_fong@apple.com>
</del><ins>+ Fullscreen media controls are unusable in pagination mode
+ https://bugs.webkit.org/show_bug.cgi?id=131705
</ins><span class="cx">
</span><del>- Layout info should never be cleared before delayed scroll information updates.
- https://bugs.webkit.org/show_bug.cgi?id=116689.
-
</del><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Test: fast/flexbox/clear-overflow-before-scroll-update.html
</del><ins>+ When pagination mode is enabled, the full screen media will (depending on the width of the
+ pagination columns) overflow its column, and hit testing will be clipped to the column. In extreme
+ cases, where the column width < 0.5 * media element width, the media controls will be entirely
+ unclickable.
</ins><span class="cx">
</span><del>- Make sure that clearLayoutOverflow only gets called after layer()->updateScrollInfoAfterLayout().
- Also move clearLayoutOverflow to RenderBlock so we can keep all the delayed scroll update logic in RenderBlock.
</del><ins>+ Rather than making the RenderFullScreen a child of the full screen element's parent's renderer,
+ make it a child of the RenderView, putting it outside of the columns entirely. Always create and
+ insert the fullscreenRenderer's placeholder, using it as the remembered insertion point for the
+ fullscreen element's renderer when we exit full screen.
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::finishDelayUpdateScrollInfo): Call clearLayoutOverflow here.
- (WebCore::RenderBlock::layout): Only call clearLayoutOverflow here if scrolling isn't being delayed.
- (WebCore::RenderBlock::clearLayoutOverflow): Remove clearLayoutOverflow, move into RenderBlock to keep delayed scrolling logic in the same file.
- * rendering/RenderBlock.h:
- * rendering/RenderBox.cpp:
- * rendering/RenderBox.h:
- * rendering/RenderDeprecatedFlexibleBox.cpp: Should call updateScrollInfoAfterLayout, not layer()->updateScrollInfoAfterLayout(), so that it takes delayed scrolling logic into account.
- (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
- * rendering/RenderGrid.cpp: Ditto
- (WebCore::RenderGrid::layoutBlock):
</del><ins>+ Drive-by fix: don't wrap the full screen element's renderer in webkitWillEnterFullScreenForElement();
+ it will just be re-wrapped in createRendererIfNeeded().
</ins><span class="cx">
</span><del>-2013-06-09 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::webkitWillEnterFullScreenForElement): Don't wrap the full screen element's renderer.
+ (WebCore::Document::setFullScreenRenderer): Call setPlaceholderStyle.
+ * rendering/RenderFullScreen.cpp:
+ (WebCore::RenderFullScreenPlaceholder::willBeDestroyed): Call clearPlaceholder.
+ (WebCore::RenderFullScreen::wrapRenderer): Make fullscreenRenderer a child of the view().
+ (WebCore::RenderFullScreen::unwrapRenderer): Return the children to the parent of the placeholder().
+ (WebCore::RenderFullScreen::clearPlaceholder): Renamed from setPlaceholder().
+ (WebCore::RenderFullScreen::ensurePlaceholder): Added.
+ (WebCore::RenderFullScreen::setPlaceholderStyle): Renamed from createPlaceholder().
+ (WebCore::RenderFullScreen::setPlaceholder): Deleted.
+ (WebCore::RenderFullScreen::createPlaceholder): Deleted.
+ * rendering/RenderFullScreen.h:
</ins><span class="cx">
</span><del>- Split the 3 paths of SelectorDataList::execute() into 3 separate functions
- https://bugs.webkit.org/show_bug.cgi?id=117378
</del><ins>+2014-04-16 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ [MSE] Multiple initialization segments with same codecs in tracks fail validation.
+ https://bugs.webkit.org/show_bug.cgi?id=131768
</ins><span class="cx">
</span><del>- Split those to have several small execute() fucntions instead of a giant one.
</del><ins>+ Additional initialization segments added to the same SourceBuffer with the same
+ codec values will fail validation. Update the validation check to add the correct
+ codec information for the initial segment, and check against the correct codecs during
+ the validation step.
</ins><span class="cx">
</span><del>- * dom/SelectorQuery.cpp:
- (WebCore::selectorForIdLookup):
- (WebCore::isTreeScopeRoot):
- (WebCore::SelectorDataList::executeFastPathForIdSelector):
- (WebCore::SelectorDataList::executeSingleSelectorData):
- (WebCore::SelectorDataList::executeSingleMultiSelectorData):
- (WebCore::SelectorDataList::execute):
- * dom/SelectorQuery.h:
</del><ins>+ Additionally, after validation, if successful update the Audio, Video, and TextTracks
+ for the SourceBuffer with the updated initialization segment information.
</ins><span class="cx">
</span><del>-2013-06-09 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Scrolling with platformWidget and delegateScrolling is incorrectly clamped
- https://bugs.webkit.org/show_bug.cgi?id=117369
- <rdar://problem/13985064>
</del><ins>+ Test: media/media-source/media-source-multiple-initialization-segments.html
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * Modules/mediasource/SourceBuffer.cpp:
+ (WebCore::SourceBuffer::appendBufferTimerFired): m_source may have been cleared
+ as a result of the append, so check it before using.
+ (WebCore::SourceBuffer::sourceBufferPrivateDidEndStream): Call streamEndedWithError
+ instead of endOfStream as the latter is safe to call within an update.
+ (WebCore::SourceBuffer::sourceBufferPrivateDidReceiveInitializationSegment): Ditto.
+ Update the track lists if validation succeeds.
+ (WebCore::SourceBuffer::validateInitializationSegment): Switch the audio and video
+ codec checks.
</ins><span class="cx">
</span><del>- The patch http://trac.webkit.org/changeset/142526 clamps the input position
- in the ScrollView scroll range. This was done for the path to the ScrollingCoordinator.
</del><ins>+ Add the ability for Audio, Video, and InbandTextTracks to replace their private tracks:
+ * html/track/AudioTrack.cpp:
+ (WebCore::AudioTrack::AudioTrack): Call updateKindFromPrivate().
+ (WebCore::AudioTrack::setPrivate):
+ (WebCore::AudioTrack::updateKindFromPrivate): Split out from constructor.
+ * html/track/AudioTrack.h:
+ * html/track/InbandTextTrack.cpp:
+ (WebCore::InbandTextTrack::InbandTextTrack): Call updateKindFromPrivate().
+ (WebCore::InbandTextTrack::setPrivate):
+ (WebCore::InbandTextTrack::setMode): Split up into setModeInternal().
+ (WebCore::InbandTextTrack::setModeInternal): Broke out from setMode().
+ (WebCore::InbandTextTrack::updateKindFromPrivate): Split out from constructor.
+ * html/track/InbandTextTrack.h:
+ * html/track/TextTrack.h:
+ (WebCore::TextTrack::isInband): Added, returns false.
+ * html/track/VideoTrack.cpp:
+ (WebCore::VideoTrack::VideoTrack): Call updateKindFromPrivate().
+ (WebCore::VideoTrack::setPrivate):
+ (WebCore::VideoTrack::updateKindFromPrivate): Split out from constructor.
+ * html/track/VideoTrack.h:
</ins><span class="cx">
</span><del>- The problem with that change is ScrollView::setScrollPosition() can delegate the scrolling
- to either a platformWidget, or through delegateScrolling. After r142526, the position is clamped,
- and we do not let those external scrolling mechanims handle the out-of-bound scrolling.
</del><ins>+2014-04-17 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- This patch fixes the issue by moving the threaded scrolling call to ScrollView,
- after the delegate handling code.
</del><ins>+ [New Multicolumn] Column sets below spanners don't repaint properly.
+ https://bugs.webkit.org/show_bug.cgi?id=131778
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::setScrollPosition):
- (WebCore::FrameView::requestScrollPositionUpdate):
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>-2013-06-08 Igor Oliveira <igor.o@sisa.samsung.com>
</del><ins>+ Added fast/repaint/spanner-with-margins.html.
</ins><span class="cx">
</span><del>- before/after generated content is not working with HTMLSummaryElement and HTMLDetailsElement.
- https://bugs.webkit.org/show_bug.cgi?id=117374
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::computeRectForRepaint):
+ Turn off some code that was running for in-flow RenderFlowThreads that made no sense.
+ I'm not convinced the code is right for other types of RenderFlowThreads either,
+ but will leave that to the named flow thread experts. :)
</ins><span class="cx">
</span><del>- Allow before/after pseudo generated content be added in HTMLDetailsElement and HTMLSumamaryElement.
</del><ins>+2014-04-17 Koji Ishii <kojishi@gmail.com>
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Catch up ruby and its tag omission rule changes in HTML5 CR Feb 2014
+ https://bugs.webkit.org/show_bug.cgi?id=131175
</ins><span class="cx">
</span><del>- Test: fast/css-generated-content/details-summary-before-after.html
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * html/HTMLDetailsElement.cpp:
- (WebCore::HTMLDetailsElement::childShouldCreateRenderer):
- * html/HTMLSummaryElement.cpp:
- (WebCore::HTMLSummaryElement::childShouldCreateRenderer):
</del><ins>+ Tests: html5lib/resources/ruby.dat
+ html5lib/resources/tests19.dat
</ins><span class="cx">
</span><del>-2013-06-08 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ This patch makes WebKit HTML parser to match to the tag omission rules of HTML5 CR Feb 2014:
+ http://www.w3.org/TR/2014/CR-html5-20140204/syntax.html#syntax-tag-omission
+ with the support for two new elements (rb, rtc) which were also defined in the spec:
+ http://www.w3.org/TR/2014/CR-html5-20140204/text-level-semantics.html#the-rb-element
+ http://www.w3.org/TR/2014/CR-html5-20140204/text-level-semantics.html#the-rtc-element
+ to better support use cases presented by W3C I18N WG:
+ http://www.w3.org/TR/ruby-use-cases/
</ins><span class="cx">
</span><del>- [curl] Allow headers with empty value
- https://bugs.webkit.org/show_bug.cgi?id=117344
</del><ins>+ * html/HTMLTagNames.in: rb and rtc added as HTMLElement interfaces.
+ * html/parser/HTMLConstructionSite.cpp:
+ (WebCore::hasImpliedEndTag): the spec says rb and rtc have implied end tags.
+ * html/parser/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::processStartTagForInBody): rb and rtc added. rt excludes rtc from its implied end tags.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+2014-04-17 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- No new tests, already covered by:
- http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-value.html
- http/tests/xmlhttprequest/post-blob-content-type-sync.html
</del><ins>+ Try to fix EFL and GTK builds.
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::ResourceHandleManager::initializeHandle):
</del><ins>+ * workers/WorkerGlobalScope.idl: Touch file to make it rebuild, assuming that
+ module dependencies aren't working right with CMake. Tweaked formatting quite a
+ bit while I was in here.
</ins><span class="cx">
</span><del>-2013-06-08 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+2014-04-17 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- [curl] Handling of blob elements is incorrect
- https://bugs.webkit.org/show_bug.cgi?id=117301
</del><ins>+ [New Multicolumn] REGRESSION: Column set styles don't update when zooming etc.
+ https://bugs.webkit.org/show_bug.cgi?id=131777
</ins><span class="cx">
</span><del>- Reviewed by Kenneth Rohde Christiansen.
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>- No new tests, covered by existing ones:
- http/tests/fileapi/xhr-send-form-data-filename-escaping.html
- http/tests/fileapi/xhr-send-form-data-mimetype-normalization.html
</del><ins>+ Added fast/multicol/zoom-test.html
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::getFormElementsCount): Resolve Blob elements.
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::styleDidChange):
+ Put back in the code that propagates new styles to the flow thread and column sets
+ when styles change. This propagation was removed when the column span code landed.
+ This patch puts it back in but qualifies the types of objects that get styles
+ propagated to avoid accidentally propagating the wrong style to column spans.
</ins><span class="cx">
</span><del>-2013-06-07 Alexandru Chiculita <achicu@adobe.com>
</del><ins>+2014-04-17 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- [CSS Regions] Layers inside the RenderFlowThread should be collected by the layer of RenderView
- https://bugs.webkit.org/show_bug.cgi?id=117270
</del><ins>+ Add separate flag for IndexedDatabase in workers since the current implementation is not threadsafe
+ https://bugs.webkit.org/show_bug.cgi?id=131785
+ rdar://problem/16003108
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Reviewed by Brady Eidson.
</ins><span class="cx">
</span><del>- RenderNamedFlowThreads are attached to the RenderView, but they are painted
- and hit-tested through their regions. The easiest way to prevent the RenderView
- from seeing the RenderNamedFlowThreads as its own children was to avoid collecting
- the layers of the RenderNamedFlowThreads as children layers of the RenderView.
</del><ins>+ * Configurations/FeatureDefines.xcconfig: Added INDEXED_DATABASE_IN_WORKERS.
</ins><span class="cx">
</span><del>- However, most of the code is analyzing the layers tree starting from the root,
- so having the RenderNamedFlowThread participate in the layer tree is needed
- in order to enable compositing for layers inside the flow thread.
</del><ins>+ * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp: Use the new conditional
+ instead of the old one.
+ * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h: Ditto.
+ * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Ditto.
</ins><span class="cx">
</span><del>- This patch makes the RenderNamedFlowThread visible to the RenderView, but
- ignores it when iterates the children of the RenderView in paint and hit-test methods.
</del><ins>+2014-04-17 Dan Bernstein <mitz@apple.com>
</ins><span class="cx">
</span><del>- No new tests, no visible changes.
</del><ins>+ WebCore part of <rdar://problem/16601336> [Cocoa] _userInitiated is always NO in WKNavigationAction passed to -webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:
+ https://bugs.webkit.org/show_bug.cgi?id=131783
</ins><span class="cx">
</span><ins>+ Reviewed by Tim Horton.
+
+ * loader/NavigationAction.cpp:
+ (WebCore::NavigationAction::NavigationAction): Initialize m_processingUserGesture to
+ ScriptController::processingUserGesture() at the time the NavigationAction is constructed.
+ * loader/NavigationAction.h:
+ Added boolean member variable m_processionUserGesture
+ (WebCore::NavigationAction::processingUserGesture): Added this getter.
+
+2014-04-17 Ion Rosca <rosca@adobe.com>
+
+ [CSS Blending] Isolation descendant dependent flags are not updated correctly
+ https://bugs.webkit.org/show_bug.cgi?id=130892
+
+ Reviewed by Dean Jackson.
+
+ The isolation descendant dependent flag (m_hasUnisolatedBlendingDescendants)
+ will help us to determine if a layer should isolate blending descendants or not.
+ The m_hasUnisolatedBlendingDescendants flag should be set for layers that have blending descendant layers
+ not isolated by descendant stacking contexts.
+ An element isolatesBlending() if it has this flag set and creates stacking context.
+
+ Tests: css3/compositing/blend-mode-isolation-flags-append-non-stacking-context-blending.html
+ css3/compositing/blend-mode-isolation-flags-append-stacking-context-blending.html
+ css3/compositing/blend-mode-isolation-flags-remove-non-stacking-context-blending.html
+ css3/compositing/blend-mode-isolation-flags-remove-stacking-context-blending.html
+ css3/compositing/blend-mode-isolation-flags-turn-off-blending-no-isolation.html
+ css3/compositing/blend-mode-isolation-flags-turn-off-blending.html
+ css3/compositing/blend-mode-isolation-flags-turn-off-stacking-context.html
+ css3/compositing/blend-mode-isolation-flags-turn-on-blending.html
+ css3/compositing/blend-mode-isolation-flags-turn-on-stacking-context.html
+
</ins><span class="cx"> * rendering/RenderLayer.cpp:
</span><del>- (WebCore::RenderLayer::paintList):
- (WebCore::RenderLayer::hitTestList):
- (WebCore::RenderLayer::calculateLayerBounds):
- (WebCore::RenderLayer::collectLayers):
- * rendering/RenderTreeAsText.cpp:
- (WebCore::writeLayers):
</del><ins>+ (WebCore::RenderLayer::RenderLayer):
+ (WebCore::RenderLayer::updateBlendMode):
+ (WebCore::RenderLayer::updateAncestorChainHasBlendingDescendants):
+ When a layer has blending and it hasn't had it before, we set the isolation
+ flag for all its ancestors up to the first layer creating stacking context.
+ I removed the isComposited() check here. Isolation flags should be correct regardless
+ of compositing state. Moreover, if this method is called from styleChanged(),
+ the compositing state might not be accurate, it's going to be recalculated afterwards.
+ (WebCore::RenderLayer::dirtyAncestorChainHasBlendingDescendants):
+ When a layer doesn't have blending, but it used to have it before, we mark
+ the isolation flag as dirty for all its ancestors up to the first layer
+ creating stacking context. The isolation flags will be recalculated by
+ RenderLayer::updateDescendantDependentFlags.
+ (WebCore::RenderLayer::updateDescendantDependentFlags):
+ Evaluates if the layer has unisolated blending descendants by traversing
+ the layer subtree.
+ (WebCore::RenderLayer::addChild):
+ When adding a subtree that has blending or has some unisolated descendants,
+ we set the flag for all the ancestors, up to the stacking context layer.
+ (WebCore::RenderLayer::removeChild):
+ When removing a subtree that had blending or had some unisolated descendants,
+ we dirty the flag so that it could be reevaluated.
+ (WebCore::RenderLayer::calculateClipRects):
+ (WebCore::RenderLayer::updateTransform):
+ * rendering/RenderLayer.h:
+ Rename m_hasBlendedElementInChildStackingContext => m_hasUnisolatedBlendingDescendants
+ and m_hasBlendedElementInChildStackingContextStatusDirty => m_hasUnisolatedBlendingDescendantsStatusDirty,
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::computeCompositingRequirements):
+ Add an assert to make sure that if m_hasUnisolatedCompositedBlendingDescendants is true,
+ then m_hasUnisolatedBlendingDescendants is true as well.
</ins><span class="cx">
</span><del>-2013-06-07 Bear Travis <betravis@adobe.com>
</del><ins>+2014-04-17 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- [CSS Exclusions][CSS Shapes] Incorrect compile flag in LayoutState.h
- https://bugs.webkit.org/show_bug.cgi?id=117318
</del><ins>+ Uninline blend(Color, Color) to get AnimationUtilities out of Color.h
+ https://bugs.webkit.org/show_bug.cgi?id=131781
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- m_exclusionShapeInsideInfo should be guarded by the CSS_SHAPES flag,
- not the CSS_EXCLUSIONS flag.
</del><ins>+ * platform/graphics/Color.cpp:
+ (WebCore::blend):
+ Un-inline.
</ins><span class="cx">
</span><del>- No tests required.
</del><ins>+ * platform/graphics/Color.h:
+ No more AnimationUtilities.
</ins><span class="cx">
</span><del>- * rendering/LayoutState.h:
</del><ins>+2014-04-16 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>-2013-06-07 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Fix the build after r167412
</ins><span class="cx">
</span><del>- Get rid of outdated raises() from Web IDL
- https://bugs.webkit.org/show_bug.cgi?id=117350
</del><ins>+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::updateScrollbars):
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-04-16 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Stop using "raises()" in the IDL as this is no longer part of the Web IDL
- specification. Web IDL no longer specifies exceptions for operations. Instead
- it is now explained in prose.
</del><ins>+ [iOS][WK2] Fix annoying scrolling bugs
+ https://bugs.webkit.org/show_bug.cgi?id=131722
</ins><span class="cx">
</span><del>- WebKit still needs to know if the method can throw an exception (but does not
- need the exception name) so this patch adds a WebKit specific IDL extended
- attribute: [RaisesException]. The naming is consistent with Blink.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- This results in more standard and concise IDL. This also simplifies a lot
- the code of the IDL parser.
</del><ins>+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::updateScrollbars):
+ Since ScrollingStateScrollingNode::setRequestedScrollPosition() was added, we see ScrollView::updateScrollbars()
+ keep changing the scroll position to incorrect values.
</ins><span class="cx">
</span><ins>+ On iOS, the scrollbars are handled by the native UI, the code just compute incorrect scroll position. On WebKit1,
+ the code does not run because there is a platformWidget().
+
+ Just #ifdef the whole useless code.
+
+2014-04-16 Alexandru Chiculita <achicu@adobe.com>
+
+ Improve performance of the RenderLayerCompositor::OverlapMap
+ https://bugs.webkit.org/show_bug.cgi?id=115063
+
+ Reviewed by Simon Fraser.
+
+ No new tests, no new functionality or behavior.
+
+ Do not use the OverlapMap in RenderLayerCompositor::computeCompositingRequirements if the layer already
+ has a 3D transform. This way we can avoid a potential expensive lookups when we know for sure the layer
+ is already supposed to be composited.
+
+ Also, added a bounding box of the overlap map, so that it can catch cases when the new layer is not overlapping
+ any of the previous layers. This is pretty common when having composited layers laid out in a vertical/horizontal list.
+
+
+ * rendering/RenderLayerCompositor.cpp:
+ (OverlapMapContainer):
+ (WebCore::OverlapMapContainer::add):
+ (WebCore::OverlapMapContainer::overlapsLayers):
+ (WebCore::OverlapMapContainer::unite):
+ (WebCore):
+ (WebCore::RenderLayerCompositor::OverlapMap::add):
+ (WebCore::RenderLayerCompositor::OverlapMap::overlapsLayers):
+ (WebCore::RenderLayerCompositor::OverlapMap::pushCompositingContainer):
+ (WebCore::RenderLayerCompositor::OverlapMap::popCompositingContainer):
+ (RenderLayerCompositor::OverlapMap):
+ (WebCore::RenderLayerCompositor::computeCompositingRequirements):
+
+2014-04-16 Brian J. Burg <burg@cs.washington.edu>
+
+ Web Replay: memoize fallback time values for document.lastModified
+ https://bugs.webkit.org/show_bug.cgi?id=131318
+
+ Reviewed by Joseph Pecoraro.
+
+ If a document's Last-Modified header can't be found or used, then
+ document.lastModified is derived from the current system time or
+ from filesystem data, which is obviously nondeterministic.
+
+ It's better to handle this inside Document::lastModified rather than using
+ MemoizedDOMResult, because only the fallback case is nondeterministic.
+
+ Test: http/tests/inspector/replay/document-last-modified-fallback-value.html
+
+ The test is skipped for now, as it will be very flaky without the
+ functionality introduced by bugs 130728 and 129391.
+
+ * dom/Document.cpp:
+ (WebCore::Document::lastModified): Save or reuse memoized fallback value.
+ * replay/WebInputs.json: Add input DocumentLastModifiedDate.
+
+2014-04-16 David Hyatt <hyatt@apple.com>
+
+ [New Multicolumn] Selection gets confused when the mouse is in the column gaps.
+ https://bugs.webkit.org/show_bug.cgi?id=131739
+
+ Reviewed by Enrica Casucci.
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::selectionGaps):
+ Make sure not to paint selection gaps. This matches the old multi-column behavior. Even though
+ selection gaps *nearly* work with the new multi-column code, I am disabling them so that we
+ can turn them on without visual regressions.
+
+ (WebCore::isChildHitTestCandidate):
+ Don't allow in-flow RenderFlowThreads to be descended into from positionForPoint. We always want
+ to look only at the spanners and at the sets.
+
+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::nodeAtPoint):
+ * rendering/RenderMultiColumnFlowThread.h:
+ Override nodeAtPoint to disallow the RenderMultiColumnFlowThread from being considered for hit
+ testing when no DOM node is found. It's better to just let RenderBlock's positionForPoint run
+ to drill back down into the appropriate column set.
+
+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::positionForPoint):
+ Implement positionForPoint for RenderMultiColumnSets. This is a straight-up port of the
+ old multi-column code's adjustPointToColumnContents function.
+
+ * rendering/RenderMultiColumnSet.h:
+ Add override of positionForPoint.
+
+2014-04-16 Dean Jackson <dino@apple.com>
+
+ MediaDocument on iOS should be full page
+ https://bugs.webkit.org/show_bug.cgi?id=131774
+
+ Reviewed by Jer Noble.
+
+ A MediaDocument on iOS has two problems. It can't rely
+ on intrinsic size, since it doesn't load the content until
+ a user gesture. Secondly, on a small screen you want the
+ media to fill the page.
+
+ Add width/height 100% for iOS documents.
+
+ Test: platform/iphone-simulator/media/media-document-controls-size.html
+
+ * html/MediaDocument.cpp:
+ (WebCore::MediaDocumentParser::createDocumentStructure):
+
+2014-04-16 Roger Fong <roger_fong@apple.com>
+
+ Add a way for layout tests to determine whether or not a plugin is snapshotted.
+ https://bugs.webkit.org/show_bug.cgi?id=131650.
+ <rdar://problem/16615528>
+
+ Reviewed by Dean Jackson.
+
+ * testing/Internals.cpp:
+ (WebCore::Internals::isPluginSnapshotted):
+ * testing/Internals.h:
+ * testing/Internals.idl:
+
+2014-04-16 Zoltan Horvath <zoltan@webkit.org>
+
+ Vanish unnecessary includes from Shapes.{h|cpp}
+ https://bugs.webkit.org/show_bug.cgi?id=131762
+
+ Reviewed by Andreas Kling.
+
</ins><span class="cx"> No new tests, no behavior change.
</span><span class="cx">
</span><del>- * Modules/battery/BatteryManager.idl:
- * Modules/encryptedmedia/MediaKeySession.idl:
- * Modules/encryptedmedia/MediaKeys.idl:
- * Modules/filesystem/DirectoryEntrySync.idl:
- * Modules/filesystem/DirectoryReaderSync.idl:
- * Modules/filesystem/EntrySync.idl:
- * Modules/filesystem/FileEntrySync.idl:
- * Modules/filesystem/FileWriter.idl:
- * Modules/filesystem/FileWriterSync.idl:
- * Modules/filesystem/WorkerContextFileSystem.idl:
- * Modules/indexeddb/IDBCursor.idl:
- * Modules/indexeddb/IDBDatabase.idl:
- * Modules/indexeddb/IDBFactory.idl:
- * Modules/indexeddb/IDBIndex.idl:
- * Modules/indexeddb/IDBKeyRange.idl:
- * Modules/indexeddb/IDBObjectStore.idl:
- * Modules/indexeddb/IDBRequest.idl:
- * Modules/indexeddb/IDBTransaction.idl:
- * Modules/mediasource/MediaSource.idl:
- * Modules/mediasource/SourceBuffer.idl:
- * Modules/mediasource/SourceBufferList.idl:
- * Modules/mediastream/MediaStream.idl:
- * Modules/mediastream/MediaStreamTrack.idl:
- * Modules/mediastream/NavigatorMediaStream.idl:
- * Modules/mediastream/RTCDTMFSender.idl:
- * Modules/mediastream/RTCDataChannel.idl:
- * Modules/mediastream/RTCPeerConnection.idl:
- * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
- * Modules/networkinfo/NetworkInfoConnection.idl:
- * Modules/notifications/Notification.idl:
- * Modules/notifications/NotificationCenter.idl:
- * Modules/speech/SpeechRecognition.idl:
- * Modules/vibration/NavigatorVibration.idl:
- * Modules/webaudio/AudioBuffer.idl:
- * Modules/webaudio/AudioContext.idl:
- * Modules/webaudio/AudioNode.idl:
- * Modules/webdatabase/DOMWindowWebDatabase.idl:
- * Modules/webdatabase/DatabaseSync.idl:
- * Modules/webdatabase/WorkerContextWebDatabase.idl:
- * Modules/websockets/WebSocket.idl:
- * bindings/scripts/CodeGeneratorCPP.pm:
- (GenerateImplementation):
- * bindings/scripts/CodeGeneratorGObject.pm:
- (GenerateFunction):
- (GenerateFunctions):
</del><ins>+ * rendering/shapes/BoxShape.h:
+ * rendering/shapes/Shape.cpp:
+ * rendering/shapes/Shape.h:
+ * rendering/shapes/ShapeOutsideInfo.h:
+
+2014-04-16 Andreas Kling <akling@apple.com>
+
+ Revert direct caching of tagName and nodeName from r167383.
+
+ Ryosuke tells me this is not entirely safe, will need to rethink.
+
+ * dom/Element.idl:
+ * dom/Node.idl:
+
+2014-04-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
+
+ Improve security mitigation added in webkit r94001.
+ We missed the case where attachLine was called when we already had an inline box wrapper.
+ https://bugs.webkit.org/show_bug.cgi?id=127285
+
+ Reviewed by Brent Fulgham.
+
+ Merged from Blink: https://src.chromium.org/viewvc/blink?revision=150697&view=revision
+
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::positionLineBox):
+ * rendering/RenderBox.h:
+ (WebCore::RenderBox::setInlineBoxWrapper):
+
+2014-04-16 Bem Jones-Bey <bjonesbe@adobe.com>
+
+ Fix CodeGenerator.pm to only write files if the generated content has changed
+ https://bugs.webkit.org/show_bug.cgi?id=131756
+
+ Reviewed by Sam Weinig.
+
+ To improve build speed, don't touch generated files unless the newly
+ generated content is actually different.
+
+ * bindings/scripts/CodeGenerator.pm:
+ (UpdateFile):
+
+2014-04-16 Andreas Kling <akling@apple.com>
+
+ Add a way to cache never-changing IDL attributes in the wrapper.
+ <https://webkit.org/b/131759>
+
+ Some IDL attributes will always return the same value when queried
+ on an object, so let's have a way to avoid calling into C++ code
+ every time they are queried.
+
+ This patch adds a custom IDL thingy called "ReturnsCacheableValue"
+ which causes the code generator to emit code to cache the returned
+ value directly in the JS wrapper object.
+
+ Reviewed by Oliver Hunt.
+
+ * bindings/scripts/IDLAttributes.txt:
</ins><span class="cx"> * bindings/scripts/CodeGeneratorJS.pm:
</span><span class="cx"> (GenerateImplementation):
</span><del>- (GenerateParametersCheck):
- (GenerateImplementationFunctionCall):
- (GenerateConstructorDefinition):
- * bindings/scripts/CodeGeneratorObjC.pm:
- (GenerateImplementation):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/IDLParser.pm:
- (parseOperationRest):
- * bindings/scripts/test/TestEventTarget.idl:
- * bindings/scripts/test/TestObj.idl:
- * bindings/scripts/test/TestSupplemental.idl:
- * bindings/scripts/test/TestTypedefs.idl:
- * css/CSSHostRule.idl:
- * css/CSSMediaRule.idl:
- * css/CSSPrimitiveValue.idl:
- * css/CSSStyleDeclaration.idl:
- * css/CSSStyleSheet.idl:
- * css/CSSSupportsRule.idl:
- * css/FontLoader.idl:
- * css/MediaList.idl:
- * css/WebKitCSSMatrix.idl:
- * dom/CharacterData.idl:
- * dom/DOMImplementation.idl:
- * dom/DataTransferItemList.idl:
- * dom/Document.idl:
- * dom/DocumentFragment.idl:
- * dom/DocumentType.idl:
</del><ins>+
+ Add ReturnsCacheableValue custom attribute.
+
</ins><span class="cx"> * dom/Element.idl:
</span><del>- * dom/EventTarget.idl:
- * dom/MessagePort.idl:
- * dom/MutationObserver.idl:
- * dom/NamedNodeMap.idl:
</del><span class="cx"> * dom/Node.idl:
</span><del>- * dom/NodeIterator.idl:
- * dom/Range.idl:
- * dom/ShadowRoot.idl:
- * dom/Text.idl:
- * dom/WebKitNamedFlow.idl:
- * fileapi/FileReader.idl:
- * fileapi/FileReaderSync.idl:
- * html/DOMTokenList.idl:
- * html/HTMLCanvasElement.idl:
- * html/HTMLDialogElement.idl:
- * html/HTMLElement.idl:
- * html/HTMLEmbedElement.idl:
- * html/HTMLFrameElement.idl:
- * html/HTMLIFrameElement.idl:
- * html/HTMLInputElement.idl:
- * html/HTMLMediaElement.idl:
- * html/HTMLObjectElement.idl:
- * html/HTMLOptionsCollection.idl:
- * html/HTMLSelectElement.idl:
- * html/HTMLTableElement.idl:
- * html/HTMLTableRowElement.idl:
- * html/HTMLTableSectionElement.idl:
- * html/HTMLTextAreaElement.idl:
- * html/HTMLVideoElement.idl:
- * html/MediaController.idl:
- * html/TimeRanges.idl:
- * html/canvas/CanvasGradient.idl:
- * html/canvas/CanvasRenderingContext2D.idl:
- * html/canvas/DOMPath.idl:
- * html/canvas/DataView.idl:
- * html/canvas/OESVertexArrayObject.idl:
- * html/canvas/WebGLDebugShaders.idl:
- * html/canvas/WebGLRenderingContext.idl:
- * html/track/AudioTrackList.idl:
- * html/track/TextTrack.idl:
- * html/track/TextTrackCue.idl:
- * html/track/TextTrackList.idl:
- * html/track/VideoTrackList.idl:
- * loader/appcache/DOMApplicationCache.idl:
- * page/Crypto.idl:
- * page/DOMSelection.idl:
- * page/DOMWindow.idl:
- * page/EventSource.idl:
- * page/History.idl:
- * page/Performance.idl:
- * storage/Storage.idl:
- * svg/SVGAngle.idl:
- * svg/SVGAnimationElement.idl:
- * svg/SVGColor.idl:
- * svg/SVGDocument.idl:
- * svg/SVGLength.idl:
- * svg/SVGLengthList.idl:
- * svg/SVGLocatable.idl:
- * svg/SVGMatrix.idl:
- * svg/SVGNumberList.idl:
- * svg/SVGPaint.idl:
- * svg/SVGPathSegList.idl:
- * svg/SVGPointList.idl:
- * svg/SVGStringList.idl:
- * svg/SVGTextContentElement.idl:
- * svg/SVGTransformList.idl:
- * testing/InternalSettings.idl:
- * testing/Internals.idl:
- * workers/AbstractWorker.idl:
- * workers/DedicatedWorkerContext.idl:
- * workers/Worker.idl:
- * workers/WorkerContext.idl:
- * xml/XMLHttpRequest.idl:
- * xml/XMLHttpRequestUpload.idl:
- * xml/XMLSerializer.idl:
- * xml/XPathEvaluator.idl:
- * xml/XPathExpression.idl:
- * xml/XPathResult.idl:
</del><span class="cx">
</span><del>-2013-06-07 Brady Eidson <beidson@apple.com>
</del><ins>+ Annotate some attributes that return fully cacheable values.
</ins><span class="cx">
</span><del>- REGRESSION (r151088): Crash navigating away from non-loaded main resources with non-loaded scripts.
- <rdar://problem/14052886> and https://bugs.webkit.org/show_bug.cgi?id=117278
</del><ins>+ * bindings/scripts/test/*:
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Rebaseline.
</ins><span class="cx">
</span><del>- Test: http/tests/navigation/slow-loading-page-with-slow-script.php
</del><ins>+2014-04-16 Noel Gordon <noel.gordon@gmail.com>
</ins><span class="cx">
</span><del>- * html/parser/HTMLScriptRunner.cpp:
- (WebCore::HTMLScriptRunner::isPendingScriptReady): The script runner might be told about a script
- after it has already been detached (the main resource load has finished/failed/cancelled).
- Don't dereference a null document in that case.
</del><ins>+ Progressive JPEG outputScanlines() calls should handle failure
+ https://bugs.webkit.org/show_bug.cgi?id=116701
</ins><span class="cx">
</span><del>-2013-06-07 Andy Estes <aestes@apple.com>
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- Compile WebCoreTestShimLibrary.cpp on iOS, but exclude the Carbon bits
- https://bugs.webkit.org/show_bug.cgi?id=117360
</del><ins>+ outputScanlines() can fail and delete |this|. Copy the decoder pointer
+ member and use that copy to detect and handle the failure case.
</ins><span class="cx">
</span><del>- Reviewed by Mark Rowe.
</del><ins>+ * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
+ (WebCore::JPEGImageReader::decode):
</ins><span class="cx">
</span><del>- In r150114 we tried to make the WebCoreTestShim target build on iOS by
- excluding its only source file from the build. While this allowed the
- target to build, it prevented the target's product (WebCoreTestShim.dylib)
- from being created. This causes xcodebuild to fail if you ask it to
- install the target.
</del><ins>+2014-04-16 Robert Sipka <sipka@inf.u-szeged.hu>
</ins><span class="cx">
</span><del>- Fix this by building the target's product on iOS. Just use the
- preprocessor to exclude the bits that won't build on iOS.
</del><ins>+ [curl] Add WEB_TIMING support
+ https://bugs.webkit.org/show_bug.cgi?id=127555
</ins><span class="cx">
</span><del>- * Configurations/WebCoreTestShim.xcconfig:
- * testing/WebCoreTestShimLibrary.cpp:
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>-2013-06-07 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Access timing information related to navigation.
</ins><span class="cx">
</span><del>- REGRESSION: Lines jump up and down while typing Chinese or Japanese
- https://bugs.webkit.org/show_bug.cgi?id=115931
</del><ins>+ * platform/network/curl/ResourceHandleManager.cpp:
+ (WebCore::milisecondsSinceRequest):
+ (WebCore::calculateWebTimingInformations):
+ (WebCore::sockoptfunction):
+ (WebCore::headerCallback):
+ (WebCore::ResourceHandleManager::downloadTimerCallback):
+ (WebCore::ResourceHandleManager::dispatchSynchronousJob):
+ (WebCore::ResourceHandleManager::initializeHandle):
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-04-16 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- The bug was caused by Font::width caching the width of text even when the font fallbacks existed when fallbackFonts
- argument was null; because of this, a later call to Font::width was returning the width without filling up
- fallbackFonts even if it was not null this time.
</del><ins>+ Cleanup header includes in ShapeOutsideInfo.h
+ https://bugs.webkit.org/show_bug.cgi?id=131750
</ins><span class="cx">
</span><del>- Fixed the bug by adding a local fallback fonts hash set, and checking the emptiness of this variable in Font::width.
- Also added pass fallbackFonts around in various places to make use of the cached font fallbacks.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- No new tests. Unfortunately I haven't been able to make a reliable reduction for this bug.
</del><ins>+ Make the build faster by removing unnecessary header includes.
</ins><span class="cx">
</span><del>- * platform/graphics/Font.cpp:
- (WebCore::Font::width):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::measureHyphenWidth):
- (WebCore::setLogicalWidthForTextRun):
- (WebCore::textWidth):
- (WebCore::tryHyphenating):
- (WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
- * rendering/RenderText.cpp:
- (WebCore::maxWordFragmentWidth):
- (WebCore::RenderText::computePreferredLogicalWidths):
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><del>-2013-06-07 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ * rendering/shapes/ShapeOutsideInfo.h:
</ins><span class="cx">
</span><del>- [regression] build failure WebKitFontFamilyNames.h missing
- https://bugs.webkit.org/show_bug.cgi?id=117178
</del><ins>+2014-04-16 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Fix the iOS build.
</ins><span class="cx">
</span><del>- * GNUmakefile.am: Make libPlatform and other sources depend on the generated platform sources. This should prevent
- build failures in source code that's depending on the generated platform sources.
</del><ins>+ * platform/graphics/cg/BitmapImageCG.cpp:
+ (WebCore::BitmapImage::draw):
</ins><span class="cx">
</span><del>-2013-06-07 Chris Fleizach <cfleizach@apple.com>
</del><ins>+2014-04-16 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- MathML line fraction needs to parse number values
- https://bugs.webkit.org/show_bug.cgi?id=117305
</del><ins>+ DataTransfer should cache its FileList
+ https://bugs.webkit.org/show_bug.cgi?id=131694
</ins><span class="cx">
</span><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- The line fraction thickness was not handling arbitrary thickness numbers.
- The accessibility code was not handling default values for line thickness, so
- it made sense to have AX rely on the RenderFraction object to retrive the thickness.
</del><ins>+ Test: fast/events/data-transfer-files-attribute-identity.html
</ins><span class="cx">
</span><del>- Modified existing tests to cover new behavior.
</del><ins>+ * bindings/js/SerializedScriptValue.cpp: (WebCore::CloneDeserializer::readTerminal):
+ Switched to a new FileList constructor, CloneDeserializer doesn't really need to modify
+ the FileList with append().
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::mathLineThickness):
- * rendering/mathml/RenderMathMLFraction.cpp:
- (WebCore::RenderMathMLFraction::updateFromElement):
- * rendering/mathml/RenderMathMLFraction.h:
- (WebCore::RenderMathMLFraction::lineThickness):
- (WebCore::toRenderMathMLFraction):
</del><ins>+ * dom/DataTransfer.h:
+ * dom/DataTransfer.cpp:
+ (WebCore::DataTransfer::types): Added a FIXME.
+ (WebCore::DataTransfer::files): Changed to reuse a cached FileList. It's currently
+ easy, because we don't support DataTransferItemList. Once we do, making any changes
+ through it will also require updating the FileList in a way that doesn't replace
+ File objects for unchanged files.
</ins><span class="cx">
</span><del>-2013-06-07 Claudio Saavedra <csaavedra@igalia.com>
</del><ins>+ * fileapi/FileList.h:
+ (WebCore::FileList::create):
+ (WebCore::FileList::isEmpty):
+ (WebCore::FileList::FileList):
+ (WebCore::FileList::append):
+ (WebCore::FileList::clear):
+ Made non-const functions private, because neither DataTransfer nor FileInputType
+ expect the list to be modified without their knowledge. Added a new Vector based
+ constructor so that a FileList could be created without the use of append().
</ins><span class="cx">
</span><del>- [rendering] Use foreground color to render the overtype caret
- https://bugs.webkit.org/show_bug.cgi?id=117347
</del><ins>+ * html/FileInputType.cpp: (WebCore::FileInputType::createFileList): Simplified
+ the code a little bit. FileInputType still needs to modify the list for clear(),
+ but doesn't need to add to it dynamically - unlike with DataTransfer, it's expected
+ to create a new FileList when it's modified.
</ins><span class="cx">
</span><ins>+2014-04-15 Brent Fulgham <bfulgham@apple.com>
+
+ [Win] Eliminate use of deleteAllValues in Windows Files
+ https://bugs.webkit.org/show_bug.cgi?id=131631
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Currently, the overtype caret is rendered using the colors of
- a normal selection, which is confusing. This patch enables RenderObject
- to differentiate between a normal and a overtype caret selection,
- in order to use a different color for the latter.
</del><ins>+ Update to use std::unique_ptr for object lifetime. Get rid of
+ deleteAllValues now that it is no loner needed. Use ranged for
+ loops where possible.
</ins><span class="cx">
</span><del>- Also, let RenderView update the selection if this is unchanged
- when going from a overtype caret to one character selection and
- viceversa.
</del><ins>+ * platform/win/WCDataObject.cpp:
+ (WebCore::WCEnumFormatEtc::WCEnumFormatEtc):
+ (WebCore::WCDataObject::~WCDataObject):
+ (WebCore::WCDataObject::GetData):
+ (WebCore::WCDataObject::QueryGetData):
+ (WebCore::WCDataObject::SetData):
+ (WebCore::WCDataObject::clearData):
+ * platform/win/WCDataObject.h:
</ins><span class="cx">
</span><del>- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::selectionBackgroundColor):
- * rendering/RenderView.cpp:
- (WebCore::RenderView::setSelection):
- * rendering/RenderView.h:
</del><ins>+2014-04-16 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>-2013-06-07 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ AX: Accessing a table cell with an invalid column header crashes
+ https://bugs.webkit.org/show_bug.cgi?id=131719
</ins><span class="cx">
</span><del>- Get rid of outdated getter / setter raises from Web IDL
- https://bugs.webkit.org/show_bug.cgi?id=117346
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><ins>+ If no tableCell is available as a column/row header, then do not continue processing.
+
+ Test: accessibility/table-missing-column-header-crash.html
+
+ * accessibility/AccessibilityTableCell.cpp:
+ (WebCore::AccessibilityTableCell::columnHeaders):
+ (WebCore::AccessibilityTableCell::rowHeaders):
+
+2014-04-16 Brendan Long <b.long@cablelabs.com>
+
+ [GTK] Fix unused parameter warnings
+ https://bugs.webkit.org/show_bug.cgi?id=131721
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Stop using "getter / setter raises" in the IDL as this is no longer part of
- the Web IDL specification. Web IDL no longer specifies exceptions for
- attribute getters or setters. Instead, it is now explained in prose.
</del><ins>+ * bindings/js/JSMediaStreamCapabilitiesCustom.cpp:
+ (WebCore::toJS): Remove unused 'exec' parameter.
</ins><span class="cx">
</span><del>- WebKit still needs to know if the getter / setter can throw an exception
- (but does not need the exception name) so this patch adds 2 WebKit specific
- IDL extended attributes: [GetterRaisesException] / [SetterRaisesException].
- The naming is consistent with Blink.
</del><ins>+2014-04-16 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- This results in more standard and concise IDL. This also simplifies a lot
- the code of the IDL parser.
</del><ins>+ Convert the boolean param of Image::startAnimation() to an enum
+ https://bugs.webkit.org/show_bug.cgi?id=131742
</ins><span class="cx">
</span><del>- Note that this patch does not remove "raises()" from the IDL methods yet.
- This should be replaced by [RaisesException] IDL extended attribute in a
- later patch.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Use an enum to make the code more readable.
</ins><span class="cx">
</span><del>- * Modules/indexeddb/IDBRequest.idl:
- * Modules/mediasource/MediaSource.idl:
- * Modules/mediasource/SourceBuffer.idl:
- * Modules/mediastream/RTCDataChannel.idl:
- * Modules/mediastream/RTCPeerConnection.idl:
- * Modules/mediastream/RTCSessionDescription.idl:
- * Modules/mediastream/RTCStatsResponse.idl:
- * Modules/webaudio/AnalyserNode.idl:
- * Modules/webaudio/AudioBufferSourceNode.idl:
- * Modules/webaudio/AudioNode.idl:
- * Modules/webdatabase/SQLResultSet.idl:
- * bindings/scripts/CodeGeneratorCPP.pm:
- (GenerateImplementation):
- * bindings/scripts/CodeGeneratorGObject.pm:
- (GenerateProperty):
- (GenerateFunctions):
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateImplementation):
- * bindings/scripts/CodeGeneratorObjC.pm:
- (GenerateImplementation):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/IDLParser.pm:
- (parseAttributeRest):
- (parseAttributeRestOld):
- * bindings/scripts/test/TestObj.idl:
- * bindings/scripts/test/TestTypedefs.idl:
- * css/CSSCharsetRule.idl:
- * css/CSSRule.idl:
- * css/CSSStyleDeclaration.idl:
- * css/CSSValue.idl:
- * css/MediaList.idl:
- * dom/Attr.idl:
- * dom/CharacterData.idl:
- * dom/Document.idl:
- * dom/Node.idl:
- * dom/ProcessingInstruction.idl:
- * dom/Range.idl:
- * dom/ShadowRoot.idl:
- * dom/TreeWalker.idl:
- * html/HTMLElement.idl:
- * html/HTMLInputElement.idl:
- * html/HTMLMarqueeElement.idl:
- * html/HTMLMediaElement.idl:
- * html/HTMLMeterElement.idl:
- * html/HTMLOptionElement.idl:
- * html/HTMLOptionsCollection.idl:
- * html/HTMLProgressElement.idl:
- * html/HTMLSelectElement.idl:
- * html/HTMLTableElement.idl:
- * html/HTMLTextAreaElement.idl:
- * html/MediaController.idl:
- * html/track/TextTrackCue.idl:
- * html/track/TextTrackRegion.idl:
- * page/DOMWindow.idl:
- * storage/Storage.idl:
- * svg/SVGAltGlyphElement.idl:
- * svg/SVGAngle.idl:
- * svg/SVGAnimatedBoolean.idl:
- * svg/SVGAnimatedEnumeration.idl:
- * svg/SVGAnimatedInteger.idl:
- * svg/SVGAnimatedNumber.idl:
- * svg/SVGAnimatedString.idl:
- * svg/SVGElement.idl:
- * svg/SVGGlyphRefElement.idl:
- * svg/SVGLangSpace.idl:
- * svg/SVGLength.idl:
- * svg/SVGPreserveAspectRatio.idl:
- * svg/SVGSVGElement.idl:
- * svg/SVGScriptElement.idl:
- * svg/SVGStyleElement.idl:
- * svg/SVGViewSpec.idl:
- * xml/XMLHttpRequest.idl:
- * xml/XPathResult.idl:
</del><ins>+ * platform/graphics/BitmapImage.cpp:
+ (WebCore::BitmapImage::startAnimation):
+ * platform/graphics/BitmapImage.h:
+ * platform/graphics/Image.cpp:
+ (WebCore::Image::drawTiled):
+ * platform/graphics/Image.h:
+ (WebCore::Image::startAnimation):
+ * svg/graphics/SVGImage.cpp:
+ (WebCore::SVGImage::startAnimation):
+ * svg/graphics/SVGImage.h:
</ins><span class="cx">
</span><del>-2013-06-07 Kangil Han <kangil.han@samsung.com>
</del><ins>+2014-04-16 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Remove unused header includes in Document
- https://bugs.webkit.org/show_bug.cgi?id=117339
</del><ins>+ Make sure to skip the RenderMultiColumnFlowThread when resolving percentage heights inside columns against
+ containing blocks. The flow thread's auto height should not interfere if a fixed height is specified on
+ an ancestor.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ https://bugs.webkit.org/show_bug.cgi?id=131741
</ins><span class="cx">
</span><del>- Minor code cleanup.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- * dom/Document.h:
</del><ins>+ Added fast/multicol/percent-height.html.
</ins><span class="cx">
</span><del>-2013-06-07 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::skipContainingBlockForPercentHeightCalculation):
+ Add an isInFlowRenderFlowThread check so that we skip those blocks and don't consider them at all
+ when resolving percentage heights.
</ins><span class="cx">
</span><del>- Unnecessary use of Layout types in GraphicsLayer::paintGraphicsLayerContents
- https://bugs.webkit.org/show_bug.cgi?id=117340
</del><ins>+2014-04-16 Daewoong Jang <daewoong.jang@navercorp.com>
</ins><span class="cx">
</span><ins>+ [WinCairo][cURL] Build fix for WinCairo build with USE(CURL).
+ https://bugs.webkit.org/show_bug.cgi?id=131614
+
+ Reviewed by Brent Fulgham.
+
+ Build fix, no new tests needed.
+
+ * platform/network/curl/CurlCacheEntry.cpp:
+ (WebCore::CurlCacheEntry::loadResponseHeaders):
+ * platform/network/curl/CurlCacheManager.cpp:
+ (WebCore::CurlCacheManager::loadIndex):
+ * platform/network/soup/ResourceError.h:
+ * platform/network/soup/SocketStreamHandle.h:
+
+2014-04-16 Martin Hodovan <mhodovan@inf.u-szeged.hu>
+
+ ASSERTION FAILED: x2 >= x1 in WebCore::RenderObject::drawLineForBoxSide
+ https://bugs.webkit.org/show_bug.cgi?id=127835
+
+ In some cases when a negative margin and a positive padding are applied
+ together to the right and/or left side of the box, the logical width of
+ the borders can be set to a negative value, making the assertion fire.
+ The fix checks if the width or height of the box is negative, and if so,
+ it will not display the borders and shadows of the box.
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- There is no reason to use Layout types when copying from Int types to Int types.
</del><ins>+ Test: fast/css/padding-margin-negative-border.html
</ins><span class="cx">
</span><del>- * platform/graphics/GraphicsLayer.cpp:
- (WebCore::GraphicsLayer::paintGraphicsLayerContents):
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintBorder):
</ins><span class="cx">
</span><del>-2013-06-07 Grzegorz Czajkowski <g.czajkowski@samsung.com>
</del><ins>+2014-04-16 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- [EFL][GTK] TextCheckerEnchant uses deprecated enchant_dict_add_to_personal
- https://bugs.webkit.org/show_bug.cgi?id=117335
</del><ins>+ [MSE] Seeks into buffered ranges will never complete.
+ https://bugs.webkit.org/show_bug.cgi?id=131717
</ins><span class="cx">
</span><del>- Reviewed by Christophe Dumez.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- enchant_dict_add_to_personal has been deprecated at r22321 in Enchant repository.
</del><ins>+ Test: media/media-source/media-source-seek-complete.html
</ins><span class="cx">
</span><del>- No behavior change, no new tests needed.
</del><ins>+ Run the SourceBuffer Monitoring step after initiating a seek.
</ins><span class="cx">
</span><del>- * platform/text/enchant/TextCheckerEnchant.cpp:
- (WebCore::TextCheckerEnchant::learnWord):
- Use enchant_dict_add instead of enchant_dict_add_to_personal.
</del><ins>+ * Modules/mediasource/SourceBuffer.cpp:
+ (WebCore::SourceBuffer::sourceBufferPrivateSeekToTime):
</ins><span class="cx">
</span><del>-2013-06-07 Zalan Bujtas <zalan@apple.com>
</del><ins>+2014-04-15 Hyowon Kim <hw1008.kim@samsung.com>
</ins><span class="cx">
</span><del>- Frame flattening: crash when child iframe is removed during beforeload.
- https://bugs.webkit.org/show_bug.cgi?id=116220
</del><ins>+ [EFL] Fix problems with the pixel dump.
+ https://bugs.webkit.org/show_bug.cgi?id=131265
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- FrameView can get destroyed in updateWidget(). Normally, it is protected by layout()
- but with frame flattening on, it can also be called asynchronously through the
- post layout timer.
</del><ins>+ Painting and compositing paths of WebKit-EFL were totally modified from r166768.
+ However pixel dump codes still call deprecated functions like ewk_view_paint(),
+ which causes that nothing is drawn.
</ins><span class="cx">
</span><del>- Test: fast/frames/flattening/crash-remove-iframe-during-object-beforeload.html
</del><ins>+ This patch adds new member functions to AcceleratedCompositingContext to support pixel dump.
+ One of new functions is AcceleratedCompositingContext::extractImageData(),
+ which replaces deprecated function calls. Besides the extractImageData() is invoked by
+ ewk_view_screenshot_contents_get() in order to take the visible content displayed on the EFL webview.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::performPostLayoutTasks):
</del><ins>+ * platform/graphics/cairo/CairoUtilities.cpp:
+ (WebCore::flipImageSurfaceVertically): Flip pixel data of given cairo_surface_t vertically up/down.
+ Whereas Cairo uses the top-left corner as being 0,0 of the coordinate system,
+ OpenGL uses the bottom-left corner being 0,0.
+ So we need to vertically flip resultant images taken by glReadPixels().
+ * platform/graphics/cairo/CairoUtilities.h:
</ins><span class="cx">
</span><del>-2013-06-06 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+2014-04-15 Hyowon Kim <hw1008.kim@samsung.com>
</ins><span class="cx">
</span><del>- Make CachedResource virtual methods overridden in derived classes private
- https://bugs.webkit.org/show_bug.cgi?id=117289
</del><ins>+ Make page overlay functionality working on coordinated graphics.
+ https://bugs.webkit.org/show_bug.cgi?id=131425
</ins><span class="cx">
</span><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- And mark them as OVERRIDE too. Also mark all CachedResource
- derived classes as FINAL.
</del><ins>+ Page overlay functionality did not work on coordinated graphics since r166975.
+ This patch removes deprecated code related to the PageOverlay GraphicsLayer management.
+ and makes CoordinatedLayerTreeHost use PageOverlayController.
</ins><span class="cx">
</span><del>- * inspector/InspectorPageAgent.cpp:
- (WebCore::cachedResourcesForFrame):
- * loader/cache/CachedCSSStyleSheet.h:
- * loader/cache/CachedFont.h:
- * loader/cache/CachedImage.h:
- * loader/cache/CachedRawResource.h:
- * loader/cache/CachedSVGDocument.h:
- * loader/cache/CachedScript.h:
- * loader/cache/CachedShader.h:
- * loader/cache/CachedTextTrack.h:
- * loader/cache/CachedXSLStyleSheet.h:
</del><ins>+ * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
+ (WebCore::CompositingCoordinator::setRootCompositingLayer):
+ (WebCore::CompositingCoordinator::flushPendingLayerChanges):
+ * platform/graphics/texmap/coordinated/CompositingCoordinator.h:
</ins><span class="cx">
</span><del>-2013-06-07 Mihnea Ovidenie <mihnea@adobe.com>
</del><ins>+2014-04-10 Roger Fong <roger_fong@apple.com>
</ins><span class="cx">
</span><del>- [CSSRegions] getBoundingClientRect wrong for inline content nodes
- https://bugs.webkit.org/show_bug.cgi?id=117290
</del><ins>+ Snapshotted plugins may need to be restarted if style properties are changed after initial load of plugin.
+ https://bugs.webkit.org/show_bug.cgi?id=131553.
+ <rdar://problem/15443375>
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ Reviewed by Timothy Horton.
</ins><span class="cx">
</span><del>- getBoundingClientRect returned incorrect values for inline content that
- was directly flowed inside regions because its mapLocalToContainer was not
- properly patched as its RenderBox counterpart. This patch adds mapLocalToContainer
- method in RenderFlowThread so that is properly called for all the elements inside the
- flow thread.
</del><ins>+ Test: plugins/snapshotting/set-plugin-size-to-tiny.html
</ins><span class="cx">
</span><del>- Also, modified offsetFromContainer so that if the container is the flow thread,
- offsetDependsOnPoint is set to true which further sets RenderGeometryMapStep::m_isNonUniform
- to true for each step added in pushMappingToContainer methods.
</del><ins>+ When updating embedded objects during our post layout checks, check for certain style changes
+ that may result in the plugin needing to be restarted.
</ins><span class="cx">
</span><del>- Test: fast/regions/flowed-inline-content-bounding-client-rect.html
</del><ins>+ * html/HTMLPlugInImageElement.h:
+ Add m_plugInDimensionsSpecified field to keep track of whether or not dimensions on the plugin’s renderer have been specified.
+ * html/HTMLPlugInImageElement.cpp:
+ (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
+ Initialize m_plugInDimensionsSpecified.
+ (WebCore::isSmallerThanTinySizingThreshold):
+ Refactoring, move check for whether or not plugin is smaller than the tiny plugin size threshold to this method.
+ (WebCore::HTMLPlugInImageElement::isTopLevelFullPage):
+ Refactoring, move check for whether or not plugin is top level full page to this method.
+ (WebCore::HTMLPlugInImageElement::checkSnapshotStatus):
+ Use refactored checks here as well to determine whether or not we need to restart the snapshotted plugin.
+ (WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn): Use refactored checks.
+ If plugin dimensions were specified, set m_plugInDimensionsSpecified to true.
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::mapLocalToContainer):
- (WebCore::RenderBox::pushMappingToContainer):
- (WebCore::RenderBox::offsetFromContainer):
</del><ins>+2014-04-15 Andreas Kling <akling@apple.com>
+
+ [iOS WebKit2] Listen for system memory pressure notifications.
+ <https://webkit.org/b/131653>
+ <rdar://problem/16208123>
+
+ Reviewed by Antti Koivisto.
+
+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandler::install):
+
+ Use the right invocation to summon the memory pressure handler.
+
+ (WebCore::MemoryPressureHandler::install):
+ (WebCore::MemoryPressureHandler::uninstall):
+ (WebCore::MemoryPressureHandler::holdOff):
+ (WebCore::MemoryPressureHandler::respondToMemoryPressure):
+
+ Make stubbed out functions !PLATFORM(COCOA)
+
+2014-04-14 Morten Stenshorne <mstensho@opera.com>
+
+ [New Multicolumn] Add support for column-span:all
+ https://bugs.webkit.org/show_bug.cgi?id=129330
+
+ Reviewed by Dave Hyatt.
+
+ Column spanners are implemented as siblings of RenderMultiColumnSet
+ objects (i.e. the regions for the column rows). This means that they
+ are pulled out from the flow thread tree where they would otherwise
+ live. This causes some complexity, most of which is contained within
+ the multicol code.
+
+ A placeholder is put in the flow thread tree where the spanner's
+ renderer would otherwise live. This is needed in order make sure that
+ we interrupt line layout before after the spanner. We also need this
+ to be able to switch from one multicol set to the next.
+
+ Some extra logic is required when dynamically inserting and removing
+ flow thread descendants now, because we need to figure out if the
+ renderer added should trigger creation of new multi column sets. If
+ a spanner is inserted in the middle of a multi column set, we need to
+ detect this, split the set and put the spanner in the middle.
+
+ Wrote a bunch of tests. A few of the tests were copied from existing
+ (old-impl) tests and put in a separate directory. That directory can
+ be wiped when we turn on the new multicol implementation by default.
+
+ Tests: fast/multicol/newmulticol/adjacent-spanners.html
+ fast/multicol/newmulticol/block-becomes-spanner.html
+ fast/multicol/newmulticol/change-spanner-display.html
+ fast/multicol/newmulticol/change-spanner-parent-display.html
+ fast/multicol/newmulticol/compare-with-old-impl/anonymous-block-split-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/before-child-anonymous-column-block.html
+ fast/multicol/newmulticol/compare-with-old-impl/clone-before-after-content-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/clone-block-children-inline-mismatch-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/clone-flexbox.html
+ fast/multicol/newmulticol/compare-with-old-impl/clone-summary.html
+ fast/multicol/newmulticol/compare-with-old-impl/column-span-inside-multicol-webkit-box.html
+ fast/multicol/newmulticol/compare-with-old-impl/continuation-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/double-merge-anonymous-block-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/empty-anonymous-block-split-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/float-not-removed-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/list-multi-column-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/positioned-child-not-removed-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/positioned-objects-not-removed-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/recursive-split-flow-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/removal-of-multicol-span-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/remove-child-split-flow-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/runin-continuation-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/span-as-immediate-child-complex-splitting.html
+ fast/multicol/newmulticol/compare-with-old-impl/span-as-nested-inline-block-child.html
+ fast/multicol/newmulticol/compare-with-old-impl/split-flow-anonymous-wrapper-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/split-inline-wrong-post-block-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/table-multi-column-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/textbox-not-removed-crash.html
+ fast/multicol/newmulticol/compare-with-old-impl/update-after-content-before-child-crash.html
+ fast/multicol/newmulticol/insert-row-content1.html
+ fast/multicol/newmulticol/insert-row-content2.html
+ fast/multicol/newmulticol/insert-row-content3.html
+ fast/multicol/newmulticol/insert-row-content4.html
+ fast/multicol/newmulticol/insert-row-content5.html
+ fast/multicol/newmulticol/insert-row-content6.html
+ fast/multicol/newmulticol/insert-row-content7.html
+ fast/multicol/newmulticol/insert-row-content8.html
+ fast/multicol/newmulticol/insert-row-content9.html
+ fast/multicol/newmulticol/insert-spanner-child1.html
+ fast/multicol/newmulticol/insert-spanner-child2.html
+ fast/multicol/newmulticol/insert-spanner-child3.html
+ fast/multicol/newmulticol/insert-spanner1.html
+ fast/multicol/newmulticol/insert-spanner2.html
+ fast/multicol/newmulticol/insert-spanner3.html
+ fast/multicol/newmulticol/insert-spanner4.html
+ fast/multicol/newmulticol/insert-spanner5.html
+ fast/multicol/newmulticol/insert-spanner6.html
+ fast/multicol/newmulticol/insert-spanner7.html
+ fast/multicol/newmulticol/insert-spanner8.html
+ fast/multicol/newmulticol/multicol-with-spanner-becomes-regular-block.html
+ fast/multicol/newmulticol/remove-row-content1.html
+ fast/multicol/newmulticol/remove-row-content2.html
+ fast/multicol/newmulticol/remove-row-content3.html
+ fast/multicol/newmulticol/remove-row-content4.html
+ fast/multicol/newmulticol/remove-row-content5.html
+ fast/multicol/newmulticol/remove-row-content6.html
+ fast/multicol/newmulticol/remove-row-content7.html
+ fast/multicol/newmulticol/remove-row-content8.html
+ fast/multicol/newmulticol/remove-row-content9.html
+ fast/multicol/newmulticol/remove-spanner1.html
+ fast/multicol/newmulticol/remove-spanner2.html
+ fast/multicol/newmulticol/remove-spanner3.html
+ fast/multicol/newmulticol/remove-spanner4.html
+ fast/multicol/newmulticol/remove-spanner5.html
+ fast/multicol/newmulticol/remove-spanner6.html
+ fast/multicol/newmulticol/sole-spanner.html
+ fast/multicol/newmulticol/span-between-text.html
+ fast/multicol/newmulticol/spanner-becomes-regular-block.html
+ fast/multicol/newmulticol/spanner-first.html
+ fast/multicol/newmulticol/spanner-img.html
+ fast/multicol/newmulticol/spanner-inline-block.html
+ fast/multicol/newmulticol/spanner-last.html
+ fast/multicol/newmulticol/spanner-nested-dynamic.html
+ fast/multicol/newmulticol/spanner-nested.html
+ fast/multicol/newmulticol/spanner-pseudo-after1.html
+ fast/multicol/newmulticol/spanner-pseudo-after2.html
+ fast/multicol/newmulticol/spanner-pseudo-after3.html
+ fast/multicol/newmulticol/spanner-pseudo-after4.html
+ fast/multicol/newmulticol/spanner-pseudo-before-after1.html
+ fast/multicol/newmulticol/spanner-pseudo-before-after2.html
+ fast/multicol/newmulticol/spanner-pseudo-before-after3.html
+ fast/multicol/newmulticol/spanner-pseudo-before-after4.html
+ fast/multicol/newmulticol/spanner-pseudo-before1.html
+ fast/multicol/newmulticol/spanner-pseudo-before2.html
+ fast/multicol/newmulticol/spanner-pseudo-before3.html
+ fast/multicol/newmulticol/spanner-pseudo-before4.html
+ fast/multicol/newmulticol/spanner-table.html
+ fast/multicol/newmulticol/spanner-with-margin.html
+ fast/multicol/newmulticol/spanner1.html
+ fast/multicol/newmulticol/spanner2.html
+ fast/multicol/newmulticol/spanner3.html
+ fast/multicol/newmulticol/spanner4.html
+ fast/multicol/newmulticol/spanner5.html
+ fast/multicol/newmulticol/spanner6.html
+ fast/multicol/newmulticol/spanner7.html
+ fast/multicol/newmulticol/spanner8.html
+ fast/multicol/newmulticol/spanner9.html
+ fast/multicol/newmulticol/trailing-margin-with-spanner.html
+ fast/multicol/newmulticol/trailing-margin-with-spanner2.html
+
+ * CMakeLists.txt:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
+ Disable the old anonymous multicol container and spanner anonymous
+ block generation machinery when the new multicol implementation is
+ enabled.
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::createMultiColumnFlowThread):
+ (WebCore::RenderBlockFlow::destroyMultiColumnFlowThread):
+ (WebCore::RenderBlockFlow::layoutBlockChild): Need to notify the
+ flow thread when a descendant's final position is known. Spanner
+ placeholders need to know where to terminate the column set that
+ it follows.
+ (WebCore::RenderBlockFlow::styleDidChange): Remove old code that
+ isn't needed anymore. The renderers in question (flow thread and
+ column sets) set display:block on themselves already. This code
+ caused problems for spanners, which got all their style wiped.
+ (WebCore::RenderBlockFlow::setMultiColumnFlowThread): If setting
+ the flow thread to nullptr, there's no need to create the "rare
+ data" structure.
+ (WebCore::RenderBlockFlow::relayoutForPagination):
+ (WebCore::RenderBlockFlow::layoutSpecialExcludedChild):
+ (WebCore::RenderBlockFlow::addChild): beforeChild is retrieved via
+ the DOM. If it is a spanner, we need to locate the placeholder
+ here, because that's the correct location to insert siblings,
+ DOM-wise.
+ (WebCore::RenderBlockFlow::removeChild): The multicol flow thread
+ needs to know when children disappear.
+ (WebCore::RenderBlockFlow::checkForPaginationLogicalHeightChange):
+ Don't modify the height back and forth when calculating the
+ multicol container's final height, as that messes up balancing.
+ (WebCore::RenderBlockFlow::insertedIntoTree): Deleted.
+ (WebCore::RenderBlockFlow::willBeDestroyed): Deleted.
+ (WebCore::RenderBlockFlow::styleWillChange): Deleted.
+ (WebCore::RenderBlockFlow::lineAtIndex): Deleted.
+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::insertedIntoTree): Set up an element's
+ layer before notifying the flow thread. The multicol flow thread
+ may decide to move the element (if it's a spanner), which may
+ involve re-insertion of layers. Calling
+ RenderObject::insertedIntoTree() last instead of first also better
+ matches the order we used to have prior to the introduction of
+ RenderElement, FWIW.
</ins><span class="cx"> * rendering/RenderFlowThread.cpp:
</span><del>- (WebCore::RenderFlowThread::mapLocalToContainer):
</del><ins>+ (WebCore::RenderFlowThread::layout):
+ (WebCore::RenderFlowThread::removeRegionFromThread): Deleted.
+ (WebCore::RenderFlowThread::invalidateRegions): Deleted.
</ins><span class="cx"> * rendering/RenderFlowThread.h:
</span><del>- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::offsetFromContainer):
</del><ins>+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::RenderMultiColumnFlowThread):
+ (WebCore::RenderMultiColumnFlowThread::removeFlowChildInfo): When
+ a flow thread descendant is inserted, the multicol flow thread
+ needs to be notified.
+ (WebCore::RenderMultiColumnFlowThread::firstMultiColumnSet):
+ (WebCore::RenderMultiColumnFlowThread::lastMultiColumnSet):
+ (WebCore::RenderMultiColumnFlowThread::firstColumnSetOrSpanner):
+ (WebCore::RenderMultiColumnFlowThread::nextColumnSetOrSpannerSiblingOf):
+ (WebCore::RenderMultiColumnFlowThread::previousColumnSetOrSpannerSiblingOf):
+ (WebCore::RenderMultiColumnFlowThread::layout):
+ (WebCore::RenderMultiColumnFlowThread::findSetRendering):
+ (WebCore::RenderMultiColumnFlowThread::populate):
+ (WebCore::RenderMultiColumnFlowThread::evacuateAndDestroy):
+ (WebCore::RenderMultiColumnFlowThread::addRegionToThread):
+ (WebCore::RenderMultiColumnFlowThread::willBeRemovedFromTree):
+ Need to detach column sets here, since they have pointers to their
+ flow thread.
+ (WebCore::RenderMultiColumnFlowThread::resolveMovedChild):
+ (WebCore::isValidColumnSpanner):
+ (WebCore::RenderMultiColumnFlowThread::flowThreadDescendantInserted):
+ (WebCore::RenderMultiColumnFlowThread::flowThreadRelativeWillBeRemoved):
+ (WebCore::RenderMultiColumnFlowThread::flowThreadDescendantBoxLaidOut):
+ (WebCore::RenderMultiColumnFlowThread::autoGenerateRegionsToBlockOffset):
+ Nothing to be done here for the time being. Column sets are now
+ created during box creation. We are going to need to add some code
+ here again once multicol properly supports nested fragmentation
+ contexts (and you get adjacent column rows because of that).
+ (WebCore::RenderMultiColumnFlowThread::regionAtBlockOffset):
+ During layout, don't trust the region interval tree, as that one
+ depends on the resulting layout.
+ (WebCore::RenderMultiColumnFlowThread::setRegionRangeForBox): With
+ a convenience method to get the last column set, and column sets
+ now being created during normal box creation, this young method
+ needs an overhaul.
+ (WebCore::RenderMultiColumnFlowThread::setRegionRangeForBox):
+ (WebCore::RenderMultiColumnFlowThread::isPageLogicalHeightKnown):
+ * rendering/RenderMultiColumnFlowThread.h:
+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::nextSiblingMultiColumnSet):
+ (WebCore::RenderMultiColumnSet::previousSiblingMultiColumnSet):
+ (WebCore::RenderMultiColumnSet::firstRendererInFlowThread):
+ (WebCore::RenderMultiColumnSet::lastRendererInFlowThread):
+ (WebCore::precedesRenderer):
+ (WebCore::RenderMultiColumnSet::containsRendererInFlowThread):
+ (WebCore::RenderMultiColumnSet::setLogicalTopInFlowThread):
+ (WebCore::RenderMultiColumnSet::setLogicalBottomInFlowThread):
+ (WebCore::RenderMultiColumnSet::pageLogicalTopForOffset):
+ (WebCore::RenderMultiColumnSet::distributeImplicitBreaks):
+ (WebCore::RenderMultiColumnSet::calculateBalancedHeight):
+ (WebCore::RenderMultiColumnSet::addForcedBreak):
+ (WebCore::RenderMultiColumnSet::recalculateColumnHeight):
+ Previously only needed if columns were to be balanced, now it's
+ also needed when not balancing.
+ (WebCore::RenderMultiColumnSet::recordSpaceShortage): Some layout
+ elements actually have 0 height. Skip them, since they're not
+ taking us anywhere.
+ (WebCore::RenderMultiColumnSet::updateLogicalWidth):
+ (WebCore::RenderMultiColumnSet::requiresBalancing): Column sets
+ now have individual balancing needs. If they precede a spanner,
+ they must always be balanced. For the last column set, see if
+ height is unspecified or column-fill is 'balance' (like before).
+ (WebCore::RenderMultiColumnSet::prepareForLayout):
+ (WebCore::RenderMultiColumnSet::beginFlow):
+ (WebCore::RenderMultiColumnSet::endFlow):
+ (WebCore::RenderMultiColumnSet::layout):
+ (WebCore::RenderMultiColumnSet::calculateMaxColumnHeight):
+ (WebCore::RenderMultiColumnSet::columnRectAt):
+ (WebCore::RenderMultiColumnSet::flowThreadPortionOverflowRect):
+ (WebCore::RenderMultiColumnSet::paintColumnRules):
+ (WebCore::RenderMultiColumnSet::initialBlockOffsetForPainting):
+ (WebCore::RenderMultiColumnSet::collectLayerFragments):
+ (WebCore::RenderMultiColumnSet::columnTranslationForOffset):
+ (WebCore::RenderMultiColumnSet::setAndConstrainColumnHeight): Deleted.
+ (WebCore::RenderMultiColumnSet::findRunWithTallestColumns): Deleted.
+ (WebCore::RenderMultiColumnSet::clearForcedBreaks): Deleted.
+ (WebCore::RenderMultiColumnSet::repaintFlowThreadContent): Deleted.
+ * rendering/RenderMultiColumnSet.h:
+ * rendering/RenderMultiColumnSpannerPlaceholder.cpp: Added.
+ (WebCore::RenderMultiColumnSpannerPlaceholder::createAnonymous):
+ (WebCore::RenderMultiColumnSpannerPlaceholder::RenderMultiColumnSpannerPlaceholder):
+ (WebCore::RenderMultiColumnSpannerPlaceholder::renderName):
+ * rendering/RenderMultiColumnSpannerPlaceholder.h: Added.
</ins><span class="cx"> * rendering/RenderObject.cpp:
</span><del>- (WebCore::RenderObject::offsetFromContainer):
</del><ins>+ (WebCore::RenderObject::insertedIntoTree): Need to notify the
+ multicol flow thread when descendants are inserted. That may
+ trigger insertion of column sets, or, in the case of spanners,
+ they need to be moved out from the flow thread.
+ * rendering/RenderObject.h:
+ (WebCore::RenderObject::isRenderMultiColumnSpannerPlaceholder):
+ (WebCore::RenderObject::isAnonymousBlock): Exclude column sets
+ here, so that they don't get involved in anonymous block merging
+ and other kinds of fun.
+ * rendering/RenderRegion.h:
+ * rendering/RenderRegionSet.h:
</ins><span class="cx">
</span><del>-2013-06-06 Kangil Han <kangil.han@samsung.com>
</del><ins>+2014-04-15 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Minor code cleanup to remove unused header includes
- https://bugs.webkit.org/show_bug.cgi?id=117283
</del><ins>+ LayerTreeAsTextBehavior should be in the WebCore namespace
+ https://bugs.webkit.org/show_bug.cgi?id=131683
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- * loader/cache/CachedResourceClient.h:
- * rendering/RenderBlock.cpp:
- * rendering/RenderBox.cpp:
- * rendering/RenderBoxModelObject.cpp:
- * rendering/RenderObject.cpp:
</del><ins>+ Move LayerTreeAsTextBehavior and the bit flags into the WebCore namespace.
</ins><span class="cx">
</span><del>-2013-06-06 Jer Noble <jer.noble@apple.com>
</del><ins>+ * platform/graphics/GraphicsLayer.cpp:
+ (showGraphicsLayerTree):
+ * platform/graphics/GraphicsLayer.h:
</ins><span class="cx">
</span><del>- Restrict WebAudio from playing when disallowed by page.
- https://bugs.webkit.org/show_bug.cgi?id=117310
</del><ins>+2014-04-15 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ ViewportConfiguration handles userZoom incorrectly
+ https://bugs.webkit.org/show_bug.cgi?id=131657
</ins><span class="cx">
</span><del>- Add a new behavior restriction which would mute WebAudio
- when media playback is disallowed by the page.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioContext.cpp:
- (WebCore::AudioContext::constructCommon): Set the RequirePageConsentForAudioStartRestriction
- restriction for the Mac port
- (WebCore::AudioContext::document): Cast the execution context to a document.
- (WebCore::AudioContext::lazyInitialize): Call startRendering() instead of
- m_destinationNode->startRendering() directly.
- (WebCore::AudioContext::startRendering): If media loading is disabled, add
- a mediaCanStart listener.
- (WebCore::AudioContext::mediaCanStart): Remove the RequirePageConsentForAudioStartRestriction.
- * Modules/webaudio/AudioContext.h:
- (WebCore::AudioContext::pageConsentRequiredForAudioStart): Added; simple wrapper.
- * Modules/webaudio/AudioDestinationNode.cpp:
- (WebCore::AudioDestinationNode::render): Mute output if pageConsentRequiredForAudioStart().
</del><ins>+ * page/ViewportConfiguration.cpp:
+ (WebCore::viewportArgumentUserZoomIsSet):
+ (WebCore::ViewportConfiguration::updateConfiguration):
+ The other viewport values must be strictly positive, userZoom is always either zero, one or minus one.
+ As a result, the value zero was never set.
</ins><span class="cx">
</span><del>-2013-06-03 Jer Noble <jer.noble@apple.com>
</del><ins>+2014-04-15 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Upstream iOS WebAudio behavior restrictions.
- https://bugs.webkit.org/show_bug.cgi?id=117151
</del><ins>+ [iOS WK2] Pages often blank on first load if page loaded by typing the URL
+ https://bugs.webkit.org/show_bug.cgi?id=131665
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- 2012-06-25 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ The document overlay-related code in RemoteLayerTreeDrawingArea::setRootCompositingLayer()
+ was triggering a compositing layer flush when called with a null rootLayer, which happens
+ for pages going into the page cache. This would trigger a layer flush that would clobber
+ the root layer for the visible page, resulting in missing content.
+
+ Also, rebuildCompositingLayerTree() is called recursively and the m_documentOverlayRootLayer
+ was being added to (and then removed from) every single compositing layers.
+
+ Fix both these by changing to a pull model, where RenderLayerCompositor requests
+ the overlay layer via ChromeClient, and gets it at the end of every flush,
+ adding to the children of the root layer.
</ins><span class="cx">
</span><del>- <rdar://problem/11041007> WebAudio should restrict playback to user interaction on iOS
</del><ins>+ * WebCore.exp.in:
+ * page/ChromeClient.h:
+ (WebCore::ChromeClient::documentOverlayLayerForFrame):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::RenderLayerCompositor):
+ (WebCore::RenderLayerCompositor::flushPendingLayerChanges): Put visibleRect
+ into a variable for ease of debugging.
+ (WebCore::RenderLayerCompositor::updateCompositingLayers): Asser
+ that we're not in the page cache (this would have caught the bug).
+ (WebCore::RenderLayerCompositor::appendOverlayLayers):
+ (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
+ (WebCore::RenderLayerCompositor::setDocumentOverlayRootLayer): Deleted.
+ * rendering/RenderLayerCompositor.h:
</ins><span class="cx">
</span><del>- Added a bevahior restrictions field in AudioContext that behaviors similarly to
- the one in HTMLMediaElement. Restrictions are lifted when JavaScript calls noteOn,
- noteGrainOn or startRendering from a user gesture event.
</del><ins>+2014-04-15 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ Unreviewed, rolling out r167199 and r167251.
+ https://bugs.webkit.org/show_bug.cgi?id=131678
</ins><span class="cx">
</span><del>- No new tests, testing framework doesn't support web audio.
</del><ins>+ Caused a DYEBench regression and does not seem to improve perf
+ on relevant websites (Requested by rniwa on #webkit).
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioBufferSourceNode.cpp:
- (WebCore::AudioBufferSourceNode::startGrain):
- * Modules/webaudio/AudioContext.cpp:
- (WebCore::AudioContext::AudioContext):
- (WebCore::AudioContext::constructCommon):
- (WebCore::AudioContext::lazyInitialize):
- (WebCore::AudioContext::startRendering):
- * Modules/webaudio/AudioContext.h:
- (WebCore::AudioContext::userGestureRequiredForAudioStart):
- (WebCore::AudioContext::addBehaviorRestriction):
- (WebCore::AudioContext::removeBehaviorRestriction):
- * Modules/webaudio/AudioDestinationNode.cpp:
- (WebCore::AudioDestinationNode::render):
- * Modules/webaudio/AudioScheduledSourceNode.cpp:
- (WebCore::AudioScheduledSourceNode::start):
</del><ins>+ Reverted changesets:
</ins><span class="cx">
</span><del>-2013-06-06 Ruth Fong <ruth_fong@apple.com>
</del><ins>+ "Rewrite Function.bind as a builtin"
+ https://bugs.webkit.org/show_bug.cgi?id=131083
+ http://trac.webkit.org/changeset/167199
</ins><span class="cx">
</span><del>- Expose HTMLCanvasElement supportsContext
- https://bugs.webkit.org/show_bug.cgi?id=70117
</del><ins>+ "Update test result"
+ http://trac.webkit.org/changeset/167251
</ins><span class="cx">
</span><ins>+2014-04-15 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Remove unnecessary null checking in NavigatorContentUtils
+ https://bugs.webkit.org/show_bug.cgi?id=131652
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Adds the supportsContext function for <canvas> elements as speced here:
- http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-canvas-supportscontext
</del><ins>+ Some functions have checked if document is null. However, document is always not
+ null when frame is existed.
</ins><span class="cx">
</span><del>- Test: fast/canvas/webgl/canvas-supports-context.html
</del><ins>+ No new tests, no behavior changes.
</ins><span class="cx">
</span><del>- * bindings/js/JSHTMLCanvasElementCustom.cpp:
- (WebCore::get3DContextAttributes): Added.
- Refactored function from JSHTMLCanvasElement::getContext that parses attributes.
- (WebCore::JSHTMLCanvasElement::getContext): Updated to use refactored function.
- (WebCore::JSHTMLCanvasElement::supportsContext): Added.
- Exposes JS function supportsContext.
- * html/HTMLCanvasElement.cpp:
- (WebCore::HTMLCanvasElement::getContext): Updated to use refactored functions.
- (WebCore::HTMLCanvasElement::supportsContext): Added.
- Implements supportsContext function based on contextId parameter (i.e. '2d').
- * html/HTMLCanvasElement.h: Added refactored functions from HTMLCanvasElement::getContext.
- * html/HTMLCanvasElement.idl:
</del><ins>+ * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
+ (WebCore::NavigatorContentUtils::registerProtocolHandler):
+ (WebCore::NavigatorContentUtils::isProtocolHandlerRegistered):
+ (WebCore::NavigatorContentUtils::unregisterProtocolHandler):
</ins><span class="cx">
</span><del>-2013-06-06 Zoltan Horvath <zoltan@webkit.org>
</del><ins>+2014-04-15 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- [CSS Shapes] Rename updateLineBoundariesForExclusions to updateShapeAndSegmentsForCurrentLine
- https://bugs.webkit.org/show_bug.cgi?id=117308
</del><ins>+ Unreviewed, rolling out r167298.
+ https://bugs.webkit.org/show_bug.cgi?id=131670
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ Broke CSS filters (17 test crashes) (Requested by ap on
+ #webkit).
</ins><span class="cx">
</span><del>- We have a standalone specification for CSS Shapes now: http://dev.w3.org/csswg/css-shapes/
- this change renames updateLineBoundariesForExclusions to updateShapeAndSegmentsForCurrentLine.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- No behavior change, no new tests needed.
</del><ins>+ "[iOS WK2] Pages often blank on first load if page loaded by
+ typing the URL"
+ https://bugs.webkit.org/show_bug.cgi?id=131665
+ http://trac.webkit.org/changeset/167298
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.h:
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::updateLineBoundariesForShapes):
- (WebCore::RenderBlock::layoutRunsAndFloatsInRange):
</del><ins>+2014-04-14 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>-2013-06-06 Diego Pino Garcia <dpino@igalia.com>
</del><ins>+ Unreviewed. Attempt to fix Windows build after r167277.
</ins><span class="cx">
</span><del>- [GTK] Parameter 'refChild' from function 'webkit_dom_node_insert_before' should be allowed to be NULL
- https://bugs.webkit.org/show_bug.cgi?id=117303
</del><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::willPaintContents):
</ins><span class="cx">
</span><del>- Reviewed by Xan Lopez.
</del><ins>+2014-04-14 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Add parameter 'refChild' to the list of parameters that are allowed to
- be NULL.
</del><ins>+ Unreviewed, rolling out r167261.
+ https://bugs.webkit.org/show_bug.cgi?id=131667
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorGObject.pm:
</del><ins>+ broke many navigation tests (Requested by ap on #webkit).
</ins><span class="cx">
</span><del>-2013-06-06 Bem Jones-Bey <bjonesbe@adobe.com>
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Fix formatting in BasicShapes.cpp
- https://bugs.webkit.org/show_bug.cgi?id=117309
</del><ins>+ "Web Replay: memoize fallback time values for
+ document.lastModified"
+ https://bugs.webkit.org/show_bug.cgi?id=131318
+ http://trac.webkit.org/changeset/167261
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+2014-04-14 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- I reformatted the code in BasicShapes.cpp (bug 116734) to fix the
- style issues, and I got some of the formatting wrong, which makes the
- code much harder to read. This patch fixes that formatting.
</del><ins>+ [iOS WK2] Pages often blank on first load if page loaded by typing the URL
+ https://bugs.webkit.org/show_bug.cgi?id=131665
</ins><span class="cx">
</span><del>- No new tests, formatting clean up.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * rendering/style/BasicShapes.cpp:
- (WebCore::BasicShapeRectangle::path): Fix formatting.
- (WebCore::BasicShapeInsetRectangle::path): Fix formatting.
</del><ins>+ The document overlay-related code in RemoteLayerTreeDrawingArea::setRootCompositingLayer()
+ was triggering a compositing layer flush when called with a null rootLayer, which happens
+ for pages going into the page cache. This would trigger a layer flush that would clobber
+ the root layer for the visible page, resulting in missing content.
+
+ Also, rebuildCompositingLayerTree() is called recursively and the m_documentOverlayRootLayer
+ was being added to (and then removed from) every single compositing layers.
+
+ Fix both these by changing to a pull model, where RenderLayerCompositor requests
+ the overlay layer via ChromeClient, and gets it at the end of every flush,
+ adding to the children of the root layer.
</ins><span class="cx">
</span><del>-2013-06-06 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ * WebCore.exp.in:
+ * page/ChromeClient.h:
+ (WebCore::ChromeClient::documentOverlayLayerForFrame):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::RenderLayerCompositor):
+ (WebCore::RenderLayerCompositor::flushPendingLayerChanges): Put visibleRect
+ into a variable for ease of debugging.
+ (WebCore::RenderLayerCompositor::updateCompositingLayers): Asser
+ that we're not in the page cache (this would have caught the bug).
+ (WebCore::RenderLayerCompositor::appendOverlayLayers):
+ (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
+ (WebCore::RenderLayerCompositor::setDocumentOverlayRootLayer): Deleted.
+ * rendering/RenderLayerCompositor.h:
</ins><span class="cx">
</span><del>- Clean up AddIncludesForType in JSC bindings generators
- https://bugs.webkit.org/show_bug.cgi?id=117297
</del><ins>+2014-04-14 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Assertion failure under FEImage::determineAbsolutePaintRect()
</ins><span class="cx">
</span><del>- Clean up AddIncludesForType in JSC bindings generators:
- - Add JSC specific SkipIncludeHeader() subroutine and move
- exceptions there.
- - Remove special case for SerializedScriptValue by improving
- the condition for callbacks: "JS" prefix is now only added to
- headers in callbacks if they are wrapper types. Non-wrapper
- types such as SerializedScriptValue do not have a JS*.h
- header.
</del><ins>+ <https://bugs.webkit.org/show_bug.cgi?id=131660>
+ <rdar://problem/15669294>
</ins><span class="cx">
</span><del>- No new tests, code clean up.
</del><ins>+ This patch merges Chromium r149536 (see
+ <https://chromiumcodereview.appspot.com/14701012>), which moves
+ m_absoluteTransform out of SVGFilter and into the base Filter class, so
+ that it isn't necessary to cast a Filter to SVGFilter to get the
+ absolute transform.
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGenerator.pm:
- (SkipIncludeHeader):
- - Reuse IsPrimitiveType() to avoid code duplication.
- - Remove special case for String as this is not a valid IDL type
- and it is not currently used.
- * bindings/scripts/CodeGeneratorJS.pm:
- (SkipIncludeHeader):
- (AddIncludesForType):
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>-2013-06-06 Radu Stavila <stavila@adobe.com>
</del><ins>+ Test: svg/filters/feImage-filter-assertion.html
</ins><span class="cx">
</span><del>- :hover style not applied on hover if its display property is different from original style's
- https://bugs.webkit.org/show_bug.cgi?id=7555
</del><ins>+ * platform/graphics/filters/Filter.h:
+ (WebCore::Filter::Filter):
+ Changed to take the absolute transform.
+ (WebCore::Filter::absoluteTransform):
+ Moved from SVGFilter.
+ (WebCore::Filter::mapAbsolutePointToLocalPoint):
+ Ditto.
</ins><span class="cx">
</span><del>- Properly apply the :hover pseudo-class when reattaching is required (e.g. when changing the display type)
</del><ins>+ * rendering/FilterEffectRenderer.cpp:
+ (WebCore::FilterEffectRenderer::FilterEffectRenderer):
+ Pass a default AffineTransform() to the Filter base class.
</ins><span class="cx">
</span><del>- A new AttachContext class was created to be passed along as an optional parameter to the attach/detach/reattach methods.
- This new parameter is used to:
- - prevent the element from being removed from the list of hovered/active elements upon detach when a reattach is in progress
- - prevent the style from being incorrectly computed (due to the previous point)
- - prevent the style from being computed twice (the attach() method used to recompute it)
</del><ins>+ * svg/graphics/filters/SVGFEImage.cpp:
+ (WebCore::FEImage::determineAbsolutePaintRect):
+ Use the Filter without casting it to SVGFilter.
+ (WebCore::FEImage::platformApplySoftware):
+ Ditto.
</ins><span class="cx">
</span><del>- Special care was required to the case when display:none is specified in the :hover class. Enabling the :hover style
- was leaving the element without a renderer, which was causing it to remain stuck in the :hover state (subsequent mouseMove
- events were not able to reset the element to its normal style due to the fact that it had no renderer).
</del><ins>+ * svg/graphics/filters/SVGFilter.cpp:
+ (WebCore::SVGFilter::SVGFilter):
+ Pass the transform to the base class, and remove initialization of a
+ removed member var.
</ins><span class="cx">
</span><del>- The DragController::startDrag method was updated to properly handle the case when dragImage is NULL
- (for instance by setting display:none inside the -webkit-drag pseudo-class).
</del><ins>+ * svg/graphics/filters/SVGFilter.h:
+ Member var moved to Filter.h.
</ins><span class="cx">
</span><ins>+2014-04-14 Darin Adler <darin@apple.com>
+
+ REGRESSION (r158617): Find on Page can get stuck in a loop when the search string occurs in an <input> in a <fieldset>
+ https://bugs.webkit.org/show_bug.cgi?id=126322
+
+ Reviewed by Ryosuke Niwa.
+
+ One additional tweak to the fix for the bug above.
+ Fixes crash in editing/editability/ignored-content.html test.
+
+ * html/HTMLObjectElement.cpp:
+ (WebCore::HTMLObjectElement::canContainRangeEndPoint): Call through to
+ HTMLElement::canContainRangeEndPoint, bypassing HTMLPlugInElement override
+ that always returns false. Without this change, this function was always
+ returning false.
+
+2014-04-14 Simon Fraser <simon.fraser@apple.com>
+
+ Crash in TileController::tileRevalidationTimerFired
+ https://bugs.webkit.org/show_bug.cgi?id=131656
+ <rdar://problem/16583166>
+
+ Reviewed by Sam Weinig.
+
+ It's possible for the TileController revalidation timer to fire after
+ the GraphicsLayer has been destroyed, so the PlatformCALayer no longer
+ has an owningGraphicsLayer.
+
+ Bail from the timer callback if owningGraphicsLayer() is null.
+
+ Also some drive-by 0 -> nullptr changes.
+
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::willBeDestroyed):
+ * platform/graphics/ca/PlatformCALayer.cpp:
+ (WebCore::PlatformCALayer::~PlatformCALayer):
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::tileRevalidationTimerFired):
+
+2014-04-14 Bem Jones-Bey <bjonesbe@adobe.com>
+
+ [CSS Shapes] Remove some leftover shape-inside code
+ https://bugs.webkit.org/show_bug.cgi?id=131641
+
+ Reviewed by Dean Jackson.
+
+ I discovered that some code had been leftover from the shape-inside
+ removal. This removes that leftover code.
+
+ No new tests, no behavior change.
+
+ * platform/text/BidiResolver.h:
+ * rendering/BidiRun.cpp:
+ (WebCore::BidiRun::BidiRun):
+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlockFlow::createLineBoxes):
+ (WebCore::RenderBlockFlow::constructLine):
+ (WebCore::computeExpansionForJustifiedText):
+ (WebCore::RenderBlockFlow::computeInlineDirectionPositionsForSegment):
+
+2014-04-14 Jer Noble <jer.noble@apple.com>
+
+ [MSE][Mac] video.currentTime is sometimes negative.
+ https://bugs.webkit.org/show_bug.cgi?id=131644
+
+ Reviewed by Eric Carlson.
+
+ AVSampleBufferRenderSynchronizer will occasionally return slightly negative values
+ when beginning playback. Clamp the return value to 0.
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::currentTimeDouble):
+
+2014-04-14 Bem Jones-Bey <bjonesbe@adobe.com>
+
+ [CSSExclusions] Remove FIXME referencing closed bug
+ https://bugs.webkit.org/show_bug.cgi?id=131645
+
+ Reviewed by Dean Jackson.
+
+ This is silly, but the comment is really confusing as it's entirely
+ wrong now.
+
+ No new tests, no behavior change.
+
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::changeRequiresRepaint):
+
+2014-04-14 Andreas Kling <akling@apple.com>
+
+ Build fixage.
+
+ * page/FrameView.cpp:
+
+2014-04-14 Jon Honeycutt <jhoneycutt@apple.com>
+
+ Assertion failure !node || node->isElementNode() in
+ WebCore::RenderBlock::inlineElementContinuation
+
+ https://bugs.webkit.org/show_bug.cgi?id=108829
+ <rdar://problem/13666405>
+
+ I can't reproduce this assertion failure, but there seems to be an
+ invalid assumption in RenderBlock::inlineElementContinuation() that
+ anything with the "isInline()" bit set is a RenderInline.
+
+ No new test because the test case in the bug does not repro for me.
+
+ Reviewed by Brent Fulgham.
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::inlineElementContinuation):
+ Dave Hyatt says that this function should only return RenderInline
+ objects (not non-RenderInline inline objects), so update the checks
+ from isInline() to isRenderInline() before casting with
+ toRenderInline().
+
+ * rendering/RenderInline.cpp:
+ (WebCore::RenderInline::inlineElementContinuation):
+ Ditto.
+
+2014-04-14 Andreas Kling <akling@apple.com>
+
+ Do more things under memory pressure on non-iOS platforms.
+ <https://webkit.org/b/131625>
+
</ins><span class="cx"> Reviewed by Antti Koivisto.
</span><span class="cx">
</span><del>- Tests: fast/regions/hover-display-block-inline.html
- fast/regions/hover-display-block-none.html
</del><ins>+ Rename hasReceivedMemoryPressure() to isUnderMemoryPressure() and
+ make it use std::atomic<bool> instead of OSAtomic primitives.
</ins><span class="cx">
</span><del>- * page/DragController.cpp:
- (WebCore::DragController::startDrag):
- * dom/ContainerNode.cpp:
- (WebCore::ContainerNode::attach):
- (WebCore::ContainerNode::detach):
- * dom/ContainerNode.h:
- * dom/Document.cpp:
- (WebCore::Document::attach):
- (WebCore::Document::detach):
- (WebCore::Document::updateHoverActiveState):
- * dom/Document.h:
- * dom/Element.cpp:
- (WebCore::Element::setHovered):
- (WebCore::Element::createRendererIfNeeded):
- (WebCore::Element::attach):
- (WebCore::Element::detach):
- (WebCore::Element::recalcStyle):
- * dom/Element.h:
- * dom/Node.cpp:
- (WebCore::Node::AttachDetachContext::AttachDetachContext):
- (WebCore::Node::AttachDetachContext::~AttachDetachContext):
- (WebCore::Node::attach):
- (WebCore::Node::detach):
- * dom/Node.h:
- (WebCore::Node::reattach):
- (WebCore::Node::reattachIfAttached):
- * dom/NodeRenderingContext.cpp:
- (WebCore::NodeRenderingContext::NodeRenderingContext):
- * dom/PseudoElement.cpp:
- (WebCore::PseudoElement::attach):
- * dom/PseudoElement.h:
- * dom/ShadowRoot.cpp:
- (WebCore::ShadowRoot::attach):
- * dom/ShadowRoot.h:
- * dom/Text.cpp:
- (WebCore::Text::attach):
- * dom/Text.h:
- * html/HTMLCanvasElement.cpp:
- (WebCore::HTMLCanvasElement::attach):
- * html/HTMLCanvasElement.h:
- * html/HTMLFormControlElement.cpp:
- (WebCore::HTMLFormControlElement::attach):
- * html/HTMLFormControlElement.h:
- * html/HTMLFrameElement.cpp:
- (WebCore::HTMLFrameElement::attach):
- * html/HTMLFrameElement.h:
- * html/HTMLFrameElementBase.cpp:
- (WebCore::HTMLFrameElementBase::attach):
- * html/HTMLFrameElementBase.h:
- * html/HTMLFrameSetElement.cpp:
- (WebCore::HTMLFrameSetElement::attach):
- * html/HTMLFrameSetElement.h:
- * html/HTMLImageElement.cpp:
- (WebCore::HTMLImageElement::attach):
- * html/HTMLImageElement.h:
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::attach):
- (WebCore::HTMLInputElement::detach):
- * html/HTMLInputElement.h:
- * html/HTMLLIElement.cpp:
- (WebCore::HTMLLIElement::attach):
- * html/HTMLLIElement.h:
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::attach):
- * html/HTMLMediaElement.h:
- * html/HTMLOptGroupElement.cpp:
- (WebCore::HTMLOptGroupElement::attach):
- (WebCore::HTMLOptGroupElement::detach):
- * html/HTMLOptGroupElement.h:
- * html/HTMLOptionElement.cpp:
- (WebCore::HTMLOptionElement::attach):
- (WebCore::HTMLOptionElement::detach):
- * html/HTMLOptionElement.h:
- * html/HTMLPlugInElement.cpp:
- (WebCore::HTMLPlugInElement::detach):
- * html/HTMLPlugInElement.h:
- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::attach):
- (WebCore::HTMLPlugInImageElement::detach):
- * html/HTMLPlugInImageElement.h:
- * html/HTMLProgressElement.cpp:
- (WebCore::HTMLProgressElement::attach):
- * html/HTMLProgressElement.h:
- * html/HTMLTextAreaElement.cpp:
- (WebCore::HTMLTextAreaElement::attach):
- * html/HTMLTextAreaElement.h:
- * html/HTMLVideoElement.cpp:
- (WebCore::HTMLVideoElement::attach):
- * html/HTMLVideoElement.h:
- * html/PluginDocument.cpp:
- (WebCore::PluginDocument::detach):
- * html/PluginDocument.h:
- * html/shadow/InsertionPoint.cpp:
- (WebCore::InsertionPoint::attach):
- (WebCore::InsertionPoint::detach):
- * html/shadow/InsertionPoint.h:
- * html/shadow/SliderThumbElement.cpp:
- (WebCore::SliderThumbElement::detach):
- * html/shadow/SliderThumbElement.h:
- * html/shadow/SpinButtonElement.cpp:
- (WebCore::SpinButtonElement::detach):
- * html/shadow/SpinButtonElement.h:
- * html/shadow/TextControlInnerElements.cpp:
- (WebCore::SearchFieldCancelButtonElement::detach):
- (WebCore::InputFieldSpeechButtonElement::attach):
- (WebCore::InputFieldSpeechButtonElement::detach):
- * html/shadow/TextControlInnerElements.h:
- * loader/PlaceholderDocument.cpp:
- (WebCore::PlaceholderDocument::attach):
- * loader/PlaceholderDocument.h:
- * svg/SVGImageElement.cpp:
- (WebCore::SVGImageElement::attach):
- * svg/SVGImageElement.h:
</del><ins>+ Unmask most of the PLATFORM(IOS) blocks so all platforms can take
+ advantage of optimizations done while under pressure. Note that
+ isUnderMemoryPressure() will still always return false on platforms
+ other than iOS/WK1, but this will change soon.
</ins><span class="cx">
</span><del>-2013-06-06 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ * history/PageCache.cpp:
+ (WebCore::PageCache::canCache):
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::commitProvisionalLoad):
+ * page/FrameView.cpp:
+ (WebCore::FrameView::willPaintContents):
+ (WebCore::FrameView::didPaintContents):
+ * platform/MemoryPressureHandler.cpp:
+ (WebCore::MemoryPressureHandler::MemoryPressureHandler):
+ * platform/MemoryPressureHandler.h:
+ (WebCore::MemoryPressureHandler::isUnderMemoryPressure):
+ * platform/cocoa/MemoryPressureHandlerCocoa.mm:
+ (WebCore::MemoryPressureHandler::setReceivedMemoryPressure):
+ (WebCore::MemoryPressureHandler::clearMemoryPressure):
+ (WebCore::MemoryPressureHandler::respondToMemoryPressureIfNeeded):
+ (WebCore::MemoryPressureHandler::hasReceivedMemoryPressure): Deleted.
+ * platform/graphics/FontCache.cpp:
+ (WebCore::FontCache::purgeInactiveFontDataIfNeeded):
+ * platform/ios/LegacyTileCache.mm:
+ (WebCore::LegacyTileCache::createTilesInActiveGrid):
+ * platform/ios/LegacyTileGrid.mm:
+ (WebCore::LegacyTileGrid::shouldUseMinimalTileCoverage):
+ * platform/ios/LegacyTileLayerPool.mm:
+ (WebCore::LegacyTileLayerPool::addLayer):
+ * platform/ios/TileControllerMemoryHandlerIOS.cpp:
+ (WebCore::TileControllerMemoryHandler::tileControllerGainedUnparentedTiles):
</ins><span class="cx">
</span><del>- ENABLE(PAN_SCROLLING) AutoscrollController::updateAutoscrollRenderer calls hitTestResultAtPoint with `true` for HitTestRequestType
- https://bugs.webkit.org/show_bug.cgi?id=116896
</del><ins>+2014-04-14 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ RenderLayerCompositor's m_layerForOverhangAreas should be offset by the
+ topContentInset
+ https://bugs.webkit.org/show_bug.cgi?id=131632
+ -and corresponding-
+ <rdar://problem/16609602>
</ins><span class="cx">
</span><del>- Update hitTestResultAtPoint call to new API.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * page/AutoscrollController.cpp:
- (WebCore::AutoscrollController::updateAutoscrollRenderer):
</del><ins>+ Offset m_layerForOverhangAreas by the topContentInset.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
</ins><span class="cx">
</span><del>-2013-06-06 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+2014-04-14 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- ResourceLoader::resourceData() should not return a PassRefPtr
- https://bugs.webkit.org/show_bug.cgi?id=117288
</del><ins>+ Eliminate CachedFrame::m_mousePressNode
+ https://bugs.webkit.org/show_bug.cgi?id=131626
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Brady Eidson.
</ins><span class="cx">
</span><del>- Change ResourceLoader::resourceData() to return a raw pointer
- instead of a PassRefPtr since we don't want to transfer the
- ownership of the resource data. Also pass a raw pointer to
- CachedResource::data() so that the cached resource can decide
- whether to take a reference of the data or not, for example,
- CachedRawResource only takes a reference when buffering policy is
- BufferData.
</del><ins>+ I couldn't find any observable effect of this change.
</ins><span class="cx">
</span><del>- * html/ImageDocument.cpp:
- (WebCore::ImageDocumentParser::appendBytes):
- (WebCore::ImageDocumentParser::finish):
- * loader/ResourceLoader.cpp:
- * loader/ResourceLoader.h:
- (WebCore::ResourceLoader::resourceData):
- * loader/SubresourceLoader.cpp:
- (WebCore::SubresourceLoader::sendDataToResource):
- * loader/cache/CachedCSSStyleSheet.cpp:
- (WebCore::CachedCSSStyleSheet::data):
- * loader/cache/CachedCSSStyleSheet.h:
- * loader/cache/CachedFont.cpp:
- (WebCore::CachedFont::data):
- * loader/cache/CachedFont.h:
- * loader/cache/CachedImage.cpp:
- (WebCore::CachedImage::data):
- * loader/cache/CachedImage.h:
- * loader/cache/CachedRawResource.cpp:
- (WebCore::CachedRawResource::data):
- * loader/cache/CachedRawResource.h:
- * loader/cache/CachedResource.cpp:
- (WebCore::CachedResource::data):
- * loader/cache/CachedResource.h:
- * loader/cache/CachedSVGDocument.cpp:
- (WebCore::CachedSVGDocument::data):
- * loader/cache/CachedSVGDocument.h:
- * loader/cache/CachedScript.cpp:
- (WebCore::CachedScript::data):
- * loader/cache/CachedScript.h:
- * loader/cache/CachedShader.cpp:
- (WebCore::CachedShader::data):
- * loader/cache/CachedShader.h:
- * loader/cache/CachedTextTrack.cpp:
- (WebCore::CachedTextTrack::data):
- * loader/cache/CachedTextTrack.h:
- * loader/cache/CachedXSLStyleSheet.cpp:
- (WebCore::CachedXSLStyleSheet::data):
- * loader/cache/CachedXSLStyleSheet.h:
</del><ins>+ * history/CachedFrame.cpp:
+ (WebCore::CachedFrameBase::CachedFrameBase):
+ (WebCore::CachedFrameBase::restore):
+ (WebCore::CachedFrame::clear):
+ * history/CachedFrame.h:
+ (WebCore::CachedFrame::documentLoader):
+ (WebCore::CachedFrame::mousePressNode): Deleted.
+ Eliminated m_mousePressNode, accessor, and code that reached out to EventHandler.
</ins><span class="cx">
</span><del>-2013-06-06 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::mousePressNode): Deleted.
+ (WebCore::EventHandler::setMousePressNode): Deleted.
+ * page/EventHandler.h:
+ (WebCore::EventHandler::setMousePressed): Deleted. This function was already unused.
</ins><span class="cx">
</span><del>- AX: iOS ignores ARIA progressbar elements
- https://bugs.webkit.org/show_bug.cgi?id=116727
</del><ins>+2014-04-14 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ Run filter animations in the UI process with UI-side compositing
+ https://bugs.webkit.org/show_bug.cgi?id=131199
+ <rdar://problem/16479487>
</ins><span class="cx">
</span><del>- Make this an accessible element on iOS.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Test: platform/iphone-simulator/accessibility/progressbar.html
</del><ins>+ Add FilterOperation::clone() which is used during decoding.
+ Export some things.
</ins><span class="cx">
</span><del>- * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
- (-[WebAccessibilityObjectWrapper determineIsAccessibilityElement]):
- (-[WebAccessibilityObjectWrapper _accessibilityMinValue]):
- (-[WebAccessibilityObjectWrapper _accessibilityMaxValue]):
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/filters/FilterOperation.h:
</ins><span class="cx">
</span><del>-2013-06-06 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-04-14 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Remove unused HashValueForClassAndName() from JSC bindings generator
- https://bugs.webkit.org/show_bug.cgi?id=117292
</del><ins>+ Use after free in WebCore::CachedResourceHandleBase::~CachedResourceHandleBase / WebCore::removeDetachedChildrenInContainer
+ https://bugs.webkit.org/show_bug.cgi?id=131169
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Remove HashValueForClassAndName() subroutine from JSC bindings generator
- as it is dead code.
</del><ins>+ Invalidate the WebCoreAVFResourceLoader owned by MediaPlayerPrivateAVFoundationObjC
+ in its destructor, to prevent a private function being called in response to the
+ WebCoreAVFResourceLoader being stopped.
</ins><span class="cx">
</span><del>- No new tests, code clean up.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC):
+ * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h:
+ * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
+ (WebCore::WebCoreAVFResourceLoader::invalidate):
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorJS.pm:
</del><ins>+2014-04-14 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-06-06 Gwang Yoon Hwang <ryumiel@company100.net>
</del><ins>+ [WK2 iOS] Scrolling to anchor links is broken
+ https://bugs.webkit.org/show_bug.cgi?id=131618
+ <rdar://problem/16599144>
</ins><span class="cx">
</span><del>- Cannot set a new timer inside of timer callback in RunLoopTimerGtk & RunLoopTimerEFL
- https://bugs.webkit.org/show_bug.cgi?id=117224
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Reviewed by Christophe Dumez.
</del><ins>+ Have ScrollingTreeScrollingNode pass RequestedScrollPosition updates
+ to the scrolling tree, so that the scrolling tree can have custom behavior
+ for them if necessary.
</ins><span class="cx">
</span><del>- RunLoopTimer should clear its isActive flag before invoking timer
- callback.
</del><ins>+ * page/scrolling/ScrollingTree.h:
+ (WebCore::ScrollingTree::scrollingTreeNodeRequestsScroll):
+ * page/scrolling/ScrollingTreeScrollingNode.cpp:
+ (WebCore::ScrollingTreeScrollingNode::updateAfterChildren):
+ * page/scrolling/ScrollingTreeScrollingNode.h:
</ins><span class="cx">
</span><del>- * platform/efl/RunLoopEfl.cpp:
- (WebCore::RunLoop::TimerBase::timerFired):
- * platform/gtk/RunLoopGtk.cpp:
- (WebCore::RunLoop::TimerBase::timerFiredCallback):
</del><ins>+2014-04-14 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>-2013-06-06 Diego Pino Garcia <dpino@igalia.com>
</del><ins>+ Web Replay: memoize fallback time values for document.lastModified
+ https://bugs.webkit.org/show_bug.cgi?id=131318
</ins><span class="cx">
</span><del>- [GTK] Parameters 'inResult' and 'resolver' from function 'webkit_dom_document_evaluate' should be allowed to be NULL
- https://bugs.webkit.org/show_bug.cgi?id=117129
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><del>- Reviewed by Xan Lopez.
</del><ins>+ If a document's Last-Modified header can't be found or used, then
+ document.lastModified is derived from the current system time or
+ from filesystem data, which is obviously nondeterministic.
</ins><span class="cx">
</span><del>- At this moment there was a temporary fix that allowed parameter
- 'inResult' to be NULL (see: webk.it/42115). However, there was no fix
- for parameter 'resolver'.
</del><ins>+ It's better to handle this inside Document::lastModified rather than using
+ MemoizedDOMResult, because only the fallback case is nondeterministic.
+
+ Test: http/tests/inspector/replay/document-last-modified-fallback-value.html
+
+ * dom/Document.cpp:
+ (WebCore::Document::lastModified): Save or reuse memoized fallback value.
+ * replay/WebInputs.json: Add input DocumentLastModifiedDate.
+
+2014-04-12 Antti Koivisto <antti@apple.com>
+
+ Keep secondary tile grid for zoomed-out scale
+ https://bugs.webkit.org/show_bug.cgi?id=131586
+
+ Reviewed by Darin Adler.
+
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::updateContentsScale):
</ins><span class="cx">
</span><del>- This patch refactors the code of the previous fix, moving the code for
- determine whether a parameter can be NULL or not to GetGReturnMacro.
- The solution is quite general and will alow to add other parameters in
- the future if needed.
</del><ins>+ Don't repaint tiled backing with setNeedsDisplay, it invalidates itself correctly in setContentsScale.
+ Update custom child layers when tiled backing scale changes.
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorGObject.pm:
- (GetGReturnMacro): Pass functionName, as in some cases the code
- generated depends on the paramName and the functionName
- (ParamCanBeNull): Checks if a parameter is allowed to be NULL
- (GenerateFunction):
</del><ins>+ * platform/graphics/ca/mac/TileController.h:
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::TileController):
+ (WebCore::TileController::setNeedsDisplay):
+
+ Drop the whole zoomed-out grid on full repaint.
</ins><span class="cx">
</span><del>-2013-06-06 Zalan Bujtas <zalan@apple.com>
</del><ins>+ (WebCore::TileController::setNeedsDisplayInRect):
+
+ Drop changed zoomed-out tiles. A more sophisticated strategy is possible.
</ins><span class="cx">
</span><del>- SVG objects are misplaced when SVG root has CSS transform.
- https://bugs.webkit.org/show_bug.cgi?id=117252
</del><ins>+ (WebCore::TileController::setContentsScale):
+
+ Swap the zoomed-out grid in and out as needed.
+ Repaint the active grid after scale change so the client does not have to.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ (WebCore::TileController::contentsScale):
+
+ Get the content scale from the tile grid so it is not kept in two places.
</ins><span class="cx">
</span><del>- Update layer transforms for SVG if needed.
</del><ins>+ (WebCore::TileController::zoomedOutContentsScale):
+ (WebCore::TileController::setZoomedOutContentsScale):
+
+ Drop the zoomed-out grid if it no longer matches the zoomed-out scale.
</ins><span class="cx">
</span><del>- SVG root, similarly to RenderBlock needs to call RenderLayer
- to get transforms updated after layout, in order to
- position the transformed objects properly.
</del><ins>+ (WebCore::TileController::tileRevalidationTimerFired):
+ (WebCore::TileController::retainedTileBackingStoreMemory):
+ (WebCore::TileController::containerLayers):
+
+ Return both zoomed-out tiles and the active tiles. Active tiles are on top.
</ins><span class="cx">
</span><del>- Test: fast/transforms/transform-svg.html
</del><ins>+ (WebCore::TileController::numberOfUnparentedTiles):
+ (WebCore::TileController::removeUnparentedTilesNow):
+ * platform/graphics/ca/mac/TileGrid.h:
+ * platform/graphics/ca/mac/TileGrid.mm:
+ (WebCore::TileGrid::dropTilesInRect):
+
+ Add a function for dropping tiles.
</ins><span class="cx">
</span><del>- * rendering/svg/RenderSVGRoot.cpp:
- (WebCore::RenderSVGRoot::layout):
</del><ins>+ (WebCore::TileGrid::revalidateTiles):
</ins><span class="cx">
</span><del>-2013-06-06 Jae Hyun Park <jae.park@company100.net>
</del><ins>+2014-04-14 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>- Coordinated Graphics : Refactor CoordinatedSurface to manage the lifecycle of GraphicsContext
- https://bugs.webkit.org/show_bug.cgi?id=108899
</del><ins>+ Update test result
</ins><span class="cx">
</span><del>- Reviewed by Noam Rosenthal.
</del><ins>+ * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
+ (WebCore::JSTestNondeterministicConstructor::finishCreation):
</ins><span class="cx">
</span><del>- This is a preparation patch for Threaded Coordinated Graphics.
</del><ins>+2014-04-14 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- This patch changes CoordinatedSurface to be responsible for the
- lifecycle of GraphicsContext used in Coordinated Graphics System.
- CoordinatedImageBacking and UpdateAtlas do not ask for the ownership
- of GraphicsContext anymore. Instead, those classes use client pattern to
- ask the CoordiantedSurface to paint to the GraphicsContext.
</del><ins>+ Optimize Canvas fill and drawImage with SourceIn, DestinationIn, SourceOut, and DestinationAtop using transparencyLayer.
+ https://bugs.webkit.org/show_bug.cgi?id=79659
</ins><span class="cx">
</span><del>- This refactoring is needed to implement CoordinatedSurface for Threaded
- Coordinated Graphics.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ Optimize fill() and fillRect() operations in Canvas on composited contexts by
+ 10 to 20 times on CG.
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
- (WebCore::CoordinatedGraphicsLayer::paintToSurface):
- * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
- * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:
- (WebCore::ImageBackingSurfaceClient::ImageBackingSurfaceClient):
- (WebCore::CoordinatedImageBacking::update):
- * platform/graphics/texmap/coordinated/CoordinatedSurface.h:
- (WebCore::CoordinatedSurface::Client::~Client):
- * platform/graphics/texmap/coordinated/CoordinatedTile.cpp:
- (WebCore::CoordinatedTile::updateBackBuffer):
- (WebCore::CoordinatedTile::paintToSurfaceContext):
- * platform/graphics/texmap/coordinated/CoordinatedTile.h:
- * platform/graphics/texmap/coordinated/UpdateAtlas.cpp:
- (WebCore::UpdateAtlasSurfaceClient::UpdateAtlasSurfaceClient):
- (WebCore::UpdateAtlas::paintOnAvailableBuffer):
- * platform/graphics/texmap/coordinated/UpdateAtlas.h:
</del><ins>+ Replacing the ImageBuffer code by transparency layers allows the
+ graphics library to optimize the drawing.
</ins><span class="cx">
</span><del>-2013-06-05 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Doing the same for drawImage() would give performance regressions.
</ins><span class="cx">
</span><del>- Revert the second half of r151257. WebGLRenderingContext::create can return null.
</del><ins>+ An inline function will create a transparency layer for CG. Cairo graphics
+ does not composite correctly when a transparency layer gets created.
+ The inline function is just a NOOP for Cairo.
</ins><span class="cx">
</span><del>- * html/HTMLCanvasElement.cpp:
- (WebCore::HTMLCanvasElement::getContext):
</del><ins>+ This fixes bug 131303 as well.
</ins><span class="cx">
</span><del>-2013-06-05 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Added performance tests with r167124 already.
</ins><span class="cx">
</span><del>- Remove unnecessary null check in HTMLCanvasElement.cpp.
</del><ins>+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::fillInternal):
+ (WebCore::CanvasRenderingContext2D::strokeInternal):
+ (WebCore::CanvasRenderingContext2D::beginCompositeLayer):
+ (WebCore::CanvasRenderingContext2D::endCompositeLayer):
+ (WebCore::CanvasRenderingContext2D::fillRect):
+ (WebCore::CanvasRenderingContext2D::strokeRect):
+ (WebCore::CanvasRenderingContext2D::drawTextInternal):
+ (WebCore::CanvasRenderingContext2D::fullCanvasCompositedFill): Deleted.
+ * html/canvas/CanvasRenderingContext2D.h:
</ins><span class="cx">
</span><del>- Rubber-stamped by Benjamin Poulain.
</del><ins>+2014-04-14 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- * html/HTMLCanvasElement.cpp:
- (WebCore::HTMLCanvasElement::getContext):
</del><ins>+ Lots of compositing test failures after r167152
+ https://bugs.webkit.org/show_bug.cgi?id=131574
</ins><span class="cx">
</span><del>-2013-06-05 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- [curl] Add implementation for HTTP PUT method.
- https://bugs.webkit.org/show_bug.cgi?id=117256
</del><ins>+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::dumpChildren):
+ (WebCore::GraphicsLayer::dumpProperties):
+ Make child-dumping recursive so that we can easily skip layers up to any depth.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+2014-04-14 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ Fix incorrect indentations in CodeGeneratorJS.pm introduced in r165521
+ https://bugs.webkit.org/show_bug.cgi?id=131613
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::getFormSize):
- (WebCore::setupFormData):
- (WebCore::ResourceHandleManager::setupPUT):
- (WebCore::ResourceHandleManager::setupPOST):
</del><ins>+ Reviewed by Csaba Osztrogonác.
</ins><span class="cx">
</span><del>-2013-06-05 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ Fixed 5-space indentation.
+ * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
+ Updated the tests accordingly.
</ins><span class="cx">
</span><del>- [curl] Normalize mime type information
- https://bugs.webkit.org/show_bug.cgi?id=117194
</del><ins>+2014-04-14 Manuel Rego Casasnovas <rego@igalia.com>
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ [JSC] CSSStyleDeclaration report incorrect descriptor
+ https://bugs.webkit.org/show_bug.cgi?id=89697
</ins><span class="cx">
</span><del>- * platform/MIMETypeRegistry.cpp: Enable MIME type normalization for curl.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>-2013-06-05 Xueqing Huang <huangxueqing@baidu.com>
</del><ins>+ Change descriptor of CSSStyleDeclaration properties in order to have
+ writable and enumerable attributes set to true. Configurable is kept to
+ false since the property is not deleteable.
</ins><span class="cx">
</span><del>- Move OleGetClipboard to Pasteboard::createForCopyAndPaste.
- https://bugs.webkit.org/show_bug.cgi?id=117064
</del><ins>+ Test: fast/dom/CSSStyleDeclaration/cssstyledeclaration-properties-descriptor.html
</ins><span class="cx">
</span><ins>+ * bindings/js/JSCSSStyleDeclarationCustom.cpp:
+ (WebCore::JSCSSStyleDeclaration::getOwnPropertySlotDelegate): Only set
+ DontDelete attribute when creating the descriptor for
+ CSSStyleDeclaration properties.
+
+2014-04-14 Benjamin Poulain <benjamin@webkit.org>
+
+ [JSC] Improve the call site of string comparison in some hot path
+ https://bugs.webkit.org/show_bug.cgi?id=131605
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- No behavior change, no new tests.
</del><ins>+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::NodeListCacheMapEntryHash::equal):
+ We should use the right comparison operation depending on the Hash Traits.
</ins><span class="cx">
</span><del>- * platform/win/EditorWin.cpp:
- (WebCore::Editor::newGeneralClipboard): Editor should not create IDataObject explicitly then set it to Pasteboard.
- * platform/win/PasteboardWin.cpp:
- (WebCore::Pasteboard::createForCopyAndPaste): Construct a Pasteboard and create IDataObject by "OleGetClipboard".
</del><ins>+2014-04-14 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2013-06-05 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ Merge MemoryPressureHandler{Mac,IOS}.mm
+ <https://webkit.org/b/131603>
</ins><span class="cx">
</span><del>- WebSQL forces 16-bit strings
- https://bugs.webkit.org/show_bug.cgi?id=116935
</del><ins>+ Join the iOS and Mac platform implementations of MemoryPressureHandler
+ under the shared Cocoa banner. Each platform still has its own quirky
+ behavior, but this puts them in the same file so we can start sharing.
</ins><span class="cx">
</span><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Merge chromium 49c9632ac135f6f06e623a7a81d9da1f6bb7196f.
- https://chromium.googlesource.com/chromium/blink/+/49c9632ac135f6f06e623a7a81d9da1f6bb7196f
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/cocoa/MemoryPressureHandlerCocoa.mm: Renamed from Source/WebCore/platform/mac/MemoryPressureHandlerMac.mm.
+ (WebCore::MemoryPressureHandler::platformReleaseMemory):
+ (WebCore::MemoryPressureHandler::install):
+ (WebCore::MemoryPressureHandler::uninstall):
+ (WebCore::MemoryPressureHandler::holdOff):
+ (WebCore::MemoryPressureHandler::respondToMemoryPressure):
+ (WebCore::respondToMemoryPressureCallback):
+ (WebCore::MemoryPressureHandler::installMemoryReleaseBlock):
+ (WebCore::MemoryPressureHandler::setReceivedMemoryPressure):
+ (WebCore::MemoryPressureHandler::hasReceivedMemoryPressure):
+ (WebCore::MemoryPressureHandler::clearMemoryPressure):
+ (WebCore::MemoryPressureHandler::shouldWaitForMemoryClearMessage):
+ (WebCore::MemoryPressureHandler::respondToMemoryPressureIfNeeded):
+ * platform/ios/MemoryPressureHandlerIOS.mm: Removed.
</ins><span class="cx">
</span><del>- * platform/sql/SQLiteStatement.cpp:
- (WebCore::SQLiteStatement::getColumnValue):
</del><ins>+2014-04-14 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>-2013-06-05 Bear Travis <betravis@adobe.com>
</del><ins>+ CSS JIT: compile the :nth-child() pseudo class
+ https://bugs.webkit.org/show_bug.cgi?id=131602
</ins><span class="cx">
</span><del>- [CSS Exclusions][CSS Shapes] Split CSS Exclusions & Shapes compile & runtime flags
- https://bugs.webkit.org/show_bug.cgi?id=117172
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ Tests: fast/selectors/nth-child-bounds.html
+ fast/selectors/nth-child-with-backtracking.html
</ins><span class="cx">
</span><del>- This patch adds a new compile and runtime flag for the CSS Shapes feature, which
- has split off from the previous CSS Exclusions and Shapes specification. The
- specifications are available here:
- http://dev.w3.org/csswg/css-exclusions/
- http://dev.w3.org/csswg/css-shapes/
</del><ins>+ Compile the :nth-child() pseudo class function + some related clean up.
</ins><span class="cx">
</span><del>- The changes introduce a new CSS_SHAPES compile flag, and a new cssShapesEnabled
- runtime flag. In general, the code changes are simple renames.
</del><ins>+ * css/CSSSelector.cpp:
+ (WebCore::CSSSelector::nthA):
+ (WebCore::CSSSelector::nthB):
+ Expose the parsed value of an+b filters. Those values are used to compile
+ the selector.
</ins><span class="cx">
</span><del>- Refactoring, no new tests.
</del><ins>+ (WebCore::CSSSelector::RareData::parseNth):
+ While working on the patch, I discovered some severe issues with the parsing of large
+ values of a and/or b. The problem comes from the way the CSS parser handle the values:
+ the values are parsed as a double then converted to an AtomicString for CSSSelector.
</ins><span class="cx">
</span><del>- * bindings/generic/RuntimeEnabledFeatures.h:
- (WebCore::RuntimeEnabledFeatures::setCSSShapesEnabled):
- (WebCore::RuntimeEnabledFeatures::cssShapesEnabled):
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::ComputedStyleExtractor::propertyValue):
- * css/CSSParser.cpp:
- (WebCore::isSimpleLengthPropertyID):
- (WebCore::CSSParser::parseValue):
- * css/CSSProperty.cpp:
- (WebCore::CSSProperty::isInheritedProperty):
</del><ins>+ There are many problems related to large values but we never got bug reports because
+ they are very uncommon. Fixing those problem would require changing the parser.
+
+ Here, CSSSelector::RareData::parseNth() is hardened a little bit to avoid absurd values
+ of a and b.
+
+ * css/CSSSelector.h:
+ * cssjit/RegisterAllocator.h:
+ It looks like I forgot RDX in the list of register. Add it now since it is required
+ for SelectorCodeGenerator::modulo().
+
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::addPseudoType):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::SelectorCodeGenerator):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::modulo):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::moduloIsZero):
+ There is no modulo() operation exposed on the macro assemblers. This is a basic
+ implementation on top of idiv for x86_64.
+
+ Since idiv works exclusively with RAX and RDX, most of the code is about getting
+ those registers efficiently.
+
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatching):
+ (WebCore::SelectorCompiler::setElementChildIndex):
+ (WebCore::SelectorCompiler::setElementChildIndexAndUpdateStyle):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsNthChild):
+ This is pretty much a straightforward implementation of :nth-child().
+ The first part counts the number of previous elements.
+ The second part updates the tree if this is style resolution.
+ The last part compares the number of previous siblings to an+b to find if the filter matches.
+
+ The only part that diverges from SelectorChecker is how childIndex is used. Instead of testing it
+ at every iteration, only the first iteration handle the cache.
+
+ * dom/ElementRareData.h:
+ (WebCore::ElementRareData::childIndexMemoryOffset):
+ * dom/Node.h:
+ (WebCore::Node::rareDataMemoryOffset):
+ (WebCore::Node::flagHasRareData):
+ * rendering/style/RenderStyle.h:
+
+2014-04-14 Tim Horton <timothy_horton@apple.com>
+
+ Support setting a background color on page overlays
+ https://bugs.webkit.org/show_bug.cgi?id=131600
+
+ Reviewed by Darin Adler.
+
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::setDocumentOverlayRootLayer):
+ Mark the compositing tree as needing a rebuild when we get a new document-relative
+ overlay layer; otherwise we were depending on something else coming along and
+ requiring a rebuild, which didn't always happen.
+
+2014-04-14 Mihnea Ovidenie <mihnea@adobe.com>
+
+ [CSS Regions] Hit testing doesn't work in video
+ https://bugs.webkit.org/show_bug.cgi?id=131485
+
+ Reviewed by Andrei Bucur.
+
+ When hit testing flow thread layer through the region layer,
+ we have to pass the depth sorting information and take that
+ into account for the situation in which an ancestor of the region
+ has preserve-3d transform style.
+
+ Test: fast/regions/hit-test-region-preserve3d-container.html
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::hitTestLayer):
+ (WebCore::RenderLayer::hitTestFlowThreadIfRegionForFragments):
+ * rendering/RenderLayer.h:
+
+2014-04-13 Darin Adler <darin@apple.com>
+
+ userVisibleString should not try to "encode" host names
+ https://bugs.webkit.org/show_bug.cgi?id=131587
+ rdar://problem/14686849
+
+ Reviewed by Alexey Proskuryakov.
+
+ * WebCore.exp.in: Updated for WebCoreNSURLExtras argument type changes.
+
+ * platform/mac/WebCoreNSURLExtras.h: Removed unneeded code to make this
+ Objective-C++ header compile in plain C++ files, which we never need to do.
+ Added missing argument name, baseURL, and changed mysterious CFIndex arguments
+ to the correct type, CFURLComponentType.
+
+ * platform/mac/WebCoreNSURLExtras.mm:
+ (WebCore::isLookalikeCharacter): Removed the inline keyword from this, and added
+ more lookalike characters from the Mozilla list referenced here.
+ (WebCore::URLByTruncatingOneCharacterBeforeComponent): Updated argument type.
+ (WebCore::dataForURLComponentType): Ditto.
+ (WebCore::userVisibleString): Only call mapHostNames if host name decoding is
+ needed; no encoding here.
+
+2014-04-13 Darin Adler <darin@apple.com>
+
+ REGRESSION (r158617): Find on Page can get stuck in a loop when the search string occurs in an <input> in a <fieldset>
+ https://bugs.webkit.org/show_bug.cgi?id=126322
+
+ Reviewed by Ryosuke Niwa.
+
+ * dom/Element.cpp:
+ (WebCore::Element::canContainRangeEndPoint): Now returns false when the role of the element
+ is "img". This is the same rule that's hard-coded in isRenderReplacedElement for the same
+ reason. Need more test coverage to make sure this role feature works consistently.
+
+ * dom/Element.h: Made canContainRangeEndPoint no longer inline since it's not just a
+ return statement any more.
+
+ * dom/Position.cpp:
+ (WebCore::Position::isCandidate): Took out code that calls isRendererReplacedElement
+ that was added in r158617; not needed now that we updated canContainRangeEndPoint.
+
+ * dom/Range.cpp:
+ (WebCore::Range::firstNode): Removed code here that called isRendererReplacedElement.
+ This was the wrong level to be adding editing logic, and there's a FIXME here to that
+ effect, which we are now deleting. This was the change that broke Find.
+
+ * editing/TextIterator.cpp: Added a comment about the redundancy between the
+ isRendererReplacedElement and editingIgnoresContent functions.
+
+ * html/HTMLHRElement.cpp:
+ (WebCore::HTMLHRElement::canContainRangeEndPoint): Call through to base class instead
+ of just returning true when we have child nodes. Lets Element::canContainRangeEndPoint
+ do its thing.
+ * html/HTMLHRElement.h: Ditto.
+
+ * html/HTMLObjectElement.cpp:
+ (WebCore::HTMLObjectElement::canContainRangeEndPoint): Call through to base class instead
+ of just returning true when we have fallback content. Lets Element::canContainRangeEndPoint
+ do its thing.
+ * html/HTMLObjectElement.h: Ditto.
+
+ * testing/Internals.cpp:
+ (WebCore::Internals::countMatchesForText): Set the limit to 1000 instead of infinite.
+
+2014-04-12 Darin Adler <darin@apple.com>
+
+ Use unique_ptr for FillLayer::m_next
+ https://bugs.webkit.org/show_bug.cgi?id=75222
+
+ Reviewed by Dan Bernstein.
+
</ins><span class="cx"> * css/DeprecatedStyleBuilder.cpp:
</span><del>- (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::applyProperty):
- (WebCore::StyleResolver::loadPendingImages):
- * page/animation/CSSPropertyAnimation.cpp:
- (WebCore::CSSPropertyAnimation::ensurePropertyMap):
- * rendering/BidiRun.h:
- (WebCore::BidiRun::BidiRun):
- * rendering/ExclusionShapeInfo.cpp:
- * rendering/ExclusionShapeInfo.h:
- * rendering/ExclusionShapeInsideInfo.cpp:
- * rendering/ExclusionShapeInsideInfo.h:
- * rendering/ExclusionShapeOutsideInfo.cpp:
- * rendering/ExclusionShapeOutsideInfo.h:
- * rendering/LayoutState.cpp:
- (WebCore::LayoutState::LayoutState):
- * rendering/LayoutState.h:
- (WebCore::LayoutState::LayoutState):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::styleDidChange):
- (WebCore::exclusionInfoRequiresRelayout):
- (WebCore::RenderBlock::updateRegionsAndExclusionsBeforeChildLayout):
- (WebCore::RenderBlock::updateRegionsAndExclusionsAfterChildLayout):
- (WebCore::RenderBlock::insertFloatingObject):
- (WebCore::RenderBlock::computeLogicalLocationForFloat):
- (WebCore::RenderBlock::positionNewFloats):
- (WebCore::::collectIfNeeded):
- (WebCore::RenderBlock::logicalLeftOffsetForLine):
- (WebCore::RenderBlock::logicalRightOffsetForLine):
- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::xPositionForFloatIncludingMargin):
- (WebCore::RenderBlock::yPositionForFloatIncludingMargin):
- (WebCore::RenderBlock::FloatIntervalSearchAdapter::FloatIntervalSearchAdapter):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::LineWidth::LineWidth):
- (WebCore::LineWidth::updateAvailableWidth):
- (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):
- (WebCore::RenderBlock::constructLine):
- (WebCore::computeExpansionForJustifiedText):
- (WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
- (WebCore::RenderBlock::computeInlineDirectionPositionsForSegment):
- (WebCore::constructBidiRunsForLine):
- (WebCore::RenderBlock::layoutRunsAndFloatsInRange):
- (WebCore::RenderBlock::LineBreaker::nextLineBreak):
- (WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
</del><ins>+ (WebCore::ApplyPropertyFillLayer::applyInheritValue):
+ Renamed currChild to just child and prevChild to previousChild.
+ Changed code to pass ownership of the new FillLayer immediately.
+ Changed some loops to be for loops.
+ (WebCore::ApplyPropertyFillLayer::applyInitialValue): Ditto.
+ (WebCore::ApplyPropertyFillLayer::applyValue): Ditto.
+
</ins><span class="cx"> * rendering/RenderBox.cpp:
</span><del>- (WebCore::RenderBox::willBeDestroyed):
- (WebCore::RenderBox::styleDidChange):
- * rendering/RenderBox.h:
</del><ins>+ (WebCore::RenderBox::backgroundHasOpaqueTopLayer): Use reference
+ instead of pointer.
+ (WebCore::RenderBox::paintFillLayers): Ditto.
</ins><span class="cx"> * rendering/RenderBoxModelObject.cpp:
</span><del>- (WebCore::RenderBoxModelObject::paintOffset):
</del><ins>+ (WebCore::RenderBoxModelObject::paintFillLayerExtended): Ditto.
+
+ * rendering/style/FillLayer.cpp:
+ (WebCore::FillLayer::FillLayer): Removed m_next initializer since it is now an
+ OwnPtr and initializes automatically. In a couple other places, changed m_next
+ initializer to use make_unique.
+ (WebCore::FillLayer::~FillLayer): Wrote loop for deletion of m_next.
+ (WebCore::FillLayer::operator=): Removed unneeded explicit deletion of m_next.
+ (WebCore::FillLayer::cullEmptyLayers): Ditto.
+ (WebCore::clipMax): Marked inline.
+ (WebCore::FillLayer::computeClipMax): Rewrote to use a loop instead of recursion.
+ (WebCore::FillLayer::containsImage): Ditto.
+ (WebCore::FillLayer::imagesAreLoaded): Ditto.
+ (WebCore::FillLayer::hasOpaqueImage): Rewrote to use && instead of multiple if.
+ (WebCore::FillLayer::hasImage): Rewrote to use a loop instead of recursion.
+ (WebCore::FillLayer::hasFixedImage): Ditto.
+
+ * rendering/style/FillLayer.h: Changed m_next to be a unique_ptr.
+
+2014-04-13 Andy Estes <aestes@apple.com>
+
+ [QuickLook] Move file system-related code into WebKit
+ https://bugs.webkit.org/show_bug.cgi?id=131597
+
+ Reviewed by Dan Bernstein.
+
+ QuickLookHandle should not be responsible for saving a copy of the
+ original document to disk as it might be running in a process that
+ either can't write to disk or can only write into a sandboxed
+ container. To account for this, we need to separate the concern of
+ quick look conversion from that of original document saving so that
+ each activity can run in the appropriate process.
+
+ Created a new interface between WebCore and WebKit by adding a client
+ (QuickLookHandleClient) to QuickLookHandle which is notified of incoming
+ bytes. A new function on FrameLoaderClient tells WebKit when a new
+ QuickLookHandle is created, giving WebKit the opportunity to register a
+ handle client. Moved the existing file system-related code as well as
+ code only needed by WebKit1 in QuickLookHandle into a new WebKit1
+ QuickLookHandleClient subclass.
+
+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj: Made QuickLookHandleClient.h Private.
+ * loader/FrameLoaderClient.h:
+ (WebCore::FrameLoaderClient::didCreateQuickLookHandle): Added.
+ * loader/ResourceLoader.cpp:
+ (WebCore::ResourceLoader::didCreateQuickLookHandle): Called FrameLoaderClient::didCreateQuickLookHandle().
+ * loader/ResourceLoader.h:
+ * platform/network/ResourceHandle.h: Made m_quickLook a unique_ptr.
+ (WebCore::ResourceHandle::setQuickLookHandle): Changed to take a unique_ptr.
+ * platform/network/ResourceHandleClient.h:
+ (WebCore::ResourceHandleClient::didCreateQuickLookHandle): Added.
+ * platform/network/ios/QuickLook.h: Added m_client, gave m_converter a stronger type, and made m_nsResponse a RetainPtr.
+ (WebCore::QuickLookHandle::setClient): Added.
+ (WebCore::QuickLookHandle::firstRequestURL): Added.
+ (WebCore::QuickLookHandle::converter): Added.
+ * platform/network/ios/QuickLook.mm:
+ (WebCore::registerQLPreviewConverterIfNeeded):
+ (WebCore::createTemporaryFileForQuickLook): Made non-static.
+ (WebCore::emptyClient): Returned a shared empty QuickLookHandleClient.
+ (WebCore::QuickLookHandle::QuickLookHandle): Removed file system and WebKit1-only code.
+ (WebCore::QuickLookHandle::create): Changed to return a unique_ptr.
+ (WebCore::QuickLookHandle::nsResponse):
+ (WebCore::QuickLookHandle::didReceiveDataArray): Removed file system code and called QuickLookHandleClient::didReceiveDataArray() instead.
+ (WebCore::QuickLookHandle::didReceiveData): Removed file system code and called QuickLookHandleClient::didReceiveData() instead.
+ (WebCore::QuickLookHandle::didFinishLoading): Removed file system code and called QuickLookHandleClient::didFinishLoading() instead.
+ (WebCore::QuickLookHandle::didFail): Removed file system and WebKit1-only code, calling QuickLookHandleClient::didFail() instead.
+ (WebCore::QuickLookHandle::~QuickLookHandle): Removed file system and WebKit1-only code. Cleared our reference to m_client.
+ (WebCore::QuickLookHandle::previewFileName): Retrieved from m_converter.
+ (WebCore::QuickLookHandle::previewRequestURL): Ditto.
+ * platform/network/ios/QuickLookHandleClient.h: Added.
+ (WebCore::QuickLookHandleClient::~QuickLookHandleClient):
+ (WebCore::QuickLookHandleClient::didReceiveDataArray):
+ (WebCore::QuickLookHandleClient::didReceiveData):
+ (WebCore::QuickLookHandleClient::didFinishLoading):
+ (WebCore::QuickLookHandleClient::didFail):
+
+2014-04-10 Pratik Solanki <psolanki@apple.com>
+
+ Move early return out of dispatch_async() block so we can return from willSendRequest quickly
+ https://bugs.webkit.org/show_bug.cgi?id=131478
+ <rdar://problem/16575535>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Do a quick check to see if we need to synthesize the redirect response on the dispatch queue
+ and return from willSendRequest callback quickly instead of always doing an effectively synchronous
+ call to the main thread. We can't call synthesizeRedirectResponseIfNecessary on the dispatch
+ queue since that accesses the ResourceRequest.
+
+ No new tests because no change in functionality.
+
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegate.h:
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp:
+ (WebCore::ResourceHandleCFURLConnectionDelegateWithOperationQueue::setupRequest): Save the
+ request scheme to use later for early return from willSendRequest.
+ (WebCore::ResourceHandleCFURLConnectionDelegateWithOperationQueue::willSendRequest):
+
+2014-04-08 Oliver Hunt <oliver@apple.com>
+
+ Rewrite Function.bind as a builtin
+ https://bugs.webkit.org/show_bug.cgi?id=131083
+
+ Reviewed by Geoffrey Garen.
+
+ Switch WebCore to use the helper functions when defining the
+ prototype properties on DOM constructors, and update bindings
+ tests accordingly.
+
+ * bindings/js/JSImageConstructor.cpp:
+ (WebCore::JSImageConstructor::finishCreation):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateConstructorHelperMethods):
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ (WebCore::JSTestActiveDOMObjectConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ (WebCore::JSTestCustomNamedGetterConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+ (WebCore::JSTestEventConstructorConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::JSTestEventTargetConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ (WebCore::JSTestExceptionConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
+ (WebCore::JSTestGenerateIsReachableConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::JSTestInterfaceConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+ (WebCore::JSTestMediaQueryListListenerConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
+ (WebCore::JSTestNamedConstructorConstructor::finishCreation):
+ (WebCore::JSTestNamedConstructorNamedConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestNode.cpp:
+ (WebCore::JSTestNodeConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::JSTestObjConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
+ (WebCore::JSTestOverloadedConstructorsConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ (WebCore::JSTestSerializedScriptValueInterfaceConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::JSTestTypedefsConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSattribute.cpp:
+ (WebCore::JSattributeConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSreadonly.cpp:
+ (WebCore::JSreadonlyConstructor::finishCreation):
+
+2014-04-13 Simon Fraser <simon.fraser@apple.com>
+
+ [iOS WK2] Hook up scrolling tree nodes when coming out of the page cache
+ https://bugs.webkit.org/show_bug.cgi?id=131577
+
+ Reviewed by Tim Horton.
+
+ The call to scrollingCoordinator->frameViewRootLayerDidChange() was inside
+ a #if !PLATFORM(IOS) block, but now that we use the ScrollingCoordinator
+ for WK2 we want to call this.
+
+ * loader/HistoryController.cpp:
+ (WebCore::HistoryController::restoreScrollPositionAndViewState):
+
+2014-04-13 Zan Dobersek <zdobersek@igalia.com>
+
+ Unreviewed build fix after r167196.
+
+ * platform/RemoteCommandListener.cpp:
+ (WebCore::RemoteCommandListener::create): Fall back to using the new operator
+ for allocating RemoteCommandListener object. Using std::make_unique() requires
+ for the operator to be public, which doesn't work well with the static create()
+ method.
+
+2014-04-13 Zan Dobersek <zdobersek@igalia.com>
+
+ Remove unnecessary uses of std::move() in return statements
+ https://bugs.webkit.org/show_bug.cgi?id=131457
+
+ Reviewed by Darin Adler.
+
+ Don't use std::move() in return statements unless necessary as it inhibits
+ named return value optimizations as performed by compilers.
+
+ * Modules/battery/BatteryManager.cpp:
+ (WebCore::BatteryManager::create):
+ * html/FormController.cpp:
+ (WebCore::FormController::createSavedFormStateMap):
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::create):
+ * platform/RemoteCommandListener.cpp:
+ (WebCore::RemoteCommandListener::create):
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayer::create):
+ * platform/ios/RemoteCommandListenerIOS.mm:
+ (WebCore::RemoteCommandListener::create):
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::GridIterator::nextEmptyGridArea):
</ins><span class="cx"> * rendering/RenderLayer.cpp:
</span><del>- (WebCore::RenderLayer::shouldBeNormalFlowOnly):
- * rendering/RenderObject.h:
- (WebCore::RenderObject::hasPaintOffset):
- * rendering/RenderView.h:
- (WebCore::RenderView::pushLayoutState):
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::changeRequiresLayout):
- * rendering/style/RenderStyle.h:
- * testing/InternalSettings.cpp:
- (WebCore::InternalSettings::Backup::Backup):
- (WebCore::InternalSettings::Backup::restoreTo):
- (WebCore::InternalSettings::setCSSShapesEnabled):
</del><ins>+ (WebCore::RenderLayer::setupFilters):
+ * rendering/style/CounterDirectives.cpp:
+ (WebCore::clone):
</ins><span class="cx">
</span><del>-2013-06-05 Oliver Hunt <oliver@apple.com>
</del><ins>+2014-04-13 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Don't throttle timers if a page is doing something that might be interesting
- https://bugs.webkit.org/show_bug.cgi?id=117273
</del><ins>+ Unreviewed, rolling out r167168 and r167194.
+ https://bugs.webkit.org/show_bug.cgi?id=131589
</ins><span class="cx">
</span><del>- Reviewed by Gavin Barraclough.
</del><ins>+ Caused massive ASSERTION failures on the GTK Debug bot
+ (Requested by philn on #webkit).
</ins><span class="cx">
</span><del>- Make the decision about whether or not to throttle timers be
- determined by the PageThrottler
</del><ins>+ Reverted changesets:
</ins><span class="cx">
</span><del>- * page/Page.cpp:
- (WebCore::Page::throttleTimers):
- (WebCore::Page::unthrottleTimers):
- (WebCore::Page::setVisibilityState):
- (WebCore::Page::hiddenPageDOMTimerThrottlingStateChanged):
- * page/Page.h:
- * page/PageThrottler.cpp:
- (WebCore::PageThrottler::throttlePage):
- (WebCore::PageThrottler::unthrottlePage):
</del><ins>+ "[GTK] Add HighDPI support for non-accelerated compositing
+ contents"
+ https://bugs.webkit.org/show_bug.cgi?id=131562
+ http://trac.webkit.org/changeset/167168
</ins><span class="cx">
</span><del>-2013-06-05 Mark Salisbury <mark.salisbury@hp.com>
</del><ins>+ "Unreviewed. Fix GTK+ build with recent cairo and GTK+ after
+ r167168."
+ http://trac.webkit.org/changeset/167194
</ins><span class="cx">
</span><del>- [WinCE,WinCairo] RenderThemeWin.cpp needs to include FrameSelection.h.
- https://bugs.webkit.org/show_bug.cgi?id=116583
</del><ins>+2014-04-13 Youenn Fablet <youenn.fablet@crf.canon.fr>
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ [GStreamer] No CORS support for media elements
+ https://bugs.webkit.org/show_bug.cgi?id=99037
</ins><span class="cx">
</span><del>- * rendering/RenderThemeWin.cpp:
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>-2013-06-05 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ Added CORS access control check to media sources when crossorigin attribute is set.
</ins><span class="cx">
</span><del>- [curl] Restrict allowed protocols
- https://bugs.webkit.org/show_bug.cgi?id=117257
</del><ins>+ Added getter to CORS access control check status (used to compute whether the stream is tainted or not).
+ Related test is http/tests/security/video-cross-origin-readback.html.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ Disabled access to cross-origin streams that fail CORS check when crossorigin attribute is set.
+ Related test is http/tests/security/video-cross-origin-accessfailure.html.
</ins><span class="cx">
</span><del>- curl supports various protocols (like: HTTP,...,POP3,IMAP...) and by
- default all of the are enabled for a single curl handle. Furthermore
- all of the protocols are allowed during Location header follow.
- This could pose a security risk for example: a malicious server responds
- with a crafted Location header pointing to an imap/../(etc) url and the
- curl backend will follow it and will give the result for the WebCore.
</del><ins>+ Tests: http/tests/security/video-cross-origin-accessfailure.html
+ http/tests/security/video-cross-origin-accesssameorigin.html
</ins><span class="cx">
</span><del>- This patch will restrict the allowed protocols to: HTTP(S), FTP(S), FILE
</del><ins>+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::didPassCORSAccessCheck): Return whether media is cross-origin (tainted) or not by querying the gstreamer source layer.
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: Added MediaPlayerPrivateGStreamer::didPassCORSAccessCheck declaration.
+ * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+ (webKitWebSrcStart): Passed CORS mode parameter to the streaming client. In case of CORS check failure, stop the resource loading.
+ (webKitSrcPassedCORSAccessCheck): Return whether CORS access control check was done and successful.
+ (StreamingClient::handleResponseReceived): Take a parameter to assign the CORS access control check result.
+ (CachedResourceStreamingClient::CachedResourceStreamingClient): Updated setting of the ResourceLoaderOptions according CORS mode.
+ (CachedResourceStreamingClient::responseReceived): Check CORS and pass result to handleResponseReceived.
+ (ResourceHandleStreamingClient::didReceiveResponse): No CORS check.
+ * platform/graphics/gstreamer/WebKitWebSourceGStreamer.h: Added webKitSrcPassedCORSAccessCheck declaration.
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::ResourceHandleManager::initializeHandle):
</del><ins>+2014-04-12 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>-2013-06-05 Bear Travis <betravis@adobe.com>
</del><ins>+ REGRESSION (r166860): ASSERTION FAILED: !isCalculated() on fast/css/image-set-value-not-removed-crash.html
+ https://bugs.webkit.org/show_bug.cgi?id=131480
</ins><span class="cx">
</span><del>- [css exclusions] Clean up ExclusionShapeInsideInfo dynamic removal code
- https://bugs.webkit.org/show_bug.cgi?id=116236
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Fixes intermittent assertion failure in fast/css/image-set-value-not-removed-crash.html.
</ins><span class="cx">
</span><del>- Instead of keeping the ExclusionShapeInsideInfo around after it has
- become stale, we can immediately remove it and just mark descendants
- for relayout. This patch removes most of the code added by
- https://bugs.webkit.org/show_bug.cgi?id=111029
- in favor of this simpler approach.
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::valueForImageSliceSide): Added. Helper used below in valueForNinePieceImageSlice.
+ Handles calculated values by returning 0; incorrect but predictable.
+ (WebCore::valueForNinePieceImageSlice): Updated to call valueForImageSliceSide.
+ (WebCore::positionOffsetValue): Use nullptr.
+ (WebCore::ComputedStyleExtractor::propertyValue): Updated to call positionOffsetValue
+ by its new name. Removed "get" from the name.
+ (WebCore::positionOffsetValue): Renamed from getPositionOffsetValue.
</ins><span class="cx">
</span><del>- This patch does not introduce new functionality.
</del><ins>+ * platform/Length.h: Made isCalculated public.
</ins><span class="cx">
</span><del>- * rendering/ExclusionShapeInsideInfo.h:
- (WebCore::ExclusionShapeInsideInfo::ExclusionShapeInsideInfo):
- (ExclusionShapeInsideInfo): Remove needsRemoval code.
- * rendering/LayoutState.cpp:
- (WebCore::LayoutState::LayoutState): Ditto.
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::updateExclusionShapeInsideInfoAfterStyleChange): Remove
- needsRemoval code and mark descendants for layout.
- (WebCore):
- (WebCore::RenderBlock::markShapeInsideDescendantsForLayout): Method to mark
- descendants of a shape inside with inline content for layout.
- (WebCore::exclusionInfoRequiresRelayout): Remove needsRemoval code.
- (WebCore::RenderBlock::updateRegionsAndExclusionsAfterChildLayout): Ditto.
- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::exclusionShapeInsideInfo): Ditto.
- (RenderBlock):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::layoutExclusionShapeInsideInfo): Ditto.
</del><ins>+2014-04-12 Andy Estes <aestes@apple.com>
</ins><span class="cx">
</span><del>-2013-06-05 Arunprasad Rajkumar <arurajku@cisco.com>
</del><ins>+ Fix the iOS build after r167183.
</ins><span class="cx">
</span><del>- Avoid multiple copies of inline script & style strings
- https://bugs.webkit.org/show_bug.cgi?id=117202
</del><ins>+ * platform/network/ResourceHandle.h:
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::schedule):
+ (WebCore::ResourceHandle::unschedule):
</ins><span class="cx">
</span><ins>+2014-04-12 Andy Estes <aestes@apple.com>
+
+ [iOS] Move QuickLookHandle from ResourceLoader to WebResourceLoader
+ https://bugs.webkit.org/show_bug.cgi?id=131580
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Merge from https://chromiumcodereview.appspot.com/16005007.
</del><ins>+ There's no need to bloat WebKit1's ResourceLoader with a pointer that
+ only WebKit2's WebResourceLoader cares about.
</ins><span class="cx">
</span><del>- No new tests needed.
</del><ins>+ * loader/ResourceLoader.h:
+ (WebCore::ResourceLoader::quickLookHandle): Deleted.
+ (WebCore::ResourceLoader::setQuickLookHandle): Deleted.
</ins><span class="cx">
</span><del>- The HTML parser breaks up large text nodes into small chunks to avoid some
- O(n^2) editing algorithms. This fix skips that workaround for <script> and
- <style> elements, which aren't likely to need editing. As a result, <script>
- ends up with a single text node, containing a contiguous String, which is the
- source code of that inline script block.
</del><ins>+2014-04-12 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Prior this fix, we could end up with two copies of large inline scripts: one
- monolithic string retained by JSC and a number of shards retained by the DOM.
- After this fix, both the DOM and JSC use the same monolithic string, removing a
- copy.
</del><ins>+ AX: Cleanup AccessibilityObject::getAttribute
+ https://bugs.webkit.org/show_bug.cgi?id=131555
</ins><span class="cx">
</span><del>- * dom/Text.cpp:
- (WebCore::Text::createWithLengthLimit):
- * html/parser/HTMLConstructionSite.cpp:
- (WebCore::shouldUseLengthLimit):
- (WebCore::HTMLConstructionSite::insertTextNode):
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-06-05 Kondapally Kalyan <kalyan.kondapally@intel.com>
</del><ins>+ No new functionality.
</ins><span class="cx">
</span><del>- [EFL] Build fix with EGL and GLES2 backend.
- https://bugs.webkit.org/show_bug.cgi?id=117246
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::getAttribute):
</ins><span class="cx">
</span><del>- Reviewed by Kenneth Rohde Christiansen.
</del><ins>+2014-04-12 Youenn Fablet <youenn.fablet@crf.canon.fr>
</ins><span class="cx">
</span><del>- r150958 added support for EGLTransportSurfaceClient.
- This patch adds the missing changes.
</del><ins>+ [SOUP] Libsoup internal credential setting should be controlled by loader decision
+ https://bugs.webkit.org/show_bug.cgi?id=130963
</ins><span class="cx">
</span><del>- * platform/graphics/surfaces/efl/GLTransportSurface.cpp:
- (WebCore::GLTransportSurfaceClient::createTransportSurfaceClient):
- (WebCore::GLTransportSurfaceClient::GLTransportSurfaceClient):
- * platform/graphics/surfaces/efl/GLTransportSurface.h:
- * platform/graphics/surfaces/efl/GraphicsSurfaceCommon.cpp:
- (WebCore::GraphicsSurfacePrivate::initializeClient):
- * platform/graphics/surfaces/egl/EGLXSurface.cpp:
- (WebCore::EGLXTransportSurfaceClient::EGLXTransportSurfaceClient):
- * platform/graphics/surfaces/egl/EGLXSurface.h:
- * platform/graphics/surfaces/glx/GLXSurface.cpp:
- (WebCore::GLXTransportSurfaceClient::GLXTransportSurfaceClient):
- * platform/graphics/surfaces/glx/GLXSurface.h:
- * platform/graphics/surfaces/glx/X11Helper.cpp:
- (WebCore::X11Helper::createOffScreenWindow):
- (WebCore::X11Helper::createPixmap):
- * platform/graphics/surfaces/glx/X11Helper.h:
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-06-05 Jae Hyun Park <jae.park@company100.net>
</del><ins>+ Disabled libsoup internal authentication manager for messages for which no credential is available and no stored credentials should be used.
+ Updated synchronous loader to return whether using credentials or not according StoredCredential loader option parameter.
+ Unskipped test http/tests/xmlhttprequest/cross-origin-no-authorization.html covers the patch.
</ins><span class="cx">
</span><del>- [GTK] Support using GLContext from multiple threads
- https://bugs.webkit.org/show_bug.cgi?id=117238
</del><ins>+ * platform/network/ResourceHandleInternal.h:
+ (WebCore::ResourceHandleInternal::ResourceHandleInternal): Added m_useAuthenticationManager boolean to control whether disable authentication manager or not.
+ * platform/network/soup/ResourceHandleSoup.cpp:
+ (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader): Added m_storedCredentials member.
+ (WebCore::WebCoreSynchronousLoader::shouldUseCredentialStorage): Return true if stored credentials are allowed.
+ (WebCore::applyAuthenticationToRequest): Set m_useAuthenticationManager value to disable authentication manager if cannot use stored credentials and ResourceHandleInternal has no username and password.
+ (WebCore::createSoupMessageForHandleAndRequest): Disable authentication mananger according m_useAuthenticationManager value.
+ (WebCore::ResourceHandle::platformLoadResourceSynchronously): Added StoredCredentials loader option to the sync loader constructor.
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+2014-04-11 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Current implementation assumes that GLContext is only used in the main thread.
- However, to support using GLContext from multiple threads, we need to change it
- to thread local. Therefore, ASSERT(isMainThread()) is removed and GLContext is
- changed to thread local.
</del><ins>+ Some small loader refinements and refactoring
+ https://bugs.webkit.org/show_bug.cgi?id=131541
</ins><span class="cx">
</span><del>- * platform/graphics/cairo/GLContext.cpp:
- (WebCore::ThreadGlobalGLContext::setContext):
- (WebCore::ThreadGlobalGLContext::context):
- (WebCore::currentContext):
- (WebCore::GLContext::sharingContext):
- (WebCore::GLContext::~GLContext):
- (WebCore::GLContext::makeContextCurrent):
- (WebCore::GLContext::getCurrent):
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>-2013-06-05 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Cut down on use of ResourceLoader::handle, which always returns null when
+ using a network process. Also streamlined conditionals and did some other
+ small refactoring.
</ins><span class="cx">
</span><del>- Unreviewed build fix when CHANNEL_MESSAGING is disabled.
</del><ins>+ * loader/DocumentLoader.h: Use references rather than pointers for SchedulePair.
</ins><span class="cx">
</span><del>- Add #if ENABLE(CHANNEL_MESSAGING) to JSMessageChannelCustom.cpp.
</del><ins>+ * loader/ResourceLoader.cpp:
+ (WebCore::ResourceLoader::didChangePriority): Use m_handle instead of handle(),
+ since we'd like to delete handle() entirely soon.
+ (WebCore::ResourceLoader::didReceiveAuthenticationChallenge): Ditto.
+ (WebCore::ResourceLoader::schedule): Added.
+ (WebCore::ResourceLoader::unschedule): Ditto.
+ * loader/ResourceLoader.h: Rearranged header to eliminate nested conditionals.
+ Added schedule and unschedule functions for Mac.
</ins><span class="cx">
</span><del>- * bindings/js/JSMessageChannelCustom.cpp:
</del><ins>+ * loader/mac/DocumentLoaderMac.cpp:
+ (WebCore::scheduleAll): Changed to take a reference and call ResourceLoader::schedule.
+ (WebCore::unscheduleAll): Ditto.
+ (WebCore::DocumentLoader::schedule): Ditto.
+ (WebCore::DocumentLoader::unschedule): Ditto.
</ins><span class="cx">
</span><del>-2013-06-05 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ * page/mac/PageMac.cpp:
+ (WebCore::Page::addSchedulePair): Pass a reference rather than a pointer to schedule.
+ (WebCore::Page::removeSchedulePair): Ditto.
</ins><span class="cx">
</span><del>- Remove remaining custom getters for WorkerContext constructor attributes
- https://bugs.webkit.org/show_bug.cgi?id=117247
</del><ins>+ * platform/network/ResourceHandle.h: Did a bit of reformatting and reorganizing of
+ conditionals.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ * platform/network/ResourceHandleInternal.h: Removed a tiny bit of unneeded declaration.
</ins><span class="cx">
</span><del>- Remove custom getter code for remaining constructor attribute on WorkerContext
- interface. The custom code wasn't needed as it was doing nothing more than the
- generated one. These constructor attributes are now automatically generated.
</del><ins>+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::ResourceHandle::schedule): Updated to take a reference rather than a pointer.
+ (WebCore::ResourceHandle::unschedule): Ditto.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+2014-04-11 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * Modules/websockets/WebSocket.idl:
- * Modules/websockets/WorkerContextWebSocket.idl: Removed.
- * WebCore.order:
- * WebCore.xcodeproj/project.pbxproj:
- * bindings/js/JSWorkerContextCustom.cpp:
- * dom/MessageChannel.idl:
- * page/EventSource.idl:
- * workers/WorkerContext.idl:
- * xml/XMLHttpRequest.idl:
</del><ins>+ Make NodeList.length inline-cacheable by JSC.
+ <https://webkit.org/b/131579>
</ins><span class="cx">
</span><del>-2013-06-05 Ryuan Choi <ryuan.choi@samsung.com>
</del><ins>+ For objects with custom index or name getters, we have to make sure
+ that builtin properties take precedence. We do this by scanning the
+ ancestor chain for a suitable property slot before moving on to
+ named items.
</ins><span class="cx">
</span><del>- Remove ChromeClient::deviceOrPageScaleFactorChanged
- https://bugs.webkit.org/show_bug.cgi?id=117245
</del><ins>+ With this patch, we now mark such builtins as cacheable. This is
+ safe since the whole point of doing this before processing named
+ items is to ensure the same slot is returned consistently.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- It was introduced for chromium at r147357.
- But now, there are no ports to use this.
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateGetOwnPropertySlotBody):
</ins><span class="cx">
</span><del>- No new tests - no behavior change.
</del><ins>+2014-04-11 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- * page/ChromeClient.h:
- * page/Frame.cpp:
- (WebCore::Frame::deviceOrPageScaleFactorChanged):
</del><ins>+ Lots of compositing test failures after r167152
+ https://bugs.webkit.org/show_bug.cgi?id=131574
</ins><span class="cx">
</span><del>-2013-06-05 Gwang Yoon Hwang <ryumiel@company100.net>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- [Coordinated Graphics] Prevent a recursive painting in CoordinatedGraphicsLayer
- https://bugs.webkit.org/show_bug.cgi?id=117222
</del><ins>+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::dumpProperties):
+ We were asking the parent's client whether the child should be dumped,
+ but really the child's client is the one who should decide.
</ins><span class="cx">
</span><del>- Reviewed by Noam Rosenthal.
</del><ins>+2014-04-11 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- CoordinatedGraphicsLayer::flushCompositingState() will cross frame
- boundaries if the GraphicsLayers are connected. In this case,
- updateContentBuffers will invoke a painting of a sub-frame that causes
- flushCompositingState recursively.
</del><ins>+ ViewportConfiguration::layoutWidth() compute the width incorrectly when initial-scale+width do not fit in view
+ https://bugs.webkit.org/show_bug.cgi?id=131575
</ins><span class="cx">
</span><del>- To prevent this behavior this patch extracts updateContentBuffers from
- flushCompositingState, and places it in
- updateContentBuffersIncludeSublayers, which is another tree traveler for
- painting.
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ I made a mistake when writing the new viewport code: ViewportConfiguration::layoutWidth() uses m_contentSize in one place.
+ That make no sense, contentSize depends on the layout width.
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
- (WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly):
- (WebCore::CoordinatedGraphicsLayer::syncPendingStateChangesIncludingSubLayers):
- (WebCore::CoordinatedGraphicsLayer::updateContentBuffersIncludingSubLayers):
- * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
</del><ins>+ * page/ViewportConfiguration.cpp:
+ (WebCore::ViewportConfiguration::layoutWidth):
</ins><span class="cx">
</span><del>-2013-06-05 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-11 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Fix some inefficiencies in AnimationController's composite animation map.
- <http://webkit.org/b/117248>
</del><ins>+ Remove "numeric index getter" stuff from bindings code generator.
+ <https://webkit.org/b/131565>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ This was used for an earlier generation of typed arrays. Now that JSC
+ has native typed array support, we're not using this functionality and
+ can just remove it.
</ins><span class="cx">
</span><del>- Clean up some small things that were showing up in a window resizing profile (0.4%)
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- * page/animation/AnimationControllerPrivate.h:
- * page/animation/AnimationController.cpp:
- (WebCore::AnimationControllerPrivate::ensureCompositeAnimation):
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateGetOwnPropertySlotBody):
+ (HasComplexGetOwnProperty):
+ (InterfaceRequiresAttributesOnInstance):
+ (InstanceOverridesGetOwnPropertySlot):
+ (GenerateHeader):
+ (GenerateImplementation):
</ins><span class="cx">
</span><del>- Renamed this ensure* to conform to the WebKit Design Patterns, 2013 edition.
- Always do a single hash lookup instead of two.
</del><ins>+2014-04-11 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>- (WebCore::AnimationControllerPrivate::clear):
</del><ins>+ Web Replay: consolidate decoding macros used in SerializationMethods
+ https://bugs.webkit.org/show_bug.cgi?id=131564
</ins><span class="cx">
</span><del>- Use RefPtr<T> for local variables, never PassRefPtr<T>. See WKDP, 2013 ed.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- (WebCore::AnimationControllerPrivate::updateAnimationTimerForRenderer):
- (WebCore::AnimationControllerPrivate::isRunningAnimationOnRenderer):
- (WebCore::AnimationControllerPrivate::isRunningAcceleratedAnimationOnRenderer):
- (WebCore::AnimationControllerPrivate::getAnimatedStyleForRenderer):
</del><ins>+ We can use EncodingTraits<T>::DecodedType to create a local variable
+ with the appropriate decoded type, rather than special casing.
</ins><span class="cx">
</span><del>- Peek into m_compositeAnimations through "const CompositeAnimation*" instead
- of using RefPtrs. There's no need to hold a reference on the animation while
- querying some const method on it.
</del><ins>+ * replay/SerializationMethods.cpp:
+ (JSC::EncodingTraits<NondeterministicInputBase>::decodeValue):
+ (JSC::EncodingTraits<KeypressCommand>::decodeValue):
+ (JSC::EncodingTraits<PlatformKeyboardEvent>::decodeValue):
+ (JSC::EncodingTraits<PlatformMouseEvent>::decodeValue):
+ (JSC::EncodingTraits<PlatformWheelEvent>::decodeValue):
+ (JSC::EncodingTraits<PluginData>::decodeValue):
</ins><span class="cx">
</span><del>- (WebCore::AnimationControllerPrivate::pauseAnimationAtTime):
- (WebCore::AnimationControllerPrivate::pauseTransitionAtTime):
- (WebCore::AnimationController::updateAnimations):
</del><ins>+2014-04-11 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- Poke into m_compositeAnimations through "CompositeAnimation*" instead of using
- RefPtrs. There's no need to hold a reference here either, we can modify the
- animations through a raw pointer.
</del><ins>+ Need WK2 API to disable rubber-banding
+ https://bugs.webkit.org/show_bug.cgi?id=131567
</ins><span class="cx">
</span><del>-2013-06-05 Roland Takacs <rtakacs@inf.u-szeged.hu>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Web Inspector: Clear button doesn't clean Memory graph in Overview pane.
- https://bugs.webkit.org/show_bug.cgi?id=112429
</del><ins>+ Page will now store a vertical and horizontal ScrollElasticity in case the API has
+ been called before the FrameView even exists.
</ins><span class="cx">
</span><del>- Reviewed by Noam Rosenthal.
</del><ins>+ New Page functions.
+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- There is an early return from TimelineMemoryOverview.update() when
- record array is empty. Thats why if you click onto the clear button,
- the canvas won't be updated.
- Moved this "return condition" after the canvas size definition
- because we need to know the canvas size for refreshing.
- Overridden TimelineOverviewBase's reset function to clear
- HeapSizeLabels' content.
</del><ins>+ Use Page’s cached ScrollElasticity.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::FrameView):
</ins><span class="cx">
</span><del>- * inspector/front-end/TimelineOverviewPane.js:
- (WebInspector.TimelineMemoryOverview.prototype.reset):
- (WebInspector.TimelineMemoryOverview.prototype.update):
</del><ins>+ If there is already a FrameView, then assign it the new ScrollElasticity.
+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ (WebCore::Page::setVerticalScrollElasticity):
+ (WebCore::Page::setHorizontalScrollElasticity):
+ * page/Page.h:
+ (WebCore::Page::verticalScrollElasticity):
+ (WebCore::Page::horizontalScrollElasticity):
</ins><span class="cx">
</span><del>-2013-06-05 Gwang Yoon Hwang <ryumiel@company100.net>
</del><ins>+2014-04-11 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- [Coordinated Graphics] Rename client classes for CoordinatedImageBacking and UpdateAtlas.
- https://bugs.webkit.org/show_bug.cgi?id=111948
</del><ins>+ REGRESSION(167145): Many media tests fail
+ https://bugs.webkit.org/show_bug.cgi?id=131569
</ins><span class="cx">
</span><del>- Reviewed by Noam Rosenthal.
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- This patch renames CoordinatedImageBacking::Coordinator to
- CoordinatedImageBacking::Client, and UpdateAtlasClient to
- UpdateAtlas::Client for naming consistency and clarification.
</del><ins>+ * PlatformGTK.cmake: Add the localized strings file to the list of user agent scripts.
+ * platform/gtk/RenderThemeGtk.cpp:
+ (WebCore::RenderThemeGtk::mediaControlsScript): Include the localized strings file in the script body.
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+2014-04-11 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:
- (WebCore::CoordinatedImageBacking::create):
- (WebCore::CoordinatedImageBacking::CoordinatedImageBacking):
- (WebCore::CoordinatedImageBacking::removeHost):
- (WebCore::CoordinatedImageBacking::update):
- (WebCore::CoordinatedImageBacking::clearContentsTimerFired):
- * platform/graphics/texmap/coordinated/CoordinatedImageBacking.h:
- * platform/graphics/texmap/coordinated/UpdateAtlas.cpp:
- (WebCore::UpdateAtlas::UpdateAtlas):
- * platform/graphics/texmap/coordinated/UpdateAtlas.h:
</del><ins>+ [iOS WebKit2] Find-in-page indicator
+ https://bugs.webkit.org/show_bug.cgi?id=131510
+ <rdar://problem/16547777>
</ins><span class="cx">
</span><del>-2013-06-05 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ Reviewed by Simon Fraser and Enrica Casucci.
</ins><span class="cx">
</span><del>- [Qt] Handle Return key without key text
- https://bugs.webkit.org/show_bug.cgi?id=117239
</del><ins>+ * editing/Editor.cpp:
+ (WebCore::Editor::findString):
+ * editing/FindOptions.h:
+ Add a find option which prevents WebCore from revealing the selection
+ after selecting a successful find match.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-04-11 Owen Taylor <otaylor@redhat.com>
</ins><span class="cx">
</span><del>- Test added to tst_qwebpage.cpp.
</del><ins>+ [GTK] Add HighDPI support for non-accelerated compositing contents
+ https://bugs.webkit.org/show_bug.cgi?id=131562
</ins><span class="cx">
</span><del>- * platform/qt/PlatformKeyboardEventQt.cpp:
- (WebCore::keyTextForKeyEvent):
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>-2013-06-05 Gwang Yoon Hwang <ryumiel@company100.net>
</del><ins>+ No new tests. This will be tested once we have the proper dependencies in the WebKit testing
+ JHBuild.
</ins><span class="cx">
</span><del>- Coordinated Graphics: Unify messages related object's lifecycles into CoordinatedGraphicsState.
- https://bugs.webkit.org/show_bug.cgi?id=111919
</del><ins>+ * platform/cairo/WidgetBackingStore.h:
+ (WebCore::WidgetBackingStore::WidgetBackingStore): Accept a device scale argument.
+ * platform/cairo/WidgetBackingStoreCairo.cpp: Use the device scale argument to make the surface the proper size and set the surface device scale.
+ * platform/cairo/WidgetBackingStoreCairo.h: Accept a device scale argument.
+ * platform/graphics/cairo/CairoUtilities.cpp: Add a new helper to set the device scale if Cairo built against is new enough.
+ * platform/graphics/cairo/CairoUtilities.h:
+ * platform/gtk/GtkVersioning.h: Add the HAVE_GTK_SCALE_FACTOR macro.
+ * platform/gtk/WidgetBackingStoreGtkX11.cpp: Use the device scale argument to make the surface the proper size and set the surface device scale.
+ * platform/gtk/WidgetBackingStoreGtkX11.h: Accept a device scale argument.
</ins><span class="cx">
</span><del>- Reviewed by Noam Rosenthal.
</del><ins>+2014-04-11 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>- CoordinatedLayerTreeHostProxy has several methods, which simply passes
- these calls to CoordinatedGraphicsScene.
</del><ins>+ Assertion failure changing select element size during focus event
+ dispatch
+ <https://bugs.webkit.org/show_bug.cgi?id=131566>
+ <rdar://problem/16400735>
</ins><span class="cx">
</span><del>- This patch removes methods in CoordinatedLayerTreeHostProxy just for
- message chaining. Instead of that, messages for creation/deletion of objects
- (Layers, CustomFilters, UpdateAtlas, and ImageBacking) are unified into
- CommitCoordinatedGraphicsState.
</del><ins>+ Reviewed by Andy Estes.
</ins><span class="cx">
</span><del>- And this patch also removes codes for WebCoordinatedSurface in
- CoordinatedLayerTreeHost, except for a factory method.
- CoordinatedGraphicsArgumentCoders [en|de]codes CoordinatedSurface itself
- using WebCoordinatedSurface.
</del><ins>+ Test: fast/forms/select-change-size-during-focus.html
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ * html/HTMLSelectElement.cpp:
+ (WebCore::HTMLSelectElement::listBoxDefaultEventHandler):
+ Adopt the fix from Chromium r171216; check that the renderer is still
+ of the expected type, and return early if it is not.
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
- (WebCore::CoordinatedGraphicsScene::syncCustomFilterPrograms):
- (WebCore::CoordinatedGraphicsScene::syncUpdateAtlases):
- (WebCore::CoordinatedGraphicsScene::syncImageBackings):
- (WebCore::CoordinatedGraphicsScene::commitSceneState):
- * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h:
- * platform/graphics/texmap/coordinated/CoordinatedGraphicsState.h:
- * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:
- (WebCore::CoordinatedImageBacking::update):
- * platform/graphics/texmap/coordinated/CoordinatedImageBacking.h:
- * platform/graphics/texmap/coordinated/UpdateAtlas.cpp:
- (WebCore::UpdateAtlas::UpdateAtlas):
- * platform/graphics/texmap/coordinated/UpdateAtlas.h:
</del><ins>+2014-04-11 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>-2013-06-05 Andreas Kling <akling@apple.com>
</del><ins>+ Clear sibling floats while splitting inline flow
+ https://bugs.webkit.org/show_bug.cgi?id=130905
</ins><span class="cx">
</span><del>- Remove unnecessary null checks in SelectorChecker::checkOne().
- <http://webkit.org/b/117243>
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ This is a port of a Blink patch by kenrb@chromium.org.
+ (https://src.chromium.org/viewvc/blink?revision=169658&view=revision)
</ins><span class="cx">
</span><del>- This function was riddled with unnecessary null checks of 'element', despite ASSERT(element)
- being the first thing it does.
</del><ins>+ During RenderInline::splitFlow(), floats are cleared on an anonymous
+ containingBlock() for the inline being split. This is a problem if
+ siblings of the block contain references to the same floats, since the
+ float removal code in markSiblingsWithFloatsForLayout() will not later
+ find them.
</ins><span class="cx">
</span><del>- * css/SelectorChecker.cpp:
- (WebCore::SelectorChecker::checkOne):
</del><ins>+ This change also affects RenderBlock::splitFlow() and
+ RenderBoxModelObject::moveChildrenTo, since those are called in
+ similar situations as RenderInline::splitFlow().
</ins><span class="cx">
</span><del>-2013-06-05 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Test: fast/block/float/split-inline-sibling-of-float-crash.html
</ins><span class="cx">
</span><del>- Merge [NoInterfaceObject] and [OmitConstructor] extended attributes
- https://bugs.webkit.org/show_bug.cgi?id=115853
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::removeFloatingObjects): Add call to
+ markSiblingsWithFloatsForLayout() before removing floats.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+2014-04-11 Gavin Barraclough <baraclough@apple.com>
</ins><span class="cx">
</span><del>- Remove [OmitConstructor] extended attribute as it is overlapping with
- the standard [NoInterfaceObject] Web IDL extended attribute.
</del><ins>+ Rollout - Rewrite Function.bind as a builtin
+ https://bugs.webkit.org/show_bug.cgi?id=131083
</ins><span class="cx">
</span><del>- Having [NoInterfaceObject] extended attribute on an interface now
- implies that its constructor is omitted (i.e. not generated).
</del><ins>+ Unreviewed.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Rolling out r167020 while investigating a performance regression.
</ins><span class="cx">
</span><del>- * Modules/geolocation/Coordinates.idl:
- * Modules/geolocation/Geolocation.idl:
- * Modules/geolocation/Geoposition.idl:
- * Modules/notifications/Notification.idl:
- * Modules/notifications/NotificationCenter.idl:
- * Modules/quota/StorageInfo.idl:
- * Modules/quota/StorageQuota.idl:
- * Modules/webdatabase/Database.idl:
- * Modules/webdatabase/DatabaseSync.idl:
- * Modules/webdatabase/SQLError.idl:
- * Modules/webdatabase/SQLResultSet.idl:
- * Modules/webdatabase/SQLResultSetRowList.idl:
- * Modules/webdatabase/SQLTransaction.idl:
- * Modules/webdatabase/SQLTransactionSync.idl:
</del><ins>+ * bindings/js/JSImageConstructor.cpp:
+ (WebCore::JSImageConstructor::finishCreation):
</ins><span class="cx"> * bindings/scripts/CodeGeneratorJS.pm:
</span><del>- (GenerateHeader):
- (GenerateAttributesHashTable):
- (GenerateImplementation):
- * bindings/scripts/IDLAttributes.txt:
- * css/CSSUnknownRule.idl:
- * css/MediaQueryListListener.idl:
- * dom/EventListener.idl:
- * dom/EventTarget.idl:
- * html/MicroDataItemValue.idl:
- * html/ValidityState.idl:
- * html/canvas/EXTDrawBuffers.idl:
- * html/canvas/EXTTextureFilterAnisotropic.idl:
- * html/canvas/OESElementIndexUint.idl:
- * html/canvas/OESStandardDerivatives.idl:
- * html/canvas/OESTextureFloat.idl:
- * html/canvas/OESTextureHalfFloat.idl:
- * html/canvas/OESVertexArrayObject.idl:
- * html/canvas/WebGLCompressedTextureATC.idl:
- * html/canvas/WebGLCompressedTexturePVRTC.idl:
- * html/canvas/WebGLCompressedTextureS3TC.idl:
- * html/canvas/WebGLContextAttributes.idl:
- * html/canvas/WebGLDebugRendererInfo.idl:
- * html/canvas/WebGLDebugShaders.idl:
- * html/canvas/WebGLDepthTexture.idl:
- * html/canvas/WebGLLoseContext.idl:
- * inspector/JavaScriptCallFrame.idl:
- * inspector/ScriptProfile.idl:
- * inspector/ScriptProfileNode.idl:
- * loader/appcache/DOMApplicationCache.idl:
- * page/AbstractView.idl:
- * page/Console.idl:
- * page/Crypto.idl:
- * page/PerformanceEntryList.idl:
- * page/WorkerNavigator.idl:
- * page/make_settings.pl:
- (generateInternalSettingsIdlFile):
- * svg/ElementTimeControl.idl:
- * svg/SVGAnimationElement.idl:
- * svg/SVGExternalResourcesRequired.idl:
- * svg/SVGFitToViewBox.idl:
- * svg/SVGLangSpace.idl:
- * svg/SVGLocatable.idl:
- * svg/SVGTests.idl:
- * svg/SVGTransformable.idl:
- * svg/SVGURIReference.idl:
- * testing/InternalSettings.idl:
- * testing/Internals.idl:
- * testing/MallocStatistics.idl:
- * testing/MemoryInfo.idl:
- * testing/TypeConversions.idl:
- * workers/DedicatedWorkerContext.idl:
- * workers/SharedWorkerContext.idl:
- * workers/WorkerContext.idl:
- * xml/XPathNSResolver.idl:
</del><ins>+ (GenerateConstructorHelperMethods):
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ (WebCore::JSTestActiveDOMObjectConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ (WebCore::JSTestCustomNamedGetterConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+ (WebCore::JSTestEventConstructorConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::JSTestEventTargetConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ (WebCore::JSTestExceptionConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
+ (WebCore::JSTestGenerateIsReachableConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::JSTestInterfaceConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+ (WebCore::JSTestMediaQueryListListenerConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
+ (WebCore::JSTestNamedConstructorConstructor::finishCreation):
+ (WebCore::JSTestNamedConstructorNamedConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestNode.cpp:
+ (WebCore::JSTestNodeConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::JSTestObjConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
+ (WebCore::JSTestOverloadedConstructorsConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ (WebCore::JSTestSerializedScriptValueInterfaceConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::JSTestTypedefsConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSattribute.cpp:
+ (WebCore::JSattributeConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSreadonly.cpp:
+ (WebCore::JSreadonlyConstructor::finishCreation):
</ins><span class="cx">
</span><del>-2013-06-05 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+2014-04-11 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- [Qt] Font::shouldUseSmoothing() has fake dependency on Qt 5.1
- https://bugs.webkit.org/show_bug.cgi?id=117195
</del><ins>+ Build Fix after r167151.
</ins><span class="cx">
</span><del>- Reviewed by Jocelyn Turcotte.
</del><ins>+ Unreviewed.
</ins><span class="cx">
</span><del>- Remove the fake dependency on Qt 5.1 so we may rebase the layout tests
- before switching to Qt 5.1
</del><ins>+ * editing/AlternativeTextController.cpp:
+ (WebCore::AlternativeTextController::applyAlternativeTextToRange):
</ins><span class="cx">
</span><del>- * platform/graphics/qt/FontPlatformDataQt.cpp:
- (WebCore::FontPlatformData::FontPlatformData):
</del><ins>+2014-04-10 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>-2013-06-05 Mihnea Ovidenie <mihnea@adobe.com>
</del><ins>+ [EME][Mac] Using KeySession.update([renew]) should trigger KeyMessage event instead of NeedKey event
+ https://bugs.webkit.org/show_bug.cgi?id=131527
</ins><span class="cx">
</span><del>- [CSSRegions] Respect renderer creation constraints when element is part of named flow
- https://bugs.webkit.org/show_bug.cgi?id=116790
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Rather than triggering a needKey() event, necessatating the creation
+ of an entirely new MediaKeySession, cause a new key request to be
+ created by sending the same initData back into the AVSampleDataParser.
</ins><span class="cx">
</span><del>- Before adding a child to a named flow, we have to make sure that the rules for
- creation are properly checked.
</del><ins>+ Also, do some drive-by clean up suggested by Darin in the review for
+ r166509.
</ins><span class="cx">
</span><del>- Test: fast/regions/br-content-node-crash.xhtml
</del><ins>+ * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm:
+ (WebCore::isEqual): Support an alloc-free equality check between
+ Uint8Array and static strings.
+ (WebCore::CDMSessionMediaSourceAVFObjC::update):
</ins><span class="cx">
</span><del>- * rendering/RenderNamedFlowThread.cpp:
- (WebCore::RenderNamedFlowThread::isChildAllowed):
- Call isChildAllowed on the original parent renderer, before reparenting to
- named flow.
- * rendering/RenderNamedFlowThread.h:
</del><ins>+2014-04-11 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>-2013-06-05 Philippe Normand <pnormand@igalia.com>
</del><ins>+ Build fix (r167151): Do not dereference Node::document() before passing to Range::create()
+ <https://webkit.org/b/131475>
</ins><span class="cx">
</span><del>- Unreviewed, GStreamer 0.10 build fix after r151175.
</del><ins>+ Fixes the following build failure:
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
- (WebCore::MediaPlayerPrivateGStreamerBase::MediaPlayerPrivateGStreamerBase):
- (WebCore::MediaPlayerPrivateGStreamerBase::~MediaPlayerPrivateGStreamerBase):
- (WebCore::MediaPlayerPrivateGStreamerBase::naturalSize):
- (WebCore::MediaPlayerPrivateGStreamerBase::triggerRepaint):
- (WebCore::MediaPlayerPrivateGStreamerBase::paint):
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
</del><ins>+ WebCore/editing/AlternativeTextController.cpp:275:71: error: indirection requires pointer operand ('WebCore::Document' invalid)
+ int paragraphStartIndex = TextIterator::rangeLength(Range::create(*rootNode.document(), &rootNode, 0, paragraphRangeContainingCorrection.get()->startContainer(), paragraphRangeContainingCorrection.get()->startOffset()).get());
+ ^~~~~~~~~~~~~~~~~~~~
</ins><span class="cx">
</span><del>-2013-06-05 Mihnea Ovidenie <mihnea@adobe.com>
</del><ins>+ * editing/AlternativeTextController.cpp:
+ (WebCore::AlternativeTextController::applyAlternativeTextToRange):
+ Remove unneeded '*' operator since Node::document() returns a
+ Document& and Range::create() accepts a Document& for its first
+ argument.
</ins><span class="cx">
</span><del>- [CSS Regions] REGRESSION Incorrect layer clipping inside flow thread
- https://bugs.webkit.org/show_bug.cgi?id=117074
</del><ins>+2014-04-11 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Web Replay: memoize nondeterministic attributes of the Navigator interface
+ https://bugs.webkit.org/show_bug.cgi?id=131340
</ins><span class="cx">
</span><del>- Function RenderBox::mapLocalToContainer was adapted for elements inside flow threads to convert
- elements coordinates to RenderView coordinates, passing through the region in which the elements
- were flowed (https://bugs.webkit.org/show_bug.cgi?id=66641).
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- The fix for https://bugs.webkit.org/show_bug.cgi?id=76486 modified RenderLayer::calculateClipRects and replaced
- convertToLayerCoords with localToContainerPoint, which further calls mapLocalToContainer.
</del><ins>+ Most attributes of window.navigator do not change very often, but they
+ could be easily changed by the user or embedder. So, memoize attribute values.
</ins><span class="cx">
</span><del>- However, for elements inside the flow thread, which acts as a root layer for its collected children, we do not want
- to get the offset in RenderView coordinates but rather in flow thread coordinates (and still take transforms into
- account). This patch modifies RenderBox::mapLocalToContainer so that it stops at flow thread boundary when the passed
- repaintContainer is the flow thread. The flow thread is the container for repaint for elements inside it, as seen from
- RenderObject::containerForRepaint.
</del><ins>+ This change does not include navigator.mimeTypes and navigator.plugins,
+ which will be handled at a different level. <https://webkit.org/b/131341>
</ins><span class="cx">
</span><del>- No new tests, converted overflow-size-change-with-stacking-context and overflow-size-change-with-stacking-context-rtl
- into ref tests so that the we do not rely on pixel tests in the future.
</del><ins>+ Test: ManualTests/inspector/replay-window-navigator-basic.html
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::mapLocalToContainer):
</del><ins>+ * page/Navigator.idl: Add Nondeterministic attribute.
</ins><span class="cx">
</span><del>-2013-06-05 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-04-10 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Remove [NoInterfaceObject] from TreeWalker
- https://bugs.webkit.org/show_bug.cgi?id=117225
</del><ins>+ [iOS][WK2] Videos should animate into and out of fullscreen.
+ https://bugs.webkit.org/show_bug.cgi?id=131497
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Remove [NoInterfaceObject] IDL extended attribute from TreeWalker interface
- to match Firefox's behavior and the specification:
- http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-TreeWalker
</del><ins>+ Use AVPlayerViewController's new enterFullScreenWithCompletionHandler: and exitFullScreenWithCompletionHandler:
+ methods to animate into and out of full screen. To do so, use the provided initialFrame and finalFrame screen
+ rects to correctly place the AVPlayerViewController's view before entering or exiting fullscreen.
</ins><span class="cx">
</span><del>- No new tests, already covered by existing tests.
</del><ins>+ * platform/ios/WebVideoFullscreenControllerAVKit.mm:
+ (-[WebVideoFullscreenController enterFullscreen:]): Pass the media element's screen rect.
+ (-[WebVideoFullscreenController exitFullscreen]): Ditto.
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVPlayerController playerViewController:shouldExitFullScreenWithReason:]): Renamed from shouldDismissWithReason.
+ (WebVideoFullscreenInterfaceAVKit::enterFullscreen): Use the new AVKit APIs.
+ (WebVideoFullscreenInterfaceAVKit::exitFullscreen): Ditto.
+ * WebCore.exp.in: Modify the exported symbols for enter and exitFullscreen.
</ins><span class="cx">
</span><del>- * dom/TreeWalker.idl:
</del><ins>+2014-04-11 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>-2013-06-05 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ Support document-relative and custom-frame page overlays
+ https://bugs.webkit.org/show_bug.cgi?id=131560
+ <rdar://problem/16595556>
</ins><span class="cx">
</span><del>- Move MemoryInfo under window.internals
- https://bugs.webkit.org/show_bug.cgi?id=117197
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><ins>+ * WebCore.exp.in:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::RenderLayerCompositor):
+ (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
+ (WebCore::RenderLayerCompositor::setDocumentOverlayRootLayer):
+ * rendering/RenderLayerCompositor.h:
+ Add the concept of a document overlay layer, which is plugged in as the
+ last child of the root content layer. Expose it to WebKit2.
+
+2014-04-09 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Autocorrection causes ASSERT when replacing alternative string
+ https://bugs.webkit.org/show_bug.cgi?id=131475
+
</ins><span class="cx"> Reviewed by Ryosuke Niwa.
</span><span class="cx">
</span><del>- The MemoryInfo interface is not a subject of any specification and should not be exposed
- to the Web. It's still used by the performance tests so it is moved under the testing
- internals, accessible through window.internals.memoryInfo.
</del><ins>+ In AlternativeTextController::applyAlternativeTextToRange(), we attempt to create
+ a Range that crosses from outside of a shadow root to inside of one. Instead,
+ we should keep the Range entirely within the shadow root.
</ins><span class="cx">
</span><del>- The jsHeapSizeLimit attribute is removed from the MemoryInfo interface as that value was
- only usable when using the V8 bindings which are not supported anymore. A small fast/harness
- test is also provided to check that the MemoryInfo object is accessible through window.internals.
</del><ins>+ Test: ManualTests/autocorrection/autocorrection-accept-crash.html
</ins><span class="cx">
</span><del>- Test: fast/harness/memoryinfo-object.html
</del><ins>+ * editing/AlternativeTextController.cpp:
+ (WebCore::AlternativeTextController::applyAlternativeTextToRange):
</ins><span class="cx">
</span><ins>+2014-04-11 Hans Muller <hmuller@adobe.com>
+
+ [CSS Shapes] shape-outside from image doesn't load properly
+ https://bugs.webkit.org/show_bug.cgi?id=131491
+
+ Reviewed by Bem Jones-Bey.
+
+ Make RenderImage::imageChanged() call super if there's a shape-outside
+ image because the shape-outside imageChanged() logic is in RenderBox.
+
+ Test: http/tests/css/shape-image-file.html
+
+ * rendering/RenderElement.h:
+ (WebCore::RenderElement::hasShapeOutside):
+ * rendering/RenderImage.cpp:
+ (WebCore::RenderImage::imageChanged):
+
+2014-04-11 Brady Eidson <beidson@apple.com>
+
+ Aggregate multiple "respondToChangedSelection" calls to one scan for telephone numbers
+ https://bugs.webkit.org/show_bug.cgi?id=131559
+
+ Reviewed by Gavin Barraclough.
+
+ No new tests (Perf-only change to an untested feature)
+
+ * editing/Editor.cpp:
+ (WebCore::Editor::Editor):
+ (WebCore::Editor::respondToChangedSelection): Start a one shot timer for scanSelectionForTelephoneNumbers
+ instead of scanning synchronously.
+ (WebCore::Editor::scanSelectionForTelephoneNumbers):
+ * editing/Editor.h:
+
+2014-04-11 Antti Koivisto <antti@apple.com>
+
+ Try to fix windows build.
+
+ * platform/graphics/ca/GraphicsLayerCA.h:
+
+2014-04-11 Brent Fulgham <bfulgham@apple.com>
+
+ Unreviewed follow-up for r167145
+
+ * English.lproj/mediaControlsLocalizedStringsiOS.js:
+ (mediaControlsLocalizedStringsiOS): Use smart-quote in
+ message string.
+
+2014-04-11 Brent Fulgham <bfulgham@apple.com>
+
+ Regression: media controls and status messages are no longer localized.
+ https://bugs.webkit.org/show_bug.cgi?id=120956
+
+ Reviewed by Jer Noble.
+
+ * English.lproj/mediaControlsLocalizedStrings.js: Added.
+ (mediaControlsLocalizedStrings): Moved from mediaControlsApple.js.
+ * English.lproj/mediaControlsLocalizedStringsiOS.js: Added.
+ (mediaControlsLocalizedStringsiOS): Moved from mediaControlsiOS.js.
+ * Modules/mediacontrols/mediaControlsApple.js:
+ (Controller.prototype.UIString): Get strings from external file.
+ * Modules/mediacontrols/mediaControlsiOS.js:
+ (ControllerIOS.prototype.UIString): Ditto.
+ * WebCore.vcxproj/copyWebCoreResourceFiles.cmd: Copy to Windows bundle.
+ * WebCore.xcodeproj/project.pbxproj: Copy new files to bundle.
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::mediaControlsScript): Load the locale-specific
+ string resource when loading the media controls.
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::mediaControlsScript): Ditto.
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::mediaControlsScript): Ditto.
+
+2014-04-11 Brent Fulgham <bfulgham@apple.com>
+
+ [Win] Build fix after r167138
+
+ * platform/graphics/ca/GraphicsLayerCA.h: The TileController is
+ only available on Mac/Cocoa builds.
+
+2014-04-11 Mark Lam <mark.lam@apple.com>
+
+ JSMainThreadExecState::call() should clear exceptions before returning.
+ <https://webkit.org/b/131530>
+
+ Reviewed by Geoffrey Garen.
+
+ Test: fast/dom/regress-131530.html
+
+ Previously, JSMainThreadExecState::call() did not clear any pending
+ exceptions in the VM before returning. On returning, the
+ JSMainThreadExecState destructor may re-enter the VM to notify
+ MutationObservers. This may result in a crash because the VM expects
+ exceptions to be cleared at entry.
+
+ We now change JSMainThreadExecState::call() to return the exception
+ (if present) via an argument, and clear it from the VM before returning.
+
+ As part of this change, I updated various parts of the code base to use the
+ new API as needed.
+
+ * bindings/js/JSCallbackData.cpp:
+ (WebCore::JSCallbackData::invokeCallback):
+ * bindings/js/JSCustomXPathNSResolver.cpp:
+ (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
+ * bindings/js/JSDOMGlobalObjectTask.cpp:
+ - Assert that there's no unhandled exception after the Microtask returns.
+ See comment for WebCore::JSMainThreadExecState::runTask below for more
+ details.
+
+ * bindings/js/JSErrorHandler.cpp:
+ (WebCore::JSErrorHandler::handleEvent):
+ * bindings/js/JSEventListener.cpp:
+ (WebCore::JSEventListener::handleEvent):
+ * bindings/js/JSHTMLDocumentCustom.cpp:
+ (WebCore::JSHTMLDocument::open):
+ - Document.open() cannot be the first function on the JS stack. Hence,
+ there is no need to use JSMainThreadExecState to call into the VM, as
+ this is only needed to catch the event of returning from the first
+ function for the purpose of notifying MutationObservers. Change to
+ call JSC::call() directly.
+
+ * bindings/js/JSMainThreadExecState.cpp:
+ (WebCore::functionCallHandlerFromAnyThread):
+ * bindings/js/JSMainThreadExecState.h:
+ (WebCore::JSMainThreadExecState::call):
+ (WebCore::JSMainThreadExecState::evaluate):
+ - Remove the explicitly acquisition of the JSLock here because we now
+ acquire the JSLock as part of the JSMainThreadExecState instance.
+ (WebCore::JSMainThreadExecState::runTask):
+ - Added an assert to verify that the task does not return with an
+ unhandled exception. Currently, the only Microtask in use is for the
+ Promise implementation, which will eat the exception before returning.
+ This assertion is added here to verify that this contract does not
+ inadvertantly change in the future.
+ (WebCore::JSMainThreadExecState::JSMainThreadExecState):
+ - Now acquires the JSLock as well since by definition, we're only
+ instantiating the JSMainThreadExecState because we're about to enter
+ the VM.
+
+ * bindings/js/JSMutationCallback.cpp:
+ (WebCore::JSMutationCallback::call):
+ * bindings/js/JSNodeFilterCondition.cpp:
+ (WebCore::JSNodeFilterCondition::acceptNode):
+ - acceptNode() is only used in the TreeWalker and NodeIterator APIs which
+ cannot be the first function on the JS stack. Hence, we should call
+ JSC::call() directly instead of going through JSMainThreadExecState.
+
+ * bindings/js/ScheduledAction.cpp:
+ (WebCore::ScheduledAction::executeFunctionInContext):
+ * bindings/objc/WebScriptObject.mm:
+ (WebCore::addExceptionToConsole):
+ (-[WebScriptObject callWebScriptMethod:withArguments:]):
+
+2014-04-11 Brian J. Burg <burg@cs.washington.edu>
+
+ Web Replay: CodeGeneratorJS should guard includes of replay-related headers
+ https://bugs.webkit.org/show_bug.cgi?id=131407
+
+ Reviewed by Timothy Hatcher.
+
+ This patch adds guards to headers that are only required by generated replay code
+ that is itself guarded. Other ports probably haven't added the headers to their
+ build files, so we don't want to emit the unused header includes.
+
+ This patch also converts generated uses of DEFINE_STATIC_LOCAL to NeverDestroyed<T>.
+ Finally, a new bindings test was added to document changes to generated replay code.
+
+ Test: Source/WebCore/bindings/scripts/test/TestNondeterministic.idl
+
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ (GenerateImplementationFunctionCall):
+
+ * bindings/scripts/test/GObject/WebKitDOMTestNondeterministic.cpp: Added.
+ * bindings/scripts/test/GObject/WebKitDOMTestNondeterministic.h: Added.
+ * bindings/scripts/test/GObject/WebKitDOMTestNondeterministic.symbols: Added.
+ * bindings/scripts/test/GObject/WebKitDOMTestNondeterministicPrivate.h: Added.
+ * bindings/scripts/test/JS/JSTestNondeterministic.cpp: Added.
+ * bindings/scripts/test/JS/JSTestNondeterministic.h: Added.
+ * bindings/scripts/test/ObjC/DOMTestNondeterministic.h: Added.
+ * bindings/scripts/test/ObjC/DOMTestNondeterministic.mm: Added.
+ * bindings/scripts/test/ObjC/DOMTestNondeterministicInternal.h: Added.
+ * bindings/scripts/test/TestNondeterministic.idl: Added.
+
+2014-04-11 Antti Koivisto <antti@apple.com>
+
+ Pipe initial scale factor to TileController
+ https://bugs.webkit.org/show_bug.cgi?id=131521
+
+ Reviewed by Tim Horton.
+
+ * WebCore.exp.in:
+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ (WebCore::Page::setZoomedOutPageScaleFactor):
+ * page/Page.h:
+ (WebCore::Page::zoomedOutPageScaleFactor):
+ * platform/graphics/GraphicsLayerClient.h:
+ (WebCore::GraphicsLayerClient::zoomedOutPageScaleFactor):
+ * platform/graphics/TiledBacking.h:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::updateContentsScale):
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * platform/graphics/ca/mac/TileController.h:
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::TileController):
+ (WebCore::TileController::setContentsScale):
+ (WebCore::TileController::setZoomedOutContentsScale):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::zoomedOutPageScaleFactor):
+ * rendering/RenderLayerBacking.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::zoomedOutPageScaleFactor):
+ * rendering/RenderLayerCompositor.h:
+
+2014-04-10 Chris Fleizach <cfleizach@apple.com>
+
+ Heap-use-after-free in WebCore::SpeechSynthesisUtterance::startTime
+ https://bugs.webkit.org/show_bug.cgi?id=131482
+
+ Reviewed by David Kilzer.
+
+ Hold onto the utterance until it has time to fire, in case other references have been removed.
+
+ Merged from Blink r171077 by <dmazzoni@chromium.org>
+
+ Test: platform/mac/fast/speechsynthesis/speech-synthesis-gc-utterance-crash.html
+
+ * Modules/speech/SpeechSynthesis.cpp:
+ (WebCore::SpeechSynthesis::handleSpeakingCompleted):
+
+2014-04-11 Zan Dobersek <zdobersek@igalia.com>
+
+ Avoid Vector copies in RenderGrid::placeItemsOnGrid()
+ https://bugs.webkit.org/show_bug.cgi?id=131452
+
+ Reviewed by Sergio Villar Senin.
+
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::placeSpecifiedMajorAxisItemsOnGrid): Take in a const reference to the
+ Vector object. Make the for-loop that iterates through it range-based.
+ (WebCore::RenderGrid::placeAutoMajorAxisItemsOnGrid): Ditto.
+ * rendering/RenderGrid.h:
+
+2014-04-11 Joseph Pecoraro <pecoraro@apple.com>
+
+ Web Inspector: Remove shared PageScriptDebugServer, create per-Page
+ https://bugs.webkit.org/show_bug.cgi?id=131523
+
+ Reviewed by Timothy Hatcher.
+
+ Having a shared PageScriptDebugServer was causing issues when we called
+ JSC::Debugger::clearBreakpoints() closing one inspector while another
+ is open for another WebCore::Page in the same process. Having the same
+ JSC::Debugger underlying multiple InspectorDebuggerAgent instances
+ means that when clearBreakpoints is called, the real JSC breakpoints
+ underlying other InspectorDebuggerAgent's get removed. When those
+ InspectorDebuggerAgents attempt to remove their breakpoints they
+ encounter unexpected issues.
+
+ This entirely rebuilds PageScriptDebugServer to be per-Page instead
+ of shared across all pages. So take this opportunity to move the
+ file from WebCore/bindings/js to WebCore/inspector.
+
</ins><span class="cx"> * CMakeLists.txt:
</span><del>- * DerivedSources.cpp:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * Target.pri:
- * UseJSC.cmake:
- * WebCore.exp.in:
- * WebCore.order:
</del><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj:
</span><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj.filters:
</span><del>- * WebCore.vcxproj/WebCoreTestSupport.vcxproj:
- * WebCore.vcxproj/WebCoreTestSupport.vcxproj.filters:
</del><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * bindings/gobject/GNUmakefile.am: Remove the GObject bindings targets for MemoryInfo.
- * bindings/js/JSBindingsAllInOne.cpp: Remove the JSMemoryInfo.h and MemoryInfo.h inclusion.
- * bindings/js/JSMemoryInfoCustom.cpp: Removed.
- * bindings/js/ScriptGCEvent.cpp: Remove the ENABLE(INSPECTOR) guards.
- (WebCore::ScriptGCEvent::getHeapSize): Remove the jsHeapSizeLimit assignment.
- * bindings/js/ScriptGCEvent.h: Remove the ENABLE(INSPECTOR) guards.
- (WebCore::HeapInfo::HeapInfo): Remove the jsHeapSizeLimit member.
- * page/Console.cpp: Remove the Console::memory method.
- * page/Console.h: Ditto.
- * page/Console.idl: Remove the window.console.memory attribute.
- * page/MemoryInfo.cpp: Removed.
- * page/Performance.cpp: Remove the Performance::memory method.
- * page/Performance.h: Ditto.
- * page/Performance.idl: Remove the window.performance.memory attribute.
- * testing/Internals.cpp:
- (WebCore::Internals::memoryInfo): Return a MemoryInfo object upon invoking.
- * testing/Internals.h: Declare the Internals::memoryInfo method.
- * testing/Internals.idl: Expose the window.internals.memoryInfo operation.
- * testing/MemoryInfo.h: Renamed from Source/WebCore/page/MemoryInfo.h.
- (WebCore::MemoryInfo::create): Return a new RefPtr-wrapped MemoryInfo object.
- (WebCore::MemoryInfo::usedJSHeapSize): Return the value of the equally-named HeapInfo member.
- (WebCore::MemoryInfo::totalJSHeapSize): Ditto.
- (WebCore::MemoryInfo::MemoryInfo): Acquire the current heap info upon construction.
- * testing/MemoryInfo.idl: Renamed from Source/WebCore/page/MemoryInfo.idl.
- The jsHeapSizeLimit attribute is removed.
</del><ins>+ * bindings/js/JSBindingsAllInOne.cpp:
+ * bindings/js/PageScriptDebugServer.h: Removed.
+ * inspector/InspectorAllInOne.cpp:
+ Move PageScriptDebugServer.
</ins><span class="cx">
</span><del>-2013-06-04 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ * inspector/InspectorController.h:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::InspectorController):
+ Set the ScriptDebugServer directly on some other agents that
+ were previously using the global debug server.
</ins><span class="cx">
</span><del>- [curl] Headers should be parsed as utf8 if possible
- https://bugs.webkit.org/show_bug.cgi?id=117196
</del><ins>+ * inspector/InspectorProfilerAgent.h:
+ (WebCore::InspectorProfilerAgent::scriptDebugServer):
+ * inspector/InspectorProfilerAgent.cpp:
+ (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
+ (WebCore::InspectorProfilerAgent::setScriptDebugServer):
+ (WebCore::InspectorProfilerAgent::start):
+ (WebCore::InspectorProfilerAgent::willDestroyFrontendAndBackend): Deleted.
+ * inspector/InspectorTimelineAgent.h:
+ * inspector/InspectorTimelineAgent.cpp:
+ (WebCore::InspectorTimelineAgent::start):
+ (WebCore::InspectorTimelineAgent::stop):
+ (WebCore::InspectorTimelineAgent::setPageScriptDebugServer):
+ (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
+ Refactor these two agents to take in a script debug server.
+ The server is expected to be set during initialization and
+ to always be valid (like debug server on RuntimeAgent).
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ * inspector/PageDebuggerAgent.h:
+ * inspector/PageDebuggerAgent.cpp:
+ (WebCore::PageDebuggerAgent::PageDebuggerAgent):
+ (WebCore::PageDebuggerAgent::startListeningScriptDebugServer):
+ (WebCore::PageDebuggerAgent::stopListeningScriptDebugServer):
+ (WebCore::PageDebuggerAgent::scriptDebugServer):
+ Have PageDebuggerAgent hold the PageScriptDebugServer.
+ Update for the simplified interfaces.
</ins><span class="cx">
</span><del>- Testcase already present: http/tests/download/literal-utf-8.html
</del><ins>+ * inspector/PageScriptDebugServer.h: Added.
+ * inspector/PageScriptDebugServer.cpp: Renamed from Source/WebCore/bindings/js/PageScriptDebugServer.cpp.
+ (WebCore::PageScriptDebugServer::PageScriptDebugServer):
+ (WebCore::PageScriptDebugServer::addListener):
+ (WebCore::PageScriptDebugServer::removeListener):
+ (WebCore::PageScriptDebugServer::recompileAllJSFunctions):
+ (WebCore::PageScriptDebugServer::didPause):
+ (WebCore::PageScriptDebugServer::didContinue):
+ (WebCore::PageScriptDebugServer::runEventLoopWhilePaused):
+ (WebCore::PageScriptDebugServer::runEventLoopWhilePausedInternal):
+ (WebCore::PageScriptDebugServer::isContentScript):
+ (WebCore::PageScriptDebugServer::reportException):
+ (WebCore::PageScriptDebugServer::setJavaScriptPaused):
+ Model after JSGlobalObjectScriptDebugServer, the PageScriptDebugServer
+ holds a reference to a Page.
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::headerCallback): Parse the header as an utf8 string if possible.
</del><ins>+2014-04-11 Bear Travis <betravis@adobe.com>
</ins><span class="cx">
</span><del>-2013-06-04 Oliver Hunt <oliver@apple.com>
</del><ins>+ [CSS Shapes] inset args and radial args should serialize to the simplest form
+ https://bugs.webkit.org/show_bug.cgi?id=129825
</ins><span class="cx">
</span><del>- Prevent throttling while resources are being loaded
- https://bugs.webkit.org/show_bug.cgi?id=117218
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- Reviewed by Gavin Barraclough.
</del><ins>+ Modify inset serialization to omit components where possible. The insets simplify
+ according to the margin shorthand, while the corner radii simplify according to
+ the border-radius shorthand.
</ins><span class="cx">
</span><del>- Make use of the page activity assertion infrastructure to delay
- throttling while we are waiting on resource loads.
</del><ins>+ Modifying existing parsing tests.
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::completed):
- (WebCore::FrameLoader::started):
- * loader/FrameLoader.h:
- * loader/SubresourceLoader.cpp:
- (WebCore::SubresourceLoader::init):
- (WebCore::SubresourceLoader::checkForHTTPStatusCodeError):
- (WebCore::SubresourceLoader::didFinishLoading):
- (WebCore::SubresourceLoader::didFail):
- (WebCore::SubresourceLoader::willCancel):
- * loader/SubresourceLoader.h:
</del><ins>+ * css/CSSBasicShapes.cpp:
+ (WebCore::buildInsetRadii): Add the necessary radii, omitting components where possible.
+ (WebCore::buildInsetString): Omit components where possible.
</ins><span class="cx">
</span><del>-2013-06-04 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-04-11 Praveen R Jadhav <praveen.j@samsung.com>
</ins><span class="cx">
</span><del>- Remove [NoInterfaceObject] from XPathExpression and NodeIterator
- https://bugs.webkit.org/show_bug.cgi?id=117204
</del><ins>+ "playbackTime" parameter is not present in AudioProcessingEvent Interface as per W3C spec
+ https://bugs.webkit.org/show_bug.cgi?id=105518
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Remove [NoInterfaceObject] from XPathExpression and NodeIterator to match
- their respective specifications:
- - http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathExpression
- - http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeIterator
</del><ins>+ Attribute "playbackTime" in AudioProcessingEvent implemented to pass playback time of
+ audiobuffer associated with ScriptProcessorNode of the context.
+
+ Reference: https://codereview.chromium.org/210973002
</ins><span class="cx">
</span><del>- No new tests, already covered by:
- fast/js/global-constructors-attributes.html
</del><ins>+ Spec: http://www.w3.org/TR/webaudio/#AudioProcessingEvent
</ins><span class="cx">
</span><del>- * dom/NodeIterator.idl:
- * xml/XPathExpression.idl:
</del><ins>+ Test: webaudio/audioprocessingevent.html
</ins><span class="cx">
</span><del>-2013-06-04 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ * Modules/webaudio/AudioProcessingEvent.cpp:
+ (WebCore::AudioProcessingEvent::create):
+ (WebCore::AudioProcessingEvent::AudioProcessingEvent):
+ * Modules/webaudio/AudioProcessingEvent.h:
+ (WebCore::AudioProcessingEvent::playbackTime):
+ * Modules/webaudio/AudioProcessingEvent.idl:
+ * Modules/webaudio/ScriptProcessorNode.cpp:
+ (WebCore::ScriptProcessorNode::fireProcessEvent):
</ins><span class="cx">
</span><del>- AX: MathML multiscripts not exposed in Accessibility
- https://bugs.webkit.org/show_bug.cgi?id=115069
</del><ins>+2014-04-11 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Unreviewed, build fix.
</del><ins>+ Subpixel rendering: WK1: Trail of cruft in redraw during animations.
+ https://bugs.webkit.org/show_bug.cgi?id=131525
</ins><span class="cx">
</span><del>- Remove an accessibility iOS method that was erroneously added.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
</del><ins>+ Use enclosing rect instead of snapping to make sure the repaint rect always
+ covers the dirty area when painting is requested in a non-compositing RenderView.
+ This only applies to WK1 as WK2 has compositing RenderView and the repainting
+ is managed by RenderLayerBacking.
</ins><span class="cx">
</span><del>-2013-06-04 Greg Hughes <ghughes@apple.com>
</del><ins>+ This is a temporary solution until after ScrollView/FrameView/RenderView
+ is transitioned to device pixels. (tracked here: webkit.org/b/131526).
</ins><span class="cx">
</span><del>- Add "VisibleOnly" key to search predicate
- https://bugs.webkit.org/show_bug.cgi?id=115491
</del><ins>+ Test: fast/repaint/hidpi-block-width-change-leaves-cruft.html
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::repaintViewRectangle):
</ins><span class="cx">
</span><del>- Added support for accessibility clients to use the search predicate to find only visible elements
</del><ins>+2014-04-10 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityObject.cpp:
- (WebCore::AccessibilityObject::isAccessibilityObjectSearchMatch):
- (WebCore::AccessibilityObject::isOnscreen):
- (WebCore):
- * accessibility/AccessibilityObject.h:
- (AccessibilitySearchCriteria):
- (WebCore::AccessibilitySearchCriteria::AccessibilitySearchCriteria):
- (AccessibilityObject):
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
</del><ins>+ WebGL: need error checking after texture uploads
+ https://bugs.webkit.org/show_bug.cgi?id=62902
+ rdar://problem/9640309
</ins><span class="cx">
</span><del>-2013-06-04 Roger Fong <roger_fong@apple.com>
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- Unreviewed. Rollout of r151146. Broke some tests.
</del><ins>+ A followup to Darin's r167109. We need to also check for errors
+ in the texImage2D case.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::forceLayoutForPagination):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::finishDelayUpdateScrollInfo):
- (WebCore::RenderBlock::updateScrollInfoAfterLayout):
- (WebCore::RenderBlock::layout):
- * rendering/RenderBlock.h:
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::clearLayoutOverflow):
- * rendering/RenderBox.h:
- * rendering/RenderDeprecatedFlexibleBox.cpp:
- (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
- * rendering/RenderGrid.cpp:
- (WebCore::RenderGrid::layoutBlock):
</del><ins>+ This is difficult to reproducibly test because it would require
+ attempting to exhaust GPU memory.
</ins><span class="cx">
</span><del>-2013-06-04 Noam Rosenthal <noam@webkit.org>
</del><ins>+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::compressedTexImage2D): Check for errors by calling
+ moveErrorsToSyntheticErrorList twice, once before and once after. If an error
+ occurred, explicitly mark the texture as invalid.
+ (WebCore::WebGLRenderingContext::texImage2DBase): Ditto.
+ * html/canvas/WebGLTexture.cpp:
+ (WebCore::WebGLTexture::markInvalid): If the LevelInfo exists for this
+ mipmap level, then set the valid flag to false. There is a chance that
+ a previous call to texImage2D succeeded for this level, but it's probably
+ better to assume that is now invalid.
+ * html/canvas/WebGLTexture.h: New markInvalid method.
</ins><span class="cx">
</span><del>- Refactor the code that decides whether to enable WebGL from settings to helper functions
- https://bugs.webkit.org/show_bug.cgi?id=117181
</del><ins>+2014-04-10 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- This removes some #ifdef crud out of the getContext() function.
</del><ins>+ WebGL: need error checking after texture and buffer uploads in some cases
+ https://bugs.webkit.org/show_bug.cgi?id=62902
+ rdar://problem/9640309
</ins><span class="cx">
</span><ins>+ Reviewed by Dean Jackson.
+
+ Not clear how to write a test for this.
+
+ * html/canvas/WebGLBuffer.cpp:
+ (WebCore::WebGLBuffer::disassociateBufferData): Added.
+ * html/canvas/WebGLBuffer.h: Added disassociateBufferData.
+
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::bufferData): Check for errors by calling
+ moveErrorsToSyntheticErrorList twice, once before and once after. If an error
+ occurred, call the WebGLBuffer so it doesn't think it has data.
+ (WebCore::WebGLRenderingContext::bufferSubData): Ditto.
+
+ * platform/graphics/GraphicsContext3D.h: Added moveErrorsToSyntheticErrorList.
+
+ * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
+ (WebCore::GraphicsContext3D::moveErrorsToSyntheticErrorList): Added. Calls
+ glError and moves any errors to the synthetic error list.
+ (WebCore::GraphicsContext3D::getError): Added call to moveErrorsToSyntheticErrorList
+ to preserve error ordering.
+ (WebCore::GraphicsContext3D::synthesizeGLError): Ditto.
+
+2014-04-10 Enrica Casucci <enrica@apple.com>
+
+ iOS build fix to deal with CoreText changes.
+
</ins><span class="cx"> Reviewed by Benjamin Poulain.
</span><ins>+
+ This is a temporary fix until CT fixes the issue.
</ins><span class="cx">
</span><del>- * html/HTMLCanvasElement.cpp:
- (WebCore::requiresAcceleratedCompositingForWebGL):
- (WebCore::shouldEnableWebGL):
- (WebCore::HTMLCanvasElement::getContext):
</del><ins>+ * rendering/RenderThemeIOS.mm:
</ins><span class="cx">
</span><del>-2013-06-04 Thiago Santos <thiago.sousa.santos@collabora.com>
</del><ins>+2014-04-10 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Prevent race when pad caps is set on gstreamer player
- https://bugs.webkit.org/show_bug.cgi?id=115355
</del><ins>+ Unreviewed, rolling out r167073.
+ https://bugs.webkit.org/show_bug.cgi?id=131516
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ This patch caused crashes in video tests. (Requested by
+ mrobinson on #webkit).
</ins><span class="cx">
</span><del>- Prevent race when pad caps is set on gstreamer player and
- Also protect internal paint buffer with a mutex.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
- (WebCore::MediaPlayerPrivateGStreamerBase::MediaPlayerPrivateGStreamerBase):
- (WebCore::MediaPlayerPrivateGStreamerBase::~MediaPlayerPrivateGStreamerBase):
- (WebCore::MediaPlayerPrivateGStreamerBase::naturalSize):
- (WebCore::MediaPlayerPrivateGStreamerBase::triggerRepaint):
- (WebCore::MediaPlayerPrivateGStreamerBase::paint):
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
- (MediaPlayerPrivateGStreamerBase):
</del><ins>+ "[GStreamer] No CORS support for media elements"
+ https://bugs.webkit.org/show_bug.cgi?id=99037
+ http://trac.webkit.org/changeset/167073
</ins><span class="cx">
</span><del>-2013-06-04 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
</del><ins>+2014-04-10 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- [Qt] Fix a crash in QtPixmapRuntime.
- https://bugs.webkit.org/show_bug.cgi?id=117193
- https://bugreports.qt-project.org/browse/QTBUG-30736
</del><ins>+ Radio buttons are using the wrong sizes and margins
+ https://bugs.webkit.org/show_bug.cgi?id=131503
</ins><span class="cx">
</span><del>- Reviewed by Allan Sandfeld Jensen.
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- The crash could only be reproduced in release builds on Windows.
- JSClassCreate calculates the size of JSClassDefinition.staticValues
- and staticFunctions by iterating until an entry with a null name is found.
</del><ins>+ This is a regression that I caused recently when I combined radio button and
+ checkbox code.
+ * platform/mac/ThemeMac.mm:
+ (WebCore::paintToggleButton):
</ins><span class="cx">
</span><del>- * bridge/qt/qt_pixmapruntime.cpp:
- (JSC::Bindings::QtPixmapRuntime::getClassRef):
</del><ins>+2014-04-08 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>-2013-06-04 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Assertion failure in WebCore::FlexBoxIterator::next()
+ <https://bugs.webkit.org/show_bug.cgi?id=117176>
+ <rdar://problem/14054549>
</ins><span class="cx">
</span><del>- Automatically generate WorkerContext constructor attributes
- https://bugs.webkit.org/show_bug.cgi?id=117183
</del><ins>+ Code added in r115687 began removing anonymous wrappers when children
+ become inline. However, there are some objects, like
+ RenderDeprecatedFlexBox, whose children should always be blocks.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Add [GlobalContext=WindowOnly|WorkerOnly|WindowAndWorker] IDL extended attribute
- to indicate to the bindings generator on which global context the constructor
- attribute should be generated for interfaces without [NoInterfaceObject]:
- - WindowOnly: only on the global Window object (default if ommitted)
- - WorkerOnly: only on the worker context
- - WindowAndWorker: On both the global Window object and the worker context
</del><ins>+ * rendering/RenderBlock.h:
+ (WebCore::RenderBlock::canCollapseAnonymousBlockChild):
+ Made public.
</ins><span class="cx">
</span><del>- This covers all the current use cases.
</del><ins>+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::removeAnonymousWrappersForInlinesIfNecessary):
+ Return early if we can't collapse anonymous block children.
</ins><span class="cx">
</span><del>- The JSC bindings generator now automatically generates the Constructor attributes
- on the WorkerContext for non-callback interfaces which do not have the
- [NoInterfaceObject] extended attribute but have [GlobalContext=WorkerOnly|WindowAndWorker]
- extended attribute.
</del><ins>+2014-04-07 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>- No new tests, already covered by:
- fast/js/global-constructors-attributes.html
- fast/js/global-constructors-attributes-worker.html
</del><ins>+ Assertion failure, !node || node->isElementNode(), in
+ WebCore::RenderBlock::clone()
+ <https://bugs.webkit.org/show_bug.cgi?id=110489>
+ <rdar://problem/13666425>
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * DerivedSources.make: Pass new --workerContextConstructorsFile argument to preprocess-idls.pl.
- * DerivedSources.pri: Ditto.
- * GNUmakefile.am: Ditto.
- * PlatformBlackBerry.cmake: Ditto.
- * UseJSC.cmake: Ditto.
- * bindings/scripts/IDLAttributes.txt: Add [GlobalContext=WindowOnly|WorkerOnly|WindowAndWorker]
- IDL extended attribute.
- * bindings/scripts/preprocess-idls.pl: Add support for [GlobalContext] extended attribute and
- generate a partial interface for WorkerContext global constructors that are automatically
- generated.
- * dom/MessageEvent.idl: Add [GlobalContext=WindowAndWorker].
- * fileapi/Blob.idl: Add [GlobalContext=WindowAndWorker].
- * fileapi/FileReader.idl: Add [GlobalContext=WindowAndWorker].
- * fileapi/FileReaderSync.idl: Add [GlobalContext=WorkerOnly] and remove [NoInterfaceObject]
- as the interface should only be visible in worker environment as per the spec.
- * html/DOMURL.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/ArrayBuffer.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/DataView.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/Float32Array.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/Float64Array.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/Int16Array.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/Int32Array.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/Int8Array.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/Uint16Array.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/Uint32Array.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/Uint8Array.idl: Add [GlobalContext=WindowAndWorker].
- * html/canvas/Uint8ClampedArray.idl: Add [GlobalContext=WindowAndWorker].
- * workers/WorkerContext.idl: Remove several Constructor attributes which are now automatically
- generated.
- * workers/WorkerLocation.idl: Add [GlobalContext=WorkerOnly] and remove [NoInterfaceObject]
- as the interface should only be visible in worker environment as per the spec.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>-2013-06-04 Kangil Han <kangil.han@samsung.com>
</del><ins>+ We're ending up in RenderBlock::splitBlocks() with |this| ==
+ |fromBlock|. We then try to climb the ancestor block chain from
+ this->parent() to |fromBlock|, but this->parent() is already above
+ |fromBlock|, so we end up climbing up to the RenderView and trying to
+ clone it, causing the assertion failure.
</ins><span class="cx">
</span><del>- Use ASSERT_DISABLED option for assertion purpose code in InlineBox
- https://bugs.webkit.org/show_bug.cgi?id=117146
</del><ins>+ Adopt Chromium's mitigation for this from
+ <https://codereview.chromium.org/13852041>. This is not intended as a
+ fix for the underlying issue.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Also, fix another issue that occurs with this fuzzed test case that's
+ not handled by the Chromium fix.
</ins><span class="cx">
</span><del>- We can distinguish assertion code with debug purpose by using ASSERT_DISABLED option.
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::splitBlocks):
+ Ensure while we're in the loop that |curr| is a descendant of
+ |fromBlock|. From the Chromium patch:
</ins><span class="cx">
</span><del>- * rendering/InlineBox.cpp:
- (WebCore::InlineBox::~InlineBox):
- (WebCore::InlineBox::destroy):
- (WebCore::InlineBox::operator delete):
- * rendering/InlineBox.h:
- (WebCore::InlineBox::InlineBox):
</del><ins>+ We need to check in every iteration of the loop because
+ moveChildrenTo could have moved |curr|. This is a mitigation and
+ not really a fix against a class of tree craziness.
</ins><span class="cx">
</span><del>-2013-06-04 Kent Tamura <tkent@chromium.org>
</del><ins>+ Finally, before moving children from |fromBlock| to |toBlock|, ensure
+ that the children are children of |fromBlock|. If we never entered the
+ loop, they will be siblings of |fromBlock|, not children.
</ins><span class="cx">
</span><del>- Fix an assertion failure in Range::textNodeSplit by Text::splitText
- https://bugs.webkit.org/show_bug.cgi?id=116509
</del><ins>+2014-04-10 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Build fix after http://trac.webkit.org/changeset/167085.
</ins><span class="cx">
</span><del>- Range::textNodeSplit is called in Text::splitText, and it assumes the
- next sibling node is still a Text node. A DOM mutation event handler can
- break this assumption.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- We had better postpone DOM mutation events dispatched in Node::insertBefore
- until exiting splitText to avoid inconsistent Range state.
</del><ins>+ * plugins/PluginData.h:
</ins><span class="cx">
</span><del>- This imports http://src.chromium.org/viewvc/blink?view=revision&revision=150493 .
</del><ins>+2014-04-10 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Test: fast/dom/Range/split-text-in-range.html
</del><ins>+ Web Inspector: Breakpoint in gutter has clipped / broken border image.
+ https://bugs.webkit.org/show_bug.cgi?id=131500
</ins><span class="cx">
</span><del>- * dom/Text.cpp:
- (WebCore::Text::splitText): Add EventQueueScope.
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><del>-2013-06-03 Kangil Han <kangil.han@samsung.com>
</del><ins>+ Typo in r166925.
</ins><span class="cx">
</span><del>- Remove unused arithmetic operation in RenderListItem
- https://bugs.webkit.org/show_bug.cgi?id=117175
</del><ins>+ Test: fast/borders/border-image-slice-missing-right.html
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintNinePieceImage):
</ins><span class="cx">
</span><del>- Variable 'markerLogicalLeft' is reassigned a value before the old one has been used.
</del><ins>+2014-04-10 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderListItem.cpp:
- (WebCore::RenderListItem::positionListMarker):
</del><ins>+ Web Inspector: AXI: expose aria-busy state of current and ancestor nodes
+ https://bugs.webkit.org/show_bug.cgi?id=130826
</ins><span class="cx">
</span><del>-2013-06-03 Roger Fong <roger_fong@apple.com>
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Unreviewed. Some AppleWin VS2010 house cleaning.
</del><ins>+ Test: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/build-generated-files.sh:
</del><ins>+ Expose if node is contained by any "busy" ancestor nodes, too.
</ins><span class="cx">
</span><del>-2013-06-03 Roger Fong <roger_fong@apple.com>
</del><ins>+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
</ins><span class="cx">
</span><del>- clearLayoutOverflow should never be called before calling layer()->updateScrollInfoAfterLayout().
- https://bugs.webkit.org/show_bug.cgi?id=116689.
</del><ins>+2014-04-10 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Ojan Vafai.
</del><ins>+ Web Inspector: Remove unused ruler in overlay code
+ https://bugs.webkit.org/show_bug.cgi?id=131507
</ins><span class="cx">
</span><del>- Make sure that clearLayoutOverflow only gets called after layer()->updateScrollInfoAfterLayout().
- Also move clearLayoutOverflow to RenderBlock so we can keep all the delayed scroll update logic together.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Test: fast/flexbox/clear-overflow-before-scroll-update.html
</del><ins>+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::highlightConfigFromInspectorObject):
+ * inspector/InspectorOverlay.cpp:
+ (WebCore::buildObjectForHighlight):
+ * inspector/InspectorOverlay.h:
+ (WebCore::Highlight::Highlight):
+ (WebCore::Highlight::setDataFromConfig):
+ * inspector/InspectorOverlayPage.js:
+ (_drawFragmentHighlight):
+ (_drawRegionNumber): Deleted.
+ (quadToPath): Deleted.
+ (drawOutlinedQuad): Deleted.
+ (pathCommand): Deleted.
+ (drawPath): Deleted.
+ (drawOutlinedQuadWithClip): Deleted.
+ (quadEquals): Deleted.
+ (drawGutter): Deleted.
+ (drawNodeHighlight): Deleted.
+ (drawQuadHighlight): Deleted.
+ (setPlatform): Deleted.
+ (dispatch): Deleted.
+ (log): Deleted.
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::layout): Remove call to clearLayoutOverflow.
- (WebCore::RenderBlock::finishDelayUpdateScrollInfo): Add call to clearLayoutOverflow.
- (WebCore::RenderBlock::updateScrollInfoAfterLayout): Ditto.
- (WebCore::RenderBlock::clearLayoutOverflow): ASSERT(!gDelayUpdateScrollInfo) and move from RenderBox to RenderBlock to keep delayed scroll update logic together.
- * rendering/RenderBlock.h:
- (RenderBlock):
- * rendering/RenderBox.cpp:
- * rendering/RenderBox.h:
- (WebCore::RenderBox::layoutOverflowRect): Remove from layoutOverflowRect.
- (RenderBox):
- * rendering/RenderDeprecatedFlexibleBox.cpp:
- (WebCore::RenderDeprecatedFlexibleBox::layoutBlock): This should call updateScrollInfoAfterLayout() intead of directly calling layer()->updateScrollInfoAfterLayout().
- * rendering/RenderGrid.cpp:
- (WebCore::RenderGrid::layoutBlock): Ditto.
</del><ins>+2014-04-10 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>-2013-05-31 Anders Carlsson <andersca@apple.com>
</del><ins>+ Web Replay: memoize plugin data for navigator.mimeTypes and navigator.plugins
+ https://bugs.webkit.org/show_bug.cgi?id=131341
</ins><span class="cx">
</span><del>- Take the normal NSView code path when drawing into an inclusive layer
- https://bugs.webkit.org/show_bug.cgi?id=117094
- <rdar://problem/13812355>
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Information about plugins and mime types is nondeterministic and can change
+ at any time, whether by system events, browser settings changes, or
+ triggered by script. To avoid interposing on all those code paths, just
+ memoize the plugin data used by DOMPluginArray and DOMMimeTypeArray.
</ins><span class="cx">
</span><del>- For now, take the normal code path when drawing into an inclusive layer.
</del><ins>+ This is less efficient than controlling mutations to the underlying PluginData
+ of a Page, but that can be done later if better plugin support is desired.
+ The point of this change is to make analytics trackers deterministic across
+ enabling/disabling of plugins.
</ins><span class="cx">
</span><del>- * platform/mac/WidgetMac.mm:
- (WebCore::Widget::paint):
</del><ins>+ Test: LayoutTests/inspector/window-navigator-plugins-memoized.hml
</ins><span class="cx">
</span><del>-2013-05-31 Tiancheng Jiang <tijiang@rim.com>
</del><ins>+ * plugins/DOMMimeTypeArray.cpp:
+ (WebCore::DOMMimeTypeArray::getPluginData):
+ * plugins/DOMPluginArray.cpp:
+ (WebCore::DOMPluginArray::pluginData): Save or restore memoized plugin
+ data during capture and replay, respectively.
</ins><span class="cx">
</span><del>- [BlackBerry] Update Button UX.
- https://bugs.webkit.org/show_bug.cgi?id=116992
</del><ins>+ * plugins/PluginData.h:
+ (WebCore::PluginData::PluginData): Add a constructor that uses the
+ provided plugin data rather than fetching live plugin data. This is
+ marked protected so it's only used by a subclass specifically for
+ deserialization.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ * replay/SerializationMethods.cpp: Add encoder specializations.
+ (JSC::EncodingTraits<MimeClassInfo>::encodeValue):
+ (JSC::EncodingTraits<MimeClassInfo>::decodeValue):
+ (JSC::EncodingTraits<PluginInfo>::encodeValue):
+ (JSC::EncodingTraits<PluginInfo>::decodeValue):
+ (JSC::EncodingTraits<PluginData>::encodeValue):
+ (JSC::DeserializedPluginData::DeserializedPluginData): Add a custom
+ subclass of PluginData that can be initialized from deserialized data.
+ (JSC::EncodingTraits<PluginData>::decodeValue):
+ * replay/SerializationMethods.h:
+ * replay/WebInputs.json: Add new input FetchPluginData.
</ins><span class="cx">
</span><del>- BlackBerry PR 342298.
- Internally Review by Jeff Rogers.
</del><ins>+2014-04-10 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- * css/themeBlackBerry.css:
</del><ins>+ Remove "System Font" from character width calculations
+ https://bugs.webkit.org/show_bug.cgi?id=131411
</ins><span class="cx">
</span><del>-2013-05-31 David Kilzer <ddkilzer@apple.com>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- DerivedSources.make: any rules that use $(FEATURE_DEFINES) should be rebuilt when FeatureDefines.xcconfig changes
- <http://webkit.org/b/117081>
</del><ins>+ Covered by existing tests
</ins><span class="cx">
</span><del>- Reviewed by Mark Rowe.
</del><ins>+ * platform/graphics/Font.cpp:
+ (WebCore::Font::hasValidAverageCharWidth):
</ins><span class="cx">
</span><del>- * DerivedSources.make: Add $(PLATFORM_FEATURE_DEFINES)
- dependency for all rules that use $(FEATURE_DEFINES) to generate
- files.
- (PLATFORM_FEATURE_DEFINES): Set this variable to
- Configurations/FeatureDefines.xcconfig if not already set on
- Mac OS X.
</del><ins>+2014-04-10 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>-2013-05-31 Tiancheng Jiang <tijiang@rim.com>
</del><ins>+ Invalid cast in WebCore::RenderLayer::setupClipPath
+ https://bugs.webkit.org/show_bug.cgi?id=131368
</ins><span class="cx">
</span><del>- Text Field UX updates.
- https://bugs.webkit.org/show_bug.cgi?id=116996
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Only attempt to clip to a box shape if the renderer being clipped is
+ actually a box.
</ins><span class="cx">
</span><del>- BlackBerry PR 342333.
- Internally Reviewed by Jeff Rogers.
</del><ins>+ Test: css3/masking/clip-path-box-shape-on-inline-crash.html
</ins><span class="cx">
</span><del>- Update disabled text field font color.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::setupClipPath): Add isBox() check.
</ins><span class="cx">
</span><del>- * css/themeBlackBerry.css:
</del><ins>+2014-04-10 Owen Taylor <otaylor@redhat.com>
</ins><span class="cx">
</span><del>-2013-05-31 Dean Jackson <dino@apple.com>
</del><ins>+ [GTK] Remove a comment that was incorrectly cut-and-pasted from WidgetBackingStoreCairo
+ https://bugs.webkit.org/show_bug.cgi?id=131499
</ins><span class="cx">
</span><del>- Update CheckedInt.h to latest version from Mozilla
- https://bugs.webkit.org/show_bug.cgi?id=117009
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/gtk/WidgetBackingStoreGtkX11.cpp: Remove a comment that was incorrectly copy and pasted
+ from the Cairo implementation.
</ins><span class="cx">
</span><del>- Mozilla have updated their version of CheckedInt and suggested
- we sync. Here are the improvements:
</del><ins>+2014-04-09 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- - CheckedInt now consistently rejects unsupported types. Before, you
- could sometimes construct a CheckedInt from an unsupported type (like,
- float) or multiply a CheckedInt by a float, and have it not caught! See
- https://bugzilla.mozilla.org/show_bug.cgi?id=869194
- - Fixed a possibility of undefined behavior in unary operator-. See bug
- https://bugzilla.mozilla.org/show_bug.cgi?id=849666
- - CheckedInt now supports the "long long" and "unsigned long long"
- types. We don't like "long long" (and neither does the Google C++ style
- guide!) but we had to do that because libogg exposes typedefs to those
- types. See Bug https://bugzilla.mozilla.org/show_bug.cgi?id=869685
- - CheckedInt also now supports "signed char" in addition to "char" ---
- they are not the same type! See Bug https://bugzilla.mozilla.org/show_bug.cgi?id=847521
- - Fixed and simplified usage of CheckedInt outside of Mozilla. You'll
- like this one! See Bug https://bugzilla.mozilla.org/show_bug.cgi?id=849667
- - Fixed compilation with the Intel C++ compiler. See bug https://bugzilla.mozilla.org/show_bug.cgi?id=784309
</del><ins>+ Eliminate DragSession structure
+ https://bugs.webkit.org/show_bug.cgi?id=131465
</ins><span class="cx">
</span><del>- * html/canvas/CheckedInt.h: Updated.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>-2013-05-31 Andre Moreira Magalhaes <andre.magalhaes@collabora.co.uk>
</del><ins>+ DragSession is really just a transient response to NSDragDestination delegate methods.
+ The "session" name was quite misleading, and thankfully, we don't need a class for this
+ bag of data at all.
</ins><span class="cx">
</span><del>- Make sure gstreamer source element is thread-safe
- https://bugs.webkit.org/show_bug.cgi?id=115352
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ * page/DragController.cpp:
+ (WebCore::DragController::DragController):
+ (WebCore::DragController::dragEntered):
+ (WebCore::DragController::dragUpdated):
+ (WebCore::DragController::dragEnteredOrUpdated):
+ (WebCore::DragController::tryDocumentDrag):
+ * page/DragController.h:
+ (WebCore::DragController::mouseIsOverFileInput):
+ (WebCore::DragController::numberOfItemsToBeAccepted):
+ * page/DragSession.h: Removed.
</ins><span class="cx">
</span><ins>+2014-04-10 Youenn Fablet <youenn.fablet@crf.canon.fr>
+
+ [GStreamer] No CORS support for media elements
+ https://bugs.webkit.org/show_bug.cgi?id=99037
+
</ins><span class="cx"> Reviewed by Philippe Normand.
</span><span class="cx">
</span><del>- GStreamer source element may be created by any gstreamer element on any thread by calling
- gst_element_make_from_uri with the URIs handled by the source element.
- This patch makes sure the gstreamer source element is thread-safe to avoid issues with it
- being created outside the main thread.
</del><ins>+ Added CORS access control check to media sources when crossorigin attribute is set.
</ins><span class="cx">
</span><ins>+ Added getter to CORS access control check status (used to compute whether the stream is tainted or not).
+ Related test is http/tests/security/video-cross-origin-readback.html.
+
+ Disabled access to cross-origin streams that fail CORS check when crossorigin attribute is set.
+ Related test is http/tests/security/video-cross-origin-accessfailure.html.
+
+ Tests: http/tests/security/video-cross-origin-accessfailure.html
+ http/tests/security/video-cross-origin-accesssameorigin.html
+
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::didPassCORSAccessCheck): Return whether media is cross-origin (tainted) or not by querying the gstreamer source layer.
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: Added MediaPlayerPrivateGStreamer::didPassCORSAccessCheck declaration.
</ins><span class="cx"> * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
</span><del>- (_WebKitWebSrcPrivate):
- (webkit_web_src_init):
- (webKitWebSrcFinalize):
- (webKitWebSrcSetProperty):
- (webKitWebSrcGetProperty):
- (webKitWebSrcStop):
- (webKitWebSrcStart):
- (webKitWebSrcChangeState):
- (webKitWebSrcQueryWithParent):
- (webKitWebSrcGetUri):
- (webKitWebSrcSetUri):
- (webKitWebSrcNeedDataMainCb):
- (webKitWebSrcEnoughDataMainCb):
- (webKitWebSrcSeekMainCb):
- (webKitWebSrcSeekDataCb):
- (webKitWebSrcSetMediaPlayer):
- (StreamingClient::StreamingClient):
- (StreamingClient::~StreamingClient):
- (StreamingClient::didReceiveResponse):
- (StreamingClient::didReceiveData):
- (StreamingClient::didFinishLoading):
- (StreamingClient::wasBlocked):
- (StreamingClient::cannotShowURL):
</del><ins>+ (webKitWebSrcStart): Passed CORS mode parameter to the streaming client. In case of CORS check failure, stop the resource loading.
+ (webKitSrcPassedCORSAccessCheck): Return whether CORS access control check was done and successful.
+ (StreamingClient::handleResponseReceived): Take a parameter to assign the CORS access control check result.
+ (CachedResourceStreamingClient::CachedResourceStreamingClient): Updated setting of the ResourceLoaderOptions according CORS mode.
+ (CachedResourceStreamingClient::responseReceived): Check CORS and pass result to handleResponseReceived.
+ (ResourceHandleStreamingClient::didReceiveResponse): No CORS check.
+ * platform/graphics/gstreamer/WebKitWebSourceGStreamer.h: Added webKitSrcPassedCORSAccessCheck declaration.
</ins><span class="cx">
</span><del>-2013-05-31 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+2014-04-10 Eva Balazsfalvi <evab.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Build fix when CSSParser debugging is enabled
- https://bugs.webkit.org/show_bug.cgi?id=117075
</del><ins>+ Move UseJSC.cmake back to CMakeLists.txt
+ https://bugs.webkit.org/show_bug.cgi?id=130834
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Csaba Osztrogonác.
</ins><span class="cx">
</span><del>- Build fails when enabling parser debugging by setting YYDEBUG to
- 1 because of a missing include.
</del><ins>+ No new tests required.
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.includes:
</del><ins>+ * CMakeLists.txt:
+ * UseJSC.cmake: Removed.
</ins><span class="cx">
</span><del>-2013-05-31 Alberto Garcia <agarcia@igalia.com>
</del><ins>+2014-04-09 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- [Soup] [Gstreamer] ASSERT in StreamingClient::getOrCreateReadBuffer
- https://bugs.webkit.org/show_bug.cgi?id=116686
</del><ins>+ Unreviewed, rolling out r167046.
+ https://bugs.webkit.org/show_bug.cgi?id=131479
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+ Caused 300+ failures on Mavericks WK1 tester (Requested by ap
+ on #webkit).
</ins><span class="cx">
</span><del>- We were using g_input_stream_read_async() to handle redirections
- because of Gnome bug #691489.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- This produces an unexpected read attempt which triggers an assert
- in StreamingClient::getOrCreateReadBuffer().
</del><ins>+ "Remove "System Font" from whitelisted DRT fonts and char
+ width calculations"
+ https://bugs.webkit.org/show_bug.cgi?id=131411
+ http://trac.webkit.org/changeset/167046
</ins><span class="cx">
</span><del>- Now that the Gnome bug is fixed we can replace read_async() with
- skip_async().
</del><ins>+2014-04-09 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- * platform/network/soup/ResourceHandleSoup.cpp:
- (WebCore::ResourceHandle::ensureReadBuffer):
- (WebCore::redirectSkipCallback):
- (WebCore::sendRequestCallback):
</del><ins>+ Fix build failure.
+ https://bugs.webkit.org/show_bug.cgi?id=131473
</ins><span class="cx">
</span><del>-2013-05-30 Eugene Klyuchnikov <eustas@chromium.org>
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- selectionStart/selectionEnd return "obsolete" values when requested during "input" event
- https://bugs.webkit.org/show_bug.cgi?id=110742
</del><ins>+ Fix build failure.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (mediaSelectionOptions):
</ins><span class="cx">
</span><del>- This patch defers firing "webkitEditableContentChanged" until new
- selection is applied to control. This makes selection during "input"
- more consistent and reliable.
</del><ins>+2014-04-09 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- Background: "input" event is fired by "webkitEditableContentChanged"
- dispatcher. But "input" is scoped event, so under some conditions its
- dispatching may be deferred. When "input" dispatching is deferred,
- dispatcher observes updated selectionStart and selectionEnd.
- Otherwise values repersent state before applying editing command.
</del><ins>+ Unreviewed build fix after http://trac.webkit.org/changeset/167045
</ins><span class="cx">
</span><del>- So, to make selectionStart/End to be more predictable and useful, we
- need either always dispatch "input" before selection is updated, or
- always dispatch "input" after selection is updated.
</del><ins>+ The file contained an invalid character.
</ins><span class="cx">
</span><del>- As it was mentioned, dispatching could be deferred by scoping. So
- dispatching before updating selection couldn't be guaranteed.
- Moreover, it will be hard to calculate updated selection in user
- code. On the other side - old selection could be easily tracked.
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (WebVideoFullscreenInterfaceAVKit::enterFullscreen):
</ins><span class="cx">
</span><del>- So, it looks logically that we should guarantee dispatching "input"
- after updating selection. There are no execution paths in
- "webkitEditableContentChanged" dispatched that depends on current
- selection. So it is safe to fire this event after selection is updated.
</del><ins>+2014-04-09 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Test: editing/selection/caret-after-keypress.html
</del><ins>+ [iOS] Media controls should resize as the user zooms
+ https://bugs.webkit.org/show_bug.cgi?id=131322
</ins><span class="cx">
</span><del>- * editing/Editor.cpp:
- Dispatch "input" event after new selection in applied.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-05-30 Ruth Fong <ruth_fong@apple.com>
</del><ins>+ On iOS the media controls should remain the same size
+ independent of user zoom. Have the HTMLMediaElement optionally
+ register for updates in the page scale to apply an inverse
+ scale.
</ins><span class="cx">
</span><del>- WebKit's Enter Full Screen for <video> elements isn't working
- https://bugs.webkit.org/show_bug.cgi?id=117001
</del><ins>+ * Modules/mediacontrols/MediaControlsHost.cpp: New exposed property that calls
+ back into HTMLMediaElement::mediaControlsDependOnPageScaleFactor.
+ (WebCore::MediaControlsHost::controlsDependOnPageScaleFactor):
+ (WebCore::MediaControlsHost::setControlsDependOnPageScaleFactor):
+ * Modules/mediacontrols/MediaControlsHost.h: Keep a reference to the actual
+ controls from the JavaScript side so we can talk to it later.
+ (WebCore::MediaControlsHost::controllerJSValue):
+ (WebCore::MediaControlsHost::setControllerJSValue):
+ * Modules/mediacontrols/MediaControlsHost.idl: Expose controlsDependOnPageScaleFactor.
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+ * Modules/mediacontrols/mediaControlsiOS.css:
+ (audio::-webkit-media-controls-panel): Specify the transform origin so that
+ scaling will keep the controls pinned to the bottom left corner.
+ (audio::-webkit-media-controls-start-playback-button): Update to the correct size
+ and provide new artwork.
+ (audio::-webkit-media-controls-start-playback-button.failed): New artwork.
+ * Modules/mediacontrols/mediaControlsiOS.js:
+ (ControllerIOS): Tell the host that these controls care about the page scale.
+ (ControllerIOS.prototype.get pageScaleFactor): New getter.
+ (ControllerIOS.prototype.set pageScaleFactor): When set, update the play button and the panel.
</ins><span class="cx">
</span><del>- Fix workflow to allow a video to enter into full screen
- mode from a kWKContextMenuItemTagEnterVideoFullscreen
- context menu item by denoting the enterFullscreenForVideo
- call as a user gesture, so Document::requestFullScreenForElement
- will execute correctly.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript): Small naming cleanup.
+ (setPageScaleFactorProperty): Static helper to set a JS property value.
+ (WebCore::HTMLMediaElement::didAddUserAgentShadowRoot): Keep a reference to the controls object,
+ and make sure to set the page scale factor on the controls.
+ (WebCore::HTMLMediaElement::pageScaleFactorChanged): Implement the callback, telling
+ the controls object that it needs to relayout.
</ins><span class="cx">
</span><del>- No new tests. Covered by media/context-menu-actions.html,
- which is disabled due to bug #116651.
</del><ins>+2014-04-09 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- * rendering/HitTestResult.cpp:
- (WebCore::HitTestResult::enterFullscreenForVideo):
</del><ins>+ Try to fix iOS build.
</ins><span class="cx">
</span><del>-2013-05-30 Rafael Brandao <rafael.lobo@openbossa.org>
</del><ins>+ * platform/graphics/ca/mac/TileController.mm:
</ins><span class="cx">
</span><del>- Fix double hash lookup in RenderTableSection::paintObject loop
- https://bugs.webkit.org/show_bug.cgi?id=117055
</del><ins>+2014-04-09 Andy Estes <aestes@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Antonio Gomes.
</del><ins>+ REGRESSION (r165908): ~QuickLookHandle() tries to dereference a null ResourceHandle
+ https://bugs.webkit.org/show_bug.cgi?id=131467
</ins><span class="cx">
</span><del>- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::paintObject):
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>-2013-05-31 Stephanie Lewis <slewis@apple.com>
</del><ins>+ QuickLookHandle stored a ResourceHandle pointer in order to later
+ retrive the URL of its firstRequest(), but after r165908 we no longer
+ always have a ResourceHandle. Since firstRequest()'s URL is the only
+ thing we need from ResourceHandle, store it directly rather than a
+ ResourceHandle pointer. In the case where we create a QuickLookHandle
+ from a ResourceLoader rather than a ResourceHandle, pass the loader's
+ originalRequest(), which represents the same request as firstRequest()
+ (i.e. the request after willSendRequest() but before redirects).
</ins><span class="cx">
</span><del>- Update low memory handler to use new memory pressure notifications on new OS versions.
- <rdar://problem/14027095>
</del><ins>+ * platform/network/ios/QuickLook.h:
+ * platform/network/ios/QuickLook.mm:
+ (WebCore::QuickLookHandle::QuickLookHandle):
+ (WebCore::QuickLookHandle::create):
+ (WebCore::QuickLookHandle::didFail):
+ (WebCore::QuickLookHandle::~QuickLookHandle):
</ins><span class="cx">
</span><del>- Reviewed by Mark Rowe.
</del><ins>+2014-04-09 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- No change in functionality.
</del><ins>+ AX: Bug in AccessibilityNodeObject::helpText
+ https://bugs.webkit.org/show_bug.cgi?id=130386
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * platform/mac/MemoryPressureHandlerMac.mm:
- (WebCore::MemoryPressureHandler::install): Call new API
- * platform/mac/WebCoreSystemInterface.h:
- * platform/mac/WebCoreSystemInterface.mm:
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>-2013-05-30 Rafael Brandao <rafael.lobo@openbossa.org>
</del><ins>+ Test: accessibility/help-text.html
</ins><span class="cx">
</span><del>- Fix double hash lookup in WebSocket::connect loop
- https://bugs.webkit.org/show_bug.cgi?id=117052
</del><ins>+ Ancestor loop was always checking attribute of original node rather than current node.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * accessibility/AccessibilityNodeObject.cpp:
+ (WebCore::AccessibilityNodeObject::helpText):
</ins><span class="cx">
</span><del>- * Modules/websockets/WebSocket.cpp:
- (WebCore::WebSocket::connect):
</del><ins>+2014-04-09 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>-2013-05-30 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ Regression: AX: list heuristics sometimes determined as presentational even when explicit roles applied
+ https://bugs.webkit.org/show_bug.cgi?id=131041
</ins><span class="cx">
</span><del>- Remove some 16bits conversion.
- https://bugs.webkit.org/show_bug.cgi?id=116935
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ When display:table is used on a list item, it inserts RenderObjects that can be ignored as the children
+ of the list. This allows normal list heuristics to be applied.
</ins><span class="cx">
</span><del>- Merge chromium ce35a544d09e6cb907457535340eb0e9984e57b8.
- https://chromium.googlesource.com/chromium/blink/+/ce35a544d09e6cb907457535340eb0e9984e57b8
</del><ins>+ * accessibility/AccessibilityTableCell.cpp:
+ (WebCore::AccessibilityTableCell::computeAccessibilityIsIgnored):
</ins><span class="cx">
</span><del>- * html/parser/InputStreamPreprocessor.h:
- * platform/FileSystem.cpp:
- (WebCore::encodeForFileName):
</del><ins>+2014-04-09 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>-2013-05-30 Anders Carlsson <andersca@apple.com>
</del><ins>+ TileGrid should be PlatformCALayerClient instead of TileController
+ https://bugs.webkit.org/show_bug.cgi?id=131456
+
+ Switch one more place to use removeTiles.
</ins><span class="cx">
</span><del>- REGRESSION (r119759): Adobe Flash Player "smaller" installer relies on the incorrect firing of a load event and needs an app-specific hack for compatibility
- https://bugs.webkit.org/show_bug.cgi?id=117042
- <rdar://problem/13916291>
</del><ins>+ * platform/graphics/ca/mac/TileGrid.mm:
+ (WebCore::TileGrid::revalidateTiles):
</ins><span class="cx">
</span><del>- Reviewed by Mark Rowe.
</del><ins>+2014-04-09 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- Ignore HTTP errors for scripts requested from within the installer. Instead of just checking for the
- Adobe Flash installer, we use the "com.solidstatenetworks.awkhost" bundle identifier to determine
- whether to apply the workaround. This could in theory fix other installers that use the same mechanism.
</del><ins>+ Remove "System Font" from whitelisted DRT fonts and char width calculations
+ https://bugs.webkit.org/show_bug.cgi?id=131411
</ins><span class="cx">
</span><del>- * loader/cache/CachedScript.cpp:
- (WebCore::CachedScript::shouldIgnoreHTTPStatusCodeErrors):
- * loader/cache/CachedScript.h:
- * platform/RuntimeApplicationChecks.cpp:
- (WebCore::applicationIsSolidStateNetworksDownloader):
- * platform/RuntimeApplicationChecks.h:
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>-2013-05-30 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+ Covered by existing tests.
</ins><span class="cx">
</span><del>- Allow no space between "background-position:" dimensions
- https://bugs.webkit.org/show_bug.cgi?id=116870
</del><ins>+ * platform/graphics/Font.cpp:
+ (WebCore::Font::hasValidAverageCharWidth):
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-04-09 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- From Blink r149314 by <ericwilligers@chromium.org>
</del><ins>+ Fullscreen does two view controller changes at once
+ https://bugs.webkit.org/show_bug.cgi?id=131432
</ins><span class="cx">
</span><del>- Specs allow no spaces between the dimensions of a
- "background-position:" like "1px+1px", we should support
- that.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Whitespaces are no longer early consumed, dramatically dropping
- the shift/reduce conflicts to half. The productions unary_term,
- calc_func_term, calc_func_expr and calc_func_paren_expr no longer
- consume whitespaces.
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (WebVideoFullscreenInterfaceAVKit::enterFullscreen):
+ delay -presentViewController on the main run loop to allow
+ previous view controller change to complete.
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
- * css/CSSParser.cpp:
- (WebCore::CSSParser::realLex):
</del><ins>+2014-04-09 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>-2013-05-30 Jer Noble <jer.noble@apple.com>
</del><ins>+ Enable fullscreen captions selection
+ https://bugs.webkit.org/show_bug.cgi?id=131069
</ins><span class="cx">
</span><del>- HTMLMediaElement will not unthrottle page when playback stops for nreasons other than user-initiated pause.
- https://bugs.webkit.org/show_bug.cgi?id=117016
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Oliver Hunt.
</del><ins>+ Enable media selection options from fullscreen. i.e. captions.
</ins><span class="cx">
</span><del>- Add a new class PageActivityAssertionToken to allow HTMLMediaElement to decouple
- knowledge of and control over the lifetime of PageThrottler. The new class will
- have weak references to and from the PageThrottler so that holders of the token
- will not need to care if the Page or PageThrottler has been destroyed.
</del><ins>+ * WebCore.exp.in:
+ Add exports for
+ setAudioMediaSelectionOptions
+ setLegibleMediaSelectionOptions
+ selectAudioMediaOption
+ selectLegibleMediaOption
</ins><span class="cx">
</span><del>- HTMLMediaElement will create one of these PageActivityAssertionTokens when playback
- begins and destroy it when playback stops for any reason, or when the element is
- destroyed.
</del><ins>+ * platform/ios/WebVideoFullscreenInterface.h:
+ Add setAudioMediaSelectionOptions/setLegibleMediaSelectionOptions
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::~HTMLMediaElement):
- (WebCore::HTMLMediaElement::playInternal):
- (WebCore::HTMLMediaElement::pauseInternal):
- (WebCore::HTMLMediaElement::playbackProgressTimerFired):
- (WebCore::HTMLMediaElement::updatePlayState):
- * html/HTMLMediaElement.h:
- * page/Page.cpp:
- (WebCore::createActivityToken): Added simple factory method.
- * page/Page.h:
- * page/PageActivityAssertionToken.cpp:
- (WebCore::PageActivityAssertionToken::PageActivityAssertionToken): Call addActivityToken();
- (WebCore::PageActivityAssertionToken::~PageActivityAssertionToken): Call removeActivityToken();
- (WebCore::PageActivityAssertionToken::invalidate): Clear m_throttler.
- * page/PageActivityAssertionToken.h:
- * page/PageThrottler.cpp:
- (WebCore::PageThrottler::~PageThrottler): Invalidate all outstanding tokens.
- (WebCore::PageThrottler::addActivityToken): Bump the activity count.
- (WebCore::PageThrottler::removeActivityToken): Lower the activity count.
- * page/PageThrottler.h:
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+ Add setAudioMediaSelectionOptions/setLegibleMediaSelectionOptions
</ins><span class="cx">
</span><del>- Add the new files to the various build systems:
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ Add setAudioMediaSelectionOptions/setLegibleMediaSelectionOptions
</ins><span class="cx">
</span><del>-2013-05-29 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ (-[WebAVPlayerController dealloc]):
+ (-[WebAVPlayerController hasMediaSelectionOptions]):
+ (+[WebAVPlayerController keyPathsForValuesAffectingHasMediaSelectionOptions]):
+ (-[WebAVPlayerController hasAudioMediaSelectionOptions]):
+ (+[WebAVPlayerController keyPathsForValuesAffectingHasAudioMediaSelectionOptions]):
+ (-[WebAVPlayerController hasLegibleMediaSelectionOptions]):
+ (+[WebAVPlayerController keyPathsForValuesAffectingHasLegibleMediaSelectionOptions]):
+ (-[WebAVPlayerController currentAudioMediaSelectionOption]):
+ (-[WebAVPlayerController setCurrentAudioMediaSelectionOption:]):
+ (-[WebAVPlayerController currentLegibleMediaSelectionOption]):
+ (-[WebAVPlayerController setCurrentLegibleMediaSelectionOption:]):
+ (WebVideoFullscreenInterfaceAVKit::setAudioMediaSelectionOptions):
+ (WebVideoFullscreenInterfaceAVKit::setLegibleMediaSelectionOptions):
+ * platform/ios/WebVideoFullscreenModel.h:
+ Add selectAudioMediaOption/selectLegibleMediaOption
</ins><span class="cx">
</span><del>- [Mac] Enable cache partitioning and the public suffix list on 10.8
- <rdar://problem/13679019>
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.h:
+ Add selectAudioMediaOption/selectLegibleMediaOption
</ins><span class="cx">
</span><del>- Rubber-stamped by David Kilzer.
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ Add selectAudioMediaOption/selectLegibleMediaOption
</ins><span class="cx">
</span><del>- * Configurations/FeatureDefines.xcconfig:
</del><ins>+ (WebVideoFullscreenModelMediaElement::setMediaElement):
+ Send initial media selection options.
</ins><span class="cx">
</span><del>-2013-05-30 Andreas Kling <akling@apple.com>
</del><ins>+ (WebVideoFullscreenModelMediaElement::selectAudioMediaOption):
+ Will be implemented when audio track slection is implemented.
</ins><span class="cx">
</span><del>- Fix double hash lookup in DocumentEventQueue::cancelEvent().
- <http://webkit.org/b/117031>
</del><ins>+ (WebVideoFullscreenModelMediaElement::selectLegibleMediaOption):
+ Select corresponding text track on HTMLMediaElement.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-04-09 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- * dom/DocumentEventQueue.cpp:
- (WebCore::DocumentEventQueue::cancelEvent):
</del><ins>+ TileGrid should be PlatformCALayerClient instead of TileController
+ https://bugs.webkit.org/show_bug.cgi?id=131456
</ins><span class="cx">
</span><del>-2013-05-30 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Fix double hash lookup in DocumentLoader::removeSubresourceLoader().
- <http://webkit.org/b/117030>
</del><ins>+ The client interface is for the tiles in the grid.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * platform/graphics/ca/mac/TileController.h:
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::setContentsScale):
+ (WebCore::TileController::createTileLayer):
+ (WebCore::TileController::platformCALayerPaintContents): Deleted.
+ (WebCore::TileController::platformCALayerDeviceScaleFactor): Deleted.
+ (WebCore::TileController::platformCALayerShowDebugBorders): Deleted.
+ (WebCore::TileController::platformCALayerShowRepaintCounter): Deleted.
+ (WebCore::TileController::platformCALayerIncrementRepaintCount): Deleted.
+ * platform/graphics/ca/mac/TileGrid.h:
+
+ Move repaint counter to TileGrid too.
</ins><span class="cx">
</span><del>- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::removeSubresourceLoader):
</del><ins>+ * platform/graphics/ca/mac/TileGrid.mm:
+ (WebCore::TileGrid::removeTiles):
+ (WebCore::TileGrid::removeAllSecondaryTiles):
+ (WebCore::TileGrid::removeTilesInCohort):
+
+ Cleaned up tile removal.
</ins><span class="cx">
</span><del>-2013-05-30 Andreas Kling <akling@apple.com>
</del><ins>+ (WebCore::TileGrid::revalidateTiles):
+ (WebCore::TileGrid::ensureTilesForRect):
+ (WebCore::TileGrid::platformCALayerPaintContents):
+ (WebCore::TileGrid::platformCALayerDeviceScaleFactor):
+ (WebCore::TileGrid::platformCALayerShowDebugBorders):
+ (WebCore::TileGrid::platformCALayerShowRepaintCounter):
+ (WebCore::TileGrid::platformCALayerContentsOpaque):
+ (WebCore::TileGrid::platformCALayerIncrementRepaintCount):
+ (WebCore::queueTileForRemoval): Deleted.
</ins><span class="cx">
</span><del>- Fix double hash lookup in RenderView::repaintSelection() loop.
- <http://webkit.org/b/117029>
</del><ins>+2014-04-09 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Rename some dragging functions
+ https://bugs.webkit.org/show_bug.cgi?id=131460
</ins><span class="cx">
</span><del>- * rendering/RenderView.cpp:
- (WebCore::RenderView::repaintSelection):
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>-2013-05-30 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ Renamed performDrag to performDragOperation. This function is responsible for
+ accepting a drop, not for the whole drag.
</ins><span class="cx">
</span><del>- CURL: Incorrect stripping of query from file URL
- https://bugs.webkit.org/show_bug.cgi?id=104307
</del><ins>+ The new name is not perfect either, but I think that it's better, and at least
+ it matches AppKit, like the other dragging destination functions already do.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * WebCore.exp.in:
+ * page/DragController.cpp:
+ (WebCore::DragController::performDragOperation):
+ (WebCore::DragController::performDrag): Deleted.
+ * page/DragController.h:
</ins><span class="cx">
</span><del>- Clear the query part of the file URL if there is any.
</del><ins>+2014-04-08 Samuel White <samuel_white@apple.com>
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::ResourceHandleManager::initializeHandle):
</del><ins>+ AX: Initial text selection point should respect element focus.
+ https://bugs.webkit.org/show_bug.cgi?id=131402
</ins><span class="cx">
</span><del>-2013-05-30 Antti Koivisto <antti@apple.com>
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Separate generic font family settings to a class
- https://bugs.webkit.org/show_bug.cgi?id=117027
</del><ins>+ Support the case where we want to set the initial selection and there's already a focused element.
</ins><span class="cx">
</span><ins>+ No new tests, updated existing selection-initial to test this functionality.
+
+ * page/EventHandler.cpp:
+ (WebCore::setKeyboardSelection):
+ (WebCore::handleKeyboardSelectionMovement):
+
+2014-04-09 Ryosuke Niwa <rniwa@webkit.org>
+
+ HTMLCollection::updateNamedElementCach iterates over items twice
+ https://bugs.webkit.org/show_bug.cgi?id=131448
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- The new class is under platform/ and can be accessed by the font code directly without platform violations.
</del><ins>+ Compute the length first and go through the cache interface to traverse through items.
</ins><span class="cx">
</span><del>- * WebCore.xcodeproj/project.pbxproj:
- * page/Settings.cpp:
- (WebCore::invalidateAfterGenericFamilyChange):
- (WebCore::Settings::Settings):
- (WebCore::Settings::~Settings):
- (WebCore::Settings::create):
- (WebCore::Settings::standardFontFamily):
- (WebCore::Settings::setStandardFontFamily):
- (WebCore::Settings::fixedFontFamily):
- (WebCore::Settings::setFixedFontFamily):
- (WebCore::Settings::serifFontFamily):
- (WebCore::Settings::setSerifFontFamily):
- (WebCore::Settings::sansSerifFontFamily):
- (WebCore::Settings::setSansSerifFontFamily):
- (WebCore::Settings::cursiveFontFamily):
- (WebCore::Settings::setCursiveFontFamily):
- (WebCore::Settings::fantasyFontFamily):
- (WebCore::Settings::setFantasyFontFamily):
- (WebCore::Settings::pictographFontFamily):
- (WebCore::Settings::setPictographFontFamily):
- * page/Settings.h:
- * platform/graphics/FontGenericFamilies.cpp: Added.
- (WebCore::setGenericFontFamilyForScript):
- (WebCore::genericFontFamilyForScript):
- (WebCore::FontGenericFamilies::FontGenericFamilies):
- (WebCore::FontGenericFamilies::standardFontFamily):
- (WebCore::FontGenericFamilies::fixedFontFamily):
- (WebCore::FontGenericFamilies::serifFontFamily):
- (WebCore::FontGenericFamilies::sansSerifFontFamily):
- (WebCore::FontGenericFamilies::cursiveFontFamily):
- (WebCore::FontGenericFamilies::fantasyFontFamily):
- (WebCore::FontGenericFamilies::pictographFontFamily):
- (WebCore::FontGenericFamilies::setStandardFontFamily):
- (WebCore::FontGenericFamilies::setFixedFontFamily):
- (WebCore::FontGenericFamilies::setSerifFontFamily):
- (WebCore::FontGenericFamilies::setSansSerifFontFamily):
- (WebCore::FontGenericFamilies::setCursiveFontFamily):
- (WebCore::FontGenericFamilies::setFantasyFontFamily):
- (WebCore::FontGenericFamilies::setPictographFontFamily):
- * platform/graphics/FontGenericFamilies.h: Added.
- (WebCore::UScriptCodeHashTraits::emptyValue):
- (WebCore::UScriptCodeHashTraits::constructDeletedValue):
- (WebCore::UScriptCodeHashTraits::isDeletedValue):
- (WebCore::FontGenericFamilies::create):
</del><ins>+ * html/HTMLCollection.cpp:
+ (WebCore::HTMLCollection::updateNamedElementCache):
</ins><span class="cx">
</span><del>-2013-05-30 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-09 Brendan Long <b.long@cablelabs.com>
</ins><span class="cx">
</span><del>- Avoid using CSSOM style declarations in HTML editing.
- <http://webkit.org/b/117019>
</del><ins>+ [GStreamer] Expose MPEG-TS metadata
+ https://bugs.webkit.org/show_bug.cgi?id=122001
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Convert the editing code to use ComputedStyleExtractor instead of instantiating CSSOM wrappers.
</del><ins>+ Test: media/track/in-band/track-in-band-mpegts-metadata.html
</ins><span class="cx">
</span><del>- * css/CSSComputedStyleDeclaration.h:
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::ComputedStyleExtractor::getFontSizeCSSValuePreferringKeyword):
- (WebCore::ComputedStyleExtractor::useFixedFontDefaultSize):
- (WebCore::ComputedStyleExtractor::propertyMatches):
- (WebCore::ComputedStyleExtractor::copyProperties):
- (WebCore::ComputedStyleExtractor::copyPropertiesInSet):
</del><ins>+ * CMakeLists.txt: Add InbandDataTextTrack.
+ * PlatformGTK.cmake: Look for gstreamer-mpegts and use it if available.
+ * WebCore.vcxproj/WebCore.vcxproj: Add InbandDataTextTrack.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: Same.
+ * WebCore.xcodeproj/project.pbxproj: Same.
+ * html/track/DataCue.cpp:
+ (WebCore::DataCue::DataCue): Add a constructor using raw data.
+ * html/track/DataCue.h:
+ (WebCore::DataCue::create): Same.
+ * html/track/InbandDataTextTrack.cpp: Added, InbandTextTrack which implements addDataCue().
+ * html/track/InbandDataTextTrack.h:
+ * html/track/InbandGenericTextTrack.h: Move unimplemented methods to InbandTextTrack.
+ * html/track/InbandWebVTTTextTrack.h: Same.
+ * html/track/InbandTextTrack.h: Same, and add inBandMetadataTrackDispatchType.
+ * html/track/InbandTextTrack.cpp:
+ (WebCore::InbandTextTrack::create): Add constructor for InbandDataTextTrack.
+ (WebCore::InbandTextTrack::inBandMetadataTrackDispatchType): Added.
+ * html/track/TextTrack.h:
+ (WebCore::TextTrack::inBandMetadataTrackDispatchType): Added (empty).
+ * html/track/TextTrack.idl: Add inBandMetadataTrackDispatchType.
+ * platform/graphics/InbandTextTrackPrivate.h: Add inBandMetadataTrackDispatchType and Data format.
+ (WebCore::InbandTextTrackPrivate::inBandMetadataTrackDispatchType):
+ * platform/graphics/InbandTextTrackPrivateClient.h: Add addDataCue() method.
+ * platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h:
+ (WebCore::InbandMetadataTextTrackPrivateGStreamer::create): Allow specifying the cue format and id.
+ (WebCore::InbandMetadataTextTrackPrivateGStreamer::InbandMetadataTextTrackPrivateGStreamer): Same.
+ (WebCore::InbandMetadataTextTrackPrivateGStreamer::setInBandMetadataTrackDispatchType): Added.
+ (WebCore::InbandMetadataTextTrackPrivateGStreamer::addDataCue): Added.
+ (WebCore::InbandMetadataTextTrackPrivateGStreamer::addGenericCue): Added.
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::handleMessage): Check for MPEG-TS sections.
+ (WebCore::MediaPlayerPrivateGStreamer::processMpegTsSection): Add MPEG-TS section metadata, and get inBandMetadataTrackDispatchType from the PMT.
+ (WebCore::MediaPlayerPrivateGStreamer::processTableOfContents): Explicitly use Generic CueFormat.
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
</ins><span class="cx">
</span><del>- Moved here from CSSComputedStyleDeclaration. These methods are used by HTML editing.
</del><ins>+2014-04-08 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::CSSComputedStyleDeclaration::copyProperties):
</del><ins>+ AX: Make AXPress much more reliable on the Web
+ https://bugs.webkit.org/show_bug.cgi?id=131426
</ins><span class="cx">
</span><del>- Reimplemented to call ComputedStyleExtractor.
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- * css/CSSStyleDeclaration.h:
- * css/PropertySetCSSStyleDeclaration.h:
- * css/PropertySetCSSStyleDeclaration.cpp:
- (WebCore::PropertySetCSSStyleDeclaration::copyProperties):
</del><ins>+ AXPress fails when an event handler is on a node higher in the parent chain than the focused node.
</ins><span class="cx">
</span><del>- Removed CSSStyleDeclaration::cssPropertyMatches(), the remaining code lives in
- ComputedStyleExtractor::propertyMatches() and is only used by HTML editing.
</del><ins>+ We need to make AXPress more reliable by
+ 1) Using the element that is focused as the target of the event
+ 2) Search for the inner most control object when dispatching the event
</ins><span class="cx">
</span><del>- * css/StylePropertySet.h:
- * css/StylePropertySet.cpp:
- (WebCore::MutableStylePropertySet::removeEquivalentProperties):
</del><ins>+ Updated existing accessibility/press-works-on-control-types.html
</ins><span class="cx">
</span><del>- Added an overload that takes a ComputedStyleExtractor.
- This code should move into EditingStyle.cpp, material for a follow-up patch.
</del><ins>+ * accessibility/AccessibilityMenuList.cpp:
+ (WebCore::AccessibilityMenuList::press):
+ * accessibility/AccessibilityMenuList.h:
+ * accessibility/AccessibilityMenuListPopup.cpp:
+ (WebCore::AccessibilityMenuListPopup::press):
+ * accessibility/AccessibilityMenuListPopup.h:
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::press):
+ * accessibility/AccessibilityObject.h:
+ (WebCore::AccessibilityObject::performDefaultAction):
+ * accessibility/AccessibilitySearchFieldButtons.cpp:
+ (WebCore::AccessibilitySearchFieldCancelButton::press):
+ * accessibility/AccessibilitySearchFieldButtons.h:
+ * accessibility/AccessibilitySpinButton.cpp:
+ (WebCore::AccessibilitySpinButtonPart::press):
+ * accessibility/AccessibilitySpinButton.h:
</ins><span class="cx">
</span><del>- * editing/ApplyStyleCommand.cpp:
- (WebCore::toIdentifier):
</del><ins>+2014-04-09 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- Add a file-local helper for yanking the identifier value (if any) out of a CSSPrimitiveValue.
</del><ins>+ ContentFilterMac is broken when NE_FILTER_SOURCE is enabled.
+ <rdar://problem/15978793> and https://bugs.webkit.org/show_bug.cgi?id=131445
</ins><span class="cx">
</span><del>- (WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi):
- (WebCore::ApplyStyleCommand::removeEmbeddingUpToEnclosingBlock):
- (WebCore::highestEmbeddingAncestor):
- * editing/EditingStyle.h:
- * editing/EditingStyle.cpp:
- (WebCore::editingStyleFromComputedStyle):
- (WebCore::extractPropertyValue):
- (WebCore::identifierForStyleProperty):
- (WebCore::textColorFromStyle):
- (WebCore::backgroundColorFromStyle):
- (WebCore::EditingStyle::init):
- (WebCore::EditingStyle::removeStyleAddedByNode):
- (WebCore::EditingStyle::removeStyleConflictingWithStyleOfNode):
- (WebCore::EditingStyle::triStateOfStyle):
- (WebCore::EditingStyle::styleIsPresentInComputedStyleOfNode):
- (WebCore::EditingStyle::removeStyleFromRulesAndContext):
- (WebCore::StyleChange::StyleChange):
- (WebCore::fontWeightIsBold):
- (WebCore::extractPropertiesNotIn):
- (WebCore::getPropertiesNotIn):
</del><ins>+ Reviewed by Andy Estes.
</ins><span class="cx">
</span><del>- Use ComputedStyleExtractor instead of CSSComputedStyleDeclaration in all of this code.
- Templatized a bunch of the code so we don't have to repeat ourselves for both StylePropertySet
- and ComputedStyleExtractor inputs.
</del><ins>+ No new tests (Not a tested feature).
</ins><span class="cx">
</span><del>-2013-05-30 Roland Takacs <rtakacs@inf.u-szeged.hu>
</del><ins>+ * platform/mac/ContentFilterMac.mm:
+ (WebCore::ContentFilter::needsMoreData): Only consider m_neFilterSourceStatus if m_neFilterSource exists.
+ (WebCore::ContentFilter::didBlockData): Ditto.
</ins><span class="cx">
</span><del>- Remove "hidden"=true from Inspector.json
- https://bugs.webkit.org/show_bug.cgi?id=114116
</del><ins>+2014-04-08 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Timothy Hatcher.
</del><ins>+ Rewrite Function.bind as a builtin
+ https://bugs.webkit.org/show_bug.cgi?id=131083
</ins><span class="cx">
</span><del>- Remove "hidden"=true because it's a Chromium concept.
- Patch created by Timothy Hatcher.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- * inspector/Inspector.json:
</del><ins>+ Switch WebCore to use the helper functions when defining the
+ prototype properties on DOM constructors, and update bindings
+ tests accordingly.
</ins><span class="cx">
</span><del>-2013-05-30 Kondapally Kalyan <kalyan.kondapally@intel.com>
</del><ins>+ * bindings/js/JSImageConstructor.cpp:
+ (WebCore::JSImageConstructor::finishCreation):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateConstructorHelperMethods):
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ (WebCore::JSTestActiveDOMObjectConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ (WebCore::JSTestCustomNamedGetterConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+ (WebCore::JSTestEventConstructorConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::JSTestEventTargetConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ (WebCore::JSTestExceptionConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
+ (WebCore::JSTestGenerateIsReachableConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::JSTestInterfaceConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+ (WebCore::JSTestMediaQueryListListenerConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
+ (WebCore::JSTestNamedConstructorConstructor::finishCreation):
+ (WebCore::JSTestNamedConstructorNamedConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestNode.cpp:
+ (WebCore::JSTestNodeConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::JSTestObjConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
+ (WebCore::JSTestOverloadedConstructorsConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ (WebCore::JSTestSerializedScriptValueInterfaceConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::JSTestTypedefsConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSattribute.cpp:
+ (WebCore::JSattributeConstructor::finishCreation):
+ * bindings/scripts/test/JS/JSreadonly.cpp:
+ (WebCore::JSreadonlyConstructor::finishCreation):
</ins><span class="cx">
</span><del>- [EFL][EGL] Implement TransportSurface client.
- https://bugs.webkit.org/show_bug.cgi?id=114122
</del><ins>+2014-04-09 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Kenneth Rohde Christiansen.
</del><ins>+ Unreviewed iOS build fix. Replacing deprecated enum with AVPlayerViewControllerExitFullScreenReason.
</ins><span class="cx">
</span><del>- Covered by existing WebGL tests.
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVPlayerController playerViewController:shouldDismissWithReason:]):
</ins><span class="cx">
</span><del>- This patch implements the client support for Transport
- Surface with EGL backend using GLES2.
</del><ins>+2014-04-09 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- * platform/graphics/surfaces/efl/GLTransportSurface.cpp:
- (WebCore::GLTransportSurfaceClient::createTransportSurfaceClient):
- (WebCore::GLTransportSurfaceClient::GLTransportSurfaceClient):
- * platform/graphics/surfaces/efl/GLTransportSurface.h:
- (GLTransportSurfaceClient):
- * platform/graphics/surfaces/efl/GraphicsSurfaceCommon.cpp:
- (WebCore::GraphicsSurfacePrivate::initializeClient):
- * platform/graphics/surfaces/egl/EGLConfigSelector.cpp:
- (WebCore):
- (WebCore::EGLConfigSelector::surfaceClientConfig):
- (WebCore::EGLConfigSelector::findMatchingConfigWithVisualId):
- * platform/graphics/surfaces/egl/EGLConfigSelector.h:
- (WebCore):
- (EGLConfigSelector):
</del><ins>+ [CSS Regions] Monolithic elements should not affect the layout of the content outside its region
+ https://bugs.webkit.org/show_bug.cgi?id=130499
</ins><span class="cx">
</span><del>- Support for retrieving valid EGLConfig on client side.
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- * platform/graphics/surfaces/egl/EGLHelper.cpp:
- (WebCore):
- (WebCore::resolveDisplay):
- (WebCore::EGLHelper::resolveEGLBindings):
- (WebCore::EGLHelper::createEGLImage):
- (WebCore::EGLHelper::destroyEGLImage):
- (WebCore::EGLHelper::imageTargetTexture2DOES):
- * platform/graphics/surfaces/egl/EGLHelper.h:
</del><ins>+ When performing layout on an element flowed into regions, its logical height must not be incremented
+ past the region's logical bottom for monolithic elements in regions different than the last region their containing
+ block is fragmented into. This ensures that the following elements are correctly laid out
+ from the top of the next region.
+ This change must also be applied to floats in order to prevent text from avoiding part
+ of a float that did not actually made it into the current region, but instead overflowed
+ the previous one.
</ins><span class="cx">
</span><del>- Helper functions to create and destroy EGLImage.
</del><ins>+ Tests: fast/regions/fragmentation-after-float-overflow-single-region.html
+ fast/regions/fragmentation-after-monolithic-overflow-self-collapsed.html
+ fast/regions/fragmentation-after-monolithic-overflow-single-region.html
+ fast/regions/fragmentation-after-monolithic-overflow.html
</ins><span class="cx">
</span><del>- * platform/graphics/surfaces/egl/EGLXSurface.cpp:
- (WebCore::EGLXTransportSurfaceClient::EGLXTransportSurfaceClient):
- (WebCore):
- (WebCore::EGLXTransportSurfaceClient::~EGLXTransportSurfaceClient):
- (WebCore::EGLXTransportSurfaceClient::destroy):
- (WebCore::EGLXTransportSurfaceClient::prepareTexture):
- (WebCore::EGLTextureFromPixmap::EGLTextureFromPixmap):
- (WebCore::EGLTextureFromPixmap::~EGLTextureFromPixmap):
- (WebCore::EGLTextureFromPixmap::destroy):
- (WebCore::EGLTextureFromPixmap::isValid):
- (WebCore::EGLTextureFromPixmap::bindTexImage):
- (WebCore::EGLTextureFromPixmap::reBindTexImage):
- * platform/graphics/surfaces/egl/EGLXSurface.h:
- (EGLXTransportSurfaceClient):
</del><ins>+ * rendering/FloatingObjects.cpp:
+ (WebCore::FloatingObjects::computePlacedFloatsTree):
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::layoutBlockChild):
+ (WebCore::RenderBlockFlow::adjustBlockChildForPagination):
+ (WebCore::RenderBlockFlow::lowestFloatLogicalBottom):
+ (WebCore::RenderBlockFlow::getClearDelta):
+ (WebCore::RenderBlockFlow::applyAfterBreak): Deleted.
+ (WebCore::RenderBlockFlow::nextFloatLogicalBottomBelow): Deleted.
+ (WebCore::RenderBlockFlow::nextFloatLogicalBottomBelowForBlock): Deleted.
+ (WebCore::RenderBlockFlow::flipFloatForWritingModeForChild): Deleted.
+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::isBoxInDifferentRegionsAsFloat):
+ * rendering/RenderFlowThread.h:
</ins><span class="cx">
</span><del>- TransportSurfaceClient implementation.
</del><ins>+2014-04-09 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- (WebCore):
- * platform/graphics/surfaces/glx/GLXSurface.cpp:
- (WebCore::GLXTransportSurfaceClient::GLXTransportSurfaceClient):
- * platform/graphics/surfaces/glx/GLXSurface.h:
- (GLXTransportSurfaceClient):
- * platform/graphics/surfaces/glx/X11Helper.cpp:
- (WebCore::X11Helper::createOffScreenWindow):
- (WebCore):
- (WebCore::X11Helper::createPixmap):
- * platform/graphics/surfaces/glx/X11Helper.h:
- (X11Helper):
</del><ins>+ Use std::array in AffineTransform, and get rid of setMatrix
+ https://bugs.webkit.org/show_bug.cgi?id=131416
</ins><span class="cx">
</span><del>-2013-05-30 Mike West <mkwst@chromium.org>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Rename 'KURL::elidedString' and inspector's 'String.prototype.trimMiddle' for clarity.
- https://bugs.webkit.org/show_bug.cgi?id=111700
</del><ins>+ * platform/graphics/transforms/AffineTransform.cpp:
+ (WebCore::AffineTransform::AffineTransform):
+ (WebCore::AffineTransform::multiply):
+ * platform/graphics/transforms/AffineTransform.h:
+ (WebCore::AffineTransform::setMatrix): Deleted.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-04-09 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- Darin suggested that 'KURL::elidedString' is inaccurately named[1], this
- patch is an attempt to do better. It additionally brings the Inspector's
- 'String.prototype.trimMiddle' method into line, as the two methods do
- more or less the same thing.
</del><ins>+ [GTK] Plugin process crashes when loading totem plugin
+ https://bugs.webkit.org/show_bug.cgi?id=131357
</ins><span class="cx">
</span><del>- After a bit of discussion with Maciej and Daniel Bates on IRC, I've
- settled on 'KURL::stringCenterEllipsizedToLength(unsigned)' and
- 'String.prototype.centerEllipsizedToLength(number)' respectively.
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- No new tests are added, as this patch shouldn't have any visible effect
- on the web. It's strictly an internal refactoring.
</del><ins>+ Remove netscape plugin implementation from WebCore that was only
+ used by WebKit1. This removes the conflict between the WebCore NPN
+ symbols and the ones used by the plugins.
</ins><span class="cx">
</span><del>- * Modules/websockets/WebSocket.cpp:
- (WebCore::WebSocket::connect):
- (WebCore::WebSocket::send):
- * Modules/websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::send):
- (WebCore::WebSocketChannel::fail):
- * bindings/ScriptControllerBase.cpp:
- (WebCore::ScriptController::canExecuteScripts):
- * dom/Document.cpp:
- (WebCore::Document::processHttpEquiv):
- * dom/ScriptElement.cpp:
- (WebCore::ScriptElement::executeScript):
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::canPlayType):
- (WebCore::HTMLMediaElement::isSafeToLoadURL):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::submitForm):
- (WebCore::FrameLoader::loadFrameRequest):
- (WebCore::FrameLoader::commitProvisionalLoad):
- (WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):
- (WebCore::FrameLoader::loadProvisionalItemFromCachedPage):
- (WebCore::createWindow):
- * loader/MainResourceLoader.cpp:
- (WebCore::MainResourceLoader::willSendRequest):
- (WebCore::MainResourceLoader::responseReceived):
- * loader/MixedContentChecker.cpp:
- (WebCore::MixedContentChecker::logWarning):
- * loader/appcache/ApplicationCacheGroup.cpp:
- (WebCore::ApplicationCacheGroup::didReceiveResponse):
- (WebCore::ApplicationCacheGroup::didFail):
- * loader/cache/CachedResourceLoader.cpp:
- (WebCore::CachedResourceLoader::canRequest):
- (WebCore::CachedResourceLoader::requestResource):
- (WebCore::CachedResourceLoader::loadResource):
- (WebCore::CachedResourceLoader::printAccessDeniedMessage):
- * page/ContentSecurityPolicy.cpp:
- (WebCore::CSPDirectiveList::checkSourceAndReportViolation):
- (WebCore::CSPDirectiveList::allowScriptNonce):
- (WebCore::CSPDirectiveList::allowPluginType):
- * platform/KURL.cpp:
- (WebCore::KURL::stringCenterEllipsizedToLength):
- * platform/KURL.h:
- Rename 'KURL::elidedString' to 'KURL::stringCenterEllipsizedToLength',
- and adjust callsites accordingly.
- * inspector/front-end/CallStackSidebarPane.js:
- (WebInspector.CallStackSidebarPane.Placard.prototype._update):
- * inspector/front-end/ElementsTreeOutline.js:
- (WebInspector.ElementsTreeElement.prototype._buildAttributeDOM):
- * inspector/front-end/HeapSnapshotGridNodes.js:
- (WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL):
- * inspector/front-end/Linkifier.js:
- (WebInspector.Linkifier.DefaultFormatter.prototype.formatLiveAnchor):
- * inspector/front-end/ResourceUtils.js:
- (WebInspector.linkifyURLAsNode):
- * inspector/front-end/TabbedEditorContainer.js:
- (WebInspector.TabbedEditorContainer.prototype._titleForFile):
- * inspector/front-end/utilities.js:
- Rename 'String.prototype.trimMiddle' to 'String.prototype.centerEllipsizedToLength'
- and adjust callsites accordingly.
</del><ins>+ * CMakeLists.txt:
+ * PlatformEfl.cmake:
+ * PlatformGTK.cmake:
+ * PlatformWin.cmake:
+ * plugins/PluginViewNone.cpp:
+ * plugins/gtk/PluginPackageGtk.cpp: Removed.
+ * plugins/gtk/PluginViewGtk.cpp: Removed.
+ * plugins/gtk/gtk2xtbin.c: Removed.
+ * plugins/gtk/gtk2xtbin.h: Removed.
+ * plugins/gtk/xembed.h: Removed.
</ins><span class="cx">
</span><del>-2013-05-30 Antti Koivisto <antti@apple.com>
</del><ins>+2014-04-09 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- Rename FontFallbackList.cpp/h to FontGlyphs.cpp/h
- https://bugs.webkit.org/show_bug.cgi?id=117022
</del><ins>+ fullscreen controls first show a play button instead of a pause button
+ https://bugs.webkit.org/show_bug.cgi?id=131430
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Rename to match the class name.
</del><ins>+ isPlaying() is false while buffering, paused() isn't; use paused() for
+ the play button.
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ (WebVideoFullscreenModelMediaElement::setMediaElement):
+ (WebVideoFullscreenModelMediaElement::handleEvent):
+ Use HTMLMediaElement::paused() instead of HTMLMediaElement::isPlaying()
+
+2014-04-09 Eva Balazsfalvi <evab.u-szeged@partner.samsung.com>
+
+ Remove duplicated files and unnecessary conditions from UseJSC.cmake
+ https://bugs.webkit.org/show_bug.cgi?id=131438
+
+ Reviewed by Csaba Osztrogonác.
+
+ No new tests required.
+
+ * UseJSC.cmake:
+
+2014-04-09 Mario Sanchez Prada <mario.prada@samsung.com>
+
+ [GTK] Layout tests accessibility/children-changed-sends-notification.html and accessibility/notification-listeners.html fails
+ https://bugs.webkit.org/show_bug.cgi?id=131380
+
+ Reviewed by Chris Fleizach.
+
+ Don't emit signals for added objects that we know won't be exposed
+ to the accessibility hierarchy (e.g. static text).
+
+ * accessibility/atk/AXObjectCacheAtk.cpp:
+ (WebCore::AXObjectCache::attachWrapper): Add extra check and early return.
+
+2014-04-09 Mario Sanchez Prada <mario.prada@samsung.com>
+
+ [AX][GTK] No new lines in some AX tests output
+ https://bugs.webkit.org/show_bug.cgi?id=131294
+
+ Reviewed by Martin Robinson.
+
+ Do not implement Hypetext or AtkText for the WebArea. Those
+ interfaces will be implemented by the containers (automatically
+ generated or not) for the different parts of the DOM and the
+ render subtree under this element anyway.
+
+ * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
+ (getInterfaceMaskFromObject): Make sure we don't apply
+ WAIHypertext nor WAIText to objects with role WebAreaRole.
+
+2014-04-08 Conrad Shultz <conrad_shultz@apple.com>
+
+ nil should only be used for objects
+ https://bugs.webkit.org/show_bug.cgi?id=131431
+
+ Reviewed by Chris Fleizach.
+
+ * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+ (-[WebAccessibilityObjectWrapper accessibilityIsAttributeSettable:]):
+ nil -> NO.
+
+ * platform/mac/WebVideoFullscreenController.mm:
+ (-[WebVideoFullscreenController setMediaElement:]):
+ nil -> 0; change a NULL to nullptr while we're here.
+
+2014-04-08 Mihnea Ovidenie <mihnea@adobe.com>
+
+ [CSSRegions] Crash when video in region exits fullscreen
+ https://bugs.webkit.org/show_bug.cgi?id=131366
+
+ Reviewed by Andrei Bucur.
+
+ After fix for https://bugs.webkit.org/show_bug.cgi?id=130392, we compute the region ranges
+ information for inline elements collected in named flows with associated region chains.
+ The algorithm for this computation, implemented in RenderFlowThread::getRegionRangeForBox,
+ walks up the render tree trying to find the top-most unsplittable box under the named flow
+ in the case where the region ranges information is not available.
+
+ As this traversal works properly only when the starting box is not detached from the render tree,
+ i changed the named flow information clearing in RenderBlock::collapseAnonymousBoxChild
+ to occur before the child to be collapsed is removed from the render tree.
+
+ Test: fast/regions/full-screen-video-in-region-crash.html
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::collapseAnonymousBoxChild):
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::getRegionRangeForBox):
+
+2014-04-08 Chris Fleizach <cfleizach@apple.com>
+
+ Unreviewed build fix for iOS (redux).
+
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper accessibilityARIAIsBusy]):
+ (-[WebAccessibilityObjectWrapper accessibilityARIALiveRegionIsAtomic]):
+
+2014-04-08 Chris Fleizach <cfleizach@apple.com>
+
+ Unreviewed build fix for iOS.
+
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper accessibilityElementCount]):
+
+2014-04-08 Antti Koivisto <antti@apple.com>
+
+ Factor tile coverage map into a class
+ https://bugs.webkit.org/show_bug.cgi?id=131417
+
+ Reviewed by Tim Horton.
+
</ins><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * platform/graphics/Font.h:
- * platform/graphics/FontCache.cpp:
- * platform/graphics/FontFallbackList.cpp: Removed.
- * platform/graphics/FontFallbackList.h: Removed.
- * platform/graphics/FontFastPath.cpp:
- * platform/graphics/FontGlyphs.cpp: Copied from Source/WebCore/platform/graphics/FontFallbackList.cpp.
- * platform/graphics/FontGlyphs.h: Copied from Source/WebCore/platform/graphics/FontFallbackList.h.
- * platform/graphics/mac/FontComplexTextMac.cpp:
</del><ins>+ * platform/graphics/ca/PlatformCALayerClient.h:
+ (WebCore::PlatformCALayerClient::platformCALayerLayoutSublayersOfLayer):
+ (WebCore::PlatformCALayerClient::platformCALayerRespondsToLayoutChanges):
+ (WebCore::PlatformCALayerClient::platformCALayerAnimationStarted):
+ (WebCore::PlatformCALayerClient::platformCALayerContentsOrientation):
+ (WebCore::PlatformCALayerClient::platformCALayerShowDebugBorders):
+ (WebCore::PlatformCALayerClient::platformCALayerShowRepaintCounter):
+ (WebCore::PlatformCALayerClient::platformCALayerIncrementRepaintCount):
+ (WebCore::PlatformCALayerClient::platformCALayerLayerDidDisplay):
+
+ Added default implementation to some of these to make clients less messy.
</ins><span class="cx">
</span><del>-2013-05-30 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * platform/graphics/ca/mac/TileController.h:
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::~TileController):
+ (WebCore::TileController::platformCALayerPaintContents):
+ (WebCore::TileController::setTiledScrollingIndicatorPosition):
+ (WebCore::TileController::updateTileCoverageMap):
+ (WebCore::TileController::tiledScrollingIndicatorLayer):
+ * platform/graphics/ca/mac/TileCoverageMap.h: Added.
+ (WebCore::TileCoverageMap::setPosition):
+ (WebCore::TileCoverageMap::layer):
+ * platform/graphics/ca/mac/TileCoverageMap.mm: Added.
+
+ The new class.
</ins><span class="cx">
</span><del>- Get rid of Position::computedStyle
- https://bugs.webkit.org/show_bug.cgi?id=117024
</del><ins>+ (WebCore::TileCoverageMap::TileCoverageMap):
+ (WebCore::TileCoverageMap::~TileCoverageMap):
+ (WebCore::TileCoverageMap::update):
+ (WebCore::TileCoverageMap::platformCALayerPaintContents):
+ (WebCore::TileCoverageMap::platformCALayerDeviceScaleFactor):
+ * platform/graphics/ca/mac/TileGrid.h:
+ * platform/graphics/ca/mac/TileGrid.mm:
+ (WebCore::TileGrid::drawTileMapContents):
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-04-08 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Removed the function.
</del><ins>+ Subpixel rendering: Clip outer rounded border rect on device pixel boundaries.
+ https://bugs.webkit.org/show_bug.cgi?id=131404
</ins><span class="cx">
</span><del>- * dom/Position.cpp:
- * dom/Position.h:
- * editing/ApplyStyleCommand.cpp:
- (WebCore::ApplyStyleCommand::positionToComputeInlineStyleChange): We need a position
- inside the dummy element since we'll get the containing element's style instead
- if we had the position before the dummy element.
- * editing/EditingStyle.cpp:
- (WebCore::StyleChange::StyleChange):
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-30 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ Use device pixel snapped rectangle to clip out rounded rects, when not all sides are solid/double.
+ Snapping it to device pixel boundaries ensures that when we call drawRect(devicePixelSnappedRect) later,
+ it leaves no cruft behind.
</ins><span class="cx">
</span><del>- Remove obsolete forward declaration from InspectorFrontendHost.h
- https://bugs.webkit.org/show_bug.cgi?id=117017
</del><ins>+ Test: fast/borders/hidpi-rounded-border-on-subpixel-position.html
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro.
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintBorder):
</ins><span class="cx">
</span><del>- Remove obsolete forward declaration and fix style issue as well.
</del><ins>+2014-04-08 Jon Lee <jonlee@apple.com>
</ins><span class="cx">
</span><del>- No change in behavior, no new tests.
</del><ins>+ Turn MSE on by default
+ https://bugs.webkit.org/show_bug.cgi?id=131313
+ <rdar://problem/16525223>
</ins><span class="cx">
</span><del>- * inspector/InspectorFrontendHost.h:
- (WebCore):
- (InspectorFrontendHost):
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>-2013-05-29 Tim Horton <timothy_horton@apple.com>
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
+ * page/Settings.in: Add MEDIA_SOURCE conditional.
</ins><span class="cx">
</span><del>- Expose incrementalRenderingSuppressionTimeout via WK2
- https://bugs.webkit.org/show_bug.cgi?id=117015
- <rdar://problem/13992853>
</del><ins>+2014-04-08 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><ins>+ Remove an unused parameter from loadResource.
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::setVisualUpdatesAllowed):
- Inform the FrameLoader that we're ready to transition the page, if
- nothing else already has. This will be forwarded to the FrameLoaderClient,
- and WebKit2's implementation will go ahead and un-freeze the layer tree,
- so that the incremental rendering suppression watchdog timer actually works.
</del><ins>+ Since the CachedResourceRequest has the charset in it, we don't need to pass it separately to loadRequest.
</ins><span class="cx">
</span><del>- (WebCore::Document::setVisualUpdatesAllowedByClient):
- Make incremental rendering suppression extension tokens play nice with the
- watchdog timer; allow setVisualUpdatesAllowedByClient=true to re-enable updates
- if either the page is in the "completed" state or the watchdog has already fired.
</del><ins>+ * loader/cache/CachedResourceLoader.cpp:
+ (WebCore::CachedResourceLoader::requestResource):
+ (WebCore::CachedResourceLoader::loadResource):
+ * loader/cache/CachedResourceLoader.h:
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp:
- * loader/FrameLoader.h:
- (WebCore::FrameLoader::forcePageTransitionIfNeeded): Added.
- Forward to the client.
</del><ins>+2014-04-08 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- * loader/FrameLoaderClient.h:
- (WebCore::FrameLoaderClient::forcePageTransitionIfNeeded): Added.
</del><ins>+ Unreviewed EFL build fix attempt since r166956
</ins><span class="cx">
</span><del>-2013-05-29 Praveen R Jadhav <praveen.j@samsung.com>
</del><ins>+ * page/efl/DragControllerEfl.cpp: Rename Clipboard to DataTransfer.
+ (WebCore::DragController::declareAndWriteDragImage):
</ins><span class="cx">
</span><del>- ProgressEvent should not be cancelable
- https://bugs.webkit.org/show_bug.cgi?id=114444
</del><ins>+2014-04-08 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><ins>+ REGRESSION (r155998): Elements render at very low resolution with some 3d transforms
+ https://bugs.webkit.org/show_bug.cgi?id=131412
+ <rdar://problem/16525044>
+
+ Reviewed by Tim Horton.
+
+ In r155998 we started to compute a root-relative transform in order to choose
+ a good contentsScale to avoid blurring on scaling.
+
+ However, the code failed to update this transform when passing over
+ GraphicsLayerCAs with no uncommitted changes, which caused us to choose
+ an incorrect contentsScale sometimes, resulting in blurriness.
+
+ Fix by updating the root-relative transform on layers with no uncommitted
+ changes.
+
+ Test: compositing/contents-scale/incremental-change.html
+
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers):
+
+2014-04-08 Anders Carlsson <andersca@apple.com>
+
+ Don't call CGPathAddPath with invalid CGAffineTransform objects
+ https://bugs.webkit.org/show_bug.cgi?id=131413
+ <rdar://problem/16399645>
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Parameter "cancelable" in ProgressEvent is set to false, by default, as mentioned in the specification. The spec link is given below.
</del><ins>+ Covered by existing tests.
</ins><span class="cx">
</span><del>- Spec: http://www.w3.org/TR/2011/CR-progress-events-20110922/#suggested-names-for-events-using-the-progressevent-interface
</del><ins>+ * platform/graphics/cg/PathCG.cpp:
+ (WebCore::Path::addPath):
+ Don't try to add the path if the affine transform isn't invertible.
</ins><span class="cx">
</span><del>- No new tests. file-reader-event-listener.html and infoOnProgressEvent-expected.txt are updated.
</del><ins>+ * platform/graphics/transforms/AffineTransform.cpp:
+ (WebCore::AffineTransform::isInvertible):
+ Handle infinite and NaN determinants.
</ins><span class="cx">
</span><del>- * dom/ProgressEvent.cpp:
- (WebCore::ProgressEvent::ProgressEvent):
- (WebCore):
</del><ins>+ (WebCore::AffineTransform::inverse):
+ Handle infinite and NaN determinants.
</ins><span class="cx">
</span><del>-2013-05-29 Simon Fraser <simon.fraser@apple.com>
</del><ins>+2014-04-08 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>- Fix paint-related milestones to not fire when the layer tree is frozen
- https://bugs.webkit.org/show_bug.cgi?id=117012
</del><ins>+ Web Replay: memoize nondeterministic attributes of the Screen interface
+ https://bugs.webkit.org/show_bug.cgi?id=131339
</ins><span class="cx">
</span><ins>+ Reviewed by Timothy Hatcher.
+
+ The values from the screen interface are nondeterministic. Since we can't
+ change the physical screen dimensions, instead memoize values of attributes.
+
+ Test: ManualTests/inspector/replay-window-screen.html
+
+ * page/Screen.idl: Add Nondeterministic attribute.
+
+2014-04-08 Beth Dakin <bdakin@apple.com>
+
+ https://bugs.webkit.org/show_bug.cgi?id=131408
+ Scrollbars layers don't dynamically update when device scale factor changes
+ -and corresponding-
+ <rdar://problem/16503875>
+
</ins><span class="cx"> Reviewed by Tim Horton.
</span><span class="cx">
</span><del>- In the previous code, it was possible to paint some layer and schedule
- the m_paintRelatedMilestonesTimer, but then the layer tree was put into
- a frozen state because the page redirected. However, the paint-related
- milestones timer would still fire. This caused woes with header/footer
- banners.
-
- Fix by not firing paint-related milestones if the layer tree is frozen,
- which we know via a new ChromeClient callback. When unfrozen, we'll
- paint again, and fire the timer later.
-
- * page/ChromeClient.h:
- (WebCore::ChromeClient::layerTreeStateIsFrozen):
</del><ins>+ The scrollbar layers are not children of the RenderView's layer, so they were
+ completely skipped over by this function before. We need to start this higher up
+ the tree in the rootGraphicsLayer(), which will typically return the
+ m_overflowControlsHostLayer.
</ins><span class="cx"> * rendering/RenderLayerCompositor.cpp:
</span><del>- (WebCore::RenderLayerCompositor::paintRelatedMilestonesTimerFired):
</del><ins>+ (WebCore::RenderLayerCompositor::deviceOrPageScaleFactorChanged):
</ins><span class="cx">
</span><del>-2013-05-29 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-04-08 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Store form control list with RefPtr
- https://bugs.webkit.org/show_bug.cgi?id=116910
</del><ins>+ HTMLConverter::aggregatedAttributesForAncestors should cache intermediate results
+ https://bugs.webkit.org/show_bug.cgi?id=131400
</ins><span class="cx">
</span><del>- Reviewed by Kent Tamura.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/582132773280455ead1d42b0073be37efdeaf989.
</del><ins>+ Instead of accumulating attributes from a character node to the highest ancestor,
+ recursively call aggregatedAttributesForElementAndItsAncestors so that aggregated
+ attributes are cached on each ancestor to eliminate the old O(n^2) behavior.
</ins><span class="cx">
</span><del>- Unfortunately, the Blink change doesn't provide much insight as to what kind of crashes are fixed
- by this code change but it cleans up the way form elements with state are registered to the form
- controller so it seems benefitial to merge it anyway.
</del><ins>+ * editing/cocoa/HTMLConverter.mm:
+ (HTMLConverter::aggregatedAttributesForAncestors):
+ (HTMLConverter::aggregatedAttributesForElementAndItsAncestors): Extracted from aggregatedAttributesForAncestors.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::dispose):
- * html/FormController.cpp:
- (WebCore::FormController::createSavedFormStateMap):
- (WebCore::FormController::registerFormElementWithState):
- (WebCore::FormController::unregisterFormElementWithState):
- (WebCore):
- * html/FormController.h:
- (FormController):
- * html/HTMLFormControlElementWithState.cpp:
- (WebCore::HTMLFormControlElementWithState::HTMLFormControlElementWithState):
- (WebCore::HTMLFormControlElementWithState::~HTMLFormControlElementWithState):
- (WebCore::HTMLFormControlElementWithState::insertedInto):
- (WebCore):
- (WebCore::HTMLFormControlElementWithState::removedFrom):
- * html/HTMLFormControlElementWithState.h:
- (HTMLFormControlElementWithState):
- * html/HTMLTextFormControlElement.cpp:
- (WebCore::HTMLTextFormControlElement::insertedInto):
</del><ins>+2014-04-08 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-29 Andreas Kling <akling@apple.com>
</del><ins>+ Unreviewed CMake build fix after r166965.
</ins><span class="cx">
</span><del>- Take ComputedStyleExtractor for a spin.
- <http://webkit.org/b/116968>
</del><ins>+ * UseJSC.cmake: Rename JSClipboardCustom.cpp to JSDataTransferCustom.cpp.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+2014-04-08 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- Convert some editing and SVG code to use ComputedStyleExtractor instead of creating full
- blown CSSComputedStyleDeclaration objects.
</del><ins>+ Unreviewed iOS build fix.
</ins><span class="cx">
</span><del>- * editing/ApplyStyleCommand.cpp:
- (WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi):
- (WebCore::ApplyStyleCommand::removeEmbeddingUpToEnclosingBlock):
- (WebCore::highestEmbeddingAncestor):
- (WebCore::ApplyStyleCommand::computedFontSize):
- * editing/EditingStyle.cpp:
- (WebCore::EditingStyle::mergeStyleFromRulesForSerialization):
- (WebCore::EditingStyle::textDirectionForSelection):
- (WebCore::getIdentifierValue):
- (WebCore::backgroundColorInEffect):
- * editing/EditingStyle.h:
- * svg/SVGAnimationElement.cpp:
- (WebCore::SVGAnimationElement::computeCSSPropertyValue):
</del><ins>+ Return false instead of nil in a function that returns BOOL.
</ins><span class="cx">
</span><del>-2013-05-29 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper accessibilityCanFuzzyHitTest]):
</ins><span class="cx">
</span><del>- Add a special case for SelectorDataList::execute when there is only one selector
- https://bugs.webkit.org/show_bug.cgi?id=116891
</del><ins>+2014-04-08 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Non-empty ranges misdetected as empty ranges, avoiding telephone number detection.
+ <rdar://problem/16553441> and https://bugs.webkit.org/show_bug.cgi?id=131397
</ins><span class="cx">
</span><del>- In the vast majority of cases, querySelector is called with a single selector.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- This patch takes that input into account to improve the performance of
- SelectorDataList::execute(). For the case of a single selector, we avoid three
- branches executed for every node of the traversal.
</del><ins>+ No new tests (Only affects a currently untested Mac-only WK2 feature)
</ins><span class="cx">
</span><del>- This improves QuerySelector's time by 2.3%.
</del><ins>+ * editing/Editor.cpp:
+ (WebCore::Editor::scanSelectionForTelephoneNumbers): Fix detection of empty ranges so we don’t
+ early return erroneously.
</ins><span class="cx">
</span><del>- * dom/SelectorQuery.cpp:
- (WebCore::SelectorDataList::execute):
</del><ins>+2014-04-08 Adenilson Cavalcanti <cavalcantii@gmail.com>
</ins><span class="cx">
</span><del>-2013-05-29 Dean Jackson <dino@apple.com>
</del><ins>+ [SVG] Fix CSS transform handling when zoomed
+ https://bugs.webkit.org/show_bug.cgi?id=125836
</ins><span class="cx">
</span><del>- -webkit-text-underline-position should not be inherited
- https://bugs.webkit.org/show_bug.cgi?id=116363
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Reverting http://trac.webkit.org/changeset/150366
- It was an incorrect fix referring to an old specification.
</del><ins>+ Tests: svg/zoom/page/zoom-css-transforms-expected.svg
+ svg/zoom/page/zoom-css-transforms.svg
</ins><span class="cx">
</span><del>- * css/CSSProperty.cpp:
- (WebCore::CSSProperty::isInheritedProperty):
- * rendering/style/RenderStyle.h:
- * rendering/style/StyleRareInheritedData.cpp:
- (WebCore::StyleRareInheritedData::StyleRareInheritedData):
- (WebCore::StyleRareInheritedData::operator==):
- * rendering/style/StyleRareInheritedData.h:
- (StyleRareInheritedData):
- * rendering/style/StyleRareNonInheritedData.cpp:
- (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
- (WebCore::StyleRareNonInheritedData::operator==):
- * rendering/style/StyleRareNonInheritedData.h:
- (StyleRareNonInheritedData):
</del><ins>+ Adjusts CSS transforms when used in SVG to account for unexpected
+ translation scale. Backport from Chromium #174910.
</ins><span class="cx">
</span><del>-2013-05-29 Ryuan Choi <ryuan.choi@samsung.com>
</del><ins>+ * svg/SVGGraphicsElement.cpp:
+ (WebCore::SVGGraphicsElement::animatedLocalTransform):
</ins><span class="cx">
</span><del>- [CMAKE] cmake errors when CMAKE_BUILD_TYPE is not specified.
- https://bugs.webkit.org/show_bug.cgi?id=116899
</del><ins>+2014-04-08 Hans Muller <hmuller@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by Laszlo Gombos.
</del><ins>+ [CSS Shapes] large corner radius combined with 0 radius does not wrap properly
+ https://bugs.webkit.org/show_bug.cgi?id=129739
</ins><span class="cx">
</span><del>- * CMakeLists.txt: Fixed if statement to escape when find command fails.
</del><ins>+ Reviewed by Bem Jones-Bey.
</ins><span class="cx">
</span><del>-2013-05-28 Oliver Hunt <oliver@apple.com>
</del><ins>+ Corrected special case handling for shape-outside border-box values with border-radius
+ values that greater than or equal to the box's height.
</ins><span class="cx">
</span><del>- Add more accurate activity state tracking
- https://bugs.webkit.org/show_bug.cgi?id=116893
</del><ins>+ Tests: fast/shapes/shape-outside-floats/shape-outside-big-box-border-radius-001.html
+ fast/shapes/shape-outside-floats/shape-outside-big-box-border-radius-002.html
</ins><span class="cx">
</span><del>- Reviewed by Gavin Barraclough.
</del><ins>+ * rendering/shapes/BoxShape.cpp:
+ (WebCore::BoxShape::getExcludedIntervals):
</ins><span class="cx">
</span><del>- Add a hysteresis to Page activity throttling. We do this
- through a PageThrottler class that now handles entering and
- exiting throttling state, and adds a hysteresis to we can
- limit the amount of on/off bouncing on the throttle.
</del><ins>+2014-04-08 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Media elements now make use of this to disable timer throttling
- while they are playing, and plugins use it to momentarily bounce
- from throttled to unthrottled state.
</del><ins>+ Rename Clipboard to DataTransfer
+ https://bugs.webkit.org/show_bug.cgi?id=131371
</ins><span class="cx">
</span><ins>+ Reviewed by Anders Carlsson.
+
+ This is the name used in HTML5, and it's much better than the confusing Clipboard one.
+
+ Renamed related enums too, and made DataTransferAccessPolicy an enum class.
+
</ins><span class="cx"> * CMakeLists.txt:
</span><del>- * GNUmakefile.list.am:
- * Target.pri:
</del><ins>+ * Configurations/WebCore.xcconfig:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- * WebCore.vcproj/WebCore.vcproj:
</del><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj:
</span><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj.filters:
</span><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::~HTMLMediaElement):
- (WebCore::HTMLMediaElement::pageThrottlerIfPossible):
- (WebCore):
- (WebCore::HTMLMediaElement::playInternal):
- (WebCore::HTMLMediaElement::pauseInternal):
- * html/HTMLMediaElement.h:
- (WebCore):
- * html/MediaController.cpp:
- (MediaController::unpause):
- * page/ChromeClient.h:
- (WebCore::ChromeClient::incrementActivePageCount):
- (WebCore::ChromeClient::decrementActivePageCount):
- (ChromeClient):
- * page/Page.cpp:
- (WebCore::Page::Page):
- (WebCore::Page::~Page):
- (WebCore::Page::setThrottled):
- * page/Page.h:
- (WebCore):
- (Page):
- (WebCore::Page::pageThrottler):
- * page/PageThrottleState.h: Added.
- * page/PageThrottler.cpp: Added.
- (WebCore):
- (WebCore::PageThrottler::PageThrottler):
- (WebCore::PageThrottler::~PageThrottler):
- (WebCore::PageThrottler::clearPage):
- (WebCore::PageThrottler::throttlePage):
- (WebCore::PageThrottler::unthrottlePage):
- (WebCore::PageThrottler::setThrottled):
- (WebCore::PageThrottler::preventThrottling):
- (WebCore::PageThrottler::allowThrottling):
- (WebCore::PageThrottler::stopThrottleHysteresisTimer):
- (WebCore::PageThrottler::reportInterestingEvent):
- (WebCore::PageThrottler::startThrottleHysteresisTimer):
- (WebCore::PageThrottler::throttleHysteresisTimerFired):
- * page/PageThrottler.h: Added.
- (WebCore):
- (PageThrottler):
- (WebCore::PageThrottler::create):
- (WebCore::PageThrottler::shouldThrottleAnimations):
- (WebCore::PageThrottler::shouldThrottleTimers):
</del><ins>+ * bindings/js/JSBindingsAllInOne.cpp:
+ * bindings/js/JSClipboardCustom.cpp: Removed.
+ * bindings/js/JSDataTransferCustom.cpp: Copied from Source/WebCore/bindings/js/JSClipboardCustom.cpp.
+ (WebCore::JSDataTransfer::types):
+ (WebCore::JSClipboard::types): Deleted.
+ * bindings/js/JSEventCustom.cpp:
+ * dom/Clipboard.cpp: Removed.
+ * dom/Clipboard.h: Removed.
+ * dom/Clipboard.idl: Removed.
+ * dom/ClipboardAccessPolicy.h: Removed.
+ * dom/ClipboardEvent.cpp:
+ (WebCore::ClipboardEvent::ClipboardEvent):
+ * dom/ClipboardEvent.h:
+ (WebCore::ClipboardEvent::create):
+ (WebCore::ClipboardEvent::clipboard): Deleted.
+ * dom/ClipboardMac.mm: Removed.
+ * dom/DOMAllInOne.cpp:
+ * dom/DataTransfer.cpp: Copied from Source/WebCore/dom/Clipboard.cpp.
+ (WebCore::DataTransfer::DataTransfer):
+ (WebCore::DataTransfer::createForCopyAndPaste):
+ (WebCore::DataTransfer::~DataTransfer):
+ (WebCore::DataTransfer::setAccessPolicy):
+ (WebCore::DataTransfer::canReadTypes):
+ (WebCore::DataTransfer::canReadData):
+ (WebCore::DataTransfer::canWriteData):
+ (WebCore::DataTransfer::clearData):
+ (WebCore::DataTransfer::getData):
+ (WebCore::DataTransfer::setData):
+ (WebCore::DataTransfer::types):
+ (WebCore::DataTransfer::files):
+ (WebCore::DataTransfer::dropEffect):
+ (WebCore::DataTransfer::setDropEffect):
+ (WebCore::DataTransfer::effectAllowed):
+ (WebCore::DataTransfer::setEffectAllowed):
+ (WebCore::DataTransfer::setDragImage):
+ (WebCore::DataTransfer::createForDragAndDrop):
+ (WebCore::DataTransfer::canSetDragImage):
+ (WebCore::DataTransfer::updateDragImage):
+ (WebCore::DataTransfer::createDragImage):
+ (WebCore::DragImageLoader::DragImageLoader):
+ (WebCore::DragImageLoader::imageChanged):
+ (WebCore::DataTransfer::sourceOperation):
+ (WebCore::DataTransfer::destinationOperation):
+ (WebCore::DataTransfer::setSourceOperation):
+ (WebCore::DataTransfer::setDestinationOperation):
+ (WebCore::Clipboard::Clipboard): Deleted.
+ (WebCore::Clipboard::createForCopyAndPaste): Deleted.
+ (WebCore::Clipboard::~Clipboard): Deleted.
+ (WebCore::Clipboard::setAccessPolicy): Deleted.
+ (WebCore::Clipboard::canReadTypes): Deleted.
+ (WebCore::Clipboard::canReadData): Deleted.
+ (WebCore::Clipboard::canWriteData): Deleted.
+ (WebCore::Clipboard::clearData): Deleted.
+ (WebCore::Clipboard::getData): Deleted.
+ (WebCore::Clipboard::setData): Deleted.
+ (WebCore::Clipboard::types): Deleted.
+ (WebCore::Clipboard::files): Deleted.
+ (WebCore::Clipboard::dropEffect): Deleted.
+ (WebCore::Clipboard::setDropEffect): Deleted.
+ (WebCore::Clipboard::effectAllowed): Deleted.
+ (WebCore::Clipboard::setEffectAllowed): Deleted.
+ (WebCore::Clipboard::setDragImage): Deleted.
+ (WebCore::Clipboard::createForDragAndDrop): Deleted.
+ (WebCore::Clipboard::canSetDragImage): Deleted.
+ (WebCore::Clipboard::updateDragImage): Deleted.
+ (WebCore::Clipboard::createDragImage): Deleted.
+ (WebCore::Clipboard::sourceOperation): Deleted.
+ (WebCore::Clipboard::destinationOperation): Deleted.
+ (WebCore::Clipboard::setSourceOperation): Deleted.
+ (WebCore::Clipboard::setDestinationOperation): Deleted.
+ * dom/DataTransfer.h: Copied from Source/WebCore/dom/Clipboard.h.
+ * dom/DataTransfer.idl: Copied from Source/WebCore/dom/Clipboard.idl.
+ * dom/DataTransferAccessPolicy.h: Copied from Source/WebCore/dom/ClipboardAccessPolicy.h.
+ * dom/DataTransferItemList.h:
+ * dom/DataTransferMac.mm: Copied from Source/WebCore/dom/ClipboardMac.mm.
+ (WebCore::DataTransfer::createDragImage):
+ (WebCore::Clipboard::createDragImage): Deleted.
+ * dom/Event.h:
+ (WebCore::Event::clipboardData):
+ (WebCore::Event::internalDataTransfer):
+ (WebCore::Event::clipboard): Deleted.
+ * dom/Event.idl:
+ * dom/MouseEvent.cpp:
+ (WebCore::MouseEvent::create):
+ (WebCore::MouseEvent::MouseEvent):
+ (WebCore::MouseEvent::initMouseEvent):
+ * dom/MouseEvent.h:
+ (WebCore::MouseEvent::dataTransfer):
+ * dom/MouseEvent.idl:
+ * dom/WheelEvent.cpp:
+ * editing/Editor.cpp:
+ (WebCore::Editor::canDHTMLCut):
+ (WebCore::Editor::canDHTMLCopy):
+ (WebCore::Editor::canDHTMLPaste):
+ (WebCore::Editor::tryDHTMLCopy):
+ (WebCore::Editor::tryDHTMLCut):
+ (WebCore::Editor::tryDHTMLPaste):
+ (WebCore::Editor::dispatchCPPEvent):
+ (WebCore::Editor::performCutOrCopy):
+ (WebCore::Editor::selectedTextForDataTransfer):
+ (WebCore::Editor::selectedTextForClipboard): Deleted.
+ * editing/Editor.h:
+ * editing/ios/EditorIOS.mm:
+ (WebCore::Editor::stringSelectionForPasteboardWithImageAltText):
+ * editing/mac/EditorMac.mm:
+ (WebCore::Editor::takeFindStringFromSelection):
+ (WebCore::Editor::stringSelectionForPasteboardWithImageAltText):
+ * loader/EmptyClients.h:
+ * page/DragClient.h:
+ * page/DragController.cpp:
+ (WebCore::DragController::dragExited):
+ (WebCore::DragController::performDrag):
+ (WebCore::DragController::tryDHTMLDrag):
+ (WebCore::DragController::startDrag):
+ (WebCore::DragController::doImageDrag):
+ (WebCore::DragController::doSystemDrag):
+ * page/DragController.h:
+ * page/DragState.h:
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::dispatchDragEvent):
+ (WebCore::hasFileOfType):
+ (WebCore::hasStringOfType):
+ (WebCore::hasDropZoneType):
+ (WebCore::findDropZone):
+ (WebCore::EventHandler::updateDragAndDrop):
+ (WebCore::EventHandler::cancelDragAndDrop):
+ (WebCore::EventHandler::performDragAndDrop):
+ (WebCore::EventHandler::freeDataTransfer):
+ (WebCore::EventHandler::dragSourceEndedAt):
+ (WebCore::EventHandler::dispatchDragSrcEvent):
+ (WebCore::EventHandler::handleDrag):
+ (WebCore::EventHandler::freeClipboard): Deleted.
+ * page/EventHandler.h:
+ * page/efl/EventHandlerEfl.cpp:
+ (WebCore::EventHandler::createDraggingDataTransfer):
+ (WebCore::EventHandler::createDraggingClipboard): Deleted.
+ * page/gtk/DragControllerGtk.cpp:
+ (WebCore::DragController::declareAndWriteDragImage):
+ * page/gtk/EventHandlerGtk.cpp:
+ (WebCore::EventHandler::createDraggingDataTransfer):
+ (WebCore::EventHandler::createDraggingClipboard): Deleted.
+ * page/mac/DragControllerMac.mm:
+ (WebCore::DragController::declareAndWriteDragImage):
+ * page/mac/EventHandlerMac.mm:
+ (WebCore::EventHandler::createDraggingDataTransfer):
+ (WebCore::EventHandler::createDraggingClipboard): Deleted.
+ * page/win/DragControllerWin.cpp:
+ (WebCore::DragController::declareAndWriteDragImage):
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::createDraggingataTransfer):
+ (WebCore::EventHandler::createDraggingClipboard): Deleted.
+ * platform/Pasteboard.h:
+ * platform/gtk/PasteboardGtk.cpp:
+ (WebCore::Pasteboard::writeSelection):
+ * platform/mac/PasteboardMac.mm:
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::Pasteboard::writeRangeToDataObject):
+ (WebCore::Pasteboard::writeSelection):
</ins><span class="cx">
</span><del>-2013-05-29 Kent Tamura <tkent@chromium.org>
</del><ins>+2014-04-08 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Remove leftover files for ENABLE_PAGE_POPUP and ENABLE_CALENDAR_PICKER
- https://bugs.webkit.org/show_bug.cgi?id=116999
</del><ins>+ Unreviewed iOS build fix. Pass 0 instead of nil to the options parameter of addObserver:forKeyPath:options:context.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * platform/graphics/ios/TextTrackRepresentationIOS.mm:
+ (-[WebCoreTextTrackRepresentationIOSHelper setParent:]):
</ins><span class="cx">
</span><del>- * Resources/pagepopups/colorSuggestionPicker.css: Removed.
- * Resources/pagepopups/colorSuggestionPicker.js: Removed.
- * Resources/pagepopups/pickerCommon.css: Removed.
- * Resources/pagepopups/pickerCommon.js: Removed.
- * Resources/pagepopups/suggestionPicker.css: Removed.
- * Resources/pagepopups/suggestionPicker.js: Removed.
</del><ins>+2014-04-08 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>-2013-05-29 Jer Noble <jer.noble@apple.com>
</del><ins>+ Remove exposedRect from TileController
+ https://bugs.webkit.org/show_bug.cgi?id=131378
</ins><span class="cx">
</span><del>- Unreviewed build fix; remove unintentional semicolon.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioScheduledSourceNode.cpp:
- (WebCore::AudioScheduledSourceNode::finish):
</del><ins>+ Having two separate visible rectangles is confusing. We should compute one on higher level.
</ins><span class="cx">
</span><del>-2013-05-29 Anders Carlsson <andersca@apple.com>
</del><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::setExposedRect):
+
+ Push exposed rect to tile controller by doing a layer flush (like the changed visible rect is normally passed).
</ins><span class="cx">
</span><del>- Merge PODArea::Chunk into PODFreeListArena::FreeListChunk
- https://bugs.webkit.org/show_bug.cgi?id=117000
</del><ins>+ * platform/graphics/TiledBacking.h:
+ * platform/graphics/ca/mac/TileController.h:
+ * platform/graphics/ca/mac/TileController.mm:
+
+ Remove exposedRect and just use visibleRect.
</ins><span class="cx">
</span><del>- Reviewed by Oliver Hunt.
</del><ins>+ (WebCore::TileController::TileController):
+ (WebCore::TileController::setTiledScrollingIndicatorPosition):
+
+ Update the scrolling indicator position.
</ins><span class="cx">
</span><del>- * platform/PODArena.h:
- (WebCore::PODArena::roundUp):
- * platform/PODFreeListArena.h:
- (PODFreeListArena):
- (WebCore::PODFreeListArena::FreeListChunk::FreeListChunk):
- (FreeListChunk):
- (WebCore::PODFreeListArena::FreeListChunk::~FreeListChunk):
- (WebCore::PODFreeListArena::FreeListChunk::allocate):
</del><ins>+ (WebCore::TileController::updateTileCoverageMap):
+ (WebCore::TileController::setExposedRect): Deleted.
+ * platform/graphics/ca/mac/TileGrid.h:
+ * platform/graphics/ca/mac/TileGrid.mm:
+ (WebCore::TileGrid::tilesWouldChangeForVisibleRect):
+ (WebCore::TileGrid::revalidateTiles):
+ (WebCore::TileGrid::scaledExposedRect): Deleted.
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::RenderLayerBacking):
+
+ No need to push exposedRect anymore.
</ins><span class="cx">
</span><del>-2013-05-29 Anders Carlsson <andersca@apple.com>
</del><ins>+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
+
+ Integrate exposed rect to visible rect when flushing layers.
</ins><span class="cx">
</span><del>- Move some PODArena members to PODFreeListArena
- https://bugs.webkit.org/show_bug.cgi?id=116993
</del><ins>+2014-04-08 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ [Mac] Always do a full GC when simulating memory pressure.
+ <https://webkit.org/b/129790>
</ins><span class="cx">
</span><del>- This is more work towards merging the two classes.
</del><ins>+ To get more consistent accounting on automated memory testers,
+ add a synchronous GC as part of the simulated memory pressure event.
</ins><span class="cx">
</span><del>- * platform/PODArena.h:
- (PODArena):
- * platform/PODFreeListArena.h:
- (PODFreeListArena):
- (WebCore::PODFreeListArena::PODFreeListArena):
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>-2013-05-29 Jer Noble <jer.noble@apple.com>
</del><ins>+ * platform/mac/MemoryPressureHandlerMac.mm:
+ (WebCore::MemoryPressureHandler::install):
</ins><span class="cx">
</span><del>- [Mac] Scrubbing long movie files results in timeline snapping back to 0 during scrub.
- https://bugs.webkit.org/show_bug.cgi?id=116986
</del><ins>+2014-04-08 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><ins>+ Unreviewed iOS build fix. Pass 0 instead of nil to setRate: when pausing.
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::platformPause):
+
+2014-04-08 Mark Lam <mark.lam@apple.com>
+
+ Refactor to make JSMainThreadExecState's constructor and destructor private.
+ <https://webkit.org/b/131372>
+
+ Reviewed by Mark Hahnenberg.
+
+ This is in preparation for subsequent patches to ensure that we don't
+ exit the VM with an exception still pending.
+
+ No new tests required. This is only a refactor of existing behavior.
+
+ * bindings/js/JSDOMGlobalObjectTask.cpp:
+ * bindings/js/JSMainThreadExecState.h:
+ (WebCore::JSMainThreadExecState::runTask):
+
+2014-04-07 Jer Noble <jer.noble@apple.com>
+
+ [WK2][iOS] Consecutive videos in full screen display only black
+ https://bugs.webkit.org/show_bug.cgi?id=131316
+
</ins><span class="cx"> Reviewed by Eric Carlson.
</span><span class="cx">
</span><del>- Keep a count of the number of in-flight seek requests, and only issue a timeupdate
- (which triggers a "seeked" event) when the final seek completes.
</del><ins>+ Update the MediaPlayer's full screen attributes whenever the underlying engine changes,
+ not just when the engine is initially created. Also, clear the videoLayer out of the
+ fullscreen layer when destroying the videoLayer.
</ins><span class="cx">
</span><del>- Test: media/video-seek-multiple.html
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::destroyVideoLayer):
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- (WebCore::MediaPlayerPrivateAVFoundation::seek):
- (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
- (MediaPlayerPrivateAVFoundation):
</del><ins>+2014-04-08 Morten Stenshorne <mstensho@opera.com>
</ins><span class="cx">
</span><del>-2013-05-29 Anders Carlsson <andersca@apple.com>
</del><ins>+ [New Multicolumn] Child top margin sometimes ignored for column balancing
+ https://bugs.webkit.org/show_bug.cgi?id=122754
</ins><span class="cx">
</span><del>- Remove unused code from PODArena
- https://bugs.webkit.org/show_bug.cgi?id=116990
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ We need to set zero page logical height in LayoutState when column
+ height is unknown (when the columns haven't yet been
+ balanced). There's code that assumes that non-zero page height means
+ that page height is known. Lying about this makes the pagination code
+ believe that every top margin is adjacent to a column break, which
+ makes it eat and ignore all top margins.
</ins><span class="cx">
</span><del>- PODArena is only used as a base class of PODFreeListArena so remove unused member functions and make all
- members protected to make it impossible to use it without subclassing.
</del><ins>+ This should be cleaned up, but it's easier to wait until the old
+ multicol code has been removed.
</ins><span class="cx">
</span><del>- PODArena is a risky class to use since it doesn't return memory to the system unless the arena object is destroyed.
- This was the reason why PODFreeListArea was added. An upcoming patch will merge PODArena with PODFreeListArena and
- this is a small step towards that goal.
</del><ins>+ Tests: fast/multicol/break-in-scrollable.html
+ fast/multicol/newmulticol/leading-and-trailing-margin.html
+ fast/multicol/newmulticol/leading-margin.html
</ins><span class="cx">
</span><del>- * platform/PODArena.h:
</del><ins>+ * rendering/LayoutState.cpp:
+ (WebCore::LayoutState::LayoutState):
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::checkForPaginationLogicalHeightChange):
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::isPageLogicalHeightKnown):
+ * rendering/RenderMultiColumnFlowThread.h:
</ins><span class="cx">
</span><del>-2013-05-29 Darin Adler <darin@apple.com>
</del><ins>+2014-04-07 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Remove custom binding for Clipboard setDragImage function
- https://bugs.webkit.org/show_bug.cgi?id=116422
</del><ins>+ Allow elements to register for changes in page scale
+ https://bugs.webkit.org/show_bug.cgi?id=131319
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * bindings/js/JSClipboardCustom.cpp: Removed setDragImage binding.
</del><ins>+ Some parts of WebCore need to react to changes in the page
+ scale factor, such as resizing when the user zooms. A followup
+ patch will enable this for media controls - this simply lays
+ the groundwork.
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::canSetDragImage): Added a condition that this is a drag
- and drop clipboard. That used to be checked in the setDragImage binding.
- (WebCore::Clipboard::setDragImage): Added a version that takes an Element
- and calls through to the existing functions (in the legacy code path), or handles
- both the Element and HTMLImageElement not-in-document cases (in the new code path).
</del><ins>+ At the moment we only allow HTMLMediaElements to register, but if
+ necessary this could be expanded in the future.
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Updated for changes above.
</del><ins>+ * dom/Document.cpp: New methods to keep a list of HTMLMediaElements that
+ are interested in updates.
+ (WebCore::Document::registerForPageScaleFactorChangedCallbacks):
+ (WebCore::Document::unregisterForPageScaleFactorChangedCallbacks):
+ (WebCore::Document::pageScaleFactorChanged):
+ * dom/Document.h:
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::HTMLMediaElement):
+ (WebCore::HTMLMediaElement::registerWithDocument): Add ourselves to the
+ the document's pageScale callback.
+ (WebCore::HTMLMediaElement::unregisterWithDocument): Remove ourselves from the
+ the document's pageScale callback.
+ (WebCore::HTMLMediaElement::setMediaControlsDependOnPageScaleFactor): Add/remove ourselves to/from
+ the callback if necessary.
+ (WebCore::HTMLMediaElement::pageScaleFactorChanged): The callback function. Empty for now.
+ * html/HTMLMediaElement.h:
+ (WebCore::HTMLMediaElement::mediaControlsDependOnPageScaleFactor): Accessor.
+ * page/Page.cpp:
+ (WebCore::Page::setPageScaleFactor): Tell all documents that the user has zoomed.
</ins><span class="cx">
</span><del>- * dom/Clipboard.idl: Removed [Custom] from setDragImage.
</del><ins>+2014-04-08 peavo@outlook.com <peavo@outlook.com>
</ins><span class="cx">
</span><del>- * page/EventHandler.cpp:
- (WebCore::EventHandler::handleDrag): Call the new setDragImage instead of the
- old setDragImageElement.
</del><ins>+ [WinCairo] Compile error in TextureMapper.h
+ https://bugs.webkit.org/show_bug.cgi?id=131360
</ins><span class="cx">
</span><del>-2013-05-29 Praveen R Jadhav <praveen.j@samsung.com>
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- Cleanup AudioSourceNode.idl from WebKit build.
- https://bugs.webkit.org/show_bug.cgi?id=116905.
</del><ins>+ The TextureMapper class has pure virtual methods, and cannot be instantiated.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/graphics/texmap/TextureMapper.h:
+ (WebCore::TextureMapper::platformCreateAccelerated):
</ins><span class="cx">
</span><del>- AudioSourceNode.idl is not part of WebAudio Specifications anymore.
- AudioNode is inherited directly in all the audio source nodes.
</del><ins>+2014-04-08 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- No new tests. Current test cases will cover all the scenarios.
</del><ins>+ Subpixel rendering: Slow paint path for inlines should snap to device pixels.
+ https://bugs.webkit.org/show_bug.cgi?id=131259
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * Modules/webaudio/AudioBufferSourceNode.h:
- * Modules/webaudio/AudioBufferSourceNode.idl:
- * Modules/webaudio/AudioScheduledSourceNode.cpp:
- (WebCore::AudioScheduledSourceNode::AudioScheduledSourceNode):
- * Modules/webaudio/AudioScheduledSourceNode.h:
- * Modules/webaudio/AudioSourceNode.h: Removed.
- * Modules/webaudio/AudioSourceNode.idl: Removed.
- * Modules/webaudio/MediaElementAudioSourceNode.cpp:
- (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode):
- * Modules/webaudio/MediaElementAudioSourceNode.h:
- (MediaElementAudioSourceNode):
- * Modules/webaudio/MediaElementAudioSourceNode.idl:
- * Modules/webaudio/MediaStreamAudioDestinationNode.idl:
- * Modules/webaudio/MediaStreamAudioSourceNode.cpp:
- (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode):
- * Modules/webaudio/MediaStreamAudioSourceNode.h:
- (MediaStreamAudioSourceNode):
- * Modules/webaudio/MediaStreamAudioSourceNode.idl:
- * Modules/webaudio/OscillatorNode.h:
- * Modules/webaudio/OscillatorNode.idl:
- * Target.pri:
- * WebCore.xcodeproj/project.pbxproj:
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-29 Adam Barth <abarth@webkit.org>
</del><ins>+ InlineTextBox::paint needs to round to the same device pixel position as SimpleLineLayout does.
</ins><span class="cx">
</span><del>- Optimize RenderText::offsetNext for 8 bit strings
- https://bugs.webkit.org/show_bug.cgi?id=116877
</del><ins>+ Test: fast/inline/hidpi-slow-path-text-on-subpixel-position.html
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::paint):
+ * rendering/TextPainter.h: Cleanup. No reason to have them as references here.
</ins><span class="cx">
</span><del>- Previously, this function was always upconverting strings to 16 bits in
- order to create a cursorMovementIterator. This patch adds a fast path
- for ASCII and Latin-1 strings, which don't need this complicated cursor
- movement logic.
</del><ins>+2014-04-07 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- I ran into this code because nextOffset showed up as a memory pig on a
- memory profile of Mobile Gmail.
</del><ins>+ Keep 'webkitClosedCaptionsVisible' API in sync with captions display preferences
+ https://bugs.webkit.org/show_bug.cgi?id=131344
</ins><span class="cx">
</span><del>- Test: editing/selection/move-by-character-brute-force.html
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * rendering/RenderText.cpp:
- (WebCore::RenderText::previousOffset):
- (WebCore::RenderText::nextOffset):
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::configureTextTrackGroup) If we decide that captions should
+ be active (due to user preferences) make sure the 'webkitClosedCaptionsVisible' state
+ is turned on.
</ins><span class="cx">
</span><del>-2013-05-29 Brent Fulgham <bfulgham@apple.com>
</del><ins>+2014-04-08 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- [Windows] Correct copy command (form versus forms)
</del><ins>+ Subpixel rendering: Paint the filter effect result image on device pixel position.
+ https://bugs.webkit.org/show_bug.cgi?id=131255
</ins><span class="cx">
</span><del>- * WebCore.vcproj/copyForwardingHeaders.cmd:
- * WebCore.vcxproj/copyForwardingHeaders.cmd:
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-29 Bem Jones-Bey <bjonesbe@adobe.com>
</del><ins>+ This patch moves filter effect images from integral to device pixel position. However,
+ result images are still integral based.
</ins><span class="cx">
</span><del>- [CSS Shapes] Fix style issues in BasicShapes
- https://bugs.webkit.org/show_bug.cgi?id=116734
</del><ins>+ Test: css3/filters/hidpi-filter-is-on-subpixel-position.html
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ * rendering/FilterEffectRenderer.cpp:
+ (WebCore::FilterEffectRendererHelper::applyFilterEffect):
</ins><span class="cx">
</span><del>- Fix indentation in BasicShapes.cpp, and change enums to respect the
- style rules CamelCase instead of HAVING_UNDERSCORES.
</del><ins>+2014-04-08 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- No new tests, only style changes.
</del><ins>+ Subpixel rendering: Make border images device pixel aware.
+ https://bugs.webkit.org/show_bug.cgi?id=131209
</ins><span class="cx">
</span><del>- * css/BasicShapeFunctions.cpp:
- (WebCore::valueForBasicShape):
- (WebCore::basicShapeForValue):
- * css/CSSBasicShapes.cpp:
- (WebCore::buildRectangleString):
- (WebCore::CSSBasicShapeRectangle::equals):
- (WebCore::CSSBasicShapeCircle::equals):
- (WebCore::CSSBasicShapeEllipse::equals):
- (WebCore::CSSBasicShapePolygon::equals):
- (WebCore::CSSBasicShapeInsetRectangle::equals):
- * css/CSSBasicShapes.h:
- (WebCore::CSSBasicShapeRectangle::type):
- (WebCore::CSSBasicShapeInsetRectangle::type):
- (WebCore::CSSBasicShapeCircle::type):
- (WebCore::CSSBasicShapeEllipse::type):
- (WebCore::CSSBasicShapePolygon::type):
- * rendering/ExclusionShape.cpp:
- (WebCore::ExclusionShape::createExclusionShape):
- * rendering/ExclusionShapeInsideInfo.cpp:
- (WebCore::ExclusionShapeInsideInfo::isEnabledFor):
- * rendering/ExclusionShapeOutsideInfo.cpp:
- (WebCore::ExclusionShapeOutsideInfo::isEnabledFor):
- * rendering/style/BasicShapes.cpp:
- (WebCore::BasicShape::canBlend):
- (WebCore::BasicShapeRectangle::path):
- (WebCore::BasicShapeCircle::path):
- (WebCore::BasicShapeEllipse::path):
- (WebCore::BasicShapeInsetRectangle::path):
- * rendering/style/BasicShapes.h:
- (WebCore::BasicShapeRectangle::type):
- (WebCore::BasicShapeCircle::type):
- (WebCore::BasicShapeEllipse::type):
- (WebCore::BasicShapePolygon::type):
- (WebCore::BasicShapeInsetRectangle::type):
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-29 Otto Derek Cheung <otcheung@rim.com>
</del><ins>+ Snap border-image size and position to device pixels. It works both on generated and bitmap images.
</ins><span class="cx">
</span><del>- [BlackBerry] Handle Host-Only cookies
- https://bugs.webkit.org/show_bug.cgi?id=116969
</del><ins>+ Test: fast/borders/hidpi-border-image-gradient-on-subpixels.html
</ins><span class="cx">
</span><del>- PR 338809
- Reviewed by Rob Buis.
- Internally Reviewed by Joe Mason.
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintNinePieceImage):
</ins><span class="cx">
</span><del>- Adding support for host-only cookies (cookies with no
- specified domains). These cookies should only be returned
- when the host matches the cookie domain exactly.
</del><ins>+2014-04-08 Youenn Fablet <youenn.fablet@crf.canon.fr>
</ins><span class="cx">
</span><del>- Tested using Opera and Browser cookie test suite. Tested
- that host cookies are being stored in it's own map using
- Web Inspector.
</del><ins>+ [SOUP] Control cookie management according ResourceRequest.allowCookies()
+ https://bugs.webkit.org/show_bug.cgi?id=131026
</ins><span class="cx">
</span><del>- * platform/blackberry/CookieManager.cpp:
- (WebCore::CookieManager::getRawCookies):
- (WebCore::CookieManager::checkAndTreatCookie):
- (WebCore::CookieManager::findOrCreateCookieMap):
- * platform/blackberry/CookieParser.cpp:
- (WebCore::CookieParser::CookieParser):
- (WebCore::CookieParser::parseOneCookie):
- * platform/blackberry/ParsedCookie.h:
- (WebCore::ParsedCookie::isHostOnly):
- (ParsedCookie):
</del><ins>+ Reviewed by Sergio Villar Senin.
</ins><span class="cx">
</span><del>-2013-05-29 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Added per soup-message disabling of cookie jar manager when related ResourceRequest does not allow cookies (e.g. some cross-origin requests).
</ins><span class="cx">
</span><del>- Remove the size of DataVector in HTMLToken
- https://bugs.webkit.org/show_bug.cgi?id=116931
</del><ins>+ Patch is covered by unskipped test http/tests/xmlhttprequest/cross-origin-cookie-storage.html.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ * platform/network/soup/ResourceRequestSoup.cpp:
+ (WebCore::ResourceRequest::updateSoupMessageMembers): Added disabling of cookie jar manager if cookies are not allowed.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/7977721e62c471bfa17b84d82cd5d8243a4eb9a9.
</del><ins>+2014-04-08 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>- Shink HTMLToken by 1.5 kB
</del><ins>+ [CSS Grid Layout] Handle min/max height in the grid element
+ https://bugs.webkit.org/show_bug.cgi?id=131302
</ins><span class="cx">
</span><del>- HTMLToken has an inline vector for buffering characters during tokenization. We
- originally picked the inline capacity of this buffer somewhat arbitrarily. This
- CL tunes the number based on a somewhat non-scientific browse of a number of
- popular web sites.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- I (abarth) instrumented content_shell to log the length of each complete DataVector. I
- then browsed around a variety of web sites to collect data. The 99% percentile
- of DataVector lengths was just shy of 250 characters. I rounded that up to 256
- because powers of two are pretty. That means we'll malloc an external buffer
- less than 1% of the time, which seems fine.
</del><ins>+ Removed a FIXME in the code as we're already handling min/max
+ height in the code. Added a couple of test cases to improve the
+ test coverage.
</ins><span class="cx">
</span><del>- * html/parser/HTMLToken.h:
- (HTMLToken):
</del><ins>+ Merged from Blink r161876 by <jchaffraix@chromium.org>
</ins><span class="cx">
</span><del>-2013-05-29 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ Tests: fast/css-grid-layout/flex-content-sized-columns-resize.html
+ fast/css-grid-layout/grid-element-min-max-height.html
</ins><span class="cx">
</span><del>- [Windows] Build correction after r150837
</del><ins>+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::layoutGridItems):
</ins><span class="cx">
</span><del>- New 'forms' sub-folder of html needs to be included in
- copy operations.
</del><ins>+2014-04-08 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>- * WebCore.vcproj/copyForwardingHeaders.cmd: copy html/forms.
- * WebCore.vcxproj/WebCoreTestSupport.vcxproj.filters: Use correct
- 'obj32' folder for build output.
- * WebCore.vcxproj/copyForwardingHeaders.cmd: copy html/forms.
</del><ins>+ [CSSRegions] Remove unused RenderBox::clearRenderBoxRegionInfo
+ https://bugs.webkit.org/show_bug.cgi?id=131352
</ins><span class="cx">
</span><del>-2013-05-29 Tiancheng Jiang <tijiang@rim.com>
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- [BlackBerry] Radio Button UX updates.
- https://bugs.webkit.org/show_bug.cgi?id=116881
</del><ins>+ No new tests, code clean-up.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::clearRenderBoxRegionInfo): Deleted.
+ * rendering/RenderBox.h:
</ins><span class="cx">
</span><del>- BlackBerry PR 342322.
- Internally Reviewed by Jeff Rogers.
- Change images.
</del><ins>+2014-04-08 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- * platform/blackberry/RenderThemeBlackBerry.cpp:
- (WebCore::RenderThemeBlackBerry::paintRadio):
</del><ins>+ Buildfix after r166917
+ https://bugs.webkit.org/show_bug.cgi?id=131351
</ins><span class="cx">
</span><del>-2013-05-29 Tiancheng Jiang <tijiang@rim.com>
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- [BlackBerry] Datetime string is not centred in form controls.
- https://bugs.webkit.org/show_bug.cgi?id=100760
</del><ins>+ * accessibility/AccessibilityNodeObject.cpp:
+ (WebCore::accessibleNameForNode):
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+2014-04-08 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- BlackBerry PR 343512
- Internally Reviewed by Jeff Rogers.
</del><ins>+ Fix assertions triggered by CSS calc changes in r166860
+ https://bugs.webkit.org/show_bug.cgi?id=131346
</ins><span class="cx">
</span><del>- Adjust margin for inner text node of datetime form controls.
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- * css/themeBlackBerry.css:
- (input::-webkit-date-and-time-value):
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::getBorderRadiusCornerValues): Use isPercentNotCalculated() instead of
+ type() == Percent; no behavior change.
+ (WebCore::getBorderRadiusCornerValue): Ditto.
+ (WebCore::lineHeightFromStyle): Use isPercentNotCalculated() before code
+ that calls percent(), which won't work for a calculated length.
</ins><span class="cx">
</span><del>-2013-05-29 Brent Fulgham <bfulgham@apple.com>
</del><ins>+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::ApplyPropertyBorderRadius::applyValue): Use isNegative and isZero rather
+ than calling value() unconditionally. Should make calculated values work better.
</ins><span class="cx">
</span><del>- [Windows] Build correction after r150876
</del><ins>+ * html/HTMLPlugInImageElement.cpp:
+ (WebCore::is100Percent): Use isPercentNotCalculated() before code
+ that calls percent(), which won't work for a calculated length.
</ins><span class="cx">
</span><del>- A clean build will now fail because the BaseMultipleFieldsDateAndTimeInputType sources have
- been removed, but are still referenced in the project file.
</del><ins>+ * platform/Length.cpp:
+ (WebCore::CalculationValueMap::deref): Use adoptRef here instead of calling deref
+ immediately, so the deref will happen after calling remove. This makes the code
+ work properly even if it's reentered inside the calculation value's destructor.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Remove reference to BaseMultipleFieldsDateAndTimeInputType
- * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto
</del><ins>+ * platform/Length.h:
+ (WebCore::Length::percent): Change assert to isPercentNotCalculated, since the
+ value function this calls only works for non-calculated values anyway.
+ (WebCore::Length::isPercentNotCalculated): Added.
+ (WebCore::Length::isPercent): Changed to call isPercentNotCalculated.
+ (WebCore::Length::isSpecified): Changed to call isPercent.
</ins><span class="cx">
</span><del>-2013-05-28 Jer Noble <jer.noble@apple.com>
</del><ins>+ * platform/graphics/transforms/TranslateTransformOperation.h:
+ (WebCore::TranslateTransformOperation::apply): Use isPercentNotCalculated()
+ instead of type() == Percent; no behavior change.
</ins><span class="cx">
</span><del>- Support the 'onended' EventListener property for AudioBufferSourceNode and OscillatorNode.
- https://bugs.webkit.org/show_bug.cgi?id=116798
</del><ins>+ * rendering/AutoTableLayout.cpp:
+ (WebCore::AutoTableLayout::recalcColumn): Use isPercentNotCalculated()
+ before code that calls value() or percent(), which won't work for a calculated length.
+ (WebCore::AutoTableLayout::computeIntrinsicLogicalWidths): Ditto.
+ (WebCore::AutoTableLayout::calcEffectiveLogicalWidth): Ditto.
+ (WebCore::AutoTableLayout::layout): Ditto.
+ * rendering/FixedTableLayout.cpp:
+ (WebCore::FixedTableLayout::layout): Ditto.
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::calculateImageIntrinsicDimensions): Ditto.
+ * rendering/RenderTableSection.cpp:
+ (WebCore::updateLogicalHeightForCell): Ditto.
+ (WebCore::RenderTableSection::distributeExtraLogicalHeightToPercentRows): Ditto.
+ (WebCore::RenderTableSection::distributeExtraLogicalHeightToRows): Ditto.
</ins><span class="cx">
</span><ins>+ * rendering/style/RenderStyle.cpp:
+ (WebCore::requireTransformOrigin): Use modern for loop. Also marked function static,
+ since it's private to this file.
+ (WebCore::RenderStyle::applyTransform): Use isPercentNotCalculated() instead of
+ type() == Percent; no behavior change. Also use a modern for loop and auto& to avoid
+ a really long type name.
+
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::computeIntrinsicRatioInformation): Use isPercentNotCalculated()
+ before code that calls percent(), which won't work for a calculated length.
+
+ * platform/Length.h:
+ (WebCore::Length::percent):
+ (WebCore::Length::isPercentNotCalculated):
+ (WebCore::Length::isPercent):
+ (WebCore::Length::isSpecified):
+ * platform/graphics/transforms/TranslateTransformOperation.h:
+ (WebCore::TranslateTransformOperation::apply):
+ * rendering/AutoTableLayout.cpp:
+ (WebCore::AutoTableLayout::recalcColumn):
+ (WebCore::AutoTableLayout::computeIntrinsicLogicalWidths):
+ (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
+ (WebCore::AutoTableLayout::layout):
+ * rendering/FixedTableLayout.cpp:
+ (WebCore::FixedTableLayout::layout):
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::calculateImageIntrinsicDimensions):
+ * rendering/RenderTableSection.cpp:
+ (WebCore::updateLogicalHeightForCell):
+ (WebCore::RenderTableSection::distributeExtraLogicalHeightToPercentRows):
+ (WebCore::RenderTableSection::distributeExtraLogicalHeightToRows):
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::requireTransformOrigin):
+ (WebCore::RenderStyle::applyTransform):
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::computeIntrinsicRatioInformation):
+
+2014-04-08 Xabier Rodriguez Calvar <calvaris@igalia.com>
+
+ [GTK] Remove media controls dead code
+ https://bugs.webkit.org/show_bug.cgi?id=131300
+
</ins><span class="cx"> Reviewed by Eric Carlson.
</span><span class="cx">
</span><del>- Tests: webaudio/audiobuffersource-ended.html
- webaudio/oscillator-ended.html
</del><ins>+ MediaControlsGtk.cpp is no longer used so we can remove it from
+ the repo.
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioScheduledSourceNode.cpp:
- (WebCore::AudioScheduledSourceNode::AudioScheduledSourceNode):
- (WebCore::AudioScheduledSourceNode::setOnended): Set m_hasEndedListener.
- (WebCore::AudioScheduledSourceNode::finish): Call notifyEndedDispatch on the main thread.
- (WebCore::AudioScheduledSourceNode::notifyEndedDispatch): Call notifyEnded().
- (WebCore::AudioScheduledSourceNode::notifyEnded): Call the onended event listener.
- * Modules/webaudio/AudioScheduledSourceNode.h:
- (WebCore::AudioScheduledSourceNode::onended): Added boilerplate.
- * Modules/webaudio/AudioBufferSourceNode.idl: Added the onerror attribute.
- * Modules/webaudio/OscillatorNode.idl: Ditto.
</del><ins>+ No new tests needed.
</ins><span class="cx">
</span><del>-2013-05-29 Bem Jones-Bey <bjonesbe@adobe.com>
</del><ins>+ * PlatformGTK.cmake: Remove html/shadow/MediaControlsGtk.cpp from
+ compilation.
+ * html/shadow/MediaControlsGtk.cpp: Removed.
</ins><span class="cx">
</span><del>- [CSS Shapes] Support parsing inset-rectangle shapes
- https://bugs.webkit.org/show_bug.cgi?id=116638
</del><ins>+2014-04-08 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ [CSSRegions] Fixed positioned elements in named flows have fragmented content
+ https://bugs.webkit.org/show_bug.cgi?id=130595
</ins><span class="cx">
</span><del>- Add parsing for inset-rectangle. It's very similar to parsing for
- rectangle.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- No new tests, updated existing tests to cover this.
</del><ins>+ Fixed positioned elements that have the named flow as parent are positioned
+ and sized relative to the viewport. Because of that, when the named flow
+ has an associated region chain, the fixed positioned elements should not
+ be fragmented.
</ins><span class="cx">
</span><del>- * css/BasicShapeFunctions.cpp:
- (WebCore::valueForBasicShape): Add support for inset rectangles.
- (WebCore::basicShapeForValue): Add support for inset rectangles.
- * css/CSSBasicShapes.cpp:
- (WebCore::buildInsetRectangleString): Create an inset-rectangle css
- string.
- (WebCore::CSSBasicShapeInsetRectangle::cssText): Convert inset
- rectangle shape to a CSS string.
- (WebCore::CSSBasicShapeInsetRectangle::equals): Compare two inset
- rectangles.
- (WebCore::CSSBasicShapeInsetRectangle::serializeResolvingVariables):
- Create an inset rectangle string, with CSS variables resolved.
- (WebCore::CSSBasicShapeInsetRectangle::hasVariableReference):
- Determine if this inset rectangle has any CSS Variable references.
- * css/CSSBasicShapes.h:
- (CSSBasicShapeInsetRectangle): Add inset rectangle class. This is a
- direct representation of the CSS property. All the methods below
- are just simple getters and setters, along with a construtor and a
- factory method.
- (WebCore::CSSBasicShapeInsetRectangle::create):
- (WebCore::CSSBasicShapeInsetRectangle::top):
- (WebCore::CSSBasicShapeInsetRectangle::right):
- (WebCore::CSSBasicShapeInsetRectangle::bottom):
- (WebCore::CSSBasicShapeInsetRectangle::left):
- (WebCore::CSSBasicShapeInsetRectangle::radiusX):
- (WebCore::CSSBasicShapeInsetRectangle::radiusY):
- (WebCore::CSSBasicShapeInsetRectangle::setTop):
- (WebCore::CSSBasicShapeInsetRectangle::setRight):
- (WebCore::CSSBasicShapeInsetRectangle::setBottom):
- (WebCore::CSSBasicShapeInsetRectangle::setLeft):
- (WebCore::CSSBasicShapeInsetRectangle::setRadiusX):
- (WebCore::CSSBasicShapeInsetRectangle::setRadiusY):
- (WebCore::CSSBasicShapeInsetRectangle::type):
- (WebCore::CSSBasicShapeInsetRectangle::CSSBasicShapeInsetRectangle):
- (WebCore):
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseBasicShapeInsetRectangle): Parse the
- inset-rectangle CSS property and create a
- CSSBasicShapeInsetRectangle.
- (WebCore::CSSParser::parseBasicShape): Add a call to parse
- inset-rectangle.
- * rendering/ExclusionShapeInsideInfo.cpp:
- (WebCore::ExclusionShapeInsideInfo::isEnabledFor): Disable
- inset-rectangles, since only the parsing has been implemented so
- far.
- * rendering/ExclusionShapeOutsideInfo.cpp:
- (WebCore::ExclusionShapeOutsideInfo::isEnabledFor): Disable
- inset-rectangles, since only the parsing has been implemented so
- far.
- * rendering/style/BasicShapes.cpp:
- (WebCore::BasicShapeInsetRectangle::path): Calculate the Path for an
- inset-rectangle.
- (WebCore::BasicShapeInsetRectangle::blend): Blend two inset rectangles
- together at a point depending on the "progress" and return the
- blended rectangle.
- * rendering/style/BasicShapes.h:
- (BasicShapeInsetRectangle): Add higher level inset rectangle class.
- This is used outside of the CSS representation. The methods below
- are just simple getters and setters, along with a constructor and
- a factory method.
- (WebCore::BasicShapeInsetRectangle::create):
- (WebCore::BasicShapeInsetRectangle::top):
- (WebCore::BasicShapeInsetRectangle::right):
- (WebCore::BasicShapeInsetRectangle::bottom):
- (WebCore::BasicShapeInsetRectangle::left):
- (WebCore::BasicShapeInsetRectangle::cornerRadiusX):
- (WebCore::BasicShapeInsetRectangle::cornerRadiusY):
- (WebCore::BasicShapeInsetRectangle::setTop):
- (WebCore::BasicShapeInsetRectangle::setRight):
- (WebCore::BasicShapeInsetRectangle::setBottom):
- (WebCore::BasicShapeInsetRectangle::setLeft):
- (WebCore::BasicShapeInsetRectangle::setCornerRadiusX):
- (WebCore::BasicShapeInsetRectangle::setCornerRadiusY):
- (WebCore::BasicShapeInsetRectangle::type):
- (WebCore::BasicShapeInsetRectangle::BasicShapeInsetRectangle):
</del><ins>+ By making a fixed positioned element with a named flow parent unsplittable
+ for fragmentation, we prevent this wrong behavior.
</ins><span class="cx">
</span><del>-2013-05-29 Andreas Kling <akling@apple.com>
</del><ins>+ Test: fast/regions/fixed-pos-content-fragmented.html
</ins><span class="cx">
</span><del>- Move computed style extraction out of CSSComputedStyleDeclaration.
- <http://webkit.org/b/116965>
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::isUnsplittableForPagination):
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+2014-04-07 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Make it possible to get computed CSSValues from a Node without creating a CSSOM
- style declaration object.
</del><ins>+ Regression: AX: image labels no longer exposed to AX API in SVG test case
+ https://bugs.webkit.org/show_bug.cgi?id=131208
</ins><span class="cx">
</span><del>- The bulk of the logic moves to a new class; ComputedStyleExtractor, which can be created
- on the stack, and takes the same setup variables as CSSComputedStyleDeclaration.
</del><ins>+ Reviewed by Daniel Bates.
</ins><span class="cx">
</span><del>- This is prep to enable futuristic optimizations in editing and elsewhere.
</del><ins>+ accessibleNameForNode should work on any Element, not just HTML elements.
</ins><span class="cx">
</span><del>- * css/CSSComputedStyleDeclaration.h:
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
</del><ins>+ Test: accessibility/svg-labelledby.html
</ins><span class="cx">
</span><del>- Create a ComputedStyleExtractor to do the work!
</del><ins>+ * accessibility/AccessibilityNodeObject.cpp:
+ (WebCore::accessibleNameForNode):
</ins><span class="cx">
</span><del>- (WebCore::ComputedStyleExtractor::currentColorOrValidColor):
- (WebCore::ComputedStyleExtractor::valueForFilter):
- (WebCore::ComputedStyleExtractor::ComputedStyleExtractor):
- (WebCore::ComputedStyleExtractor::valueForShadow):
- (WebCore::ComputedStyleExtractor::styledNode):
- (WebCore::ComputedStyleExtractor::propertyValue):
- (WebCore::ComputedStyleExtractor::getCSSPropertyValuesForShorthandProperties):
- (WebCore::ComputedStyleExtractor::getCSSPropertyValuesForSidesShorthand):
- (WebCore::ComputedStyleExtractor::getCSSPropertyValuesForGridShorthand):
- (WebCore::ComputedStyleExtractor::getBackgroundShorthandValue):
- * css/SVGCSSComputedStyleDeclaration.cpp:
- (WebCore::ComputedStyleExtractor::adjustSVGPaintForCurrentColor):
- (WebCore::ComputedStyleExtractor::svgPropertyValue):
</del><ins>+2014-04-08 Andres Gomez <agomez@igalia.com>
</ins><span class="cx">
</span><del>- Moved all of these from CSSComputedStyleDeclaration to the new class.
</del><ins>+ [GTK] [EFL] Build fails with GCC < 4.8.x
+ https://bugs.webkit.org/show_bug.cgi?id=130585
</ins><span class="cx">
</span><del>- * rendering/style/RenderStyle.h:
- * svg/SVGPaint.h:
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Have these two befriend ComputedStyleExtractor.
</del><ins>+ The behavior in lower versions of GCC seem to be related to
+ http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#2132.
</ins><span class="cx">
</span><del>-2013-05-29 Antti Koivisto <antti@apple.com>
</del><ins>+ Provided explicit casts for the failing ambiguous overloads.
</ins><span class="cx">
</span><del>- Another attempt to fix windows build.
-
- Not reviewed.
</del><ins>+ * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
+ (WebCore::AudioFileReader::createBus):
+ * platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp:
+ (webKitMediaSrcChangeState):
+ (webKitMediaVideoSrcNeedDataCb):
+ (webKitMediaAudioSrcNeedDataCb):
+ (webKitMediaVideoSrcEnoughDataCb):
+ (webKitMediaAudioSrcEnoughDataCb):
+ (webKitMediaVideoSrcSeekDataCb):
+ (webKitMediaAudioSrcSeekDataCb):
+ * platform/gtk/GtkDragAndDropHelper.cpp:
+ (WebCore::GtkDragAndDropHelper::handleDragLeave):
+ * platform/gtk/SharedTimerGtk.cpp:
+ (WebCore::setSharedTimerFireInterval):
</ins><span class="cx">
</span><del>- * css/CSSFontSelector.h:
</del><ins>+2014-04-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-29 Antti Koivisto <antti@apple.com>
</del><ins>+ Change NavigatorContentUtils client ownership from port side to NavigatorContentUtils
+ https://bugs.webkit.org/show_bug.cgi?id=131299
</ins><span class="cx">
</span><del>- Try to fix window build.
-
- Not reviewed.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * platform/graphics/FontCache.h:
- (WebCore::FontDescriptionFontDataCacheKey::computeHash):
</del><ins>+ EFL and GTK ports have managed own client of NavigatorContentUtils though it is only passed to
+ NavigatorContentUtils. The NavigatorContentUtils has used the client to call port functions. So,
+ there is no reason port implementation needs to manage the ownership. To manage the client is
+ unnecessary work in current implementation.
</ins><span class="cx">
</span><del>-2013-05-29 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ No new tests, no behavior changes.
</ins><span class="cx">
</span><del>- Fix the firing of m_paintRelatedMilestonesTimer
- https://bugs.webkit.org/show_bug.cgi?id=116919
</del><ins>+ * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
+ (WebCore::NavigatorContentUtils::create):
+ (WebCore::provideNavigatorContentUtilsTo):
+ * Modules/navigatorcontentutils/NavigatorContentUtils.h:
+ * Modules/navigatorcontentutils/NavigatorContentUtilsClient.h:
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+2014-04-07 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- r150671 intended to change things so that paint-related milestones
- only fire when painting has actually happened, so that WebKit clients
- are notified when we actually have bits to present.
-
- However, it made an incorrect assumption that painting would happen
- inside of flushCompositingState(). This is not the case; flushCompositingState()
- will just dirty CALayers, and later on Core Animation will ask us to paint them.
-
- This incorrect assumption meant that we would never start the
- m_paintRelatedMilestonesTimer, so never fire the milestones.
-
- Fix by starting the m_paintRelatedMilestonesTimer via the RenderLayerBacking
- paintContents call back. At this time we know we're painting, so we can both
- set the FrameView's last paint time, and start up the timer. We also only
- want to start the timer if there are pending milestones.
</del><ins>+ [CSS Shapes] Simplify the parsing of width arguments for Inset shapes
+ https://bugs.webkit.org/show_bug.cgi?id=131305
</ins><span class="cx">
</span><del>- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::paintIntoLayer):
- (WebCore::RenderLayerBacking::paintContents):
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
- (WebCore::RenderLayerCompositor::didPaintBacking):
- * rendering/RenderLayerCompositor.h:
- (RenderLayerCompositor):
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-05-29 Antti Koivisto <antti@apple.com>
</del><ins>+ This code introduces some helper functions for setting the size arguments of inset shapes. This change
+ also modifies the code to be the same as in Blink, so it helps us to keep the shapes code similar.
</ins><span class="cx">
</span><del>- Share FontGlyphs
- https://bugs.webkit.org/show_bug.cgi?id=116863
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><del>- Reviewed by Anreas Kling.
</del><ins>+ * css/CSSBasicShapes.h:
+ (WebCore::CSSBasicShapeInset::updateShapeSize4Values):
+ (WebCore::CSSBasicShapeInset::updateShapeSize1Value):
+ (WebCore::CSSBasicShapeInset::updateShapeSize2Values):
+ (WebCore::CSSBasicShapeInset::updateShapeSize3Values):
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseBasicShapeInset):
</ins><span class="cx">
</span><del>- Style system generates many Font objects that are identical or similar enough to have identical FontGlyphs.
- We can figure out that the FontGlyphs are going to be the same and share them. This reduces memory usage.
- It also improves performance as the glyph cache and the width cache hang from FontGlyphs and their hit rate
- increases.
-
- On PLT3 this takes the number of live FontGlyphs at the end from 40k+ to <1k. Width cache hit rate improves
- from ~42% to ~55%.
</del><ins>+2014-04-07 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- * css/CSSFontSelector.cpp:
- (WebCore::CSSFontSelector::CSSFontSelector):
-
- Add unique id we can use in cache key.
</del><ins>+ fast/css3-text/css3-text-decoration/text-decoration-thickness.html fails on GTK
+ https://bugs.webkit.org/show_bug.cgi?id=129957
</ins><span class="cx">
</span><del>- (WebCore::CSSFontSelector::dispatchInvalidationCallbacks):
-
- Bump the version number on invalidation so we don't reuse cache entries after web font is loaded.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- (WebCore::CSSFontSelector::resolvesFamilyFor):
-
- Test if FontSelector is needed for resolving a particular FontDescription.
</del><ins>+ Causes existing tests to pass.
</ins><span class="cx">
</span><del>- * css/CSSFontSelector.h:
- * page/Settings.cpp:
- (WebCore::setGenericFontFamilyMap):
-
- Invalidate the cache if standard font settings change.
</del><ins>+ * platform/graphics/cairo/GraphicsContextCG.cpp: Use the now-shared computeLineBoundsAndAntialiasingModeForText.
+ * platform/graphics/cairo/GraphicsContextCairo.cpp: Align the Cairo version of text underline drawing with the CG version.
+ * platform/graphics/GraphicsContext.h: Add computeLineBoundsAndAntialiasingModeForText.
+ * platform/graphics/GraphicsContext.cpp: Ditto.
</ins><span class="cx">
</span><del>- * platform/graphics/Font.cpp:
- (FontGlyphsCacheKey):
- (FontGlyphsCacheEntry):
- (WebCore::operator==):
- (WebCore::fontGlyphsCache):
- (WebCore::invalidateFontGlyphsCache):
- (WebCore::makeFontSelectorFlags):
- (WebCore::makeFontGlyphsCacheKey):
-
- The cache key consists of
-
- - all families.
- - shared key with the lower level FontData cache (FontCache), guaranteeing FontDatas would be identical.
- - font selector specific keys.
</del><ins>+2014-04-07 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- These guarantee the FontData will be identical.
</del><ins>+ REGRESSION (r163194-r163227): Garbage tiles in overflow of RTL page with
+ background image
+ https://bugs.webkit.org/show_bug.cgi?id=131323
+ -and corresponding-
+ <rdar://problem/16402013>
</ins><span class="cx">
</span><del>- (WebCore::computeFontGlyphsCacheHash):
- (WebCore::pruneUnreferencedFromFontGlyphsCache):
-
- Don't accumulate unused entries.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- (WebCore::retrieveOrAddCachedFontGlyphs):
- (WebCore::Font::update):
- * platform/graphics/Font.h:
- * platform/graphics/FontCache.cpp:
- (WebCore::FontPlatformDataCacheKey::FontPlatformDataCacheKey):
- (WebCore::FontPlatformDataCacheKey::isHashTableDeletedValue):
- (WebCore::FontPlatformDataCacheKey::operator==):
- (FontPlatformDataCacheKey):
- (WebCore::computeHash):
- (WebCore::FontCache::getCachedFontPlatformData):
- (WebCore::FontCache::purgeInactiveFontData):
- (WebCore::FontCache::invalidate):
- * platform/graphics/FontCache.h:
- (WebCore::FontDescriptionFontDataCacheKey::FontDescriptionFontDataCacheKey):
- (WebCore::FontDescriptionFontDataCacheKey::makeFlagKey):
- (WebCore::FontDescriptionFontDataCacheKey::operator==):
- (WebCore::FontDescriptionFontDataCacheKey::operator!=):
- (WebCore::FontDescriptionFontDataCacheKey::computeHash):
-
- Separate part of the key for sharing.
</del><ins>+ Returning the TiledBacking::bounds() for the
+ FrameView::extendedBackgroundRectForPainting() in convenient for ltr pages, but it
+ is simply incorrect in rtl. There is no easy way to map the rect into the right
+ coordinate space, so this patch re-works the code to use computations in
+ RenderView to get the right rect.
</ins><span class="cx">
</span><del>- (FontDescriptionFontDataCacheKey):
- * platform/graphics/FontFallbackList.cpp:
- (WebCore::FontGlyphs::FontGlyphs):
- (WebCore::FontGlyphs::releaseFontData):
- * platform/graphics/FontFallbackList.h:
- (WebCore::FontGlyphs::create):
- (WebCore::FontGlyphs::~FontGlyphs):
-
- Remove invalidate(). If FontGlyphs needs invalidation it is reconstructed.
</del><ins>+ Call RenderView::unextendedBackgroundRect() and expand and move it based on the
+ TiledBacking’s margins.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::extendedBackgroundRectForPainting):
</ins><span class="cx">
</span><del>- * platform/graphics/FontSelector.h:
</del><ins>+ The logic that used to be in backgroundRect() has been moved to
+ unextendedBackgroundRect().
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::unextendedBackgroundRect):
+ (WebCore::RenderView::backgroundRect):
+ * rendering/RenderView.h:
</ins><span class="cx">
</span><del>-2013-05-29 Nico Weber <thakis@chromium.org>
</del><ins>+2014-04-07 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- Remove unused file PlatformGestureEvent.cpp
- https://bugs.webkit.org/show_bug.cgi?id=116894
</del><ins>+ [CSS Shapes] inset complex calc() args vanish in serialized computed style
+ https://bugs.webkit.org/show_bug.cgi?id=129838
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Bem Jones-Bey.
</ins><span class="cx">
</span><del>- This was added in https://bugs.webkit.org/show_bug.cgi?id=49345 but
- not removed in https://bugs.webkit.org/show_bug.cgi?id=77492 which
- removed most of that code again.
-
- * platform/PlatformGestureRecognizer.cpp: Removed.
</del><ins>+ We didn't pass the style parameter when setting the width members of CSSBasicShapeInset,
+ which lead to a 'should never reach asserttion' in CSSPrimitiveValue::init. This patch
+ adds the missing parameters to the call sites.
</ins><span class="cx">
</span><del>-2013-05-29 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
</del><ins>+ Extended existing parsing test script.
</ins><span class="cx">
</span><del>- [texmap][GStreamer][GTK] Composited Video support
- https://bugs.webkit.org/show_bug.cgi?id=86410
</del><ins>+ * css/BasicShapeFunctions.cpp:
+ (WebCore::valueForBasicShape):
</ins><span class="cx">
</span><del>- Reviewed by Noam Rosenthal.
</del><ins>+2014-04-07 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Enable the video accelerated compositing using the WebKit's
- TextureMapper.
</del><ins>+ [iOS] MediaDocument should allow autoplay
+ https://bugs.webkit.org/show_bug.cgi?id=131301
</ins><span class="cx">
</span><del>- This patch does not use hardware accelerated video decoding. It
- provides a generic path for system memory buffers.
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- This new functionality is only available when the coordinated graphics
- system is not used.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::HTMLMediaElement): Don't add the RequireUserGestureForRateChange
+ behavior restriction when in a MediaDocument.
</ins><span class="cx">
</span><del>- No new tests, already covered by existing tests.
</del><ins>+2014-04-07 Hyowon Kim <hw1008.kim@samsung.com>
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
- (WebCore::MediaPlayerPrivateGStreamerBase::MediaPlayerPrivateGStreamerBase):
- (WebCore):
- (WebCore::MediaPlayerPrivateGStreamerBase::updateTexture): update the
- texture content with the new received video buffer.
- (WebCore::MediaPlayerPrivateGStreamerBase::triggerRepaint): choose to
- use the accelerated compositing or the normal code path
- (WebCore::MediaPlayerPrivateGStreamerBase::paint): if accelerated
- compositing is used this method is halted.
- (WebCore::MediaPlayerPrivateGStreamerBase::paintToTextureMapper): get
- a texture from the pool and draws it if it is already available.
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
- (MediaPlayerPrivateGStreamerBase):
- (WebCore::MediaPlayerPrivateGStreamerBase::platformLayer): returns itself
- (WebCore::MediaPlayerPrivateGStreamerBase::supportsAcceleratedRendering):
- returns true
</del><ins>+ Move to using std::unique_ptr for opengl, texmap, transforms and efl in WebCore/platform/graphics.
+ https://bugs.webkit.org/show_bug.cgi?id=131276
</ins><span class="cx">
</span><del>-2013-05-29 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- [Qt] Missing files from build after r150853
- https://bugs.webkit.org/show_bug.cgi?id=116932
</del><ins>+ Replace uses of OwnPtr and PassOwnPtr in code under WebCore/platform/graphics/
+ opengl, texmap, transforms and efl with std::unique_ptr.
</ins><span class="cx">
</span><del>- Reviewed by Csaba Osztrogonác.
</del><ins>+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::initializeNewContext):
+ * platform/graphics/GraphicsContext3D.h:
+ * platform/graphics/GraphicsContext3DPrivate.cpp:
+ (WebCore::GraphicsContext3DPrivate::create): Deleted.
+ * platform/graphics/GraphicsContext3DPrivate.h:
+ * platform/graphics/cairo/GraphicsContext3DCairo.cpp:
+ (WebCore::GraphicsContext3D::GraphicsContext3D):
+ (WebCore::GraphicsContext3D::setContextLostCallback):
+ (WebCore::GraphicsContext3D::setErrorMessageCallback):
+ * platform/graphics/efl/EvasGLContext.h:
+ * platform/graphics/efl/EvasGLSurface.h:
+ * platform/graphics/efl/GraphicsContext3DEfl.cpp:
+ (WebCore::GraphicsContext3D::setContextLostCallback):
+ (WebCore::GraphicsContext3D::setErrorMessageCallback):
+ * platform/graphics/efl/GraphicsContext3DPrivate.cpp:
+ (WebCore::GraphicsContext3DPrivate::create):
+ (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
+ * platform/graphics/efl/GraphicsContext3DPrivate.h:
+ * platform/graphics/mac/GraphicsContext3DMac.mm:
+ (WebCore::GraphicsContext3D::GraphicsContext3D):
+ (WebCore::GraphicsContext3D::setContextLostCallback):
+ (WebCore::GraphicsContext3D::setErrorMessageCallback):
+ * platform/graphics/opengl/Extensions3DOpenGLES.cpp:
+ (WebCore::Extensions3DOpenGLES::setEXTContextLostCallback):
+ * platform/graphics/opengl/Extensions3DOpenGLES.h:
+ * platform/graphics/opengl/GLPlatformContext.cpp:
+ (WebCore::createOffScreenContext):
+ (WebCore::GLPlatformContext::createContext):
+ * platform/graphics/opengl/GLPlatformContext.h:
+ * platform/graphics/opengl/GLPlatformSurface.cpp:
+ (WebCore::GLPlatformSurface::createOffScreenSurface):
+ * platform/graphics/opengl/GLPlatformSurface.h:
+ * platform/graphics/surfaces/efl/GraphicsSurfaceCommon.cpp:
+ * platform/graphics/surfaces/egl/EGLSurface.cpp:
+ (WebCore::EGLOffScreenSurface::createOffScreenSurface):
+ * platform/graphics/surfaces/egl/EGLSurface.h:
+ * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
+ (WebCore::GraphicsLayerTextureMapper::GraphicsLayerTextureMapper):
+ * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
+ * platform/graphics/texmap/TextureMapper.cpp:
+ (WebCore::TextureMapper::create):
+ (WebCore::TextureMapper::TextureMapper):
+ * platform/graphics/texmap/TextureMapper.h:
+ (WebCore::TextureMapper::platformCreateAccelerated):
+ * platform/graphics/texmap/TextureMapperGL.cpp:
+ (WebCore::TextureMapper::platformCreateAccelerated):
+ * platform/graphics/texmap/TextureMapperGL.h:
+ (WebCore::TextureMapperGL::create): Deleted.
+ * platform/graphics/texmap/TextureMapperImageBuffer.h:
+ (WebCore::TextureMapperImageBuffer::TextureMapperImageBuffer):
+ (WebCore::TextureMapperImageBuffer::create): Deleted.
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
+ (WebCore::CoordinatedGraphicsScene::purgeGLResources):
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h:
+ * platform/graphics/transforms/TransformState.cpp:
+ (WebCore::TransformState::operator=):
+ (WebCore::TransformState::applyTransform):
+ * platform/graphics/transforms/TransformState.h:
+ * platform/graphics/win/GraphicsContext3DWin.cpp:
+ (WebCore::GraphicsContext3D::GraphicsContext3D):
+ (WebCore::GraphicsContext3D::setContextLostCallback):
+ (WebCore::GraphicsContext3D::setErrorMessageCallback):
</ins><span class="cx">
</span><del>- * Target.pri: Added missing include path.
</del><ins>+2014-04-07 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>-2013-05-29 Mihai Maerean <mmaerean@adobe.com>
</del><ins>+ [iOS WebKit2] Make back-buffers purgeable when possible
+ https://bugs.webkit.org/show_bug.cgi?id=131213
+ <rdar://problem/15373906>
</ins><span class="cx">
</span><del>- [CSS Regions] Content that has overflow: scroll cannot be scrolled by dragging the scroll thumbs with the mouse
- https://bugs.webkit.org/show_bug.cgi?id=113703
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/cg/IOSurfacePool.cpp:
+ (WebCore::IOSurfacePool::takeSurface):
+ (WebCore::IOSurfacePool::markOlderSurfacesPurgeable):
+ (WebCore::IOSurfacePool::showPoolStatistics):
+ * platform/graphics/cocoa/IOSurface.h:
+ * platform/graphics/cocoa/IOSurface.mm:
+ (IOSurface::isVolatile):
+ (IOSurface::setIsVolatile):
+ Rename purgeability functions to match the system
+ and reduce confusion between purgeable memory
+ and volatile vs. non-volatile memory.
</ins><span class="cx">
</span><del>- The point inside a box that's inside a region has its coordinates relative to the region, not the FlowThread
- that is its container in the RenderObject tree.
</del><ins>+2014-04-07 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Previously, the coordinates were computed relatively to the FlowThread which doesn't really have a location in
- the page.
</del><ins>+ Split CSS Selectors pseudo class and pseudo elements
+ https://bugs.webkit.org/show_bug.cgi?id=131295
</ins><span class="cx">
</span><del>- Tests: fast/regions/drag-scrollbars-of-content.html
- fast/regions/hover-in-second-region.html
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::offsetFromContainer):
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
</del><ins>+ Split pseudo class and pseudo element to make it clearer what pseudo types
+ are possible for a given match type.
</ins><span class="cx">
</span><del>-2013-05-29 Andreas Kling <akling@apple.com>
</del><ins>+ Pseudo Element types are separated and Pseudo Class are left in place. The Pseudo Class
+ will have to be renamed too but that will be done separately to make this change smaller.
</ins><span class="cx">
</span><del>- Fix dumb typo in r150879.
</del><ins>+ * css/CSSGrammar.y.in:
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::rewriteSpecifiersWithElementName):
+ (WebCore::CSSParser::rewriteSpecifiers):
+ Use a method isPseudoElementCueFunction() to abstract the #ifdef out of the parser.
</ins><span class="cx">
</span><del>- * editing/htmlediting.cpp:
- (WebCore::nextLeafNode):
</del><ins>+ * css/CSSParserValues.cpp:
+ (WebCore::CSSParserSelector::parsePseudoElementSelector):
</ins><span class="cx">
</span><del>-2013-05-29 Andreas Kling <akling@apple.com>
</del><ins>+ (WebCore::CSSParserSelector::parsePseudoElementCueFunctionSelector):
+ Rename to specify this is for the pseudo element cue function, not the pseudo element cue.
</ins><span class="cx">
</span><del>- Move leaf Node traversal helpers to htmlediting.cpp
- <http://webkit.org/b/116940>
</del><ins>+ (WebCore::CSSParserSelector::parsePseudoClassAndCompatibilityElementSelector):
+ (WebCore::CSSParserSelector::parsePseudoCueFunctionSelector): Deleted.
+ * css/CSSParserValues.h:
+ (WebCore::CSSParserSelector::isPseudoElementCueFunction):
+ * css/CSSSelector.cpp:
+ (WebCore::CSSSelector::specificityForOneSelector):
+ (WebCore::CSSSelector::pseudoId):
+ (WebCore::CSSSelector::parsePseudoElementType):
+ (WebCore::CSSSelector::operator==):
+ * css/CSSSelector.h:
+ (WebCore::CSSSelector::pseudoType):
+ (WebCore::CSSSelector::setPseudoElementType):
+ (WebCore::CSSSelector::pseudoElementType):
+ (WebCore::CSSSelector::isUnknownPseudoElement):
+ (WebCore::CSSSelector::isCustomPseudoElement):
+ (WebCore::pseudoClassIsRelativeToSiblings):
+ (WebCore::CSSSelector::isSiblingSelector):
+ * css/RuleFeature.cpp:
+ (WebCore::RuleFeatureSet::collectFeaturesFromSelector):
+ * css/RuleSet.cpp:
+ (WebCore::determinePropertyWhitelistType):
+ (WebCore::RuleSet::findBestRuleSetAndAdd):
+ * css/SelectorChecker.cpp:
+ (WebCore::SelectorChecker::matchRecursively):
+ (WebCore::SelectorChecker::checkOne):
+ (WebCore::SelectorChecker::checkScrollbarPseudoClass):
+ (WebCore::SelectorChecker::determineLinkMatchType):
+ * css/SelectorPseudoClassAndCompatibilityElementMap.in:
+ * css/SelectorPseudoElementTypeMap.in:
+ * css/SelectorPseudoTypeMap.h:
+ * css/makeSelectorPseudoClassAndCompatibilityElementMap.py:
+ * css/makeSelectorPseudoElementsMap.py:
+ (enumerablePseudoType):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::getMatchedCSSRules):
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * rendering/style/RenderStyleConstants.h:
+ All the fullscreen pseudo types are pseudo class selectors. They should not have a pseudo ID.
</ins><span class="cx">
</span><del>- Move Node::previousLeafNode() and Node::nextLeafNode() to htmlediting.cpp along with their helpers.
- Fixes an 8-year old FIXME. \o/
</del><ins>+2014-04-07 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>- * dom/Node.h:
- * dom/Node.cpp:
- * dom/Position.cpp:
- (WebCore::nextRenderedEditable):
- (WebCore::previousRenderedEditable):
- * editing/VisibleUnits.cpp:
- (WebCore::previousLeafWithSameEditability):
- (WebCore::nextLeafWithSameEditability):
- * editing/htmlediting.h:
- * editing/htmlediting.cpp:
- (WebCore::previousNodeConsideringAtomicNodes):
- (WebCore::nextNodeConsideringAtomicNodes):
- (WebCore::previousLeafNode):
- (WebCore::nextLeafNode):
</del><ins>+ Web Replay: detect possible replay divergence from unexpected DOM event dispatches
+ https://bugs.webkit.org/show_bug.cgi?id=131193
</ins><span class="cx">
</span><del>-2013-05-29 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- [Qt] Missing files from build after r150853
- https://bugs.webkit.org/show_bug.cgi?id=116932
</del><ins>+ Add assertions to catch potential nondeterministic behavior.
</ins><span class="cx">
</span><del>- Reviewed by Csaba Osztrogonác.
</del><ins>+ The assertion added by this patch catches dispatched DOM events
+ that are triggered by nondeterministic event loop cycles. If we
+ did not capture an event loop input in the current event loop
+ cycle nor are we manually simulating an event loop input during
+ playback, then DOM events fired during the unordered cycle could
+ run JavaScript and diverge the execution.
</ins><span class="cx">
</span><del>- * Target.pri: Added the CFURLExtras.{cpp,h} files to the projectfile.
</del><ins>+ During playback, we can assert that EventLoopInputDispatcher is dispatching
+ when a DOM event is be dispatched to a document that is being replayed.
</ins><span class="cx">
</span><del>-2013-05-29 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ During capturing, event loop inputs are captured rather than
+ dispatched, so we add some accounting to track what caused a DOM
+ event. To approximate the extent of computation triggered by an
+ event loop input, we add RAII helpers to call sites where event
+ loop inputs are captured.
</ins><span class="cx">
</span><del>- PresentationAttributeCacheCleaner::m_hitCount is never initialized
- https://bugs.webkit.org/show_bug.cgi?id=116946
</del><ins>+ The assertions are disabled by default until the most common
+ sources of nondeterminism are handled and playback errors are
+ gracefully surfaced to the user. <https://webkit.org/b/131279>
</ins><span class="cx">
</span><ins>+ No new tests. This patch adds extra assertions for debugging purposes.
+
+ * WebCore.xcodeproj/project.pbxproj:
+ * inspector/InspectorInstrumentation.cpp: Notify ReplayAgent of dispatched DOM event.
+ (WebCore::InspectorInstrumentation::willDispatchEventImpl):
+ (WebCore::InspectorInstrumentation::willDispatchEventOnWindowImpl):
+ * inspector/InspectorReplayAgent.cpp: Forward dispatched DOM events to ReplayController.
+ (WebCore::InspectorReplayAgent::willDispatchEvent): Added.
+ * inspector/InspectorReplayAgent.h:
+ * replay/CapturingInputCursor.cpp:
+ (WebCore::CapturingInputCursor::CapturingInputCursor):
+ (WebCore::CapturingInputCursor::setWithinEventLoopInputExtent): Added.
+ * replay/CapturingInputCursor.h:
+ * replay/EventLoopInput.cpp: Added.
+ (WebCore::EventLoopInputExtent::EventLoopInputExtent): Added.
+ (WebCore::EventLoopInputExtent::~EventLoopInputExtent): Added.
+ * replay/EventLoopInput.h:
+ * replay/EventLoopInputDispatcher.h:
+ (WebCore::EventLoopInputDispatcher::isDispatching): Add a getter.
+ * replay/ReplayController.cpp:
+ (WebCore::logDispatchedDOMEvent): Added. This is useful for understanding script-visible events.
+ (WebCore::ReplayController::willDispatchEvent): Added.
+ * replay/ReplayController.h:
+ * replay/UserInputBridge.cpp: Add extent helpers to call sites that capture inputs.
+ (WebCore::UserInputBridge::handleMousePressEvent):
+ (WebCore::UserInputBridge::handleMouseReleaseEvent):
+ (WebCore::UserInputBridge::handleMouseMoveEvent):
+ (WebCore::UserInputBridge::handleMouseMoveOnScrollbarEvent):
+ (WebCore::UserInputBridge::handleKeyEvent):
+ (WebCore::UserInputBridge::handleWheelEvent):
+ (WebCore::UserInputBridge::scrollRecursively):
+ (WebCore::UserInputBridge::logicalScrollRecursively):
+
+2014-04-07 Timothy Hatcher <timothy@apple.com>
+
+ Remove copy of combine-javascript-resources.pl that isn't used anymore
+ https://bugs.webkit.org/show_bug.cgi?id=131307
+
+ Reviewed by Joseph Pecoraro.
+
+ * WebCore.xcodeproj/project.pbxproj:
+ * inspector/combine-javascript-resources.pl: Removed.
+
+2014-04-07 Zoltan Horvath <zoltan@webkit.org>
+
+ [CSS Shapes] Clean up invalid FIXME
+ https://bugs.webkit.org/show_bug.cgi?id=131304
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/70be7ddc41141ef6dec7795d37842c27dab2e194.
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><del>- * dom/StyledElement.cpp:
- (WebCore::PresentationAttributeCacheCleaner::PresentationAttributeCacheCleaner):
</del><ins>+ * page/animation/CSSPropertyAnimation.cpp:
+ (WebCore::blendFunc):
</ins><span class="cx">
</span><del>-2013-05-29 Kent Tamura <tkent@chromium.org>
</del><ins>+2014-04-07 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- Remove ENABLE_INPUT_MULTIPLE_FIELDS_UI.
- https://bugs.webkit.org/show_bug.cgi?id=116796
</del><ins>+ [EFL] Turn on ENABLE_MEDIA_CONTROLS_SCRIPT
+ https://bugs.webkit.org/show_bug.cgi?id=131257
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- This feature was used only by Chromium port.
</del><ins>+ no new tests. just rebased exisiting tests.
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * css/html.css:
- (input::-webkit-date-and-time-value):
</del><ins>+ * PlatformEfl.cmake: Added the media controls script associated files.
+ * css/mediaControlsEfl.css: Removed.
+ * css/mediaControlsEflFullscreen.css: Removed.
+ * platform/efl/DefaultTheme/CMakeLists.txt:
+ * platform/efl/DefaultTheme/default.edc:
+ * platform/efl/DefaultTheme/widget/mediacontrol/fullscreenbutton/enterfullscreenbutton.png: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/fullscreenbutton/exitfullscreenbutton.png: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/mutebutton/mute_button.edc: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/mutebutton/mutebutton.png: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/mutebutton/unmutebutton.png: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/playpausebutton/pausebutton.png: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/playpausebutton/playbutton.png: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/playpausebutton/playpause_button.edc: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackward_button.edc: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackwardbutton.png: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforward_button.edc: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforwardbutton.png: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption.png: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption_disabled.png: Removed.
+ * platform/efl/DefaultTheme/widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc: Removed.
+ * platform/efl/RenderThemeEfl.cpp:
+ (WebCore::toEdjeGroup):
+ (WebCore::RenderThemeEfl::RenderThemeEfl):
+ (WebCore::RenderThemeEfl::adjustSliderThumbSize):
+ (WebCore::RenderThemeEfl::mediaControlsStyleSheet): Modified to load bundle style sheet.
+ (WebCore::RenderThemeEfl::mediaControlsScript): Added to load bundle scripts.
+ (WebCore::RenderThemeEfl::emitMediaButtonSignal): Deleted.
+ (WebCore::RenderThemeEfl::extraMediaControlsStyleSheet): Deleted.
+ (WebCore::RenderThemeEfl::extraFullScreenStyleSheet): Deleted.
+ (WebCore::RenderThemeEfl::formatMediaControlsCurrentTime): Deleted.
+ (WebCore::RenderThemeEfl::hasOwnDisabledStateHandlingFor): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaFullscreenButton): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaMuteButton): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaPlayButton): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaSeekBackButton): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaSeekForwardButton): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaSliderTrack): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaSliderThumb): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaVolumeSliderContainer): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaVolumeSliderTrack): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaVolumeSliderThumb): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaCurrentTime): Deleted.
+ (WebCore::RenderThemeEfl::supportsClosedCaptioning): Deleted.
+ (WebCore::RenderThemeEfl::paintMediaToggleClosedCaptionsButton): Deleted.
+ * platform/efl/RenderThemeEfl.h:
+
+2014-04-07 Benjamin Poulain <benjamin@webkit.org>
+
+ CSS JIT: change the node flags directly instead of using function calls when possible
+ https://bugs.webkit.org/show_bug.cgi?id=131292
+
+ Reviewed by Andreas Kling.
+
+ For historical reasons, changing the node flags was always done with function calls.
+ This patch changes those calls to modify the nodes directly.
+
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateDirectAdjacentTreeWalker):
+ (WebCore::SelectorCompiler::setNodeFlag):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::markParentElementIfResolvingStyle):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsFirstChild):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsLastChild):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsOnlyChild):
+ (WebCore::SelectorCompiler::markElementWithSetChildrenAffectedByLastChildRules): Deleted.
+ (WebCore::SelectorCompiler::markElementWithSetChildrenAffectedByFirstChildAndLastChildRules): Deleted.
</ins><span class="cx"> * dom/Element.cpp:
</span><ins>+ (WebCore::Element::setChildrenAffectedByFirstChildRules): Deleted.
+ (WebCore::Element::setChildrenAffectedByDirectAdjacentRules): Deleted.
</ins><span class="cx"> * dom/Element.h:
</span><del>- * html/BaseChooserOnlyDateAndTimeInputType.cpp:
- * html/BaseChooserOnlyDateAndTimeInputType.h:
- * html/BaseMultipleFieldsDateAndTimeInputType.cpp: Removed.
- * html/BaseMultipleFieldsDateAndTimeInputType.h: Removed.
- * html/DateInputType.cpp:
- * html/DateInputType.h:
- (DateInputType):
- * html/DateTimeFieldsState.cpp: Removed.
- * html/DateTimeFieldsState.h: Removed.
- * html/DateTimeInputType.cpp:
- * html/DateTimeInputType.h:
- (DateTimeInputType):
- * html/DateTimeLocalInputType.cpp:
- * html/DateTimeLocalInputType.h:
- (DateTimeLocalInputType):
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::HTMLInputElement):
- (WebCore):
- * html/HTMLInputElement.h:
- (HTMLInputElement):
- * html/InputType.cpp:
- * html/InputType.h:
- (InputType):
- * html/MonthInputType.cpp:
- * html/MonthInputType.h:
- (MonthInputType):
- * html/TimeInputType.cpp:
- * html/TimeInputType.h:
- (TimeInputType):
- * html/WeekInputType.cpp:
- * html/WeekInputType.h:
- (WeekInputType):
- * html/shadow/ClearButtonElement.cpp: Removed.
- * html/shadow/ClearButtonElement.h: Removed.
- * html/shadow/DateTimeEditElement.cpp: Removed.
- * html/shadow/DateTimeEditElement.h: Removed.
- * html/shadow/DateTimeFieldElement.cpp: Removed.
- * html/shadow/DateTimeFieldElement.h: Removed.
- * html/shadow/DateTimeFieldElements.cpp: Removed.
- * html/shadow/DateTimeFieldElements.h: Removed.
- * html/shadow/DateTimeNumericFieldElement.cpp: Removed.
- * html/shadow/DateTimeNumericFieldElement.h: Removed.
- * html/shadow/DateTimeSymbolicFieldElement.cpp: Removed.
- * html/shadow/DateTimeSymbolicFieldElement.h: Removed.
- * html/shadow/PickerIndicatorElement.cpp: Removed.
- * html/shadow/PickerIndicatorElement.h: Removed.
- * page/ChromeClient.h:
- (ChromeClient):
- * platform/LocalizedStrings.h:
- (WebCore):
- * platform/text/PlatformLocale.cpp:
- * platform/text/PlatformLocale.h:
- (Locale):
- * rendering/RenderDetailsMarker.cpp:
- * rendering/RenderDetailsMarker.h:
- * rendering/RenderObject.h:
- (RenderObject):
</del><ins>+ * dom/Node.h:
+ (WebCore::Node::flagChildrenAffectedByFirstChildRulesFlag):
+ (WebCore::Node::flagChildrenAffectedByLastChildRulesFlag):
+ (WebCore::Node::flagChildrenAffectedByDirectAdjacentRulesFlag):
</ins><span class="cx">
</span><del>-2013-05-29 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-04-07 Krzysztof Czech <k.czech@samsung.com>
</ins><span class="cx">
</span><del>- Remove setFullScreenRendererSize and setFullScreenRendererBackgroundColor
- https://bugs.webkit.org/show_bug.cgi?id=116914
</del><ins>+ Remove unused header from PlatformSpeechSynthesizer.h
+ https://bugs.webkit.org/show_bug.cgi?id=131103
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/508eb21a07f69ed38b9be9ff92fe75dcb907861f
</del><ins>+ Since WebSpeech has switched to use std::unique_ptr, we do not need to include PassOwnPtr.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- * dom/Document.h:
</del><ins>+ No new tests. No behaviour change, just quick fix.
</ins><span class="cx">
</span><del>-2013-05-29 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * platform/PlatformSpeechSynthesizer.h:
</ins><span class="cx">
</span><del>- Make WidgetHierarchyUpdatesSuspensionScope use swap instead of copy
- https://bugs.webkit.org/show_bug.cgi?id=116927
</del><ins>+2014-04-06 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><ins>+ [CSSRegions] Use RenderRegion::isValid() before using a region
+ https://bugs.webkit.org/show_bug.cgi?id=131232
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/1d577e1fd5c5716a06e4007e04fc3d9d0a88f5e4
</del><ins>+ RenderRegion method isValid() should be used to test whether a region
+ is good to use instead of a mix between isValid() and flowThread().
+ When the region is designed to fragment content from a parent flow thread,
+ the m_flowThread is not nullified anymore, thus ensuring the same treatment for all invalid
+ regions.
+ Covered by existing regions tests.
</ins><span class="cx">
</span><del>- This is equivalent behavior code that is unambiguously better performance. swap is O(1) time and memory,
- copying a hash table is at least linear with the number of elements.
</del><ins>+ * inspector/InspectorOverlay.cpp:
+ (WebCore::buildObjectForElementInfo):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::layoutOverflowRectForPropagation):
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintMaskForTextFillBox):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::updateLayerPositions):
+ (WebCore::RenderLayer::paintLayer):
+ (WebCore::RenderLayer::hitTestLayer):
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::pageLogicalHeight):
+ (WebCore::RenderNamedFlowFragment::maxPageLogicalHeight):
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::getRanges):
+ (WebCore::RenderNamedFlowThread::clearRenderObjectCustomStyle):
+ (WebCore::RenderNamedFlowThread::checkRegionsWithStyling):
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::RenderRegion):
+ (WebCore::RenderRegion::positionForPoint):
+ (WebCore::RenderRegion::pageLogicalWidth):
+ (WebCore::RenderRegion::pageLogicalHeight):
+ (WebCore::RenderRegion::styleDidChange):
+ (WebCore::RenderRegion::installFlowThread):
+ (WebCore::RenderRegion::attachRegion):
+ (WebCore::RenderRegion::detachRegion):
+ (WebCore::RenderRegion::ensureOverflowForBox):
+ (WebCore::RenderRegion::renderBoxRegionInfo):
</ins><span class="cx">
</span><del>- * rendering/RenderWidget.cpp:
- (WebCore::WidgetHierarchyUpdatesSuspensionScope::moveWidgets):
</del><ins>+2014-04-06 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-29 Andreas Kling <akling@apple.com>
</del><ins>+ Fix the debug bots after r166863
</ins><span class="cx">
</span><del>- Remove Document::nodeAbsIndex() and Document::nodeWithAbsIndex().
</del><ins>+ * css/PageRuleCollector.cpp:
+ (WebCore::checkPageSelectorComponents): I forgot to update one call site for PagePseudoClass.
</ins><span class="cx">
</span><del>- Rubber-stamped by Antti "Lucky" Koivisto.
</del><ins>+2014-04-06 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- * dom/Document.h:
- * dom/Document.cpp:
</del><ins>+ Make some bindings improvements, with smaller code size for error message generation
+ https://bugs.webkit.org/show_bug.cgi?id=131285
</ins><span class="cx">
</span><del>-2013-05-28 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- FocusController should operate on Elements internally.
- <http://webkit.org/b/116781>
</del><ins>+ * WebCore.exp.in: Updated to remove old and add new functions, for use by the Internals
+ JavaScript bindings.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::makeDOMBindingsTypeErrorStringInternal): Deleted.
+ (WebCore::throwTypeError): Added. Helper to avoid repeating throwVMError/createTypeError.
+ (WebCore::appendArgumentMustBe): Added. Helper for building up argument error strings.
+ (WebCore::reportDeprecatedGetterError): Added. For bindings to use.
+ (WebCore::throwArgumentMustBeEnumError): Ditto.
+ (WebCore::throwArgumentMustBeFunctionError): Ditto.
+ (WebCore::throwArgumentTypeError): Ditto.
+ (WebCore::throwArrayElementTypeError): Ditto.
+ (WebCore::throwAttributeTypeError): Ditto.
+ (WebCore::throwConstructorDocumentUnavailableError): Ditto.
+ (WebCore::throwGetterTypeError): Ditto.
+ (WebCore::throwSequenceTypeError): Ditto.
+ (WebCore::throwSetterTypeError): Ditto.
+ (WebCore::throwThisTypeError): Ditto.
</ins><span class="cx">
</span><del>- Switch from Node* to Element* as much as possible inside FocusController.
- Mostly mechanical, gets rid of some unnecessary isElementNode() checks and casts.
</del><ins>+ * bindings/js/JSDOMBinding.h: Added declarations for new functions. Removed forward
+ declarations for things not used in this file. Use nullptr instead of 0. Format
+ templates consistently. Use a better for loop in the jsArray function. Removed
+ unused HasMemoryCostMemberFunction, makeDOMBindingsTypeErrorString, and
+ makeDOMBindingsTypeErrorStringInternal.
</ins><span class="cx">
</span><del>- * page/FocusController.h:
- * page/FocusController.cpp:
- (WebCore::dispatchEventsOnWindowAndFocusedElement):
- (WebCore::isNonFocusableShadowHost):
- (WebCore::adjustedTabIndex):
- (WebCore::shouldVisit):
- (WebCore::FocusController::setFocused):
- (WebCore::FocusController::findFocusableElementDescendingDownIntoFrameDocument):
- (WebCore::FocusController::advanceFocusInDocumentOrder):
- (WebCore::FocusController::findFocusableElementAcrossFocusScope):
- (WebCore::FocusController::findFocusableElementRecursively):
- (WebCore::FocusController::findFocusableElement):
- (WebCore::FocusController::nextFocusableElement):
- (WebCore::FocusController::previousFocusableElement):
- (WebCore::FocusController::setActive):
</del><ins>+ * bindings/js/JSNavigatorCustom.cpp: Fixed a hand-written binding that was using
+ makeDOMBindingsTypeErrorString to make a string.
</ins><span class="cx">
</span><del>-2013-05-29 Radu Stavila <stavila@adobe.com>
</del><ins>+ * bindings/js/ScriptController.h: Updated forward declarations.
</ins><span class="cx">
</span><del>- [CSS Regions] Mouse over an element does not trigger :hover state for parent when the element is flowed in a region
- https://bugs.webkit.org/show_bug.cgi?id=111749
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation): Cut down on use of UNUSED_PARAM. Use the new functions
+ for errors, keeping the code in the generated file to a minimum.
+ (GenerateParametersCheck): Ditto.
+ (GenerateConstructorDefinition): Ditto.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+ * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
+ * bindings/scripts/test/JS/JSTestNode.cpp:
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ * bindings/scripts/test/JS/JSattribute.cpp:
+ * bindings/scripts/test/JS/JSreadonly.cpp:
+ Updated expected results for changes above.
</ins><span class="cx">
</span><del>- When searching for the hover ancestor and encountering a named flow thread,
- the search will continue with the DOM ancestor of the top-most element
- in the named flow thread.
</del><ins>+2014-04-06 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Tests: fast/regions/hover-in-region-grandparent.html
- fast/regions/hover-in-region-parent-skip.html
- fast/regions/hover-in-region-parent-skip-inlines-anonymous.html
- fast/regions/hover-on-child-in-region.html
- fast/regions/hover-on-child-in-region-in-region.html
</del><ins>+ Move the PseudoPageClass types out of the pseudo element/class mix
+ https://bugs.webkit.org/show_bug.cgi?id=131284
</ins><span class="cx">
</span><del>- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::hoverAncestor):
- * rendering/RenderObject.h:
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-05-28 Nate Chapin <japhet@chromium.org>
</del><ins>+ Some more cleanup of Selector's pseudo types. This patch moves the page pseudo
+ class types into their own enumeration (PagePseudoClassType).
</ins><span class="cx">
</span><del>- Crash in WebCore::SubresourceLoader::releaseResources when connection fails
- https://bugs.webkit.org/show_bug.cgi?id=87743
</del><ins>+ * css/CSSParserValues.cpp:
+ (WebCore::CSSParserSelector::parsePagePseudoSelector):
+ * css/CSSSelector.cpp:
+ (WebCore::CSSSelector::specificityForPage):
+ (WebCore::CSSSelector::pseudoId):
+ (WebCore::CSSSelector::selectorText):
+ * css/CSSSelector.h:
+ (WebCore::CSSSelector::setPagePseudoType):
+ (WebCore::CSSSelector::pagePseudoClassType):
+ * css/PageRuleCollector.cpp:
+ (WebCore::checkPageSelectorComponents):
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::SelectorCodeGenerator):
</ins><span class="cx">
</span><del>- Don't do anything complicated in SubresourceLoader::releaseResources(),
- just clear variables. With this patch, releaseResources() will still
- assert in debug builds if it is called twice, but it will safely execute
- in release.
</del><ins>+2014-04-06 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ CSS JIT: add support for :last-child and :only-child
+ https://bugs.webkit.org/show_bug.cgi?id=131283
</ins><span class="cx">
</span><del>- * loader/ResourceLoader.cpp:
- (WebCore::ResourceLoader::cleanupForError): Pull shared cleanup code out of didFail()
- and cancel() into a helper.
- (WebCore::ResourceLoader::cancel): Merge a couple variables into an enum, check for
- reentrancy from within didCancel().
- * loader/ResourceLoader.h: Replace m_calledWillCancel and m_cancelled with an enum.
- * loader/SubresourceLoader.cpp:
- (WebCore::SubresourceLoader::didFinishLoading): Don't call ResourceLoader::didFinishLoading(),
- put finish() in the middle of the process.
- (WebCore::SubresourceLoader::didFail): Don't call ResourceLoader::didFail(), put finish()
- in the middle of the process.
- (WebCore::SubresourceLoader::didCancel):
- (WebCore::SubresourceLoader::notifyDone): Do the non-trivial work previous done in releaseResources(),
- most importantly calling loadDone().
- (WebCore::SubresourceLoader::releaseResources): Only do simple variable clearing here.
- * loader/SubresourceLoader.h:
- (SubresourceLoader):
- * loader/cache/CachedResource.cpp: Split stopLoading() into cancelLoad() (which notifies clients)
- and clearLoader() (which just nulls m_loader).
- * loader/cache/CachedResource.h:
- * loader/chromium/ResourceLoaderChromium.cpp:
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-05-28 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ This is the straightforward implementation of :last-child and :only-child.
</ins><span class="cx">
</span><del>- [GTK] Build fix after r150837
- https://bugs.webkit.org/show_bug.cgi?id=116904
</del><ins>+ Both are extremely similar to :first-child. There are only minor differences:
+ -:last-child has an additional check for the flag IsParsingChildrenFinished.
+ -:only-child is like :first-child + :last-child but with combined marking.
</ins><span class="cx">
</span><del>- Unreviewed build fix.
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::addPseudoType):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateWalkToNextAdjacentElement):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatching):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::jumpIfNoPreviousAdjacentElement):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsFirstChild):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::jumpIfNoNextAdjacentElement):
+ (WebCore::SelectorCompiler::markElementWithSetChildrenAffectedByLastChildRules):
+ (WebCore::SelectorCompiler::setLastChildState):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsLastChild):
+ (WebCore::SelectorCompiler::markElementWithSetChildrenAffectedByFirstChildAndLastChildRules):
+ (WebCore::SelectorCompiler::setOnlyChildState):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsOnlyChild):
+ * dom/Node.h:
+ (WebCore::Node::nextSiblingMemoryOffset):
+ (WebCore::Node::flagIsParsingChildrenFinished):
+ * rendering/style/RenderStyle.h:
+ Removed the unused flags, I will add them back later as needed.
</ins><span class="cx">
</span><del>- * GNUmakefile.am:
</del><ins>+2014-04-06 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>-2013-05-28 Andy Estes <aestes@apple.com>
</del><ins>+ Rework CSS calc logic, fixing some reference count mistakes in Length
+ https://bugs.webkit.org/show_bug.cgi?id=131280
+ rdar://problem/16400823
</ins><span class="cx">
</span><del>- REGRESSION (r150169): Images from file: URLs display after a delay even though they were preloaded by JavaScript
- https://bugs.webkit.org/show_bug.cgi?id=116906
- <rdar://problem/13991927>
-
</del><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Writing a test for this is blocked on https://webkit.org/b/116199.
</del><ins>+ New unit test in TestWebKitAPI.
</ins><span class="cx">
</span><del>- Some WebKit clients use JavaScript to preload images from disk so that
- subsequent loads will display immediately from the memory cache. By not
- caching non-HTTP sub-resources in memory, we break this common pattern.
- This change restricts r150169 to only apply to cached main resources.
- Sub-resources will again be cached indefinitely as they were prior to
- r150169.
</del><ins>+ Changed the classes related to CSS "calc" to make the code a bit easier to read by
+ moving code out of class definitions. Also used final some more, made more things private,
+ used references instead of pointers, and other such changes. Biggest change, though, is to
+ Length, which had a broken system for managing reference counted calculated objects.
+ There were multiple bugs including a basic design mistake of not having a reference count
+ and trying to use the reference count in the object itself. Fixed and covered by the unit
+ test now; test found multiple problems in both the old and new implementations.
</ins><span class="cx">
</span><del>- * loader/cache/CachedResource.cpp:
- (WebCore::CachedResource::freshnessLifetime): If this is a non-HTTP
- main resource from a scheme that should not be cached indefinitely,
- return 0 for the freshness lifetime. For other non-HTTP cached
- resources, return an indefinite freshness lifetime.
</del><ins>+ * WebCore.exp.in: Updated exports, including symbols to make the unit test practical.
</ins><span class="cx">
</span><del>-2013-05-28 Dean Jackson <dino@apple.com>
</del><ins>+ * WebCore.xcodeproj/project.pbxproj: Made CalculationValue.h a Private file so it can
+ be used in a unit test. Also let Xcode update the file type for a gperf file.
</ins><span class="cx">
</span><del>- Animations do not restart after exiting page cache
- https://bugs.webkit.org/show_bug.cgi?id=116900
</del><ins>+ * css/CSSCalculationValue.cpp:
+ (WebCore::CSSCalcValue::equals): Updated since m_expression is a Ref now.
+ (WebCore::CSSCalcValue::clampToPermittedRange): Marked inline and updated for data member
+ name change.
+ (WebCore::isIntegerResult): Changed argument order to put the operator first and use
+ references instead of pointers. Also marked inline.
+ (WebCore::createBlendHalf): Added. Helper to make the other functions more readable.
+ (WebCore::createExpressionNode): Made non-member function private to this file. Also made
+ many small improvements.
+ (WebCore::CSSCalcValue::create): Updated so both of these call the same constructor.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ * css/CSSCalculationValue.h: Cut down CSSCalcValue class by making more things private
+ and deleting unneeded things. Also use Ref instead of RefPtr.
</ins><span class="cx">
</span><del>- Animations are suspended as they enter the page cache, but
- were not getting correctly resumed when exiting. The cause
- was an error in r149576 which was checking a global flag for suspension
- on the AnimationController and thus not trying to resume anything.
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::getPositionOffsetValue): Use isFixed function instead of type function.
</ins><span class="cx">
</span><del>- Test: animations/resume-after-page-cache.html
</del><ins>+ * css/CSSGradientValue.cpp:
+ (WebCore::CSSGradientValue::addStops): Updated code since toCalcValue now returns PassRef
+ instead of PassRefPtr. Unfortunately the new code is a bit more verbose.
+ (WebCore::positionFromValue): Ditto.
</ins><span class="cx">
</span><del>- * page/animation/AnimationController.cpp:
- (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
- (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
</del><ins>+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseCalculation):
</ins><span class="cx">
</span><del>-2013-05-28 Chris Rogers <crogers@google.com>
</del><ins>+ * css/CSSPrimitiveValue.cpp:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Updated to pass reference rather than pointer.
+ (WebCore::CSSPrimitiveValue::init): Ditto.
</ins><span class="cx">
</span><del>- Support multiple HRTFDatabases for different sample-rates
- https://bugs.webkit.org/show_bug.cgi?id=116183
</del><ins>+ * css/CSSToStyleMap.h: Removed unneeded include of LengthBox.h.
</ins><span class="cx">
</span><del>- Reviewed by Kenneth Russell.
</del><ins>+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::ApplyPropertyLength::applyValue): Updated for function name change.
+ (WebCore::ApplyPropertyBorderRadius::applyValue): Removed extra parentheses.
+ (WebCore::ApplyPropertyFontSize::applyValue): Ditto. Also updated since toCalcValue returns Ref.
</ins><span class="cx">
</span><del>- Adapted from Blink:
- https://codereview.chromium.org/14636011/
</del><ins>+ * css/LengthFunctions.cpp:
+ (WebCore::floatValueForLength): Updated to call value instead of getFloatValue; both are the same.
</ins><span class="cx">
</span><del>- This removes the limitation which required OfflineAudioContexts to be created at native sample-rate
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::addIntrinsicMargins): Updated for function name change.
+ (WebCore::createGridTrackBreadth): Ditto.
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioContext.h:
- (WebCore::AudioContext::hrtfDatabaseLoader):
- (AudioContext):
- * Modules/webaudio/OfflineAudioContext.cpp:
- (WebCore::OfflineAudioContext::create):
- * Modules/webaudio/OfflineAudioDestinationNode.cpp:
- (WebCore::OfflineAudioDestinationNode::offlineRender):
- * Modules/webaudio/PannerNode.cpp:
- (WebCore::PannerNode::initialize):
- (WebCore::PannerNode::setPanningModel):
- * platform/audio/HRTFDatabaseLoader.cpp:
- (WebCore):
- (WebCore::HRTFDatabaseLoader::createAndLoadAsynchronouslyIfNecessary):
- (WebCore::HRTFDatabaseLoader::~HRTFDatabaseLoader):
- * platform/audio/HRTFDatabaseLoader.h:
- (HRTFDatabaseLoader):
- (WebCore::HRTFDatabaseLoader::loaderMap):
- * platform/audio/HRTFPanner.cpp:
- (WebCore::HRTFPanner::HRTFPanner):
- (WebCore::HRTFPanner::calculateDesiredAzimuthIndexAndBlend):
- (WebCore::HRTFPanner::pan):
- * platform/audio/HRTFPanner.h:
- (HRTFPanner):
- * platform/audio/Panner.cpp:
- (WebCore::Panner::create):
- * platform/audio/Panner.h:
- (WebCore):
</del><ins>+ * platform/CalculationValue.cpp:
+ (WebCore::CalculationValue::create): Changed to return PassRef.
+ (WebCore::CalcExpressionNumber::evaluate): Moved this function out of the header, since it's
+ virtual and not really going to be inlined.
+ (WebCore::CalcExpressionNumber::operator==): Ditto.
+ (WebCore::CalculationValue::evaluate): Ditto.
+ (WebCore::CalcExpressionBinaryOperation::operator==): Ditto.
+ (WebCore::CalcExpressionLength::evaluate): Ditto.
+ (WebCore::CalcExpressionLength::operator==): Ditto.
+ (WebCore::CalcExpressionBlendLength::evaluate): Ditto.
+ (WebCore::CalcExpressionBlendLength::operator==): Ditto.
</ins><span class="cx">
</span><del>-2013-05-28 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ * platform/CalculationValue.h: Moved most functions out of the class bodies so the classes are
+ easier to see. Made all the == operator functions non-member ones except for the polymorphic
+ one from the base class. Changed the casting functions to work on references instead of pointers.
+ Tweaked name of some members.
</ins><span class="cx">
</span><del>- Windows build fix.
</del><ins>+ * platform/Length.cpp: Reworked the CalculationValueMap (formerly CalculationValueHandleMap) to
+ use unsigned instead of int, and store reference counts in the map rather than trying to share the
+ reference count of the underlying CalculationValue object, which can lead to storage leaks where
+ handles end up in the map permanently.
+ (WebCore::calculationValues): Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL.
+ (WebCore::Length::Length): Updated some data member names.
+ (WebCore::Length::calculationValue): Updated to return a reference instead of a PassRefPtr.
+ (WebCore::Length::ref): Renamed and updated for new interface to the map.
+ (WebCore::Length::deref): Ditto.
+ (WebCore::Length::nonNanCalculatedValue): Updated to use a reference instead of a pointer.
+ (WebCore::Length::isCalculatedEqual): Updated since this is now only called if both objects are
+ known to be calculated values.
</ins><span class="cx">
</span><del>- * platform/cf/KURLCFNet.cpp:
- (WebCore::KURL::createCFURL):
</del><ins>+ * platform/Length.h: Moved most functions out of the class definition to make the class definition
+ easier to read. Reworked the constructors and assignment operators to handle the reference counting
+ correctly. Added various FIXMEs and assertions. Removed some unused functions, made others private.
</ins><span class="cx">
</span><del>-2013-05-28 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ * platform/LengthBox.h: Renamed some one-letter arguments to use words instead.
</ins><span class="cx">
</span><del>- Freeze when loading a particular page on washingtonpost.com with NetworkProcess enabled
- https://bugs.webkit.org/show_bug.cgi?id=116887
- <rdar://problem/12965959>
</del><ins>+ * rendering/AutoTableLayout.cpp:
+ (WebCore::AutoTableLayout::recalcColumn): Updated for change to Length::setValue.
+ * rendering/FixedTableLayout.cpp:
+ (WebCore::FixedTableLayout::calcWidthArray): Ditto.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * rendering/style/FillLayer.h:
+ (WebCore::FillLayer::initialFillXPosition): Updated to not convert a double to a float at runtime.
+ (WebCore::FillLayer::initialFillYPosition): Ditto.
</ins><span class="cx">
</span><del>- Test: http/tests/uri/curly-braces-escaping.html
</del><ins>+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::setWordSpacing): Removed a bogus FALLTHROUGH that was clearly wrong, but
+ harmless. Updated for changes to Length.
</ins><span class="cx">
</span><del>- The issue was that WebKit used an incorrect accessor to get a string out of CFURL,
- unlike WebCore.
</del><ins>+ * rendering/style/RenderStyle.h: Updated for name changes and to avoid converting doubles to floats
+ at runtime.
</ins><span class="cx">
</span><del>- Centralized code for converting between CFURLs and strings in a place that WebKit
- can use directly.
</del><ins>+2014-04-06 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- Keeping things building.
</del><ins>+ Honor System-Level User Preferences for Caption Display
+ https://bugs.webkit.org/show_bug.cgi?id=131258
</ins><span class="cx">
</span><del>- * platform/KURL.cpp: (WebCore::KURL::copyToBuffer):
- * platform/KURL.h:
- Updated for a new typedef name. The code was using Vector<char, 512> and CharBuffer
- inconsistently, and now URLs use URLCharBuffer.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * platform/cf/CFURLExtras.cpp: Added.
- (WebCore::createCFURLFromBuffer):
- (WebCore::getURLBytes):
- * platform/cf/CFURLExtras.h: Added.
- * platform/cf/KURLCFNet.cpp:
- (WebCore::KURL::KURL):
- (WebCore::KURL::createCFURL):
- Extracted code for CFURL string manipulation that is not logcally part of KURL.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::setSelectedTextTrack): Allow preferenced change to fully dispatch
+ so we can properly deal with captions being turned off.
+ (WebCore::HTMLMediaElement::captionPreferencesChanged): Use 'webkit' variant of the
+ setWebKitClosedCaptionsVisible method so we properly adjust settings needed for the JS API call.
+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlTextTrackContainerElement::updateDisplay): When captions are turned off, e.g.
+ because the user turned off the preference, don't inadvertently turn them back on just bacause there
+ was an existing track that was not in a 'hidden' state.
</ins><span class="cx">
</span><del>- * platform/mac/KURLMac.mm:
- (WebCore::KURL::KURL): Use the new getURLBytes function.
- (WebCore::KURL::operator NSURL *): Added a comment.
- (WebCore::KURL::createCFURL): Added a comment, and updated for new names and
- signatures.
</del><ins>+2014-04-06 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>- * platform/network/cf/ResourceErrorCF.cpp: (WebCore::ResourceError::platformLazyInit):
- Added a FIXME. We are still using CFURLGetString here. The difficulty is getting
- encodings right.
</del><ins>+ Web Replay: add methods to encode a frame's index based on its FrameTree position
+ https://bugs.webkit.org/show_bug.cgi?id=131281
</ins><span class="cx">
</span><del>-2013-05-28 Anders Carlsson <andersca@apple.com>
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Create a html/forms subdirectory and move FileIconLoader there
- https://bugs.webkit.org/show_bug.cgi?id=116880
</del><ins>+ Given a frame, its encoded index is computed by traversing the frame tree
+ and saving how many nodes have been traversed to reach a given frame.
</ins><span class="cx">
</span><del>- Reviewed by Jessie Berlin.
</del><ins>+ This is used to disambiguate frames when dispatching frame-specific event
+ loop inputs during replay, such as timers and resource loaders.
</ins><span class="cx">
</span><del>- A lot (if not the majority) of files in html/ are forms related, so it makes sense to begin splitting
- them out into a separate subdirectory, html/forms.
</del><ins>+ * replay/SerializationMethods.cpp:
+ (WebCore::frameIndexFromDocument): Added.
+ (WebCore::frameIndexFromFrame): Added.
+ (WebCore::documentFromFrameIndex): Added.
+ (WebCore::frameFromFrameIndex): Added.
+ * replay/SerializationMethods.h:
</ins><span class="cx">
</span><del>- Begin my moving FileIconLoader from platform to html/forms. It is related to HTML forms (it's only used by
- the file upload element), and is not really a platform abstraction so it doesn't belong in platform.
</del><ins>+2014-04-06 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * html/forms/FileIconLoader.cpp: Renamed from Source/WebCore/platform/FileIconLoader.cpp.
- * html/forms/FileIconLoader.h: Renamed from Source/WebCore/platform/FileIconLoader.h.
</del><ins>+ iOS build fix.
</ins><span class="cx">
</span><del>-2013-05-28 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ * WebCore.exp.in: Move newly exported function to a right section of this file.
</ins><span class="cx">
</span><del>- AX: WKView is unable to set AXFocused to YES and does not handle keyboard events as expected
- https://bugs.webkit.org/show_bug.cgi?id=116756
</del><ins>+2014-04-06 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ Refactor post-attach and HTMLObjectElement-related code
+ https://bugs.webkit.org/show_bug.cgi?id=131282
</ins><span class="cx">
</span><del>- If AXFocused is set to true, but the WebView is not the first responder, then the call will
- not do anything. This change asks the Chrome to make the WebView the first responder before
- trying to set focus within the page.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Was not able to make a test, it requires on interplay between areas outside the web view.
</del><ins>+ * dom/ContainerNode.cpp: Moved the post-attach callback code from here to
+ StyleResolveTree.h/cpp.
+ * dom/ContainerNode.h: Ditto.
</ins><span class="cx">
</span><del>- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (-[WebAccessibilityObjectWrapper accessibilitySetValue:forAttribute:]):
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::recalcStyle): Use Style::PostResolutionCallbackDisabler instead of
+ PostAttachCallbackDisabler.
</ins><span class="cx">
</span><del>-2013-05-28 Jer Noble <jer.noble@apple.com>
</del><ins>+ * dom/Element.h: Moved the post-attach callback code from here to StyleResolveTree.h/cpp.
</ins><span class="cx">
</span><del>- Crash in DumpRenderTree at com.apple.WebCore: WebCore::RenderTextTrackCue::repositionGenericCue + 154
- https://bugs.webkit.org/show_bug.cgi?id=116882
</del><ins>+ * html/HTMLEmbedElement.cpp:
+ (WebCore::HTMLEmbedElement::parseAttribute): Simplified the code for typeAttr, turning
+ it into a 1-liner. Added a FIXME in codeAttr about the fact that it does not have the
+ code to trigger image loads.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * html/HTMLFormControlElement.cpp:
+ (WebCore::HTMLFormControlElement::didAttachRenderers): Updated to use
+ Style::queuePostResolutionCallback and use a lambda instead of a function.
+ (WebCore::HTMLFormControlElement::didRecalcStyle): Ditto. Also added RefPtr instead
+ of just using wishful thinking to keep the object alive.
+ * html/HTMLFrameOwnerElement.cpp:
+ (WebCore::HTMLFrameOwnerElement::scheduleSetNeedsStyleRecalc): Ditto.
</ins><span class="cx">
</span><del>- Remove an inappropriate assert. No cues coming through repositionGenericCue will be WebVTT ones.
</del><ins>+ * html/HTMLObjectElement.cpp:
+ (WebCore::HTMLObjectElement::parseAttribute):: Simplified the code for typeAttr, turning
+ it into a 1-liner. Made dataAttr call setNeedsWidgetUpdate(true) unconditionally after
+ checking carefully to see that's harmless if there is no renderer. Changed classidAttr
+ to call setNeedsWidgetUpdate(true) unconditionally and not set m_classId.
+ (WebCore::HTMLObjectElement::shouldAllowQuickTimeClassIdQuirk): Use fastGetAttribute
+ instead of classId and descendantsOfType instead of getElementsByTagName.
+ (WebCore::HTMLObjectElement::hasValidClassId): Use fastGetAttribute instead of classId.
+ (WebCore::HTMLObjectElement::renderFallbackContent): Use imageLoader instead of m_imageLoader.
</ins><span class="cx">
</span><del>- * rendering/RenderTextTrackCue.cpp:
- (WebCore::RenderTextTrackCue::repositionGenericCue):
</del><ins>+ * html/HTMLObjectElement.h: Removed classId, since there is no reason to cache that
+ attribute in a data member. Rearranged header, making more private, and fixing some typos,
+ and doing a "using" instead of a function to disambiguate the inherited form functions.
</ins><span class="cx">
</span><del>-2013-05-28 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ * html/HTMLPlugInImageElement.cpp:
+ (WebCore::HTMLPlugInImageElement::createElementRenderer): Fixed some code that assumed the
+ first child of the shadow root is guaranteed to be an element.
+ (WebCore::HTMLPlugInImageElement::didMoveToNewDocument): Removed null check on oldDocument,
+ since m_needsDocumentActivationCallbacks can't be true if the old document was null.
+ (WebCore::is100Percent): Added helper to make function below more readable.
+ (WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn): Restructured the code a
+ bit. The part that attracted my attention was the local variable of type RenderBox, which
+ was named renderEmbeddedObject. Turns out the caller guarantees to only call this if there
+ is a renderer of type RenderEmbeddedObject, so depend on that.
</ins><span class="cx">
</span><del>- [BlackBerry] GraphicsContext: add missing definitions.
- https://bugs.webkit.org/show_bug.cgi?id=115515
</del><ins>+ * html/HTMLPlugInImageElement.h: Trimmed includes a bit. Made more members private.
+ Marked more function members final. Made a protected imageLoader function so that
+ m_imageLoader can be private eventually. Made m_imageLoader be std::unique_ptr.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::needsPseudoElement): Fixed spelling error in the name of this function.
+ (WebCore::Style::attachBeforeOrAfterPseudoElementIfNeeded): Updated for name change.
+ (WebCore::Style::attachRenderTree): Update for new name of PostResolutionCallbackDisabler.
+ (WebCore::Style::updateBeforeOrAfterPseudoElement): Updated for name change.
+ (WebCore::Style::postResolutionCallbackQueue): Added.
+ (WebCore::Style::queuePostResolutionCallback): Added.
+ (WebCore::Style::suspendMemoryCacheClientCalls): Added. This is a side effect of the original
+ PostAttachCallbackDisabler that is now done in a cleaner way, using the callback queue, instead
+ of as a special case. It should not work for multiple documents across multiple pages instead of
+ only the outermost one.
+ (WebCore::Style::PostResolutionCallbackDisabler::PostResolutionCallbackDisabler): Added.
+ Calls suspendMemoryCacheClientCalls, but a FIXME tries to point out why that isn't so great.
+ (WebCore::Style::PostResolutionCallbackDisabler::~PostResolutionCallbackDisabler): Added.
+ (WebCore::Style::postResolutionCallbacksAreSuspended): Added.
</ins><span class="cx">
</span><del>- * platform/graphics/GraphicsContext.h:
- (Graphics):
- Add definition for PlatformGraphicsContext.
- * platform/graphics/blackberry/GraphicsContextBlackBerry.cpp:
- Include RoundedRect.h
</del><ins>+ * style/StyleResolveTree.h: Added queuePostResolutionCallback and
+ postResolutionCallbacksAreSuspended. Also added PostResolutionCallbackDisabler, which should
+ eventually become a private implementation detail.
</ins><span class="cx">
</span><del>-2013-05-28 Arvid Nilsson <anilsson@rim.com>
</del><ins>+2014-04-04 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>- [BlackBerry] Fix style issues in BlackBerry accelerated compositing backend
- https://bugs.webkit.org/show_bug.cgi?id=116604
</del><ins>+ Enable WEB_REPLAY for PLATFORM(MAC)
+ https://bugs.webkit.org/show_bug.cgi?id=130700
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- PR 273550, 99638
</del><ins>+ Switch on WEB_REPLAY feature flag for non-production builds.
</ins><span class="cx">
</span><del>- Remove the "get" prefix from getters in the WebKit- and compositing-
- thread layer classes, as well as LayerRendererSurface. Clarify which
- geometry-related getters return normalized device coordinates by adding
- a comment.
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
+ * replay/ReplayInputDispatchMethods.cpp: Fix the ENABLE(WEB_REPLAY) build.
+ It was broken by the bool to enum refactoring in r166684.
+ (WebCore::InitialNavigation::dispatch):
</ins><span class="cx">
</span><del>- Also remove dead code related to LayerData::m_holePunchClipRect, which
- was part of an eventually disabled fix for video clipping in iframes,
- PR 99638. Since we now use AC layers for iframes, the bug is no longer
- reproducible, and the dead code will never need to be enabled again.
</del><ins>+2014-04-05 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>- No change in behavior, no new tests.
</del><ins>+ Web Inspector: remove unused test hook setInspectorResourcesDataSizeLimits
+ https://bugs.webkit.org/show_bug.cgi?id=131268
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/EGLImageLayerCompositingThreadClient.cpp:
- (WebCore::EGLImageLayerCompositingThreadClient::drawTextures):
- * platform/graphics/blackberry/LayerCompositingThread.cpp:
- (WebCore::LayerCompositingThread::setDrawTransform):
- (WebCore::LayerCompositingThread::transformedHolePunchRect):
- (WebCore::LayerCompositingThread::drawTextures):
- (WebCore::LayerCompositingThread::drawSurface):
- * platform/graphics/blackberry/LayerCompositingThread.h:
- (WebCore::LayerCompositingThread::sublayers): Removed "get" prefix
- (LayerCompositingThread):
- (WebCore::LayerCompositingThread::boundingBox): Renamed from "getDrawRect"
- (WebCore::LayerCompositingThread::transformedBounds): Removed "get" prefix
- (WebCore::LayerCompositingThread::transformedHolePunchRect): Removed "get" prefix
- * platform/graphics/blackberry/LayerData.h:
- (LayerData): Removed unused data member "m_holePunchClipRect"
- * platform/graphics/blackberry/LayerFilterRenderer.cpp:
- (WebCore::LayerFilterRenderer::applyActions):
- * platform/graphics/blackberry/LayerRenderer.cpp:
- (WebCore::LayerRenderer::compositeLayers):
- (WebCore::LayerRenderer::drawDebugBorder):
- (WebCore::LayerRenderer::drawHolePunchRect):
- (WebCore::LayerRenderer::prepareFrameRecursive):
- (WebCore::LayerRenderer::updateLayersRecursive):
- (WebCore::collect3DPreservingLayers):
- (WebCore::LayerRenderer::compositeLayersRecursive):
- * platform/graphics/blackberry/LayerRendererSurface.cpp:
- (WebCore::LayerRendererSurface::boundingBox):
- * platform/graphics/blackberry/LayerRendererSurface.h:
- (WebCore::LayerRendererSurface::boundingBox): Renamed from "drawRect" because that sounds like a verb, and this is a getter
- * platform/graphics/blackberry/LayerWebKitThread.h:
- (WebCore::LayerWebKitThread::sublayers): Removed "get" prefix
- * platform/graphics/blackberry/VideoLayerWebKitThread.cpp:
- (WebCore::VideoLayerWebKitThread::setHolePunchRect):
- (WebCore::VideoLayerWebKitThread::boundsChanged):
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-05-28 Jer Noble <jer.noble@apple.com>
</del><ins>+ This was used in the old inspector frontend tests for the Network panel.
+ It's no longer used by any tests or frontend code.
</ins><span class="cx">
</span><del>- Made AudioNode an EventTarget
- https://bugs.webkit.org/show_bug.cgi?id=116871
</del><ins>+ * WebCore.exp.in: Remove symbols.
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::setInspectorResourcesDataSizeLimits): Deleted.
+ * inspector/InspectorController.h:
+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::InspectorResourceAgent::setResourcesDataSizeLimitsFromInternals): Deleted.
+ * inspector/InspectorResourceAgent.h:
+ * inspector/NetworkResourcesData.cpp:
+ (WebCore::NetworkResourcesData::setResourcesDataSizeLimits): Deleted.
+ * inspector/NetworkResourcesData.h:
+ * testing/Internals.cpp:
+ (WebCore::Internals::setInspectorResourcesDataSizeLimits): Deleted.
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>- Merge: https://chromium.googlesource.com/chromium/blink/+/ef37484162ddb95d677dcfdcdd778ec60590928b
</del><ins>+2014-04-05 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ REGRESSION (NetworkProcess): Subresources fail to load from AppCache
+ https://bugs.webkit.org/show_bug.cgi?id=131262
+ <rdar://problem/15370653>
</ins><span class="cx">
</span><del>- Tests: webaudio/audionode-expected.txt:
- webaudio/audionode.html:
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Add the requisite boilerplate to allow AudioNode to become an EventTarget. Remove
- all that same boilerplate from ScriptProcessorNode now that it's base class
- is an EventTarget.
</del><ins>+ Exported ApplicationCacheHost::maybeLoadResource. Changed it to take a const
+ reference to ResourceRequest, as appropriate for WebResourceLoadScheduler.
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioNode.cpp:
- (WebCore::AudioNode::interfaceName): Added boilerplate.
- (WebCore::AudioNode::scriptExecutionContext): Return the AudioContext's context.
- (WebCore::AudioNode::processIfNecessary): Whitespace.
- * Modules/webaudio/AudioNode.h:
- * Modules/webaudio/AudioNode.idl: Make AudioNode an EventTarget.
- * Modules/webaudio/ScriptProcessorNode.cpp: Remove EventTarget boilerplate.
- * Modules/webaudio/ScriptProcessorNode.h: Ditto.
- * Modules/webaudio/ScriptProcessorNode.idl: Ditto.
- * dom/EventTarget.h: Mark AudioNode as an EventTarget.
- * dom/EventTargetFactory.in: Ditto.
</del><ins>+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * loader/appcache/ApplicationCacheHost.cpp:
+ (WebCore::ApplicationCacheHost::maybeLoadResource):
+ * loader/appcache/ApplicationCacheHost.h:
</ins><span class="cx">
</span><del>-2013-05-28 Arvid Nilsson <anilsson@rim.com>
</del><ins>+2014-04-05 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>- [BlackBerry] backface-visibility: hidden doesn't work properly with masks and filters
- https://bugs.webkit.org/show_bug.cgi?id=116616
</del><ins>+ Web Inspector: remove unused metrics and commands from the Timeline agent
+ https://bugs.webkit.org/show_bug.cgi?id=131184
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- The BlackBerry::Platform::Graphics::GraphicsContext generates geometry
- with a different winding order than the accelerated compositing backend
- of the BlackBerry port. So, when we switched from Skia to this new
- rendering engine, we switched from glFrontFace(GL_CCW) to
- glFrontFace(GL_CW), and all was well when drawing display lists.
- However, we forgot to update the winding order of geometry generated
- within the accelerated compositing backend, which is used for masks and
- filters, so they were getting erroneously culled out when
- backface-visibility: hidden was applied to them. Fixed by switching the
- winding order of all geometry generated up here, which has the added
- benefit of enabling us to use TransformationMatrix::mapQuad instead of
- transforming point-by-point.
</del><ins>+ This patch removes several instrumentation hooks that are not being
+ used by the frontend in any way. Most of them are not hooked up to
+ produce any data, so they just clutter up InspectorClient and the agent.
</ins><span class="cx">
</span><del>- To further complicate matters, a right-side up transform is used when
- drawing layers into surfaces, reversing the winding order and requiring
- us to switch back to glFrontFace(GL_CCW) temporarily, when drawing
- layers to surfaces, or the layers will get culled out inside the
- surface.
</del><ins>+ * WebCore.exp.in: Remove didBeginFrame/didCancelFrame.
+ * inspector/InspectorClient.h: Remove client methods that are never overridden.
+ (WebCore::InspectorClient::canMonitorMainThread): Deleted.
+ (WebCore::InspectorClient::supportsFrameInstrumentation): Deleted.
+ (WebCore::InspectorClient::getAllocatedObjects): Deleted.
+ (WebCore::InspectorClient::dumpUncountedAllocatedObjects): Deleted.
</ins><span class="cx">
</span><del>- Also fix spelling error, "drawed" should be "drawn".
</del><ins>+ * inspector/InspectorController.cpp: Remove unused instrumentation.
+ (WebCore::InspectorController::didBeginFrame): Deleted.
+ (WebCore::InspectorController::didCancelFrame): Deleted.
+ (WebCore::InspectorController::didComposite): Deleted.
+ (WebCore::InspectorController::wilComposite): Deleted.
+ * inspector/InspectorController.h:
</ins><span class="cx">
</span><del>- No new tests, this is only detectable by pixel tests, which the
- BlackBerry port currently doesn't support.
</del><ins>+ * inspector/InspectorTimelineAgent.cpp: Remove the backend's BeginFrame enum
+ value, but keep it in the protocol for when it is reimplemented. Remove
+ management of the current frame record, and simplify some code.
+ (WebCore::toProtocol):
+ (WebCore::InspectorTimelineAgent::addRecordToTimeline):
+ (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
+ (WebCore::InspectorTimelineAgent::pushCurrentRecord):
+ (WebCore::InspectorTimelineAgent::clearRecordStack):
+ (WebCore::InspectorTimelineAgent::canMonitorMainThread): Deleted.
+ (WebCore::InspectorTimelineAgent::supportsFrameInstrumentation): Deleted.
+ (WebCore::InspectorTimelineAgent::didBeginFrame): Deleted.
+ (WebCore::InspectorTimelineAgent::didCancelFrame): Deleted.
+ (WebCore::InspectorTimelineAgent::didComposite): Deleted.
+ (WebCore::InspectorTimelineAgent::wilComposite): Deleted.
+ (WebCore::InspectorTimelineAgent::innerAddRecordToTimeline): Deleted. Undo telescoping.
+ (WebCore::usedHeapSize): Deleted.
+ (WebCore::InspectorTimelineAgent::commitFrameRecord): Deleted.
+ * inspector/InspectorTimelineAgent.h:
+ (WebCore::InspectorTimelineAgent::TimelineRecordEntry::TimelineRecordEntry):
+ * inspector/protocol/Timeline.json:
</ins><span class="cx">
</span><del>- PR 341945.
</del><ins>+ * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp: Remove
+ instrumentation hook for beginFrame. This is the only backend that implements it.
+ (WebCore::CompositingCoordinator::syncDisplayState):
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/EGLImageLayerCompositingThreadClient.cpp:
- (WebCore::EGLImageLayerCompositingThreadClient::drawTextures):
- * platform/graphics/blackberry/LayerCompositingThread.cpp:
- (WebCore::LayerCompositingThread::setDrawTransform):
- (WebCore::getTransformedRect):
- (WebCore::LayerCompositingThread::drawTextures):
- (WebCore::LayerCompositingThread::drawSurface):
- * platform/graphics/blackberry/LayerCompositingThread.h:
- (LayerCompositingThread):
- (WebCore::LayerCompositingThread::origin):
- * platform/graphics/blackberry/LayerFilterRenderer.cpp:
- (WebCore):
- * platform/graphics/blackberry/LayerRenderer.cpp:
- (WebCore::LayerRenderer::compositeLayers):
- (WebCore):
- (WebCore::LayerRenderer::drawLayersOnSurfaces):
- * platform/graphics/blackberry/LayerRendererSurface.cpp:
- (WebCore::LayerRendererSurface::drawRect):
- (WebCore::LayerRendererSurface::transformedBounds):
- * platform/graphics/blackberry/LayerRendererSurface.h:
- (WebCore::LayerRendererSurface::origin):
- (LayerRendererSurface):
- * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
- (WebCore):
- (WebCore::loadBufferingImageData):
- (WebCore::MediaPlayerPrivate::drawBufferingAnimation):
</del><ins>+ * testing/Internals.cpp: Remove crufty test methods that aren't used.
+ (WebCore::Internals::emitInspectorDidBeginFrame): Deleted.
+ (WebCore::Internals::emitInspectorDidCancelFrame): Deleted.
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>-2013-05-28 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-05 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Move Node::dispatchChangeEvent() to HTMLFormControlElement.
- <http://webkit.org/b/116866>
</del><ins>+ REGRESSION (r163914): Application cache cannot be used in main frame
+ https://bugs.webkit.org/show_bug.cgi?id=131263
+ <rdar://problem/16532063>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- ...and devirtualize it, since it had no overrides.
</del><ins>+ * loader/appcache/ApplicationCacheHost.cpp: (WebCore::ApplicationCacheHost::isApplicationCacheBlockedForRequest):
+ Don't check main frame origin when loading into main frame, it's not a 3rd party
+ subframe, and the URL is unrelated to the page we are loading now.
</ins><span class="cx">
</span><del>- * dom/Node.h:
- * dom/Node.cpp:
- * html/HTMLFormControlElement.h:
- * html/HTMLFormControlElement.cpp:
- (WebCore::HTMLFormControlElement::dispatchChangeEvent):
- (WebCore::HTMLFormControlElement::dispatchFormControlChangeEvent):
- * html/FileInputType.cpp:
- (WebCore::FileInputType::setFiles):
- * html/HTMLTextFormControlElement.cpp:
- (WebCore::HTMLTextFormControlElement::dispatchFormControlChangeEvent):
</del><ins>+ * loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::cacheForMainRequest):
+ Removed the same incorrect check that was duplicated here. The only caller already
+ checks isApplicationCacheBlockedForRequest().
</ins><span class="cx">
</span><del>-2013-05-28 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+2014-04-05 Dan Bernstein <mitz@apple.com>
</ins><span class="cx">
</span><del>- Refactoring CSS grammar
- https://bugs.webkit.org/show_bug.cgi?id=116679
</del><ins>+ [Xcode] Clean up the platform/graphics group
+ https://bugs.webkit.org/show_bug.cgi?id=131271
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- From Blink r149948 by <serya@chromium.org>
</del><ins>+ * WebCore.xcodeproj/project.pbxproj: Created an opentype group and moved opentype file
+ references into it. Removed duplicate file references.
</ins><span class="cx">
</span><del>- Added "closing_parenthesis:" and "error_recovery:" to avoid code
- duplication in a couple of error recovery rules. Some other rules
- were also refactored which allows to reduce the the number of
- shift/reduce conflicts by 2.
</del><ins>+2014-04-05 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- No new tests required as this is just a refactoring, no new
- functionality added.
</del><ins>+ Remove unused type casting helpers for HTMLUnknownElement...
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+ ...to fix the debug build.
</ins><span class="cx">
</span><del>-2013-05-28 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+ * html/HTMLUnknownElement.h:
</ins><span class="cx">
</span><del>- Invalid block doesn't make declaration invalid
- https://bugs.webkit.org/show_bug.cgi?id=115709
</del><ins>+2014-04-05 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><ins>+ Canvas strokeText and fillText with SourceIn, DestinationIn, SourceOut, DestinationAtop and Copy have errors
+ https://bugs.webkit.org/show_bug.cgi?id=66766
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- From Blink r149446 by <serya@chromium.org>
</del><ins>+ Use transparency layers to draw text with certain compositing modes on
+ the canvas. This follows the Canvas specification and makes WebKit fully
+ compatible with IE. It also makes it more compatible with Firefox, even though
+ Firefox still has some bugs.
</ins><span class="cx">
</span><del>- Added a new rule "declaration_recovery:" which covers any kind of
- "invalid_block_list maybe_space" sequence. By appending this new
- rule to every rule reductable to "declaration:" we can remove some
- redundant rules and improve error recovery of some others that
- were only accepting exactly one error.
</del><ins>+ Test: fast/canvas/canvas-composite-text-alpha.html
</ins><span class="cx">
</span><del>- One of the rules being removed was preventing invalid blocks in a
- declaration to invalidate the whole declaration. The rule was
- reporting the syntax error but at the same time accepting the
- invalid block as part of a valid declaration.
</del><ins>+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::drawTextInternal):
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+2014-04-05 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2013-05-28 Andreas Kling <akling@apple.com>
</del><ins>+ Devirtualize isHTMLUnknownElement().
+ <https://webkit.org/b/131269>
</ins><span class="cx">
</span><del>- Move dispatching of focus-related events from Node to Element.
- <http://webkit.org/b/116864>
</del><ins>+ We were hitting isHTMLUnknownElement() pretty hard when marking
+ out-of-document Nodes. (The check is part of isHTMLAudioElement()
+ which is called by JSNodeOwner::isReachableFromOpaqueRoots().)
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ This patch uses a Node flag for the unknown element instead.
+ I'm also adding HTMLUnknownElement.{h,idl} to the Xcode project
+ since they were suspiciously missing.
</ins><span class="cx">
</span><del>- ...and pass around pointers to Element instead of Node.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- * dom/Node.cpp:
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx"> * dom/Node.h:
</span><del>- * dom/Element.h:
- * dom/Element.cpp:
- (WebCore::Element::dispatchFocusInEvent):
- (WebCore::Element::dispatchFocusOutEvent):
- (WebCore::Element::dispatchFocusEvent):
- (WebCore::Element::dispatchBlurEvent):
</del><ins>+ * html/HTMLElement.h:
+ (WebCore::HTMLElement::isHTMLUnknownElement):
+ * html/HTMLUnknownElement.h:
+ (WebCore::toHTMLUnknownElement): Deleted.
</ins><span class="cx">
</span><del>- Moved here from Node.
</del><ins>+2014-04-05 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- * html/HTMLFormControlElement.h:
- * html/HTMLFormControlElement.cpp:
- (WebCore::HTMLFormControlElement::dispatchBlurEvent):
- * html/HTMLSelectElement.h:
- * html/HTMLSelectElement.cpp:
- (WebCore::HTMLSelectElement::dispatchFocusEvent):
- (WebCore::HTMLSelectElement::dispatchBlurEvent):
- * html/HTMLTextFormControlElement.h:
- * html/HTMLTextFormControlElement.cpp:
- (WebCore::HTMLTextFormControlElement::dispatchFocusEvent):
- (WebCore::HTMLTextFormControlElement::dispatchBlurEvent):
</del><ins>+ Canvas stroke and strokeRect with SourceIn, DestinationIn, SourceOut, DestinationAtop and Copy have errors
+ https://bugs.webkit.org/show_bug.cgi?id=66762
</ins><span class="cx">
</span><del>- Update subclass overrides and sprinkle OVERRIDE/FINAL.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-05-28 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ For fill operations we create a new ImageBuffer to ensure that the results are composited
+ correctly according to the Canvas spec. This patch creates a new transparency layer
+ for stroking on certain compositing operators to archive the same. This makes WebKit's
+ behavior interoperable with Firefox and IE as well.
</ins><span class="cx">
</span><del>- Remove CachedResourceRequest::initiatorElement
- https://bugs.webkit.org/show_bug.cgi?id=116862
</del><ins>+ Test: fast/fast/canvas/canvas-composite-stroke-alpha.html
</ins><span class="cx">
</span><ins>+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::strokeInternal):
+ (WebCore::CanvasRenderingContext2D::strokeRect):
+
+2014-04-05 Yusuke Suzuki <utatane.tea@gmail.com>
+
+ Use preallocated stack reference to store adjacentBacktrackingStart
+ https://bugs.webkit.org/show_bug.cgi?id=131237
+
+ Reviewed by Benjamin Poulain.
+
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::SelectorCodeGenerator):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::computeBacktrackingInformation):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateSelectorChecker):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateDirectAdjacentTreeWalker):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateAdjacentBacktrackingTail):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateBacktrackingTailsIfNeeded):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateWalkToPreviousAdjacent): Deleted.
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::linkFailures): Deleted.
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateDescendantBacktrackingTail): Deleted.
+ * cssjit/StackAllocator.h:
+ (WebCore::StackAllocator::allocateUninitialized):
+
+2014-04-05 Jeongeun Kim <je_julie.kim@samsung.com>
+
+ bad values from HTMLImageElement x and y attributes (CSSOM-View)
+ https://bugs.webkit.org/show_bug.cgi?id=130308
+
+ Reviewed by Simon Fraser.
+
+ According to CSSOM-View, interface HTMLImageElement,
+ The x attribute must return the x-coordinate.
+ If style is not updated when x() is called, it can’t return anything.
+ Style and layout should be done before getting value for x() and y().
+
+ Test: cssom/cssom-view-img-attributes-001.html
+
+ * html/HTMLImageElement.cpp:
+ (WebCore::HTMLImageElement::x):
+ (WebCore::HTMLImageElement::y):
+
+2014-04-05 Zoltan Horvath <zoltan@webkit.org>
+
+ [CSS Shapes] Remove CSSBoxType member from BasicShape and CSSBasicShape
+ https://bugs.webkit.org/show_bug.cgi?id=129706
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- The CachedResourceRequest::initiatorElement method is not used anywhere and should be removed.
</del><ins>+ The CSSBoxType has been moved up to ShapeValue and is no longer needed in the BasicShape classes.
</ins><span class="cx">
</span><del>- * loader/cache/CachedResourceRequest.cpp: Remove the initiatorElement method definition.
- * loader/cache/CachedResourceRequest.h:
- (CachedResourceRequest): Remove the initiatorElement method declaration.
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><del>-2013-05-28 Andreas Kling <akling@apple.com>
</del><ins>+ * css/BasicShapeFunctions.cpp:
+ (WebCore::valueForBasicShape):
+ (WebCore::basicShapeForValue):
+ * rendering/style/BasicShapes.cpp:
+ (WebCore::BasicShape::canBlend):
+ * rendering/style/BasicShapes.h:
+ (WebCore::BasicShape::referenceBox): Deleted.
+ (WebCore::BasicShape::setReferenceBox): Deleted.
+ (WebCore::BasicShape::BasicShape): Deleted.
</ins><span class="cx">
</span><del>- Document::setFocusedNode() should be setFocusedElement().
- <http://webkit.org/b/116857>
</del><ins>+2014-04-05 Mark Rowe <mrowe@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Fix the 32-bit build after r166818.
</ins><span class="cx">
</span><del>- Only Elements can be focused, so tighten Document's idea of what's focused.
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- Most of this patch is just updating call sites for the new names and removing
- now-unnecessary isElementNode() checks and casts.
</del><ins>+2014-04-03 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><ins>+ Web Inspector: hook up probe samples to TimelineAgent's records
+ https://bugs.webkit.org/show_bug.cgi?id=131127
+
+ Reviewed by Timothy Hatcher.
+
+ Hook up probe callbacks from ScriptDebugListener so that timeline records are
+ created for probe samples. The record includes the probe identifier and hit count.
+ The actual probe evaluation result is sent separately by DebuggerAgent, and
+ can be looked up in frontend models using the identifier and hit count.
+
+ * inspector/InspectorTimelineAgent.cpp: Only listen to the debug server when recording.
+ (WebCore::InspectorTimelineAgent::start):
+ (WebCore::InspectorTimelineAgent::stop):
+ (WebCore::InspectorTimelineAgent::breakpointActionProbe):
+ (WebCore::toProtocol):
+ * inspector/InspectorTimelineAgent.h:
+ * inspector/TimelineRecordFactory.cpp:
+ (WebCore::TimelineRecordFactory::createProbeSampleData):
+ * inspector/TimelineRecordFactory.h:
+ * inspector/protocol/Timeline.json: Add new enum value.
+
+2014-04-04 Andreas Kling <akling@apple.com>
+
+ Streamline cached wrapper lookup for Nodes in the normal world.
+ <https://webkit.org/b/131249>
+
+ Inline the hot path for toJS(..., Node*) for cached wrapper lookups
+ in the normal world. (Or really, out-of-line the cold path, since
+ that was preventing the compiler from inlining this function.)
+
+ Also have JSDOMGlobalObject cache the "is normal world" flag from
+ the DOMWrapperWorld so we can avoid the extra load.
+
+ Reviewed by Benjamin Poulain.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- * accessibility/AXObjectCache.cpp:
- (WebCore::AXObjectCache::focusedUIElementForPage):
- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::canSetFocusAttribute):
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::isFocused):
- (WebCore::AccessibilityRenderObject::setFocused):
- (WebCore::AccessibilityRenderObject::handleActiveDescendantChanged):
- * bindings/objc/DOM.mm:
- (-[DOMElement isFocused]):
- * dom/Document.cpp:
- (WebCore::Document::dispose):
- (WebCore::Document::detach):
- (WebCore::Document::focusedNodeRemoved):
- (WebCore::Document::removeFocusedNodeOfSubtree):
- (WebCore::Document::setFocusedElement):
- (WebCore::Document::updateFocusAppearanceTimerFired):
- (WebCore::eventTargetNodeForDocument):
- * dom/Document.h:
- (Document):
- (WebCore::Document::focusedElement):
- * dom/Element.cpp:
- (WebCore::Element::attach):
- (WebCore::Element::focus):
- (WebCore::Element::blur):
- (WebCore::Element::cancelFocusAppearanceUpdate):
- * dom/Node.cpp:
- (WebCore::Node::rendererIsEditable):
- * dom/TreeScope.cpp:
- (WebCore::TreeScope::focusedElement):
- * dom/UserTypingGestureIndicator.cpp:
- (WebCore::UserTypingGestureIndicator::UserTypingGestureIndicator):
</del><ins>+ * bindings/js/JSDOMGlobalObject.cpp:
+ (WebCore::JSDOMGlobalObject::JSDOMGlobalObject):
+ * bindings/js/JSDOMGlobalObject.h:
+ (WebCore::JSDOMGlobalObject::worldIsNormal):
+ * bindings/js/JSNodeCustom.cpp:
+ (WebCore::getOutOfLineCachedWrapper):
+ * bindings/js/JSNodeCustom.h:
+ (WebCore::toJS):
+
+2014-04-04 Brady Eidson <beidson@apple.com>
+
+ Show DataDetector UI on scanned phone numbers.
+ <rdar://problem/16379588> and https://bugs.webkit.org/show_bug.cgi?id=131247
+
+ Reviewed by Tim Horton.
+
+ Gather the ranges of the scanned telephone numbers and send them up to WK2:
</ins><span class="cx"> * editing/Editor.cpp:
</span><del>- (WebCore::Editor::setBaseWritingDirection):
- (WebCore::Editor::setComposition):
- (WebCore::Editor::guessesForMisspelledOrUngrammatical):
- * editing/EditorCommand.cpp:
- (WebCore::verticalScrollDistance):
- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::selectAll):
- (WebCore::FrameSelection::focusedOrActiveStateChanged):
- (WebCore::FrameSelection::setFocusedElementIfNeeded):
- (WebCore::FrameSelection::currentForm):
- * history/CachedPage.cpp:
- (WebCore::CachedPage::restore):
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::updateType):
- (WebCore::HTMLInputElement::attach):
- * html/HTMLTextAreaElement.cpp:
- (WebCore::HTMLTextAreaElement::setValueCommon):
- * html/HTMLTextFormControlElement.cpp:
- (WebCore::HTMLTextFormControlElement::placeholderShouldBeVisible):
- (WebCore::HTMLTextFormControlElement::selectionStart):
- (WebCore::HTMLTextFormControlElement::selectionEnd):
- (WebCore::HTMLTextFormControlElement::selectionDirection):
- * html/RadioInputType.cpp:
- (WebCore::RadioInputType::handleKeydownEvent):
- (WebCore::RadioInputType::isKeyboardFocusable):
- * html/shadow/DateTimeEditElement.cpp:
- (WebCore::DateTimeEditElement::focusedFieldIndex):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::stopLoading):
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::focus):
- * page/EventHandler.cpp:
- (WebCore::EventHandler::scrollOverflow):
- (WebCore::EventHandler::logicalScrollOverflow):
- (WebCore::EventHandler::dispatchMouseEvent):
- (WebCore::EventHandler::sendContextMenuEventForKey):
- (WebCore::EventHandler::capsLockStateMayHaveChanged):
- * page/FocusController.cpp:
- (WebCore::dispatchEventsOnWindowAndFocusedNode):
- (WebCore::FocusController::advanceFocusInDocumentOrder):
- (WebCore::FocusController::setFocusedElement):
- (WebCore::FocusController::findFocusCandidateInContainer):
- (WebCore::FocusController::advanceFocusDirectionallyInContainer):
- (WebCore::FocusController::advanceFocusDirectionally):
- * page/FrameView.cpp:
- (WebCore::FrameView::scrollToAnchor):
- * plugins/PluginView.cpp:
- (WebCore::PluginView::focusPluginElement):
- * plugins/efl/PluginViewEfl.cpp:
- (WebCore::PluginView::setFocus):
- * plugins/mac/PluginViewMac.mm:
- (WebCore::PluginView::platformStart):
- * rendering/RenderImage.cpp:
- (WebCore::RenderImage::paintAreaElementFocusRing):
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::paintItemForeground):
- (WebCore::RenderListBox::paintItemBackground):
- * rendering/RenderTextControlSingleLine.cpp:
- (WebCore::RenderTextControlSingleLine::capsLockStateMayHaveChanged):
- (WebCore::RenderTextControlSingleLine::textShouldBeTruncated):
- * rendering/RenderTheme.cpp:
- (WebCore::RenderTheme::isFocused):
</del><ins>+ (WebCore::Editor::respondToChangedSelection):
+ (WebCore::Editor::scanSelectionForTelephoneNumbers):
+ (WebCore::Editor::scanRangeForTelephoneNumbers):
+ * editing/Editor.h:
</ins><span class="cx">
</span><del>-2013-05-28 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+ Add client method to receive scanned telephone number ranges:
+ * page/EditorClient.h:
+ (WebCore::EditorClient::selectedTelephoneNumberRangesChanged):
</ins><span class="cx">
</span><del>- Web Inspector: Enable CSS logging
- https://bugs.webkit.org/show_bug.cgi?id=113401
</del><ins>+ Remove unneeded placeholder UI:
+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::paintDocumentMarkers):
+ (WebCore::InlineTextBox::computeRectForReplacementMarker): Deleted.
+ (WebCore::InlineTextBox::paintCompositionUnderline): Deleted.
+ * rendering/InlineTextBox.h:
+ (WebCore::InlineTextBox::expansionBehavior): Deleted.
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+2014-04-04 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- From Blink r149265 by <serya@chromium.org>
</del><ins>+ AX: supportsARIAExpanded should always return true for a few roles: combobox, disclosure.
+ https://bugs.webkit.org/show_bug.cgi?id=129787
</ins><span class="cx">
</span><del>- CSS logging was disabled in r147028 to prevent message overflow in
- the inspector console. This change restores it by modifying the
- CSS grammar in order to reduce as much consecutive errors as
- possible in 'declaration_list' and 'decl_list' rules.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- This way, for rules like 'x { color: ### }' only the first '#'
- will be reported as error (instead of 3 identical errors).
</del><ins>+ Test: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
</ins><span class="cx">
</span><del>- The rule 'declaration' still produces multiple errors, because it
- does not eat as much errors as possible. So in order not to create
- a complex risky patch we just disable logging in the parser for
- that rule.
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::supportsARIAExpanded):
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+2014-04-04 Andreas Kling <akling@apple.com>
+
+ JSGenerateToNativeObject should use fast JSNode/JSElement casts.
+ <https://webkit.org/b/131245>
+
+ Make JSGenerateToNativeObject spit out code using the fast new wrapper
+ casts for JSNode and JSElement.
+
+ This avoids walking the ClassInfo chain in many core functions, e.g:
+
+ - Node.insertBefore()
+ - Node.replaceChild()
+ - Node.removeChild()
+ - Node.appendChild()
+ - window.getComputedStyle()
+
+ Reviewed by Geoff Garen.
+
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+
+2014-04-04 Zoltan Horvath <zoltan@webkit.org>
+
+ [CSS Shapes] polygon y-value calc() args serialize incorrectly
+ https://bugs.webkit.org/show_bug.cgi?id=129842
+
+ Reviewed by Bem Jones-Bey.
+
+ The code hit ASSERT(isCalculation(value)) in CSSParser::createPrimitiveNumbericValue, because
+ CSSParser::validUnit had been called on both coordinates, which set the value for m_parsedCalculation,
+ but only one of the coordinates was calculation value. I reordered calling valudUnit and
+ createPrimitiveNumbericValue to be called in the correct order on the coordinates.
+
+ I added the new test case to parsing-test-utils.js.
+
</ins><span class="cx"> * css/CSSParser.cpp:
</span><del>- (WebCore::CSSParser::CSSParser):
- (WebCore::CSSParser::parseSheet):
- (WebCore::CSSParser::syntaxError):
- (WebCore::CSSParser::isLoggingErrors):
- (WebCore::CSSParser::rewriteSpecifiers):
- * css/CSSParser.h:
- (CSSParser):
</del><ins>+ (WebCore::CSSParser::parseBasicShapePolygon):
</ins><span class="cx">
</span><del>-2013-05-27 Patrick Gansterer <paroga@webkit.org>
</del><ins>+2014-04-04 Brian J. Burg <burg@cs.washington.edu>
</ins><span class="cx">
</span><del>- Build fix for WinCE after r150730.
</del><ins>+ Web Replay: capture and replay wheel events and scroll commands
+ https://bugs.webkit.org/show_bug.cgi?id=129402
</ins><span class="cx">
</span><del>- * platform/graphics/FontFallbackList.cpp:
- (WebCore::FontGlyphs::glyphDataAndPageForCharacter):
</del><ins>+ Reviewed by Timothy Hatcher and Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-27 Patrick Gansterer <paroga@webkit.org>
</del><ins>+ To capture and replay scrolling, the scrolling coordinator will force synchronous
+ scrolling during capture and replay. If the page is capturing or replaying,
+ ForceOnMainThread will be added to the coordinator's SynchronousScrollingReasons.
</ins><span class="cx">
</span><del>- Build fix for WinCE after r150772.
</del><ins>+ A callback was added to signal that replay session state have changed,
+ and thus the synchronous scrolling reasons should be recomputed.
</ins><span class="cx">
</span><del>- * platform/win/ClipboardWin.cpp:
- (WebCore):
- * platform/win/PasteboardWin.cpp:
- (WebCore::Pasteboard::readFilenames):
- (WebCore):
</del><ins>+ Automated replay reftests for scrolling are not included, because they will be
+ too flaky until more nondeterminism is handled. Specifically, resource loading,
+ initial focus/active state, and parsing are known blocking issues.
</ins><span class="cx">
</span><del>-2013-05-27 Darin Adler <darin@apple.com>
</del><ins>+ Test: ManualTests/inspector/replay-wheel-events.html
</ins><span class="cx">
</span><del>- Fix build.
</del><ins>+ * page/scrolling/ScrollingCoordinator.cpp: Add a new callback for replay state
+ session changes. Add ForceOnMainThread if the page's active input cursor is
+ capturing or replaying.
</ins><span class="cx">
</span><del>- * html/HTMLAnchorElement.cpp:
- (WebCore::hasNonEmptyBox): Fix typo.
</del><ins>+ (WebCore::ScrollingCoordinator::synchronousScrollingReasons):
+ (WebCore::ScrollingCoordinator::replaySessionStateDidChange): Added.
+ * page/scrolling/ScrollingCoordinator.h:
</ins><span class="cx">
</span><del>-2013-05-27 Darin Adler <darin@apple.com>
</del><ins>+ * platform/PlatformWheelEvent.h:
+ * platform/ScrollTypes.h: Add explicit enum storage types so these enums can
+ be forward-declared. This is necessary to generate enum encode/decode implementations.
</ins><span class="cx">
</span><del>- Move hasNonEmptyBoundingBox from Node to HTMLAnchorElement
- https://bugs.webkit.org/show_bug.cgi?id=116842
</del><ins>+ * replay/ReplayController.cpp:
+ (WebCore::ReplayController::setForceDeterministicSettings): If async scrolling
+ support is available, tell the scrolling tree to behave deterministically.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * replay/ReplayInputDispatchMethods.cpp:
+ (WebCore::HandleWheelEvent::dispatch): Added.
+ (WebCore::LogicalScrollPage::dispatch): Added.
+ (WebCore::ScrollPage::dispatch): Added.
+ * replay/SerializationMethods.cpp: Introduce more specific macros for values
+ deserialized to arbitraray lvalues, scalars, RefPtr, and unique_ptr. Fix existing
+ uses of decode macros.
</ins><span class="cx">
</span><del>- * dom/Node.cpp: Removed hasNonEmptyBoundingBox.
- * dom/Node.h: Ditto.
</del><ins>+ (JSC::EncodingTraits<NondeterministicInputBase>::encodeValue): Fix macro name.
+ (JSC::EncodingTraits<KeypressCommand>::encodeValue): Fix macro name.
+ (JSC::EncodingTraits<PlatformKeyboardEvent>::encodeValue): Fix macro name.
+ (JSC::EncodingTraits<PlatformMouseEvent>::encodeValue): Fix macro name.
+ (JSC::PlatformWheelEventCocoa::PlatformWheelEventCocoa): Added. Encapsulate
+ and initialize data members specific to PLATFORM(COCOA).
</ins><span class="cx">
</span><del>- * html/HTMLAnchorElement.cpp:
- (WebCore::HTMLAnchorElement::isMouseFocusable): Fixed #if to be more readable and
- added more-explicit clearer comments. No behavior change.
- (WebCore::hasNonEmptyBox): Added. Has the same code that was in
- Node::hasNonEmptyBoundingBox with some additional comments.
- (WebCore::HTMLAnchorElement::isKeyboardFocusable): Call hasNonEmptyBox.
</del><ins>+ (JSC::EncodingTraits<PlatformWheelEvent>::encodeValue): Added.
+ (JSC::EncodingTraits<PlatformWheelEvent>::decodeValue): Added.
+ * replay/SerializationMethods.h:
+ * replay/UserInputBridge.cpp: Fill in bridge methods to capture inputs.
+ (WebCore::UserInputBridge::handleWheelEvent):
+ (WebCore::UserInputBridge::scrollRecursively):
+ (WebCore::UserInputBridge::logicalScrollRecursively):
+ * replay/WebInputs.json: Add inputs and new enum types.
</ins><span class="cx">
</span><del>-2013-05-27 Darin Adler <darin@apple.com>
</del><ins>+2014-04-04 Yusuke Suzuki <utatane.tea@gmail.com>
</ins><span class="cx">
</span><del>- Move isBlockFlowElement and related functions out of the Node class into editing code
- https://bugs.webkit.org/show_bug.cgi?id=116846
</del><ins>+ Upgrade to SelectorFailsAllSiblings when Child selector is failed.
+ https://bugs.webkit.org/show_bug.cgi?id=130961
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- * dom/Node.cpp: Removed isBlockFlowElement, enclosingBlockFlowElement, and
- inSameContainingBlockFlowElement. These are all editing functions that don't
- belong in the Node class, and mostly-deprecated ones to boot.
- * dom/Node.h: Ditto.
</del><ins>+ When Child selector fails, we should resume matching from the closest
+ Descendant selector.
+ So upgrading SelectorFailsLocally to SelectorFailsAllSibling at least
+ to prevent unnecessary direct/indirect adjacent selectors matching.
</ins><span class="cx">
</span><del>- * dom/Position.cpp:
- (WebCore::inSameEnclosingBlockFlowElement): Added. This editing-specific function
- is used only here, so put it here.
- (WebCore::Position::rendersInDifferentPosition): Updated to call new function above.
- (WebCore::Position::leadingWhitespacePosition): Ditto.
</del><ins>+ * css/SelectorChecker.cpp:
+ (WebCore::SelectorChecker::matchRecursively):
</ins><span class="cx">
</span><del>- * editing/InsertLineBreakCommand.cpp:
- (WebCore::InsertLineBreakCommand::insertNodeAfterPosition): Use
- deprecatedEnclosingBlockFlowElement at its new location.
- (WebCore::InsertLineBreakCommand::insertNodeBeforePosition): Ditto.
</del><ins>+2014-04-04 Roger Fong <roger_fong@apple.com>
</ins><span class="cx">
</span><del>- * editing/InsertListCommand.cpp:
- (WebCore::InsertListCommand::doApplyForSingleParagraph): use
- isBlockFlowElement at its new location.
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::enclosingInline): Ditto.
</del><ins>+ Keep track of filtered active attribute/uniform indices per shader program.
+ https://bugs.webkit.org/show_bug.cgi?id=131235.
</ins><span class="cx">
</span><del>- * editing/VisiblePosition.cpp:
- (WebCore::VisiblePosition::canonicalPosition): Use deprecatedEnclosingBlockFlowElement
- at its new location.
- (WebCore::enclosingBlockFlowElement): Ditto. Also added FIXME.
- * editing/VisibleSelection.cpp:
- (WebCore::makeSearchRange): Ditto.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * editing/htmlediting.cpp:
- (WebCore::isBlockFlowElement): Added. Same as the Node::isBlockFlowElement
- function, but here because this is an editing function, not suitable as a Node member.
- (WebCore::deprecatedEnclosingBlockFlowElement): Ditto. Added "deprecated" to the name
- since the Node member function had a comment saying it was deprecated. Also changed so
- it tolerates a 0 for an argument, which made it easier for one caller.
</del><ins>+ Tests: Covered by existing Khronos Conformance tests.
+ Will create a test to use multiple shader programs in a follow-up patch.
</ins><span class="cx">
</span><del>- * editing/htmlediting.h: Added the two new functions.
</del><ins>+ * html/canvas/WebGLProgram.cpp:
+ (WebCore::WebGLProgram::cacheActiveAttribLocations): Use getActiveAttribImpl. We do not need to use the filtered list of attributes here.
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::getUniformLocation): Use filtered list of uniforms for uniform count.
+ * platform/graphics/GraphicsContext3D.h: Create a map of shader programs to ActiveShaderSymbolCounts.
+ * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
+ (WebCore::GraphicsContext3D::attachShader):
+ When attaching or detaching a shader the shader program's active symbols list will change. Clear it so that it will be updated later.
+ (WebCore::GraphicsContext3D::detachShader): Ditto.
+ (WebCore::GraphicsContext3D::compileShader): No need to clear symbol counts here.
+ (WebCore::GraphicsContext3D::getActiveAttrib): getActiveAttrib should only be able to query for attributes in the filtered list.
+ (WebCore::GraphicsContext3D::getActiveUniform): getActiveUniform should only be able to query for uniforms in the filtered list.
+ (WebCore::GraphicsContext3D::getNonBuiltInActiveSymbolCount): Return the filtered symbol count for a shader program.
</ins><span class="cx">
</span><del>-2013-05-27 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+2014-04-04 Ion Rosca <rosca@adobe.com>
</ins><span class="cx">
</span><del>- Add guard around paintForFixedRootBackground
- https://bugs.webkit.org/show_bug.cgi?id=116754
</del><ins>+ [CSS Blending] Add compositing reason for isolation.
+ https://bugs.webkit.org/show_bug.cgi?id=131153
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><del>- paintForFixedRootBackground is only used when ACCELERATED_COMPOSITING is enabled.
</del><ins>+ There are 2 reasons involving blend modes for a layer to be composited:
+ 1) the layer has blend mode and has composited descendants: CompositingReasonBlendingWithCompositedDescendants.
+ 2) the layer has to isolate composited blending descendants: CompositingReasonIsolatesCompositedBlendingDescendants
</ins><span class="cx">
</span><ins>+ Test: inspector-protocol/layers/layers-blending-compositing-reasons.html
+
+ * inspector/InspectorLayerTreeAgent.cpp:
+ (WebCore::InspectorLayerTreeAgent::reasonsForCompositingLayer):
+ * inspector/protocol/LayerTree.json:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::reasonsForCompositing):
+ (WebCore::RenderLayerCompositor::logReasonsForCompositing):
+ * rendering/RenderLayerCompositor.h: adding CompositingReasonIsolatesCompositedBlendingDescendants.
+
+2014-04-04 Bem Jones-Bey <bjonesbe@adobe.com>
+
+ Use more const refs in ShapeOutsideInfo and some misc cleanup
+ https://bugs.webkit.org/show_bug.cgi?id=131192
+
+ Reviewed by Dirk Schulze.
+
+ Use const refs for pretty much everything that can't be null. Also
+ cleanup some code that got a bit messy when ShapeInfo was merged into
+ ShapeOutsideInfo.
+
</ins><span class="cx"> No new tests, no behavior change.
</span><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore):
</del><ins>+ * rendering/shapes/ShapeOutsideInfo.cpp:
+ (WebCore::ShapeOutsideInfo::shapeToRendererPoint):
+ (WebCore::ShapeOutsideInfo::shapeToRendererSize):
+ (WebCore::referenceBox):
+ (WebCore::ShapeOutsideInfo::setReferenceBoxLogicalSize):
+ (WebCore::getShapeImageAndRect):
+ (WebCore::ShapeOutsideInfo::computedShape):
+ (WebCore::ShapeOutsideInfo::logicalTopOffset):
+ (WebCore::ShapeOutsideInfo::logicalLeftOffset):
+ * rendering/shapes/ShapeOutsideInfo.h:
</ins><span class="cx">
</span><del>-2013-05-27 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+2014-04-04 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Remove a leftover Pagepoup from PickerIndicatorElement.h
- https://bugs.webkit.org/show_bug.cgi?id=116801
</del><ins>+ REGRESSION (r166615): Pressing return doesn’t submit search term at bing.com
+ https://bugs.webkit.org/show_bug.cgi?id=131212
+ <rdar://problem/16521788>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><ins>+ Test: fast/forms/submit-while-you-submit.html
+
+ Turns out that m_shouldSubmit can actually be modified in a code path where we can't
+ directly return the result. I'm not sure if the current behavior is entirely correct
+ (we have open bugs about submitting forms multiple times), but let's restore it to
+ pre-r166615 state.
+
+ * html/HTMLFormElement.cpp:
+ (WebCore::HTMLFormElement::HTMLFormElement):
+ (WebCore::HTMLFormElement::prepareForSubmission):
+ (WebCore::HTMLFormElement::submit):
+ * html/HTMLFormElement.h:
+
+2014-04-04 Martin Hock <mhock@apple.com>
+
+ [Mac] Change operation queue width to NSOperationQueueDefaultMaxConcurrentOperationCount.
+ https://bugs.webkit.org/show_bug.cgi?id=131231
+
+ <rdar://problem/13913483>
+
+ Reviewed by Brady Eidson.
+
</ins><span class="cx"> No new tests, no behavior change.
</span><span class="cx">
</span><del>- * html/shadow/PickerIndicatorElement.h:
- (WebCore):
</del><ins>+ * platform/network/mac/ResourceHandleMac.mm:
+ (WebCore::operationQueueForAsyncClients):
</ins><span class="cx">
</span><del>-2013-05-27 Claudio Saavedra <csaavedra@igalia.com>
</del><ins>+2014-04-04 Hans Muller <hmuller@adobe.com>
</ins><span class="cx">
</span><del>- [CSS] -webkit-var prefix is case-sensitive
- https://bugs.webkit.org/show_bug.cgi?id=116829
</del><ins>+ [CSS Shapes] Simplify Polygon implementation
+ https://bugs.webkit.org/show_bug.cgi?id=130975
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Tests: Added case to fast/css/variables/case-sensitive.html
</del><ins>+ Only floats can specify shape-outside. For polygon shape-outside values, the problem
+ of finding the left and right exclusion edges reduces to finding the X axis
+ limits of the polygon edges that overlap a particular layout line. This is a much
+ simpler version of the problem that PolygonShape was originally designed for, and so
+ the implementation can also be simplified. There's more about the new algorithm in
+ http://hansmuller-webkit.blogspot.com/2014/03/a-simpler-algorithm-for-css-shapes.html.
</ins><span class="cx">
</span><ins>+ No new tests, since functionality was only removed.
+
+ * platform/graphics/FloatRect.h:
+ (WebCore::FloatRect::overlapsYRange):
+ (WebCore::FloatRect::overlapsXRange):
+ * rendering/shapes/PolygonShape.cpp:
+ (WebCore::OffsetPolygonEdge::xIntercept):
+ (WebCore::circleXIntercept):
+ (WebCore::OffsetPolygonEdge::clippedEdgeXRange): X axis extent of the edge clipped to a vertical interval.
+ (WebCore::clippedCircleXRange): X axis extent of a circle clipped to a vertical interval.
+ (WebCore::PolygonShape::shapeMarginLogicalBoundingBox):
+ (WebCore::PolygonShape::getExcludedIntervals):
+ (WebCore::PolygonShape::buildDisplayPaths):
+ * rendering/shapes/PolygonShape.h:
+ (WebCore::OffsetPolygonEdge::OffsetPolygonEdge):
+ (WebCore::OffsetPolygonEdge::isWithinYRange):
+ (WebCore::OffsetPolygonEdge::overlapsYRange):
+ (WebCore::PolygonShape::PolygonShape):
+ * rendering/shapes/ShapeInterval.h:
+ (WebCore::ShapeInterval::isEmpty):
+ (WebCore::ShapeInterval::unite):
+
+2014-04-04 Bem Jones-Bey <bjonesbe@adobe.com>
+
+ [CSS Shapes] shape-margin in percentage units always computes to 0px
+ https://bugs.webkit.org/show_bug.cgi?id=130369
+
+ Reviewed by Andreas Kling.
+
+ Make shape-margin parsing accept percentages and properly compute the
+ length once the percentage is accepted.
+
+ Test: fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-percent.html
+
</ins><span class="cx"> * css/CSSParser.cpp:
</span><del>- (WebCore::isEqualToCSSCaseSensitiveIdentifier): Add variant to
- IsEqualToCSSIdentifier that respects case-sensitivity.
- (WebCore::CSSParser::realLex): Use the above method for CSS
- variable declarations.
</del><ins>+ (WebCore::CSSParser::parseValue):
+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createShape):
+ (WebCore::Shape::createRasterShape):
+ (WebCore::Shape::createBoxShape):
+ * rendering/shapes/Shape.h:
+ * rendering/shapes/ShapeOutsideInfo.cpp:
+ (WebCore::ShapeOutsideInfo::computedShape):
</ins><span class="cx">
</span><del>-2013-05-27 Zalan Bujtas <zalan@apple.com>
</del><ins>+2014-04-04 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- drop-shadow filter with overflow:hidden child misbehaves.
- https://bugs.webkit.org/show_bug.cgi?id=109783
</del><ins>+ [CSS Shapes] Remove outside-shape CSS value
+ https://bugs.webkit.org/show_bug.cgi?id=131201
</ins><span class="cx">
</span><ins>+ Reviewed by Bem Jones-Bey.
+
+ Outside-shape is not a valid CSS value anymore. This patch removes it.
+
+ No new tests, existing tests are removed.
+
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::shapePropertyValue):
+ * css/CSSValueKeywords.in:
+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::ApplyPropertyShape::applyValue):
+ * rendering/shapes/ShapeOutsideInfo.cpp:
+ (WebCore::ShapeOutsideInfo::computedShape):
+ (WebCore::ShapeOutsideInfo::isEnabledFor):
+ * rendering/style/ShapeValue.h:
+ (WebCore::ShapeValue::createOutsideValue): Deleted.
+
+2014-04-04 Dirk Schulze <krit@webkit.org>
+
+ Gradient offsets are off if compositing operator != source-over
+ https://bugs.webkit.org/show_bug.cgi?id=129791
+
+ Reviewed by Andreas Kling.
+
+ Instead of transforming the path before drawing it on the context,
+ the whole context should be transformed. This will make the gradient
+ map correctly to the context space.
+
+ Test: fast/canvas/canvas-gradient-on-compositing.html
+
+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::fullCanvasCompositedFill):
+
+2014-04-04 Zalan Bujtas <zalan@apple.com>
+
+ Subpixel rendering: Move background images to device pixel boundaries.
+ https://bugs.webkit.org/show_bug.cgi?id=131144
+
</ins><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- Applying CSS filters only to the scrollbar rect leaves rendering
- artefacts. Filters should skip such partial repaints.
</del><ins>+ Replace integral snapping with device pixel snapping.
+ Background image geometry calculation uses LayoutUnits and we snap to device pixels right before painting.
</ins><span class="cx">
</span><del>- Tests: Test framework uses mock theme for scrollbars. Such scrollbars do not
- initiate partial repaints.
</del><ins>+ Tests: fast/backgrounds/hidpi-bitmap-background-on-subpixel-position.html
+ fast/backgrounds/hidpi-bitmap-background-origin-on-subpixel-position.html
+ fast/backgrounds/hidpi-bitmap-background-repeat-on-subpixel-position.html
+ fast/backgrounds/hidpi-generated-gradient-background-on-subpixel-position.html
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::setupFilters):
- (WebCore::RenderLayer::paintLayerContents):
- * rendering/RenderLayer.h:
- (RenderLayer):
</del><ins>+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::setContentsTilePhase):
+ (WebCore::GraphicsLayer::contentsTilePhase):
+ (WebCore::GraphicsLayer::setContentsTileSize):
+ (WebCore::GraphicsLayer::contentsTileSize):
+ * platform/graphics/texmap/TextureMapperLayer.cpp:
+ (WebCore::TextureMapperLayer::setContentsTileSize):
+ (WebCore::TextureMapperLayer::setContentsTilePhase):
+ * platform/graphics/texmap/TextureMapperLayer.h:
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::setContentsTileSize):
+ (WebCore::CoordinatedGraphicsLayer::setContentsTilePhase):
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsState.h:
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::repaintLayerRectsForImage):
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintFillLayerExtended):
+ (WebCore::resolveWidthForRatio):
+ (WebCore::resolveHeightForRatio):
+ (WebCore::resolveAgainstIntrinsicWidthOrHeightAndRatio):
+ (WebCore::resolveAgainstIntrinsicRatio):
+ (WebCore::RenderBoxModelObject::calculateImageIntrinsicDimensions):
+ (WebCore::RenderBoxModelObject::calculateFillTileSize):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::setNoRepeatX):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::setNoRepeatY):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::useFixedAttachment):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::clip):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::relativePhase):
+ (WebCore::getSpace):
+ (WebCore::RenderBoxModelObject::pixelSnapBackgroundImageGeometryForPainting):
+ (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
+ (WebCore::RenderBoxModelObject::getGeometryForBackgroundImage):
+ (WebCore::RenderBoxModelObject::paintNinePieceImage):
+ (WebCore::applySubPixelHeuristicForTileSize): Deleted.
+ * rendering/RenderBoxModelObject.h:
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::destOrigin):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::setDestOrigin):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::destRect):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::setDestRect):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::phase):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::setPhase):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::tileSize):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::setTileSize):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::spaceSize):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::setSpaceSize):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::setPhaseX):
+ (WebCore::RenderBoxModelObject::BackgroundImageGeometry::setPhaseY):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateDirectlyCompositedBackgroundImage):
+ * rendering/shapes/ShapeOutsideInfo.cpp:
+ (WebCore::getShapeImageAndRect):
</ins><span class="cx">
</span><del>-2013-05-27 Xueqing Huang <huangxueqing@baidu.com>
</del><ins>+2014-04-04 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Move Windows port off legacy clipboard.
- https://bugs.webkit.org/show_bug.cgi?id=116258
</del><ins>+ [Win] Unreviewed test fix (crash in debug build).
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
+ (WebCore::AVFWrapper::legibleOutputCallback): Correct assertion. This
+ callback is scheduled for the caption queue, not the main queue.
</ins><span class="cx">
</span><del>- Clipboard refactor, no new tests.
</del><ins>+2014-04-03 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- * dom/Clipboard.h:
- * page/win/EventHandlerWin.cpp:
- (WebCore::EventHandler::createDraggingClipboard): Create Clipboard instead of ClipboardWin.
- * platform/Pasteboard.h:
- (WebCore::Pasteboard::dataObject): Get IDataObject by Clipborad.
- (WebCore::Pasteboard::writableDataObject): Get WCDataObject by Clipborad.
- * platform/win/ClipboardWin.cpp:
- (WebCore::Clipboard::createDragImage): Change parameter name loc to dragLocation.
- (WebCore::Clipboard::declareAndWriteDragImage): Implement declareAndWriteDragImage use WCDataObject exposed by Pasteboard.
- * platform/win/ClipboardWin.h: Removed.
- * platform/win/EditorWin.cpp:
- (WebCore::Editor::newGeneralClipboard): Create Clipboard instead of ClipboardWin.
- * platform/win/PasteboardWin.cpp:
- (WebCore::Pasteboard::createForCopyAndPaste): Create a Pasteboard.
- (WebCore::Pasteboard::createPrivate): Ditto.
- (WebCore::Pasteboard::createForDragAndDrop): Ditto.
- (WebCore::Pasteboard::finishCreatingPasteboard): Create Pasteboard use Windows API.
- (WebCore::Pasteboard::Pasteboard):
- (WebCore::clipboardTypeFromMIMEType): Copied from ClipboardWin.cpp.
- (WebCore::Pasteboard::clear): Ditto.
- (WebCore::Pasteboard::hasData): Ditto.
- (WebCore::addMimeTypesForFormat): Ditto.
- (WebCore::Pasteboard::types): Ditto.
- (WebCore::Pasteboard::readString): Ditto.
- (WebCore::Pasteboard::readFilenames): Ditto.
- (WebCore::writeURL): Ditto.
- (WebCore::Pasteboard::writeString): Ditto.
- (WebCore::Pasteboard::setDragImage): Ditto.
- (WebCore::Pasteboard::writeRangeToDataObject): Write range to WCDataObject.
- (WebCore::Pasteboard::writeSelection):
- (WebCore::Pasteboard::writePlainTextToDataObject): Write PlainText to WCDataObject.
- (WebCore::Pasteboard::writePlainText):
- (WebCore::pathRemoveBadFSCharacters): Copied from ClipboardWin.cpp.
- (WebCore::filesystemPathFromUrlOrTitle): Ditto.
- (WebCore::writeFileToDataObject): Ditto.
- (WebCore::Pasteboard::writeURLToDataObject): Write URL to WCDataObject.
- (WebCore::Pasteboard::writeURL): Copied from ClipboardWin.cpp.
- (WebCore::Pasteboard::writePasteboard): Copied from Pasteboard::writeClipboard.
- (WebCore::Pasteboard::documentFragment): Copied from ClipboardWin.cpp.
- (WebCore::Pasteboard::setExternalDataObject): Clipboard can set new IDataObject.
- (WebCore::getCachedImage): Copied from ClipboardWin.cpp.
- (WebCore::createGlobalImageFileDescriptor): Ditto.
- (WebCore::createGlobalImageFileContent): Ditto.
- (WebCore::createGlobalHDropContent): Ditto.
- (WebCore::Pasteboard::writeImageToDataObject): Expose to make Clipboard implement declareAndWriteDragImage.
- (WebCore::Pasteboard::writeURLToWritableDataObject): Ditto.
</del><ins>+ [Win] Load Media Controls js/css from bundle
+ https://bugs.webkit.org/show_bug.cgi?id=131194
</ins><span class="cx">
</span><del>-2013-05-27 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- PDFPlugin: Main-frame PDFPlugin Accessibility
- https://bugs.webkit.org/show_bug.cgi?id=116563
- <rdar://problem/13458534>
</del><ins>+ * DerivedSources.cpp: Remove no-longer generated file.
+ * DerivedSources.make: Don't generate unneeded files.
+ * WebCore.vcxproj/WebCore.vcxproj: Don't compile unneeded files.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
+ * WebCore.vcxproj/copyWebCoreResourceFiles.cmd: Copy css/js to resource
+ * rendering/RenderThemeSafari.cpp:
+ * rendering/RenderThemeSafari.h:
+ * rendering/RenderThemeWin.cpp:
+ * rendering/RenderThemeWin.h:
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+2014-04-04 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Export AffineTransform::mapRect.
</del><ins>+ [CSSRegions] Region's behaviour not updated when becoming valid from invalid
+ https://bugs.webkit.org/show_bug.cgi?id=131211
</ins><span class="cx">
</span><del>-2013-05-27 Tiancheng Jiang <tijiang@rim.com>
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- Checkbox UX update.
- https://bugs.webkit.org/show_bug.cgi?id=116838.
</del><ins>+ When a region becomes valid again from invalid, it was part of a dependency cycle and the dependency cycle was broken,
+ it needs to behave like a valid region again: if it has autoheight then it should compute its height based on the
+ named flow content, if it has region styling then it should apply the additional style to the flowed content.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Added a new method, updateRegionFlags, that is used to ensure that auto-height and region-styling flags
+ are properly set in several situations. Checking the behaviour, autoheight or styling, is done only
+ if the region is valid.
</ins><span class="cx">
</span><del>- BlackBerry PR 342302.
- Internally Reviewed by Jeff Rogers.
- Remove old background and change pressed checkmark image.
</del><ins>+ Tests: fast/regions/auto-size/autoheight-region-valid-from-invalid.html
+ fast/regions/region-styling/region-withstyling-valid-from-invalid.html
</ins><span class="cx">
</span><del>- * platform/blackberry/RenderThemeBlackBerry.cpp:
- (WebCore::RenderThemeBlackBerry::paintCheckbox):
</del><ins>+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::updateRegionFlags):
+ (WebCore::RenderNamedFlowFragment::styleDidChange):
+ (WebCore::RenderNamedFlowFragment::updateRegionHasAutoLogicalHeightFlag):
+ (WebCore::RenderNamedFlowFragment::checkRegionStyle):
+ (WebCore::RenderNamedFlowFragment::attachRegion):
+ (WebCore::RenderNamedFlowFragment::detachRegion):
+ * rendering/RenderNamedFlowFragment.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::addFragmentToNamedFlowThread):
</ins><span class="cx">
</span><del>-2013-05-27 Sam Weinig <sam@webkit.org>
</del><ins>+2014-04-04 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
</ins><span class="cx">
</span><del>- When the background is completely transparent we should be conservative and use the default scrollbar style, not the light one
- https://bugs.webkit.org/show_bug.cgi?id=116836
- <rdar://problem/13949905>
</del><ins>+ [GTK][CMake] Remove FindXt.cmake.
+ https://bugs.webkit.org/show_bug.cgi?id=131227
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::recalculateScrollbarOverlayStyle):
- Don't use the light style when the background is completely transparent.
</del><ins>+ * PlatformGTK.cmake: Use FindX11.cmake's Xt variables instead of our own FindXt.cmake's ones.
</ins><span class="cx">
</span><del>-2013-05-27 Patrick Gansterer <paroga@webkit.org>
</del><ins>+2014-04-03 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Use ICU_INCLUDE_DIRS in BlackBerry CMake files
- https://bugs.webkit.org/show_bug.cgi?id=116210
</del><ins>+ Fast-path for casting JS wrappers to JSElement.
+ <https://webkit.org/b/131210>
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Add an extended JSType for Element wrappers so we can avoid walking
+ the ClassInfo chain in those bindings as well.
</ins><span class="cx">
</span><del>- Set and use the ICU_INCLUDE_DIRS variable to avoid
- duplicated adding of the ICU include directory.
</del><ins>+ Generalized the code to select a casting helper in the bindings
+ generator into a function (GetCastingHelperForThisObject.)
+ Updated all the jsDynamicCast call sites to go through this, in case
+ there's an optimized cast available for the desired type.
</ins><span class="cx">
</span><del>- * PlatformBlackBerry.cmake:
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>-2013-05-27 Antti Koivisto <antti@apple.com>
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSDOMWrapper.h:
+ * bindings/js/JSElementCustom.h: Added.
+ (WebCore::jsElementCast):
+ * bindings/js/JSNodeCustom.h:
+ (WebCore::jsNodeCast):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateHeader):
+ (GetCastingHelperForThisObject):
+ (GenerateImplementation):
+ * dom/Element.idl:
</ins><span class="cx">
</span><del>- Tighten FontGlyphs::glyphDataAndPageForCharacter to take FontDescription
- https://bugs.webkit.org/show_bug.cgi?id=116823
</del><ins>+2014-04-03 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><ins>+ Rebaseline a bindings test.
+
+ * bindings/scripts/test/JS/JSTestNode.h:
+ (WebCore::JSTestNode::createStructure):
+
+2014-04-03 Andreas Kling <akling@apple.com>
+
+ Fast-path for casting JS wrappers to JSNode.
+ <https://webkit.org/b/131196>
+
+ Add a way to quickly determine that a given JSObject is a JSNode.
+ This lets us avoid walking the ClassInfo chain in the DOM bindings
+ for WebCore::Node.
+
+ Reviewed by Mark Hahnenberg and Geoff Garen.
+
+ * bindings/js/JSDOMWrapper.h:
+
+ Added a JSNodeType constant that extends beyond JSC::JSType.
+
+ * bindings/js/JSNodeCustom.h:
+ (WebCore::jsNodeCast):
+
+ Added. Fast cast from JSValue to JSNode.
+
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateHeader):
+ (GenerateImplementation):
+
+ Generate code that uses jsNodeCast in Node interfaces.
+
+2014-04-03 Bem Jones-Bey <bjonesbe@adobe.com>
+
+ Merge ShapeInfo & ShapeOutsideInfo now that ShapeInsideInfo is no more
+ https://bugs.webkit.org/show_bug.cgi?id=131180
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- FontGlyphs does not need to know about Font anymore.
</del><ins>+ Now that ShapeInsideInfo is gone, having a class hiearachy and
+ templates doesn't make any sense. As a first step to cleaning up the
+ code, this remove ShapeInfo and puts all of its functionality into
+ ShapeOutsideInfo.
</ins><span class="cx">
</span><del>- * platform/graphics/Font.cpp:
- (WebCore::Font::Font):
- (WebCore::Font::operator=):
- * platform/graphics/Font.h:
- (WebCore::Font::isPlatformFont):
- (WebCore::Font::glyphDataAndPageForCharacter):
- (Font):
- * platform/graphics/FontCache.h:
- * platform/graphics/FontFallbackList.cpp:
- (WebCore::FontGlyphs::FontGlyphs):
- (WebCore::FontGlyphs::glyphDataAndPageForCharacter):
- * platform/graphics/FontFallbackList.h:
- (WebCore):
- (WebCore::FontGlyphs::createForPlatformFont):
-
- Tweaked the name.
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><del>- (WebCore::FontGlyphs::isForPlatformFont):
-
- Move knowledge about platform font to FontGlyphs as it is needed for resolving system fallback on Mac.
</del><ins>+ * CMakeLists.txt:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * rendering/shapes/ShapeInfo.cpp: Removed.
+ * rendering/shapes/ShapeInfo.h: Removed.
+ * rendering/shapes/ShapeOutsideInfo.cpp:
+ (WebCore::ShapeOutsideInfo::computedShapePhysicalBoundingBox):
+ (WebCore::ShapeOutsideInfo::shapeToRendererPoint):
+ (WebCore::ShapeOutsideInfo::shapeToRendererSize):
+ (WebCore::referenceBox):
+ (WebCore::ShapeOutsideInfo::setReferenceBoxLogicalSize):
+ (WebCore::checkShapeImageOrigin):
+ (WebCore::getShapeImageAndRect):
+ (WebCore::getShapeImageMarginRect):
+ (WebCore::ShapeOutsideInfo::computedShape):
+ (WebCore::borderBeforeInWritingMode):
+ (WebCore::borderAndPaddingBeforeInWritingMode):
+ (WebCore::ShapeOutsideInfo::logicalTopOffset):
+ (WebCore::borderStartWithStyleForWritingMode):
+ (WebCore::borderAndPaddingStartWithStyleForWritingMode):
+ (WebCore::ShapeOutsideInfo::logicalLeftOffset):
+ (WebCore::ShapeOutsideInfo::computeSegmentsForLine):
+ (WebCore::ShapeOutsideInfo::updateDeltasForContainingBlockLine):
+ (WebCore::ShapeOutsideInfo::shapeValue): Deleted.
+ (WebCore::ShapeOutsideInfo::styleForWritingMode): Deleted.
+ * rendering/shapes/ShapeOutsideInfo.h:
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/FontCacheBlackBerry.cpp:
- (WebCore::FontCache::systemFallbackForCharacters):
- * platform/graphics/freetype/FontCacheFreeType.cpp:
- (WebCore::FontCache::systemFallbackForCharacters):
- * platform/graphics/mac/FontCacheMac.mm:
- (WebCore::FontCache::systemFallbackForCharacters):
- * platform/graphics/qt/FontCacheQt.cpp:
- (WebCore::FontCache::systemFallbackForCharacters):
- * platform/graphics/win/FontCacheWin.cpp:
- (WebCore::FontCache::systemFallbackForCharacters):
- * platform/graphics/wince/FontCacheWinCE.cpp:
- (WebCore::FontCache::systemFallbackForCharacters):
</del><ins>+2014-04-03 Andreas Kling <akling@apple.com>
+
+ Fix over-retain in SharedBufferCF's createCFData().
+ <https://webkit.org/b/131139>
+
+ Constructing the return type (RetainPtr<CFDataRef>) will also retain
+ the pointee, so this would end up leaking.
+
+ Reviewed by Anders Carlsson.
+
+ * platform/cf/SharedBufferCF.cpp:
+ (WebCore::SharedBuffer::createCFData):
+
+2014-04-03 Brent Fulgham <bfulgham@apple.com>
+
+ [Win] Turn on ENABLE_CSS_GRID_LAYOUT
+ https://bugs.webkit.org/show_bug.cgi?id=131147
+
+ Reviewed by Simon Fraser.
+
+ Covered by existing fast/css/getComputedStyle tests.
+
+ * css/CSSAllInOne.cpp: Add CSSGridLineNamesValue.cpp when building
+ with ENABLE(CSS_GRID_LAYOUT)
+
+2014-04-03 Simon Fraser <simon.fraser@apple.com>
+
+ Pixelated WebView when display is changed from hiDPI to regularDPI
+ https://bugs.webkit.org/show_bug.cgi?id=131185
+
+ Reviewed by Tim Horton.
+
+ r166309 added a short circuit in GraphicsLayerCA::updateContentsScale()
+ when the scale didn't change. This broke layers which expected to
+ unconditionally receive a setContentsScale(), namely the WebTiledBackingLayer
+ which owns the TileController. WebTiledBackingLayer overrode -setContentsScale:
+ to pass the scale down to the TileController; however, it didn't override
+ -contentsScale, and it mucked with the scale passed in.
</ins><span class="cx">
</span><del>- More descriptive name and tighter interface.
</del><ins>+ Fix by having setting and fetching contentsScale on a WebTiledBackingLayer
+ work as expected. Also rename the TileController functions to mirror the
+ CALayer functions better.
</ins><span class="cx">
</span><del>-2013-05-27 Mihnea Ovidenie <mihnea@adobe.com>
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::updateContentsScale):
+ * platform/graphics/ca/mac/TileController.h:
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::TileController):
+ (WebCore::TileController::contentsScale):
+ (WebCore::TileController::setContentsScale):
+ (WebCore::TileController::scale): Deleted.
+ (WebCore::TileController::setScale): Deleted.
+ * platform/graphics/ca/mac/WebTiledBackingLayer.mm:
+ (-[WebTiledBackingLayer setContentsScale:]):
+ (-[WebTiledBackingLayer contentsScale]):
</ins><span class="cx">
</span><del>- [CSSRegions] Prevent unnecessary copy of LayoutRect objects
- https://bugs.webkit.org/show_bug.cgi?id=116828
</del><ins>+2014-04-03 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ [CSS Shapes] LineSegment logicalLeft and logicalRight members should be floats
+ https://bugs.webkit.org/show_bug.cgi?id=116160
</ins><span class="cx">
</span><del>- Use const references for parameter passing.
- No functional change, no new tests.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * rendering/RenderFlowThread.cpp:
- (WebCore::RenderFlowThread::paintFlowThreadPortionInRegion):
- (WebCore::RenderFlowThread::hitTestFlowThreadPortionInRegion):
- * rendering/RenderFlowThread.h:
- * rendering/RenderRegion.cpp:
- (WebCore::RenderRegion::overflowRectForFlowThreadPortion):
- * rendering/RenderRegion.h:
</del><ins>+ LineSegment edges should not have been changed to LayoutUnit. These are
+ used only as floats. I modified them back to floats.
</ins><span class="cx">
</span><del>-2013-05-27 Leo Yang <leoyang@rim.com>
</del><ins>+ No new tests are needed, no behavior change.
</ins><span class="cx">
</span><del>- [BlackBerry] Reveal HTTP error code for XHR even if there is no response body
- https://bugs.webkit.org/show_bug.cgi?id=116543
</del><ins>+ * rendering/shapes/Shape.h:
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
- Reviewed internally by Joe Mason.
</del><ins>+2014-04-03 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- It's a regression introduced by r132556.
- BlackBerry is doing friendly HTTP error handling: if there is no response body
- for an HTTP error it will display an error message made by the port. But for a
- XHR request, which usually does not result in displaying error messages to the
- end user, HTTP error code should be revealed to let the JavaScript know what
- the actual server error code is.
</del><ins>+ [CG] Canvas lineDashOffset does not handle negative numbers correctly
+ https://bugs.webkit.org/show_bug.cgi?id=80560
</ins><span class="cx">
</span><del>- Covered by existing tests:
- ManualTests/blackberry/head-xhr-nonexistant-file.html
- LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html
- LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-check-get-readystate-for-404-without-body.html
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * platform/network/blackberry/NetworkJob.cpp:
- (WebCore::NetworkJob::shouldNotifyClientFailed):
</del><ins>+ CG ignores negative dash array offsets. Check if we have a negative offset, if yes
+ then calculate the length of the dash array and modulo the dash array offset with
+ the dash array length.
</ins><span class="cx">
</span><del>-2013-05-27 Tiancheng Jiang <tijiang@rim.com>
</del><ins>+ Test: fast/canvas/canvas-negative-lineDashOffset.html
</ins><span class="cx">
</span><del>- Adjust date input width.
- https://bugs.webkit.org/show_bug.cgi?id=100760.
</del><ins>+ * platform/graphics/cg/GraphicsContextCG.cpp:
+ (WebCore::GraphicsContext::setLineDash):
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+2014-04-03 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- BlackBerry PR 343497.
- Internally Reviewed by Jeff Rogers.
</del><ins>+ REGRESSION: fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic.html broken
+ https://bugs.webkit.org/show_bug.cgi?id=131183
</ins><span class="cx">
</span><del>- Set width to auto to fit the string length.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * css/themeBlackBerry.css:
- (input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="time"], input[type="month"]):
</del><ins>+ Revert the loop to continue rather than breaking when an invalid block is encountered.
+ This is what it used to do if it encountered a non-continuation block.
</ins><span class="cx">
</span><del>-2013-05-27 Andreas Kling <akling@apple.com>
</del><ins>+ * rendering/RenderInline.cpp:
+ (WebCore::updateStyleOfAnonymousBlockContinuations):
</ins><span class="cx">
</span><del>- Document::setHoveredNode() should be setHoveredElement().
- <http://webkit.org/b/116819>
</del><ins>+2014-04-02 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Harden FilterOperation type casting
+ https://bugs.webkit.org/show_bug.cgi?id=131142
</ins><span class="cx">
</span><del>- Only Elements can be hovered, teach Document about this.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * dom/Document.h:
- * dom/Document.cpp:
- (WebCore::Document::dispose):
- (WebCore::Document::detach):
</del><ins>+ DefaultFilterOperation had an error-prone behavior where it set the base class
+ OperationType to the type of some other filter class, but overrode isDefault().
+ This made it very easy to write incorrect code that casted incorrectly based on type().
+
+ Fix by making adding a DEFAULT filter operation type, and storing the represented
+ type on DefaultFilterOperation().
+
+ Also remove the OperationType argument for constructors of FilterOperations that
+ can only be of one type, to avoid possible mistakes.
+
+ Make the type cast macros a bit more normal, and use them in a few places.
+
+ Fixed PlatformCAFiltersMac to handle the default filter case more cleanly.
</ins><span class="cx">
</span><del>- m_hoverNode => m_hoveredElement.
- Removed hoverNode() and setHoverNode() since those were only used internally.
</del><ins>+ * WebCore.exp.in:
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::ComputedStyleExtractor::valueForFilter):
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::createFilterOperations):
+ * platform/graphics/ca/PlatformCAFilters.h:
+ * platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
+ (PlatformCAFilters::filterValueForOperation):
+ (PlatformCAFilters::colorMatrixValueForFilter):
+ * platform/graphics/filters/FilterOperation.cpp:
+ (WebCore::DefaultFilterOperation::operator==):
+ (WebCore::ReferenceFilterOperation::ReferenceFilterOperation):
+ (WebCore::ReferenceFilterOperation::operator==):
+ (WebCore::BlurFilterOperation::operator==):
+ (WebCore::BlurFilterOperation::blend):
+ (WebCore::DropShadowFilterOperation::operator==):
+ (WebCore::DropShadowFilterOperation::blend):
+ * platform/graphics/filters/FilterOperation.h:
+ (WebCore::FilterOperation::blend):
+ (WebCore::FilterOperation::type):
+ (WebCore::FilterOperation::isBasicColorMatrixFilterOperation):
+ (WebCore::FilterOperation::isBasicComponentTransferFilterOperation):
+ (WebCore::FilterOperation::isSameType):
+ (WebCore::DefaultFilterOperation::create):
+ (WebCore::DefaultFilterOperation::representedType):
+ (WebCore::DefaultFilterOperation::DefaultFilterOperation):
+ (WebCore::ReferenceFilterOperation::create):
+ (WebCore::BlurFilterOperation::create):
+ (WebCore::BlurFilterOperation::BlurFilterOperation):
+ (WebCore::DropShadowFilterOperation::create):
+ (WebCore::DropShadowFilterOperation::DropShadowFilterOperation):
+ (WebCore::FilterOperation::isDefault): Deleted.
+ * platform/graphics/filters/FilterOperations.cpp:
+ (WebCore::FilterOperations::outsets):
+ * rendering/FilterEffectRenderer.cpp:
+ (WebCore::FilterEffectRenderer::build):
+ * rendering/RenderLayerFilterInfo.cpp:
+ (WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients):
</ins><span class="cx">
</span><del>- (WebCore::Document::updateHoverActiveState):
</del><ins>+2014-04-03 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Updated for hovered things always being Elements.
</del><ins>+ Stop throwing away the Document's StyleResolver on a timer.
+ <https://webkit.org/b/131168>
+ <rdar://problem/15227045>
</ins><span class="cx">
</span><del>- (WebCore::Document::hoveredElementDidDetach):
- * dom/Element.cpp:
- (WebCore::Element::detach):
</del><ins>+ This was causing some unfortunate pauses when returning to idle pages
+ after a long-ish time. There's already a mechanism in place that will
+ throw these away if the system comes under memory pressure.
</ins><span class="cx">
</span><del>- Renamed Document::hoveredNodeDetached() to hoveredElementDidDetach() and fix it up
- following the same pattern as elementInActiveChainDidDetach().
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>-2013-05-27 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::styleForElement):
+ (WebCore::StyleResolver::styleForKeyframe):
+ (WebCore::StyleResolver::pseudoStyleForElement):
+ (WebCore::StyleResolver::styleForPage):
+ * dom/Document.cpp:
+ (WebCore::Document::Document):
+ (WebCore::Document::didAccessStyleResolver): Deleted.
+ (WebCore::Document::styleResolverThrowawayTimerFired): Deleted.
+ * dom/Document.h:
</ins><span class="cx">
</span><del>- [Qt] REGRESSION(r150716): It made 15 inspector and 1 mozilla test to assert
- https://bugs.webkit.org/show_bug.cgi?id=116822
</del><ins>+2014-04-02 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Assertion under RenderLayerCompositor::updateScrollCoordinatedLayer on time.com on iOS
+ https://bugs.webkit.org/show_bug.cgi?id=131150
</ins><span class="cx">
</span><del>- The input fontDescription may have more than one family defined.
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- * platform/qt/RenderThemeQStyle.cpp:
- (WebCore::RenderThemeQStyle::adjustButtonStyle):
</del><ins>+ When calling updateScrollCoordinatedLayer() under styleChanged, we haven't done
+ layout yet so our composting layers haven't been hooked together. Don't try
+ to add a zero nodeID to the map in this case.
</ins><span class="cx">
</span><del>-2013-05-27 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
</del><ins>+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateScrollCoordinatedLayer):
</ins><span class="cx">
</span><del>- [Qt][Win] Input events aren't mapped properly with windowless plugins.
- https://bugs.webkit.org/show_bug.cgi?id=116094
</del><ins>+2014-04-03 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Tor Arne Vestbø.
</del><ins>+ Continuations casting issue.
+ https://bugs.webkit.org/show_bug.cgi?id=130057
+ <rdar://problem/16283406>
</ins><span class="cx">
</span><del>- The events are first sent properly but Flash then immediately repaints
- and this causes flickering painting.
- The issue is that Flash seems to be doing some input event tracking of
- its own internally, using the HWND returned through NPN_GetValue(NPNVnetscapeWindow).
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- We are currently using two coordinate systems for windowless plugins on Windows with Qt:
- - FrameView coordinates: Used for input events and ajusted with the WM_WINDOWPOSCHANGED message
- - Drawable coordinates: Used by WM_PAINT and adjusted with NPP_SetWindow
</del><ins>+ The code to update relative positioned anonymous block continuations should not
+ have assumed that all siblings were RenderBlocks. Make the code smarter and
+ make it bail when it hits something that isn't part of the block continuation
+ chain.
</ins><span class="cx">
</span><del>- This patch fixes the bug by mapping input events to the native window returned
- as NPNVnetscapeWindow instead of the FrameView to ensure that those coordinates will match
- the ones used by Flash internally.
- With this we shouldn't be using FrameView coordinates anywhere for windowless plugins
- on Windows with Qt.
</del><ins>+ Added fast/block/continuation-crash.html
</ins><span class="cx">
</span><del>- * platform/qt/QWebPageClient.h:
- (QWebPageClient):
- Added mapToOwnerWindow to the interface, mapping from the FrameView up to the wrapping nativeParentWidget.
- * plugins/win/PluginViewWin.cpp:
- (WebCore::contentsToNativeWindow):
- (WebCore::PluginView::paintIntoTransformedContext):
- (WebCore::PluginView::handleMouseEvent):
</del><ins>+ * rendering/RenderInline.cpp:
+ (WebCore::updateStyleOfAnonymousBlockContinuations):
</ins><span class="cx">
</span><del>-2013-05-27 Antti Koivisto <antti@apple.com>
</del><ins>+2014-04-03 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>- Tighten FontGlyphs interfaces to take FontDescription instead of Font
- https://bugs.webkit.org/show_bug.cgi?id=116818
</del><ins>+ [CSS Shapes] CRASH with calc() value args in inset round
+ https://bugs.webkit.org/show_bug.cgi?id=129816
</ins><span class="cx">
</span><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- This gives better understanding of what the actual inputs are.
</del><ins>+ The code to parse the inset rounded corners was adding the parser
+ value arguments to a temporary CSSParserValueList. Unfortunately,
+ CSSParserValueList expects to own the values it contains, and it frees
+ the values it contains when the list is destroyed. This was a problem
+ because the values are owned by the CSSParserValueList passed in to
+ parseInsetRoundedCorners, and thus the calc's argument list would get
+ double freed, resulting in a crash. This patch fixes this by using a
+ Vector to hold the pointers instead.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * platform/graphics/Font.h:
- (WebCore::Font::primaryFont):
- (WebCore::Font::fontDataAt):
- (WebCore::Font::isFixedPitch):
- * platform/graphics/FontCache.cpp:
- (WebCore::FontCache::getFontData):
- * platform/graphics/FontCache.h:
- * platform/graphics/FontFallbackList.cpp:
- (WebCore::FontGlyphs::determinePitch):
- (WebCore::FontGlyphs::realizeFontDataAt):
- (WebCore::FontGlyphs::glyphDataAndPageForCharacter):
- * platform/graphics/FontFallbackList.h:
- (WebCore::FontGlyphs::primaryFontData):
- (WebCore::FontGlyphs::isFixedPitch):
- (WebCore::FontGlyphs::primarySimpleFontData):
- * platform/graphics/blackberry/FontCacheBlackBerry.cpp:
- * platform/graphics/freetype/FontCacheFreeType.cpp:
- * platform/graphics/mac/FontCacheMac.mm:
- (WebCore::FontCache::similarFontPlatformData):
-
- Drop get* naming and make this Mac only as no other platform has it.
</del><ins>+ Test: fast/shapes/shape-outside-floats/shape-outside-inset-round-calc-crash.html
</ins><span class="cx">
</span><del>- * platform/graphics/qt/FontCacheQt.cpp:
- * platform/graphics/win/FontCacheWin.cpp:
- * platform/graphics/wince/FontCacheWinCE.cpp:
- (WebCore):
</del><ins>+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseInsetRoundedCorners):
</ins><span class="cx">
</span><del>-2013-05-27 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-03 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Strengthen typing of detaching an Element from Document's :active chain.
- <http://webkit.org/b/116815>
</del><ins>+ Leaving a streaming movie by going "Back" keeps playing the audio
+ https://bugs.webkit.org/show_bug.cgi?id=131149
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Tiny cleanup now that the :active chain can only contain elements.
- Rename Document::activeChainNodeDetached() to elementInActiveChainDidDetach().
</del><ins>+ When stopping a HTMLMediaElement, call userCancelledLoad() (which clears the
+ MediaPlayer) only after calling setPausedInternal() (which pauses the MediaPlayer).
+ Previously, and in the reverse order, the MediaPlayer would never get a chance to pause
+ before being cleared. There is an underlying error with the QTKit media engine which
+ is causing it to continue playing even after its last reference is released, but this
+ does fix the symptom of playback continuing even after stopping.
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::detach):
- * dom/Document.h:
- * dom/Document.cpp:
- (WebCore::Document::elementInActiveChainDidDetach):
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::stop):
</ins><span class="cx">
</span><del>- Rename, take Element*, remove silly condition that was always true.
</del><ins>+2014-04-03 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>-2013-05-27 Andrei Bucur <abucur@adobe.com>
</del><ins>+ [EME] Crash when passing a NULL initData to MediaKeys.createSession()
+ https://bugs.webkit.org/show_bug.cgi?id=131156
</ins><span class="cx">
</span><del>- [CSS Regions] Remove the offsetFromLogicalTopOfFirstPage parameter from layout functions
- https://bugs.webkit.org/show_bug.cgi?id=116441
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Update the checks at the start of createSession() to match the current spec, notably
+ bailing early if the initData parameter is NULL or empty.
</ins><span class="cx">
</span><del>- The patch changes the following things:
- - exposes offsetFromLogicalTopOfFirstPage() to all the RenderBoxes;
- - offsetFromLogicalTopOfFirstPage() is now safe to call from any box inside a flow thread, not only the
- currently being laid out;
- - removes the offsetFromLogicalTopOfFirstPage parameter from all the layout functions
- that didn't actually required it; when the value is necessary, the offsetFromLogicalTopOfFirstPage
- function is called instead;
- - RenderFlowThread now handles its own logic for obtaining the offset from logical top of the first
- region for a box, based on the layout states pushed on RenderView; it provides a better caching mechanism
- that can be used for all the ancestor containing blocks of the current box being laid out.
</del><ins>+ * Modules/encryptedmedia/MediaKeys.cpp:
+ (WebCore::MediaKeys::createSession):
</ins><span class="cx">
</span><del>- The RenderBoxRegionInfo structures are cached only based on the box and the region. This means that
- passing around a value for offsetFromLogicalTopOfFirstPage different in some cases than others was
- risky. If there is a possibility of having a different box info result for a different offset
- then the cache is not working correctly.
</del><ins>+2014-04-03 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Tests: No function change, no tests.
</del><ins>+ [iOS] add missing QuickTime plug-in replacement API
+ https://bugs.webkit.org/show_bug.cgi?id=131042
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::computeStartPositionDeltaForChildAvoidingFloats):
- (WebCore::RenderBlock::logicalLeftOffsetForContent):
- (WebCore::RenderBlock::logicalRightOffsetForContent):
- (WebCore::RenderBlock::getClearDelta):
- (WebCore::RenderBlock::lineWidthForPaginatedLineChanged):
- (WebCore::RenderBlock::offsetFromLogicalTopOfFirstPage):
- (WebCore::RenderBlock::logicalWidthChangedInRegions):
- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::availableLogicalWidthForLine):
- (WebCore::RenderBlock::logicalRightOffsetForLine):
- (WebCore::RenderBlock::logicalLeftOffsetForLine):
- (WebCore::RenderBlock::startOffsetForLine):
- (WebCore::RenderBlock::endOffsetForLine):
- (WebCore::RenderBlock::availableLogicalWidthForContent):
- (WebCore::RenderBlock::startOffsetForContent):
- (WebCore::RenderBlock::endOffsetForContent):
- (WebCore::RenderBlock::logicalLeftOffsetForContent):
- (WebCore::RenderBlock::logicalRightOffsetForContent):
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::borderBoxRectInRegion):
- (WebCore::RenderBox::constrainLogicalWidthInRegionByMinMax):
- (WebCore::RenderBox::shrinkLogicalWidthToAvoidFloats):
- (WebCore::RenderBox::containingBlockLogicalWidthForContentInRegion):
- (WebCore::RenderBox::containingBlockAvailableLineWidthInRegion):
- (WebCore::RenderBox::computeLogicalWidthInRegion):
- (WebCore::RenderBox::computeLogicalWidthInRegionUsing):
- (WebCore::RenderBox::renderBoxRegionInfo):
- (WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
- (WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
- (WebCore::computeInlineStaticDistance):
- (WebCore::RenderBox::computePositionedLogicalWidth):
- (WebCore::RenderBox::computePositionedLogicalWidthUsing):
- (WebCore::RenderBox::computePositionedLogicalHeight):
- (WebCore::RenderBox::computePositionedLogicalHeightUsing):
- (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
- (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
- (WebCore::RenderBox::offsetFromLogicalTopOfFirstPage):
- * rendering/RenderBox.h:
- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::computeMainAxisExtentForChild):
- * rendering/RenderFlowThread.cpp:
- (WebCore::RenderFlowThread::logicalWidthChangedInRegionsForBlock):
- (WebCore::RenderFlowThread::hasCachedOffsetFromLogicalTopOfFirstRegion):
- (WebCore::RenderFlowThread::cachedOffsetFromLogicalTopOfFirstRegion):
- (WebCore::RenderFlowThread::setOffsetFromLogicalTopOfFirstRegion):
- (WebCore::RenderFlowThread::clearOffsetFromLogicalTopOfFirstRegion):
- (WebCore::RenderFlowThread::currentActiveRenderBox):
- (WebCore::RenderFlowThread::pushFlowThreadLayoutState):
- (WebCore::RenderFlowThread::popFlowThreadLayoutState):
- (WebCore::RenderFlowThread::offsetFromLogicalTopOfFirstRegion):
- (WebCore::RenderFlowThread::adjustedPositionRelativeToOffsetParent):
- * rendering/RenderFlowThread.h:
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::updateLogicalWidth):
- * rendering/RenderView.cpp:
- (WebCore::RenderView::pushLayoutState):
- (WebCore::RenderView::pushLayoutStateForCurrentFlowThread):
- (WebCore::RenderView::popLayoutStateForCurrentFlowThread):
- * rendering/RenderView.h:
- (WebCore::RenderView::pushLayoutState):
- (WebCore::RenderView::popLayoutState):
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>-2013-05-27 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ Rename QuickTimePluginReplacement.cpp to QuickTimePluginReplacement.mm to make it possible
+ to use the ObjC JSC API.
+ * Modules/plugins/QuickTimePluginReplacement.cpp:
+ * Modules/plugins/QuickTimePluginReplacement.h:
+ (WebCore::QuickTimePluginReplacement::parentElement):
+ * Modules/plugins/QuickTimePluginReplacement.idl:
</ins><span class="cx">
</span><del>- Active DOM objects stopped twice
- https://bugs.webkit.org/show_bug.cgi?id=116524
</del><ins>+ * Modules/plugins/QuickTimePluginReplacement.js:
+ (Replacement.prototype.timedMetadataUpdates): Implement.
+ (Replacement.prototype.accessLog): Ditto.
+ (Replacement.prototype.errorLog): Ditto.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Use the JSC ObjC API to create a JavaScript object from an array of AVMetadataItems. The
+ JSC ObjC API supports basic NSTypes, but an AVMetadataItem can also contain NSData which
+ the existing plug-in returns as base-64 encoded data, so create wrappers for NSDictionary
+ and NSArray.
+ * Modules/plugins/QuickTimePluginReplacement.mm: Copied from Source/WebCore/Modules/plugins/QuickTimePluginReplacement.cpp.
+ (WebCore::QuickTimePluginReplacement::ensureReplacementScriptInjected): Disambiguate with "JSC::"
+ (WebCore::QuickTimePluginReplacement::installReplacement): Ditto.
+ (WebCore::jsValueWithDataInContext): Create JSValue* from NSData.
+ (WebCore::jsValueWithArrayInContext): Create JSValue* from NSArray.
+ (WebCore::jsValueWithDictionaryInContext): Create JSValue* from NSDictionary.
+ (WebCore::jsValueWithValueInContext): Create JSValue* from basic NSTypes plus AVMetadataItem
+ and NSData.
+ (WebCore::jsValueWithAVMetadataItemInContext): Create JSValue* from AVMetadataItem.
+ (WebCore::JSQuickTimePluginReplacement::timedMetaData): Script interface.
+ (WebCore::JSQuickTimePluginReplacement::accessLog): Ditto.
+ (WebCore::JSQuickTimePluginReplacement::errorLog): Ditto.
</ins><span class="cx">
</span><del>- Only iterate over all active DOM object to stop them once.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj: QuickTimePluginReplacement.cpp -> QuickTimePluginReplacement.mm.
</ins><span class="cx">
</span><del>- To ensure later created active DOM objects are stopped,
- suspendActiveDOMObjectIfNeeded now also stops active DOM objects
- if needed. This also fixes an existing bug when active DOM
- objects were created after stopActiveDOMObjects had been called.
</del><ins>+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::timedMetadata): iOS only accessor.
+ (WebCore::MediaPlayer::accessLog): Ditto.
+ (WebCore::MediaPlayer::errorLog): Ditto.
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
</ins><span class="cx">
</span><del>- Two existing tests creates new active DOM objects after stopActiveDOMObjects
- has been called:
- fast/dom/xmlhttprequest-constructor-in-detached-document.html
- fast/dom/Window/timer-null-script-execution-context.html
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::timedMetadata):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::accessLog):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::errorLog):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::metadataDidArrive):
+ (WebCore::itemKVOProperties):
+ (-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]):
</ins><span class="cx">
</span><del>- * dom/ScriptExecutionContext.cpp:
- (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
- (WebCore::ScriptExecutionContext::suspendActiveDOMObjectIfNeeded):
</del><ins>+2014-04-03 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>-2013-05-27 Charles Wei <charles.wei@torchmobile.com.cn>
</del><ins>+ [CSS Regions] Include region range information when printing the render tree
+ https://bugs.webkit.org/show_bug.cgi?id=131159
</ins><span class="cx">
</span><del>- Remove redundant CachedRawResource::loader()
- https://bugs.webkit.org/show_bug.cgi?id=116805
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ With this change showRenderObject() will print the region range for objects inside
+ a flow thread. The format is:
+ Rs: <startRegion> Re: <endRegion>
</ins><span class="cx">
</span><del>- Just remove redundant code, no test case needed.
</del><ins>+ Because this can be called anytime during debugging, it's necessary to disable the
+ current flow thread caching to prevent using the wrong flow thread for an object.
</ins><span class="cx">
</span><del>- * loader/cache/CachedRawResource.cpp:
- * loader/cache/CachedRawResource.h:
</del><ins>+ Tests: No new tests, no functional change.
</ins><span class="cx">
</span><del>-2013-05-27 Andreas Kling <akling@apple.com>
</del><ins>+ * rendering/RenderFlowThread.cpp:
+ (WebCore::CurrentRenderFlowThreadDisabler::CurrentRenderFlowThreadDisabler):
+ (WebCore::CurrentRenderFlowThreadDisabler::~CurrentRenderFlowThreadDisabler):
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::showRegionsInformation): Added.
+ (WebCore::RenderObject::showRenderObject):
+ * rendering/RenderObject.h:
</ins><span class="cx">
</span><del>- WinCE build TLC: Node::active() moved to Element.
</del><ins>+2014-04-03 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderThemeWinCE.cpp:
- (WebCore::RenderThemeWinCE::paintSearchFieldCancelButton):
</del><ins>+ RenderSnapshottedPlugIn::paint should use iterator for traversal.
+ https://bugs.webkit.org/show_bug.cgi?id=131158
</ins><span class="cx">
</span><del>-2013-05-26 Jaehun Lim <ljaehun.lim@samsung.com>
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- CSSParser::parseImageResolution doesn't need a parameter.
- https://bugs.webkit.org/show_bug.cgi?id=116755
</del><ins>+ * rendering/RenderSnapshottedPlugIn.cpp:
+ (WebCore::RenderSnapshottedPlugIn::paint):
</ins><span class="cx">
</span><ins>+2014-03-27 Sergio Villar Senin <svillar@igalia.com>
+
+ [CSS Grid Layout] <string> not allowed in grid-{area | row | column} syntax
+ https://bugs.webkit.org/show_bug.cgi?id=129713
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- parseImageResolution() can get CSSPraserValueList from m_valueList directly.
</del><ins>+ Grid positioning properties no longer accept <string> values for
+ named grid lines as they did in previous versions of the specs. They
+ were first replaced by <ident> and since the beginning of 2014 they
+ should only accept <custom-ident>.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Updated the parser and the style resolver to this new syntax. Also
+ updated the tests accordingly.
</ins><span class="cx">
</span><ins>+ Test: fast/css-grid-layout/grid-container-change-named-grid-lines-recompute-child.html
+
</ins><span class="cx"> * css/CSSParser.cpp:
</span><del>- (WebCore::CSSParser::parseImageResolution):
</del><ins>+ (WebCore::isValidCustomIdent): New function that checks that the
+ <custom-ident> is valid.
+ (WebCore::CSSParser::parseIntegerOrCustomIdentFromGridPosition):
+ (WebCore::CSSParser::parseGridPosition):
+ (WebCore::CSSParser::parseIntegerOrStringFromGridPosition):
+ Replaced by WebCore::CSSParser::parseIntegerOrCustomIdentFromGridPosition.
</ins><span class="cx"> * css/CSSParser.h:
</span><ins>+ * css/StyleResolver.cpp:
+ (WebCore::createGridPosition):
</ins><span class="cx">
</span><del>-2013-05-26 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-03 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- Turn TreeScope::focusedNode() into focusedElement().
- <http://webkit.org/b/116802>
</del><ins>+ Crash after mutating after pseudo style
+ https://bugs.webkit.org/show_bug.cgi?id=130881
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- For the hundredth time, only Elements can be focused!
</del><ins>+ Test: fast/css/pseudo-after-crash.html
</ins><span class="cx">
</span><del>- This change mostly reverts r121079 since that made things unnecessarily complicated
- just to tweak the behavior of ShadowRoot.activeElement, an API that we don't expose.
- Finding a TreeScope's focused element now does a simple walk up the parent chain instead
- of running the full Shadow DOM re-targeting algorithm.
</del><ins>+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::updateBeforeOrAfterPseudoElement):
+
+ Invalidate the cached renderer for pseudo elements too.
+
+ (WebCore::Style::needsPseudeElement): Deleted.
+
+ Fix spelling.
</ins><span class="cx">
</span><del>- (WebCore::TreeScope::focusedElement):
</del><ins>+2014-04-02 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Simplify and return Element* instead of Node*.
</del><ins>+ AX: AccessibilityObject::children() returns invalid results sometimes
+ https://bugs.webkit.org/show_bug.cgi?id=130563
</ins><span class="cx">
</span><del>- * dom/TreeScope.h:
- * dom/TreeScope.cpp:
- (WebCore::focusedFrameOwnerElement):
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><del>- Make this return Element* as the name already suggested.
</del><ins>+ Allow the DOM inspector to handle AX objects that do not have Node equivalents
+ (e.g. anonymous renderers).
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::removeFocusedNodeOfSubtree):
- * dom/Element.cpp:
- (WebCore::Element::blur):
- * dom/ShadowRoot.h:
- (WebCore::ShadowRoot::activeElement):
- * html/HTMLDocument.cpp:
- (WebCore::HTMLDocument::activeElement):
</del><ins>+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::processAccessibilityChildren):
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+ * inspector/InspectorDOMAgent.h:
</ins><span class="cx">
</span><del>- Simplified call sites that were paranoid about getting a non-Element focused node.
</del><ins>+2014-04-02 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>-2013-05-26 Dean Jackson <dino@apple.com>
</del><ins>+ Sandbox violation in NetworkProcess when uploading a bundle
+ https://bugs.webkit.org/show_bug.cgi?id=131133
</ins><span class="cx">
</span><del>- Plugins with no src but valid type should not snapshot
- https://bugs.webkit.org/show_bug.cgi?id=116799
- <rdar://problem/13695911>
</del><ins>+ Reviewed by Brady Eidson.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Track generated file ownership explicitly, so that each copy of FormData would know
+ whether to delete the file.
</ins><span class="cx">
</span><del>- There are a few plug-ins around that don't take any source content
- via the src attribute, but rather just load the binary based on the
- mime-type. In those cases we shouldn't snapshot until we have a
- mechanism to do so.
</del><ins>+ This part is needed to prevent asserting in FormData destructor in NetworkProcess,
+ because it doesn't delete the files. Also, some cleanup.
</ins><span class="cx">
</span><del>- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn):
- Add MIMEType logging, and detect the case of no src but valid type.
- * html/HTMLPlugInImageElement.h: Add another SnapshotReason enum for
- this special case.
</del><ins>+ * WebCore.exp.in: Don't export FormData::removeGeneratedFilesIfNeeded(), WebKit2
+ doesn't need it any more.
+ * platform/network/FormData.cpp: Removed m_hasGeneratedFiles. There is no problem
+ iterating over FormDataElements to compute it, and that's more robust when FormDatas
+ are passed or stored on disk permanently.
+ Updated touched functions to use C++ iteration, and renamed "e" to "element".
+ (WebCore::FormData::encode): Keep encoding a boolean for hasGeneratedFiles, because
+ the encoded FormData can be stored persitently, and we can't change the format.
</ins><span class="cx">
</span><del>-2013-05-26 Antti Koivisto <antti@apple.com>
</del><ins>+ * platform/network/FormData.h: (WebCore::FormDataElement::FormDataElement):
+ Added m_ownsGeneratedFile. FormData will only delete files it owns. Since files
+ are generated immediately before form submission, it's always the FormData being
+ submitted that owns the generated files.
</ins><span class="cx">
</span><del>- Encapsulate FontGlyphs
- https://bugs.webkit.org/show_bug.cgi?id=116803
</del><ins>+2014-04-02 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><ins>+ [CSSRegions] Use RenderStyle::hasFlowInto when needed
+ https://bugs.webkit.org/show_bug.cgi?id=131092
+
+ Reviewed by Andrei Bucur.
+
+ Add hasFlowInto() helper method on RenderStyle to be used
+ instead of directly checking the presence or absence of flowThread value.
+ No new functionality, no new tests.
+
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::ComputedStyleExtractor::propertyValue):
+ * dom/Element.cpp:
+ (WebCore::Element::shouldMoveToFlowThread):
+ * rendering/style/RenderStyle.h:
+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::isRendererReparented):
+
+2014-04-02 Benjamin Poulain <benjamin@webkit.org>
+
+ CSS JIT: the adjacent position is never reset
+ https://bugs.webkit.org/show_bug.cgi?id=131145
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- FontGlyphs is unfriending Font. Give it a real class interface and some actual code.
</del><ins>+ Corresponding radar: <rdar://problem/16440036>. The backtracking action would use a tail
+ when not needed.
</ins><span class="cx">
</span><del>- * platform/graphics/Font.cpp:
- (WebCore::Font::Font):
- * platform/graphics/Font.h:
- (WebCore::Font::glyphDataForCharacter):
- (WebCore::Font::glyphDataAndPageForCharacter):
- * platform/graphics/FontFallbackList.cpp:
- (WebCore::FontGlyphs::FontGlyphs):
- (WebCore::isInRange):
- (WebCore::shouldIgnoreRotation):
- (WebCore::glyphDataAndPageForNonCJKCharacterWithGlyphOrientation):
-
- Helpers from FontFastPath.cpp.
</del><ins>+ Test: fast/selectors/multiple-adjacent-chain-without-adjacent-tail.html
</ins><span class="cx">
</span><del>- (WebCore::FontGlyphs::glyphDataAndPageForCharacter):
-
- This is the primary interface. The code moves here from FontFastPath.cpp.
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::updateChainStates):
</ins><span class="cx">
</span><del>- * platform/graphics/FontFallbackList.h:
- (WebCore::FontGlyphs::createForPlatformData):
-
- Remove setPlatformData in favor of constructor.
</del><ins>+2014-04-02 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::FontGlyphs::primarySimpleFontData):
- * platform/graphics/FontFastPath.cpp:
- * platform/graphics/GraphicsContext.h:
</del><ins>+ Speculative build fix for Windows.
</ins><span class="cx">
</span><del>- Remove a stray function definition also called setPlatformFont().
</del><ins>+ * DerivedSources.make: Make sure we generate our media control
+ scripts for Apple Windows (but not WinCairo)
</ins><span class="cx">
</span><del>- * rendering/svg/SVGTextRunRenderingContext.cpp:
- (WebCore::SVGTextRunRenderingContext::glyphDataForCharacter):
</del><ins>+2014-04-02 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>-2013-05-26 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ Fix the !USE(IOSURFACE) iOS build.
</ins><span class="cx">
</span><del>- Remove a leftover CALENDAR_PICKER from LocaleNone.cpp
- https://bugs.webkit.org/show_bug.cgi?id=116800
</del><ins>+ * platform/ios/MemoryPressureHandlerIOS.mm:
+ (WebCore::MemoryPressureHandler::platformReleaseMemory):
</ins><span class="cx">
</span><del>- Reviewed by Kent Tamura.
</del><ins>+2014-04-02 Mark Rowe <mrowe@apple.com>
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ <https://webkit.org/b/131136> Remove FrameLoadRequest's m_lockHistory member since it's always false.
</ins><span class="cx">
</span><del>- * platform/text/LocaleNone.cpp:
- (LocaleNone):
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-05-26 Antti Koivisto <antti@apple.com>
</del><ins>+ * loader/FrameLoadRequest.cpp:
+ (WebCore::FrameLoadRequest::FrameLoadRequest):
+ * loader/FrameLoadRequest.h:
+ (WebCore::FrameLoadRequest::FrameLoadRequest):
+ (WebCore::FrameLoadRequest::lockHistory): Deleted.
+ (WebCore::FrameLoadRequest::setLockHistory): Deleted.
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::load): Remove an if whose body was never executed.
</ins><span class="cx">
</span><del>- Rename FontFallbackList to FontGlyphs
- https://bugs.webkit.org/show_bug.cgi?id=116797
</del><ins>+2014-04-02 Mark Rowe <mrowe@apple.com>
</ins><span class="cx">
</span><ins>+ <https://webkit.org/b/131135> Introduce LockHistory and LockBackForwardList enums to use in place of bools.
+
+ These arguments are often passed using literals at the call site, where the use of bools severely hinders
+ the readability of the code.
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Maybe it was a fallback list once. Nowadays its purpose is to cache realized glyphs and related data.
-
- File renaming will be done separately.
</del><ins>+ * WebCore.exp.in:
+ * html/HTMLAnchorElement.cpp:
+ (WebCore::HTMLAnchorElement::handleClick):
+ * html/HTMLFormElement.cpp:
+ (WebCore::HTMLFormElement::submit):
+ * html/HTMLFrameElementBase.cpp:
+ (WebCore::HTMLFrameElementBase::openURL):
+ (WebCore::HTMLFrameElementBase::setLocation):
+ * html/HTMLFrameElementBase.h:
+ * inspector/InspectorFrontendClientLocal.cpp:
+ (WebCore::InspectorFrontendClientLocal::openInNewTab):
+ * inspector/InspectorPageAgent.cpp:
+ (WebCore::InspectorPageAgent::navigate):
+ * loader/FormSubmission.cpp:
+ (WebCore::FormSubmission::FormSubmission):
+ (WebCore::FormSubmission::create):
+ * loader/FormSubmission.h:
+ (WebCore::FormSubmission::lockHistory):
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::changeLocation):
+ (WebCore::FrameLoader::urlSelected):
+ (WebCore::FrameLoader::loadURLIntoChildFrame):
+ (WebCore::FrameLoader::loadFrameRequest):
+ (WebCore::FrameLoader::loadURL):
+ (WebCore::FrameLoader::loadWithNavigationAction):
+ (WebCore::FrameLoader::clientRedirected):
+ (WebCore::FrameLoader::loadPostRequest):
+ (WebCore::FrameLoader::continueLoadAfterNewWindowPolicy):
+ (WebCore::FrameLoader::loadDifferentDocumentItem):
+ * loader/FrameLoader.h:
+ * loader/FrameLoaderTypes.h:
+ * loader/NavigationScheduler.cpp:
+ (WebCore::ScheduledNavigation::ScheduledNavigation):
+ (WebCore::ScheduledNavigation::lockHistory):
+ (WebCore::ScheduledNavigation::lockBackForwardList):
+ (WebCore::ScheduledURLNavigation::ScheduledURLNavigation):
+ (WebCore::ScheduledRedirect::ScheduledRedirect):
+ (WebCore::ScheduledLocationChange::ScheduledLocationChange):
+ (WebCore::ScheduledRefresh::ScheduledRefresh):
+ (WebCore::ScheduledHistoryNavigation::ScheduledHistoryNavigation):
+ (WebCore::ScheduledFormSubmission::ScheduledFormSubmission):
+ (WebCore::NavigationScheduler::scheduleRedirect):
+ (WebCore::NavigationScheduler::mustLockBackForwardList):
+ (WebCore::NavigationScheduler::scheduleLocationChange):
+ (WebCore::NavigationScheduler::scheduleFormSubmission):
+ * loader/NavigationScheduler.h:
+ * loader/SubframeLoader.cpp:
+ (WebCore::SubframeLoader::requestFrame):
+ (WebCore::SubframeLoader::requestObject):
+ (WebCore::SubframeLoader::loadOrRedirectSubframe):
+ * loader/SubframeLoader.h:
+ * page/ContextMenuController.cpp:
+ (WebCore::openNewWindow):
+ (WebCore::ContextMenuController::contextMenuItemSelected):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::setLocation):
+ (WebCore::DOMWindow::createWindow):
+ (WebCore::DOMWindow::open):
+ * svg/SVGAElement.cpp:
+ (WebCore::SVGAElement::defaultEventHandler):
</ins><span class="cx">
</span><ins>+2014-04-02 Tim Horton <timothy_horton@apple.com>
+
+ Pool IOSurfaces to help with allocation cost
+ https://bugs.webkit.org/show_bug.cgi?id=131096
+ <rdar://problem/15373942>
+
+ Reviewed by Simon Fraser.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- * platform/graphics/Font.cpp:
- (WebCore::Font::Font):
- (WebCore::Font::operator=):
- (WebCore::Font::operator==):
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- Refactored to early return style.
</del><ins>+ * platform/Timer.h:
+ (WebCore::TimerBase::startRepeating): Add a std::chrono startRepeating.
</ins><span class="cx">
</span><del>- (WebCore::Font::update):
- (WebCore::Font::width):
- * platform/graphics/Font.h:
- (Font):
- (WebCore::Font::glyphs):
- (WebCore::Font::loadingCustomFonts):
- (WebCore::Font::primaryFont):
- (WebCore::Font::fontDataAt):
- (WebCore::Font::isFixedPitch):
- (WebCore::Font::fontSelector):
- * platform/graphics/FontCache.h:
- (FontCache):
- * platform/graphics/FontFallbackList.cpp:
- (WebCore::FontGlyphs::FontGlyphs):
- (WebCore::FontGlyphs::invalidate):
- (WebCore::FontGlyphs::releaseFontData):
- (WebCore::FontGlyphs::determinePitch):
- (WebCore::FontGlyphs::realizeFontDataAt):
-
- Renamed for clarity along with m_fontList -> m_realizedFontData.
</del><ins>+ * platform/graphics/cg/IOSurfacePool.h: Added.
+ (WebCore::IOSurfacePool::CachedSurfaceDetails::CachedSurfaceDetails):
+ (WebCore::IOSurfacePool::CachedSurfaceDetails::resetLastUseTime):
+ * platform/graphics/cg/ImageBufferBackingStoreCache.cpp: Removed.
+ * platform/graphics/cg/ImageBufferBackingStoreCache.h: Removed.
+ * platform/graphics/cg/IOSurfacePool.cpp: Added.
+ (WebCore::IOSurfacePool::IOSurfacePool):
+ (WebCore::IOSurfacePool::sharedPool):
+ (WebCore::surfaceMatchesParameters):
+ (WebCore::IOSurfacePool::willAddSurface):
+ (WebCore::IOSurfacePool::didRemoveSurface):
+ (WebCore::IOSurfacePool::didUseSurfaceOfSize):
+ (WebCore::IOSurfacePool::takeSurface):
+ (WebCore::IOSurfacePool::addSurface):
+ (WebCore::IOSurfacePool::insertSurfaceIntoPool):
+ (WebCore::IOSurfacePool::setPoolSize):
+ (WebCore::IOSurfacePool::tryEvictInUseSurface):
+ (WebCore::IOSurfacePool::tryEvictOldestCachedSurface):
+ (WebCore::IOSurfacePool::evict):
+ (WebCore::IOSurfacePool::collectInUseSurfaces):
+ (WebCore::IOSurfacePool::markOlderSurfacesPurgeable):
+ (WebCore::IOSurfacePool::collectionTimerFired):
+ (WebCore::IOSurfacePool::scheduleCollectionTimer):
+ (WebCore::IOSurfacePool::discardAllSurfaces):
+ (WebCore::IOSurfacePool::showPoolStatistics):
+ Add a pool of IOSurfaces. It behaves as such:
</ins><span class="cx">
</span><del>- (WebCore::FontGlyphs::setPlatformFont):
- * platform/graphics/FontFallbackList.h:
- (FontGlyphs):
- (WebCore::FontGlyphs::GlyphPagesStateSaver::GlyphPagesStateSaver):
- (WebCore::FontGlyphs::GlyphPagesStateSaver::~GlyphPagesStateSaver):
- (GlyphPagesStateSaver):
- (WebCore::FontGlyphs::create):
- (WebCore::FontGlyphs::~FontGlyphs):
- (WebCore::FontGlyphs::primaryFontData):
- * platform/graphics/FontFastPath.cpp:
- (WebCore::Font::glyphDataAndPageForCharacter):
- * rendering/svg/SVGTextRunRenderingContext.cpp:
- (WebCore::SVGTextRunRenderingContext::glyphDataForCharacter):
</del><ins>+ - Keeps up to 64MB of surfaces.
+ - Keeps unused and in-use surfaces (but never gets more than 1/2 full with the latter)
+ - Marks surfaces purgeable after they've been unused for 2 seconds.
+ - Tries to move surfaces from the in-use pool to the unused pool every 500ms.
+ - Evicts in an LRU-ish fashion, interleaving eviction of the oldest
+ surfaces and the in-use surfaces (since in-use surfaces are not immediately
+ useful for the pool, but they are desirous because they were recently used).
+ - Throws everything away under memory pressure.
</ins><span class="cx">
</span><del>-2013-05-26 Kent Tamura <tkent@chromium.org>
</del><ins>+ * platform/graphics/cocoa/IOSurface.mm:
+ (IOSurface::create):
+ Try to grab a surface from the IOSurfacePool.
</ins><span class="cx">
</span><del>- Remove ENABLE_CALENDAR_PICKER
- https://bugs.webkit.org/show_bug.cgi?id=116795
</del><ins>+ * platform/ios/MemoryPressureHandlerIOS.mm:
+ (WebCore::MemoryPressureHandler::platformReleaseMemory):
+ * platform/mac/MemoryPressureHandlerMac.mm:
+ (WebCore::MemoryPressureHandler::install):
+ (WebCore::MemoryPressureHandler::platformReleaseMemory):
+ * platform/MemoryPressureHandler.cpp:
+ (WebCore::MemoryPressureHandler::platformReleaseMemory):
+ Fix some includes, and throw away all surfaces when we're under memory pressure.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-04-02 Stephanie Lewis <slewis@apple.com>
</ins><span class="cx">
</span><del>- This feature was used only by Chromium port.
</del><ins>+ Roll out http://trac.webkit.org/changeset/166144
+ <rdar://problem/16481284> PLT stops loading on news.google.com
</ins><span class="cx">
</span><del>- * Resources/pagepopups/calendarPicker.css: Removed.
- * Resources/pagepopups/calendarPicker.js: Removed.
- * css/html.css:
- * platform/text/LocaleICU.cpp:
- (WebCore::LocaleICU::LocaleICU):
- (WebCore):
- * platform/text/LocaleICU.h:
- (LocaleICU):
- * platform/text/PlatformLocale.h:
- (Locale):
- * platform/text/mac/LocaleMac.h:
- (LocaleMac):
- * platform/text/mac/LocaleMac.mm:
- (WebCore::LocaleMac::monthLabels):
- * platform/text/win/LocaleWin.cpp:
- (WebCore::LocaleWin::LocaleWin):
- (WebCore::LocaleWin::monthLabels):
- * platform/text/win/LocaleWin.h:
- (LocaleWin):
</del><ins>+ Unreviewed rollout.
</ins><span class="cx">
</span><del>-2013-05-26 Andreas Kling <akling@apple.com>
</del><ins>+ Rollout 166144 since it prevents the PLT from completing.
</ins><span class="cx">
</span><del>- Move :active chain participation state from Node to Element.
- <http://webkit.org/b/116786>
</del><ins>+ * dom/ContainerNode.cpp:
+ (WebCore::ContainerNode::suspendPostAttachCallbacks):
+ (WebCore::ContainerNode::resumePostAttachCallbacks):
+ (WebCore::ContainerNode::queuePostAttachCallback):
+ (WebCore::ContainerNode::postAttachCallbacksAreSuspended):
+ (WebCore::ContainerNode::dispatchPostAttachCallbacks):
+ * dom/ContainerNode.h:
+ * dom/Document.cpp:
+ (WebCore::Document::recalcStyle):
+ * dom/Element.h:
+ (WebCore::PostAttachCallbackDisabler::PostAttachCallbackDisabler):
+ (WebCore::PostAttachCallbackDisabler::~PostAttachCallbackDisabler):
+ * html/HTMLEmbedElement.cpp:
+ (WebCore::HTMLEmbedElement::parseAttribute):
+ * html/HTMLFormControlElement.cpp:
+ (WebCore::focusPostAttach):
+ (WebCore::HTMLFormControlElement::didAttachRenderers):
+ (WebCore::updateFromElementCallback):
+ (WebCore::HTMLFormControlElement::didRecalcStyle):
+ * html/HTMLFrameOwnerElement.cpp:
+ (WebCore::needsStyleRecalcCallback):
+ (WebCore::HTMLFrameOwnerElement::scheduleSetNeedsStyleRecalc):
+ * html/HTMLObjectElement.cpp:
+ (WebCore::HTMLObjectElement::parseAttribute):
+ (WebCore::HTMLObjectElement::shouldAllowQuickTimeClassIdQuirk):
+ (WebCore::HTMLObjectElement::hasValidClassId):
+ (WebCore::HTMLObjectElement::renderFallbackContent):
+ * html/HTMLObjectElement.h:
+ * html/HTMLPlugInImageElement.cpp:
+ (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
+ (WebCore::HTMLPlugInImageElement::createElementRenderer):
+ (WebCore::HTMLPlugInImageElement::didAttachRenderers):
+ (WebCore::HTMLPlugInImageElement::willDetachRenderers):
+ (WebCore::HTMLPlugInImageElement::updateWidgetIfNecessary):
+ (WebCore::HTMLPlugInImageElement::didMoveToNewDocument):
+ (WebCore::HTMLPlugInImageElement::updateWidgetCallback):
+ (WebCore::HTMLPlugInImageElement::startLoadingImage):
+ (WebCore::HTMLPlugInImageElement::startLoadingImageCallback):
+ (WebCore::HTMLPlugInImageElement::createShadowIFrameSubtree):
+ (WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn):
+ (WebCore::HTMLPlugInImageElement::didRecalcStyle): Deleted.
+ (WebCore::HTMLPlugInImageElement::scheduleUpdateForAfterStyleResolution): Deleted.
+ (WebCore::HTMLPlugInImageElement::updateAfterStyleResolution): Deleted.
+ (WebCore::HTMLPlugInImageElement::removedFrom): Deleted.
+ (WebCore::is100Percent): Deleted.
+ (WebCore::HTMLPlugInImageElement::setNeedsImageReload): Deleted.
+ * html/HTMLPlugInImageElement.h:
+ (WebCore::HTMLPlugInImageElement::imageLoader): Deleted.
+ (WebCore::HTMLPlugInImageElement::updateImageLoaderWithNewURLSoon): Deleted.
+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::needsPseudeElement):
+ (WebCore::Style::attachBeforeOrAfterPseudoElementIfNeeded):
+ (WebCore::Style::attachRenderTree):
+ (WebCore::Style::updateBeforeOrAfterPseudoElement):
+ (WebCore::Style::needsPseudoElement): Deleted.
+ (WebCore::Style::postResolutionCallbackQueue): Deleted.
+ (WebCore::Style::queuePostResolutionCallback): Deleted.
+ (WebCore::Style::suspendMemoryCacheClientCalls): Deleted.
+ (WebCore::Style::PostResolutionCallbackDisabler::PostResolutionCallbackDisabler): Deleted.
+ (WebCore::Style::PostResolutionCallbackDisabler::~PostResolutionCallbackDisabler): Deleted.
+ (WebCore::Style::postResolutionCallbacksAreSuspended): Deleted.
+ * style/StyleResolveTree.h:
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+2014-04-02 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>- Only Elements can be in the :active chain so move the logic there from Node.
</del><ins>+ Page should use std::unique_ptr for PointerLockController
+ https://bugs.webkit.org/show_bug.cgi?id=131098
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::updateHoverActiveState):
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Add isElementNode() type checks when updating the :active chain.
</del><ins>+ Make Page keep a std::unique_ptr to PointerLockController. Store page
+ references and return controller references where possible.
</ins><span class="cx">
</span><del>- * dom/Node.h:
- * dom/Node.cpp:
- (WebCore::Node::detach):
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::prepareForDestruction):
+ (WebCore::Document::webkitExitPointerLock):
+ (WebCore::Document::webkitPointerLockElement):
</ins><span class="cx"> * dom/Element.cpp:
</span><del>- (WebCore::Element::detach):
</del><ins>+ (WebCore::Element::removedFrom):
+ (WebCore::Element::webkitRequestPointerLock):
+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ * page/Page.h:
+ (WebCore::Page::pointerLockController):
+ * page/PointerLockController.cpp:
+ (WebCore::PointerLockController::PointerLockController):
+ (WebCore::PointerLockController::requestPointerLock):
+ (WebCore::PointerLockController::requestPointerUnlock):
+ (WebCore::PointerLockController::create): Deleted.
+ * page/PointerLockController.h:
</ins><span class="cx">
</span><del>- Move the remaining logic for detaching from the UserActionElementSet to Element.
</del><ins>+2014-04-02 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::Element::isUserActionElementInActiveChain):
- * dom/Element.h:
- (WebCore::Element::inActiveChain):
</del><ins>+ Load Media Controls js/css from bundle
+ https://bugs.webkit.org/show_bug.cgi?id=131086
</ins><span class="cx">
</span><del>- Move all the :active chain stuff from Node to Element.
</del><ins>+ Followup comments from Eric Carlson.
</ins><span class="cx">
</span><del>- * dom/UserActionElementSet.cpp:
- (WebCore::UserActionElementSet::didDetach):
- * dom/UserActionElementSet.h:
- (WebCore::UserActionElementSet::isInActiveChain):
- (WebCore::UserActionElementSet::setInActiveChain):
</del><ins>+ Remove the booleans that were guarding loading the resources.
</ins><span class="cx">
</span><del>- UserActionElementSet now only takes Element* in its API.
</del><ins>+ * rendering/RenderThemeIOS.h:
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::mediaControlsStyleSheet):
+ (WebCore::RenderThemeIOS::mediaControlsScript):
+ (WebCore::RenderThemeIOS::RenderThemeIOS):
+ * rendering/RenderThemeMac.h:
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::RenderThemeMac):
+ (WebCore::RenderThemeMac::mediaControlsStyleSheet):
+ (WebCore::RenderThemeMac::mediaControlsScript):
</ins><span class="cx">
</span><del>-2013-05-26 Antti Koivisto <antti@apple.com>
</del><ins>+2014-04-01 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Remove FontFamily.h/.cpp
- https://bugs.webkit.org/show_bug.cgi?id=116788
</del><ins>+ Load Media Controls js/css from bundle
+ https://bugs.webkit.org/show_bug.cgi?id=131086
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
-
- Empty files.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><ins>+ Rather than embed encoded versions of the JS and CSS files
+ into C++ source, just load the files directly from the bundle.
+
+ * DerivedSources.make: Removed now unnecessary rules.
+ * WebCore.xcodeproj/project.pbxproj: Copy mediaControls files to the bundle.
+ * rendering/RenderThemeIOS.h:
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::RenderThemeIOS):
+ (WebCore::RenderThemeIOS::mediaControlsStyleSheet): Load from the bundle.
+ (WebCore::RenderThemeIOS::mediaControlsScript): Ditto.
+ * rendering/RenderThemeMac.h:
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::RenderThemeMac):
+ (WebCore::RenderThemeMac::mediaControlsStyleSheet):
+ (WebCore::RenderThemeMac::mediaControlsScript):
+
+2014-04-02 Daniel Bates <dabates@apple.com>
+
+ Move focus management API from HTMLDocument to Document
+ https://bugs.webkit.org/show_bug.cgi?id=131079
+ <rdar://problem/16220103>
+
+ Reviewed by Timothy Hatcher.
+
+ Merged from Blink (patch by Christophe Dumez):
+ https://src.chromium.org/viewvc/blink?view=rev&revision=165515
+
+ Move hasFocus() and attribute activeElement from interface HTMLDocument
+ to DOMDocument as per section Focus management APIs of the HTML5 standard:
+ <http://www.whatwg.org/specs/web-apps/current-work/#focus-management-apis> (1 April 2014).
+
+ Test: fast/dom/Document/xml-document-focus.xml
+
+ * bindings/objc/PublicDOMInterfaces.h: Moved hasFocus() and property activeElement from
+ interface DOMHTMLDocument to DOMDocument.
+ * dom/Document.cpp:
+ (WebCore::Document::activeElement): Added.
+ (WebCore::Document::hasFocus): Added.
+ * dom/Document.h:
+ * dom/Document.idl:
+ * html/HTMLDocument.cpp:
+ (WebCore::HTMLDocument::activeElement): Deleted.
+ (WebCore::HTMLDocument::hasFocus): Deleted.
+ * html/HTMLDocument.h:
+ * html/HTMLDocument.idl:
+
+2014-04-02 Benjamin Poulain <benjamin@webkit.org>
+
+ Refactor the function call generator to take the arguments by value
+ https://bugs.webkit.org/show_bug.cgi?id=131129
+
+ Reviewed by Andreas Kling.
+
+ Nothing forces the pointed address to stay alive between setOneArgument/setTwoArguments
+ and prepareAndCall.
+
+ This patch changes FunctionCall to:
+ -Keep the register by value instead of using pointers.
+ -Crash at compile time if a register is invalid.
+
+ * cssjit/FunctionCall.h:
+ (WebCore::FunctionCall::FunctionCall):
+ (WebCore::FunctionCall::setOneArgument):
+ (WebCore::FunctionCall::setTwoArguments):
+ (WebCore::FunctionCall::swapArguments):
+ (WebCore::FunctionCall::prepareAndCall):
+ * cssjit/RegisterAllocator.h:
+ (WebCore::RegisterAllocator::isValidRegister):
+
+2014-04-02 Daniel Bates <dabates@apple.com>
+
+ Remove Settings::maximumDecodedImageSize()
+ https://bugs.webkit.org/show_bug.cgi?id=131057
+ <rdar://problem/15626368>
+
+ Reviewed by Darin Adler.
+
+ The setting Settings::maximumDecodedImageSize() and its related logic have various
+ shortcomings, including the inability to cancel an image load when the estimated
+ decoded image size exceeds the maximum decoded image size. In the iOS port, this
+ setting is less useful given image subsampling support. For now, we remove this
+ setting and its related logic. Should it turn out that such a setting is useful
+ then we can implement it again taking care to address the shortcomings in the
+ original design.
+
+ * html/HTMLCanvasElement.cpp: For the iOS port, define MaxCanvasArea to be 4580 * 1145
+ pixels such that the maximum size of the image buffer is 20 MB (assumes 4 bytes per pixel).
+ (WebCore::HTMLCanvasElement::HTMLCanvasElement):
+ (WebCore::HTMLCanvasElement::createImageBuffer):
+ * html/HTMLCanvasElement.h:
+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::createImageData):
+ (WebCore::CanvasRenderingContext2D::getImageData):
+ * loader/cache/CachedImage.cpp:
+ (WebCore::CachedImage::addIncrementalDataBuffer):
+ (WebCore::CachedImage::finishLoading):
+ * loader/cache/CachedImage.h:
+ * page/Settings.in:
+
+2014-04-02 Martin Hock <mhock@apple.com>
+
+ Unify private browsing with sessions.
+ https://bugs.webkit.org/show_bug.cgi?id=130099
+
+ Reviewed by Alexey Proskuryakov.
+
+ Unless otherwise noted, the following consists solely of mechanical changes to replace querying WebCore::Settings::privateBrowsingEnabled() with Page::usesEphemeralSession().
+
+ * Modules/webdatabase/DatabaseContext.cpp:
+ (WebCore::DatabaseContext::allowDatabaseAccess):
+ * WebCore.exp.in: Remove Settings::setPrivateBrowsingEnabled, add Page::legacyPrivateBrowsingEnabled.
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
+ * loader/HistoryController.cpp:
+ (WebCore::HistoryController::updateForStandardLoad):
+ (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList):
+ (WebCore::HistoryController::updateForClientRedirect):
+ (WebCore::HistoryController::updateForSameDocumentNavigation):
+ (WebCore::HistoryController::pushState):
+ (WebCore::HistoryController::replaceState):
+ * loader/appcache/ApplicationCacheGroup.cpp:
+ (WebCore::ApplicationCacheGroup::cacheForMainRequest):
+ (WebCore::ApplicationCacheGroup::selectCache):
+ (WebCore::ApplicationCacheGroup::selectCacheWithoutManifestURL):
+ (WebCore::ApplicationCacheGroup::update):
+ * loader/appcache/ApplicationCacheHost.cpp:
+ (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
+ * loader/icon/IconController.cpp:
+ (WebCore::IconController::continueLoadWithDecision):
+ * page/Page.cpp:
+ (WebCore::Page::Page): Initialize with defaultSessionID.
+ (WebCore::Page::legacyPrivateBrowsingEnabled): Legacy setting for private browsing.
+ (WebCore::Page::privateBrowsingStateChanged): Move implementation to setSessionID.
+ (WebCore::Page::sessionID): Simplify to just return m_sessionID.
+ (WebCore::Page::setSessionID): Also perform privateBrowsingStateChanged action.a
+ (WebCore::Page::privateBrowsingStateChanged): Deleted.
+ (WebCore::Page::checkSubframeCountConsistency): Deleted.
+ * page/Page.h:
+ * page/PageConsole.cpp:
+ (WebCore::PageConsole::addMessage):
+ (WebCore::PageConsole::messageWithTypeAndLevel):
+ * page/Settings.cpp: Remove privateBrowsingEnabled setting.
+ (WebCore::Settings::Settings):
+ (WebCore::Settings::setPrivateBrowsingEnabled): Page reflects setting using session.
+ * page/Settings.h:
+ * plugins/PluginView.cpp:
+ (WebCore::PluginView::getValue):
+ * rendering/RenderSearchField.cpp:
+ (WebCore::RenderSearchField::addSearchResult):
+ * storage/Storage.cpp:
+ (WebCore::Storage::isDisabledByPrivateBrowsing):
+
+2014-04-02 Antti Koivisto <antti@apple.com>
+
+ Try to fix test failures.
+
+ * platform/graphics/ca/mac/TileGrid.mm:
+ (WebCore::TileGrid::TileGrid): Initialize a field.
+
+2014-04-02 Timothy Hatcher <timothy@apple.com>
+
+ Remove Input domain from the Web Inspector protocol.
+
+ https://bugs.webkit.org/show_bug.cgi?id=131073
+
+ Reviewed by Joseph Pecoraro.
+
</ins><span class="cx"> * CMakeLists.txt:
</span><del>- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
</del><ins>+ * DerivedSources.make:
</ins><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj:
</span><ins>+ * WebCore.vcxproj/WebCore.vcxproj.filters:
</ins><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * platform/graphics/FontDescription.h:
- * platform/graphics/FontFamily.cpp: Removed.
- * platform/graphics/FontFamily.h: Removed.
</del><ins>+ * inspector/InspectorAllInOne.cpp:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::InspectorController):
+ * inspector/InspectorInputAgent.cpp: Removed.
+ * inspector/InspectorInputAgent.h: Removed.
+ * inspector/protocol/Input.json: Removed.
</ins><span class="cx">
</span><del>-2013-05-26 Antti Koivisto <antti@apple.com>
</del><ins>+2014-04-02 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- Use Vector instead of custom linked list for font families
- https://bugs.webkit.org/show_bug.cgi?id=116783
</del><ins>+ Split tile grid out from TileController
+ https://bugs.webkit.org/show_bug.cgi?id=131102
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Get rid of FontFamily and SharedFontFamily.
</del><ins>+ Add a TileGrid class that encapsulates tiles, zoom level and the related metadata.
+ This will make it possible to have multiple grids per TileController later.
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::hasSameFont):
- * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
- (getAttributeSetForAccessibilityObject):
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::fontFamilyFromStyle):
- * css/DeprecatedStyleBuilder.cpp:
- (WebCore::ApplyPropertyFontFamily::applyInheritValue):
- (WebCore::ApplyPropertyFontFamily::applyInitialValue):
- (WebCore::ApplyPropertyFontFamily::applyValue):
- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::styleForDocument):
- (WebCore::StyleResolver::initializeFontStyle):
- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::CanvasRenderingContext2D::font):
- (WebCore::CanvasRenderingContext2D::setFont):
- * page/PrintContext.cpp:
- (WebCore::PrintContext::pageProperty):
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::systemFont):
- * platform/graphics/Font.h:
- (WebCore::Font::firstFamily):
- (WebCore::Font::familyCount):
- (WebCore::Font::familyAt):
- * platform/graphics/FontCache.cpp:
- (WebCore::FontCache::getFontData):
- * platform/graphics/FontDescription.cpp:
- (SameSizeAsFontDescription):
- * platform/graphics/FontDescription.h:
- (WebCore::FontDescription::FontDescription):
- (WebCore::FontDescription::familyCount):
- (WebCore::FontDescription::firstFamily):
- (WebCore::FontDescription::familyAt):
- (WebCore::FontDescription::families):
- (WebCore::FontDescription::useFixedDefaultSize):
- (WebCore::FontDescription::setOneFamily):
- (WebCore::FontDescription::setFamilies):
- (WebCore::FontDescription::adoptFamilies):
- (WebCore::FontDescription::operator==):
- * platform/graphics/FontFamily.cpp:
- * platform/graphics/FontFamily.h:
- * platform/graphics/ca/win/PlatformCALayerWinInternal.cpp:
- (PlatformCALayerWinInternal::displayCallback):
- * platform/graphics/mac/FontCacheMac.mm:
- (WebCore::FontCache::getSimilarFontPlatformData):
- * platform/graphics/qt/FontCacheQt.cpp:
- (WebCore::FontCache::getLastResortFallbackFont):
- * platform/gtk/RenderThemeGtk.cpp:
- (WebCore::RenderThemeGtk::systemFont):
- * platform/mac/ThemeMac.mm:
- (WebCore::ThemeMac::controlFont):
- * platform/qt/RenderThemeQStyle.cpp:
- (WebCore::RenderThemeQStyle::adjustButtonStyle):
- * platform/text/transcoder/FontTranscoder.cpp:
- (WebCore::FontTranscoder::converterType):
- * platform/win/DragImageWin.cpp:
- (WebCore::dragLabelFont):
- * rendering/RenderText.cpp:
- (WebCore::RenderText::styleDidChange):
- * rendering/RenderTextControl.cpp:
- (WebCore::RenderTextControl::computeIntrinsicLogicalWidths):
- * rendering/RenderTextControlSingleLine.cpp:
- (WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth):
- * rendering/RenderThemeMac.mm:
- (WebCore::RenderThemeMac::systemFont):
- (WebCore::RenderThemeMac::setFontFromControlSize):
- * rendering/RenderThemeSafari.cpp:
</del><ins>+2014-03-31 Brent Fulgham <bfulgham@apple.com>
+
+ [Win] Correct media controls for test harness
+ https://bugs.webkit.org/show_bug.cgi?id=131008
+
+ Reviewed by Eric Carlson.
+
+ * rendering/RenderThemeSafari.cpp: Revise to match RenderThemeWin logic.
</ins><span class="cx"> (WebCore::RenderThemeSafari::systemFont):
</span><del>- (WebCore::RenderThemeSafari::setFontFromControlSize):
- * rendering/RenderThemeWin.cpp:
- (WebCore::fillFontDescription):
</del><ins>+ (WebCore::RenderThemeSafari::paintMenuList):
+ (WebCore::RenderThemeSafari::paintSearchFieldResultsButton):
+ (WebCore::RenderThemeSafari::mediaControlsStyleSheet):
+ (WebCore::RenderThemeSafari::mediaControlsScript):
+ (WebCore::RenderThemeSafari::paintMediaFullscreenButton): Deleted.
+ (WebCore::RenderThemeSafari::paintMediaMuteButton): Deleted.
+ (WebCore::RenderThemeSafari::paintMediaPlayButton): Deleted.
+ (WebCore::RenderThemeSafari::paintMediaSeekBackButton): Deleted.
+ (WebCore::RenderThemeSafari::paintMediaSeekForwardButton): Deleted.
+ (WebCore::RenderThemeSafari::paintMediaSliderTrack): Deleted.
+ (WebCore::RenderThemeSafari::paintMediaSliderThumb): Deleted.
+ * rendering/RenderThemeSafari.h:
</ins><span class="cx">
</span><del>-2013-05-26 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-02 peavo@outlook.com <peavo@outlook.com>
</ins><span class="cx">
</span><del>- Move "active" state logic from Node to Element.
- <http://webkit.org/b/116785>
</del><ins>+ [WinCairo] Compile error.
+ https://bugs.webkit.org/show_bug.cgi?id=131110
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Resolve another 7 year old FIXME by merging the "active" state logic from Node and ContainerNode
- and moving it all to Element instead.
</del><ins>+ Image::size() now returns a FloatSize instead of an IntSize.
</ins><span class="cx">
</span><del>- * dom/UserActionElementSet.h:
- (WebCore::UserActionElementSet::isActive):
- (WebCore::UserActionElementSet::setActive):
- * dom/ContainerNode.cpp:
- * dom/ContainerNode.h:
- * dom/Node.cpp:
- * dom/Node.h:
- * dom/Element.h:
- (WebCore::Element::active):
- * dom/Element.cpp:
- (WebCore::Element::isUserActionElementActive):
- (WebCore::Element::setActive):
</del><ins>+ * platform/win/DragImageCairoWin.cpp:
+ (WebCore::createDragImageFromImage):
</ins><span class="cx">
</span><del>- Moved here from Node/ContainerNode.
</del><ins>+2014-04-02 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::isPressed):
- * dom/Document.cpp:
- (WebCore::Document::setFocusedNode):
- (WebCore::Document::updateHoverActiveState):
- * rendering/RenderTheme.cpp:
- (WebCore::RenderTheme::isPressed):
- (WebCore::RenderTheme::isSpinUpButtonPartPressed):
- * rendering/RenderThemeMac.mm:
- (WebCore::getMediaUIPartStateFlags):
- (WebCore::RenderThemeMac::updatePressedState):
- * platform/qt/RenderThemeQt.cpp:
- (WebCore::RenderThemeQt::getMediaControlForegroundColor):
</del><ins>+ Use outermost containing isolate when constructing bidi runs
+ <http://webkit.org/b/131107>
+ <rdar://problem/15690021>
</ins><span class="cx">
</span><del>- Check that the inspected Node is an Element before asking if it's active.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * html/HTMLAnchorElement.cpp:
- (WebCore::HTMLAnchorElement::setActive):
</del><ins>+ Merged from Blink (patch by jww@chromium.org):
+ https://src.chromium.org/viewvc/blink?revision=157268&view=revision
+ http://crbug.com/279277
</ins><span class="cx">
</span><del>- Call the right superclass.
</del><ins>+ Update containingIsolate to go back all the way to top
+ isolate from current root, rather than stopping at the first
+ isolate it finds. This works because the current root is
+ always updated with each isolate run.
</ins><span class="cx">
</span><del>- * html/HTMLAnchorElement.h:
- * html/HTMLLabelElement.h:
- * html/shadow/MediaControlElementTypes.h:
</del><ins>+ Tests: fast/text/international/unicode-bidi-isolate-nested-with-removes-not-adjacent.html
+ fast/text/international/unicode-bidi-isolate-nested-with-removes.html
</ins><span class="cx">
</span><del>- Sprinkle OVERRIDE>
</del><ins>+ * rendering/InlineIterator.h:
+ (WebCore::highestContainingIsolateWithinRoot):
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::constructBidiRunsForSegment):
</ins><span class="cx">
</span><del>-2013-05-26 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-02 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Move Node::dispatchSimulatedClick() to Element.
- <http://webkit.org/b/116784>
</del><ins>+ AX: Improve ARIA live region reliability by sending notifications when live regions are created/shown and hidden/destroyed
+ https://bugs.webkit.org/show_bug.cgi?id=124381
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- Only Elements use the dispatchSimulatedClick() functionality, so move it there.
</del><ins>+ Re-organize some code so that when we detect a new node has been created, we can safely determine its live region status.
+ If it is a live region, we fire off a live region created notification.
</ins><span class="cx">
</span><del>- * dom/Node.cpp:
- * dom/Node.h:
- * dom/Element.h:
- * dom/Element.cpp:
- (WebCore::Element::dispatchSimulatedClick):
- * dom/EventDispatcher.h:
- * dom/EventDispatcher.cpp:
- (WebCore::EventDispatcher::dispatchSimulatedClick):
</del><ins>+ Test: platform/mac/accessibility/live-region-creation-notification.html
</ins><span class="cx">
</span><del>-2013-05-26 Andreas Kling <akling@apple.com>
</del><ins>+ * accessibility/AXObjectCache.cpp:
+ (WebCore::AXObjectCache::handleLiveRegionCreated):
+ (WebCore::AXObjectCache::childrenChanged):
+ (WebCore::AXObjectCache::handleAttributeChanged):
+ * accessibility/AXObjectCache.h:
+ (WebCore::AXObjectCache::childrenChanged):
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::defaultLiveRegionStatusForRole):
+ (WebCore::AccessibilityObject::liveRegionStatusIsEnabled):
+ (WebCore::AccessibilityObject::supportsARIALiveRegion):
+ * accessibility/AccessibilityObject.h:
+ (WebCore::AccessibilityObject::ariaLiveRegionStatus):
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::ariaLiveRegionStatus):
+ * accessibility/AccessibilityRenderObject.h:
+ * accessibility/ios/AXObjectCacheIOS.mm:
+ (WebCore::AXObjectCache::postPlatformNotification):
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.h:
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper postLiveRegionCreatedNotification]):
+ * accessibility/mac/AXObjectCacheMac.mm:
+ (WebCore::AXObjectCache::postPlatformNotification):
</ins><span class="cx">
</span><del>- TreeScope::rootNode() should return a ContainerNode.
- <http://webkit.org/b/116782>
</del><ins>+2014-04-02 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ REGRESSION(r165704): [GTK] Inspector resources not correctly generated
+ https://bugs.webkit.org/show_bug.cgi?id=130343
</ins><span class="cx">
</span><del>- The rootNode() of a TreeScope is always a ContainerNode, so update pointer types to reflect that.
- This lets us take advantage of Antti's optimized traversal functions.
</del><ins>+ Reviewed by Gustavo Noronha Silva.
</ins><span class="cx">
</span><del>- * dom/ContainerNode.h:
- (WebCore::Node::isTreeScope):
- * dom/Document.cpp:
- (WebCore::Document::buildAccessKeyMap):
- * dom/Node.cpp:
- (WebCore::Node::containingShadowRoot):
- * dom/Node.h:
- * dom/TreeScope.h:
- (WebCore::TreeScope::rootNode):
- (TreeScope):
- * page/FocusController.cpp:
- (WebCore::FocusNavigationScope::rootNode):
- (WebCore::FocusNavigationScope::owner):
- * page/FocusController.h:
- (FocusNavigationScope):
</del><ins>+ * CMakeLists.txt: Generate the web inspector JS file into the new WebInspectorUI derived sources
+ directory.
</ins><span class="cx">
</span><del>-2013-05-26 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-02 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- FocusController::setFocusedNode() should be setFocusedElement().
- <http://webkit.org/b/116780>
</del><ins>+ Unreviewed build fix after r166642.
+ (WinCairo should really turn subpixel layout on.)
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * platform/graphics/LayoutSize.h:
+ (WebCore::flooredForPainting):
</ins><span class="cx">
</span><del>- Only Elements can have focus, so make the public API of FocusController take Element*.
</del><ins>+2014-04-02 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * page/FocusController.h:
- * page/FocusController.cpp:
- (WebCore::FocusController::setFocusedElement):
</del><ins>+ Subpixel rendering: Make GraphicsContext::drawTiledImage* functions float based.
+ https://bugs.webkit.org/show_bug.cgi?id=131062
</ins><span class="cx">
</span><del>- Out with the setFocusedNode(), in with the setFocusedElement().
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::focus):
- (WebCore::Element::blur):
- * page/EventHandler.cpp:
- (WebCore::EventHandler::dispatchMouseEvent):
- * plugins/PluginView.cpp:
- (WebCore::PluginView::focusPluginElement):
- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::setFocusedNodeIfNeeded):
</del><ins>+ This is in preparation to support subpixel positioned/sized background images. Generated images
+ need to be able to sized on device pixels.
</ins><span class="cx">
</span><del>- Tweak for FocusController taking Element* instead of Node*.
</del><ins>+ No change in behavior.
</ins><span class="cx">
</span><del>- (WebCore::FrameSelection::setFocusedElementIfNeeded):
</del><ins>+ * platform/graphics/GraphicsContext.cpp:
+ (WebCore::GraphicsContext::drawImage):
+ (WebCore::GraphicsContext::drawTiledImage):
+ * platform/graphics/GraphicsContext.h:
</ins><span class="cx">
</span><del>- Renamed from setFocusedNodeIfNeeded().
</del><ins>+2014-04-02 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- * editing/htmlediting.h:
- * editing/htmlediting.cpp:
- (WebCore::enclosingAnchorElement):
</del><ins>+ [WinCairo] Build fix after r166496.
+ https://bugs.webkit.org/show_bug.cgi?id=131006
</ins><span class="cx">
</span><del>- Cleaned up the loop for readability and made it return an Element.
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>-2013-05-26 Andreas Kling <akling@apple.com>
</del><ins>+ * platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:
+ (WebCore::InbandTextTrackPrivateGStreamer::handleSample):
+ (WebCore::InbandTextTrackPrivateGStreamer::streamChanged):
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::changePipelineState):
+ (WebCore::MediaPlayerPrivateGStreamer::videoChanged):
+ (WebCore::MediaPlayerPrivateGStreamer::videoCapsChanged):
+ (WebCore::MediaPlayerPrivateGStreamer::audioChanged):
+ (WebCore::MediaPlayerPrivateGStreamer::textChanged):
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ (WebCore::MediaPlayerPrivateGStreamerBase::volumeChanged):
+ (WebCore::MediaPlayerPrivateGStreamerBase::muteChanged):
+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
+ (WebCore::TrackPrivateBaseGStreamer::activeChanged):
+ (WebCore::TrackPrivateBaseGStreamer::tagsChanged):
+ * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
+ (webkitVideoSinkRender):
+ * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+ (webKitWebSrcChangeState):
+ (webKitWebSrcNeedDataCb):
+ (webKitWebSrcEnoughDataCb):
+ (webKitWebSrcSeekDataCb):
+ Added std::function<void()> constructors to help Visual Studio decide which version of
+ GMainLoopSource::schedule or GMainLoopSource::scheduleAfterDelay to use.
</ins><span class="cx">
</span><del>- Move some form control things from Element to HTMLFormControlElement.
- <http://webkit.org/b/116779>
</del><ins>+2014-04-02 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Subpixel rendering: Transition class CSSImageGeneratorValue/class StyleImage (and its dependencies) from
+ IntSize to FloatSize to enable subpixel sized (generated)images.
+ https://bugs.webkit.org/show_bug.cgi?id=130659
</ins><span class="cx">
</span><del>- The following methods sit better on HTMLFormControlElement than on Element:
</del><ins>+ Reviewed by Simon Fraser and Andreas Kling.
</ins><span class="cx">
</span><del>- - formControlType()
- - wasChangedSinceLastFormControlChangeEvent()
- - setChangedSinceLastFormControlChangeEvent()
- - dispatchFormControlChangeEvent()
</del><ins>+ This is in preparation to support subpixel positioned/sized background images. Generated images
+ needs to be able to sized on device pixels.
</ins><span class="cx">
</span><del>- Moved them, and devirtualized as much as possible.
</del><ins>+ No change in behavior.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::setFocusedNode):
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * css/CSSCanvasValue.cpp:
+ (WebCore::CSSCanvasValue::fixedSize):
+ (WebCore::CSSCanvasValue::image):
+ * css/CSSCanvasValue.h:
+ * css/CSSCrossfadeValue.cpp:
+ (WebCore::CSSCrossfadeValue::fixedSize):
+ (WebCore::CSSCrossfadeValue::image):
+ * css/CSSCrossfadeValue.h:
+ * css/CSSFilterImageValue.cpp:
+ (WebCore::CSSFilterImageValue::fixedSize):
+ (WebCore::CSSFilterImageValue::image):
+ * css/CSSFilterImageValue.h:
+ * css/CSSGradientValue.cpp:
+ (WebCore::CSSGradientValue::image):
+ (WebCore::positionFromValue):
+ (WebCore::CSSGradientValue::computeEndPoint):
+ (WebCore::endPointsFromAngle):
+ (WebCore::CSSLinearGradientValue::createGradient):
+ (WebCore::CSSRadialGradientValue::createGradient):
+ * css/CSSGradientValue.h:
+ (WebCore::CSSGradientValue::fixedSize):
+ * css/CSSImageGeneratorValue.cpp:
+ (WebCore::CSSImageGeneratorValue::cachedImageForSize):
+ (WebCore::CSSImageGeneratorValue::saveCachedImageForSize):
+ (WebCore::CSSImageGeneratorValue::evictCachedGeneratedImage):
+ (WebCore::CSSImageGeneratorValue::CachedGeneratedImage::CachedGeneratedImage):
+ (WebCore::CSSImageGeneratorValue::image):
+ (WebCore::CSSImageGeneratorValue::fixedSize):
+ * css/CSSImageGeneratorValue.h:
+ * loader/cache/CachedImage.cpp:
+ (WebCore::CachedImage::setContainerSizeForRenderer):
+ * loader/cache/CachedImage.h:
+ * platform/graphics/FloatSizeHash.h: Added.
+ (WTF::FloatHash<WebCore::FloatSize>::hash):
+ (WTF::FloatHash<WebCore::FloatSize>::equal):
+ (WTF::HashTraits<WebCore::FloatSize>::constructDeletedValue):
+ (WTF::HashTraits<WebCore::FloatSize>::isDeletedValue):
+ * platform/graphics/LayoutSize.h:
+ (WebCore::flooredForPainting):
+ * rendering/RenderImageResourceStyleImage.h:
+ * rendering/RenderListMarker.cpp:
+ (WebCore::RenderListMarker::computePreferredLogicalWidths):
+ * rendering/style/StyleCachedImage.cpp:
+ (WebCore::StyleCachedImage::imageSize):
+ (WebCore::StyleCachedImage::setContainerSizeForRenderer):
+ (WebCore::StyleCachedImage::image):
+ * rendering/style/StyleCachedImage.h:
+ * rendering/style/StyleCachedImageSet.cpp:
+ (WebCore::StyleCachedImageSet::imageSize):
+ (WebCore::StyleCachedImageSet::setContainerSizeForRenderer):
+ (WebCore::StyleCachedImageSet::image):
+ * rendering/style/StyleCachedImageSet.h:
+ * rendering/style/StyleGeneratedImage.cpp:
+ (WebCore::StyleGeneratedImage::imageSize):
+ (WebCore::StyleGeneratedImage::computeIntrinsicDimensions):
+ (WebCore::StyleGeneratedImage::image):
+ * rendering/style/StyleGeneratedImage.h:
+ * rendering/style/StyleImage.h:
+ * rendering/style/StylePendingImage.h:
+ * svg/graphics/SVGImageCache.cpp:
+ (WebCore::SVGImageCache::setContainerSizeForRenderer):
+ * svg/graphics/SVGImageCache.h:
</ins><span class="cx">
</span><del>- Check if the old focus target is an Element before (possibly) dispatching a change event.
</del><ins>+2014-04-02 Gergo Balogh <gbalogh.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- * dom/Element.h:
</del><ins>+ Warning fix for RenderLayer.
+ https://bugs.webkit.org/show_bug.cgi?id=131090
</ins><span class="cx">
</span><del>- Removed some stub methods that were only used by HTMLFormControlElement subclasses.
</del><ins>+ Reviewed by Csaba Osztrogonác.
</ins><span class="cx">
</span><del>- * html/HTMLFormControlElement.cpp:
- * html/HTMLFormControlElement.h:
- (WebCore::isHTMLFormControlElement):
- (WebCore::toHTMLFormControlElement):
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::updateDescendantDependentFlags):
</ins><span class="cx">
</span><del>- Add toHTMLFormControlElement() helper with ASSERT_WITH_SECURITY_IMPLICATION.
</del><ins>+2014-04-02 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- * html/HTMLTextFormControlElement.h:
</del><ins>+ Operator stretching: read the Open Type MATH table
+ https://bugs.webkit.org/show_bug.cgi?id=130324
</ins><span class="cx">
</span><del>- Sprinkle OVERRIDE.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+ We parse and expose some data from the OpenType MATH table that will be
+ be relevant for at least the MathML operator stretching (bug 130322):
+ math constants, italic corrections and size variants / glyph assembly.
+ This will be tested when the MathML code uses the data.
</ins><span class="cx">
</span><del>- Move Node::supportsFocus() to Element.
- <http://webkit.org/b/116778>
</del><ins>+ * WebCore.xcodeproj/project.pbxproj: Add OpenTypeTypes.h to the Mac build.
+ * platform/graphics/opentype/OpenTypeMathData.cpp: We implement the low-level parsing of the MATH table.
+ (WebCore::OpenType::MathItalicsCorrectionInfo::getItalicCorrection):
+ (WebCore::OpenType::MathGlyphInfo::mathItalicsCorrectionInfo):
+ (WebCore::OpenType::GlyphAssembly::getAssemblyParts):
+ (WebCore::OpenType::MathGlyphConstruction::getSizeVariants):
+ (WebCore::OpenType::MathGlyphConstruction::getAssemblyParts):
+ (WebCore::OpenType::MathVariants::mathGlyphConstruction):
+ (WebCore::OpenType::MATHTable::mathConstants):
+ (WebCore::OpenType::MATHTable::mathGlyphInfo):
+ (WebCore::OpenType::MATHTable::mathVariants):
+ (WebCore::OpenTypeMathData::OpenTypeMathData): We load the MATH table.
+ (WebCore::OpenTypeMathData::getMathConstant): We add a function to get values from the MathConstant subtable.
+ (WebCore::OpenTypeMathData::getItalicCorrection): We add a function to get italic correction from the MathGlyphInfo subtable.
+ (WebCore::OpenTypeMathData::getMathVariants): We add a function to get size variants / glyph assembly from the MathVariants subtable.
+ * platform/graphics/opentype/OpenTypeMathData.h: We expose three new functions to get math data.
+ * platform/graphics/opentype/OpenTypeTypes.h: We share the coverage tables that are common to vertical and math data.
+ (WebCore::OpenType::TableWithCoverage::getCoverageIndex): We add a function to get the coverage index from a given glyph.
+ * platform/graphics/opentype/OpenTypeVerticalData.cpp: We move the coverage tables to OpenTypeTypes.h.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+2014-04-02 Ion Rosca <rosca@adobe.com>
</ins><span class="cx">
</span><del>- Node never supports focus, so move supportsFocus() to Element instead.
</del><ins>+ [CSS Blending] Compositing requirements for blending are not computed correctly
+ https://bugs.webkit.org/show_bug.cgi?id=130664
</ins><span class="cx">
</span><del>- * dom/Element.h:
- * dom/Node.cpp:
- * dom/Node.h:
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Removed Node::supportsFocus(), it always returned false anyway.
</del><ins>+ Tests: css3/compositing/blend-mode-accelerated-with-multiple-stacking-contexts.html
+ css3/compositing/blend-mode-with-accelerated-sibling.html
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::canSetFocusAttribute):
</del><ins>+ Compositing requirements for blending: if a layer having blend mode
+ other than normal is composited for any reason, its closest stacking
+ context ancestor should be composited as well.
</ins><span class="cx">
</span><del>- Check that the underlying Node is an Element before asking if it supports focus.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::RenderLayer):
+ * rendering/RenderLayer.h: added a new field,
+ m_hasUnisolatedCompositedBlendingDescendants, which is true if the layer
+ has composited blending descendants not isolated by any stacking context child;
+ added a new method: isolatesCompositedBlending(), which is true if we should
+ accelerate that layer in order to perform isolation correctly.
</ins><span class="cx">
</span><del>- * html/HTMLAnchorElement.h:
- * html/HTMLAreaElement.h:
- * html/HTMLBodyElement.h:
- * html/HTMLElement.h:
- * html/HTMLFieldSetElement.h:
- * html/HTMLFormControlElement.h:
- * html/HTMLFrameElementBase.h:
- * html/HTMLMediaElement.h:
- * html/HTMLOptGroupElement.h:
- * html/HTMLOptionElement.h:
- * html/HTMLOutputElement.h:
- * svg/SVGAElement.h:
- * svg/SVGCircleElement.h:
- * svg/SVGEllipseElement.h:
- * svg/SVGGElement.h:
- * svg/SVGImageElement.h:
- * svg/SVGLineElement.h:
- * svg/SVGPathElement.h:
- * svg/SVGPolyElement.h:
- * svg/SVGRectElement.h:
- * svg/SVGSVGElement.h:
- * svg/SVGSwitchElement.h:
- * svg/SVGSymbolElement.h:
- * svg/SVGTextElement.h:
- * svg/SVGUseElement.h:
</del><ins>+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::CompositingState::CompositingState): m_subtreeHasBlending was renamed
+ m_hasUnisolatedCompositedBlendingDescendants in order to be more self-explanatory.
+ (WebCore::RenderLayerCompositor::computeCompositingRequirements):
+ computes the isolation requirements for composited blending by
+ (re)setting RenderLayer::m_hasUnisolatedCompositedBlendingDescendants flag.
</ins><span class="cx">
</span><del>- OVERRIDE ALL THE THINGS!
</del><ins>+ (WebCore::RenderLayerCompositor::reasonsForCompositing):
+ fixed the reason of compositing: isolation instead of blending.
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+ (WebCore::RenderLayerCompositor::requiresCompositingForIndirectReason):
+ * rendering/RenderLayerCompositor.h:
</ins><span class="cx">
</span><del>- Move Node::isFocusable() to Element.
- <http://webkit.org/b/116777>
</del><ins>+2014-04-02 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Operator stretching: expose a math data API
+ https://bugs.webkit.org/show_bug.cgi?id=130572
</ins><span class="cx">
</span><del>- Nodes cannot be focusable, so move isFocusable() from Node to Element.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- * dom/Node.cpp:
- * dom/Node.h:
- * dom/Element.h:
</del><ins>+ We expose a new SimpleFontData API to give access to the data from the
+ OpenType MATH table. The class OpenTypeMathData will
+ be implemented in bug 130324. On Darwin platform, we also implement the
+ missing FontPlatformData::openTypeTable function which will be necessary
+ to load the OpenType MATH table. The changes are intended to be used
+ for MathML operator stretching (bug 130322) so tests are not added yet.
+
+ * CMakeLists.txt: add new OpenTypeMathData files.
+ * WebCore.vcxproj/WebCore.vcxproj: ditto.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: ditto.
+ * WebCore.xcodeproj/project.pbxproj: ditto.
+ * platform/graphics/FontPlatformData.cpp:
+ (WebCore::FontPlatformData::openTypeTable): We implement openTypeTable() on Darwin platform.
+ * platform/graphics/FontPlatformData.h: We expose openTypeTable() on Darwin platform.
+ * platform/graphics/SimpleFontData.cpp:
+ (WebCore::SimpleFontData::SimpleFontData):
+ (WebCore::SimpleFontData::mathData): Initialize and return the math data.
+ * platform/graphics/SimpleFontData.h: We expose a mathData() function to access the MATH data.
+ * platform/graphics/opentype/OpenTypeMathData.cpp: Added. This is a new class that will be used to parse the data from the OpenType MATH table.
+ (WebCore::OpenTypeMathData::OpenTypeMathData):
+ * platform/graphics/opentype/OpenTypeMathData.h: Added.
+ (WebCore::OpenTypeMathData::create):
+ (WebCore::OpenTypeMathData::hasMathData):
+
+2014-04-01 Mihnea Ovidenie <mihnea@adobe.com>
+
+ [CSSRegions] Displaying region's children in another region not supported
+ https://bugs.webkit.org/show_bug.cgi?id=130735
+
+ Reviewed by David Hyatt.
+
+ With http://trac.webkit.org/changeset/166353, we disabled the possibility
+ of collecting the region's children into another flow and displaying them
+ in another region.
+ I added a new test for this and also changed the plain ASSERT in Element dtor
+ to ASSERT_WITH_SECURITY_IMPLICATION to better reflect the meaning of the assertion.
+
+ Test: fast/regions/region-child-not-flowed.html
+
</ins><span class="cx"> * dom/Element.cpp:
</span><del>- (WebCore::Element::isFocusable):
</del><ins>+ (WebCore::Element::~Element):
</ins><span class="cx">
</span><del>- Moved here from Node.
</del><ins>+2014-04-01 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><ins>+ [CSS Regions] Simplify the RenderFlowThread state pusher
+ https://bugs.webkit.org/show_bug.cgi?id=131035
+
+ Reviewed by David Hyatt.
+
+ The RenderFlowThread state pusher is desynchronized from the RenderView layout state pusher
+ by one renderer. This patch fixes the anomaly by correctly ordering the push and pop operations
+ between the two systems.
+
+ Tests: no functional change, no new tests.
+
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::pushFlowThreadLayoutState):
+ (WebCore::RenderFlowThread::popFlowThreadLayoutState):
+ (WebCore::RenderFlowThread::offsetFromLogicalTopOfFirstRegion):
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::pushLayoutState):
+ * rendering/RenderView.h:
+
+2014-04-01 Beth Dakin <bdakin@apple.com>
+
+ willReveal edge events should be hooked up for overflow:scroll
+ https://bugs.webkit.org/show_bug.cgi?id=131071
+ -and corresponding-
+ <rdar://problem/16190392>
+
+ Reviewed by Sam Weinig.
+
+ This patch moves the will reveal logic from FrameView to Document so that it can
+ be shared for RenderLayers.
+
+ This is mostly just a moved function, but now the function takes an Element* that
+ represents the target of the event if the target is not the window.
</ins><span class="cx"> * dom/Document.cpp:
</span><del>- (WebCore::Document::setFocusedNode):
- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::determineAccessibilityRole):
</del><ins>+ (WebCore::Document::sendWillRevealEdgeEventsIfNeeded):
+ * dom/Document.h:
</ins><span class="cx">
</span><del>- Check that the underlying node is an Element before asking if it's focusable.
-
</del><ins>+ No longer implement sendWillRevealEdgeEventsIfNeeded() on FrameView or
+ ScrollableArea at all. Call into Document instead.
</ins><span class="cx"> * page/FrameView.cpp:
</span><del>- (WebCore::FrameView::scrollToAnchor):
</del><ins>+ (WebCore::FrameView::scrollPositionChanged):
+ (WebCore::FrameView::sendWillRevealEdgeEventsIfNeeded): Deleted.
+ * page/FrameView.h:
+ * platform/ScrollableArea.h:
+ (WebCore::ScrollableArea::sendWillRevealEdgeEventsIfNeeded): Deleted.
</ins><span class="cx">
</span><del>- Renamed the 'anchorNode' variable to 'anchorElement' because reasons.
</del><ins>+ Call sendWillRevealEdgeEventsIfNeeded() after sending scroll events.
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::scrollTo):
</ins><span class="cx">
</span><del>- * html/HTMLAreaElement.h:
- * html/HTMLFormControlElement.h:
- * html/HTMLLabelElement.h:
- * html/HTMLOptionElement.h:
- * svg/SVGAElement.h:
</del><ins>+2014-04-01 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>- Sprinkle OVERRIDE.
</del><ins>+ Crash in WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients
</ins><span class="cx">
</span><del>- * html/ValidationMessage.cpp:
- (WebCore::ValidationMessage::setMessage):
</del><ins>+ <https://bugs.webkit.org/show_bug.cgi?id=121887>
+ <rdar://problem/15073043>
</ins><span class="cx">
</span><del>- Update a comment to refer to Element::isFocusable() instead of Node.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+ Test: svg/filters/first-letter-crash.html
</ins><span class="cx">
</span><del>- Move Node::tabIndex() to Element.
- <http://webkit.org/b/116772>
</del><ins>+ * rendering/FilterEffectRenderer.cpp:
+ (WebCore::FilterEffectRenderer::buildReferenceFilter):
+ Added a null check to prevent crashes for anonymous RenderObjects.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::filterNeedsRepaint):
+ Get the enclosing element, if there is one, and recalculate its style.
+ We use the enclosing element so that we recalculate style for the
+ ancestor of an anonymous RenderElement.
+ (WebCore::RenderLayer::enclosingElement):
+ Remove an assertion; we may now reach this condition if loading a
+ cached SVG document results in RenderLayer::filterNeedsRepaint() being
+ called before the object has been inserted into the render tree.
</ins><span class="cx">
</span><del>- Since only Elements are keyboard-focusable, it doesn't make sense for Node to have a tabIndex().
</del><ins>+ * rendering/RenderLayerFilterInfo.cpp:
+ (WebCore::RenderLayer::FilterInfo::notifyFinished):
+ Tell the RenderLayer that the filter needs repainting.
+ (WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients):
+ Get the Element from the renderer rather than asking the renderer's
+ Element, which will be null for anonymous RenderObjects.
</ins><span class="cx">
</span><del>- * dom/Element.h:
- * dom/Node.cpp:
- * dom/Node.h:
</del><ins>+ * rendering/RenderLayerFilterInfo.h:
+ Removed declaration for the old workaround function, layerElement().
</ins><span class="cx">
</span><del>- A Node can't have a tab index, so move tabIndex() to Element.
</del><ins>+2014-04-01 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- * page/FocusController.h:
- * page/FocusController.cpp:
- (WebCore::adjustedTabIndex):
- (WebCore::FocusController::findElementWithExactTabIndex):
- (WebCore::nextElementWithGreaterTabIndex):
- (WebCore::previousElementWithLowerTabIndex):
- (WebCore::FocusController::nextFocusableNode):
- (WebCore::FocusController::previousFocusableNode):
</del><ins>+ Build break when disabled VIDEO since r166261
+ https://bugs.webkit.org/show_bug.cgi?id=131087
</ins><span class="cx">
</span><del>- Make this code deal in Element* when doing tab index stuff. FocusController needs
- more Node->Element cleanup, but let's do that separately.
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- * html/HTMLAnchorElement.h:
- * html/HTMLElement.h:
- * html/HTMLFormControlElement.h:
</del><ins>+ * testing/Internals.cpp: Added ENABLE(VIDEO) guards
+ (WebCore::Internals::simulateSystemSleep):
+ (WebCore::Internals::simulateSystemWake):
</ins><span class="cx">
</span><del>- Sprinkle OVERRIDE.
</del><ins>+2014-04-01 Timothy Hatcher <timothy@apple.com>
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+ Remove HeapProfiler from the Web Inspector protocol.
</ins><span class="cx">
</span><del>- Don't instantiate ChildNodeLists just to get a child count.
- <http://webkit.org/b/116776>
</del><ins>+ https://bugs.webkit.org/show_bug.cgi?id=131070
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><del>- Use ContainerNode::childNodeCount() instead of Node::childNodes()->length().
</del><ins>+ * CMakeLists.txt:
+ * DerivedSources.make:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/ScriptHeapSnapshot.h: Removed.
+ * bindings/js/ScriptProfiler.h:
+ (WebCore::ScriptProfiler::takeHeapSnapshot): Deleted.
+ (WebCore::ScriptProfiler::isSampling): Deleted.
+ (WebCore::ScriptProfiler::hasHeapProfiler): Deleted.
+ * inspector/InspectorAllInOne.cpp:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::InspectorController):
+ * inspector/InspectorHeapProfilerAgent.cpp: Removed.
+ * inspector/InspectorHeapProfilerAgent.h: Removed.
+ * inspector/InspectorInstrumentation.cpp:
+ (WebCore::InspectorInstrumentation::didCommitLoadImpl):
+ * inspector/InspectorProfilerAgent.cpp:
+ (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
+ (WebCore::InspectorProfilerAgent::getProfileHeaders):
+ (WebCore::InspectorProfilerAgent::removeProfile):
+ (WebCore::InspectorProfilerAgent::resetState): The CommandLineAPIHost call to
+ clear inspected objects should have not been here. It was only needed by the
+ HeapProfilerAgent.
+ (WebCore::InspectorProfilerAgent::resetFrontendProfiles):
+ (WebCore::InspectorProfilerAgent::collectGarbage): Deleted.
+ (WebCore::InspectorProfilerAgent::createSnapshotHeader): Deleted.
+ (WebCore::InspectorProfilerAgent::isSampling): Deleted.
+ (WebCore::InspectorProfilerAgent::hasHeapProfiler): Deleted.
+ (WebCore::InspectorProfilerAgent::getHeapSnapshot): Deleted.
+ (WebCore::InspectorProfilerAgent::takeHeapSnapshot): Deleted.
+ (WebCore::InspectorProfilerAgent::getObjectByHeapObjectId): Deleted.
+ (WebCore::InspectorProfilerAgent::getHeapObjectId): Deleted.
+ * inspector/InspectorProfilerAgent.h:
+ * inspector/InstrumentingAgents.h:
+ (WebCore::InstrumentingAgents::inspectorHeapProfilerAgent): Deleted.
+ (WebCore::InstrumentingAgents::setInspectorHeapProfilerAgent): Deleted.
+ * inspector/WebConsoleAgent.cpp:
+ (WebCore::WebConsoleAgent::addInspectedHeapObject): Deleted.
+ * inspector/WebConsoleAgent.h:
+ * inspector/WorkerInspectorController.cpp:
+ (WebCore::WorkerInspectorController::WorkerInspectorController):
+ * inspector/protocol/HeapProfiler.json: Removed.
+ * inspector/protocol/Profiler.json:
</ins><span class="cx">
</span><del>- * editing/ApplyStyleCommand.cpp:
- (WebCore::ApplyStyleCommand::mergeEndWithNextIfIdentical):
</del><ins>+2014-04-01 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+ [CSS Exclusions] Remove exclusions parsing support
+ https://bugs.webkit.org/show_bug.cgi?id=131046
</ins><span class="cx">
</span><del>- PluginDocument::pluginNode() should be pluginElement() instead.
- <http://webkit.org/b/116774>
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ CSS Exclusions specification [1] needs some evolution before the actual implementation happens.
+ We have only the parsing code in WebKit for -webkit-wrap-flow and -webkit-wrap-through.
+ This patch removes the code from the trunk for now, it doesn't make sense to keep it around.
</ins><span class="cx">
</span><del>- Make PluginDocument hand out a HTMLPlugInElement* instead of a Node*.
</del><ins>+ [1] http://www.w3.org/TR/css3-exclusions/
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::eventTargetNodeForDocument):
- * html/PluginDocument.h:
- * html/PluginDocument.cpp:
- (WebCore::PluginDocumentParser::createDocumentStructure):
- (WebCore::PluginDocument::pluginWidget):
- (WebCore::PluginDocument::setPluginElement):
- (WebCore::PluginDocument::detach):
</del><ins>+ Removed existing parsing tests.
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::ComputedStyleExtractor::propertyValue):
+ * css/CSSParser.cpp:
+ (WebCore::isValidKeywordPropertyAndValue):
+ (WebCore::isKeywordPropertyID):
+ (WebCore::CSSParser::parseValue):
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Deleted.
+ (WebCore::CSSPrimitiveValue::operator WrapFlow): Deleted.
+ (WebCore::CSSPrimitiveValue::operator WrapThrough): Deleted.
+ * css/CSSPropertyNames.in:
+ * css/CSSValueKeywords.in:
+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::applyProperty):
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::changeRequiresLayout):
+ * rendering/style/RenderStyle.h:
+ * rendering/style/RenderStyleConstants.h:
+ * rendering/style/StyleRareNonInheritedData.cpp:
+ (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
+ (WebCore::StyleRareNonInheritedData::operator==):
+ * rendering/style/StyleRareNonInheritedData.h:
</ins><span class="cx">
</span><del>- Remove Document::getFocusableNodes().
- <http://webkit.org/b/116773>
</del><ins>+2014-04-01 Timothy Hatcher <timothy@apple.com>
</ins><span class="cx">
</span><ins>+ Remove the rest of the old Canvas inspection support.
+
+ https://bugs.webkit.org/show_bug.cgi?id=131066
+
</ins><span class="cx"> Reviewed by Joseph Pecoraro.
</span><span class="cx">
</span><del>- This was added in r42191 and there are no remaining clients of the API.
</del><ins>+ * CMakeLists.txt: Removed Canvas.json.
+ * DerivedSources.make: Ditto.
+ * inspector/InjectedScriptCanvasModuleSource.js: Removed.
+ * inspector/protocol/Canvas.json: Removed.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- * dom/Document.h:
- * WebCore.exp.in:
</del><ins>+2014-04-01 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+ Eliminate HTMLFormElement::m_shouldSubmit
+ https://bugs.webkit.org/show_bug.cgi?id=131055
</ins><span class="cx">
</span><del>- Move Node::focusDelegate() to Element.
- <http://webkit.org/b/116768>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ m_shouldSubmit was used for two purposes:
+ - as a return value in a function whose return value is ignored by all callers;
+ - to make a decision that's local to a function.
</ins><span class="cx">
</span><del>- Only Element can be a focus delegate (it's currently only ever HTMLInputElement actually)
- so move Node::focusDelegate() to Element. Sprinkled isElementNode() checks as needed.
</del><ins>+ There is no need for it to be an instance variable.
</ins><span class="cx">
</span><del>- * dom/Node.cpp:
- * dom/Node.h:
- * dom/Element.h:
- * dom/Element.cpp:
- * html/shadow/SliderThumbElement.cpp:
- (WebCore::SliderThumbElement::focusDelegate):
- * html/shadow/SliderThumbElement.h:
- * rendering/RenderTheme.cpp:
- (WebCore::RenderTheme::isFocused):
- * rendering/RenderThemeMac.mm:
- (WebCore::RenderThemeMac::paintSliderThumb):
</del><ins>+ * html/HTMLFormElement.cpp:
+ (WebCore::HTMLFormElement::HTMLFormElement):
+ (WebCore::HTMLFormElement::prepareForSubmission):
+ (WebCore::HTMLFormElement::submit):
+ * html/HTMLFormElement.h:
</ins><span class="cx">
</span><del>-2013-05-25 Alberto Garcia <agarcia@igalia.com>
</del><ins>+2014-04-01 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Path: clean up addPathForRoundedRect()
- https://bugs.webkit.org/show_bug.cgi?id=116765
</del><ins>+ Remove a couple of useless static strings
+ https://bugs.webkit.org/show_bug.cgi?id=131003
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by David Kilzer.
</ins><span class="cx">
</span><del>- Reorganize code that is a bit redundant.
</del><ins>+ There is zero value in keeping those strings alive.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ * css/StyleProperties.cpp:
+ (WebCore::isInitialOrInherit):
</ins><span class="cx">
</span><del>- * platform/graphics/Path.cpp:
- (WebCore::Path::addPathForRoundedRect):
</del><ins>+2014-04-01 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>-2013-05-25 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ svg/text/text-overflow-ellipsis-svgfont-kerning-ligatures.html and svg/css/font-face-crash.html frequently assert in ComplexTextController::offsetForPosition
+ https://bugs.webkit.org/show_bug.cgi?id=119747
</ins><span class="cx">
</span><del>- Unprefix Page Visibility API
- https://bugs.webkit.org/show_bug.cgi?id=102340
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
-
- Remove prefixes from the document properties, and the visibilitychanged event.
-
- Rename the "preview" state to "unloaded". The "unloaded" state is never
- reached yet (see https://bugs.webkit.org/show_bug.cgi?id=116769).
-
- Add some comments to places where we should update the visibility state
- when going in and out of the page cache, but cannot safely do so yet.
</del><ins>+ Even though kerning and ligatures currently don't work with the
+ simple text path, messing those up is better than creating null
+ CTRun and CTLine objects.
</ins><span class="cx">
</span><del>- Tested by existing Page Visibility tests.
</del><ins>+ Rather than calling the badly-named renderingContext() function on TextRun objects
+ to determine if they are drawn with an SVG font, this patch creates a wrapper function
+ with a better name and uses that instead.
</ins><span class="cx">
</span><ins>+ Test: svg/text/svg-font-hittest.html
+
+ * platform/graphics/Font.cpp:
+ (WebCore::isDrawnWithSVGFont): Wrapper around renderingContext()
+ (WebCore::Font::drawText): Use wrapper function
+ (WebCore::Font::drawEmphasisMarks): Use wrapper function
+ (WebCore::Font::width): Use wrapper function
+ (WebCore::Font::selectionRectForText): Use wrapper function
+ (WebCore::Font::offsetForPosition): If we are using an SVG font, use the simple path
+ instead of the complex one
+ (WebCore::Font::codePath): Use wrapper function
+ * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
+ (WebCore::FontPlatformData::ctFont):
+
+2014-04-01 Daniel Bates <dabates@apple.com>
+
+ RenderQuote must destroy remaining text renderer before first letter renderer
+ https://bugs.webkit.org/show_bug.cgi?id=78023
+ <rdar://problem/10830009>
+
+ Reviewed by Brent Fulgham.
+
+ Merged from Blink (patch by Abhishek Arya):
+ https://src.chromium.org/viewvc/blink?view=rev&revision=151270
+
+ Following the fix for <https://bugs.webkit.org/show_bug.cgi?id=114586>, a
+ RenderQuote may have child render objects for the first letter of its text
+ and everything following the first letter so as to support the CSS first-
+ letter property. The latter renderer is responsible for destroying the former
+ on destruction. It's sufficient to reverse the destruction of the children of
+ RenderQuote to ensure that we destroy the remaining text renderer before we
+ destroy the first letter renderer.
+
+ Test: fast/css-generated-content/quote-first-letter-crash.html
+
+ * rendering/RenderQuote.cpp:
+ (WebCore::RenderQuote::updateText):
+
+2014-04-01 David Kilzer <ddkilzer@apple.com>
+
+ Do not allow HTTP refresh headers to refresh to javascript: URLs
+ <http://webkit.org/b/119051>
+ <rdar://problem/14536453>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Merged from Blink (patch by tsepez@chromium.org):
+ https://src.chromium.org/viewvc/blink?revision=153912&view=revision
+ http://crbug.com/258151
+
+ This behaviour has been standard in IE since IE7. This makes us both
+ more compatible and less vulnerable to XSS.
+
+ Tests: http/tests/security/no-javascript-location-percent-escaped.html
+ http/tests/security/no-javascript-location.html
+ http/tests/security/no-javascript-refresh-percent-escaped.php
+ http/tests/security/no-javascript-refresh-spaces.php
+ http/tests/security/no-javascript-refresh-static-percent-escaped.html
+ http/tests/security/no-javascript-refresh-static-spaces.html
+ http/tests/security/no-javascript-refresh-static.html
+ http/tests/security/no-javascript-refresh.php
+
</ins><span class="cx"> * dom/Document.cpp:
</span><del>- (WebCore::Document::pageVisibilityState):
- (WebCore::Document::visibilityState):
- (WebCore::Document::hidden):
- (WebCore::Document::dispatchVisibilityStateChangeEvent):
- * dom/Document.h:
- * dom/Document.idl:
- * dom/EventNames.h:
- * history/CachedFrame.cpp:
- (WebCore::CachedFrameBase::restore):
</del><ins>+ (WebCore::Document::processHttpEquiv):
</ins><span class="cx"> * loader/FrameLoader.cpp:
</span><del>- (WebCore::FrameLoader::stopLoading):
- * page/Page.cpp:
- (WebCore::Page::setVisibilityState):
- * page/PageVisibilityState.cpp:
- (WebCore::pageVisibilityStateString):
- * page/PageVisibilityState.h:
</del><ins>+ (WebCore::FrameLoader::receivedFirstData):
+ - Do not fire meta http refresh for a javascript: URL protocol.
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+2014-04-01 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>- Move Node::isMouseFocusable() to Element.
- <http://webkit.org/b/116762>
</del><ins>+ Unreviewed build fix. Remove duplicate file entries.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- Node::isMouseFocusable() would just return isFocusable(), which is never true for a non-Element
- since Node::supportsFocus() always returns false. So move it to Element!
</del><ins>+2014-03-31 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * dom/Node.h:
- * dom/Node.cpp:
- * dom/Element.h:
- * dom/Element.cpp:
- (WebCore::Element::isMouseFocusable):
</del><ins>+ Enable WEB_TIMING on Mac and iOS
+ https://bugs.webkit.org/show_bug.cgi?id=128064
</ins><span class="cx">
</span><del>- Moved here from Node.
</del><ins>+ Reviewed by Sam Weinig, Brent Fulgham.
</ins><span class="cx">
</span><del>- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::setFocusedNodeIfNeeded):
- * page/EventHandler.cpp:
- (WebCore::EventHandler::dispatchMouseEvent):
</del><ins>+ Enable WEB_TIMING. Add PerformanceTiming.cpp and JSPerformanceTiming.cpp
+ to the project.
+
+ * Configurations/FeatureDefines.xcconfig:
+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- Walk up the parent chain with parentOrShadowHostElement() instead of parentOrShadowHostNode().
- Removed a misleading no-op hunk about mouse-focusable ShadowRoots, since ShadowRoots are not
- Elements and thus cannot be mouse-focusable.
</del><ins>+2014-04-01 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- * page/TouchAdjustment.cpp:
- (WebCore::TouchAdjustment::nodeRespondsToTapGesture):
</del><ins>+ AX: AccessibilityRenderObject::ariaLiveRegionAtomic() should default to true if
+ roleValue is ApplicationAlertRole || ApplicationStatusRole
+ https://bugs.webkit.org/show_bug.cgi?id=130907
</ins><span class="cx">
</span><del>- Check that the Node is an Element before asking if it's mouse-focusable.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- * html/HTMLAnchorElement.h:
- * html/HTMLAreaElement.h:
- * html/HTMLFormControlElement.h:
- * html/HTMLInputElement.h:
- * html/HTMLMediaElement.h:
- * html/HTMLSelectElement.h:
- * html/HTMLTextAreaElement.h:
- * html/shadow/ClearButtonElement.h:
- * html/shadow/TextControlInnerElements.h:
- * svg/SVGAElement.h:
- * svg/SVGStyledElement.h:
</del><ins>+ Tests: inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion.html:
+ platform/mac/accessibility/aria-liveregions-attributes.html:
</ins><span class="cx">
</span><del>- Sprinkle OVERRIDE.
</del><ins>+ Updated AccessibilityRenderObject::ariaLiveRegionAtomic() to match ARIA spec.
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::ariaLiveRegionAtomic):
</ins><span class="cx">
</span><del>- Move Node::isKeyboardFocusable() to Element.
- <http://webkit.org/b/116761>
</del><ins>+2014-04-01 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><ins>+ Unreviewed. Fixing debug builds after r166586.
+
+ * svg/SVGElement.cpp:
+ (WebCore::SVGElement::addEventListener): Fix the ASSERT.
+ (WebCore::SVGElement::removeEventListener): Ditto.
+
+2014-04-01 Zan Dobersek <zdobersek@igalia.com>
+
+ Prevent unnecessary copies in compareEqual template
+ https://bugs.webkit.org/show_bug.cgi?id=131014
+
</ins><span class="cx"> Reviewed by Antti Koivisto.
</span><span class="cx">
</span><del>- Only Elements can be keyboard-focusable. Move the base isKeyboardFocusable() implementation to Element
- and sprinkle OVERRIDE on subclass overrides.
- FocusController gets some temporary type checks that will go away as that code moves to dealing in
- Elements instead of Node.
</del><ins>+ * rendering/style/RenderStyle.h:
+ (compareEqual): Casting the second parameter to a non-const, non-reference type
+ causes an extra copy of that object. Casting to the const reference type of the
+ first parameter avoids that.
</ins><span class="cx">
</span><del>- * dom/Node.h:
- * dom/Node.cpp:
- * dom/Element.h:
- * dom/Element.cpp:
- (WebCore::Element::isKeyboardFocusable):
</del><ins>+2014-04-01 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Move isKeyboardFocusable() from Node to Element.
</del><ins>+ Avoid unnecessary HashSet copies when calling collectInstancesForSVGElement
+ https://bugs.webkit.org/show_bug.cgi?id=131020
</ins><span class="cx">
</span><del>- * page/FocusController.cpp:
- (WebCore::isNonFocusableShadowHost):
- (WebCore::isFocusableShadowHost):
- (WebCore::shouldVisit):
- (WebCore::FocusController::advanceFocusInDocumentOrder):
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Check that the inspected Node is an Element before querying isKeyboardFocusable().
</del><ins>+ Remove collectInstancesForSVGElement() to avoid HashSet copies when assigning a const
+ HashSet reference to a non-const HashSet reference. Instead, range-based for-loops are
+ deployed to iterate directly over the const reference to HashSet that's returned by
+ SVGElement::instancesForElement(). SVGElement::containingShadowRoot() return value
+ is checked to see if the iteration should be performed in the first place, preserving
+ the behavior of collectInstancesForSVGElement().
</ins><span class="cx">
</span><del>- * html/HTMLAnchorElement.h:
- * html/HTMLAreaElement.h:
- * html/HTMLFormControlElement.h:
- * html/HTMLFrameOwnerElement.h:
- * html/HTMLInputElement.h:
- * html/HTMLPlugInElement.h:
- * html/HTMLSelectElement.h:
- * html/HTMLTextAreaElement.h:
- * svg/SVGAElement.h:
- * svg/SVGStyledElement.h:
</del><ins>+ * svg/SVGElement.cpp:
+ (WebCore::SVGElement::addEventListener):
+ (WebCore::SVGElement::removeEventListener):
+ (WebCore::collectInstancesForSVGElement): Deleted.
</ins><span class="cx">
</span><del>- Sprinkle OVERRIDE.
</del><ins>+2014-04-01 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+ Move the attributes HashMap out of the parseAttributes function
+ https://bugs.webkit.org/show_bug.cgi?id=131019
</ins><span class="cx">
</span><del>- Begin moving "focus" state logic from Node to Element.
- <http://webkit.org/b/116760>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * xml/parser/XMLDocumentParserLibxml2.cpp:
+ (WebCore::parseAttributes): Avoid copying the HashMap object that's being returned by
+ converting it to an xvalue through using std::move() in the return statement.
</ins><span class="cx">
</span><del>- Only Elements can be focused, so merge the "focus" state logic from Node and ContainerNode
- and move it into Element. There's a lot more iceberg under this tip, but we'll be starting
- with setFocus(bool) and focused().
</del><ins>+2014-04-01 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * dom/Node.h:
- * dom/ContainerNode.cpp:
- * dom/ContainerNode.h:
- * dom/Element.cpp:
- (WebCore::Element::isUserActionElementFocused):
- (WebCore::Element::setFocus):
- * dom/Element.h:
- (WebCore::Element::focused):
- * dom/Node.cpp:
</del><ins>+ Subpixel rendering: Transition class Image (and its dependencies) from int to float to enable subpixel positioned/sized images.
+ https://bugs.webkit.org/show_bug.cgi?id=130643
</ins><span class="cx">
</span><del>- Move focused() and setFocus(bool) from Node/ContainerNode to Element.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::setFocusedNode):
</del><ins>+ This is in preparation to support subpixel positioned/sized background images. While 1x bitmap images can't take
+ subpixel sizing on hidpi resolutions, both generated and hidpi images can.
+ This patch does not change Image behavior in general as both position and size are still snapped to integral values.
+
+ No change in behavior.
+
+ * WebCore.exp.in:
+ * css/CSSCrossfadeValue.cpp:
+ (WebCore::CSSCrossfadeValue::fixedSize):
+ * css/CSSFilterImageValue.cpp:
+ (WebCore::CSSFilterImageValue::fixedSize):
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::drawImageIntoBuffer):
+ * loader/cache/CachedImage.cpp:
+ (WebCore::CachedImage::imageSizeForRenderer):
</ins><span class="cx"> * page/EventHandler.cpp:
</span><del>- (WebCore::EventHandler::dispatchMouseEvent):
</del><ins>+ (WebCore::EventHandler::selectCursor):
+ * platform/Cursor.cpp:
+ (WebCore::determineHotSpot):
+ * platform/graphics/BitmapImage.cpp:
+ (WebCore::BitmapImage::size):
+ (WebCore::BitmapImage::currentFrameSize):
+ * platform/graphics/BitmapImage.h:
+ * platform/graphics/CrossfadeGeneratedImage.cpp:
+ (WebCore::CrossfadeGeneratedImage::CrossfadeGeneratedImage):
+ (WebCore::drawCrossfadeSubimage):
+ (WebCore::CrossfadeGeneratedImage::drawCrossfade):
+ * platform/graphics/CrossfadeGeneratedImage.h:
+ * platform/graphics/GeneratedImage.h:
+ * platform/graphics/Gradient.cpp:
+ (WebCore::Gradient::adjustParametersForTiledDrawing):
+ * platform/graphics/Gradient.h:
+ * platform/graphics/GradientImage.cpp:
+ (WebCore::GradientImage::drawPattern):
+ * platform/graphics/GradientImage.h:
+ * platform/graphics/GraphicsContext.cpp:
+ (WebCore::GraphicsContext::createCompatibleBuffer):
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/Image.cpp:
+ (WebCore::Image::adjustSourceRectForDownSampling):
+ * platform/graphics/Image.h:
+ (WebCore::Image::setContainerSize):
+ (WebCore::Image::rect):
+ (WebCore::Image::width):
+ (WebCore::Image::height):
+ * platform/graphics/ImageBuffer.cpp:
+ (WebCore::ImageBuffer::createCompatibleBuffer):
+ * platform/graphics/ImageBuffer.h:
+ (WebCore::ImageBuffer::create):
+ * platform/graphics/IntPoint.cpp:
+ (WebCore::IntPoint::IntPoint):
+ * platform/graphics/IntPoint.h:
+ * platform/graphics/IntSize.cpp:
+ (WebCore::IntSize::IntSize):
+ * platform/graphics/IntSize.h:
+ * platform/graphics/cairo/ImageBufferCairo.cpp:
+ (WebCore::ImageBuffer::ImageBuffer):
+ * platform/graphics/cairo/ImageCairo.cpp:
+ (WebCore::Image::drawPattern):
+ * platform/graphics/cg/ImageBufferCG.cpp:
+ (WebCore::ImageBuffer::ImageBuffer):
+ * platform/graphics/cg/ImageBufferDataCG.cpp:
+ * platform/graphics/cg/PDFDocumentImage.cpp:
+ (WebCore::PDFDocumentImage::size):
+ (WebCore::PDFDocumentImage::updateCachedImageIfNeeded):
+ (WebCore::applyRotationForPainting):
+ * platform/graphics/cg/PDFDocumentImage.h:
+ * platform/graphics/cg/PatternCG.cpp:
+ (WebCore::Pattern::createPlatformPattern):
+ * platform/graphics/mac/GraphicsContextMac.mm:
+ * platform/graphics/mac/IconMac.mm:
+ * platform/graphics/texmap/TextureMapperTiledBackingStore.cpp:
+ (WebCore::TextureMapperTiledBackingStore::updateContentsFromImageIfNeeded):
+ * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:
+ (WebCore::CoordinatedImageBacking::update):
+ * platform/graphics/win/ImageCGWin.cpp:
+ (WebCore::BitmapImage::getHBITMAPOfSize):
+ (WebCore::BitmapImage::drawFrameMatchingSourceSize):
+ * platform/graphics/win/ImageCairoWin.cpp:
+ (WebCore::BitmapImage::getHBITMAPOfSize):
+ (WebCore::BitmapImage::drawFrameMatchingSourceSize):
+ * platform/mac/DragImageMac.mm:
+ (WebCore::createDragImageFromImage):
+ * platform/win/DragImageCGWin.cpp:
+ (WebCore::createDragImageFromImage):
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::Pasteboard::writeImage):
+ * rendering/RenderImage.cpp:
+ (WebCore::RenderImage::imageSizeForError):
+ (WebCore::RenderImage::paintReplaced):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::drawPlatformResizerImage):
+ * svg/graphics/SVGImage.cpp:
+ (WebCore::SVGImage::setContainerSize):
+ * svg/graphics/SVGImage.h:
+ * svg/graphics/SVGImageCache.cpp:
+ (WebCore::SVGImageCache::imageSizeForRenderer):
+ * svg/graphics/SVGImageCache.h:
+ * svg/graphics/SVGImageForContainer.cpp:
+ (WebCore::SVGImageForContainer::size):
+ * svg/graphics/SVGImageForContainer.h:
+ * svg/graphics/filters/SVGFEImage.cpp:
+ (WebCore::FEImage::externalRepresentation):
+ * testing/Internals.cpp:
+ (WebCore::Internals::getCurrentCursorInfo):
</ins><span class="cx">
</span><del>- Check if the inspected Node is an Element before asking if it's focused.
</del><ins>+2014-04-01 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-25 Noam Rosenthal <noam.rosenthal@nokia.com>
</del><ins>+ Unreviewed build fix when disabled ACCESSIBILITY
</ins><span class="cx">
</span><del>- Direct pattern compositing breaks when no-repeat is set on a large layer
- https://bugs.webkit.org/show_bug.cgi?id=116140
</del><ins>+ * accessibility/atk/WebKitAccessibleInterfaceTableCell.cpp:
+ Separated macros not to check ATK version when disabled ACCESSIBILITY
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+2014-04-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- In some cases the directly composited background color logic overrides the layer's
- contentsRect, which results in wrong rendering of tiled images.
- This patch makes sure that the background image is applied after the solid color,
- which ensures the correct contentsRect.
</del><ins>+ [CMake][EFL] Enable CSS JIT
+ https://bugs.webkit.org/show_bug.cgi?id=131010
</ins><span class="cx">
</span><del>- Test: compositing/patterns/direct-pattern-compositing-contain-no-repeat.html
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateDirectlyCompositedContents):
</del><ins>+ Add an inclusion path for enabling CSS JIT on EFL and GTK ports.
+ This patch only enables it for EFL port.
</ins><span class="cx">
</span><del>-2013-05-24 Andreas Kling <akling@apple.com>
</del><ins>+ * CMakeLists.txt:
</ins><span class="cx">
</span><del>- Move "hover" state logic from Node to Element.
- <http://webkit.org/b/116757>
</del><ins>+2014-04-01 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ [GTK] Readonly attributes installed as readwrite in GObject DOM bindings
+ https://bugs.webkit.org/show_bug.cgi?id=130978
</ins><span class="cx">
</span><del>- Resolve a 7 year old FIXME by merging the "hover" state logic from Node and ContainerNode
- and moving it all to Element instead.
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>- * dom/Node.cpp:
- (WebCore::Node::detach):
- * dom/Element.cpp:
- (WebCore::Element::detach):
</del><ins>+ Unify how we decide if an attribute is readable or writeable and improve the code.
+ This results in some attributes now being marked as read-only which didn't have
+ corresponding case statements in the set_property switch statements and also correctly
+ installs set_property support for some more POD types.
</ins><span class="cx">
</span><del>- Move Document::hoveredNodeDetached() call from Node::detach() to Element::detach().
</del><ins>+ * bindings/scripts/CodeGeneratorGObject.pm:
+ (IsPropertyReadable): Added this helper to simplify deciding if an attribute is readable.
+ (IsPropertyWriteable): Added this helper to simplify deciding if an attribute is writeable. Also
+ update the list of types to reflect the full list of types we can generate setters for.
+ (GenerateProperty): Use the IsPropertyWriteable helper instead of checking whether the attribute is read-only.
+ Also fix generation of the blurb by using $mutableString instead of $mutableStringconst which isn't used.
+ (GenerateProperties): Use grep and the new helpers to simplify the code.
+ (GetReadableProperties): Deleted.
+ (GetWriteableProperties): Deleted.
+ * bindings/scripts/test/GObject: Update results
</ins><span class="cx">
</span><del>- (WebCore::Element::isUserActionElementHovered):
- (WebCore::Element::setHovered):
- * dom/Element.h:
- (WebCore::Element::hovered):
</del><ins>+2014-03-31 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- Moved here from Node/ContainerNode.
</del><ins>+ [EFL][WK2] Extract the control of page background out of color_set
+ https://bugs.webkit.org/show_bug.cgi?id=127539
</ins><span class="cx">
</span><del>- * dom/UserActionElementSet.h:
- (WebCore::UserActionElementSet::setHovered):
- (WebCore::UserActionElementSet::setFlags):
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- Make setHovered() take an Element* instead of a Node*. I'd like to do this will all
- of these methods eventually, so added a setFlags() helper with the tighter type.
</del><ins>+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
+ Added m_viewBackgroundColor to clear when m_setDrawsBackground is false.
+ (WebCore::CoordinatedGraphicsScene::CoordinatedGraphicsScene):
+ (WebCore::CoordinatedGraphicsScene::paintToCurrentGLContext):
+ (WebCore::CoordinatedGraphicsScene::paintToGraphicsContext):
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h:
+ (WebCore::CoordinatedGraphicsScene::setViewBackgroundColor):
+ (WebCore::CoordinatedGraphicsScene::viewBackgroundColor):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer):
+ Added EFL guard not to set opaque as a default for MainFrameRenderViewLayer.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::ensureRootLayer):
+ Added EFL guard to apply page scale on RenderView like IOS.
</ins><span class="cx">
</span><del>- * html/HTMLLabelElement.h:
- * html/shadow/SpinButtonElement.h:
</del><ins>+2014-03-31 Byungseon Shin <sun.shin@lge.com>
</ins><span class="cx">
</span><del>- Sprinkle OVERRIDE on setHovered() overrides.
</del><ins>+ [WebGL][OpenGLES] Enable MSAA support for WebGL Canvas
+ https://bugs.webkit.org/show_bug.cgi?id=130955
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::updateHoverActiveState):
- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::isHovered):
- * rendering/RenderTheme.cpp:
- (WebCore::RenderTheme::isHovered):
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Check if the inspected Node is an element before asking if it's hovered.
</del><ins>+ To avoid aliasing issues when we render content to WebGL canvas,
+ we need to implement MSAA support.
+ - Imagination OpenGLES GPU Driver already support MSAA, so we
+ need a separate code path to enable it.
</ins><span class="cx">
</span><del>-2013-05-25 Andreas Kling <akling@apple.com>
</del><ins>+ * platform/graphics/Extensions3D.h:
+ * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
+ (WebCore::Extensions3DOpenGLCommon::Extensions3DOpenGLCommon):
+ * platform/graphics/opengl/Extensions3DOpenGLCommon.h:
+ (WebCore::Extensions3DOpenGLCommon::isImagination):
+ * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:
+ (WebCore::GraphicsContext3D::reshapeFBOs):
</ins><span class="cx">
</span><del>- Document::formController() should return a reference.
- <http://webkit.org/b/116758>
</del><ins>+2014-03-31 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Crashes in PageConsole::addMessage
+ https://bugs.webkit.org/show_bug.cgi?id=130991
+ <rdar://problem/14795232>
</ins><span class="cx">
</span><del>- The formController() is created on demand, so return a reference instead.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- * dom/Document.h:
- * dom/Document.cpp:
- (WebCore::Document::formController):
- (WebCore::Document::setStateForNewFormElements):
- * html/HTMLFormControlElementWithState.cpp:
- (WebCore::HTMLFormControlElementWithState::HTMLFormControlElementWithState):
- (WebCore::HTMLFormControlElementWithState::~HTMLFormControlElementWithState):
- (WebCore::HTMLFormControlElementWithState::didMoveToNewDocument):
- (WebCore::HTMLFormControlElementWithState::finishParsingChildren):
- * html/HTMLFormElement.cpp:
- (WebCore::HTMLFormElement::~HTMLFormElement):
- (WebCore::HTMLFormElement::finishParsingChildren):
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::~HTMLInputElement):
- (WebCore::HTMLInputElement::didMoveToNewDocument):
- (WebCore::HTMLInputElement::checkedRadioButtons):
</del><ins>+ Test: http/tests/misc/detached-frame-console.html
</ins><span class="cx">
</span><del>-2013-05-25 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+ * page/DOMWindow.cpp: (WebCore::DOMWindow::printErrorMessage): Added a null check.
+ It's legitimate for this to be called for a window that is not currently displayed
+ in a frame.
</ins><span class="cx">
</span><del>- Reducing CSS code duplication in declaration list error recovery
- https://bugs.webkit.org/show_bug.cgi?id=115157
</del><ins>+2014-03-31 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><ins>+ [UI-side compositing] Proxy animations to the UI process
+ https://bugs.webkit.org/show_bug.cgi?id=130946
+
+ Reviewed by Tim Horton.
+
+ To proxy CA animations, make PlatformCAAnimation a pure virtual base class
+ and subclass for Mac, Windows, and Remote (just like PlatformCALayer).
+
+ Add coding support for TimingFunctions.
+
+ Do some minor #include tidyup.
+
+ Minor refactor in GraphicsLayerCA to share some animations code.
+
+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/animation/TimingFunction.h: Add setters need for encode/decode.
+ (WebCore::CubicBezierTimingFunction::setValues):
+ (WebCore::CubicBezierTimingFunction::setTimingFunctionPreset):
+ (WebCore::StepsTimingFunction::create):
+ (WebCore::StepsTimingFunction::setNumberOfSteps):
+ (WebCore::StepsTimingFunction::setStepAtStart):
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::createPlatformCAAnimation):
+ (WebCore::GraphicsLayerCA::animationCanBeAccelerated): Minor refactor so we can share
+ code with GraphicsLayerCARemote.
+ (WebCore::GraphicsLayerCA::addAnimation):
+ (WebCore::GraphicsLayerCA::createBasicAnimation):
+ (WebCore::PassRefPtr<PlatformCAAnimation>GraphicsLayerCA::createKeyframeAnimation):
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * platform/graphics/ca/PlatformCAAnimation.h:
+ (WebCore::PlatformCAAnimation::~PlatformCAAnimation):
+ (WebCore::PlatformCAAnimation::isPlatformCAAnimationMac):
+ (WebCore::PlatformCAAnimation::isPlatformCAAnimationWin):
+ (WebCore::PlatformCAAnimation::isPlatformCAAnimationRemote):
+ (WebCore::PlatformCAAnimation::PlatformCAAnimation):
+ (WebCore::PlatformCAAnimation::setType):
+ * platform/graphics/ca/PlatformCALayer.h:
+ * platform/graphics/ca/mac/PlatformCAAnimationMac.h: Added.
+ * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
+ * platform/graphics/ca/mac/PlatformCALayerMac.mm:
+ (PlatformCALayerMac::addAnimationForKey):
+ (PlatformCALayerMac::animationForKey):
+ * platform/graphics/ca/mac/TileController.mm:
+ * platform/graphics/ca/win/PlatformCAAnimationWin.cpp:
+ * platform/graphics/ca/win/PlatformCAAnimationWin.h: Added.
+
+2014-03-31 Benjamin Poulain <benjamin@webkit.org>
+
+ CSS JIT: compile the first-child pseudo class
+ https://bugs.webkit.org/show_bug.cgi?id=130954
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- From Blink r148974 by <serya@chromium.org>
</del><ins>+ * css/ElementRuleCollector.cpp:
+ (WebCore::ElementRuleCollector::collectMatchingRules):
+ The compiler use the context's style directly when resolving style. An error introduced
+ in the rule collector would cause a crash in the compiled code which would be hard to debug.
+ Add an assertion early in the stack to catch errors where it is easier to debug them.
</ins><span class="cx">
</span><del>- Refactor "invalid_block_list error | /* empty */" in a new
- decl_list_recovery rule that allows to remove 4 redundant rules.
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::State::initForStyleResolve):
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::addPseudoType):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::SelectorCodeGenerator):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateWalkToPreviousAdjacentElement):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateWalkToPreviousAdjacent):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateDirectAdjacentTreeWalker):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateIndirectAdjacentTreeWalker):
+ Refactor those to be able to reuse the code getting a sibling element preceding the current element.
</ins><span class="cx">
</span><del>- No new test required as we're just refactoring code, no new behaviour.
</del><ins>+ (WebCore::SelectorCompiler::SelectorCodeGenerator::jumpIfNotResolvingStyle):
+ Extract the code checking the current mode from SelectorCodeGenerator::markParentElementIfResolvingStyle()
+ in a separate function. This will be useful for all the pseudo class with marking.
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+ (WebCore::SelectorCompiler::SelectorCodeGenerator::markParentElementIfResolvingStyle):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatching):
+ (WebCore::SelectorCompiler::setFirstChildState):
+ This is the slow path for when the first-child pseudo class is on a fragment that is not
+ the rightmost.
+ The reason to use a slow path is accessing renderStyle() is not trivial and this case isn't not
+ as common. We should improve this later.
</ins><span class="cx">
</span><del>-2013-05-24 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsFirstChild):
+ This is just implementing the test for first-child plus the tree marking. Nothing fancy,
+ this is basically the same thing as SelectorChecker.
</ins><span class="cx">
</span><del>- Build fix after r150664.
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::setChildrenAffectedByFirstChildRules):
+ * dom/Element.h:
+ C++ fallback to set the flag, to be improved later with the other flags.
</ins><span class="cx">
</span><del>- * bindings/scripts/test/JS/JSTestObj.cpp:
- (WebCore):
</del><ins>+ * rendering/style/RenderStyle.h:
+ I accidentaly put noninheritedFlagsMemoryOffset() as private in the RenderStyle refactoring.
</ins><span class="cx">
</span><del>-2013-05-24 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+ Also update the flags accessor to make them easier to work with from the compiler. In particular,
+ setFirstChildStateFlags() sets both isUnique and firstChild. Currently the JIT does not need to access
+ the value so individual flags are made private.
</ins><span class="cx">
</span><del>- Fixing invalid block recovery in some declaration list.
- https://bugs.webkit.org/show_bug.cgi?id=115159
</del><ins>+2014-03-31 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><ins>+ Remove WEB_ANIMATIONS
+ https://bugs.webkit.org/show_bug.cgi?id=130989
+
+ Reviewed by Simon Fraser.
+
+ Remove this feature flag until we plan to implement.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2014-03-31 Simon Fraser <simon.fraser@apple.com>
+
+ Fix iOS build.
+
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeScrollingNodeIOS::updateLayersAfterDelegatedScroll):
+
+2014-03-31 Pratik Solanki <psolanki@apple.com>
+
+ Unreviewed. iOS build fix after r166532. Add missing comma.
+
+ * dom/DocumentMarker.h:
+
+2014-03-31 Brady Eidson <beidson@apple.com>
+
+ Add variant of phone number parsing that use DocumentMarker in the current selection
+ <rdar://problem/16379566> and https://bugs.webkit.org/show_bug.cgi?id=130917
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- From Blink r148889 by <serya@chromium.org>
</del><ins>+ * dom/DocumentMarker.h:
+ (WebCore::DocumentMarker::AllMarkers::AllMarkers): Add a new TelephoneNumber document marker type.
</ins><span class="cx">
</span><del>- Improves the detection of some invalid block declarations inside a
- declaration list. This allows the parser not to completely discard
- a whole declaration list that contains an invalid block. In
- particular grammar failed in tests 8, 12, 13, 15, 16 and 17 in the
- new test added by this change.
</del><ins>+ * editing/Editor.cpp:
+ (WebCore::Editor::respondToChangedSelection):
+ (WebCore::Editor::scanSelectionForTelephoneNumbers): TextIterate over the selected range looking for numbers.
+ (WebCore::Editor::scanRangeForTelephoneNumbers): Scan the given range for a telephone number,
+ adding the DocumentMarker to any that are found.
+ (WebCore::Editor::clearDataDetectedTelephoneNumbers):
+ * editing/Editor.h:
</ins><span class="cx">
</span><del>- Test: fast/css/parsing-invalid-block-recovery.html
</del><ins>+ * html/parser/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::processCharacterBufferForInBody): Only linkify on iOS.
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::paintTelephoneNumberMarker): Placeholder UI while the feature is developed.
+ (WebCore::InlineTextBox::paintDocumentMarkers):
+ * rendering/InlineTextBox.h:
</ins><span class="cx">
</span><ins>+ * testing/Internals.cpp:
+ (WebCore::markerTypesFrom):
</ins><span class="cx">
</span><del>-2013-05-24 Beth Dakin <bdakin@apple.com>
</del><ins>+2014-03-31 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- DidFirstFlushForHeaderLayer can be called too soon on pages that redirect
- https://bugs.webkit.org/show_bug.cgi?id=116749
- -and corresponding-
- <rdar://problem/13886753>
</del><ins>+ [iOS WK2] Hook up scroll events for accelerated overflow:scroll
+ https://bugs.webkit.org/show_bug.cgi?id=130976
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Only start m_paintRelatedMilestonesTimer if we have actually painted.
</del><ins>+ When an accelerated overflow:scroll is scrolled in the UI process,
+ tell the WebProcess that the scroll happened to update RenderLayer
+ state and fire events.
+
+ In the WebProcess, RemoteScrollingCoordinator gets a message from the
+ UI process and calls AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll().
+ Fixed that function to handle scrolling nodes other than the root, which
+ required storing a map of ScrollingNodeID->RenderLayer* on RenderLayerCompositor,
+ accessible through FrameView::scrollableAreaForScrollLayerID().
+
+ * WebCore.exp.in:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::scrollableAreaForScrollLayerID):
+ * page/FrameView.h:
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll): Handle
+ overflow as well as main frame scrolling nodes.
+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::viewportChangedViaDelegatedScrolling): Use isScrollingNode().
+ (WebCore::ScrollingTree::scrollPositionChangedViaDelegatedScrolling): When an overflow
+ scroll node was scrolled externally, we have to update layers in decendant nodes,
+ and then call scrollingTreeNodeDidScroll() which tells the ScrollingCoordinator that
+ we scrolled.
+ * page/scrolling/ScrollingTree.h: Try to reduce confusion between the roles played
+ by these various functions, some of which happen in the UI process with UI-side
+ compositing.
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h: Need some functions to be
+ callable by subclasses.
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeScrollingNodeIOS::updateLayersAfterDelegatedScroll):
</ins><span class="cx"> * rendering/RenderLayerCompositor.cpp:
</span><del>- (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
</del><ins>+ (WebCore::RenderLayerCompositor::updateScrollCoordinatedLayer): Add
+ scrolling layers to the m_scrollingNodeToLayerMap
+ (WebCore::RenderLayerCompositor::detachScrollCoordinatedLayer): Remove
+ layer from the m_scrollingNodeToLayerMap.
+ (WebCore::RenderLayerCompositor::scrollableAreaForScrollLayerID):
+ * rendering/RenderLayerCompositor.h:
</ins><span class="cx">
</span><del>-2013-05-24 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-31 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- Fix Windows build.
</del><ins>+ Rename TileCache to LegacyTileCache
+ https://bugs.webkit.org/show_bug.cgi?id=130986
</ins><span class="cx">
</span><del>- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-24 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Rename iOS WebKit1 tile cache classes to reflect its status.
+ This also frees some good type names.
</ins><span class="cx">
</span><del>- Animated GIFs don't repaint after TiledCoreAnimationDrawingArea un-suspends painting
- https://bugs.webkit.org/show_bug.cgi?id=116744
- <rdar://problem/13973514>
</del><ins>+ TileCache -> LegacyTileCache
+ TileGrid -> LegacyTileGrid
+ TileGridTile -> LegacyTileGridTile
+ etc.
</ins><span class="cx">
</span><ins>+2014-03-31 Tim Horton <timothy_horton@apple.com>
+
+ Small adjustments to WebCore::IOSurface
+ https://bugs.webkit.org/show_bug.cgi?id=130981
+
</ins><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- * WebCore.exp.in: Export FrameView::resumeAnimatingImages.
- * page/FrameView.cpp:
- (WebCore::FrameView::setIsInWindow):
- (WebCore::FrameView::resumeAnimatingImages):
- Factor the code to restart animated images out of frameView::setIsInWindow.
</del><ins>+ * WebCore.exp.in:
+ Export some more things.
</ins><span class="cx">
</span><del>- * page/FrameView.h:
- (FrameView):
</del><ins>+ * platform/graphics/cocoa/IOSurface.h:
+ createImage() can't be const because it calls ensurePlatformContext().
</ins><span class="cx">
</span><del>-2013-05-24 Anders Carlsson <andersca@apple.com>
</del><ins>+ * platform/graphics/cocoa/IOSurface.mm:
+ (IOSurface::createImage):
+ We should be able to create an image even if the CGContext has been cleared (or never created).
</ins><span class="cx">
</span><del>- Move history property list writer to WebKit
- https://bugs.webkit.org/show_bug.cgi?id=116746
</del><ins>+ (IOSurface::isInUse):
+ Rename inUse() to isInUse().
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ (IOSurface::clearGraphicsContext):
+ Add clearGraphicsContext().
</ins><span class="cx">
</span><del>- Remove files from the Xcode project and remove symbols that now live in WebKit.
</del><ins>+2014-03-31 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><ins>+ Allocate IOSurfaces with the same cache mode that CoreAnimation uses
+ https://bugs.webkit.org/show_bug.cgi?id=130982
+
+ Reviewed by Simon Fraser.
+
+ * platform/graphics/cocoa/IOSurface.mm:
+ (IOSurface::IOSurface):
+ CA uses kIOMapWriteCombineCache for IOSurfaces allocated on iOS.
+
+2014-03-31 Ion Rosca <rosca@adobe.com>
+
+ [CSS Blending] Blend mode property is propagated to multiple GraphicLayers
+ https://bugs.webkit.org/show_bug.cgi?id=130337
+
+ Reviewed by Dean Jackson.
+
+ Resets the blend mode for graphicsLayer when it has an ancestorClippingLayer.
+
+ Test: css3/compositing/blend-mode-ancestor-clipping-layer.html
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::updateBlendMode):
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateBlendMode):
+ * rendering/RenderLayerBacking.h:
+
+2014-03-31 Ion Rosca <rosca@adobe.com>
+
+ [CSS Blending] showLayerTree should dump layer's blend mode and isolation properties
+ https://bugs.webkit.org/show_bug.cgi?id=130922
+
+ Reviewed by Simon Fraser.
+
+ This change only updates existing tests involving blending. No new test required,
+ as there is no new or changed functionality.
+
+ * rendering/RenderLayer.h: adding blendMode() getter.
+ * rendering/RenderTreeAsText.cpp:
+ (WebCore::write):
+ adding blendMode property and layer's isolation status (does layer isolate blending descendants or not?).
+
+2014-03-31 Benjamin Poulain <benjamin@webkit.org>
+
+ CSS JIT: clean up the functions ending when generating a checker with context
+ https://bugs.webkit.org/show_bug.cgi?id=130959
+
+ Reviewed by Andreas Kling.
+
+ This code got refactored over time and now both branches do the exact same action
+ on the stack.
+ This patch removes the stack split and move the stack cleanup in the common ending
+ just before restoring the callee saved registers.
+
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateSelectorChecker):
+
+2014-03-31 Beth Dakin <bdakin@apple.com>
+
+ ThemeMac should use std::array instead of IntSize* for control sizes
+ https://bugs.webkit.org/show_bug.cgi?id=130985
+
+ Reviewed by Darin Adler.
+
+ Replace uses of const IntSize* with const std::array<IntSize, 3>
+ * platform/mac/ThemeMac.mm:
+ (WebCore::sizeFromNSControlSize):
+ (WebCore::sizeFromFont):
+ (WebCore::controlSizeFromPixelSize):
+ (WebCore::setControlSize):
+ (WebCore::checkboxSizes):
+ (WebCore::radioSizes):
+ (WebCore::buttonSizes):
+ (WebCore::setUpButtonCell):
+ (WebCore::stepperSizes):
+
+2014-03-31 Hans Muller <hmuller@adobe.com>
+
+ [CSS Shapes] Simplify RasterShape implementation
+ https://bugs.webkit.org/show_bug.cgi?id=130916
+
+ Reviewed by Dean Jackson.
+
+ Since only floats can specify shape-outside, the RasterShapeIntervals
+ class only needs to track the first and last above threshold pixel column
+ (x1 and x2 in the implementation) for each row. Removed code for dealing with
+ multiple "runs" per row as well as shape-inside internals.
+
+ No new tests, since functionality was only removed.
+
+ * rendering/shapes/RasterShape.cpp:
+ (WebCore::RasterShapeIntervals::computeShapeMarginIntervals):
+ (WebCore::RasterShapeIntervals::initializeBounds):
+ (WebCore::RasterShapeIntervals::buildBoundsPath):
+ (WebCore::RasterShape::getExcludedIntervals):
+ * rendering/shapes/RasterShape.h:
+ (WebCore::RasterShapeIntervals::RasterShapeIntervals):
+ (WebCore::RasterShapeIntervals::intervalAt):
+ (WebCore::RasterShape::RasterShape):
+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createRasterShape):
+ * rendering/shapes/ShapeInterval.h:
+ (WebCore::ShapeInterval::unite):
+
+2014-03-31 Andreas Kling <akling@apple.com>
+
+ Always inline toJS() for NodeList.
+ <https://webkit.org/b/130974>
+
+ This is a pretty cheesy optimization, but it's a 3% progression on
+ Dromaeo/dom-query.html on my MBP.
+
+ Reviewed by Benjamin Poulain.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><ins>+ * bindings/js/JSNodeListCustom.h: Added.
+ (WebCore::toJS):
+ * dom/NodeList.idl:
</ins><span class="cx">
</span><del>-2013-05-24 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-03-31 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Global constructors exposed in worker environment have wrong attributes
- https://bugs.webkit.org/show_bug.cgi?id=116708
</del><ins>+ Attempt to fix the 32bits debug builds
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ The additional debug flags in RefCounted cause the structure to have different alignment
+ with the 64bits flags.
</ins><span class="cx">
</span><del>- Fix JSC bindings generator so that Global constructors exposed in worker environment
- have the following attributes:
- { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }
</del><ins>+ * rendering/style/RenderStyle.cpp:
</ins><span class="cx">
</span><del>- This is now consistent with global constructors on DOMWindow and with the Web IDL
- specification:
- http://dev.w3.org/2006/webapi/WebIDL/#es-interfaces
</del><ins>+2014-03-29 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Test: fast/js/global-constructors-attributes-worker.html
</del><ins>+ Clarify some scrolling tree terminology
+ https://bugs.webkit.org/show_bug.cgi?id=130929
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateAttributesHashTable):
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>-2013-05-24 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Attempt to reduce some ambiguity in scrolling tree terminology.
+ When async scrolling occurs, there are two tasks we have to perform:
+ 1. Layers need to be updated to reflect the scroll
+ 2. WebCore state has to be updated.
+ The "updateForViewport" name didn't clearly reflect which of these
+ tasks was being performed, so rename it to updateLayersAfterViewportChange()
+ to reflect the fact that it only does the first.
+
+ Remove the Mac implementation of updateLayersAfterViewportChange(), since
+ it was confsued about this, and was never called anyway.
</ins><span class="cx">
</span><del>- Remove custom code for webkitAudioContext global constructor getter
- https://bugs.webkit.org/show_bug.cgi?id=116530
</del><ins>+ * WebCore.exp.in:
+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::viewportChangedViaDelegatedScrolling):
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h:
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeScrollingNodeIOS::updateLayersAfterViewportChange):
+ (WebCore::ScrollingTreeScrollingNodeIOS::updateForViewport): Deleted.
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::updateLayersAfterViewportChange):
+ (WebCore::ScrollingTreeScrollingNodeMac::updateForViewport): Deleted.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+2014-03-31 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- Get rid of custom code for webkitAudioContext global constructor getter. The
- global DOMWindow attribute is now automatically generated by leveraging support
- for [EnabledAtRuntime] extended attribute and the existing methods in
- RuntimeEnabledFeatures class.
</del><ins>+ [iOS WebKit2] Disable tile cohort retention for now
+ https://bugs.webkit.org/show_bug.cgi?id=130926
+ <rdar://problem/16465413>
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * GNUmakefile.list.am: Remove JSDOMWindowWebAudioCustom.*.
- * Modules/webaudio/AudioContext.idl:
- Remove [NoInterfaceObject] extended attribute so that the global constructor is
- automatically generated instead of automatically added. Add [EnabledAtRuntime]
- extended attribute since this global constructor can be disabled at runtime and
- so that we can getter rid of the [CustomGetter] for the corresponding global
- constructor. Use [InterfaceName] extended attribute so that the interface name
- matches the global constructor on DOMWindow (webkitAudioContext).
</del><ins>+ * WebCore.exp.in:
+ * page/Settings.cpp:
+ (WebCore::Settings::Settings):
+ (WebCore::Settings::setScrollingPerformanceLoggingEnabled):
+ (WebCore::Settings::setAggressiveTileRetentionEnabled): Deleted.
+ * page/Settings.h:
+ (WebCore::Settings::aggressiveTileRetentionEnabled): Deleted.
+ * page/Settings.in:
+ Use Settings.in for these simple settings.
</ins><span class="cx">
</span><del>- * Target.pri: Remove JSDOMWindowWebAudioCustom.*.
- * UseJSC.cmake: Remove JSDOMWindowWebAudioCustom.*.
- * WebCore.exp.in: Export additional symbol.
- * WebCore.order: Export additional symbol.
- * WebCore.vcproj/WebCore.vcproj: Remove JSDOMWindowWebAudioCustom.*.
- * WebCore.vcxproj/WebCore.vcxproj: Remove JSDOMWindowWebAudioCustom.*.
- * WebCore.vcxproj/WebCore.vcxproj.filters: Remove JSDOMWindowWebAudioCustom.*.
- * WebCore.xcodeproj/project.pbxproj: Remove JSDOMWindowWebAudioCustom.*.
- * bindings/generic/RuntimeEnabledFeatures.h:
- (WebCore::RuntimeEnabledFeatures::setWebAudioEnabled):
- * bindings/js/JSBindingsAllInOne.cpp: Remove JSDOMWindowWebAudioCustom.*.
- * bindings/js/JSDOMWindowWebAudioCustom.cpp: Removed. We no longer need any custom code for
- the WebAudio global constructor getter because we use [EnabledAtRuntime] support in the
- bindings generator now.
- * page/DOMWindow.idl: Remove global constructor for AudioContext as it is now automatically
- generated.
- * page/Settings.in: Remove webAudioEnabled setting as we use the existing setting
- in RuntimeEnabledFeatures now.
</del><ins>+ * platform/graphics/GraphicsLayerClient.h:
+ (WebCore::GraphicsLayerClient::shouldAggressivelyRetainTiles):
+ (WebCore::GraphicsLayerClient::shouldTemporarilyRetainTileCohorts):
+ * platform/graphics/TiledBacking.h:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::platformCALayerShouldAggressivelyRetainTiles):
+ (WebCore::GraphicsLayerCA::platformCALayerShouldTemporarilyRetainTileCohorts):
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * platform/graphics/ca/PlatformCALayerClient.h:
+ (WebCore::PlatformCALayerClient::platformCALayerShouldAggressivelyRetainTiles):
+ (WebCore::PlatformCALayerClient::platformCALayerShouldTemporarilyRetainTileCohorts):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::shouldAggressivelyRetainTiles):
+ (WebCore::RenderLayerBacking::shouldTemporarilyRetainTileCohorts):
+ * rendering/RenderLayerBacking.h:
+ Plumb the two tile-retention settings through to TileController in a pull manner
+ instead of a push manner, as there were some cases (especially on iOS) where
+ the settings weren't always getting pushed down.
</ins><span class="cx">
</span><del>-2013-05-24 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ * platform/graphics/ca/mac/TileController.h:
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::TileController):
+ (WebCore::TileController::tileRevalidationTimerFired):
+ (WebCore::TileController::revalidateTiles):
+ (WebCore::TileController::drawTileMapContents):
+ Aggressive tile retention wins over temporary retention. If we aren't
+ using temporary (cohort) retention, throw away the cohort as soon as it
+ is created.
</ins><span class="cx">
</span><del>- [AC] Needs to be guarded by USE(ACCELERATED_COMPOSITING)
- https://bugs.webkit.org/show_bug.cgi?id=116712
</del><ins>+2014-03-31 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Radio buttons and checkboxes should share code
+ https://bugs.webkit.org/show_bug.cgi?id=130915
</ins><span class="cx">
</span><del>- renderView is used when ACCELERATED_COMPOSITING is enabled.
- So, this patch allows it to be guarded by USE(ACCELERATED_COMPOSITING).
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Radio buttons and checkboxes now share a lot of code. The common term for both is
+ toggle buttons.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::setFrameRect):
</del><ins>+ Move these radio-sizing functions up in the file to be next to the checkbox sizing
+ functions.
+ * platform/mac/ThemeMac.mm:
+ (WebCore::radioSizes):
+ (WebCore::radioMargins):
+ (WebCore::radioSize):
</ins><span class="cx">
</span><del>-2013-05-24 Thomas Deniau <deniau@apple.com>
</del><ins>+ Configures a radio button or a checkbox.
+ (WebCore::configureToggleButton):
</ins><span class="cx">
</span><del>- Add more lines to the context during Dictionary lookups
- https://bugs.webkit.org/show_bug.cgi?id=115256
</del><ins>+ Creates a radio button or a checkbox.
+ (WebCore::createToggleButtonCell):
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Still have a shared cell for each.
+ (WebCore::sharedRadioCell):
+ (WebCore::sharedCheckboxCell):
</ins><span class="cx">
</span><del>- No new tests - no new functionality.
</del><ins>+ Does the work of the old paintRadio() and paintCheckbox().
+ (WebCore::paintToggleButton):
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Export a few methods in VisibleUnits needed to be able
- to call previousLinePosition(), nextLinePosition(), startOfLine() and
- endOfLine() in WebPageMac.mm when determining the context while looking
- up a dictionary definition. These symbols used to be exported for iOS
- only, export them on the desktop too.
</del><ins>+ Use sharedRadioCell() here.
+ (WebCore::ThemeMac::inflateControlPaintRect):
</ins><span class="cx">
</span><del>-2013-05-24 Anders Carlsson <andersca@apple.com>
</del><ins>+ Call paintToggleButton() for radio buttons and checkboxes.
+ (WebCore::ThemeMac::paint):
</ins><span class="cx">
</span><del>- Remove PagePopup code
- https://bugs.webkit.org/show_bug.cgi?id=116732
</del><ins>+ All gone.
+ (WebCore::configureCheckbox): Deleted.
+ (WebCore::createCheckboxCell): Deleted.
+ (WebCore::paintCheckbox): Deleted.
+ (WebCore::radio): Deleted.
+ (WebCore::paintRadio): Deleted.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-03-31 Samuel White <samuel_white@apple.com>
</ins><span class="cx">
</span><del>- Remove all page popup code.
</del><ins>+ AX: Need ability to get line range for text marker.
+ https://bugs.webkit.org/show_bug.cgi?id=130906
</ins><span class="cx">
</span><del>- * GNUmakefile.list.am:
- * WebCore.xcodeproj/project.pbxproj:
- * dom/ContextFeatures.cpp:
- * dom/ContextFeatures.h:
- * loader/EmptyClients.h:
</del><ins>+ Reviewed by Chris Fleizach.
+
+ Added ability to get line range from any marker on that line. This matches the functionality of existing
+ attributes such as AXParagraphTextMarkerRangeForTextMarker and AXSentenceTextMarkerRangeForTextMarker.
+
+ Test: platform/mac/accessibility/line-range-for-text-marker.html
+
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::visiblePositionRangeForRange):
+ (WebCore::AccessibilityObject::lineRangeForPosition):
+ * accessibility/AccessibilityObject.h:
+ * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+ (-[WebAccessibilityObjectWrapper accessibilityParameterizedAttributeNames]):
+ (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
+
+2014-03-31 Anders Carlsson <andersca@apple.com>
+
+ Fix iOS build.
+
</ins><span class="cx"> * page/ChromeClient.h:
</span><del>- * page/DOMWindowPagePopup.cpp: Removed.
- * page/DOMWindowPagePopup.h: Removed.
- * page/DOMWindowPagePopup.idl: Removed.
- * page/PagePopup.h: Removed.
- * page/PagePopupClient.cpp: Removed.
- * page/PagePopupClient.h: Removed.
- * page/PagePopupController.cpp: Removed.
- * page/PagePopupController.h: Removed.
- * page/PagePopupController.idl: Removed.
- * page/PagePopupDriver.h: Removed.
- * testing/Internals.cpp:
- (WebCore::Internals::resetToConsistentState):
- (WebCore):
- * testing/Internals.h:
- (WebCore):
- (Internals):
- * testing/Internals.idl:
- * testing/MockPagePopupDriver.cpp: Removed.
- * testing/MockPagePopupDriver.h: Removed.
</del><ins>+ (WebCore::ChromeClient::updateViewportConstrainedLayers):
</ins><span class="cx">
</span><del>-2013-05-24 Jer Noble <jer.noble@apple.com>
</del><ins>+2014-03-31 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Mac: Set the default audio buffer size to a large value for <video> elements.
- https://bugs.webkit.org/show_bug.cgi?id=116342
</del><ins>+ [MSE][Mac] Support lease-renewal.
+ https://bugs.webkit.org/show_bug.cgi?id=130919
</ins><span class="cx">
</span><span class="cx"> Reviewed by Eric Carlson.
</span><del>- Roll-in rubber stamped by Eric Carlson.
</del><span class="cx">
</span><del>- To enable power savings by waking up the audio hardware less often, set the
- requested buffer frame size to a large value, such as 4096. Since this results
- in approximately 100ms worth of buffer, set the buffer size to a much lower
- value when playing WebAudio, which is much more sensitive to latency than video
- or audio elements.
</del><ins>+ Trigger a new key request when receiving an update message containting "renew".
</ins><span class="cx">
</span><del>- Introduce a new class, AudioSessionManager, as well as a helper class,
- AudioSessionManagerToken. Audio elements, video elements, and WebAudio destination
- nodes will create and retain a token, and release the token in their destructor.
- This allows the AudioSessionManager to track how many of what type of audio-
- generating objects are in existence.
</del><ins>+ * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm:
+ (WebCore::CDMSessionMediaSourceAVFObjC::generateKeyRequest): Drive-by fix; generate a UTF-8
+ based array.
+ (WebCore::CDMSessionMediaSourceAVFObjC::update):
</ins><span class="cx">
</span><del>- This requires implementing AudioSession for Mac platforms. Move the implementation
- for retrieving the hardware sample rate and setting the buffer duration into
- AudioSessionMac from AudioDestinationMac, to be shared with AudioSessionManagerMac.
</del><ins>+2014-03-31 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Change the AudioSession method preferredBufferLength() into preferredBufferSize(),
- as the callers really want to specify a buffer size, not a buffer duration. On iOS,
- where the available API requires a duration, perform the conversion from duration to
- size on behalf of the caller.
</del><ins>+ Remove special handling of soft hyphens in search code
+ https://bugs.webkit.org/show_bug.cgi?id=130940
</ins><span class="cx">
</span><del>- However, since the original version of this patch caused media test
- failures on the Mac ML and Lion bots, only enable the buffer size
- change for OS X > ML.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.h: Add a AudioSessionManagerToken member.
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize the token.
- * platform/audio/AudioSession.cpp:
- (WebCore::AudioSession::preferredBufferSize): Renamed from preferredBufferLength.
- (WebCore::AudioSession::setPreferredBufferSize): Renamed from setPreferredBufferLength.
- * platform/audio/AudioSession.h:
- * platform/audio/AudioSessionManager.cpp:
- (AudioSessionManagerToken::create): Simple factory method.
- (AudioSessionManagerToken::AudioSessionManagerToken): Call AudioSessionManager::incrementCount().
- (AudioSessionManagerToken::~AudioSessionManagerToken): Call AudioSessionManager::decrementCount().
- (AudioSessionManager::sharedManager): Simple singleton method.
- (AudioSessionManager::AudioSessionManager): Simple constructor.
- (AudioSessionManager::has): Return whether the type is present.
- (AudioSessionManager::incrementCount): Increment, then call updateSessionState()
- (AudioSessionManager::decrementCount): Decrement, then call updateSessionState()
- (AudioSessionManager::updateSessionState): Stub, does nothing.
- * platform/audio/AudioSessionManager.h:
- * platform/audio/ios/AudioDestinationIOS.cpp:
- (WebCore::AudioDestinationIOS::configure): Call setPreferredBufferSize() instead of setPreferredBufferLength()
- * platform/audio/ios/AudioSessionIOS.mm:
- (WebCore::AudioSession::preferredBufferSize): Renamed from preferredBufferLength.
- (WebCore::AudioSession::setPreferredBufferSize): Renamed from setPreferredBufferLength
- * platform/audio/mac/AudioDestinationMac.cpp:
- (WebCore::AudioDestination::hardwareSampleRate): Call AudioSession::sampleRate().
- (WebCore::AudioDestinationMac::AudioDestinationMac): Create the AudioSessionManagerToken.
- (WebCore::AudioDestinationMac::configure): Do not set the buffer size (this is done in AudioSessionManagerMac).
- * platform/audio/mac/AudioDestinationMac.h:
- * platform/audio/mac/AudioSessionMac.cpp: Added.
- (WebCore::defaultDevice): Added, returns the default audio device.
- (WebCore::AudioSession::AudioSession): Simple constructor.
- (WebCore::AudioSession::~AudioSession): Simple destructor.
- (WebCore::AudioSession::category): Stub, unimplemented.
- (WebCore::AudioSession::setCategory): Ditto.
- (WebCore::AudioSession::categoryOverride): Ditto.
- (WebCore::AudioSession::setCategoryOverride): Ditto.
- (WebCore::AudioSession::numberOfOutputChannels): Ditto.
- (WebCore::AudioSession::setActive): Ditto.
- (WebCore::AudioSession::sampleRate): Use the HAL to return the default audio device sample rate.
- (WebCore::AudioSession::preferredBufferSize): Return the current HAL setting.
- (WebCore::AudioSession::setPreferredBufferSize): Set the buffer size.
- * platform/audio/mac/AudioSessionManagerMac.cpp:
- (AudioSessionManager::updateSessionState): Set the buffer size depending on what audio outputs are present.
- * WebCore.xcodeproj/project.pbxproj: Add the new files to the project.
</del><ins>+ ICU knows to ignore soft hyphens, so we don't need to replace them before searching.
</ins><span class="cx">
</span><del>-2013-05-24 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ Covered by existing tests.
</ins><span class="cx">
</span><del>- Path: upstream the missing bits from the BlackBerry port
- https://bugs.webkit.org/show_bug.cgi?id=116658
</del><ins>+ * editing/TextIterator.cpp:
+ (WebCore::foldQuoteMark):
+ (WebCore::foldQuoteMarks):
+ (WebCore::SearchBuffer::SearchBuffer):
+ (WebCore::SearchBuffer::append):
+ (WebCore::foldQuoteMarkOrSoftHyphen): Deleted.
+ (WebCore::foldQuoteMarksAndSoftHyphens): Deleted.
</ins><span class="cx">
</span><del>- Reviewed by Xan Lopez.
</del><ins>+2014-03-31 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- PathBlackBerry was upstreamed a while ago (r144612) but a few bits
- were missing from the cross-platform code.
</del><ins>+ Preparation for using Soup on Windows.
+ https://bugs.webkit.org/show_bug.cgi?id=130615
</ins><span class="cx">
</span><del>- * platform/graphics/Path.cpp:
- (WebCore::Path::addPathForRoundedRect):
- * platform/graphics/Path.h:
- (Graphics):
- (Path):
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>-2013-05-24 Noam Rosenthal <noam@webkit.org>
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ Added Soup source files in WinCairo build.
+ * loader/soup/CachedRawResourceSoup.cpp:
+ * loader/soup/SubresourceLoaderSoup.cpp:
+ * platform/soup/SharedBufferSoup.cpp:
+ * platform/soup/URLSoup.cpp:
+ * platform/network/NetworkStorageSessionStub.cpp:
+ Only build if USE(SOUP) to prevent building when USE(CURL) is true.
+ * platform/network/soup/ResourceHandleSoup.cpp:
+ Only include unistd.h in non-Visual Studio builds.
+ This would normally be done with a HAVE_UNISTD_H macro when compiling glib and Soup,
+ but that would need to be left undefined for Visual Studio.
</ins><span class="cx">
</span><del>- WebProcess is crashing on http://achicu.github.io/css-presentation when direct pattern compositing is enabled
- https://bugs.webkit.org/show_bug.cgi?id=115135
</del><ins>+2014-03-31 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Unreviewed. Addressing reviewing comments for r166491 that I forgot
+ to address before landing.
</ins><span class="cx">
</span><del>- Issue is invoked when there is a visibility:hidden layer with a non-compositable
- background image (e.g. a radial gradient).
- The layer is treated as a no-contents layer because of its visibility, however
- updateDirectlyCompositedBackgroundImage() later mistakenly treats it as a layer
- with direct background-image compositing.
</del><ins>+ * html/FormController.cpp:
+ (WebCore::SavedFormState::deserialize): No need to move the std::unique_ptr
+ object on the way out.
+ (WebCore::FormController::createSavedFormStateMap): FormKeyGenerator can be
+ allocated on the stack.
+ (WebCore::FormController::formStatesFromStateVector): Use auto.
</ins><span class="cx">
</span><del>- Fixed by returning early from updating directly composited contents for layers
- with hidden contents.
</del><ins>+2014-03-20 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- Test: compositing/patterns/direct-pattern-compositing-hidden-radial-gradient.html
</del><ins>+ [GTK] Use GMainLoopSource for idle and timeout sources in WebCore
+ https://bugs.webkit.org/show_bug.cgi?id=130078
</ins><span class="cx">
</span><del>- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateDirectlyCompositedContents):
- (WebCore::RenderLayerBacking::updateDirectlyCompositedBackgroundImage):
- (WebCore::RenderLayerBacking::paintsChildren):
- (WebCore::RenderLayerBacking::isDirectlyCompositedImage):
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>-2013-05-24 Robert Hogan <robert@webkit.org>
</del><ins>+ * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
+ * platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:
+ * platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.h:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.h:
+ * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
+ * platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp:
+ * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+ * platform/gtk/GtkDragAndDropHelper.cpp:
+ * platform/gtk/SharedTimerGtk.cpp:
</ins><span class="cx">
</span><del>- Refactor shouldAddBorderPaddingMargin()
- https://bugs.webkit.org/show_bug.cgi?id=98803
</del><ins>+2014-03-31 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Wrong layout while animating content in regions
+ https://bugs.webkit.org/show_bug.cgi?id=125086
</ins><span class="cx">
</span><del>- Make this helper function less clever-stupid in its misguided sacrifice of intelligibility
- for the sake of concision.
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- No new tests, refactoring.
</del><ins>+ The region to layer and regions to layer mappings should be cleared when the region chain changes.
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::shouldAddBorderPaddingMargin):
- (WebCore::inlineLogicalWidth):
</del><ins>+ Test: fast/regions/layers/region-removed-during-animation.html
</ins><span class="cx">
</span><del>-2013-05-24 Xiaobo Wang <xiaobwang@blackberry.com>
</del><ins>+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::invalidateRegions): Clear the two maps and flag them for recomputation.
+ (WebCore::RenderFlowThread::cachedRegionForCompositedLayer): Assert that the returned region exists.
</ins><span class="cx">
</span><del>- [BlackBerry] DRT - crashed on GraphicsContext3D::makeContextCurrent
- https://bugs.webkit.org/show_bug.cgi?id=116654
</del><ins>+2014-03-31 Dániel Bátyai <dbatyai.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+ Remove hostThisRegister() and hostThisValue()
+ https://bugs.webkit.org/show_bug.cgi?id=130895
</ins><span class="cx">
</span><del>- PR 331552.
- Internally reviewed and amended by Arvid Nilsson.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- No new tests, this patch is to fix DRT crashes in fast/canvas/webgl.
- The instance of GraphicsContext3D has already been destroyed but
- WebGLLayerWebKitThread is not aware of that. This is because compositor
- layer of the WebGL graphics context was referenced outside the context.
- So when destructing GraphicsContext3D the compositing layer was not
- destructed.
- Fix by setting m_webGLContext to 0 when destructing GrapthicsContext3D
- after releasing the compositor layer, so that it won't be de-referenced
- again later.
</del><ins>+ Removed hostThisRegister() and hostThisValue() and instead use thisArgumentOffset() and thisValue() respectively.
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
- (WebCore::GraphicsContext3D::~GraphicsContext3D):
- * platform/graphics/blackberry/WebGLLayerWebKitThread.cpp:
- (WebCore::WebGLLayerWebKitThread::~WebGLLayerWebKitThread):
- (WebCore::WebGLLayerWebKitThread::webGLContextDestroyed):
- (WebCore):
- * platform/graphics/blackberry/WebGLLayerWebKitThread.h:
- (WebGLLayerWebKitThread):
</del><ins>+ No new tests, no behavior changes.
</ins><span class="cx">
</span><del>-2013-05-24 Andreas Kling <akling@apple.com>
</del><ins>+ * bindings/js/JSNavigatorCustom.cpp:
+ (WebCore::JSNavigator::webkitGetUserMedia):
+ * bindings/js/JSPluginElementFunctions.cpp:
+ (WebCore::callPlugin):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ * bindings/scripts/test/JS/JSFloat64Array.cpp:
+ (WebCore::jsFloat64ArrayPrototypeFunctionFoo):
+ (WebCore::jsFloat64ArrayPrototypeFunctionSet):
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ (WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunction):
+ (WebCore::jsTestActiveDOMObjectPrototypeFunctionPostMessage):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ (WebCore::jsTestCustomNamedGetterPrototypeFunctionAnotherFunction):
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::jsTestEventTargetPrototypeFunctionItem):
+ (WebCore::jsTestEventTargetPrototypeFunctionAddEventListener):
+ (WebCore::jsTestEventTargetPrototypeFunctionRemoveEventListener):
+ (WebCore::jsTestEventTargetPrototypeFunctionDispatchEvent):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod1):
+ (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod2):
+ (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod3):
+ (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod1):
+ (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2):
+ (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod3):
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+ (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::jsTestObjPrototypeFunctionVoidMethod):
+ (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionByteMethod):
+ (WebCore::jsTestObjPrototypeFunctionByteMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionOctetMethod):
+ (WebCore::jsTestObjPrototypeFunctionOctetMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionLongMethod):
+ (WebCore::jsTestObjPrototypeFunctionLongMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionObjMethod):
+ (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodReturningSequence):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithEnumArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
+ (WebCore::jsTestObjPrototypeFunctionSerializedValue):
+ (WebCore::jsTestObjPrototypeFunctionOptionsObject):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithException):
+ (WebCore::jsTestObjPrototypeFunctionCustomMethod):
+ (WebCore::jsTestObjPrototypeFunctionCustomMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionAddEventListener):
+ (WebCore::jsTestObjPrototypeFunctionRemoveEventListener):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateVoid):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateObj):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateVoidException):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateObjException):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContext):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptState):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateObjException):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateWithSpaces):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptArgumentsAndCallStack):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalString):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalStringIsUndefined):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalStringIsNullString):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionConditionalMethod1):
+ (WebCore::jsTestObjPrototypeFunctionConditionalMethod2):
+ (WebCore::jsTestObjPrototypeFunctionConditionalMethod3):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod5):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod6):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod7):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod8):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod9):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod10):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod11):
+ (WebCore::jsTestObjPrototypeFunctionClassMethodWithClamp):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence):
+ (WebCore::jsTestObjPrototypeFunctionStringArrayFunction):
+ (WebCore::jsTestObjPrototypeFunctionDomStringListFunction):
+ (WebCore::jsTestObjPrototypeFunctionGetSVGDocument):
+ (WebCore::jsTestObjPrototypeFunctionConvert1):
+ (WebCore::jsTestObjPrototypeFunctionConvert2):
+ (WebCore::jsTestObjPrototypeFunctionConvert4):
+ (WebCore::jsTestObjPrototypeFunctionConvert5):
+ (WebCore::jsTestObjPrototypeFunctionMutablePointFunction):
+ (WebCore::jsTestObjPrototypeFunctionImmutablePointFunction):
+ (WebCore::jsTestObjPrototypeFunctionOrange):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunction):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunctionWithSequence):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunctionWithArray):
+ (WebCore::jsTestObjPrototypeFunctionVariadicStringMethod):
+ (WebCore::jsTestObjPrototypeFunctionVariadicDoubleMethod):
+ (WebCore::jsTestObjPrototypeFunctionVariadicNodeMethod):
+ (WebCore::jsTestObjPrototypeFunctionAny):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::jsTestTypedefsPrototypeFunctionFunc):
+ (WebCore::jsTestTypedefsPrototypeFunctionSetShadow):
+ (WebCore::jsTestTypedefsPrototypeFunctionMethodWithSequenceArg):
+ (WebCore::jsTestTypedefsPrototypeFunctionNullableArrayArg):
+ (WebCore::jsTestTypedefsPrototypeFunctionFuncWithClamp):
+ (WebCore::jsTestTypedefsPrototypeFunctionImmutablePointFunction):
+ (WebCore::jsTestTypedefsPrototypeFunctionStringArrayFunction):
+ (WebCore::jsTestTypedefsPrototypeFunctionStringArrayFunction2):
+ (WebCore::jsTestTypedefsPrototypeFunctionCallWithSequenceThatRequiresInclude):
+ (WebCore::jsTestTypedefsPrototypeFunctionMethodWithException):
+ * bridge/objc/objc_runtime.mm:
+ (JSC::Bindings::callObjCFallbackObject):
+ * bridge/runtime_method.cpp:
+ (JSC::callRuntimeMethod):
</ins><span class="cx">
</span><del>- Typing in Safari's unified field causes unnecessary web content repaints.
- <http://webkit.org/b/116703>
</del><ins>+2014-03-31 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Reviewed by Andy Estes.
</del><ins>+ Move the rest of Source/WebCore/html/ code to std::unique_ptr
+ https://bugs.webkit.org/show_bug.cgi?id=129669
</ins><span class="cx">
</span><del>- Break out an alternate version of Page::markAllMatchesForText() that only counts the number of times
- a string occurs in the page, but doesn't try to mark the occurrences.
- This allows Safari to count matches for the 'Find "foo" on This Page' functionality in the unified
- location bar without causing tile repaints.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * page/Page.h:
- * page/Page.cpp:
- (WebCore::Page::findMatchesForText):
- (WebCore::Page::markAllMatchesForText):
- (WebCore::Page::countFindMatches):
</del><ins>+ Replace the remaining uses of OwnPtr, PassOwnPtr under Source/WebCore/html/ with std::unique_ptr.
</ins><span class="cx">
</span><del>- Renamed markAllMatchesForText() to findMatchesForText() and gave it a boolean parameter to control whether
- matches should be marked or not. countFindMatches() is the new helper that doesn't mark.
</del><ins>+ * html/FormController.cpp:
+ (WebCore::SavedFormState::SavedFormState):
+ (WebCore::SavedFormState::deserialize):
+ (WebCore::FormController::createSavedFormStateMap):
+ (WebCore::FormController::formElementsState):
+ (WebCore::FormController::takeStateForFormElement):
+ (WebCore::FormController::formStatesFromStateVector):
+ * html/FormController.h:
+ * html/HTMLAreaElement.cpp:
+ (WebCore::HTMLAreaElement::mapMouseEvent):
+ * html/HTMLAreaElement.h:
+ * html/HTMLCanvasElement.cpp:
+ (WebCore::HTMLCanvasElement::setSurfaceSize):
+ (WebCore::HTMLCanvasElement::createImageBuffer):
+ * html/HTMLCanvasElement.h:
+ * html/HTMLCollection.h:
+ * html/HTMLEmbedElement.cpp:
+ (WebCore::HTMLEmbedElement::parseAttribute):
+ * html/HTMLFormControlElement.cpp:
+ (WebCore::HTMLFormControlElement::updateVisibleValidationMessage):
+ * html/HTMLFormControlElement.h:
+ * html/HTMLFormElement.cpp:
+ (WebCore::HTMLFormElement::addToPastNamesMap):
+ * html/HTMLFormElement.h:
+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::imageLoader):
+ (WebCore::HTMLInputElement::resetListAttributeTargetObserver):
+ * html/HTMLInputElement.h:
+ (WebCore::HTMLInputElement::hasImageLoader):
+ * html/HTMLObjectElement.cpp:
+ (WebCore::HTMLObjectElement::parseAttribute):
+ * html/HTMLPlugInImageElement.cpp:
+ (WebCore::HTMLPlugInImageElement::startLoadingImage):
+ * html/HTMLPlugInImageElement.h:
+ * html/HTMLVideoElement.cpp:
+ (WebCore::HTMLVideoElement::didAttachRenderers):
+ (WebCore::HTMLVideoElement::parseAttribute):
+ * html/HTMLVideoElement.h:
+ * html/ValidationMessage.cpp:
+ (WebCore::ValidationMessage::ValidationMessage):
+ (WebCore::ValidationMessage::setMessage):
+ (WebCore::ValidationMessage::setMessageDOMAndStartTimer):
+ (WebCore::ValidationMessage::requestToHideMessage):
+ * html/ValidationMessage.h:
</ins><span class="cx">
</span><del>-2013-05-23 Beth Dakin <bdakin@apple.com>
</del><ins>+2014-03-31 Maurice van der Pot <griffon26@kfk4ever.com>
</ins><span class="cx">
</span><del>- https://bugs.webkit.org/show_bug.cgi?id=116702
- REGRESSION (r150399): Scrollbar missing for all overflow scroll
- -and corresponding-
- <rdar://problem/13963712>
</del><ins>+ Fix mixed use of booleans in JPEGImageDecoder.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=122412
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- This was a silly copy-paste error.
</del><ins>+ Trivial fix for compilation error; no new tests.
+
+ * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
+ (WebCore::JPEGImageReader::decode):
+ (WebCore::fill_input_buffer):
+ Use TRUE/FALSE defined by libjpeg for libjpeg booleans
+
+2014-03-23 Zan Dobersek <zdobersek@igalia.com>
+
+ Move Source/WebCore/rendering/ code to std::unique_ptr
+ https://bugs.webkit.org/show_bug.cgi?id=129664
+
+ Reviewed by Anders Carlsson.
+
+ Replace uses of OwnPtr and PassOwnPtr in code under Source/WebCore/rendering/ with std::unique_ptr.
+
+ * platform/graphics/FloatPolygon.cpp:
+ (WebCore::FloatPolygon::FloatPolygon):
+ * platform/graphics/FloatPolygon.h:
+ * rendering/ClipPathOperation.h:
+ * rendering/FlowThreadController.cpp:
+ (WebCore::FlowThreadController::ensureRenderFlowThreadWithName):
+ * rendering/FlowThreadController.h:
+ * rendering/HitTestLocation.h:
+ * rendering/HitTestResult.cpp:
+ (WebCore::HitTestResult::HitTestResult):
+ (WebCore::HitTestResult::operator=):
+ (WebCore::HitTestResult::rectBasedTestResult):
+ (WebCore::HitTestResult::mutableRectBasedTestResult):
+ * rendering/HitTestResult.h:
+ * rendering/HitTestingTransformState.cpp:
+ * rendering/ImageQualityController.h:
+ * rendering/RenderBlock.cpp:
+ (WebCore::removeBlockFromDescendantAndContainerMaps):
+ (WebCore::RenderBlock::finishDelayUpdateScrollInfo):
+ (WebCore::RenderBlock::addContinuationWithOutline):
+ (WebCore::RenderBlock::paintContinuationOutlines):
+ (WebCore::RenderBlock::insertIntoTrackedRendererMaps):
+ (WebCore::RenderBlock::removeFromTrackedRendererMaps):
+ (WebCore::RenderBlock::setComputedColumnCountAndWidth):
+ * rendering/RenderBlock.h:
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::createFloatingObjects):
+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderBoxRegionInfo.h:
+ * rendering/RenderButton.cpp:
+ (WebCore::RenderButton::styleDidChange):
+ * rendering/RenderButton.h:
+ * rendering/RenderCounter.cpp:
+ (WebCore::makeCounterNode):
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::updateAllLayerToRegionMappings):
+ (WebCore::RenderFlowThread::logicalWidthChangedInRegionsForBlock):
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderGeometryMap.cpp:
+ (WebCore::RenderGeometryMap::push):
+ (WebCore::RenderGeometryMap::pushView):
+ * rendering/RenderGeometryMap.h:
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::GridIterator::nextEmptyGridArea):
+ (WebCore::RenderGrid::placeItemsOnGrid):
+ (WebCore::RenderGrid::populateExplicitGridAndOrderIterator):
+ (WebCore::RenderGrid::placeSpecifiedMajorAxisItemsOnGrid):
+ (WebCore::RenderGrid::placeAutoMajorAxisItemOnGrid):
+ (WebCore::RenderGrid::resolveGridPositionsFromStyle):
+ (WebCore::RenderGrid::resolveGridPositionAgainstOppositePosition):
+ (WebCore::RenderGrid::resolveNamedGridLinePositionAgainstOppositePosition):
+ (WebCore::RenderGrid::resolveRowStartColumnStartNamedGridLinePositionAgainstOppositePosition):
+ (WebCore::RenderGrid::resolveRowEndColumnEndNamedGridLinePositionAgainstOppositePosition):
+ * rendering/RenderGrid.h:
+ * rendering/RenderImageResource.h:
</ins><span class="cx"> * rendering/RenderLayer.cpp:
</span><del>- (WebCore::RenderLayer::scrollbarAnimationsAreSuppressed):
</del><ins>+ (WebCore::RenderLayer::updateDescendantsAreContiguousInStackingOrder):
+ (WebCore::RenderLayer::updateTransform):
+ (WebCore::RenderLayer::setupFilters):
+ (WebCore::RenderLayer::paintLayerContents):
+ (WebCore::RenderLayer::paintChildLayerIntoColumns):
+ (WebCore::RenderLayer::hitTestChildLayerColumns):
+ (WebCore::RenderLayer::updateClipRects):
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderLayer.h:
+ (WebCore::RenderLayer::clearZOrderLists):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::notifyFlushBeforeDisplayRefresh):
+ (WebCore::RenderLayerCompositor::registerAllViewportConstrainedLayers):
+ * rendering/RenderLayerCompositor.h:
+ * rendering/RenderLayerFilterInfo.cpp:
+ (WebCore::RenderLayer::FilterInfo::map):
+ (WebCore::RenderLayer::FilterInfo::get):
+ * rendering/RenderLayerFilterInfo.h:
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::setRenderBoxRegionInfo):
+ (WebCore::RenderRegion::takeRenderBoxRegionInfo):
+ * rendering/RenderRegion.h:
+ * rendering/RenderTable.cpp:
+ (WebCore::RenderTable::styleDidChange):
+ * rendering/RenderTable.h:
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::selectionBounds):
+ (WebCore::RenderView::setSelection):
+ (WebCore::RenderView::compositor):
+ (WebCore::RenderView::flowThreadController):
+ (WebCore::RenderView::imageQualityController):
+ * rendering/RenderView.h:
+ * rendering/RootInlineBox.h:
+ (WebCore::RootInlineBox::appendFloat):
+ * rendering/TextAutosizer.h:
+ * rendering/shapes/PolygonShape.cpp:
+ (WebCore::computeShapePaddingBounds):
+ (WebCore::computeShapeMarginBounds):
+ * rendering/shapes/PolygonShape.h:
+ (WebCore::PolygonShape::PolygonShape):
+ * rendering/shapes/RasterShape.cpp:
+ (WebCore::RasterShapeIntervals::computeShapeMarginIntervals):
+ * rendering/shapes/RasterShape.h:
+ (WebCore::RasterShape::RasterShape):
+ * rendering/shapes/Shape.cpp:
+ (WebCore::createInsetShape):
+ (WebCore::createRectangleShape):
+ (WebCore::createCircleShape):
+ (WebCore::createEllipseShape):
+ (WebCore::createPolygonShape):
+ (WebCore::Shape::createShape):
+ (WebCore::Shape::createRasterShape):
+ (WebCore::Shape::createLayoutBoxShape):
+ * rendering/shapes/Shape.h:
+ * rendering/shapes/ShapeInfo.h:
+ (WebCore::ShapeInfo::markShapeAsDirty):
+ (WebCore::ShapeInfo::isShapeDirty):
+ * rendering/shapes/ShapeInsideInfo.h:
+ * rendering/style/ContentData.h:
+ * rendering/style/CounterDirectives.cpp:
+ (WebCore::clone):
+ * rendering/style/CounterDirectives.h:
+ * rendering/style/GridCoordinate.h:
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::addCachedPseudoStyle):
+ (WebCore::RenderStyle::accessCounterDirectives):
+ (WebCore::RenderStyle::accessAnimations):
+ (WebCore::RenderStyle::accessTransitions):
+ * rendering/style/RenderStyle.h:
+ * rendering/style/StyleRareNonInheritedData.cpp:
+ (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
+ * rendering/style/StyleRareNonInheritedData.h:
+ * rendering/svg/RenderSVGResourceGradient.cpp:
+ (WebCore::RenderSVGResourceGradient::applyResource):
+ * rendering/svg/RenderSVGResourceGradient.h:
+ * rendering/svg/RenderSVGResourcePattern.cpp:
+ (WebCore::RenderSVGResourcePattern::buildPattern):
+ * rendering/svg/RenderSVGResourcePattern.h:
+ * rendering/svg/RenderSVGShape.cpp:
+ (WebCore::RenderSVGShape::updateShapeFromElement):
+ * rendering/svg/RenderSVGShape.h:
+ * rendering/svg/SVGResources.cpp:
+ (WebCore::SVGResources::setClipper):
+ (WebCore::SVGResources::setFilter):
+ (WebCore::SVGResources::setMarkerStart):
+ (WebCore::SVGResources::setMarkerMid):
+ (WebCore::SVGResources::setMarkerEnd):
+ (WebCore::SVGResources::setMasker):
+ (WebCore::SVGResources::setFill):
+ (WebCore::SVGResources::setStroke):
+ * rendering/svg/SVGResources.h:
+ * rendering/svg/SVGResourcesCache.cpp:
+ (WebCore::SVGResourcesCache::addResourcesFromRenderer):
+ (WebCore::SVGResourcesCache::removeResourcesFromRenderer):
+ * rendering/svg/SVGResourcesCache.h:
+ * rendering/svg/SVGTextMetricsBuilder.cpp:
+ (WebCore::SVGTextMetricsBuilder::initializeMeasurementWithTextRenderer):
+ * rendering/svg/SVGTextMetricsBuilder.h:
</ins><span class="cx">
</span><del>-2013-05-23 peavo@outlook.com <peavo@outlook.com>
</del><ins>+2014-03-28 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>- [WinCairo] Build fails to link.
- https://bugs.webkit.org/show_bug.cgi?id=116671
</del><ins>+ Replace DEPRECATED_DEFINE_STATIC_LOCAL by static NeverDestroyed<T> in loader
+ https://bugs.webkit.org/show_bug.cgi?id=130893
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * page/FrameView.h: Added guard for ACCELERATED_COMPOSITING.
</del><ins>+ * loader/ImageLoader.cpp:
+ (WebCore::beforeLoadEventSender):
+ (WebCore::loadEventSender):
+ (WebCore::errorEventSender):
+ * loader/appcache/ApplicationCacheStorage.cpp:
+ (WebCore::cacheStorage):
+ * loader/appcache/ApplicationCacheStorage.h:
+ * loader/archive/ArchiveFactory.cpp:
+ (WebCore::archiveMIMETypes):
+ * loader/cache/CachedImage.cpp:
+ (WebCore::CachedImage::brokenImage):
+ * loader/cache/CachedRawResource.cpp:
+ (WebCore::shouldIgnoreHeaderForCacheReuse):
+ * loader/cache/MemoryCache.cpp:
+ (WebCore::dummyCachedImageClient):
</ins><span class="cx">
</span><del>-2013-05-23 Roger Fong <roger_fong@apple.com>
</del><ins>+2014-03-28 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>- Unreviewed. Modify WebCore for AppleWin 2010 production build.
</del><ins>+ Replace DEPRECATED_DEFINE_STATIC_LOCAL by static NeverDestroyed<T> in css
+ https://bugs.webkit.org/show_bug.cgi?id=130409
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCoreGenerated.make:
- (WebCore::AXObjectCache::frameLoadingEventPlatformNotification):
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-05-23 Yongjun Zhang <yongjun_zhang@apple.com>
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::logUnimplementedPropertyID):
+ * css/CSSDefaultStyleSheets.cpp:
+ (WebCore::screenEval):
+ (WebCore::printEval):
+ * css/CSSParser.cpp:
+ (WebCore::strictCSSParserContext):
+ * css/CSSPrimitiveValue.cpp:
+ (WebCore::cssTextCache):
+ * css/CSSProperty.cpp:
+ (WebCore::borderDirections):
+ * css/CSSStyleRule.cpp:
+ (WebCore::selectorTextCache):
+ * css/CSSValuePool.cpp:
+ (WebCore::cssValuePool):
+ * css/CSSValuePool.h:
+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::ApplyPropertyPageSize::getPageSizeFromName):
+ (WebCore::DeprecatedStyleBuilder::sharedStyleBuilder):
+ * css/DeprecatedStyleBuilder.h:
</ins><span class="cx">
</span><del>- We need to clear main resource when detaching DocumentLoader from the frame.
- https://bugs.webkit.org/show_bug.cgi?id=116680
</del><ins>+2014-03-30 Xabier Rodriguez Calvar <calvaris@igalia.com>
</ins><span class="cx">
</span><del>- Normally, when we detach the documentLoader in DocumentLoader::detachFromFrame, main resource is also cleared
- in stopLoading(). There is possibility that main resource not being cleared, and this could cause crash later
- since docLoader could still receive resource callbacks. To avoid that, we can remove docLoader from main resource's
- client set in detachFromFrame.
</del><ins>+ [GTK] [TextureMapper] Weird brightness with some videos with acceletared compositing
+ https://bugs.webkit.org/show_bug.cgi?id=130665
</ins><span class="cx">
</span><del>- Reviewed by Brady Eidson.
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- No new tests, this doesn't happen on OS X.
</del><ins>+ When we uploaded a video texture to the mapper we were not
+ considering that some videos could be decoded into a format
+ without alpha component. Now we check if the video has alpha and
+ if it does not, we remove the alpha flag when retrieving the
+ texture from the pool. For this, the method to get the texture
+ from the pool was modified to receive the flags, that is mapped to
+ have alpha by default in order not to break any other existing
+ code.
</ins><span class="cx">
</span><del>- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::detachFromFrame):
- (WebCore::DocumentLoader::clearMainResource):
- * loader/cache/CachedResource.h: make hasClient accessible publicly.
- (WebCore::CachedResource::hasClient):
- (CachedResource):
</del><ins>+ Though we have a problem with AC in WTR and that makes it
+ currently not testable, no new tests are needed because once this
+ is fixed the current test set suffices to detect a possible
+ regression in this.
</ins><span class="cx">
</span><del>-2013-05-23 Mihai Maerean <mmaerean@adobe.com>
</del><ins>+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ (WebCore::MediaPlayerPrivateGStreamerBase::updateTexture): Check
+ the video format and decide if the texture shall be pulled with
+ alpha support or not.
+ * platform/graphics/texmap/TextureMapper.cpp:
+ (WebCore::TextureMapper::acquireTextureFromPool): Use the flags
+ when resetting the texture.
+ * platform/graphics/texmap/TextureMapper.h:
+ (WebCore::BitmapTexture::Flag::None): Added with 0x00.
+ (WebCore::TextureMapper::acquireTextureFromPool): Added flag
+ parameter to set up the texture with the default for including
+ alpha channel.
</ins><span class="cx">
</span><del>- assertion failed: !node || node->isElementNode() in WebCore::RenderBlock::clone
- https://bugs.webkit.org/show_bug.cgi?id=116614
</del><ins>+2014-03-30 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Adopt range-based for loops to TextCheckerEnchant
+ https://bugs.webkit.org/show_bug.cgi?id=130714
</ins><span class="cx">
</span><del>- Add a test for flow threads so they don't end up being cloned in region based multi columns with columns:1 where
- the only child has column-span:all.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Test: fast/multicol/newmulticol/direct-child-column-span-all.html
</del><ins>+ * platform/text/enchant/TextCheckerEnchant.cpp:
+ (WebCore::TextCheckerEnchant::ignoreWord):
+ (WebCore::TextCheckerEnchant::learnWord):
+ (WebCore::TextCheckerEnchant::checkSpellingOfWord):
+ (WebCore::TextCheckerEnchant::getGuessesForWord):
+ (WebCore::TextCheckerEnchant::updateSpellCheckingLanguages):
+ (WebCore::TextCheckerEnchant::loadedSpellCheckingLanguages):
+ (WebCore::TextCheckerEnchant::availableSpellCheckingLanguages):
+ (WebCore::TextCheckerEnchant::freeEnchantBrokerDictionaries):
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
</del><ins>+2014-03-30 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-23 Anders Carlsson <andersca@apple.com>
</del><ins>+ Second attempt to fix 32bits build after r166465
</ins><span class="cx">
</span><del>- Crash in convertMainResourceLoadToDownload when downloading file by option-return
- https://bugs.webkit.org/show_bug.cgi?id=116451
</del><ins>+ * rendering/style/RenderStyle.h:
+ The compiler probably complain about the return value, that makes more sense.
</ins><span class="cx">
</span><ins>+2014-03-30 Benjamin Poulain <benjamin@webkit.org>
+
+ Attempt to fix 32bits build after r166465
+
+ * rendering/style/RenderStyle.h:
+
+2014-03-30 Benjamin Poulain <benjamin@webkit.org>
+
+ Make RenderStyle's non inherited flags more JSC friendly
+ https://bugs.webkit.org/show_bug.cgi?id=130939
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Handle MainResourceLoader being null here which will happen when loading a cached main resource.
</del><ins>+ Make RenderStyle::NonInheritedFlags accessible to the JIT:
+ -Make the struct public to give access to the offset.
+ -Move away from a bit field to static offsets we can use
+ with the MacroAssembler.
+ -Reorder the field to simplify bit access of the flags we need.
</ins><span class="cx">
</span><del>- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::continueAfterContentPolicy):
</del><ins>+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::ApplyPropertyVerticalAlign::createHandler):
+ (WebCore::ApplyPropertyDisplay::applyInitialValue):
+ (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::adjustRenderStyle):
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::RenderStyle):
+ (WebCore::RenderStyle::copyNonInheritedFrom):
+ (WebCore::RenderStyle::hashForTextAutosizing):
+ (WebCore::RenderStyle::equalForTextAutosizing):
+ (WebCore::RenderStyle::changeRequiresLayout):
+ * rendering/style/RenderStyle.h:
+ (WebCore::RenderStyle::hasAnyPublicPseudoStyles):
+ (WebCore::RenderStyle::hasPseudoStyle):
+ (WebCore::RenderStyle::setHasPseudoStyle):
+ * rendering/style/StyleMultiColData.cpp:
+ (WebCore::StyleMultiColData::StyleMultiColData):
+ * rendering/style/StyleRareNonInheritedData.cpp:
+ (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
</ins><span class="cx">
</span><del>-2013-05-23 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+2014-03-30 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- KURL::createCFURL() should return a RetainPtr<CFURLRef>
- https://bugs.webkit.org/show_bug.cgi?id=116644
</del><ins>+ [iOS] Fix build of HTMLConverter.mm after r166454
</ins><span class="cx">
</span><ins>+ Fixes the following build failures:
+
+ WebCore/editing/cocoa/HTMLConverter.mm:1507:13: error: value of type 'WebCore::Element' is not contextually convertible to 'bool'
+ if (element)
+ ^~~~~~~
+ WebCore/editing/cocoa/HTMLConverter.mm:1508:49: error: no matching function for call to 'core'
+ _caches->floatPropertyValueForNode(*core(element), CSSPropertyVerticalAlign, verticalAlign);
+ ^~~~
+ In file included from WebCore/editing/cocoa/HTMLConverter.mm:41:
+ In file included from WebCore/page/Frame.h:42:
+ In file included from WebCore/editing/VisibleSelection.h:30:
+ In file included from WebCore/editing/VisiblePosition.h:30:
+ In file included from WebCore/dom/Position.h:31:
+ WebCore/editing/TextAffinity.h:54:27: note: candidate function not viable: no known conversion from 'WebCore::Element' to 'NSSelectionAffinity' (aka '_NSSelectionAffinity') for 1st argument
+ inline WebCore::EAffinity core(NSSelectionAffinity affinity)
+ ^
+ WebCore/editing/cocoa/HTMLConverter.mm:1509:81: error: reference to non-static member function must be called; did you mean to call it with no arguments?
+ attachment.get().bounds = CGRectMake(0, (verticalAlign / 100) * element.clientHeight, element.clientWidth, element.clientHeight);
+ ~~~~~~~~^~~~~~~~~~~~
+ ()
+ WebCore/editing/cocoa/HTMLConverter.mm:1509:103: error: reference to non-static member function must be called; did you mean to call it with no arguments?
+ attachment.get().bounds = CGRectMake(0, (verticalAlign / 100) * element.clientHeight, element.clientWidth, element.clientHeight);
+ ~~~~~~~~^~~~~~~~~~~
+ ()
+ WebCore/editing/cocoa/HTMLConverter.mm:1509:124: error: reference to non-static member function must be called; did you mean to call it with no arguments?
+ attachment.get().bounds = CGRectMake(0, (verticalAlign / 100) * element.clientHeight, element.clientWidth, element.clientHeight);
+ ~~~~~~~~^~~~~~~~~~~~
+ ()
+ 5 errors generated.
+
+ * editing/cocoa/HTMLConverter.mm:
+ (HTMLConverter::_addAttachmentForElement):
+
+2014-03-30 Andreas Kling <akling@apple.com>
+
+ Make NodeList and HTMLCollection caching helpers use PassRef.
+ <https://webkit.org/b/130943>
+
+ Tweak the helpers in NodeListsNodeData to return PassRef instead of
+ PassRefPtr. This knocks 2 branches off of some pretty hot code on
+ Dromaeo/dom-query.
+
+ Reviewed by Antti Koivisto.
+
+ * dom/ChildNodeList.h:
+ * dom/ClassNodeList.h:
+ * dom/NameNodeList.h:
+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::ensureChildNodeList):
+ (WebCore::NodeListsNodeData::ensureEmptyChildNodeList):
+ (WebCore::NodeListsNodeData::addCacheWithAtomicName):
+ (WebCore::NodeListsNodeData::addCacheWithName):
+ (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
+ (WebCore::NodeListsNodeData::addCachedCollection):
+ * dom/TagNodeList.h:
+ * html/HTMLCollection.cpp:
+ (WebCore::HTMLCollection::create):
+ * html/HTMLCollection.h:
+ * html/HTMLFormControlsCollection.cpp:
+ (WebCore::HTMLFormControlsCollection::create):
+ * html/HTMLFormControlsCollection.h:
+ * html/RadioNodeList.h:
+
+2014-03-29 Antti Koivisto <antti@apple.com>
+
+ LiveNodeLists should use ElementDescendantIterator
+ https://bugs.webkit.org/show_bug.cgi?id=130931
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><ins>+
+ Make LiveNodeList traversal use the common DOM tree iterator.
</ins><span class="cx">
</span><del>- For consistency with the other createCFType() APIs in WebKit, KURL should
- return a RetainPtr<> instead of raw +1 CFURLRef.
</del><ins>+ * dom/ChildNodeList.cpp:
+ (WebCore::ChildNodeList::ChildNodeList):
+ (WebCore::ChildNodeList::collectionBegin):
+ (WebCore::ChildNodeList::collectionTraverseForward):
+ (WebCore::ChildNodeList::collectionTraverseBackward):
+ (WebCore::ChildNodeList::invalidateCache):
+ (WebCore::ChildNodeList::collectionFirst): Deleted.
+
+ Iterator for ChildNodeList is still just Node*.
</ins><span class="cx">
</span><del>- No leak were discovered while making this change.
</del><ins>+ * dom/ChildNodeList.h:
+ * dom/CollectionIndexCache.h:
+ (WebCore::CollectionIndexCache::hasValidCache):
+ (WebCore::Iterator>::CollectionIndexCache):
+ (WebCore::Iterator>::nodeCount):
+ (WebCore::Iterator>::computeNodeCountUpdatingListCache):
+ (WebCore::Iterator>::traverseBackwardTo):
+ (WebCore::Iterator>::traverseForwardTo):
+ (WebCore::Iterator>::nodeAt):
+ (WebCore::Iterator>::invalidate):
+
+ Make CollectionIndexCache iterator based instead of using NodeType*. The iterator type may
+ still be a Node* though.
</ins><span class="cx">
</span><del>- * platform/KURL.h:
- * platform/cf/KURLCFNet.cpp:
- (WebCore):
- (WebCore::createCFURLFromBuffer):
- (WebCore::KURL::createCFURL):
- (WebCore::KURL::fileSystemPath):
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::AVFWrapper::createAssetForURL):
- * platform/graphics/cg/GraphicsContextCG.cpp:
- (WebCore::GraphicsContext::setURLForRect):
- * platform/mac/KURLMac.mm:
- (WebCore):
- (WebCore::KURL::operator NSURL *):
- (WebCore::KURL::createCFURL):
- * platform/network/cf/CookieJarCFNet.cpp:
- (WebCore::setCookiesFromDOM):
- (WebCore::cookiesForDOM):
- (WebCore::cookieRequestHeaderFieldValue):
- (WebCore::getRawCookies):
- (WebCore::deleteCookie):
- * platform/network/cf/DNSCFNet.cpp:
- (WebCore::DNSResolveQueue::platformProxyIsEnabledInSystemPreferences):
- * platform/network/cf/ProxyServerCFNet.cpp:
- (WebCore::addProxyServersForURL):
- * platform/network/cf/ResourceRequestCFNet.cpp:
- (WebCore::ResourceRequest::doUpdatePlatformRequest):
- (WebCore::ResourceRequest::doUpdatePlatformHTTPBody):
- * platform/network/cf/ResourceResponseCFNet.cpp:
- (WebCore::ResourceResponse::cfURLResponse):
- * platform/network/cf/SocketStreamHandleCFNet.cpp:
- (WebCore::SocketStreamHandle::SocketStreamHandle):
</del><ins>+ (WebCore::NodeType>::CollectionIndexCache): Deleted.
+ (WebCore::NodeType>::nodeCount): Deleted.
+ (WebCore::NodeType>::computeNodeCountUpdatingListCache): Deleted.
+ (WebCore::NodeType>::nodeBeforeCached): Deleted.
+ (WebCore::NodeType>::nodeAfterCached): Deleted.
+ (WebCore::NodeType>::nodeAt): Deleted.
+ (WebCore::NodeType>::invalidate): Deleted.
+ * dom/ElementDescendantIterator.h:
+ (WebCore::ElementDescendantIterator::operator--):
+
+ Add backward iteration support.
</ins><span class="cx">
</span><del>-2013-05-18 Robert Hogan <robert@webkit.org>
</del><ins>+ (WebCore::ElementDescendantIteratorAdapter::last):
+ (WebCore::ElementDescendantConstIteratorAdapter::last):
+
+ Add a way to get the last item.
+ Provide std::iterator_traits so we can extract the type.
</ins><span class="cx">
</span><del>- The ellipsis in a text overflow should not avoid floats
- https://bugs.webkit.org/show_bug.cgi?id=115746
</del><ins>+ * dom/LiveNodeList.h:
+ (WebCore::CachedLiveNodeList::collectionEnd):
+ (WebCore::CachedLiveNodeList<NodeListType>::CachedLiveNodeList):
+ (WebCore::CachedLiveNodeList<NodeListType>::~CachedLiveNodeList):
+ (WebCore::CachedLiveNodeList<NodeListType>::collectionBegin):
+ (WebCore::CachedLiveNodeList<NodeListType>::collectionLast):
+ (WebCore::CachedLiveNodeList<NodeListType>::collectionTraverseForward):
+ (WebCore::CachedLiveNodeList<NodeListType>::collectionTraverseBackward):
+ (WebCore::CachedLiveNodeList<NodeListType>::invalidateCache):
+ (WebCore::CachedLiveNodeList<NodeListType>::collectionFirst): Deleted.
+
+ Make LiveNodeList traversal use ElementDescendantIterator.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ (WebCore::nextMatchingElement): Deleted.
+ (WebCore::previousMatchingElement): Deleted.
+ * html/HTMLCollection.cpp:
+ (WebCore::HTMLCollection::HTMLCollection):
+ (WebCore::HTMLCollection::~HTMLCollection):
+ (WebCore::HTMLCollection::collectionBegin):
+ (WebCore::HTMLCollection::collectionTraverseForward):
+ (WebCore::HTMLCollection::collectionTraverseBackward):
+ (WebCore::HTMLCollection::invalidateCache):
+ (WebCore::HTMLCollection::collectionFirst): Deleted.
+ * html/HTMLCollection.h:
+ (WebCore::HTMLCollection::collectionEnd):
+
+ HTMLCollection still uses Element* as iterator for now.
</ins><span class="cx">
</span><del>- When placing an ellipsis for text overflow we shouldn't avoid any floats on the line.
- That is to say, if there is a float in the box we overflow we should let our no-wrap text,
- including the ellipsis, render inside the float just as we would if overflow was hidden but
- a text-overflow rendering had not been specified.
</del><ins>+2014-03-29 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Test: fast/css/text-overflow-ellipsis-behind-floats.html
</del><ins>+ Unreviewed, rolling out r166434.
+ https://bugs.webkit.org/show_bug.cgi?id=130938
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::checkLinesForTextOverflow):
</del><ins>+ Caused crashes and other failures on cache tests (Requested by
+ ap on #webkit).
</ins><span class="cx">
</span><del>-2013-05-23 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r150586.
- http://trac.webkit.org/changeset/150586
- https://bugs.webkit.org/show_bug.cgi?id=116660
</del><ins>+ "Web Replay: add page-level setting to bypass the MemoryCache"
+ https://bugs.webkit.org/show_bug.cgi?id=130728
+ http://trac.webkit.org/changeset/166434
</ins><span class="cx">
</span><del>- Those constructors should be exposed on the WorkerContext, not
- the DOMWindow
</del><ins>+2014-03-29 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- * fileapi/FileReaderSync.idl:
- * workers/WorkerLocation.idl:
</del><ins>+ Preserve selection end positions in directionOfSelection
+ <http://webkit.org/b/104813>
+ <rdar://problem/13666417>
</ins><span class="cx">
</span><del>-2013-05-23 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- Remove [NoInterfaceObject] from FileReaderSync and WorkerLocation
- https://bugs.webkit.org/show_bug.cgi?id=116660
</del><ins>+ Merged from Blink (patch by kenrb@chromium.org):
+ https://src.chromium.org/viewvc/blink?revision=150621&view=revision
+ http://crbug.com/164263
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ VisibleSelection::visibleStart() and VisibleSelection::visibleEnd()
+ can both cause layouts, which has the potential to invalidate any
+ rendertree-based objects. This was causing a problem in
+ FrameSelection::directionOfSelection(), where a reference to a
+ lineBox was being held across a call to visibleEnd().
</ins><span class="cx">
</span><del>- Remove [NoInterfaceObject] from FileReaderSync and WorkerLocation to match their
- respective specifications:
- - http://dev.w3.org/2006/webapi/FileAPI/#FileReaderSync
- - http://dev.w3.org/html5/workers/#workerlocation
</del><ins>+ This patch ensures that the any layout is completed before linebox
+ references are retrieved.
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ Test: editing/selection/layout-during-move-selection-crash.html
</ins><span class="cx">
</span><del>- * fileapi/FileReaderSync.idl:
- * workers/WorkerLocation.idl:
</del><ins>+ * editing/FrameSelection.cpp:
+ (WebCore::FrameSelection::directionOfSelection):
</ins><span class="cx">
</span><del>-2013-05-23 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-03-29 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Remove special case for MessagePortArray from bindings generator
- https://bugs.webkit.org/show_bug.cgi?id=116653
</del><ins>+ Subpixel rendering: Simple line layout should not round to integral position while painting.
+ https://bugs.webkit.org/show_bug.cgi?id=130934
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Use MessagePort[] instead of MessagePortArray type in the IDL as MessagePortArray
- is not defined on IDL side. This allows us to remove the special case for
- MessagePortArray from the bindings generator.
</del><ins>+ Remove rounding to integral position. When RenderLayer is injected and hides subpixel positions,
+ integral rounding produces different paint position.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Test: fast/flexbox/hidpi-simple-line-layout-with-flexbox-and-transition.html
</ins><span class="cx">
</span><del>- * bindings/js/JSMessageEventCustom.cpp:
- (WebCore::JSMessageEvent::data):
- * bindings/scripts/CodeGeneratorJS.pm:
- (NativeToJSValue): Remove special case for MessagePortArray.
- * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp:
- * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h:
- (WebDOMTestSerializedScriptValueInterface):
- * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:
- (webkit_dom_test_serialized_script_value_interface_get_property):
- (webkit_dom_test_serialized_script_value_interface_class_init):
- * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
- (WebCore::jsTestSerializedScriptValueInterfacePorts):
- * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h:
- * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm:
- * bindings/scripts/test/TestSerializedScriptValueInterface.idl: Replace MessagePortArray
- by MessagePort[].
- * dom/MessageEvent.h:
- (WebCore::MessageEvent::ports): The method should return a Vector, not a Vector*
- as the array on JavaScript side is not nullable.
- * dom/MessageEvent.idl: Replace MessagePortArray by MessagePort[].
</del><ins>+ * rendering/SimpleLineLayoutFunctions.cpp:
+ (WebCore::SimpleLineLayout::paintFlow):
</ins><span class="cx">
</span><del>-2013-05-23 Michał Pakuła vel Rutka <m.pakula@samsung.com>
</del><ins>+2014-03-29 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- [EFL] Back, Forward and Stop should be hidden in context menu
- https://bugs.webkit.org/show_bug.cgi?id=116615
</del><ins>+ Subpixel rendering: Make GraphicsContext::drawImageBuffer* functions float based.
+ https://bugs.webkit.org/show_bug.cgi?id=130932
</ins><span class="cx">
</span><del>- Reviewed by Christophe Dumez.
</del><ins>+ Reviewed by Simon Fraser.
+
+ This is in preparation to support device pixel based filter painting.
+ Filter calculation is still integral based.
</ins><span class="cx">
</span><del>- Context menu items: Back, Forward, Stop, Reload, should be shown only when
- they are able to perform action.
</del><ins>+ No change in behavior.
</ins><span class="cx">
</span><del>- No new tests - no new functionality.
</del><ins>+ * platform/graphics/GraphicsContext.cpp:
+ (WebCore::GraphicsContext::drawImageBuffer):
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/filters/FilterEffect.cpp: This will eventually be fully float based.
+ Right now, this IntRect->FloatRect change is only to ensure that we can call
+ the float based drawImageBuffer().
+ (WebCore::FilterEffect::drawingRegionOfInputImage):
+ * platform/graphics/filters/FilterEffect.h:
</ins><span class="cx">
</span><del>- * page/ContextMenuController.cpp:
- (WebCore::ContextMenuController::populate):
</del><ins>+2014-03-27 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-22 Dean Jackson <dino@apple.com>
</del><ins>+ Convert yet more of HTMLConverter to C++
+ https://bugs.webkit.org/show_bug.cgi?id=130850
</ins><span class="cx">
</span><del>- Rolling out r150555. It borked about 30 media tests.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><ins>+ * editing/cocoa/HTMLConverter.mm:
+ (HTMLConverterCaches::isAncestorsOfStartToBeConverted):
+ (HTMLConverter::HTMLConverter):
+ (HTMLConverter::~HTMLConverter):
+ (HTMLConverter::convert):
+ (HTMLConverter::computedAttributesForElement):
+ (HTMLConverter::attributesForElement):
+ (HTMLConverter::_newParagraphForElement):
+ (HTMLConverter::_newLineForElement):
+ (HTMLConverter::_newTabForElement):
+ (HTMLConverter::_addAttachmentForElement):
+ (HTMLConverter::_addQuoteForElement):
+ (HTMLConverter::_addValue):
+ (HTMLConverter::_processHeadElement):
+ (HTMLConverter::_enterElement):
+ (HTMLConverter::_addTableCellForElement):
+ (HTMLConverter::_processElement):
+ (HTMLConverter::_addMarkersToList):
+ (HTMLConverter::_exitElement):
+ (HTMLConverter::_processText):
+ (HTMLConverter::_traverseNode):
+ (HTMLConverter::_traverseFooterNode):
+ (WebCore::attributedStringFromRange):
+ (_childrenForNode): Deleted.
+ (HTMLConverter::_computedAttributesForElement): Deleted.
+ (HTMLConverter::_attributesForElement): Deleted.
+ (HTMLConverter::_loadFromDOMRange): Deleted.
+
+2014-03-28 Csaba Osztrogonác <ossy@webkit.org>
+
+ Unreviewed buildfix after r166441 and r166443.
+
+ * CMakeLists.txt: Add platform/audio/AudioHardwareListener.cpp.
+
+2014-03-28 Javier Fernandez <jfernandez@igalia.com>
+
+ [CSS Grid Layout] The 'auto' height must be adapted to the item's margin.
+ https://bugs.webkit.org/show_bug.cgi?id=130920
+
+ Reviewed by Darin Adler.
+
+ Adding the grid-item's marginLogicalHeight to the used breadth when computing
+ content based grid-track sizes.
+
+ Test: fast/css-grid-layout/grid-item-margin-auto-columns-rows.html
+
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::logicalContentHeightForChild):
+
+2014-03-28 James Craig <jcraig@apple.com>
+
+ Web Inspector: AXI: support for live regions
+ https://bugs.webkit.org/show_bug.cgi?id=130725
+
+ Reviewed by Timothy Hatcher.
+
+ Tests: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
+ inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion.html
+
+ Initial support for @aria-live, @aria-atomic, and @aria-busy.
+
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+ * inspector/protocol/DOM.json:
+
+2014-03-28 Darin Adler <darin@apple.com>
+
+ Fix recently-introduced off-by-one error in centerTruncateToBuffer
+ https://bugs.webkit.org/show_bug.cgi?id=130889
+ <rdar://problem/16408694>
+
+ Reviewed by Alexey Proskuryakov.
+
+ * platform/graphics/StringTruncator.cpp:
+ (WebCore::centerTruncateToBuffer): Simplified expression that computes truncatedLength.
+ Removed incorrect "+ 1" from computation of where to write characters.
+
+2014-03-28 Benjamin Poulain <bpoulain@apple.com>
+
+ Update the code related to SelectorPseudoTypeMap to reflect its new purpose
+ https://bugs.webkit.org/show_bug.cgi?id=130620
+
+ Reviewed by Andreas Kling.
+
+ Since r166094, SelectorPseudoTypeMap only contains PseudoClass instances and the 4 compatibility PseudoElement.
+
+ This patch rename SelectorPseudoTypeMap to SelectorPseudoClassAndCompatibilityElementMap and update the parsing
+ to split PseudoClass and PseudoElement.
+
+ * CMakeLists.txt:
+ * DerivedSources.make:
</ins><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::HTMLMediaElement):
- * html/HTMLMediaElement.h:
- * platform/audio/AudioSession.cpp:
- (WebCore):
- (WebCore::AudioSession::AudioSession):
- (WebCore::AudioSession::preferredBufferDuration):
- (WebCore::AudioSession::setPreferredBufferDuration):
- * platform/audio/AudioSession.h:
- * platform/audio/AudioSessionListener.h:
- (AudioSessionListener):
- * platform/audio/AudioSessionManager.cpp: Removed.
- * platform/audio/AudioSessionManager.h: Removed.
- * platform/audio/ios/AudioDestinationIOS.cpp:
- (WebCore::AudioDestinationIOS::configure):
- * platform/audio/ios/AudioSessionIOS.mm:
- (WebCore::AudioSession::preferredBufferDuration):
- (WebCore::AudioSession::setPreferredBufferDuration):
- * platform/audio/mac/AudioDestinationMac.cpp:
- (WebCore::AudioDestination::hardwareSampleRate):
- (WebCore::AudioDestinationMac::AudioDestinationMac):
- (WebCore::AudioDestinationMac::configure):
- * platform/audio/mac/AudioDestinationMac.h:
- (AudioDestinationMac):
- * platform/audio/mac/AudioSessionMac.cpp: Removed.
- * platform/audio/mac/AudioSessionManagerMac.cpp: Removed.
</del><ins>+ * css/CSSGrammar.y.in:
+ * css/CSSParserValues.cpp:
+ (WebCore::CSSParserSelector::parsePseudoClassAndCompatibilityElementSelector):
+ (WebCore::CSSParserSelector::setPseudoClassValue):
+ * css/CSSParserValues.h:
+ * css/CSSSelector.cpp:
+ (WebCore::appendPseudoClassFunctionTail):
+ (WebCore::CSSSelector::selectorText):
+ * css/SelectorPseudoClassAndCompatibilityElementMap.in: Renamed from Source/WebCore/css/SelectorPseudoTypeMap.in.
+ * css/SelectorPseudoTypeMap.h:
+ * css/makeSelectorPseudoClassAndCompatibilityElementMap.py: Renamed from Source/WebCore/css/makeSelectorPseudoTypeMap.py.
+ (enumerablePseudoType):
+ (expand_ifdef_condition):
</ins><span class="cx">
</span><del>-2013-05-20 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+2014-03-28 Stephanie Lewis <slewis@apple.com>
</ins><span class="cx">
</span><del>- Active DOM object resumption should match reason for suspending
- https://bugs.webkit.org/show_bug.cgi?id=116476
</del><ins>+ Unreviewed build fix.
</ins><span class="cx">
</span><del>- Add a reason to the arguments for resuming active DOM object and
- scheduled tasks and ensure that it matches the suspend reason before
- actually resuming the objects.
</del><ins>+ * platform/audio/AudioHardwareListener.cpp:
+ (WebCore::AudioHardwareListener::create):
+ (WebCore::AudioHardwareListener::audioHardwareListenerIsSupported): Deleted.
+ * platform/audio/AudioHardwareListener.h:
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro.
</del><ins>+2014-03-28 Lukasz Bialek <l.bialek@samsung.com>
</ins><span class="cx">
</span><del>- No new tests, no change in functionality.
</del><ins>+ Refactor cut and copy functions as suggested in FIXME line
+ https://bugs.webkit.org/show_bug.cgi?id=129867
</ins><span class="cx">
</span><del>- * bindings/js/PageScriptDebugServer.cpp:
- (WebCore::PageScriptDebugServer::setJavaScriptPaused): Add matching resume reason
- * dom/Document.cpp:
- (WebCore::Document::resumeActiveDOMObjects): Check for matching resume reason
- (WebCore::Document::resumeScheduledTasks): Check for matching resume reason
- * dom/Document.h:
- (Document):
- * dom/ScriptExecutionContext.cpp:
- (WebCore::ScriptExecutionContext::resumeActiveDOMObjects): Check for matching resume reason
- * dom/ScriptExecutionContext.h:
- (ScriptExecutionContext):
- (WebCore::ScriptExecutionContext::reasonForSuspendingActiveDOMObjects): Expose suspend reason to subclasses
- * history/CachedFrame.cpp:
- (WebCore::CachedFrameBase::restore): Add matching resume reason
- * page/Frame.cpp:
- (WebCore::Frame::resumeActiveDOMObjectsAndAnimations): Add matching resume reason
- * page/PageGroupLoadDeferrer.cpp:
- (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer): Add matching resume reason
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-05-22 Dean Jackson <dino@apple.com>
</del><ins>+ Cut and Copy functions in Editor.cpp use lots of common code.
+ Those functions are merged into one to share code, several
+ additional conditions are added to preserve Cut and Copy
+ functionality.
</ins><span class="cx">
</span><del>- Don't snapshot plugins that can't be snapshotted
- https://bugs.webkit.org/show_bug.cgi?id=116490
</del><ins>+ * editing/Editor.cpp:
+ (WebCore::Editor::cut):
+ (WebCore::Editor::copy):
+ (WebCore::Editor::performCutOrCopy):
+ * editing/Editor.h:
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+2014-03-28 Stephanie Lewis <slewis@apple.com>
</ins><span class="cx">
</span><del>- Some plugins, such as QuickTime, don't support snapshotting. We're
- planning on another way to capture snapshots, but in the meantime make
- sure that they don't fail to initialise because they were told to
- not use accelerated rendering.
</del><ins>+ Rename pluginDidEvaluate to better represent when it’s called.
+ Part of <rdar://problem/16061257> PluginProcess should AppNap when no plugins on active tab.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Export restartSnapshottedPlugin so that it can be used from WK2.
- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::restartSimilarPlugIns): Don't set the play state before restarting.
- (WebCore::HTMLPlugInImageElement::userDidClickSnapshot): Make sure we indicated that this snapshotted plugin was clicked.
- * html/HTMLPlugInImageElement.h: Move restartSnapshottedPlugin from protected to public.
- * rendering/RenderSnapshottedPlugIn.cpp:
- (WebCore::RenderSnapshottedPlugIn::handleEvent): Don't set play state here. Let the restart functions do it.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>-2013-05-22 Max Vujovic <mvujovic@adobe.com>
</del><ins>+ No new test because it’s just a name change.
</ins><span class="cx">
</span><del>- [CSS Shaders] valueForCustomFilterTransformParameter should check that renderer is a RenderBox
- https://bugs.webkit.org/show_bug.cgi?id=116464
</del><ins>+ * page/PageThrottler.h:
+ (WebCore::PageThrottler::pluginDidEvaluateWhileAudioIsPlaying):
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+2014-03-28 Stephanie Lewis <slewis@apple.com>
</ins><span class="cx">
</span><del>- If the renderer is not a RenderBox, we just use a zero size to compute the transform,
- like in CSSComputedStyleDeclaration::computedTransform.
</del><ins>+ Notification handler for telling if audio hardware is active.
+ https://bugs.webkit.org/show_bug.cgi?id=130743
</ins><span class="cx">
</span><del>- Test: css3/filters/custom/custom-filter-crash-inline-computed-style.html
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::valueForCustomFilterTransformParameter):
</del><ins>+ Not web-exposed so no easy way to test.
</ins><span class="cx">
</span><del>-2013-05-22 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Listen to CoreAudio to see if audio hardware is active in the current process.
</ins><span class="cx">
</span><del>- Fix assertion in the getComputedStyle-background-shorthand.html test
- https://bugs.webkit.org/show_bug.cgi?id=116639
</del><ins>+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/audio/AudioHardwareListener.cpp: Added.
+ (WebCore::AudioHardwareListener::create):
+ (WebCore::AudioHardwareListener::AudioHardwareListener):
+ * platform/audio/AudioHardwareListener.h: Added.
+ (WebCore::AudioHardwareListener::Client::~Client):
+ (WebCore::AudioHardwareListener::~AudioHardwareListener):
+ (WebCore::AudioHardwareListener::isHardwareActive):
+ * platform/audio/mac/AudioHardwareListenerMac.cpp: Added.
+ (WebCore::isAudioHardwareProcessRunning):
+ (WebCore::AudioHardwareListener::create):
+ (WebCore::AudioHardwareListenerMac::create):
+ (WebCore::AudioHardwareListenerMac::AudioHardwareListenerMac):
+ (WebCore::AudioHardwareListenerMac::~AudioHardwareListenerMac):
+ (WebCore::AudioHardwareListenerMac::setHardwareActive):
+ * platform/audio/mac/AudioHardwareListenerMac.h: Added.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-03-28 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- getComputedStyle-background-shorthand.html was asserting under the newly added
- code in willBeRemovedFromTree(). The assertion was caused by too many calls to
- FrameView::removeSlowRepaintObject(), which happened because we called it for
- RenderTexts, which share style with their parent renderer.
-
- RenderText overrides styleWillChange() to do nothing, so we never
- call add/removeSlowRepaintObject() for them. Thus we should also skip this
- work in willBeRemovedFromTree() for RenderTexts.
</del><ins>+ Web Inspector: AXI: expose what elements get generic "clickable" status
+ https://bugs.webkit.org/show_bug.cgi?id=130721
</ins><span class="cx">
</span><del>- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::willBeRemovedFromTree):
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-05-22 Bem Jones-Bey <bjonesbe@adobe.com>
</del><ins>+ Test: inspector-protocol/dom/getAccessibilityPropertiesForNode.html:
+ Test: inspector-protocol/dom/getAccessibilityPropertiesForNode_mouseEventNodeId.html
</ins><span class="cx">
</span><del>- Heap-use-after-free in WebCore::RenderLayerModelObject::hasSelfPaintingLayer
- https://bugs.webkit.org/show_bug.cgi?id=116626
</del><ins>+ Expose ancestor element link to "Click Listener" or generic "Clickable: Yes" if current node has mouse handler.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Update AccessibilityNodeObject::mouseButtonListener() to optionally return body element if
+ requested so that Web Inspector can display body event delegate handlers.
</ins><span class="cx">
</span><del>- This is a port of a Blink bug fix by Emil Eklund.
</del><ins>+ * accessibility/AccessibilityNodeObject.cpp:
+ (WebCore::AccessibilityNodeObject::mouseButtonListener):
+ * accessibility/AccessibilityNodeObject.h:
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+ * inspector/protocol/DOM.json:
</ins><span class="cx">
</span><del>- Account for saturated estimated position in RenderBlock::layoutBlockChild.
</del><ins>+2014-03-28 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- If the estimated top position is saturated the comparison with oldLogicalTop
- might yield a false negative as adding and removing margins, borders etc from
- a saturated number might yield incorrect results. If this is the case always
- mark for layout.
</del><ins>+ Web Inspector: Really drop all locks in nested run loop on iOS if WebThread is enabled
+ https://bugs.webkit.org/show_bug.cgi?id=130912
</ins><span class="cx">
</span><del>- Minimal test case impractical. See bug for raw fuzzer test case.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- * platform/LayoutUnit.h:
- (WebCore::LayoutUnit::mightBeSaturated): Add helper method for checking whether
- a number might be saturated.
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::layoutBlockChild): Check if logicalTopEstimate is likely
- to be saturated and if so mark for layout.
</del><ins>+ Previously we were calling DropAllLocks inside of a single line if statement,
+ so the JSLock was getting reaquired very quickly. We really want to DropAllLocks
+ for the duration of running the nested run loop on iOS if there is a WebThread.
</ins><span class="cx">
</span><del>-2013-05-22 Benjamin Poulain <benjamin@webkit.org>
</del><ins>+ * bindings/js/PageScriptDebugServer.h:
+ * bindings/js/PageScriptDebugServer.cpp:
+ (WebCore::PageScriptDebugServer::runEventLoopWhilePaused):
+ (WebCore::PageScriptDebugServer::runEventLoopWhilePausedInternal):
</ins><span class="cx">
</span><del>- Remove CSSPropertySourceData emptyCSSPropertySourceData
- https://bugs.webkit.org/show_bug.cgi?id=116517
</del><ins>+2014-03-28 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ [Win] Enable Media Track testing features on Windows
+ https://bugs.webkit.org/show_bug.cgi?id=130851
</ins><span class="cx">
</span><del>- This was added for chromium and does not seem to be used
- anywhere anymore.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * css/CSSParser.cpp:
- (WebCore::CSSParser::CSSParser):
- * css/CSSPropertySourceData.cpp:
- * css/CSSPropertySourceData.h:
</del><ins>+ * testing/Internals.cpp:
+ (WebCore::Internals::resetToConsistentState): Execute code on Windows as well.
+ (WebCore::Internals::Internals): Ditto.
+ (WebCore::Internals::captionsStyleSheetOverride): Ditto.
+ (WebCore::Internals::setCaptionsStyleSheetOverride): Ditto.
+ (WebCore::Internals::setPrimaryAudioTrackLanguageOverride): Ditto.
+ (WebCore::Internals::setCaptionDisplayMode): Ditto.
</ins><span class="cx">
</span><del>-2013-05-22 Csaba Osztrogonác <ossy@webkit.org>
</del><ins>+2014-03-28 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- Buildfix for !ENABLE(FULLSCREEN_API) platforms.
</del><ins>+ Web Replay: add page-level setting to bypass the MemoryCache
+ https://bugs.webkit.org/show_bug.cgi?id=130728
</ins><span class="cx">
</span><del>- Rubber-stamped by Ryosuke Niwa.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- * rendering/RenderInline.cpp: Missing #if guard added.
- (WebCore::RenderInline::splitInlines):
</del><ins>+ When replaying a specific Page we don't want to store its cached resources in the
+ MemoryCache. This patch adds a page setting to prevent the page's resources from
+ being saved in the MemoryCache.
</ins><span class="cx">
</span><del>-2013-05-22 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ If Settings::usesMemoryCache() is false, page resources are given the special
+ SessionID bypassCacheSessionID(). The cached resource loader and memory cache
+ act as if the memory cache is disabled if the resource has this special session id.
</ins><span class="cx">
</span><del>- Fix a typo in 150469.
</del><ins>+ Hook up ReplayController to override the memory cache setting during capture/replay.
</ins><span class="cx">
</span><del>- * editing/Editor.cpp:
- (WebCore::dispatchEditableContentChangedEvents):
</del><ins>+ Test: http/tests/cache/bypass-memory-cache-after-reload.html
</ins><span class="cx">
</span><del>-2013-05-22 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * loader/cache/CachedResourceLoader.cpp:
+ (WebCore::CachedResourceLoader::requestResource):
+ (WebCore::CachedResourceLoader::revalidateResource):
+ * loader/cache/MemoryCache.cpp:
+ (WebCore::MemoryCache::add):
+ * page/Page.cpp:
+ (WebCore::Page::sessionID):
+ * page/SessionID.h:
+ (WebCore::SessionID::bypassCacheSessionID):
+ * page/Settings.cpp:
+ (WebCore::Settings::Settings):
+ * page/Settings.h:
+ (WebCore::Settings::setUsesMemoryCache):
+ (WebCore::Settings::usesMemoryCache):
+ * replay/ReplayController.cpp:
+ (WebCore::ReplayController::setForceDeterministicSettings):
+ * replay/ReplayController.h:
+ * testing/InternalSettings.cpp:
+ (WebCore::InternalSettings::Backup::Backup):
+ (WebCore::InternalSettings::Backup::restoreTo):
+ (WebCore::InternalSettings::setUsesMemoryCache):
+ * testing/InternalSettings.h:
+ * testing/InternalSettings.idl:
</ins><span class="cx">
</span><del>- REGRESSION: ASSERTION FAILED: obj->isRenderInline() || obj == this, Bad cast in WebCore::RenderBlock::createLineBoxes
- https://bugs.webkit.org/show_bug.cgi?id=110622
</del><ins>+2014-03-28 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><ins>+ In some situations, partial layouts of floating elements produce incorrect results.
+ https://bugs.webkit.org/show_bug.cgi?id=122668
+
</ins><span class="cx"> Reviewed by David Hyatt.
</span><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/998ad358eed702b873dd54697b3fa3f952e0feb7
</del><ins>+ When performing partial layout of float elements and checking if other float
+ elements are encountered, incorrect results were obtained by not checking
+ the size of the existing floats vector.
</ins><span class="cx">
</span><del>- Inserting an element before the fullscreened element could crash if it caused a containing inline to be split,
- since the splitting logic doesn't expect the fullscreened element to be wrapped in a RenderFullScreen. This patch changes
- inline splitting to be aware of RenderFullScreen.
</del><ins>+ Test: fast/block/float/floats-in-clean-line-crash.html
</ins><span class="cx">
</span><del>- Test: fullscreen/full-screen-inline-split-crash.html
</del><ins>+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlockFlow::checkFloatsInCleanLine):
</ins><span class="cx">
</span><del>- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::splitInlines):
</del><ins>+2014-03-28 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>-2013-05-22 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Build fix.
</ins><span class="cx">
</span><del>- Fix issues with focus rings on search fields
- https://bugs.webkit.org/show_bug.cgi?id=116591
</del><ins>+ * rendering/RenderTheme.cpp:
+ (WebCore::RenderTheme::paint):
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
-
- On a future OS, the rect returned by _focusRingVisibleRect should
- be in the coordinate system of the that NSView, not the base
- coordinate system, so fix the code that sets and reads the global
- focusRingClipRect variable accordingly.
</del><ins>+2014-03-28 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/mac/WebLayer.mm:
- (drawLayerContents):
</del><ins>+ [MSE] Implement support for SourceBuffer.remove()
+ https://bugs.webkit.org/show_bug.cgi?id=121562
+
+ Reviewed by Eric Carlson.
+
+ Test: media/media-source/media-source-remove.html
+
+ Add support for SourceBuffer.remove().
+
+ * Modules/mediasource/SourceBuffer.cpp:
+ (WebCore::SourceBuffer::SourceBuffer): Initialize new member variables.
+ (WebCore::SourceBuffer::setTimestampOffset): Update comments to match spec.
+ (WebCore::SourceBuffer::remove): Added; start removeTimer.
+ (WebCore::SourceBuffer::abortIfUpdating): Cancel removeTimer.
+ (WebCore::SourceBuffer::removedFromMediaSource): Call abortIfUpdating().
+ (WebCore::SourceBuffer::stop): Cancel removeTimer.
+ (WebCore::SourceBuffer::removeCodedFrames): Added.
+ (WebCore::SourceBuffer::removeTimerFired): Added.
+ * Modules/mediasource/SourceBuffer.h:
+ * Modules/mediasource/SourceBuffer.idl:
+
+2014-03-27 Dean Jackson <dino@apple.com>
+
+ Support form controls that may need incremental redraw
+ https://bugs.webkit.org/show_bug.cgi?id=130736
+
+ Reviewed by Beth Dakin.
+
+ There are some form controls that change appearance
+ over time. Expand the ControlStates so that it can
+ hold a little more information, including a reference
+ to the native form control. This way the Theme implementation
+ can repaint the existing native control if necessary. At
+ least ThemeMac was reusing a single control for painting
+ all instances before this change.
+
+ Since ControlStates is now a class, pass it around by
+ reference.
+
+ The other major change is keeping a timer to trigger a
+ repaint in RenderBox, which happens if Theme/RenderTheme
+ update the ControlState to request one.
+
+ * WebCore.xcodeproj/project.pbxproj: Add ControlStates.h.
+ * WebCore.vcxproj/WebCore.vcxproj: Ditto.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
+ * dom/Element.cpp:
+ (WebCore::Element::setActive): States now within ControlStates.
+ (WebCore::Element::setHovered): Ditto.
+ * editing/FrameSelection.cpp:
+ (WebCore::FrameSelection::focusedOrActiveStateChanged): Ditto.
+ * html/HTMLFormControlElement.cpp:
+ (WebCore::HTMLFormControlElement::disabledStateChanged): Ditto.
+ (WebCore::HTMLFormControlElement::readOnlyAttributeChanged): Ditto.
+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::setChecked): Ditto.
+ (WebCore::HTMLInputElement::setIndeterminate): Ditto.
+ * html/HTMLOptionElement.cpp:
+ (WebCore::HTMLOptionElement::parseAttribute): Ditto.
+ * platform/ControlStates.h: New file. Copied the old ControlStates enum,
+ and added accessors to hold whether or not the state is dirty, and
+ a reference to a platform control if necessary.
+ * platform/Theme.h:
+ (WebCore::Theme::selectionColor): Pass ControlStates pointer.
+ (WebCore::Theme::paint): Ditto.
+ (WebCore::Theme::inflateControlPaintRect): Ditto.
+ * platform/ThemeTypes.h: Remove ControlStates enum.
+ * platform/efl/RenderThemeEfl.cpp:
+ (WebCore::RenderThemeEfl::applyEdjeStateFromForm): Pass ControlStates pointer.
+ (WebCore::RenderThemeEfl::paintThemePart): Ditto.
+ * platform/efl/RenderThemeEfl.h: Ditto.
+ * platform/mac/ThemeMac.h: Ditto.
</ins><span class="cx"> * platform/mac/ThemeMac.mm:
</span><del>- (-[WebCoreFlippedView _focusRingVisibleRect]):
</del><ins>+ (-[WebCoreThemeView addSubview:]): New method to make sure we don't add CALayer backed
+ views to the NSView we're using for rendering.
+ (WebCore::updateStates): Use the private animated setters if necessary.
+ (WebCore::convertControlStatesToThemeDrawState): Namespacing.
+ (WebCore::configureCheckbox): Pass ControlStates pointer.
+ (WebCore::createCheckboxCell): New helper since we're creating non-static cells.
+ (WebCore::sharedCheckboxCell): The old static provider, renamed.
+ (WebCore::paintCheckbox): Check if this paint was triggered by a state change
+ or an animation. Update the ControlStates if we need to be repainted.
+ (WebCore::radio): Parameter is now ControlStates*.
+ (WebCore::paintRadio): Ditto.
+ (WebCore::setUpButtonCell): Ditto.
+ (WebCore::button): Ditto.
+ (WebCore::paintButton): Ditto.
+ (WebCore::paintStepper): Ditto.
+ (WebCore::ThemeMac::ensuredView): Ditto.
+ (WebCore::ThemeMac::inflateControlPaintRect): Ditto.
+ (WebCore::ThemeMac::paint): Ditto.
+ (WebCore::checkbox): Deleted.
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::RenderBox): Initialize timer.
+ (WebCore::RenderBox::~RenderBox): Stop any pending timers and delete the ControlState if necessary.
+ (WebCore::RenderBox::paintBoxDecorations): Create a ControlStates if needed. Paint, and start the repaint
+ timer if the ControlStates say we should.
+ (WebCore::RenderBox::repaintTimerFired): Call repaint when the timer fires.
+ * rendering/RenderBox.h: Add a timer for repainting.
+ * rendering/RenderElement.cpp:
+ (WebCore::controlStatesRendererMap): A static HashMap that associates renderers with ControlStates.
+ (WebCore::RenderElement::hasControlStatesForRenderer):
+ (WebCore::RenderElement::controlStatesForRenderer):
+ (WebCore::RenderElement::removeControlStatesForRenderer):
+ (WebCore::RenderElement::addControlStatesForRenderer):
+ * rendering/RenderElement.h:
+ * rendering/RenderTheme.cpp:
+ (WebCore::RenderTheme::paint): Use a pointer to ControlStates.
+ (WebCore::RenderTheme::adjustRepaintRect): Ditto.
+ (WebCore::RenderTheme::stateChanged): Ditto.
+ (WebCore::RenderTheme::updateControlStatesForRenderer): New method that just updates the states part of ControlStates.
+ (WebCore::RenderTheme::extractControlStatesForRenderer): New method that calculates the state.
+ (WebCore::RenderTheme::controlStatesForRenderer): Deleted.
+ * rendering/RenderTheme.h:
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::documentViewFor): Use a ControlStates pointer.
</ins><span class="cx">
</span><del>-2013-05-22 Simon Fraser <simon.fraser@apple.com>
</del><ins>+2014-03-28 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- New Flickr doesn't get fast scrolling but should
- https://bugs.webkit.org/show_bug.cgi?id=116514
</del><ins>+ Clear SVGInlineTextBox fragments when the text changes.
+ https://bugs.webkit.org/show_bug.cgi?id=130879
</ins><span class="cx">
</span><span class="cx"> Reviewed by Darin Adler.
</span><ins>+
+ Ported from Blink: https://src.chromium.org/viewvc/blink?revision=150456&view=revision
+
+ This patch modifies SVGInlineTextBox::dirtyLineBoxes to clear all
+ following text boxes when invoked. Typically this method is called
+ when the underlying text string changes, and that change needs to
+ be propagated to all the boxes that use the text beyond the point
+ where the text is first modified.
</ins><span class="cx">
</span><del>- RenderObject increments and decrements a counter of slow repaint objects on
- FrameView when it sees style changes related to background-attachment:fixed.
- However, it omitted to decrement the count when a renderer with a fixed background
- was destroyed.
-
- This caused Flickr to never fall into fast scrolling mode, since it toggled
- display:none on an element with a fixed background during loading, then removed
- the fixed background.
-
- Did some minor cleanup of #ENABLE(FAST_MOBILE_SCROLLING) crap.
</del><ins>+ Also cleans up final function keywords for SVGRootInlineBox.
</ins><span class="cx">
</span><del>- Tests: platform/mac-wk2/tiled-drawing/slow-scrolling-background-toggle.html
- platform/mac-wk2/tiled-drawing/slow-scrolling-hidden-background-toggle.html
- platform/mac-wk2/tiled-drawing/slow-scrolling.html
</del><ins>+ Test: svg/custom/unicode-in-tspan-multi-svg-crash.html
</ins><span class="cx">
</span><del>- * rendering/RenderObject.cpp:
- (WebCore::shouldRepaintFixedBackgroundsOnScroll):
- (WebCore::RenderObject::styleWillChange):
- (WebCore::RenderObject::willBeRemovedFromTree):
</del><ins>+ * rendering/InlineTextBox.h: Added (non-recursive) dirtyOwnLineBoxes() function
+ (WebCore::InlineTextBox::dirtyOwnLineBoxes): Calls dirtyLineBoxes()
+ * rendering/svg/SVGInlineTextBox.h: Added (non-recursive) dirtyOwnLineBoxes() function
+ (WebCore::SVGInlineTextBox::dirtyOwnLineBoxes):
+ * rendering/svg/SVGInlineTextBox.cpp:
+ (WebCore::SVGInlineTextBox::dirtyOwnLineBoxes): Non-recursive part of dirtyLineBoxes()
+ (WebCore::SVGInlineTextBox::dirtyLineBoxes): Calls dirtyOwnLineBoxes() in a loop
+ * rendering/svg/SVGRootInlineBox.h:
</ins><span class="cx">
</span><del>-2013-05-22 Robert Hogan <robert@webkit.org>
</del><ins>+2014-03-28 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Need to Remove Anonymous Wrappers When All Children Become Inline
- https://bugs.webkit.org/show_bug.cgi?id=115687
</del><ins>+ Rebaseline bindings tests.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+2014-03-28 Michael Saboff <msaboff@apple.com>
</ins><span class="cx">
</span><del>- Remove a simple subset of anonymous wrappers, i.e. anonymous blocks without continuations,
- when a block becoming float or positioned removes the need for them.
</del><ins>+ Unreviewed, rolling r166248 back in.
</ins><span class="cx">
</span><del>- Test: fast/block/remove-anonymous-wrappers-when-element-changes-to-float-or-positioned.html
</del><ins>+ Turns out r166070 didn't cause a 2% performance loss in page load times
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.h:
- (RenderBlock):
- * rendering/RenderObject.cpp:
- (WebCore):
- (WebCore::RenderObject::removeAnonymousWrappersFromLineIfNecessary):
- (WebCore::RenderObject::styleWillChange):
- (WebCore::RenderObject::styleDidChange):
- * rendering/RenderObject.h:
- (RenderObject):
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>-2013-05-22 Bruno de Oliveira Abinader <bruno.abinader@basyskom.com>
</del><ins>+ Unreviewed, rolling out r166126.
+ Rollout r166126 in prepartion to roll out prerequisite r166070
</ins><span class="cx">
</span><del>- [css] Update ETextDecorations enum to TextDecorations
- https://bugs.webkit.org/show_bug.cgi?id=116581
</del><ins>+2014-03-26 Antonio Gomes <a1.gomes@sisa.samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ [Bindings] constants are always typed to 'int'
+ https://bugs.webkit.org/show_bug.cgi?id=130775
</ins><span class="cx">
</span><del>- Currently, ETextDecorations enum uses a C-like coding style for its
- enumeration values, as well as a 'E' prefix that surely had some meaning
- in the past, but not nowadays.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- No behavior changes, covered by existing tests.
</del><ins>+ Patch fixes a bug where all constant getter generated
+ methods were returning 'integer' values due to static_cast.
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::hasPlainText):
- (WebCore::AccessibilityRenderObject::hasUnderline):
- * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
- (getAttributeSetForAccessibilityObject):
- * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
- (AXAttributeStringSetStyle):
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (AXAttributeStringSetStyle):
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::renderTextDecorationFlagsToCSSValue):
- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::operator TextDecoration):
- * css/DeprecatedStyleBuilder.cpp:
- (WebCore::ApplyPropertyTextDecoration::applyValue):
- (WebCore::ApplyPropertyTextDecoration::createHandler):
- * editing/mac/EditorMac.mm:
- (WebCore::Editor::fontAttributesForSelectionStart):
- * platform/mac/HTMLConverter.mm:
- (+[WebHTMLConverter editingAttributedStringFromRange:]):
- * rendering/InlineTextBox.cpp:
- (WebCore::InlineTextBox::paint):
- (WebCore::InlineTextBox::paintDecoration):
- * rendering/InlineTextBox.h:
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::getTextDecorationColors):
- * rendering/style/RenderStyle.h:
- * rendering/style/RenderStyleConstants.h:
- (WebCore::operator|):
- (WebCore::operator|=):
- * rendering/style/StyleVisualData.h:
- (StyleVisualData):
- * rendering/svg/SVGInlineTextBox.cpp:
- (WebCore::SVGInlineTextBox::paint):
- (WebCore::positionOffsetForDecoration):
- (WebCore::thicknessForDecoration):
- (WebCore::findRenderObjectDefininingTextDecoration):
- (WebCore::SVGInlineTextBox::paintDecoration):
- (WebCore::SVGInlineTextBox::paintDecorationWithStyle):
- * rendering/svg/SVGInlineTextBox.h:
</del><ins>+ Compilers should be smarth enough to properly infer which
+ jsNumber class construtor to call given a literal value.
</ins><span class="cx">
</span><del>-2013-05-22 Lori Anderson <lori@rkymtnhi.com>
</del><ins>+ Patch also fixes a bug where values whose representation
+ is bigger an integer maximum were overflowing. For instance,
+ NodeFilter.SHOW_ALL (0xFFFFFFFF).
</ins><span class="cx">
</span><del>- [GStreamer] Allow multiple log levels in media player
- https://bugs.webkit.org/show_bug.cgi?id=116618
</del><ins>+ Tests:
+ Binding tests updated.
+ Rebaselined fast/dom/constants.html
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::jsTestInterfaceIMPLEMENTSCONSTANT1):
+ (WebCore::jsTestInterfaceIMPLEMENTSCONSTANT2):
+ (WebCore::jsTestInterfaceSUPPLEMENTALCONSTANT1):
+ (WebCore::jsTestInterfaceSUPPLEMENTALCONSTANT2):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::jsTestObjCONDITIONAL_CONST):
+ (WebCore::jsTestObjCONST_VALUE_0):
+ (WebCore::jsTestObjCONST_VALUE_1):
+ (WebCore::jsTestObjCONST_VALUE_2):
+ (WebCore::jsTestObjCONST_VALUE_4):
+ (WebCore::jsTestObjCONST_VALUE_8):
+ (WebCore::jsTestObjCONST_VALUE_9):
+ (WebCore::jsTestObjCONST_VALUE_11):
+ (WebCore::jsTestObjCONST_VALUE_12):
+ (WebCore::jsTestObjCONST_VALUE_13):
+ (WebCore::jsTestObjCONST_VALUE_14):
+ (WebCore::jsTestObjCONST_JAVASCRIPT):
+ (WebCore::jsTestObjReadonly):
</ins><span class="cx">
</span><del>- No new tests, just changing logging.
</del><ins>+2014-03-28 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/GStreamerUtilities.h:
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
- (WebCore::MediaPlayerPrivateGStreamer::load):
- (WebCore::MediaPlayerPrivateGStreamer::pause):
- (WebCore::MediaPlayerPrivateGStreamer::seek):
- (WebCore::MediaPlayerPrivateGStreamer::setRate):
- (WebCore::MediaPlayerPrivateGStreamer::handleMessage):
</del><ins>+ A TrailingObject's endpoint might get decremented twice
+ https://bugs.webkit.org/show_bug.cgi?id=130874
</ins><span class="cx">
</span><del>-2013-05-22 Beth Dakin <bdakin@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- The LayoutMilestones didLayout callback sometimes fires with a milestone value of 0
- https://bugs.webkit.org/show_bug.cgi?id=116623
</del><ins>+ There are two places where we might shave off a trailing space from the end
+ of a line. We don't want to hit both codepaths for a single line.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Fixes fast/block/update-midpoints-for-trailing-boxes-crash.html after r166245.
</ins><span class="cx">
</span><del>- Make sure we have actually achieved some milestones before calling didLayout().
- * page/FrameView.cpp:
- (WebCore::FrameView::performPostLayoutTasks):
</del><ins>+ * rendering/line/BreakingContextInlineHeaders.h:
+ (WebCore::checkMidpoints):
+ (WebCore::BreakingContext::handleEndOfLine):
</ins><span class="cx">
</span><del>-2013-05-22 Mario Sanchez Prada <mario.prada@samsung.com>
</del><ins>+2014-03-28 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- [GTK] Reimplement atk_text_get_text_*_offset for CHAR boundary
- https://bugs.webkit.org/show_bug.cgi?id=114870
</del><ins>+ Inline JSDOMWrapper subclasses' finishCreation().
+ <https://webkit.org/b/130890>
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ finishCreation() is really a no-op for JSDOMWrapper subclasses in
+ release builds. None of the ancestor classes do anything but assert
+ in their implementations.
</ins><span class="cx">
</span><del>- Re-implement this functions without using GailTextUtil nor Pango.
</del><ins>+ Generate the function inline, reducing binary size, and removing
+ an unnecessary call from the JSFoo::create() helpers.
</ins><span class="cx">
</span><del>- * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
- (webkitAccessibleTextGetChar): New function.
- (webkitAccessibleTextGetTextForOffset): Call the new function for CHAR.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>-2013-05-22 Antoine Quint <graouts@apple.com>
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateHeader):
+ (GenerateImplementation):
</ins><span class="cx">
</span><del>- [Mac] Captions menu isn't internationalized, doesn't use rtl layout for rtl languages
- https://bugs.webkit.org/show_bug.cgi?id=116605
</del><ins>+2014-03-28 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><ins>+ [Mac] HLS streams will report an incorrect natural size.
+ https://bugs.webkit.org/show_bug.cgi?id=130859
+
</ins><span class="cx"> Reviewed by Eric Carlson.
</span><span class="cx">
</span><del>- Ensure that rtl languages are properly recognized by the captions menu such that text
- layout and alignment is natural.
</del><ins>+ Some HLS streams will report incorrect naturalSizes due to the asset's preferredTransform
+ property not being available at the same time as the track's natural size. Given that
+ AVFoundation only allows one video track to be selected at a time, simply use the asset's
+ presentation size, cached in m_cachedPresentation size in all cases.
</ins><span class="cx">
</span><del>- * css/mediaControls.css:
- (::-webkit-media-controls):
- Remove the forced "direction: ltr" property which was forcing all layout to be
- left-to-right.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::sizeChanged):
</ins><span class="cx">
</span><del>- * css/mediaControlsQuickTime.css:
- (video::-webkit-media-controls-closed-captions-track-list):
- Remove the forced "text-align: left" property which was forcing all caption
- titles to be left-aligned.
</del><ins>+2014-03-28 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- (video::-webkit-media-controls-closed-captions-track-list h3):
- Use "-webkit-margin-start" instead of "padding-left" to position the heading
- such that it adds the margin on the left for ltr languages and on the right
- for rtl languages.
</del><ins>+ Remove NodeListRootType flag
+ https://bugs.webkit.org/show_bug.cgi?id=130896
</ins><span class="cx">
</span><del>- (video::-webkit-media-controls-closed-captions-track-list li):
- Set "position: relative" such that the ::before pseudo-class can use "position: absolute"
- to position itself relative to the caption title rather than the list element.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- (video::-webkit-media-controls-closed-captions-track-list li.selected::before):
- (video::-webkit-media-controls-closed-captions-track-list li.selected:hover::before):
- Make the checkmarks a ::before pseudo-class rather than a background-image such that
- we may control its positioning using the internationlization-friendly "-webkit-margin-start"
- property.
</del><ins>+ This can be handled statically (except for the RadioNodeList case) removing
+ a branch from NodeList traversal.
</ins><span class="cx">
</span><del>- * html/shadow/MediaControlElements.cpp:
- (WebCore::MediaControlClosedCaptionsContainerElement::create):
- Set the "dir" attribute to "auto" such that rtl languages are correctly handled. This
- means that the first string displayed within the captions container, currently the
- "Subtitles" <h3> element, defines the direction for the whole container. It is therefore
- crucial that this string is properly localized in rtl languages as falling back to
- english would mean the entire caption container is using ltr.
</del><ins>+ * dom/ClassNodeList.h:
+ * dom/Document.cpp:
+ (WebCore::Document::registerNodeListForInvalidation):
+ (WebCore::Document::unregisterNodeListForInvalidation):
+ (WebCore::Document::registerNodeList): Deleted.
+ (WebCore::Document::unregisterNodeList): Deleted.
+
+ Mark document invalidation registered lists with a bit.
+ Renamed for clarity.
</ins><span class="cx">
</span><del>-2013-05-22 Hugo Parente Lima <hugo.lima@openbossa.org>
</del><ins>+ * dom/Document.h:
+ * dom/LiveNodeList.cpp:
+ (WebCore::LiveNodeList::LiveNodeList):
+ (WebCore::LiveNodeList::rootNode):
+
+ Base class version that invokes virtual isRootedAtDocument. It is needed to support
+ LiveNodeList::namedItem.
</ins><span class="cx">
</span><del>- WebCore fails to compile with -Werror=maybe-uninitialized on GCC 4.8.0
- https://bugs.webkit.org/show_bug.cgi?id=116340
</del><ins>+ * dom/LiveNodeList.h:
+ (WebCore::LiveNodeList::isRegisteredForInvalidationAtDocument):
+ (WebCore::LiveNodeList::setRegisteredForInvalidationAtDocument):
+ (WebCore::LiveNodeList::document):
+ (WebCore::CachedLiveNodeList<NodeListType>::CachedLiveNodeList):
+ (WebCore::CachedLiveNodeList<NodeListType>::~CachedLiveNodeList):
+ (WebCore::CachedLiveNodeList<NodeListType>::rootNode):
+
+ Call isRootedAtDocument on the final leaf type. Except for RadioNodeList this
+ resolves statically.
</ins><span class="cx">
</span><del>- Reviewed by Christophe Dumez.
</del><ins>+ (WebCore::CachedLiveNodeList<NodeListType>::willValidateIndexCache):
+ (WebCore::CachedLiveNodeList<NodeListType>::invalidateCache):
+ (WebCore::LiveNodeList::isRootedAtDocument): Deleted.
+ (WebCore::LiveNodeList::rootType): Deleted.
+ (WebCore::LiveNodeList::rootNode): Deleted.
+ * dom/NameNodeList.h:
+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::adoptDocument):
+ * dom/TagNodeList.h:
+ * html/HTMLCollection.cpp:
+ (WebCore::rootTypeFromCollectionType):
+ * html/HTMLCollection.h:
+ (WebCore::HTMLCollection::isRootedAtDocument):
+ (WebCore::HTMLCollection::rootType):
+
+ HTMLCollections still needs the flag.
</ins><span class="cx">
</span><del>- No new tests, just a simple build fix.
</del><ins>+ * html/LabelsNodeList.cpp:
+ (WebCore::LabelsNodeList::LabelsNodeList):
+ * html/LabelsNodeList.h:
+ * html/RadioNodeList.cpp:
+ (WebCore::RadioNodeList::RadioNodeList):
+ * html/RadioNodeList.h:
</ins><span class="cx">
</span><del>- * inspector/InspectorDOMStorageAgent.cpp:
- (WebCore::InspectorDOMStorageAgent::setDOMStorageItem): Init frame variable.
- (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem): Init frame variable.
</del><ins>+2014-03-28 Mario Sanchez Prada <mario.prada@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-22 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ [GTK] Geoclue2 providers won't work after reloading
+ https://bugs.webkit.org/show_bug.cgi?id=130898
</ins><span class="cx">
</span><del>- Have IDL interface names match their global constructor
- https://bugs.webkit.org/show_bug.cgi?id=116520
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Don't reuse the Geoclue2 client proxy between different calls to
+ startPosition(), and create a new client proxy each time instead.
</ins><span class="cx">
</span><del>- Have IDL interface names match their global constructor name on DOMWindow.idl
- using [InterfaceName] extended attribute. This affects in particular webkit
- prefixed constructors. This is mandated by Web IDL specification:
- http://dev.w3.org/2006/webapi/WebIDL/#es-interfaces
</del><ins>+ * platform/geoclue/GeolocationProviderGeoclue2.cpp:
+ (GeolocationProviderGeoclue::startUpdating): Don't reuse the
+ client proxy, by always calling geoclue_manager_call_get_client().
+ (GeolocationProviderGeoclue::stopUpdating): Disconnect from the
+ 'location-updated' signal and dispose the client proxy.
</ins><span class="cx">
</span><del>- As a consequence, we can now get rid of [NoInterfaceObject] extended attribute
- for those interfaces and have their global constructors automatically generated
- by the bindings generator.
</del><ins>+2014-03-28 Diego Pino Garcia <dpino@igalia.com>
</ins><span class="cx">
</span><del>- No new tests, no behavior change for layout tests.
</del><ins>+ [GTK] Too many redirects visiting www.globalforestwatch.org
+ https://bugs.webkit.org/show_bug.cgi?id=129681
</ins><span class="cx">
</span><del>- * Modules/mediasource/MediaSource.idl:
- * Modules/mediasource/SourceBuffer.idl:
- * Modules/mediasource/SourceBufferList.idl:
- * Modules/mediastream/MediaStream.idl:
- * Modules/mediastream/RTCPeerConnection.idl:
- * Modules/speech/SpeechGrammar.idl:
- * Modules/speech/SpeechGrammarList.idl:
- * Modules/speech/SpeechRecognition.idl:
- * Modules/speech/SpeechRecognitionError.idl:
- * Modules/speech/SpeechRecognitionEvent.idl:
- * Modules/webaudio/OfflineAudioContext.idl:
- * Modules/webaudio/PannerNode.idl:
- * dom/ShadowRoot.idl:
- * page/DOMWindow.idl:
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>-2013-05-21 Mihai Tica <mitica@adobe.com>
-
- Update the background blending implementation to match the changes done
- in the spec. This implies that background color blending is removed and
- the background layers won't blend with the content behind the element
- any more.
- https://bugs.webkit.org/show_bug.cgi?id=116212
</del><ins>+ * platform/gtk/UserAgentGtk.cpp:
+ (WebCore::standardUserAgent): Append Safari version to UserAgent
+ string.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+2014-03-28 Michael Saboff <msaboff@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::paintFillLayers):
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::paintFillLayerExtended):
</del><ins>+ Unreviewed, rolling r166249 back in.
</ins><span class="cx">
</span><del>-2013-05-21 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Turns out r166070 didn't cause a 2% performance loss in page load times
</ins><span class="cx">
</span><del>- Use-after-free in DOMSelection::containsNode
- https://bugs.webkit.org/show_bug.cgi?id=116468
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Unreviewed, rolling out r166070.
+ Rollout r166070 due to 2% performance loss in page load times
</ins><span class="cx">
</span><del>- Retain the node pointer. Also bail out early if the node was not in the document
- since Range::compareBoundaryPoints sets ec to WRONG_DOCUMENT_ERR otherwise.
</del><ins>+2014-03-28 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- Test: editing/selection/contains-node-crash.html
</del><ins>+ Web Inspector: Copy/paste error. EventListener block in DOM.json uses description from Node.
+ https://bugs.webkit.org/show_bug.cgi?id=130158
</ins><span class="cx">
</span><del>- * page/DOMSelection.cpp:
- (WebCore::DOMSelection::containsNode):
- * page/DOMSelection.h:
- (DOMSelection):
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-05-21 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ * inspector/protocol/DOM.json: Fixed a copy/paste annoyance.
</ins><span class="cx">
</span><del>- Web Inspector: InspectorFrontendHost::loadResourceSynchronously() builds ASCII-only results
- https://bugs.webkit.org/show_bug.cgi?id=116569
</del><ins>+2014-03-27 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- Merge: https://chromium.googlesource.com/chromium/blink/+/7f1cfecfe34f4dbc6ce1ef0250b13f2058128eeb
</del><ins>+ Web Inspector: AXI: expose selectedChildNodeIds of list boxes, tree controls, etc., and reconcile UI with childNodeIds
+ https://bugs.webkit.org/show_bug.cgi?id=130827
</ins><span class="cx">
</span><span class="cx"> Reviewed by Timothy Hatcher.
</span><span class="cx">
</span><del>- Test: inspector/load-resource-synchronously-utf8.html
</del><ins>+ Test: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
</ins><span class="cx">
</span><del>- * inspector/InspectorFrontendHost.cpp:
- (WebCore::InspectorFrontendHost::loadResourceSynchronously):
</del><ins>+ Support for selectedChildNodeIds in inspector-protocol: DOM.getAccessibilityPropertiesForNode.
</ins><span class="cx">
</span><del>-2013-05-21 Andy Estes <aestes@apple.com>
</del><ins>+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+ * inspector/protocol/DOM.json:
</ins><span class="cx">
</span><del>- Allow session storage for third-party origins even if third-party data access is blocked.
- https://bugs.webkit.org/show_bug.cgi?id=116532
</del><ins>+2014-03-27 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Specify Shadow DOM Pseudo IDs in Media Element Constructors
+ https://bugs.webkit.org/show_bug.cgi?id=130882
</ins><span class="cx">
</span><del>- In http://trac.webkit.org/changeset/149326 we relaxed our policy for
- localStorage when third-party data blocking is enabled to create a
- transient, session-scoped storage area for the third-party origin
- instead of throwing an exception. Since this gives essentially the same
- behavior as sessionStorage, we might as well also allow sessionStorage
- for third-party origins.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Test: http/tests/security/cross-origin-session-storage-third-party-blocked.html
</del><ins>+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlPanelElement::MediaControlPanelElement): Call setPseudoId in constructor.
+ (WebCore::MediaControlPanelEnclosureElement::MediaControlPanelEnclosureElement): Ditto.
+ (WebCore::MediaControlTimelineContainerElement::MediaControlTimelineContainerElement): Ditto.
+ (WebCore::MediaControlVolumeSliderContainerElement::MediaControlVolumeSliderContainerElement): Ditto.
+ (WebCore::MediaControlStatusDisplayElement::MediaControlStatusDisplayElement): Ditto.
+ (WebCore::MediaControlPanelMuteButtonElement::MediaControlPanelMuteButtonElement): Ditto.
+ (WebCore::MediaControlVolumeSliderMuteButtonElement::MediaControlVolumeSliderMuteButtonElement): Ditto.
+ (WebCore::MediaControlPlayButtonElement::MediaControlPlayButtonElement): Ditto.
+ (WebCore::MediaControlOverlayPlayButtonElement::MediaControlOverlayPlayButtonElement): Ditto.
+ (WebCore::MediaControlSeekForwardButtonElement::MediaControlSeekForwardButtonElement): Ditto.
+ (WebCore::MediaControlSeekBackButtonElement::MediaControlSeekBackButtonElement): Ditto.
+ (WebCore::MediaControlRewindButtonElement::MediaControlRewindButtonElement): Ditto.
+ (WebCore::MediaControlReturnToRealtimeButtonElement::MediaControlReturnToRealtimeButtonElement): Ditto.
+ (WebCore::MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsButtonElement): Ditto.
+ (WebCore::MediaControlClosedCaptionsContainerElement::MediaControlClosedCaptionsContainerElement): Ditto.
+ (WebCore::MediaControlClosedCaptionsTrackListElement::MediaControlClosedCaptionsTrackListElement): Ditto.
+ (WebCore::MediaControlTimelineElement::MediaControlTimelineElement): Ditto.
+ (WebCore::MediaControlPanelVolumeSliderElement::MediaControlPanelVolumeSliderElement): Ditto.
+ (WebCore::MediaControlFullscreenVolumeSliderElement::MediaControlFullscreenVolumeSliderElement): Ditto.
+ (WebCore::MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement): Ditto.
+ (WebCore::MediaControlFullscreenVolumeMinButtonElement::MediaControlFullscreenVolumeMinButtonElement): Ditto.
+ (WebCore::MediaControlFullscreenVolumeMaxButtonElement::MediaControlFullscreenVolumeMaxButtonElement): Ditto.
+ (WebCore::MediaControlTimeRemainingDisplayElement::MediaControlTimeRemainingDisplayElement): Ditto.
+ (WebCore::MediaControlCurrentTimeDisplayElement::MediaControlCurrentTimeDisplayElement): Ditto.
+ (WebCore::MediaControlTextTrackContainerElement::MediaControlTextTrackContainerElement): Ditto.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Updated the symbol for
- SecurityOrigin::canAccessStorage.
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::sessionStorage): Called canAccessSessionStorage()
- rather than canAccessLocalStorage().
- * page/SecurityOrigin.cpp:
- (WebCore::SecurityOrigin::canAccessStorage): Passed in an enum
- indicating if access should be allowed from third-party origins.
- * page/SecurityOrigin.h:
- (WebCore::SecurityOrigin::canAccessSessionStorage): Called
- canAccessStorage() with AlwaysAllowFromThirdParty.
- (SecurityOrigin):
</del><ins>+2014-03-27 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>-2013-05-21 Hugo Parente Lima <hugo.lima@openbossa.org>
</del><ins>+ [iOS][WK2] Adjust the tile coverage on the scrollview's edges
+ https://bugs.webkit.org/show_bug.cgi?id=130884
</ins><span class="cx">
</span><del>- [EFL] Add missing #if guards on drag support methods
- https://bugs.webkit.org/show_bug.cgi?id=116574
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- Reviewed by Christophe Dumez.
</del><ins>+ * platform/ios/ScrollViewIOS.mm:
+ (WebCore::ScrollView::computeCoverageRect):
+ Pull back the future rect inside the contentRect if it goes outside.
+ There is no point in retiling for rubberbanding and the extra tiles should be always be
+ on the opposite side to the edges.
</ins><span class="cx">
</span><del>- * platform/efl/PasteboardEfl.cpp:
- (WebCore):
</del><ins>+2014-03-27 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>-2013-05-21 Antti Koivisto <antti@apple.com>
</del><ins>+ Remove unused LocaleMac::create method
+ https://bugs.webkit.org/show_bug.cgi?id=130870
</ins><span class="cx">
</span><del>- Remove stub HTMLContentElement
- https://bugs.webkit.org/show_bug.cgi?id=116580
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><ins>+ * platform/text/mac/LocaleMac.h:
+ * platform/text/mac/LocaleMac.mm:
+ (WebCore::LocaleMac::create): Deleted.
+ (WebCore::LocaleMac::shortDateFormatter): Deleted.
+
+2014-03-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Clean up unneeded "mutable" keyword
+ https://bugs.webkit.org/show_bug.cgi?id=130832
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Inherit DetailsContentElement and DetailsSummaryElement directly from InsertionPoint instead.
</del><ins>+ As r166350, this patch cleans up unneeded "mutable" keywords.
+ Additionally, m_validatedSelectionCache is removed because it is not used anywhere else.
</ins><span class="cx">
</span><del>- * html/HTMLDetailsElement.cpp:
- (WebCore::DetailsContentElement::DetailsContentElement):
- (WebCore::DetailsSummaryElement::DetailsSummaryElement):
- * html/HTMLSummaryElement.cpp:
- (WebCore::SummaryContentElement::SummaryContentElement):
- * html/shadow/HTMLContentElement.cpp:
- (WebCore::HTMLContentElement::contentTagName):
- * html/shadow/HTMLContentElement.h:
- (WebCore::isHTMLContentElement):
- * html/shadow/InsertionPoint.cpp:
- (WebCore::InsertionPoint::setResetStyleInheritance):
- * html/shadow/InsertionPoint.h:
-
- Also remove some leftover selector code.
</del><ins>+ * css/CSSFontFaceRule.h:
+ * css/CSSStyleRule.h:
+ * editing/FrameSelection.h:
</ins><span class="cx">
</span><del>- (WebCore::InsertionPoint::insertionPointType):
</del><ins>+2014-03-27 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>-2013-05-21 Andreas Kling <akling@apple.com>
</del><ins>+ Add support for AirPlay picker in WK2 for iOS.
+ https://bugs.webkit.org/show_bug.cgi?id=130855
+ <rdar://problem/15349859>
</ins><span class="cx">
</span><del>- Robustify repaint of previous caret node when moving FrameSelection.
- <http://webkit.org/b/116558>
</del><ins>+ Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Adds support in HTMLMediaSession to display the airplay picker
+ and to monitor presence of available wireless targets.
</ins><span class="cx">
</span><del>- As a follow-up to r150396, also repaint the caret rects if the previous node is contenteditable.
</del><ins>+ * html/HTMLMediaSession.cpp:
+ (WebCore::HTMLMediaSession::showPlaybackTargetPicker):
+ (WebCore::HTMLMediaSession::hasWirelessPlaybackTargets):
+ (WebCore::HTMLMediaSession::setHasPlaybackTargetAvailabilityListeners):
+ * loader/EmptyClients.h:
+ * page/ChromeClient.h:
+ * platform/audio/MediaSessionManager.cpp:
+ (WebCore::MediaSessionManager::wirelessRoutesAvailableChanged):
+ * platform/audio/MediaSessionManager.h:
+ (WebCore::MediaSessionManager::hasWirelessTargetsAvailable):
+ (WebCore::MediaSessionManager::startMonitoringAirPlayRoutes):
+ (WebCore::MediaSessionManager::stopMonitoringAirPlayRoutes):
+ * platform/audio/ios/MediaSessionManagerIOS.h:
+ * platform/audio/ios/MediaSessionManagerIOS.mm:
+ (WebCore::MediaSessionManageriOS::hasWirelessTargetsAvailable):
+ (WebCore::MediaSessionManageriOS::startMonitoringAirPlayRoutes):
+ (WebCore::MediaSessionManageriOS::stopMonitoringAirPlayRoutes):
+ (-[WebMediaSessionHelper initWithCallback:]):
+ (-[WebMediaSessionHelper hasWirelessTargetsAvailable]):
+ (-[WebMediaSessionHelper startMonitoringAirPlayRoutes]):
+ (-[WebMediaSessionHelper stopMonitoringAirPlayRoutes]):
+ (-[WebMediaSessionHelper wirelessRoutesAvailableDidChange:]):
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessVideoPlaybackDisabled):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setWirelessVideoPlaybackDisabled):
</ins><span class="cx">
</span><del>- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::recomputeCaretRect):
</del><ins>+2014-03-27 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>-2013-05-21 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ [CSS Shapes][css clip-path] rounded corner calculation for box shapes is wrong
+ https://bugs.webkit.org/show_bug.cgi?id=127982
</ins><span class="cx">
</span><del>- Unreviewed build fix after r150469. We need to bail out here when DOM is mutated by an event listener such that
- the split text nodes no longer exist right next to each other.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * editing/InsertParagraphSeparatorCommand.cpp:
- (WebCore::InsertParagraphSeparatorCommand::doApply):
</del><ins>+ Calculate rounded corners for box shapes as defined in the CSS Shapes
+ spec.
</ins><span class="cx">
</span><del>-2013-05-21 Antti Koivisto <antti@apple.com>
</del><ins>+ Tests: css3/masking/clip-path-border-radius-border-box-000.html
+ css3/masking/clip-path-border-radius-content-box-000.html
+ css3/masking/clip-path-border-radius-content-box-001.html
+ css3/masking/clip-path-border-radius-padding-box-000.html
+ css3/masking/clip-path-border-radius-padding-box-001.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-border-box-000.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-border-box-001.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-border-box-002.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-content-box-000.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-content-box-001.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-content-box-002.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-content-box-003.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-margin-box-000.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-margin-box-001.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-margin-box-002.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-margin-box-003.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-margin-box-004.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-padding-box-000.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-padding-box-001.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-padding-box-002.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-border-radius-padding-box-003.html
</ins><span class="cx">
</span><del>- Remove ScopeContentDistribution
- https://bugs.webkit.org/show_bug.cgi?id=116576
</del><ins>+ * platform/graphics/RoundedRect.h:
+ (WebCore::RoundedRect::Radii::transposedRadii): Transpose radii for
+ vertical writing modes.
+ (WebCore::RoundedRect::moveBy): Add method for use with clip path.
+ (WebCore::RoundedRect::transposedRect): Transpose rect for vertical
+ writing modes.
+ * rendering/RenderBox.h:
+ (WebCore::RenderBox::marginBoxRect): Return the margin box rect for
+ the RenderBox.
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::setupClipPath): Call the new function for the
+ rounded corner calculation.
+ * rendering/shapes/ShapeInfo.cpp:
+ (WebCore::ShapeInfo<RenderType>::computedShape): Call the new function
+ for the rounded corner calculation.
+ * rendering/shapes/BoxShape.cpp:
+ (WebCore::adjustRadiusForMarginBoxShape): Helper function for
+ computeRoundedRectForLayoutBoxShape.
+ (WebCore::computeMarginBoxShapeRadius): Ditto.
+ (WebCore::computeMarginBoxShapeRadii): Ditto.
+ (WebCore::computeRoundedRectForBoxShape): Utility function to do the
+ rounded corner calculation.
+ * rendering/shapes/BoxShape.h: Add new function.
+ * rendering/style/RenderStyle.h:
+ (WebCore::RenderStyle::getRoundedInnerBorderFor): Add default argument
+ values.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-03-27 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- With maximum one ShadowRoot per Element this can be smashed into ContentDistributor.
</del><ins>+ Unreviewed, rolling out r166364.
+ https://bugs.webkit.org/show_bug.cgi?id=130872
</ins><span class="cx">
</span><del>- * dom/ShadowRoot.cpp:
- (WebCore):
- * dom/ShadowRoot.h:
- (WebCore):
- * html/shadow/ContentDistributor.cpp:
- (WebCore::ContentDistributor::ContentDistributor):
- (WebCore):
- (WebCore::ContentDistributor::~ContentDistributor):
- (WebCore::ContentDistributor::invalidateInsertionPointList):
- (WebCore::ContentDistributor::ensureInsertionPointList):
- (WebCore::ContentDistributor::distribute):
- (WebCore::ContentDistributor::invalidate):
- * html/shadow/ContentDistributor.h:
- (WebCore):
- (ContentDistributor):
- * html/shadow/InsertionPoint.cpp:
- (WebCore::InsertionPoint::InsertionPoint):
- (WebCore::InsertionPoint::insertedInto):
- (WebCore::InsertionPoint::removedFrom):
-
- Simplify insertion point list invalidation.
</del><ins>+ Caused a test assertion (Requested by smfr on #webkit).
</ins><span class="cx">
</span><del>- * html/shadow/InsertionPoint.h:
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>-2013-05-21 Zoltan Horvath <zoltan@webkit.org>
</del><ins>+ "Operator stretching: expose a math data API"
+ https://bugs.webkit.org/show_bug.cgi?id=130572
+ http://trac.webkit.org/changeset/166364
</ins><span class="cx">
</span><del>- [CSS Regions][CSS Exclusions] Multiple regions with shape-insides should respect positioned shapes and overflow
- https://bugs.webkit.org/show_bug.cgi?id=115001
</del><ins>+2014-03-27 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ [iOS][WK2] Compute a good exposed rect when scaling WKContentView
+ https://bugs.webkit.org/show_bug.cgi?id=130761
</ins><span class="cx">
</span><del>- In r150375 I implemented the new overflow behavior for shape-inside on regions, but it covered only the simple cases
- when you had only one region. This patch adds support for the new overflow behavior for multiple regions with multiple
- positioned shape-insides and overflow.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Tests: fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-multiple-shapes.html
- fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-multiple-shapes.html
</del><ins>+ * WebCore.exp.in:
+ * platform/ScrollView.h:
+ * platform/ios/ScrollViewIOS.mm:
+ (WebCore::ScrollView::setScrollVelocity):
+ (WebCore::ScrollView::computeCoverageRect):
+ While scaling in, do not add margins tiles. When scaling out, add 1 margin tile size
+ all around.
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::updateLineBoundariesForExclusions): Cover cases when content flows into the next region, update the
- line segments for the overflow.
- (WebCore::RenderBlock::adjustLogicalLineTopAndLogicalHeightIfNeeded): In flow thread case we don't want to adjust the height
- in two places.
</del><ins>+2014-03-27 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-21 Commit Queue <commit-queue@webkit.org>
</del><ins>+ Unreviewed, rolling out r166360.
+ https://bugs.webkit.org/show_bug.cgi?id=130869
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r150425.
- http://trac.webkit.org/changeset/150425
- https://bugs.webkit.org/show_bug.cgi?id=116573
</del><ins>+ Seems to have broken PLT (Requested by ap on #webkit).
</ins><span class="cx">
</span><del>- Not the right fix for WebKit2 (Requested by rniwa on #webkit).
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- * testing/Internals.cpp:
- (WebCore::Internals::resetToConsistentState):
</del><ins>+ "Connection::dispatchOneMessage() can be re-entered while
+ handling Cmd-key menu"
+ https://bugs.webkit.org/show_bug.cgi?id=130767
+ http://trac.webkit.org/changeset/166360
</ins><span class="cx">
</span><del>-2013-05-20 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-03-27 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- dispatchEvent call can execute javascript and blow away endRoot from underneath
- https://bugs.webkit.org/show_bug.cgi?id=116483
</del><ins>+ Remove LiveNodeList::Type
+ https://bugs.webkit.org/show_bug.cgi?id=130866
</ins><span class="cx">
</span><span class="cx"> Reviewed by Andreas Kling.
</span><ins>+
+ We don't need dynamic type information anymore.
+
+ * dom/ClassNodeList.cpp:
+ (WebCore::ClassNodeList::ClassNodeList):
+ * dom/ContainerNode.cpp:
+ (WebCore::ContainerNode::getElementsByTagName):
+ (WebCore::ContainerNode::getElementsByName):
+ (WebCore::ContainerNode::getElementsByClassName):
+ (WebCore::ContainerNode::radioNodeList):
+ * dom/LiveNodeList.cpp:
+ (WebCore::LiveNodeList::LiveNodeList):
+ * dom/LiveNodeList.h:
+ (WebCore::LiveNodeList::invalidationType):
+ (WebCore::CachedLiveNodeList<NodeListType>::CachedLiveNodeList):
+ (WebCore::LiveNodeList::type): Deleted.
+ * dom/NameNodeList.cpp:
+ (WebCore::NameNodeList::NameNodeList):
+ (WebCore::NameNodeList::nodeMatches): Deleted.
+ * dom/NameNodeList.h:
+ (WebCore::NameNodeList::nodeMatches):
+ * dom/NodeRareData.h:
+ (WebCore::NodeListTypeIdentifier<ClassNodeList>::value):
+ (WebCore::NodeListTypeIdentifier<NameNodeList>::value):
+ (WebCore::NodeListTypeIdentifier<TagNodeList>::value):
+ (WebCore::NodeListTypeIdentifier<HTMLTagNodeList>::value):
+ (WebCore::NodeListTypeIdentifier<RadioNodeList>::value):
+ (WebCore::NodeListTypeIdentifier<LabelsNodeList>::value):
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/798cba0af9b2aff21e475e2e08ea3ca5e97dfc2c.
</del><ins>+ Get unique id from type for key generation purposes only.
</ins><span class="cx">
</span><del>- Test: editing/undo/undo-after-event-edited.html
</del><ins>+ (WebCore::NodeListsNodeData::addCacheWithAtomicName):
+ (WebCore::NodeListsNodeData::addCacheWithName):
+ (WebCore::NodeListsNodeData::removeCacheWithAtomicName):
+ (WebCore::NodeListsNodeData::removeCacheWithName):
+ (WebCore::NodeListsNodeData::namedNodeListKey):
+ * dom/TagNodeList.cpp:
+ (WebCore::TagNodeList::TagNodeList):
+ (WebCore::HTMLTagNodeList::HTMLTagNodeList):
+ * dom/TagNodeList.h:
+ * html/LabelableElement.cpp:
+ (WebCore::LabelableElement::labels):
+ * html/LabelsNodeList.cpp:
+ (WebCore::LabelsNodeList::LabelsNodeList):
+ * html/LabelsNodeList.h:
+ * html/RadioNodeList.cpp:
+ (WebCore::RadioNodeList::RadioNodeList):
+ * html/RadioNodeList.h:
</ins><span class="cx">
</span><del>- * editing/Editor.cpp:
- (WebCore::dispatchEditableContentChangedEvents):
</del><ins>+2014-03-27 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-05-21 Antti Koivisto <antti@apple.com>
</del><ins>+ Fix crash when RenderView is cleared inside of frame flattening layout
+ https://bugs.webkit.org/show_bug.cgi?id=130864
</ins><span class="cx">
</span><del>- Remove ContentDistribution
- https://bugs.webkit.org/show_bug.cgi?id=116527
</del><ins>+ Reviewed by Dan Bernstein.
+
+ Navigating on http://wallstcheatsheet.com pages on iOS in WebKit1 would
+ sometimes crash when, inside the inChildFrameLayoutWithFrameFlattening clause,
+ our frame's RenderView would be null after doing a layout from the root frame,
+ possibly also when WebCore was being re-entered from another thread.
+
+ Add a null check to fix this.
+
+ Crash was timing-dependent and hard to test.
</ins><span class="cx">
</span><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::layout):
+
+2014-03-27 Antti Koivisto <antti@apple.com>
+
+ Remove some unnecessary branches from LiveNodeList traversal
+ https://bugs.webkit.org/show_bug.cgi?id=130854
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Resolving distribution on traversal is simpler.
</del><ins>+ Compile different traversal code paths for all NodeList subclasses.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * dom/ComposedShadowTreeWalker.cpp:
- (WebCore::ComposedShadowTreeWalker::traverseNode):
- (WebCore::ComposedShadowTreeWalker::traverseDistributedNodes):
- (WebCore::ComposedShadowTreeWalker::traverseSiblingOrBackToInsertionPoint):
- * html/HTMLDetailsElement.cpp:
- * html/shadow/ContentDistributor.cpp:
- (WebCore::ContentDistributor::distributeSelectionsTo):
- * html/shadow/ContentDistributor.h:
- * html/shadow/HTMLContentElement.idl:
</del><ins>+ * dom/ClassNodeList.cpp:
+ (WebCore::ClassNodeList::ClassNodeList):
+ (WebCore::ClassNodeList::~ClassNodeList):
+ (WebCore::ClassNodeList::nodeMatches): Deleted.
+ * dom/ClassNodeList.h:
+ (WebCore::ClassNodeList::nodeMatches):
+ (WebCore::ClassNodeList::nodeMatchesInlined): Deleted.
</ins><span class="cx">
</span><del>- Remove getDistributedNodes().
</del><ins>+ Remove separate nodeMatchesInlined functions.
+ We now rely on exact types and marking classes final.
</ins><span class="cx">
</span><del>- * html/shadow/InsertionPoint.cpp:
- (WebCore::InsertionPoint::InsertionPoint):
- (WebCore::InsertionPoint::attach):
- (WebCore::InsertionPoint::detach):
- (WebCore):
- (WebCore::InsertionPoint::firstDistributed):
- (WebCore::InsertionPoint::lastDistributed):
- (WebCore::InsertionPoint::nextDistributedTo):
- (WebCore::InsertionPoint::previousDistributedTo):
</del><ins>+ * dom/LiveNodeList.cpp:
+ (WebCore::LiveNodeList::LiveNodeList):
+ (WebCore::LiveNodeList::~LiveNodeList):
+ (WebCore::LiveNodeList::namedItem):
+ (WebCore::LiveNodeList::rootNode): Deleted.
+ (WebCore::isMatchingElement): Deleted.
+ (WebCore::firstMatchingElement): Deleted.
+ (WebCore::lastMatchingElement): Deleted.
+ (WebCore::nextMatchingElement): Deleted.
+ (WebCore::previousMatchingElement): Deleted.
+ (WebCore::traverseMatchingElementsForward): Deleted.
+ (WebCore::traverseMatchingElementsBackward): Deleted.
+ (WebCore::LiveNodeList::collectionFirst): Deleted.
+ (WebCore::LiveNodeList::collectionLast): Deleted.
+ (WebCore::LiveNodeList::collectionTraverseForward): Deleted.
+ (WebCore::LiveNodeList::collectionTraverseBackward): Deleted.
+ (WebCore::LiveNodeList::length): Deleted.
+ (WebCore::LiveNodeList::item): Deleted.
+ (WebCore::LiveNodeList::memoryCost): Deleted.
+ (WebCore::LiveNodeList::invalidateCache): Deleted.
+ * dom/LiveNodeList.h:
+ (WebCore::LiveNodeList::invalidateCacheForAttribute):
+ (WebCore::CachedLiveNodeList::collectionCanTraverseBackward):
+ (WebCore::LiveNodeList::rootNode):
+ (WebCore::CachedLiveNodeList<NodeListType>::CachedLiveNodeList):
</ins><span class="cx">
</span><del>- Rename for clarity.
</del><ins>+ Add CachedLiveNodeList<NodeListType> utility type that interfaces with CollectionIndexCache.
+ It is the base class for all concrete LiveNodeLists.
</ins><span class="cx">
</span><del>- * html/shadow/InsertionPoint.h:
- (WebCore::InsertionPoint::hasDistribution):
- (WebCore::InsertionPoint::setHasDistribution):
- (WebCore::InsertionPoint::clearDistribution):
- (WebCore::InsertionPoint::matchTypeFor):
- (InsertionPoint):
</del><ins>+ (WebCore::CachedLiveNodeList<NodeListType>::~CachedLiveNodeList):
+ (WebCore::CachedLiveNodeList<NodeListType>::collectionFirst):
+ (WebCore::CachedLiveNodeList<NodeListType>::collectionLast):
+ (WebCore::nextMatchingElement):
+ (WebCore::CachedLiveNodeList<NodeListType>::collectionTraverseForward):
+ (WebCore::previousMatchingElement):
+ (WebCore::CachedLiveNodeList<NodeListType>::collectionTraverseBackward):
+ (WebCore::CachedLiveNodeList<NodeListType>::willValidateIndexCache):
+ (WebCore::CachedLiveNodeList<NodeListType>::invalidateCache):
+ (WebCore::CachedLiveNodeList<NodeListType>::length):
+ (WebCore::CachedLiveNodeList<NodeListType>::item):
+ (WebCore::CachedLiveNodeList<NodeListType>::memoryCost):
+
+ Templated code moves to header.
</ins><span class="cx">
</span><del>-2013-05-21 Martin Robinson <mrobinson@igalia.com>
</del><ins>+ (WebCore::LiveNodeList::LiveNodeList): Deleted.
+ (WebCore::LiveNodeList::~LiveNodeList): Deleted.
+ (WebCore::LiveNodeList::invalidateCache): Deleted.
+ (WebCore::LiveNodeList::collectionCanTraverseBackward): Deleted.
+ (WebCore::LiveNodeList::willValidateIndexCache): Deleted.
+ * dom/NameNodeList.cpp:
+ (WebCore::NameNodeList::NameNodeList):
+ * dom/NameNodeList.h:
+ * dom/Node.cpp:
+ (WebCore::Document::invalidateNodeListAndCollectionCaches):
+ (WebCore::NodeListsNodeData::invalidateCaches):
+ * dom/TagNodeList.cpp:
+ (WebCore::TagNodeList::TagNodeList):
+ (WebCore::HTMLTagNodeList::HTMLTagNodeList):
+ (WebCore::HTMLTagNodeList::~HTMLTagNodeList):
+ (WebCore::TagNodeList::nodeMatches): Deleted.
+ (WebCore::HTMLTagNodeList::nodeMatches): Deleted.
+ * dom/TagNodeList.h:
+ (WebCore::TagNodeList::nodeMatches):
+ (WebCore::HTMLTagNodeList::nodeMatches):
+ (WebCore::TagNodeList::create): Deleted.
+ (WebCore::HTMLTagNodeList::nodeMatchesInlined): Deleted.
+ * html/LabelsNodeList.cpp:
+ (WebCore::LabelsNodeList::LabelsNodeList):
+ * html/LabelsNodeList.h:
+ * html/RadioNodeList.cpp:
+ (WebCore::RadioNodeList::RadioNodeList):
+ * html/RadioNodeList.h:
</ins><span class="cx">
</span><del>- [GTK] [CMake] Add support for building WebKit2
- https://bugs.webkit.org/show_bug.cgi?id=116372
</del><ins>+2014-03-27 Adenilson Cavalcanti <cavalcantii@gmail.com>
</ins><span class="cx">
</span><del>- Reviewed by Gustavo Noronha Silva.
</del><ins>+ Remove comment from Filter.h
+ https://bugs.webkit.org/show_bug.cgi?id=130848
</ins><span class="cx">
</span><del>- * PlatformGTK.cmake: Add missing source files, include directories, and WebP properties.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-21 Jer Noble <jer.noble@apple.com>
</del><ins>+ Exploring the use of consts on applyScale() methods didn't yield
+ good results.
</ins><span class="cx">
</span><del>- REGRESSION(r101810): Media controls status text missing for live-stream videos.
- https://bugs.webkit.org/show_bug.cgi?id=116547
</del><ins>+ No new tests, no change on behavior.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * platform/graphics/filters/Filter.h:
</ins><span class="cx">
</span><del>- Un-reverse the logic in loadedMetadata() so that the status text isn't
- hidden (when it should be shown) for live-stream videos.
</del><ins>+2014-03-27 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- * html/shadow/MediaControlsApple.cpp:
- (WebCore::MediaControlsApple::loadedMetadata):
</del><ins>+ Operator stretching: expose a math data API
+ https://bugs.webkit.org/show_bug.cgi?id=130572
</ins><span class="cx">
</span><del>-2013-05-21 Jer Noble <jer.noble@apple.com>
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Implement overlap-avoidance for in-band text track cues.
- https://bugs.webkit.org/show_bug.cgi?id=116540
</del><ins>+ We expose a new SimpleFontData API to give access to the data from the
+ OpenType MATH table using a font cache. The class OpenTypeMathData will
+ be implemented in bug 130324. On Darwin platform, we also implement the
+ missing FontPlatformData::openTypeTable function which will be necessary
+ to load the OpenType MATH table. The changes are intended to be used
+ for MathML operator stretching (bug 130322) so tests are not added yet.
</ins><span class="cx">
</span><ins>+ * CMakeLists.txt: add new OpenTypeMathData files.
+ * WebCore.vcxproj/WebCore.vcxproj: ditto.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: ditto.
+ * WebCore.xcodeproj/project.pbxproj: ditto.
+ * platform/graphics/FontCache.cpp: We add a FontCache::getMathData function to implement a cache for the math data.
+ We make the math and vertical data share the same key for the cache.
+ (WebCore::fontMathDataCacheInstance):
+ (WebCore::FontCache::getMathData):
+ (WebCore::fontVerticalDataCacheInstance):
+ * platform/graphics/FontCache.h: We declare FontCache::getMathData and FontFileKey on all platforms.
+ * platform/graphics/FontPlatformData.cpp:
+ (WebCore::FontPlatformData::openTypeTable): We implement openTypeTable() on Darwin platform.
+ * platform/graphics/FontPlatformData.h: We expose openTypeTable() on Darwin platform.
+ * platform/graphics/SimpleFontData.cpp: We initialize m_mathData from the font cache.
+ (WebCore::SimpleFontData::SimpleFontData):
+ * platform/graphics/SimpleFontData.h: We expose a mathData() function to access the MATH data.
+ * platform/graphics/opentype/OpenTypeMathData.cpp: Added. This is a new class that will be used to parse the data from the OpenType MATH table.
+ (WebCore::OpenTypeMathData::OpenTypeMathData):
+ * platform/graphics/opentype/OpenTypeMathData.h: Added.
+ (WebCore::OpenTypeMathData::create):
+ (WebCore::OpenTypeMathData::hasMathData):
+
+2014-03-27 Brent Fulgham <bfulgham@apple.com>
+
+ Fix a crash caused by track insertion after load()
+ https://bugs.webkit.org/show_bug.cgi?id=130777
+
</ins><span class="cx"> Reviewed by Eric Carlson.
</span><span class="cx">
</span><del>- In-band (or Generic) cues need special casing for certain features
- present in in-band tracks, like paint-on and roll-up modes. To avoid
- the problem of overlap avoidance forcing a caption meant to appear
- below a cue to appear above it when a larger font size is selected,
- impose an additional sort ordering for "generic cues". Instead of
- cues being ordered by the order they appear in the track, "generic
- cues" further sorted by their position within the video area, such
- that cues at the bottom of the video area appear first, and later
- cues are pushed up to avoid them, preserving the desired apparent
- ordering.
</del><ins>+ Test: media/track/track-insert-after-load-crash.html
</ins><span class="cx">
</span><ins>+ Based on the Blink change (patch by acolwell@chromium.org):
+ https://codereview.chromium.org/211373009/
+
</ins><span class="cx"> * html/HTMLMediaElement.cpp:
</span><del>- (WebCore::compareCueInterval): Added; wrapper around
- TextTrackCue::isOrderedBefore.
- (WebCore::HTMLMediaElement::updateActiveTextTrackCues):
- After creating the list of current cues, sort them.
- * html/track/TextTrackCue.cpp:
- (WebCore::TextTrackCue::isOrderedBefore): Added; implementation moved
- from TextTrackCueList::add().
- * html/track/TextTrackCue.h:
- * html/track/TextTrackCueGeneric.cpp:
- (WebCore::TextTrackCueGeneric::isOrderedBefore): Added override;
- impose additional oredring on generic cues.
- * html/track/TextTrackCueGeneric.h:
- * html/track/TextTrackCueList.cpp:
- (WebCore::TextTrackCueList::add): Moved ordering test into
- isOrderedBefore().
- * rendering/RenderTextTrackCue.cpp:
- (WebCore::RenderTextTrackCue::repositionGenericCue):
- Call repositionCueSnapToLinesNotSet() after positioning the cue.
</del><ins>+ (WebCore::HTMLMediaElement::parseAttribute): Remove stale LoadMediaResource flag after explicit load.
</ins><span class="cx">
</span><del>-2013-05-20 Jer Noble <jer.noble@apple.com>
</del><ins>+2014-03-27 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- Implement overlap avoidance for cues with snap-to-lines flag not set
- https://bugs.webkit.org/show_bug.cgi?id=84296
</del><ins>+ Connection::dispatchOneMessage() can be re-entered while handling Cmd-key menu
+ equivalents, ASSERT(!_data->_keyDownEventBeingResent)
+ https://bugs.webkit.org/show_bug.cgi?id=130767
+ <rdar://problem/16307487>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Added a wrapper for RunLoop::initializeMainThread that also adds modal run loop
+ mode to it on Mac.
</ins><span class="cx">
</span><del>- Test: media/track/track-cue-overlap-snap-to-lines-not-set.html
</del><ins>+ * CMakeLists.txt:
+ * WebCore.exp.in:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/MainRunLoop.cpp: Added.
+ (WebCore::initializeMainRunLoop):
+ * platform/MainRunLoop.h: Added.
+ * platform/mac/MainRunLoop.mm: Added.
+ (WebCore::initializeMainRunLoop):
</ins><span class="cx">
</span><del>- Support overlap avoidance for the non-snap-to-lines part of the WebVTT spec.
</del><ins>+2014-03-27 Krzysztof Czech <k.czech@samsung.com>
</ins><span class="cx">
</span><del>- * rendering/RenderTextTrackCue.cpp:
- (WebCore::RenderTextTrackCue::isOutside): Split implementation into rectIsWithinContainer().
- (WebCore::RenderTextTrackCue::rectIsWithinContainer): Ditto.
- (WebCore::RenderTextTrackCue::isOverlapping): Split into overlappingObject() and overlappingObjectForRect().
- (WebCore::RenderTextTrackCue::overlappingObject): Ditto.
- (WebCore::RenderTextTrackCue::overlappingObjectForRect): Ditto.
- (WebCore::RenderTextTrackCue::moveIfNecessaryToKeepWithinContainer): Added.
- (WebCore::RenderTextTrackCue::findNonOverlappingPosition): When an overlapping object is found, move the
- cue to just above or below that object and try again.
- (WebCore::RenderTextTrackCue::repositionCueSnapToLinesSet): Move implementation into moveIfNecessaryToKeepWithinContainer().
- (WebCore::RenderTextTrackCue::repositionCueSnapToLinesNotSet): Add implementanton based on above.
- * rendering/RenderTextTrackCue.h:
</del><ins>+ AX: Returns const reference to static string.
+ https://bugs.webkit.org/show_bug.cgi?id=130835
</ins><span class="cx">
</span><del>-2013-05-21 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- Remove GraphicsLayerClient::contentsVisible()
- https://bugs.webkit.org/show_bug.cgi?id=116523
</del><ins>+ Avoiding some unnecessary copies by returning const reference to static string.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ No new tests. No behaviour change.
</ins><span class="cx">
</span><del>- This is dead code from the BlackBerry port.
</del><ins>+ * accessibility/AccessibilityMediaControls.cpp:
+ (WebCore::AccessibilityMediaControl::controlTypeName):
+ (WebCore::AccessibilityMediaControlsContainer::elementTypeName):
+ * accessibility/AccessibilityMediaControls.h:
</ins><span class="cx">
</span><del>- * platform/graphics/GraphicsLayerClient.h:
- * rendering/RenderLayerBacking.cpp:
</del><ins>+2014-03-27 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>-2013-05-21 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ [CSSRegions] Rename inNamedFlow flag to isNamedFlowContentNode flag
+ https://bugs.webkit.org/show_bug.cgi?id=130731
</ins><span class="cx">
</span><del>- PLATFORM(*) macros used in Source/WebCore/loader/archive/ArchiveFactory.cpp
- https://bugs.webkit.org/show_bug.cgi?id=116453
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Currently, the inNamedFlow flag in Node class tells if a node is a content node, one that has a style with flow-into.
+ Since it is used only for those nodes and not propagated through hierarchy, i want to renamed it to a more meaningful name.
+ No new functionality, no new tests.
</ins><span class="cx">
</span><del>- * loader/archive/ArchiveFactory.cpp: Remove a redundant PLATFORM(QT) macro when checking whether
- to include the LegacyWebArchive.h header that's specific to the WebArchive support. The Qt port
- does not enable the WebArchive feature at all (which is enabled only on AppleMac, AppleWin and iOS
- platforms) so there's no reason to additionally condition the header include with building on
- non-Qt platforms.
</del><ins>+ * dom/ContainerNode.cpp:
+ (WebCore::destroyRenderTreeIfNeeded):
+ * dom/Element.cpp:
+ (WebCore::Element::~Element):
+ (WebCore::Element::unregisterNamedFlowContentElement):
+ * dom/Node.h:
+ (WebCore::Node::isNamedFlowContentNode):
+ (WebCore::Node::setIsNamedFlowContentNode):
+ (WebCore::Node::clearIsNamedFlowContentNode):
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::clearContentElements):
+ (WebCore::RenderNamedFlowThread::registerNamedFlowContentElement):
+ (WebCore::RenderNamedFlowThread::unregisterNamedFlowContentElement):
+ (WebCore::nextNodeInsideContentElement):
+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::attachChildren):
+ (WebCore::Style::resolveLocal):
</ins><span class="cx">
</span><del>-2013-05-21 Alberto Garcia <agarcia@igalia.com>
</del><ins>+2014-03-27 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>- Add BlackBerry definition of NativeImagePtr
- https://bugs.webkit.org/show_bug.cgi?id=116526
</del><ins>+ [CSSRegions] Crash when cloning a region child with a content node child
+ https://bugs.webkit.org/show_bug.cgi?id=129811
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- * platform/graphics/NativeImagePtr.h:
- (Graphics):
- (WebCore):
</del><ins>+ Collecting the children of a region in another named flow will be supported
+ again in the future and it will be revisited when we will implement the content
+ keyword: http://dev.w3.org/csswg/css-regions-1/#the-flow-into-property.
+ Remove the support for now as it introduces unnecessary complexity in the code
+ and potential wrong behavior.
</ins><span class="cx">
</span><del>-2013-05-21 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ Test: fast/regions/region-content-node-child-clone-crash.html
</ins><span class="cx">
</span><del>- [BlackBerry] FontCache::getFontDataForCharacters() returns nullptr
- https://bugs.webkit.org/show_bug.cgi?id=116529
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::shouldMoveToFlowThread):
+ (WebCore::Element::clearStyleDerivedDataBeforeDetachingRenderer):
+ * dom/Element.h:
+ * dom/ElementRareData.h:
+ (WebCore::ElementRareData::ElementRareData):
+ * rendering/FlowThreadController.cpp:
+ * rendering/FlowThreadController.h:
+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::moveToFlowThreadIfNeeded):
+ (WebCore::Style::createRendererIfNeeded):
</ins><span class="cx">
</span><ins>+2014-03-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Remove unneeded mutable keyword in some member variables
+ https://bugs.webkit.org/show_bug.cgi?id=130813
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- This cannot be converted to a PassRefPtr and breaks the build.
</del><ins>+ Some member variables have mutable keyword though they don't used by const function.
+ This patch removes them.
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/FontCacheBlackBerry.cpp:
- (WebCore::FontCache::getFontDataForCharacters):
</del><ins>+ No new tests, no behavior changes. Just clean up.
</ins><span class="cx">
</span><del>-2013-05-21 Iago Toral Quiroga <itoral@igalia.com>
</del><ins>+ * storage/StorageAreaSync.h:
+ * svg/animation/SVGSMILElement.h:
</ins><span class="cx">
</span><del>- [GTK] Always use EGL to create the GL context when running on Wayland
- https://bugs.webkit.org/show_bug.cgi?id=115721
</del><ins>+2014-03-27 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Unreviewed, rolling out r166296 and r166331.
+ https://bugs.webkit.org/show_bug.cgi?id=130822
</ins><span class="cx">
</span><del>- * platform/graphics/cairo/GLContext.cpp:
- (WebCore::GLContext::createContextForWindow):
- (WebCore::GLContext::createOffscreenContext): Always use EGL to create the GL context
- instead of GLX when running on Wayland and make createOffScreenContext reuse the code
- in createContextWindow.
</del><ins>+ caused some crashes and frequent assertion failures, and the
+ fix is going to take a little while (Requested by thorton on
+ #webkit).
</ins><span class="cx">
</span><del>-2013-05-21 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ Reverted changesets:
</ins><span class="cx">
</span><del>- Add FloatRect::normalized() for BlackBerry
- https://bugs.webkit.org/show_bug.cgi?id=116531
</del><ins>+ "[iOS WebKit2] Flush all surfaces after painting into all of
+ them, instead of after painting into each one"
+ https://bugs.webkit.org/show_bug.cgi?id=130768
+ http://trac.webkit.org/changeset/166296
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+ "Assertion failure in RemoteLayerBackingStore::flush"
+ https://bugs.webkit.org/show_bug.cgi?id=130810
+ http://trac.webkit.org/changeset/166331
</ins><span class="cx">
</span><del>- This was added to FloatRectBlackBerry.cpp in r111072 when the
- graphics platform code was upstreamed, but this change was
- missing.
</del><ins>+2014-03-26 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/FloatRect.h:
- (FloatRect):
</del><ins>+ Fix failing scrolling tests by reverting to previous behavior where
+ the scrolling geometry for the main frame scrolling node was only
+ updated from frameViewLayoutUpdated() and no-where else.
</ins><span class="cx">
</span><del>-2013-05-21 Balazs Kelemen <kbalazs@webkit.org>
</del><ins>+ * WebCore.exp.in:
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::updateScrollingNode):
+ * page/scrolling/AsyncScrollingCoordinator.h:
+ * page/scrolling/ScrollingCoordinator.h:
+ (WebCore::ScrollingCoordinator::updateScrollingNode):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateScrollCoordinatedLayer):
+ (WebCore::RenderLayerCompositor::detachScrollCoordinatedLayer): Deleted.
</ins><span class="cx">
</span><del>- [GStreamer] cleanup duration query
- https://bugs.webkit.org/show_bug.cgi?id=116228
</del><ins>+2014-03-26 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ HTMLConverter::_processText is slow because it walks up ancestor elements
+ https://bugs.webkit.org/show_bug.cgi?id=130820
</ins><span class="cx">
</span><del>- Covered by existing tests.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
- (WebCore::MediaPlayerPrivateGStreamer::duration):
- We can also cache the duration here if the query succeeds.
- (MediaPlayerPrivateGStreamer::updateStates):
- Don't query when we are in GST_STATE_READY state because it never succeeds.
- Do it instead when we reached a stable state.
- (MediaPlayerPrivateGStreamer::cacheDuration): Return early if it is already
- cached. Recaching is not necessary and now we call it a lot of times.
- Only look into the state if the query failed.
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
- (MediaPlayerPrivateGStreamer): Made m_mediaDuration mutable to be
- able to cache it in duration(). Internal cached values is one of
- the sensible uses of mutable.
</del><ins>+ Avoid walking up the tree from each text node by caching the aggregated attributed strings for each element.
+ Also compute the attributed strings top-down to avoid calling mutableCopy in every iteration.
</ins><span class="cx">
</span><del>-2013-05-21 Patrick Gansterer <paroga@webkit.org>
</del><ins>+ This reduces the runtime of Interactive/CopyAll.html from 15s to 13s (15%).
</ins><span class="cx">
</span><del>- Build fix for !USE(ACCELERATED_COMPOSITING) after r150307.
</del><ins>+ * editing/cocoa/HTMLConverter.mm:
+ (HTMLConverter::_attributesForElement):
+ (HTMLConverter::attributesForElement):
+ (HTMLConverter::aggregatedAttributesForAncestors):
+ (HTMLConverter::_processText):
</ins><span class="cx">
</span><del>- * rendering/RenderLayerCompositor.h: Added missing #if USE(ACCELERATED_COMPOSITING).
</del><ins>+2014-03-26 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-20 Antti Koivisto <antti@apple.com>
</del><ins>+ Fix iOS build.
</ins><span class="cx">
</span><del>- Simplify Shadow DOM distribution code
- https://bugs.webkit.org/show_bug.cgi?id=116454
</del><ins>+ * editing/cocoa/HTMLConverter.mm:
+ (_font):
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
-
- Remove code supporting nested insertion points and distributing to multiple insertion points.
-
- * html/HTMLDetailsElement.cpp:
- (DetailsContentElement):
-
- Make distribution to <details> and <summary> mutually exclusive.
</del><ins>+2014-03-26 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- * html/shadow/ContentDistributor.cpp:
- (WebCore):
- (WebCore::ContentDistributor::distribute):
- (WebCore::ContentDistributor::invalidate):
- (WebCore::ContentDistributor::distributeSelectionsTo):
- * html/shadow/ContentDistributor.h:
- * html/shadow/InsertionPoint.cpp:
- (WebCore::resolveReprojection):
</del><ins>+ Make _processText and _traverseNode in HTMLConverter more efficient
+ https://bugs.webkit.org/show_bug.cgi?id=130769
</ins><span class="cx">
</span><del>-2013-05-21 Mihnea Ovidenie <mihnea@adobe.com>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- [CSSRegions] Constrain auto-height region computation in a different way
- https://bugs.webkit.org/show_bug.cgi?id=116310
</del><ins>+ Rewrote a bunch of code in C++ and avoided creating wrappers.
+ This reduces the runtime of Interactive/CopyAll.html from ~16.5s to 15s.
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ * editing/cocoa/HTMLConverter.mm:
+ (HTMLConverterCaches::isAncestorsOfStartToBeConverted):
+ (HTMLConverter::HTMLConverter):
+ (HTMLConverter::~HTMLConverter):
+ (HTMLConverter::_processElement):
+ (HTMLConverter::_processText):
+ (HTMLConverter::_traverseNode):
+ (HTMLConverter::_traverseFooterNode):
+ (HTMLConverterCaches::cacheAncestorsOfStartToBeConverted):
+ (HTMLConverter::_loadFromDOMRange):
</ins><span class="cx">
</span><del>- After https://bugs.webkit.org/show_bug.cgi?id=74132, the region is a render block. We can use RenderBox::constrainContentBoxLogicalHeightByMinMax
- instead of RenderBox::computeReplacedLogicalHeightRespectingMinMaxHeight to better reflect the fact that the region is not a replaced element.
- Covered by existing regions tests, since when replaced-based the region had an intrinsic height of 0 and now, block-based, it does not have any children.
</del><ins>+2014-03-26 Adenilson Cavalcanti <cavalcantii@gmail.com>
</ins><span class="cx">
</span><del>- * rendering/RenderFlowThread.cpp:
- (WebCore::RenderFlowThread::addForcedRegionBreak):
</del><ins>+ FEGaussianBlur: unify and const-ify calculateKernelSize
+ https://bugs.webkit.org/show_bug.cgi?id=130779
</ins><span class="cx">
</span><del>-2013-05-21 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Some methods can benefit of using const refs as also make sense to
+ unify the interface (i.e. parameters) in calculateKernelSize/Unscaled.
</ins><span class="cx">
</span><del>- REGRESSION(r150393): editing/inserting/typing-at-end-of-line.html fails
- https://bugs.webkit.org/show_bug.cgi?id=116516
</del><ins>+ FilterEffect::filter() will now return a reference, which helps since
+ its descendants were accessing methods into the pointer without testing
+ for it.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- The bug was caused by DRT not resetting various auto correction states.
- Do that in Internals::resetToConsistentState.
</del><ins>+ No new tests, no changes on behavior.
</ins><span class="cx">
</span><del>- * testing/Internals.cpp:
- (WebCore::Internals::resetToConsistentState):
</del><ins>+ * platform/graphics/filters/FEDisplacementMap.cpp:
+ (WebCore::FEDisplacementMap::platformApplySoftware):
+ * platform/graphics/filters/FEDropShadow.cpp:
+ (WebCore::FEDropShadow::determineAbsolutePaintRect):
+ (WebCore::FEDropShadow::platformApplySoftware):
+ * platform/graphics/filters/FEGaussianBlur.cpp:
+ (WebCore::FEGaussianBlur::calculateUnscaledKernelSize):
+ (WebCore::FEGaussianBlur::calculateKernelSize):
+ (WebCore::FEGaussianBlur::determineAbsolutePaintRect):
+ (WebCore::FEGaussianBlur::platformApplySoftware):
+ * platform/graphics/filters/FEGaussianBlur.h:
+ * platform/graphics/filters/FEMorphology.cpp:
+ (WebCore::FEMorphology::determineAbsolutePaintRect):
+ (WebCore::FEMorphology::platformApplySoftware):
+ * platform/graphics/filters/FEOffset.cpp:
+ (WebCore::FEOffset::determineAbsolutePaintRect):
+ (WebCore::FEOffset::platformApplySoftware):
+ * platform/graphics/filters/FETile.cpp:
+ (WebCore::FETile::platformApplySoftware):
+ * platform/graphics/filters/FETurbulence.cpp:
+ (WebCore::FETurbulence::fillRegion):
+ * platform/graphics/filters/Filter.h:
+ (WebCore::Filter::applyHorizontalScale):
+ (WebCore::Filter::applyVerticalScale):
+ * platform/graphics/filters/FilterEffect.h:
+ (WebCore::FilterEffect::filter):
+ * platform/graphics/filters/SourceAlpha.cpp:
+ (WebCore::SourceAlpha::determineAbsolutePaintRect):
+ (WebCore::SourceAlpha::platformApplySoftware):
+ * platform/graphics/filters/SourceGraphic.cpp:
+ (WebCore::SourceGraphic::determineAbsolutePaintRect):
+ (WebCore::SourceGraphic::platformApplySoftware):
+ * rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
+ (WebCore::RenderSVGResourceFilterPrimitive::determineFilterPrimitiveSubregion):
+ * svg/graphics/filters/SVGFEImage.cpp:
+ (WebCore::FEImage::determineAbsolutePaintRect):
+ (WebCore::FEImage::platformApplySoftware):
</ins><span class="cx">
</span><del>-2013-05-20 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+2014-03-26 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- [GTK] Fix concatenations of string literals that are not C++11-compliant
- https://bugs.webkit.org/show_bug.cgi?id=116449
</del><ins>+ Make sure childContainmentLayer is parented
+ https://bugs.webkit.org/show_bug.cgi?id=130808
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Fix the problematic concatenations of string literals so they are compilable under the C++11 standard. This
- is simply a matter of separating the string and the string literal that are being concatenated with a space.
</del><ins>+ m_childContainmentLayer was never parented if the page
+ created no other compositing layers, which left a dangling
+ GraphicsLayer which in turn confused UI-side compositing a little.
+ Fix by always parenting this layer.
</ins><span class="cx">
</span><del>- * platform/graphics/gtk/FullscreenVideoControllerGtk.cpp:
- * platform/gtk/FileSystemGtk.cpp:
- (WebCore::sharedResourcesPath):
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer):
</ins><span class="cx">
</span><del>-2013-05-20 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+2014-03-26 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- [GTK] Support application/x-mimearchive mimetype for MHTML archives instead of message/rfc822
- https://bugs.webkit.org/show_bug.cgi?id=116442
</del><ins>+ Web Replay: disable page cache during capture/replay
+ https://bugs.webkit.org/show_bug.cgi?id=130672
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- * loader/archive/ArchiveFactory.cpp:
- (WebCore::archiveMIMETypes): Like EFL and Qt, register the application/x-mimearchive mime type as a MHTML archive type
- and stop propagating the message/rfc822 mime type as such. This also removes a couple of PLATFORM ifdefs.
</del><ins>+ Save, set, and restore page cache settings at the correct times.
</ins><span class="cx">
</span><del>-2013-05-20 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ No new tests. If this code fails, then the tests for network replay will fail.
</ins><span class="cx">
</span><del>- Minor String fixes in CSS
- https://bugs.webkit.org/show_bug.cgi?id=116291
</del><ins>+ * replay/ReplayController.cpp:
+ (WebCore::ReplayController::setForceDeterministicSettings): Added.
+ (WebCore::ReplayController::startCapturing):
+ (WebCore::ReplayController::stopCapturing):
+ (WebCore::ReplayController::cancelPlayback):
+ (WebCore::ReplayController::replayToPosition):
+ * replay/ReplayController.h:
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-03-26 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- Some trival changes to make up for a bad day :)
</del><ins>+ Convert more of HTMLConverter to C++
+ https://bugs.webkit.org/show_bug.cgi?id=130811
</ins><span class="cx">
</span><del>- * css/CSSImageSetValue.cpp:
- (WebCore::CSSImageSetValue::customCssText):
- * css/CSSImageValue.cpp:
- (WebCore::CSSImageValue::customCssText):
- * css/CSSImportRule.cpp:
- (WebCore::CSSImportRule::cssText):
- * css/CSSInheritedValue.cpp:
- (WebCore::CSSInheritedValue::customCssText):
- * css/CSSInitialValue.cpp:
- (WebCore::CSSInitialValue::customCssText):
- * css/CSSPrimitiveValue.cpp:
- (WebCore::CSSPrimitiveValue::customCssText):
- * css/CSSPropertySourceData.cpp:
- (WebCore::CSSPropertySourceData::toString):
- * css/CSSSelector.cpp:
- (WebCore::CSSSelector::selectorText):
- * css/CSSStyleRule.cpp:
- (WebCore::CSSStyleRule::generateSelectorText):
- * css/CSSStyleSheet.h:
- (WebCore::CSSStyleSheet::type):
- * css/CSSTimingFunctionValue.cpp:
- (WebCore::CSSLinearTimingFunctionValue::customCssText):
- (WebCore::CSSCubicBezierTimingFunctionValue::customCssText):
- * css/CSSValueList.cpp:
- (WebCore::CSSValueList::customCssText):
- (WebCore::CSSValueList::customSerializeResolvingVariables):
- * css/MediaQueryExp.cpp:
- (WebCore::MediaQueryExp::serialize):
- * css/WebKitCSSFilterValue.cpp:
- (WebCore::WebKitCSSFilterValue::customCssText):
- * css/WebKitCSSKeyframesRule.cpp:
- (WebCore::StyleRuleKeyframes::findKeyframeIndex):
- (WebCore::WebKitCSSKeyframesRule::cssText):
- * css/WebKitCSSMatFunctionValue.cpp:
- (WebCore::WebKitCSSMatFunctionValue::customCssText):
- * css/WebKitCSSMixFunctionValue.cpp:
- (WebCore::WebKitCSSMixFunctionValue::customCssText):
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>-2013-05-20 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * editing/cocoa/HTMLConverter.mm:
+ (HTMLConverter::HTMLConverter):
+ (HTMLConverter::~HTMLConverter):
+ (HTMLConverter::_blockLevelElementForNode):
+ (HTMLConverter::_colorForElement):
+ (HTMLConverter::_computedAttributesForElement):
+ (HTMLConverter::_attributesForElement):
+ (HTMLConverter::_fillInBlock):
+ (HTMLConverter::_enterElement):
+ (HTMLConverter::_addTableForElement):
+ (HTMLConverter::_addTableCellForElement):
+ (HTMLConverter::_processElement):
+ (HTMLConverter::_exitElement):
+ (HTMLConverter::_getFloat): Deleted.
+ (HTMLConverter::_elementIsBlockLevel): Deleted.
+ (HTMLConverter::_elementHasOwnBackgroundColor): Deleted.
+ (HTMLConverter::_colorForNode): Deleted.
</ins><span class="cx">
</span><del>- Null pointer deference in WebCore::AppendNodeCommand::create
- https://bugs.webkit.org/show_bug.cgi?id=116479
</del><ins>+2014-03-26 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Hook up -webkit-overflow-scrolling:touch for iOS WK2
+ https://bugs.webkit.org/show_bug.cgi?id=130809
+
+ Reviewed by Tim Horton.
+
+ Get -webkit-overflow-scrolling: touch working for iOS WK2.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/5cb43002a44f67a60ecf5a7ed76de2d0bcf89eb2
</del><ins>+ * WebCore.exp.in:
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::updateScrollingNode):
+ Send in ScrollingGeometry when we update scrolling nodes.
+ * page/scrolling/AsyncScrollingCoordinator.h:
+ * page/scrolling/ScrollingCoordinator.h:
+ (WebCore::ScrollingCoordinator::updateScrollingNode):
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h:
+ Need to get to the scrolling layer in a subclass.
+ (WebCore::ScrollingTreeScrollingNodeIOS::scrollLayer):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::hasAcceleratedTouchScrolling): Remove code
+ that temporarily disabled touch-scrolling.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateScrollCoordinatedLayer): When we
+ update scrolling nodes, send in the right scrolling geometry.
</ins><span class="cx">
</span><del>- DeleteSelection::makeStylingElementsDirectChildrenOfEditableRootToPreventStyleLoss() make style and link elements
- to be the direct children of the editable root. However, these style and link elements are not necessary editable
- and WebKit crashes when they are not.
</del><ins>+2014-03-26 Timothy Hatcher <timothy@apple.com>
</ins><span class="cx">
</span><del>- Test: editing/deleting/delete-uneditable-style.html
</del><ins>+ Modernize the loops in InspectorPageAgent.cpp.
</ins><span class="cx">
</span><del>- * editing/DeleteSelectionCommand.cpp:
- (WebCore::DeleteSelectionCommand::makeStylingElementsDirectChildrenOfEditableRootToPreventStyleLoss):
</del><ins>+ Also moves the check for hiddenFromInspector to a lower level.
+ This hides hidden resources from more places.
</ins><span class="cx">
</span><del>-2013-05-20 Beth Dakin <bdakin@apple.com>
</del><ins>+ https://bugs.webkit.org/show_bug.cgi?id=130803
</ins><span class="cx">
</span><del>- Scrollbars still show sometimes even when WKPageSetSuppressScrollbarAnimations()
- is set
- https://bugs.webkit.org/show_bug.cgi?id=116493
- -and corresponding-
- <rdar://problem/13912871>
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><ins>+ * inspector/InspectorPageAgent.cpp:
+ (WebCore::buildArrayForCookies):
+ (WebCore::cachedResourcesForFrame):
+ (WebCore::allResourcesURLsForFrame):
+ (WebCore::InspectorPageAgent::getCookies):
+ (WebCore::InspectorPageAgent::searchInResources):
+ (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
+ (WebCore::InspectorPageAgent::loaderDetachedFromFrame):
+ (WebCore::InspectorPageAgent::buildObjectForFrameTree):
+
+2014-03-26 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
+
+ Add platform implementation for RTCOfferAnswerOptions and RTCOfferOptions
+ https://bugs.webkit.org/show_bug.cgi?id=130689
+
+ Reviewed by Eric Carlson.
+
+ RTCOfferAnswerOptions and RTCOfferOptions objects were being passed to platform class, causing a layer
+ violation.
+
+ * Modules/mediastream/RTCOfferAnswerOptions.cpp:
+ (WebCore::RTCOfferAnswerOptions::initialize):
+ (WebCore::RTCOfferOptions::initialize):
+ * Modules/mediastream/RTCOfferAnswerOptions.h:
+ (WebCore::RTCOfferAnswerOptions::requestIdentity):
+ (WebCore::RTCOfferAnswerOptions::privateOfferAnswerOptions):
+ (WebCore::RTCOfferAnswerOptions::RTCOfferAnswerOptions):
+ (WebCore::RTCOfferOptions::offerToReceiveVideo):
+ (WebCore::RTCOfferOptions::offerToReceiveAudio):
+ (WebCore::RTCOfferOptions::voiceActivityDetection):
+ (WebCore::RTCOfferOptions::iceRestart):
+ (WebCore::RTCOfferOptions::privateOfferOptions):
+ (WebCore::RTCOfferOptions::RTCOfferOptions):
+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::RTCPeerConnection::createOffer):
+ (WebCore::RTCPeerConnection::createAnswer):
+ * platform/mediastream/RTCOfferAnswerOptionsPrivate.h: Added.
+ * platform/mediastream/RTCPeerConnectionHandler.h:
+ * platform/mock/RTCPeerConnectionHandlerMock.cpp:
+ (WebCore::RTCPeerConnectionHandlerMock::createOffer):
+ (WebCore::RTCPeerConnectionHandlerMock::createAnswer):
+ * platform/mock/RTCPeerConnectionHandlerMock.h:
+
+2014-03-26 Zalan Bujtas <zalan@apple.com>
+
+ Device scale factor should always be greater than 0.
+ https://bugs.webkit.org/show_bug.cgi?id=130798
+
+ Reviewed by David Kilzer.
+
+ Rendering context requires a device scale factor > 0 so that we can map CSS pixels
+ to device pixels properly. Neither 0 nor a negative device pixel ratio are considered to be valid.
+
+ * page/Page.cpp:
+ (WebCore::Page::setDeviceScaleFactor):
+
+2014-03-26 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Skipping underlines disregard points completely inside the underline rect
+ https://bugs.webkit.org/show_bug.cgi?id=130800
+
</ins><span class="cx"> Reviewed by Dean Jackson.
</span><span class="cx">
</span><del>- We need to be more aggressive with our approach since AppKit may still ask the
- scrollbars to paint here.
</del><ins>+ When determining bounds for underline skipping, endpoints of glyph contours
+ that lie entirely within the rect of the underline are ignored. This patch
+ makes these points affect the skipping regions the same way that intersections
+ do.
</ins><span class="cx">
</span><del>- scrollbarAnimationsAreSuppressed() will allow us to find out if the setting has
- been set.
- * page/FrameView.cpp:
- (WebCore::FrameView::scrollbarAnimationsAreSuppressed):
- * page/FrameView.h:
- * platform/ScrollableArea.h:
- (WebCore::ScrollableArea::scrollbarAnimationsAreSuppressed):
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::scrollbarAnimationsAreSuppressed):
- * rendering/RenderLayer.h:
- (RenderLayer):
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::scrollbarAnimationsAreSuppressed):
- * rendering/RenderListBox.h:
</del><ins>+ Test: fast/css3-text/css3-text-decoration/text-decoration-skip/glyph-inside-underline.html
</ins><span class="cx">
</span><del>- Don’t allow animations if scrollbars are suppressed.
- * platform/mac/ScrollAnimatorMac.mm:
- (-[WebScrollbarPainterDelegate scrollerImp:animateKnobAlphaTo:duration:]):
</del><ins>+ * platform/graphics/mac/FontMac.mm:
+ (WebCore::updateX): Refactored common code into a function
+ (WebCore::findPathIntersections): Test for endpoints which lie entirely within
+ the underline bounds
</ins><span class="cx">
</span><del>- Call cancelAnimations() to prevent a just-started animation from continuing.
- (WebCore::ScrollAnimatorMac::finishCurrentScrollAnimations):
</del><ins>+2014-03-26 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>-2013-05-20 Andreas Kling <akling@apple.com>
</del><ins>+ Unreviewed. iOS build fix after r166312. Soft link CMTimeRangeGetEnd.
</ins><span class="cx">
</span><del>- Avoid caret repaints if we're not showing carets anyway.
- <http://webkit.org/b/116489>
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
</ins><span class="cx">
</span><ins>+2014-03-26 Timothy Hatcher <timothy@apple.com>
+
+ Propagate the hiddenFromInspector flag on ResourceRequest in
+ places when a new request a made or passed between processes.
+
+ https://bugs.webkit.org/show_bug.cgi?id=130741
+
+ Reviewed by Joseph Pecoraro.
+
+ * WebCore.exp.in: Updated symbols for updateFromDelegatePreservingOldProperties.
+ * platform/network/cf/ResourceRequest.h:
+ * platform/network/cf/ResourceRequestCFNet.cpp:
+ (WebCore::ResourceRequest::updateFromDelegatePreservingOldProperties): Added.
+ (WebCore::ResourceRequest::updateFromDelegatePreservingOldHTTPBody): Deleted.
+ * platform/network/curl/ResourceRequest.h:
+ (WebCore::ResourceRequest::updateFromDelegatePreservingOldProperties): Added.
+ (WebCore::ResourceRequest::updateFromDelegatePreservingOldHTTPBody): Deleted.
+ * platform/network/mac/ResourceRequestMac.mm:
+ (WebCore::ResourceRequest::updateFromDelegatePreservingOldProperties): Added.
+ (WebCore::ResourceRequest::updateFromDelegatePreservingOldHTTPBody): Deleted.
+ * platform/network/soup/ResourceRequest.h:
+ (WebCore::ResourceRequest::updateFromDelegatePreservingOldProperties): Added.
+ (WebCore::ResourceRequest::updateFromDelegatePreservingOldHTTPBody): Deleted.
+
+2014-03-26 Zoltan Horvath <zoltan@webkit.org>
+
+ [CSS Shapes] Remove no-longer-used shape-inside geometry code
+ https://bugs.webkit.org/show_bug.cgi?id=130740
+
+ Reviewed by David Hyatt.
+
+ This patch removes shape-padding support, since it can be used only with shape-inside.
+ Shape-inside support has been removed in r166301.
+
+ No new tests needed, existing tests have been removed by r166301.
+
+ * rendering/shapes/BoxShape.cpp:
+ (WebCore::BoxShape::shapePaddingLogicalBoundingBox): Deleted.
+ (WebCore::BoxShape::shapePaddingBounds): Deleted.
+ (WebCore::BoxShape::getIncludedIntervals): Deleted.
+ (WebCore::BoxShape::firstIncludedIntervalLogicalTop): Deleted.
+ * rendering/shapes/BoxShape.h:
+ * rendering/shapes/PolygonShape.cpp:
+ (WebCore::leftSide): Deleted.
+ (WebCore::isReflexVertex): Deleted.
+ (WebCore::computeShapePaddingBounds): Deleted.
+ (WebCore::PolygonShape::shapePaddingBounds): Deleted.
+ (WebCore::PolygonShape::getIncludedIntervals): Deleted.
+ (WebCore::firstFitRectInPolygon): Deleted.
+ (WebCore::aboveOrToTheLeft): Deleted.
+ (WebCore::PolygonShape::firstIncludedIntervalLogicalTop): Deleted.
+ * rendering/shapes/PolygonShape.h:
+ (WebCore::PolygonShape::PolygonShape):
+ * rendering/shapes/RasterShape.cpp:
+ (WebCore::RasterShapeIntervals::firstIncludedIntervalY): Deleted.
+ (WebCore::RasterShapeIntervals::getIncludedIntervals): Deleted.
+ (WebCore::RasterShape::paddingIntervals): Deleted.
+ (WebCore::RasterShape::getIncludedIntervals): Deleted.
+ (WebCore::RasterShape::firstIncludedIntervalLogicalTop): Deleted.
+ * rendering/shapes/RasterShape.h:
+ * rendering/shapes/RectangleShape.cpp:
+ (WebCore::ellipseYIntercept): Deleted.
+ (WebCore::RectangleShape::shapePaddingBounds): Deleted.
+ (WebCore::RectangleShape::getIncludedIntervals): Deleted.
+ (WebCore::cornerInterceptForWidth): Deleted.
+ (WebCore::RectangleShape::firstIncludedIntervalLogicalTop): Deleted.
+ * rendering/shapes/RectangleShape.h:
+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createShape):
+ (WebCore::Shape::createRasterShape):
+ (WebCore::Shape::createBoxShape):
+ * rendering/shapes/Shape.h:
+ (WebCore::Shape::lineOverlapsShapePaddingBounds): Deleted.
+ (WebCore::Shape::shapePadding): Deleted.
+ * rendering/shapes/ShapeInfo.cpp:
+ (WebCore::ShapeInfo<RenderType>::computedShape):
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::changeRequiresLayout):
+ * rendering/style/RenderStyle.h:
+ * rendering/style/StyleRareNonInheritedData.cpp:
+ (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
+ (WebCore::StyleRareNonInheritedData::operator==):
+ * rendering/style/StyleRareNonInheritedData.h:
+
+2014-03-26 Jeremy Jones <jeremyj@apple.com>
+
+ Implement hasLiveStreamingContent property in WebAVPlayerController
+ https://bugs.webkit.org/show_bug.cgi?id=128684
+
</ins><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- When moving the selection, check if we're inside a contenteditable element (or in caret browsing mode)
- before repainting the caret's previous location.
</del><ins>+ * WebCore.exp.in:
+ Add export for WebVideoFullscreenInterfaceAVKit::setSeekableRanges().
</ins><span class="cx">
</span><del>- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::recomputeCaretRect):
</del><ins>+ * platform/ios/WebVideoFullscreenInterface.h:
+ Add setSeekableRanges()
</ins><span class="cx">
</span><del>-2013-05-20 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+ Add setSeekableRanges()
</ins><span class="cx">
</span><del>- position:sticky should stick for the enclosing overflow ancestor
- https://bugs.webkit.org/show_bug.cgi?id=100054
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ Remove vestigial playerLayer property. Add seekableTimeRanges property.
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
-
- Make position: -webkit-sticky be constrained by an enclosing ancestor
- with non-visible overflow if there is one, rather than being constained
- always by the viewport.
</del><ins>+ (-[WebAVPlayerController dealloc]):
+ Release _seekableTimeRanges.
+ Remove references to _playerLayer.
</ins><span class="cx">
</span><del>- Test: fast/css/sticky/sticky-top-overflow.html
</del><ins>+ (-[WebAVPlayerController hasLiveStreamingContent]):
+ Implement based on duration. Live stream has an infinite duration.
</ins><span class="cx">
</span><del>- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::computeStickyPositionConstraints): Rename
- viewportRect to constrainingRect, since it isn't just about the viewport any more.
- Fix an issue where just adding stickyLocation to absContainerFrame.location() was
- incorrect when the container is scrolled; we also have to take the scroll offset
- into account, and that offset is stored in the layer tree.
- (WebCore::RenderBoxModelObject::stickyPositionOffset):
- Look for an enclosing layer with overflow clipping, and, if found, use it to
- compute the sticky constraint rect.
- * rendering/RenderLayer.h: Add a helpful IncludeSelfOrNot, and fix several member functions
- to use it place of hard-to-read boolean arguments.
- Add enclosingOverflowClipLayer(IncludeSelfOrNot).
- (WebCore::RenderLayer::ancestorCompositingLayer):
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::enclosingOverflowClipLayer): New function, finds the enclosing
- layer with overflow clip.
- (WebCore::RenderLayer::enclosingCompositingLayer): Use IncludeSelfOrNot.
- (WebCore::RenderLayer::enclosingCompositingLayerForRepaint): Ditto.
- (WebCore::RenderLayer::enclosingFilterLayer): Ditto.
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::repaintInCompositedAncestor): Use IncludeSelfOrNot.
- (WebCore::isViewportConstrainedFixedOrStickyLayer): Renamed from isRootmostFixedOrStickyLayer
- and moved up so we can use it in requiresCompositingForPosition().
- (WebCore::RenderLayerCompositor::requiresCompositingForPosition): Only make sticky composited if
- it's viewport-constrained.
- (WebCore::RenderLayerCompositor::updateViewportConstraintStatus):
- (WebCore::RenderLayerCompositor::computeStickyViewportConstraints): Declare StickyPositionViewportConstraints
- one line down to just before it gets used.
</del><ins>+ (+[WebAVPlayerController keyPathsForValuesAffectingHasLiveStreamingContent]):
+ Describe dependent keys for computed property hasLiveStreamingContent.
</ins><span class="cx">
</span><del>-2013-05-20 Jeff Rogers <jrogers@blackberry.com>
</del><ins>+ (-[WebAVPlayerController skipBackwardThirtySeconds:]):
+ Seek back 30 seconds if that time is in the seekable ranges.
</ins><span class="cx">
</span><del>- Remove DISABLE_ROUNDED_CORNER_CLIPPING
- https://bugs.webkit.org/show_bug.cgi?id=115531
</del><ins>+ (-[WebAVPlayerController gotoEndOfSeekableRanges:]):
+ Jump to live by going to the of the seekable ranges.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ (WebVideoFullscreenInterfaceAVKit::setSeekableRanges):
+ Convert TimeRange to CMTimeRange.
</ins><span class="cx">
</span><del>- BlackBerry port is no longer using this.
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ (WebVideoFullscreenModelMediaElement::setMediaElement):
+ Set initial seekable ranges.
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::inContainingBlockChain):
- (WebCore::RenderLayer::clipToRect):
</del><ins>+ (WebVideoFullscreenModelMediaElement::handleEvent):
+ Update seekable ranges when time changes.
</ins><span class="cx">
</span><del>-2013-05-20 Tim Horton <timothy_horton@apple.com>
</del><ins>+2014-03-26 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Clients should have a way to extend rendering suppression
- https://bugs.webkit.org/show_bug.cgi?id=116463
- <rdar://problem/13738496>
</del><ins>+ Fix OS X build.
</ins><span class="cx">
</span><del>- Reviewed by Andy Estes.
</del><ins>+ * WebCore.exp.in: Add missing export symbol.
</ins><span class="cx">
</span><ins>+2014-03-26 Simon Fraser <simon.fraser@apple.com>
+
+ Fix the Windows build. Add a no-op impl for Mac non-UI-side.
+
+ * platform/graphics/ca/mac/PlatformCALayerMac.h:
+ * platform/graphics/ca/win/PlatformCALayerWin.cpp:
+ (PlatformCALayerWin::PlatformCALayerWin):
+ * platform/graphics/ca/win/PlatformCALayerWin.h:
+
+2014-03-26 Simon Fraser <simon.fraser@apple.com>
+
+ REGRESSION (r155977): matrix animations no longer animate
+ https://bugs.webkit.org/show_bug.cgi?id=130789
+ <rdar://problem/15650946>
+
+ Reviewed by Dean Jackson.
+
+ r155977 erroneously removed two lines that set the end points for
+ matrix animations (used when transform lists don't match), so
+ put them back.
+
+ Also don't repaint when updateContentsScale()
+ is called and doesn't change the contents scale.
+
+ Test: compositing/animation/matrix-animation.html
+
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::updateRootRelativeScale):
+ (WebCore::GraphicsLayerCA::setTransformAnimationEndpoints):
+ (WebCore::GraphicsLayerCA::updateContentsScale):
+
+2014-03-26 Simon Fraser <simon.fraser@apple.com>
+
+ Add a custom behavior flag to GraphicsLayer, piped down to PlatformCALayer, for scrolling layers
+ https://bugs.webkit.org/show_bug.cgi?id=130778
+
+ Reviewed by Tim Horton.
+
+ Make it possible to put a "custom behavior" flag on a layer so that,
+ with UI-side compositing, we know to create a specific type of
+ layer or view for that GraphicsLayer.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- Export FrameView::setVisualUpdatesAllowedByClient.
</del><ins>+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::GraphicsLayer):
+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::setCustomBehavior):
+ (WebCore::GraphicsLayer::customBehavior):
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers):
+ (WebCore::GraphicsLayerCA::updateCustomBehavior):
+ (WebCore::GraphicsLayerCA::setCustomBehavior):
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * platform/graphics/ca/PlatformCALayer.h:
+ * platform/graphics/ca/mac/PlatformCALayerMac.h:
+ * platform/graphics/ca/mac/PlatformCALayerMac.mm:
+ (PlatformCALayerMac::PlatformCALayerMac):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateScrollingLayers):
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::setVisualUpdatesAllowed):
- Move rendering-suppression watchdog into setVisualUpdatesAllowed(bool).
- setVisualUpdatesAllowed(ReadyState) should not re-enable visual updates
- if the client is itself disabling visual updates.
</del><ins>+2014-03-26 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::Document::visualUpdatesSuppressionTimerFired):
- If the watchdog fires and the client is still disabling visual
- updates, we should not re-enable visual updates, but instead
- wait for the client.
</del><ins>+ Unreviewed test correction.
</ins><span class="cx">
</span><del>- (WebCore::Document::setVisualUpdatesAllowedByClient):
- Actually re-enable visual updates if we deferred the re-enabling above
- (when the page finishes loading, but the client had them disabled).
</del><ins>+ Because of the way DRT on Windows links to WebCore, having the implementaion of the update
+ method in the header caused a runtime failure due to duplicate symbols being bound to the
+ compilation unit.
</ins><span class="cx">
</span><del>- * dom/Document.h:
- (Document): Add setVisualUpdatesAllowedByClient.
- * page/FrameView.cpp:
- (WebCore::FrameView::FrameView): Visual updates are allowed by default.
- (WebCore::FrameView::setVisualUpdatesAllowedByClient):
- Forward through to the document, but we also need to persist the state
- here in FrameView so that it survives through navigation.
</del><ins>+ * accessibility/AXObjectCache.cpp:
+ (WebCore::AXObjectCache::setEnhancedUserInterfaceAccessibility): Moved from header.
+ * accessibility/AXObjectCache.h:
+ (WebCore::AXObjectCache::setEnhancedUserInterfaceAccessibility): Deleted.
</ins><span class="cx">
</span><del>- * page/FrameView.h:
- (WebCore::FrameView::setVisualUpdatesAllowedByClient): Added.
- (WebCore::FrameView::visualUpdatesAllowedByClient): Added.
- Added storage for m_visualUpdatesAllowedByClient.
</del><ins>+2014-03-26 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>-2013-05-20 Hans Muller <hmuller@adobe.com>
</del><ins>+ REGRESSION(r162679): Poster image visible under the video
+ https://bugs.webkit.org/show_bug.cgi?id=130783
</ins><span class="cx">
</span><del>- [CSS Exclusions] Add CSS parsing support for image URI shape-inside and shape-outside values
- https://bugs.webkit.org/show_bug.cgi?id=116349
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ In the listed revision, we started checking for isRenderImage()
+ instead of isImage(). RenderMedias return 'true' for the first
+ but 'false' for the second. Change the if() statement to check
+ for isRenderMedia() in addition to !isRenderImage().
</ins><span class="cx">
</span><del>- Add support for parsing image URI values for the shape-inside and shape-outside CSS properties.
- Extended the ExclusionShapeValue class to support tracking the property's StyleImage value.
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::isDirectlyCompositedImage):
</ins><span class="cx">
</span><del>- The ExclusionShapeValue::type enums were changed from all upper case to "Intercase" by order
- of the style bot.
</del><ins>+2014-03-26 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- The existing CSS parsing tests were extended to check URI values.
</del><ins>+ Render tree construction is O(N^2) in number of siblings
+ https://bugs.webkit.org/show_bug.cgi?id=129065
</ins><span class="cx">
</span><ins>+ Reviewed by Darin Adler.
+
+ When adding a new renderer to the tree we would search for the correct render tree
+ position by traversing DOM children forward to find something that already has a renderer.
+ In common case there is no such renderer. This would be repeated for each inserted renderer
+ leading to O(n^2) in respect to child node count.
+
+ This patch caches the computed render tree insertion position and passes it to siblings.
+ Until the cached position is reached it can be used for all new renderers.
+
+ Test: perf/sibling-renderer-On2.html
+
+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::RenderTreePosition::parent):
+ (WebCore::Style::RenderTreePosition::RenderTreePosition):
+ (WebCore::Style::RenderTreePosition::canInsert):
+ (WebCore::Style::RenderTreePosition::insert):
+ (WebCore::Style::RenderTreePosition::computeNextSibling):
+ (WebCore::Style::RenderTreePosition::invalidateNextSibling):
+ (WebCore::Style::styleForElement):
+ (WebCore::Style::elementInsideRegionNeedsRenderer):
+ (WebCore::Style::createRendererIfNeeded):
+ (WebCore::Style::createTextRendererIfNeeded):
+ (WebCore::Style::attachTextRenderer):
+ (WebCore::Style::updateTextRendererAfterContentChange):
+ (WebCore::Style::attachChildren):
+ (WebCore::Style::attachDistributedChildren):
+ (WebCore::Style::attachShadowRoot):
+ (WebCore::Style::attachBeforeOrAfterPseudoElementIfNeeded):
+ (WebCore::Style::attachRenderTree):
+ (WebCore::Style::resolveLocal):
+ (WebCore::Style::resolveTextNode):
+ (WebCore::Style::resolveShadowTree):
+ (WebCore::Style::updateBeforeOrAfterPseudoElement):
+ (WebCore::Style::resolveTree):
+
+2014-03-26 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r166264.
+ https://bugs.webkit.org/show_bug.cgi?id=130785
+
+ Broke some window.opener tests for WK2 Mavericks (Requested by
+ brrian__ on #webkit).
+
+ Reverted changeset:
+
+ "Web Replay: resource unique identifiers should be unique-per-
+ frame, not globally"
+ https://bugs.webkit.org/show_bug.cgi?id=130632
+ http://trac.webkit.org/changeset/166264
+
+2014-03-26 Zoltan Horvath <zoltan@webkit.org>
+
+ [CSS Shapes] Remove shape-inside support
+ https://bugs.webkit.org/show_bug.cgi?id=130698
+
+ Reviewed by David Hyatt.
+
+ CSS Shapes Level 1 (CR) only contains shape-outside. We are focusing our efforts on finalizing
+ the implementation of shape-outside, it's worth to remove shape-inside code at this point for now.
+
+ A list of reasons for the removal:
+ - Shape-inside is only part of Shapes Level 2, which needs to be improved on some topics.
+ - Shape-inside is lack of new shapes support (e.g. inset).
+ - Deprecated shapes (r165472) are removed from the code (e.g. rectangle), which affects shape-inside.
+ - The current shape-inside code spreads across the layout code.
+ - The current shape-inside implementation is experimental in some areas,
+ and the partially implemented code can have security implications.
+ - Removal of shape-inside opens possibilities for code complexity and performance
+ optimizations for shape-outside. (e.g. simpler geometry code)
+
+ No new tests are needed.
+
+ * CMakeLists.txt:
+ * Configurations/FeatureDefines.xcconfig:
+ * GNUmakefile.list.am:
+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx"> * css/CSSComputedStyleDeclaration.cpp:
</span><del>- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
</del><ins>+ (WebCore::ComputedStyleExtractor::propertyValue):
</ins><span class="cx"> * css/CSSParser.cpp:
</span><ins>+ (WebCore::isSimpleLengthPropertyID):
</ins><span class="cx"> (WebCore::CSSParser::parseValue):
</span><ins>+ (WebCore::CSSParser::parseShapeProperty):
+ * css/CSSPropertyNames.in:
</ins><span class="cx"> * css/DeprecatedStyleBuilder.cpp:
</span><del>- (WebCore::ApplyPropertyExclusionShape::applyValue):
</del><ins>+ (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
</ins><span class="cx"> * css/StyleResolver.cpp:
</span><ins>+ (WebCore::StyleResolver::applyProperty):
</ins><span class="cx"> (WebCore::StyleResolver::loadPendingImages):
</span><del>- * rendering/style/ExclusionShapeValue.h:
- (WebCore::ExclusionShapeValue::createImageValue):
- (ExclusionShapeValue):
- (WebCore::ExclusionShapeValue::image):
- (WebCore::ExclusionShapeValue::setImage):
- (WebCore::ExclusionShapeValue::ExclusionShapeValue):
</del><ins>+ * page/animation/CSSPropertyAnimation.cpp:
+ (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
+ * rendering/LayoutState.cpp:
+ (WebCore::LayoutState::LayoutState):
+ * rendering/LayoutState.h:
+ (WebCore::LayoutState::LayoutState):
+ (WebCore::LayoutState::shapeInsideInfo): Deleted.
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::styleDidChange):
+ (WebCore::RenderBlock::imageChanged):
+ (WebCore::RenderBlock::preparePaginationBeforeBlockLayout):
+ (WebCore::RenderBlock::relayoutShapeDescendantIfMoved): Deleted.
+ (WebCore::RenderBlock::logicalOffsetFromShapeAncestorContainer): Deleted.
+ (WebCore::RenderBlock::updateShapeInsideInfoAfterStyleChange): Deleted.
+ (WebCore::RenderBlock::ensureShapeInsideInfo): Deleted.
+ (WebCore::RenderBlock::shapeInsideInfo): Deleted.
+ (WebCore::RenderBlock::setShapeInsideInfo): Deleted.
+ (WebCore::RenderBlock::markShapeInsideDescendantsForLayout): Deleted.
+ (WebCore::RenderBlock::layoutShapeInsideInfo): Deleted.
+ (WebCore::shapeInfoRequiresRelayout): Deleted.
+ (WebCore::RenderBlock::computeShapeSize): Deleted.
+ (WebCore::RenderBlock::updateShapesBeforeBlockLayout): Deleted.
+ (WebCore::RenderBlock::updateShapesAfterBlockLayout): Deleted.
+ (WebCore::RenderBlock::prepareShapesAndPaginationBeforeBlockLayout): Deleted.
+ * rendering/RenderBlock.h:
+ (WebCore::RenderBlock::allowsShapeInsideInfoSharing): Deleted.
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::layoutBlock):
+ (WebCore::RenderBlockFlow::layoutBlockChild):
+ (WebCore::RenderBlockFlow::computeLogicalLocationForFloat):
+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlockFlow::computeInlineDirectionPositionsForLine):
+ (WebCore::RenderBlockFlow::layoutRunsAndFloatsInRange):
+ (WebCore::constructBidiRunsForLine): Deleted.
+ (WebCore::pushShapeContentOverflowBelowTheContentBox): Deleted.
+ (WebCore::RenderBlockFlow::updateShapeAndSegmentsForCurrentLine): Deleted.
+ (WebCore::RenderBlockFlow::updateShapeAndSegmentsForCurrentLineInFlowThread): Deleted.
+ (WebCore::adjustLogicalLineTop): Deleted.
+ (WebCore::RenderBlockFlow::adjustLogicalLineTopAndLogicalHeightIfNeeded): Deleted.
+ * rendering/RenderDeprecatedFlexibleBox.cpp:
+ (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::~RenderElement):
+ (WebCore::RenderElement::initializeStyle):
+ (WebCore::RenderElement::setStyle):
+ * rendering/RenderFlexibleBox.cpp:
+ (WebCore::RenderFlexibleBox::layoutBlock):
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::layoutBlock):
+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::createStyle):
+ * rendering/RenderView.h:
+ * rendering/SimpleLineLayout.cpp:
+ (WebCore::SimpleLineLayout::canUseFor):
+ * rendering/line/BreakingContextInlineHeaders.h:
+ (WebCore::BreakingContext::handleText):
+ (WebCore::BreakingContext::handleEndOfLine):
+ (WebCore::updateSegmentsForShapes): Deleted.
+ * rendering/line/LineBreaker.cpp:
+ (WebCore::LineBreaker::nextLineBreak):
+ * rendering/line/LineWidth.cpp:
+ (WebCore::LineWidth::LineWidth):
+ (WebCore::LineWidth::updateAvailableWidth):
+ (WebCore::LineWidth::wrapNextToShapeOutside):
+ (WebCore::LineWidth::fitBelowFloats):
+ (WebCore::LineWidth::updateLineSegment): Deleted.
+ (WebCore::LineWidth::updateCurrentShapeSegment): Deleted.
+ * rendering/line/LineWidth.h:
+ * rendering/shapes/ShapeInsideInfo.cpp: Removed.
+ * rendering/shapes/ShapeInsideInfo.h: Removed.
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::changeRequiresLayout):
+ * rendering/style/RenderStyle.h:
+ * rendering/style/StyleRareNonInheritedData.cpp:
+ (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
+ (WebCore::StyleRareNonInheritedData::operator==):
+ * rendering/style/StyleRareNonInheritedData.h:
</ins><span class="cx">
</span><del>-2013-05-20 Radu Stavila <stavila@adobe.com>
</del><ins>+2014-03-25 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- [CSSRegions] Fix offsetLeft / offsetTop for elements inside named flow
- https://bugs.webkit.org/show_bug.cgi?id=115899
</del><ins>+ Avoid duplicate size checks when creating empty image
+ https://bugs.webkit.org/show_bug.cgi?id=130730
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Elements in named flows that have the body as their offsetParent, need to compute their
- offsetLeft and offsetTop values relative to the body.
</del><ins>+ Merged from Blink (patch by ch.dumez@samsung.com):
+ https://chromium.googlesource.com/chromium/blink/+/4861a71bc1f284fc97417f405ab7d08dc6947b88
+ http://crbug.com/190633011
</ins><span class="cx">
</span><del>- Tests: fast/regions/offsetLeft-offsetTop-in-multiple-regions.html
- fast/regions/offsetLeft-offsetTop-in-region-absolute-sticky-fixed.html
- fast/regions/offsetLeft-offsetTop-in-region-float-vert-rl.html
- fast/regions/offsetLeft-offsetTop-in-region-float.html
- fast/regions/offsetLeft-offsetTop-inlines-region-in-element.html
</del><ins>+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::createEmptyImageData): Don't perform overflow calculation twice.
</ins><span class="cx">
</span><del>- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::adjustedPositionRelativeToOffsetParent):
- * rendering/RenderFlowThread.cpp:
- (WebCore):
- (WebCore::RenderFlowThread::adjustedPositionRelativeToOffsetParent):
- * rendering/RenderFlowThread.h:
</del><ins>+2014-03-26 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>-2013-05-20 Zoltan Horvath <zoltan@webkit.org>
</del><ins>+ [CSS Grid Layout] getComputedStyle() must return the specified value for positioning properties
+ https://bugs.webkit.org/show_bug.cgi?id=130010
</ins><span class="cx">
</span><del>- [CSS Regions][CSS Exclusions] shape-inside on regions should respect positioned shapes and overflow
- https://bugs.webkit.org/show_bug.cgi?id=116252
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ According to the specs
+ http://dev.w3.org/csswg/css-grid/#property-index and also to
+ http://lists.w3.org/Archives/Public/www-style/2014Mar/0162.html
+ the function getComputedStyle() must return the specified values
+ for positioning properties, i.e, grid-{columns|rows}-{start|end}.
</ins><span class="cx">
</span><del>- Regions should respect shape-inside properties which have specified top offset. Since the content which overflows from the
- shape should be pushed after the content box (for details check out r148975), I implemented overflowthe behavior for simple
- cases when you have only one region. I'm going to implement it for additional regions in a follow up patch.
</del><ins>+ We were in some cases, adjusting the style in the StyleResolver
+ (for example with two opposing spans) something that is now done
+ in the RenderGrid because we cannot alter the original style.
</ins><span class="cx">
</span><del>- Tests: fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset.html
- fast/regions/shape-inside/shape-inside-on-regions-inline-content-basic-overflow-shape-top-offset.html
</del><ins>+ The code moved to the renderer became more self explanatory and it
+ now supports named grid areas with names ending in "-start" and
+ "-end".
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::updateLineBoundariesForExclusions): Handle the flow thread case, push the overflowing content after the
- content box. Respect existing shape-inside on region tests.
- (WebCore::RenderBlock::layoutRunsAndFloatsInRange): Set the correct logical top position for the shape-inside in
- the case of regions. Respect the region's margins and paddings.
</del><ins>+ Test: fast/css-grid-layout/named-grid-lines-with-named-grid-areas-get-set.html
</ins><span class="cx">
</span><del>-2013-05-20 Darin Adler <darin@apple.com>
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::adjustRenderStyle):
+ (WebCore::gridLineDefinedBeforeGridArea): Deleted.
+ (WebCore::StyleResolver::adjustNamedGridItemPosition): Deleted.
+ (WebCore::StyleResolver::adjustGridItemPosition): Deleted.
+ * css/StyleResolver.h:
+ * rendering/RenderGrid.cpp:
+ (WebCore::isColumnSide):
+ (WebCore::RenderGrid::explicitGridSizeForSide):
+ (WebCore::gridLineDefinedBeforeGridArea):
+ (WebCore::setNamedLinePositionIfDefinedBeforeArea):
+ (WebCore::RenderGrid::adjustNamedGridItemPosition):
+ (WebCore::RenderGrid::adjustGridPositionsFromStyle):
+ (WebCore::RenderGrid::resolveGridPositionsFromStyle):
+ (WebCore::RenderGrid::resolveNamedGridLinePositionFromStyle):
+ (WebCore::RenderGrid::resolveNamedGridLinePositionAgainstOppositePosition):
+ * rendering/RenderGrid.h:
+ * rendering/style/GridPosition.h:
+ (WebCore::GridPosition::setAutoPosition): New helper function.
</ins><span class="cx">
</span><del>- Remove custom binding for the Clipboard clearData function
- https://bugs.webkit.org/show_bug.cgi?id=116421
</del><ins>+2014-03-26 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Fix the iOS build.
</ins><span class="cx">
</span><del>- * bindings/js/JSClipboardCustom.cpp: Removed the clearData binding.
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- * dom/Clipboard.idl: Removed [Custom].
</del><ins>+2014-03-26 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::clearData): Renamed from clearAllData.
- * dom/Clipboard.h: Rename clearAllData to clearData so we just use
- overloading for the one with and without a MIME type.
- * platform/ios/ClipboardIOS.h: Rename clearAllData to clearData.
- * platform/ios/ClipboardIOS.mm:
- (WebCore::ClipboardIOS::clearData): Ditto.
- * platform/qt/ClipboardQt.cpp:
- (WebCore::ClipboardQt::clearData). Ditto.
- * platform/qt/ClipboardQt.h: Ditto.
- * platform/win/ClipboardWin.cpp:
- (WebCore::ClipboardWin::clearData): Ditto.
- * platform/win/ClipboardWin.h: Ditto.
</del><ins>+ [iOS WebKit2] Flush all surfaces after painting into all of them, instead of after painting into each one
+ https://bugs.webkit.org/show_bug.cgi?id=130768
+ <rdar://problem/16421471>
</ins><span class="cx">
</span><del>-2013-05-20 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- [iOS] media/event-queue-crash.html ASSERTs in notifyChildInserted
- https://bugs.webkit.org/show_bug.cgi?id=116444
</del><ins>+ * platform/graphics/cocoa/IOSurface.h:
+ Add a non-ensuring platformContext() getter.
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+2014-03-26 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ Web Inspector: AXI: crash when inspecting "bar" text node in getAccessibilityPropertiesForNode layout test
+ https://bugs.webkit.org/show_bug.cgi?id=130290
</ins><span class="cx">
</span><ins>+ Reviewed by Timothy Hatcher.
+
+ Test: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
+
+ Fixing regression from r165590. http://webkit.org/b/129779
+ Verify isElementNode to avoid calling toElement on document or text nodes.
+
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+
+2014-03-25 Sergio Villar Senin <svillar@igalia.com>
+
+ Replace DEPRECATED_DEFINE_STATIC_LOCAL by static NeverDestroyed<T> in editing/
+ https://bugs.webkit.org/show_bug.cgi?id=130722
+
+ Reviewed by Antti Koivisto.
+
+ * editing/AlternativeTextController.cpp:
+ (WebCore::markerTypesForAutocorrection):
+ (WebCore::markerTypesForReplacement):
+ (WebCore::markerTypesForAppliedDictationAlternative):
+ * editing/EditingStyle.cpp:
+ (WebCore::htmlElementEquivalents):
+ (WebCore::htmlAttributeEquivalents):
+ * editing/FormatBlockCommand.cpp:
+ (WebCore::isElementForFormatBlock):
+ * editing/RemoveFormatCommand.cpp:
+ (WebCore::isElementForRemoveFormatCommand):
+ * editing/ReplaceSelectionCommand.cpp:
+ (WebCore::isProhibitedParagraphChild):
+ * editing/atk/FrameSelectionAtk.cpp:
+ (WebCore::maybeEmitTextFocusChange):
+
+2014-03-25 Simon Fraser <simon.fraser@apple.com>
+
+ Add a new type of scrolling tree node for overflow scrolling
+ https://bugs.webkit.org/show_bug.cgi?id=130763
+
+ Reviewed by Tim Horton.
+
+ Prepare for overflow scrolling via the scrolling tree by adding
+ a new scrolling node type for overflow:scroll nodes. Mostly
+ this is a new ScrollingNodeType that gets mapped to the same
+ scrolling state nodes and scrolling nodes, but iOS creates
+ state and scrolling nodes specific to overflow:scroll.
+
+ Change the type checking on nodes to use virtual functions instead
+ of just checking the node type, to allow the macros to work with
+ the new scrolling node type.
+
+ * WebCore.exp.in:
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::ensureRootStateNodeForFrameView):
+ * page/scrolling/ScrollingCoordinator.h:
+ * page/scrolling/ScrollingStateFixedNode.h:
+ * page/scrolling/ScrollingStateNode.h:
+ (WebCore::ScrollingStateNode::isFixedNode):
+ (WebCore::ScrollingStateNode::isStickyNode):
+ (WebCore::ScrollingStateNode::isScrollingNode):
+ * page/scrolling/ScrollingStateScrollingNode.cpp:
+ (WebCore::ScrollingStateScrollingNode::create):
+ (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode):
+ * page/scrolling/ScrollingStateScrollingNode.h:
+ * page/scrolling/ScrollingStateStickyNode.h:
+ * page/scrolling/ScrollingStateTree.cpp:
+ (WebCore::ScrollingStateTree::attachNode):
+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::viewportChangedViaDelegatedScrolling):
+ (WebCore::ScrollingTree::updateTreeFromStateNode):
+ * page/scrolling/ScrollingTreeNode.h:
+ (WebCore::ScrollingTreeNode::isFixedNode):
+ (WebCore::ScrollingTreeNode::isStickyNode):
+ (WebCore::ScrollingTreeNode::isScrollingNode):
+ * page/scrolling/ScrollingTreeScrollingNode.cpp:
+ (WebCore::ScrollingTreeScrollingNode::ScrollingTreeScrollingNode):
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ * page/scrolling/ios/ScrollingCoordinatorIOS.mm:
+ (WebCore::ScrollingCoordinatorIOS::createScrollingTreeNode):
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h:
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeScrollingNodeIOS::create):
+ (WebCore::ScrollingTreeScrollingNodeIOS::ScrollingTreeScrollingNodeIOS):
+ * page/scrolling/mac/ScrollingCoordinatorMac.mm:
+ (WebCore::ScrollingCoordinatorMac::createScrollingTreeNode):
+ * page/scrolling/mac/ScrollingTreeFixedNode.h:
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::create):
+ (WebCore::ScrollingTreeScrollingNodeMac::ScrollingTreeScrollingNodeMac):
+ * page/scrolling/mac/ScrollingTreeStickyNode.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateScrollCoordinatedLayer):
+
+2014-03-26 Krzysztof Czech <k.czech@samsung.com>
+
+ [ATK] Utilize new AtkValue interface coming in ATK 2.11.92
+ https://bugs.webkit.org/show_bug.cgi?id=130575
+
+ Reviewed by Mario Sanchez Prada.
+
+ ATK 2.11.92 introduces some new API and deprecates an old one.
+ Adjust current implementation to meet requirements of the new API.
+
+ No new tests. Covered by existing ones.
+
+ * accessibility/atk/AXObjectCacheAtk.cpp:
+ (WebCore::AXObjectCache::postPlatformNotification):
+ * accessibility/atk/WebKitAccessibleInterfaceValue.cpp:
+ (webkitAccessibleSetNewValue):
+ (webkitAccessibleGetIncrementValue):
+ (webkitAccessibleGetValueAndText):
+ (webkitAccessibleGetIncrement):
+ (webkitAccessibleSetValue):
+ (webkitAccessibleGetRange):
+ (webkitAccessibleValueSetCurrentValue):
+ (webkitAccessibleValueGetMinimumIncrement):
+ (webkitAccessibleValueInterfaceInit):
+
+2014-03-26 Zan Dobersek <zdobersek@igalia.com>
+
+ Unreviewed. Removing the remaining Automake cruft.
+
+ * GNUmakefile.list.am: Removed.
+
+2014-03-25 Pratik Solanki <psolanki@apple.com>
+
+ iOS build fix. Add missing semicolon.
+
+ * editing/cocoa/HTMLConverter.mm:
+ (HTMLConverter::_addAttachmentForElement):
+
+2014-03-25 Sam Weinig <sam@webkit.org>
+
+ Speculative iOS build fix.
+
+ * editing/cocoa/HTMLConverter.mm:
+ (HTMLConverter::_addAttachmentForElement):
+
+2014-03-25 Jer Noble <jer.noble@apple.com>
+
+ [MSE] Duplicate 'seeked' events.
+ https://bugs.webkit.org/show_bug.cgi?id=130754
+
+ Reviewed by Eric Carlson.
+
+ Test: media/media-source/media-source-duplicate-seeked.html
+
+ During certain seek operations, HTMLMediaElement::finishSeek() can be called re-entrantly due to
+ the ready state changing as a result of MediaSource::monitorSourceBuffers(). Move this call to the
+ end of finishSeek() after m_seeking has been cleared.
+
</ins><span class="cx"> * html/HTMLMediaElement.cpp:
</span><del>- (WebCore::HTMLMediaElement::configureMediaControls): Only create media controls when the
- element is in a Document.
</del><ins>+ (WebCore::HTMLMediaElement::parseAttribute):
</ins><span class="cx">
</span><del>-2013-05-20 Antoine Quint <graouts@apple.com>
</del><ins>+2014-03-25 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- [Mac] captions menu should behave more like a menu
- https://bugs.webkit.org/show_bug.cgi?id=116436
</del><ins>+ Web Inspector: AXI: add support for aria-activedescendant and reconcile UI/testing with parentNode
+ https://bugs.webkit.org/show_bug.cgi?id=130712
</ins><span class="cx">
</span><ins>+ Reviewed by Timothy Hatcher.
+
+ Test: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
+
+ Support for @aria-activedescendant; code reuse changes w/ parentNode and activeDescendantNode.
+
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+ * inspector/protocol/DOM.json:
+
+2014-03-25 Sanghyup Lee <sh53.lee@samsung.com>
+
+ When the mouse is upped after dragged out of shadowDOM, it should lose :active.
+ https://bugs.webkit.org/show_bug.cgi?id=130660
+
+ Reviewed by Darin Adler.
+
+ This caused a regression after r165037.
+ When we have to clear :active style of shadow DOM, we should clear host's style.
+ This patch replaces parentElement() by parentOrShadowHostElement().
+
+ * dom/Document.cpp:
+ (WebCore::Document::updateHoverActiveState):
+
+2014-03-25 Eric Carlson <eric.carlson@apple.com>
+
+ [Mac] Always retry a failed MediaDocument as a PluginDocument
+ https://bugs.webkit.org/show_bug.cgi?id=130742
+
+ Reviewed by Jer Noble.
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::mediaLoadingFailedFatally): If the element is in a media document,
+ tell it that loading failed so it can retry as a plug-in.
+
+2014-03-25 Ryosuke Niwa <rniwa@webkit.org>
+
+ Replace HTMLConverter::_stringForNode by propertyValueForNode
+ https://bugs.webkit.org/show_bug.cgi?id=130711
+
+ Reviewed by Sam Weinig.
+
+ Replaced all calls to HTMLConverter::_stringForNode by that to propertyValueForNode.
+
+ * editing/cocoa/HTMLConverter.mm:
+ (HTMLConverter::_computedAttributesForElement):
+ (HTMLConverter::_addAttachmentForElement):
+ (HTMLConverter::_enterElement):
+ (HTMLConverter::_addTableForElement):
+ (HTMLConverter::_addTableCellForElement):
+ (HTMLConverter::_processElement):
+ (HTMLConverter::_exitElement):
+ (HTMLConverter::_processText):
+ (HTMLConverter::_traverseNode):
+ (HTMLConverter::_traverseFooterNode):
+ (HTMLConverter::_stringForNode): Deleted.
+
+2014-03-25 Pratik Solanki <psolanki@apple.com>
+
+ Attempt to fix iOS build after r166261.
+
+ * WebCore.xcodeproj/project.pbxproj: Make SystemSleepListener.h a private header.
+
+2014-03-21 Jer Noble <jer.noble@apple.com>
+
+ [iOS] Enable caption support in full screen.
+ https://bugs.webkit.org/show_bug.cgi?id=130603
+
</ins><span class="cx"> Reviewed by Eric Carlson.
</span><span class="cx">
</span><del>- Let the captions menu behave more like a native Mac menu by hiding it when
- clicking anywhere on the page and preventing the page from scrolling when
- attempting to scroll the captions menu when it cannot scroll in the requested
- direction.
</del><ins>+ Add TextTrackRepresentation support to MediaPlayerPrivateAVFoundationObjC.
</ins><span class="cx">
</span><del>- Test: media/video-controls-captions-trackmenu-hide-on-click-outside.html
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoLayer): Add the m_textTrackRepresenationLayer if present.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenLayer): Ditto.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::requiresTextTrackRepresentation): True, if a m_videoFullscreenLayer is present.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setTextTrackRepresentation): Remove the old, and add the new m_textTrackRepresenationLayer.
</ins><span class="cx">
</span><del>- * dom/EventListener.h:
- Add the new MediaControlsAppleEventListenerType.
</del><ins>+ Make the text track container a stacking context for painting purposes.
+ * Modules/mediacontrols/mediaControlsiOS.css:
+ (video::-webkit-media-text-track-container):
</ins><span class="cx">
</span><del>- * html/shadow/MediaControlsApple.cpp:
- (WebCore::MediaControlsApple::defaultEventHandler):
- (WebCore::MediaControlsApple::hide):
- (WebCore::MediaControlsApple::makeTransparent):
- (WebCore::MediaControlsApple::changedClosedCaptionsVisibility):
- (WebCore::MediaControlsApple::reportedError):
- (WebCore::MediaControlsApple::toggleClosedCaptionTrackList):
- Use the hideClosedCaptionTrackList() and showClosedCaptionTrackList()
- methods to hide and show the captions menu instead of calling hide()
- and show() directly on m_closedCaptionsContainer.
</del><ins>+2014-03-25 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::MediaControlsApple::showClosedCaptionTrackList):
- Show the m_closedCaptionsContainer and register a "mousewheel" event
- listener on it as well as a "click" event listener on the entire document.
</del><ins>+ Web Replay: resource unique identifiers should be unique-per-frame, not globally
+ https://bugs.webkit.org/show_bug.cgi?id=130632
</ins><span class="cx">
</span><del>- (WebCore::MediaControlsApple::hideClosedCaptionTrackList):
- Hide the m_closedCaptionsContainer and remove the "mousewheel" event
- listener on it as well as the "click" event listener on the entire document.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- (WebCore::MediaControlsApple::shouldClosedCaptionsContainerPreventPageScrolling):
- New private utility to determine whether the m_closedCaptionsContainer can scroll
- in the provided scroll direction.
</del><ins>+ For replay purposes, we want to deterministically assign resource load identifiers
+ to resource loaders, provided that the resource loaders are created in the same
+ order.
</ins><span class="cx">
</span><del>- (WebCore::MediaControlsApple::eventListener):
- Obtain the event listener used for "mousewheel" and "click" event handlers.
</del><ins>+ To do this, we convert unique identifiers from being globally-unique to being
+ frame-unique. When a new frame is being loaded, unique identifiers for
+ subresources of that frame begin counting from 1.
</ins><span class="cx">
</span><del>- (WebCore::MediaControlsAppleEventListener::handleEvent):
- Event handler for the "mousewheel" and "click" events. If we get a "click" event, we
- toggle the captions menu visibility and if we get a "mousewheel" event, we call into
- shouldClosedCaptionsContainerPreventPageScrolling() to see if we can scroll in the
- current scroll direction, and if not prevent the event from resulting in a scroll by
- calling preventDefault().
</del><ins>+ No new tests. Identifier invariants are exercised by existing assertions and tests.
</ins><span class="cx">
</span><del>- (WebCore::MediaControlsAppleEventListener::operator==):
- Required for the successful subclassing of EventListener.
</del><ins>+ * loader/ProgressTracker.cpp:
+ (WebCore::ProgressTracker::ProgressTracker):
+ (WebCore::ProgressTracker::reset):
+ (WebCore::ProgressTracker::createUniqueIdentifier):
+ * loader/ProgressTracker.h:
</ins><span class="cx">
</span><del>- * html/shadow/MediaControlsApple.h:
- (MediaControlsAppleEventListener):
- (WebCore::MediaControlsAppleEventListener::create):
- (WebCore::MediaControlsAppleEventListener::cast):
- (WebCore::MediaControlsAppleEventListener::MediaControlsAppleEventListener):
- New subclass of EventListener required to provide a custom event listener for the
- "mousewheel" and "click" events registered in showClosedCaptionTrackList() and
- hideClosedCaptionTrackList().
</del><ins>+2014-03-25 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>-2013-05-18 Rashmi Shyamasundar <rashmi.s2@samsung.com>
</del><ins>+ [Mac] Pause the media element during system sleep.
+ https://bugs.webkit.org/show_bug.cgi?id=130718
</ins><span class="cx">
</span><del>- [Cairo] Canvas-shadow behavior is not being as expected
- https://bugs.webkit.org/show_bug.cgi?id=108897
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Test: media/video-system-sleep.html
</ins><span class="cx">
</span><del>- ShadowBlur::endShadowLayer copies the image from shadowContext to cairoContext.
- CairoContext-path should be empty for doing this copy. Otherwise, the
- original-image area will also get filled with the shadow.
</del><ins>+ Relying on the platform media system to pause and restart playback during
+ system sleep can cause problems on some platforms, especially where hardware
+ decoders are concerned. Rather than implicitly pausing the media during
+ system sleep, explicitly pause the media before sleeping and resume (if
+ appropriate) upon waking.
</ins><span class="cx">
</span><del>- Test: fast/canvas/canvas-image-shadow.html
</del><ins>+ Add a new class to be used for system sleep notifications:
+ * platform/SystemSleepListener.cpp: Added.
+ (WebCore::SystemSleepListener::create):
+ (WebCore::SystemSleepListener::SystemSleepListener):
+ * platform/SystemSleepListener.h: Added.
+ (WebCore::SystemSleepListener::Client::~Client):
+ (WebCore::SystemSleepListener::~SystemSleepListener):
+ (WebCore::SystemSleepListener::client):
</ins><span class="cx">
</span><del>- * platform/graphics/cairo/GraphicsContextCairo.cpp:
- (WebCore::drawPathShadow):
</del><ins>+ Add a Mac-specific implementation:
+ * platform/mac/SystemSleepListenerMac.h: Added.
+ * platform/mac/SystemSleepListenerMac.mm: Added.
+ (WebCore::SystemSleepListener::create):
+ (WebCore::SystemSleepListenerMac::SystemSleepListenerMac):
+ (WebCore::SystemSleepListenerMac::~SystemSleepListenerMac):
</ins><span class="cx">
</span><del>-2013-05-20 Lamarque V. Souza <Lamarque.Souza@basyskom.com>
</del><ins>+ Listen for system sleep notifications in MediaSessionManager:
+ * platform/audio/MediaSessionManager.cpp:
+ (WebCore::MediaSessionManager::MediaSessionManager):
+ (WebCore::MediaSessionManager::systemWillSleep):
+ (WebCore::MediaSessionManager::systemDidWake):
+ * platform/audio/MediaSessionManager.h:
</ins><span class="cx">
</span><del>- -webkit-text-underline-position should not be inherited
- https://bugs.webkit.org/show_bug.cgi?id=116363
</del><ins>+ Drive-by fix; notify the MediaSession that playback will begin
+ due to autoplay, but do not begin autoplaying if the session
+ is already interrupted:
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ Add new files to project:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
</ins><span class="cx">
</span><del>- Specification says text-underline-position should not be inherited.
</del><ins>+2014-03-25 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- No new tests, this updates existing tests.
</del><ins>+ [CSS Regions] The background of children of scrollable elements flowed into regions is not properly scrolled
+ https://bugs.webkit.org/show_bug.cgi?id=130574
</ins><span class="cx">
</span><del>- * css/CSSProperty.cpp:
- (WebCore::CSSProperty::isInheritedProperty): Make
- CSSPropertyWebkitTextUnderlinePosition return false.
- * rendering/style/RenderStyle.h: Treat TextUnderlinePosition as
- non-inherited.
- * rendering/style/StyleRareInheritedData.cpp:
- (WebCore::StyleRareInheritedData::StyleRareInheritedData):
- (WebCore::StyleRareInheritedData::operator==): Remove m_textUnderlinePosition.
- * rendering/style/StyleRareInheritedData.h:
- (StyleRareInheritedData):
- * rendering/style/StyleRareNonInheritedData.cpp:
- (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
- (WebCore::StyleRareNonInheritedData::operator==): Add m_textUnderlinePosition.
- * rendering/style/StyleRareNonInheritedData.h:
- (StyleRareNonInheritedData):
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>-2013-05-20 Lamarque V. Souza <Lamarque.Souza@basyskom.com>
</del><ins>+ When computing the clip rect for painting the box decorations, the scrolled content offset
+ must be computed by going up the containing block tree, up to the region.
</ins><span class="cx">
</span><del>- Add compile asserts for the size of RootInlineBox and InlineTextbox
- https://bugs.webkit.org/show_bug.cgi?id=116337
</del><ins>+ Tests: fast/regions/scrollable-region-scrollable-absolute-content-background.html
+ fast/regions/scrollable-region-scrollable-content-background.html
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::decorationsClipRectForBoxInNamedFlowFragment):
</ins><span class="cx">
</span><del>- Add compile asserts to ensure RootInlineBox and InlineTextbox stay small.
</del><ins>+2014-03-25 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- * rendering/InlineTextBox.cpp:
- (SameSizeAsInlineTextBox):
- (WebCore):
- * rendering/RootInlineBox.cpp:
- (SameSizeAsRootInlineBox):
- (WebCore):
</del><ins>+ [iOS] Inspector View Indication Support
+ https://bugs.webkit.org/show_bug.cgi?id=130709
</ins><span class="cx">
</span><del>-2013-05-20 Xan Lopez <xlopez@igalia.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- [BlackBerry] LocalizedStringsBlackBerry: add dummy text track strings
- https://bugs.webkit.org/show_bug.cgi?id=116300
</del><ins>+ * inspector/InspectorClient.h:
+ (WebCore::InspectorClient::showInspectorIndication):
+ (WebCore::InspectorClient::hideInspectorIndication):
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::setIndicating):
+ Rename indicate/hideIndication to show/hide names.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+2014-03-25 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- These are dummy implementations necessary to make WebKit link.
</del><ins>+ Unreviewed build fix. Typo on checkin.
</ins><span class="cx">
</span><del>- * platform/blackberry/LocalizedStringsBlackBerry.cpp:
- (WebCore::weekFormatInLDML):
- (WebCore):
- (WebCore::textTrackClosedCaptionsText):
- (WebCore::textTrackSubtitlesText):
- (WebCore::textTrackOffText):
- (WebCore::textTrackNoLabelText):
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerItem): Left an unmatched open bracket.
</ins><span class="cx">
</span><del>-2013-05-19 Darin Adler <darin@apple.com>
</del><ins>+2014-03-25 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- [Mac] Improve string use in PasteboardMac
- https://bugs.webkit.org/show_bug.cgi?id=116418
</del><ins>+ Even further unreviewed build fix after r166247. Unprotect the implementation of HTMLMediaElement::shouldDisableSleep().
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
</ins><span class="cx">
</span><del>- Did a Ben Poulain all over this file.
</del><ins>+2014-03-25 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::plainText): Add the newline separately to the string builder.
- Prepending it to the string first just does more allocations for no good reason.
- (WebCore::Pasteboard::documentFragment): Use emptyString() instead of "" and use
- ASCIILiteral where appropriate.
- (WebCore::cocoaTypeFromHTMLClipboardType): More ASCIILiteral.
- (WebCore::Pasteboard::clear): Use early return instead of a nested if here.
- Use emptyString() instead of "".
- (WebCore::addHTMLClipboardTypesForCocoaType): More ASCIILiteral.
</del><ins>+ Further unreviewed build fix after r166247. Add DisplaySleepDisabler to the windows project file and
+ move the definition of DisplaySleepDisabler's constructor and destructor into the cpp file.
</ins><span class="cx">
</span><del>-2013-05-19 Anders Carlsson <andersca@apple.com>
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * platform/DisplaySleepDisabler.cpp:
+ (WebCore::DisplaySleepDisabler::DisplaySleepDisabler):
+ (WebCore::DisplaySleepDisabler::~DisplaySleepDisabler):
+ * platform/DisplaySleepDisabler.h:
</ins><span class="cx">
</span><del>- Remove link prerendering code
- https://bugs.webkit.org/show_bug.cgi?id=116415
</del><ins>+2014-03-25 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Unreviewed build fix after r166247. Un-platform-protect the declaration of HTMLMediaElement::shouldDisableSleep()
+ and make WebVideoFullscreenController's _displaySleepDisabler a std::unique_ptr.
</ins><span class="cx">
</span><del>- * Configurations/FeatureDefines.xcconfig:
</del><ins>+ * html/HTMLMediaElement.h:
+ * platform/mac/WebVideoFullscreenController.h:
+
+2014-03-25 Brent Fulgham <bfulgham@apple.com>
+
+ [iOS] Pass additional options to AVFoundation during playback.
+ https://bugs.webkit.org/show_bug.cgi?id=130624
+
+ Reviewed by Eric Carlson.
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::doesHaveAttribute): Return attribute value if the user
+ passes a pointer to fill in.
+ * html/HTMLMediaElement.h:
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::doesHaveAttribute):
+ * platform/graphics/MediaPlayer.h:
+ (WebCore::MediaPlayerClient::doesHaveAttribute):
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerItem): Pass additional
+ option if supplied by user.
+
+2014-03-25 Michael Saboff <msaboff@apple.com>
+
+ Unreviewed, rolling out r166070.
+
+ Rollout r166070 due to 2% performance loss in page load times
+
+ Reverted changeset:
+
+ "Change CodeGeneratorJS.pm special cases for "DOMWindow" to be
+ general purpose"
+ https://bugs.webkit.org/show_bug.cgi?id=130553
+ http://trac.webkit.org/changeset/166070
+
+2014-03-25 Michael Saboff <msaboff@apple.com>
+
+ Unreviewed, rolling out r166126.
+
+ Rollout r166126 in prepartion to roll out prerequisite r166070
+
+ Reverted changeset:
+
+ "toThis() on a JSWorkerGlobalScope should return a JSProxy and
+ not undefined"
+ https://bugs.webkit.org/show_bug.cgi?id=130554
+ http://trac.webkit.org/changeset/166126
+
+2014-03-25 Jer Noble <jer.noble@apple.com>
+
+ [iOS] Playing video does not disable display sleep.
+ https://bugs.webkit.org/show_bug.cgi?id=130729
+
+ Reviewed by Eric Carlson.
+
+ DisplaySleepDisabler was broken by r161589, which replaced the iOS implementation with
+ an empty one. Make a platform independent version with a Cocoa-platform subclass. Update
+ the APIs to non-deprecated ones.
+
+ * platform/DisplaySleepDisabler.cpp: Added.
+ (WebCore::DisplaySleepDisabler::create):
+ * platform/DisplaySleepDisabler.h: Added.
+ (WebCore::DisplaySleepDisabler::~DisplaySleepDisabler):
+ (WebCore::DisplaySleepDisabler::DisplaySleepDisabler):
+ * platform/cocoa/DisplaySleepDisablerCocoa.cpp: Renamed from Source/WebCore/platform/mac/DisplaySleepDisabler.cpp.
+ (WebCore::DisplaySleepDisabler::create):
+ (WebCore::DisplaySleepDisablerCocoa::DisplaySleepDisablerCocoa):
+ (WebCore::DisplaySleepDisablerCocoa::~DisplaySleepDisablerCocoa):
+ * platform/cocoa/DisplaySleepDisablerCocoa.h: Renamed from Source/WebCore/platform/mac/DisplaySleepDisabler.h.
+
+ Update m_sleepDisabler to be a std::unique_ptr, and unprotect the definition of methods which use it.
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::updateSleepDisabling):
+ (WebCore::HTMLMediaElement::shouldDisableSleep):
+ * html/HTMLMediaElement.h:
+
+ Add the new and renamed files to the project:
+ * CMakeLists.txt:
</ins><span class="cx"> * GNUmakefile.list.am:
</span><del>- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
</del><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * dom/Document.cpp:
- (WebCore::Document::Document):
- * dom/Document.h:
- (WebCore):
- (Document):
- * dom/EventNames.h:
- (WebCore):
- * html/HTMLLinkElement.cpp:
- * html/HTMLLinkElement.h:
- * html/LinkRelAttribute.cpp:
- (WebCore::LinkRelAttribute::LinkRelAttribute):
- * html/LinkRelAttribute.h:
- (LinkRelAttribute):
- * loader/LinkLoader.cpp:
- (WebCore::LinkLoader::~LinkLoader):
- (WebCore::LinkLoader::loadLink):
- (WebCore::LinkLoader::released):
- * loader/LinkLoader.h:
- (WebCore):
- (LinkLoader):
- * loader/LinkLoaderClient.h:
- (LinkLoaderClient):
- * loader/Prerenderer.cpp: Removed.
- * loader/Prerenderer.h: Removed.
- * loader/PrerendererClient.cpp: Removed.
- * loader/PrerendererClient.h: Removed.
- * platform/PrerenderClient.h: Removed.
- * platform/PrerenderHandle.h: Removed.
</del><span class="cx">
</span><del>-2013-05-19 Simon Fraser <simon.fraser@apple.com>
</del><ins>+2014-03-25 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- Change the terminology used by rendering code when painting a given node and its children from "paintingRoot" to "subtreePaintRoot"
- https://bugs.webkit.org/show_bug.cgi?id=116417
</del><ins>+ Implement ImageData constructors and WebWorkers exposure
+ https://bugs.webkit.org/show_bug.cgi?id=130668
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
-
- PaintInfo and RenderLayer code referred to a "paintingRoot". This is only set when
- FrameView::setNodeToDraw() has been called and is used to restrict painting to
- some part of the subtree, but it could easily be misinterpreted, and confused with
- the "rootLayer" used by RenderLayer (which is usually not the layer associated with
- the paintingRoot).
-
- Change the terminology from "paintingRoot" to "subtreePaintRoot" root to make the
- purpose of this variable more obvious.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- No behavior change.
</del><ins>+ Add new constructors for ImageData.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp: Add a comment for setNodeToDraw(); in future this should
- be called setSubtreePaintRoot() or something. Not done in this patch to avoid
- risk; this function is exported from WebCore.
- * rendering/InlineFlowBox.cpp:
- (WebCore::InlineFlowBox::paint):
- * rendering/PaintInfo.h:
- (WebCore::PaintInfo::PaintInfo):
- (WebCore::PaintInfo::updateSubtreePaintRootForChildren):
- (WebCore::PaintInfo::shouldPaintWithinRoot):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::paintContents):
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::paint):
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::paint):
- (WebCore::RenderLayer::paintOverlayScrollbars):
- (WebCore::RenderLayer::paintLayerContents):
- (WebCore::RenderLayer::paintLayerByApplyingTransform):
- (WebCore::RenderLayer::paintBackgroundForFragments):
- (WebCore::RenderLayer::paintForegroundForFragments):
- (WebCore::RenderLayer::paintForegroundForFragmentsWithPhase):
- (WebCore::RenderLayer::paintOutlineForFragments):
- (WebCore::RenderLayer::paintMaskForFragments):
- * rendering/RenderLayer.h:
- (WebCore::RenderLayer::LayerPaintingInfo::LayerPaintingInfo):
- * rendering/RenderObject.cpp: Add a comment to recommend changing the name of
- paintingRootRect() to refer to a subtree paint. Not done in this patch to avoid
- risk; this function is exported from WebCore.
- * rendering/RenderSnapshottedPlugIn.cpp:
- (WebCore::RenderSnapshottedPlugIn::paint):
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::paintObject):
- * rendering/svg/RenderSVGContainer.cpp:
- (WebCore::RenderSVGContainer::paint):
</del><ins>+ http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#pixel-manipulation
</ins><span class="cx">
</span><del>-2013-05-19 Darin Adler <darin@apple.com>
</del><ins>+ Test: fast/canvas/canvas-imageData.html
</ins><span class="cx">
</span><del>- Use Element instead of Node in DragState, also redo DragState struct
- https://bugs.webkit.org/show_bug.cgi?id=116411
</del><ins>+ * html/ImageData.cpp:
+ (WebCore::ImageData::create):
+ * html/ImageData.h:
+ * html/ImageData.idl:
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+2014-03-25 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- The drag source is an element, so use RefPtr<Element> instead of RefPtr<Node>.
</del><ins>+ InlineIterator position (unsigned int) variable can wrap around
+ https://bugs.webkit.org/show_bug.cgi?id=130540
</ins><span class="cx">
</span><del>- Also, the entire drag state is about dragging, so no need for the word "drag" in the
- name of its members. Also, it's a struct, so the members don't need m_ prefixes.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * page/DragController.cpp: Removed unneeded include of Node.h since it's included by
- Element.h, which is also included.
- (WebCore::DragController::draggableElement): Renamed from Node to Element and changed
- the types and names of arguments accordingly. Also made this function handle a
- startElement of 0 so callers don't need to. Also updated for changes to DragState members.
- (WebCore::DragController::startDrag): Updated for changes to DragState members.
- Since dragSource can only be an element, was able to get rid of isElementNode checks.
</del><ins>+ We trigger an ASSERT that occurs when we are ignoring spaces (to collapse them
+ into a single whitespace mark) but then encounter a line break. Because we don't ignore
+ the first space (but do ignore subsequent spaces), when we hit a newline in an RTL context
+ we want to ignore that first space as well (so as not to push the text away from the right
+ edge). We do this by decrementing the InlineIterator pointing to this first space, so all
+ the spaces get ignored. However, if that space is the first character in a Text node, the
+ decrement will try to go past the beginning of the node, and trigger an ASSERT.
</ins><span class="cx">
</span><del>- * page/DragController.h: Fixed style of forward declarations of structs. Updated for
- change of draggableNode to draggableElement. Also removed declarations of nonexistent
- selectionDraggingRect and doDrag functions.
</del><ins>+ This design is not great. At some point we should rework it to more elegantly handle
+ collapsing whitespace in both RTL and LTR writing modes.
</ins><span class="cx">
</span><del>- * page/DragState.h: Rewrote practically this whole header. Added an include of Element
- instead of Node since that's what we use now. Removed includes that are redundant.
- There's no problem copying a DragState, so removed WTF_MAKE_NONCOPYABLE. There's no need
- to allocate a DragState on the heap, so removed WTF_MAKE_FAST_ALLOCATED. The event dispatch
- boolean is never set to a constant, so there's no need for a policy enum; it can just be
- a boolean. Removed the "m_" prefixes from the struct members, since this is a struct with
- public members and we don't use the prefix in those cases. Removed the word "drag" from the
- struct member names since this entire struct is about dragging and has drag in its name.
- Left the comments mostly intact, even though I'm not certain of their value.
</del><ins>+ This patch adds an ASSERT earlier in this codepath to catch potential problems earlier.
+ It also pulls our sentinel value out into a separate boolean to make it more clear what is
+ going on.
</ins><span class="cx">
</span><del>- * page/EventHandler.cpp:
- (WebCore::EventHandler::handleMousePressEvent): Updated for changes to DragState.
- (WebCore::EventHandler::eventMayStartDrag):
- Use innerElement instead of innerNode to call draggableElement instead of draggableNode.
- (WebCore::EventHandler::updateDragAndDrop): Updated for changes to DragState.
- (WebCore::EventHandler::cancelDragAndDrop): Ditto.
- (WebCore::EventHandler::handleWheelEvent): Added FIXME.
- (WebCore::EventHandler::dragHysteresisExceeded): Updated for changes to DragState.
- (WebCore::EventHandler::freeClipboard): Updated for changes to DragState. Also re-added
- code to release the clipboard object, which is needed here to avoid keeping it around in
- memory until the next drag.
- (WebCore::EventHandler::dragSourceEndedAt): Updated for changes to DragState.
- (WebCore::EventHandler::updateDragStateAfterEditDragIfNeeded): Ditto.
- (WebCore::EventHandler::dispatchDragSrcEvent): Ditto.
- (WebCore::EventHandler::handleDrag): Updated for changes to DragState. Use innerElement
- instead of innerNode to call draggableElement instead of draggableNode. No longer need to
- null check innerElement because draggableElement does that. Removed unneeded else that was
- setting m_dragSrc to zero since it's guaranteed to already be zero.
</del><ins>+ Test: fast/text/whitespace-only-text-in-rtl.html
</ins><span class="cx">
</span><del>-2013-05-19 Anders Carlsson <andersca@apple.com>
</del><ins>+ * rendering/InlineIterator.h:
+ (WebCore::InlineIterator::moveTo): Use the set***() calls
+ (WebCore::InlineIterator::setOffset): ASSERT early that our math hasn't wrapped
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlockFlow::appendRunsForObject): Use new boolean value
+ * rendering/line/BreakingContextInlineHeaders.h:
+ (WebCore::BreakingContext::handleText): Guard against wraps
+ (WebCore::checkMidpoints): Use new boolean value
+ * rendering/line/TrailingObjects.cpp:
+ (WebCore::TrailingObjects::updateMidpointsForTrailingBoxes): Use new boolean value
</ins><span class="cx">
</span><del>- Remove ChromeClient::webView()
- https://bugs.webkit.org/show_bug.cgi?id=116054
</del><ins>+2014-03-25 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><ins>+ [GTK] Remove the autotools build
+ https://bugs.webkit.org/show_bug.cgi?id=130717
+
+ Reviewed by Anders Carlsson.
+
+ * GNUmakefile.am: Removed.
+ * bindings/gobject/GNUmakefile.am: Removed.
+ * config.h: Removed references to autotools configure file.
+
+2014-03-24 Brent Fulgham <bfulgham@apple.com>
+
+ Prevent 'removetrack' events from firing when all inband text tracks are removed.
+ https://bugs.webkit.org/show_bug.cgi?id=130704
+
+ Reviewed by Eric Carlson.
+
+ Test: media/track/track-remove-track.html
+
+ Based on the Blink change (patch by acolwell@chromium.org):
+ https://codereview.chromium.org/177243018/
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::prepareForLoad): Reorder steps to match W3C specification.
+ (WebCore::HTMLMediaElement::noneSupported): Forget tracks as required by specification.
+ (WebCore::HTMLMediaElement::mediaLoadingFailed): Forget tracks as required by specification.
+ (WebCore::HTMLMediaElement::removeTextTrack): Only request the 'removetracks' event if
+ requested by caller.
+ (WebCore::HTMLMediaElement::removeAllInbandTracks): Renamed to 'forgetResourceSpecificTracks'
+ (WebCore::HTMLMediaElement::noneSupported): Specify that we want the 'removetracks' event
+ fired for this use case.
+ (WebCore::HTMLMediaElement::prepareForLoad): Switch to new 'forgetResourceSpecificTracks' name.
+ * html/HTMLMediaElement.h:
+ * html/track/TextTrackList.cpp:
+ (TextTrackList::remove): Only fire the 'removetrack' event if the caller requests it.
+ * html/track/TextTrackList.h: Add default argument to fire the 'removetrack' event
+ when removing a track.
+ * html/track/TrackListBase.cpp:
+ (TrackListBase::remove): Only fire the 'removetrack' event if the caller requests it.
+ * html/track/TrackListBase.h: Add default argument to fire the 'removetrack' event.
+
+2014-03-25 David Kilzer <ddkilzer@apple.com>
+
+ Hold a reference to firstSuccessfulSubmitButton in HTMLFormElement::submit
+ <http://webkit.org/b/130713>
+ <rdar://problem/15661876>
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- This blatantly horrible layer violation was only used to know if a ChromeClient is an empty
- client or not. We already have a (slightly less horrible) way to do that.
</del><ins>+ Merged from Blink (patch by Ian Beer):
+ http://crbug.com/303657
+ https://src.chromium.org/viewvc/blink?view=rev&revision=158938
</ins><span class="cx">
</span><del>- * loader/EmptyClients.h:
- * page/ChromeClient.h:
- (ChromeClient):
</del><ins>+ Test: fast/forms/form-submission-crash-successful-submit-button.html
</ins><span class="cx">
</span><del>-2013-05-19 Darin Adler <darin@apple.com>
</del><ins>+ * html/HTMLFormElement.cpp:
+ (WebCore::HTMLFormElement::submit):
</ins><span class="cx">
</span><del>- Eliminate the Editor::newGeneralClipboard function
- https://bugs.webkit.org/show_bug.cgi?id=116410
</del><ins>+2014-03-25 Gabor Rapcsanyi <rgabor@webkit.org>
</ins><span class="cx">
</span><ins>+ [ARM64] GNU assembler fails in TransformationMatrix::multiply
+ https://bugs.webkit.org/show_bug.cgi?id=130454
+
+ Reviewed by Zoltan Herczeg.
+
+ Change the NEON intstructions to the proper style.
+
+ * platform/graphics/transforms/TransformationMatrix.cpp:
+ (WebCore::TransformationMatrix::multiply):
+
+2014-03-20 Sergio Villar Senin <svillar@igalia.com>
+
+ [CSS Grid Layout] Vertical rectangles not considered as valid grid areas
+ https://bugs.webkit.org/show_bug.cgi?id=130513
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- This is one of the clean-ups made possible by the changes to the DOM clipboard class.
- I had been waiting until all the platforms were moved over to it, but it turns out to be
- easy to do this now, just with #ifdefs.
</del><ins>+ Grid areas sized as vertical rectangles were incorrectly
+ considered as invalid by the parser. That's because the condition
+ checking that each new row was adjacent to the previous one was
+ using the first row of the currently parsed grid area instead of
+ the last one.
</ins><span class="cx">
</span><del>- * PlatformBlackBerry.cmake: Deleted EditorBlackBerry.cpp.
</del><ins>+ Test: fast/css-grid-layout/grid-template-areas-get-set.html
</ins><span class="cx">
</span><del>- * editing/Editor.cpp:
- (WebCore::Editor::dispatchCPPEvent): Call Clipboard::createForCopyAndPaste directly when
- using the new version of the Clipboard class. Also some small style cleanup nearby.
</del><ins>+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseGridTemplateAreas):
</ins><span class="cx">
</span><del>- * editing/blackberry/EditorBlackBerry.cpp: Removed. The only function in this file was
- newGeneralClipboard.
</del><ins>+2014-03-25 Xabier Rodriguez Calvar <calvaris@igalia.com>
</ins><span class="cx">
</span><del>- * editing/mac/EditorMac.mm: Deleted newGeneralClipboard.
- * platform/efl/ClipboardEfl.cpp: Ditto.
- * platform/gtk/ClipboardGtk.cpp: Ditto.
</del><ins>+ [GTK] Volume slider shows below the panel with videos in certain cases
+ https://bugs.webkit.org/show_bug.cgi?id=130608
</ins><span class="cx">
</span><del>-2013-05-19 Martin Robinson <mrobinson@igalia.com>
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- GtkSelectionData length is off by one
- https://bugs.webkit.org/show_bug.cgi?id=113962
</del><ins>+ We need to delay the moment we check if the volume slider shows up
+ or down. If the video was not visible, the offsets were 0 and it
+ was forced to be shown below the panel.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Test: media/video-initially-hidden-volume-slider-up.html
</ins><span class="cx">
</span><del>- No new tests. Since drag data is interpreted as a null-terminated string
- this is difficult to test with a C program and we have no infrastructure
- built for using GIR tests.
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.js:
+ (Controller.prototype.createControls): Moved volumebox pseudo from
+ the subclass. The test checks for it and it would fail in Mac.
+ * Modules/mediacontrols/mediaControlsGtk.js:
+ (ControllerGtk.prototype.createControls): Moved volumebox pseudo
+ to the superclass.
+ (ControllerGtk.prototype.handleMuteButtonMouseOver): Check if
+ volume slider should show up or down.
+ (ControllerGtk.prototype.updateReadyState): Removed check for
+ volume slider direction.
</ins><span class="cx">
</span><del>- * platform/gtk/PasteboardHelper.cpp:
- (WebCore::PasteboardHelper::fillSelectionData): Instead of including the null
- character in the paste data length, just include the string. This matches the behavior
- of Firefox.
</del><ins>+2014-03-24 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>-2013-05-18 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ [Win] Enable WebVTT Regions on Windows.
+ https://bugs.webkit.org/show_bug.cgi?id=130680
</ins><span class="cx">
</span><del>- Hoist several chunks of code at the top of RenderLayer::paintLayerContents() onto new functions
- https://bugs.webkit.org/show_bug.cgi?id=116406
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><ins>+ * DerivedSources.cpp: Add new build components.
+ * WebCore.vcxproj/WebCore.vcxproj: Ditto.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
+
+2014-03-24 Simon Fraser <simon.fraser@apple.com>
+
+ Remove some unnecessary includes from PlatformCALayerClient.h
+ https://bugs.webkit.org/show_bug.cgi?id=130703
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- RenderLayer::paintLayerContents() was getting polluted with code related to filters,
- clipping and font subpixel quantization, and hard to follow.
-
- Move three hunks of code into new functions:
- setupFontSubpixelQuantization() now contains the code related to whether we disable
- font subpixel quantization on the context.
- setupClipPath() now contains code related to clipping to shapes and references.
- setupFilters() and applyFilters() contain code related to CSS filters.
-
- As part of this, the interaction with FilterEffectRendererHelper was simplified.
- It was convenient for setupFilters() to return a FilterEffectRendererHelper object
- if successful, so we use an OwnPtr<FilterEffectRendererHelper> now. In addition,
- the GraphicsContext swapping was moved from FilterEffectRendererHelper code into RenderLayer
- to make it easier to follow. FilterEffectRendererHelper no longer holds on to
- the old GraphicsContext.
</del><ins>+ No need for all these #includes.
</ins><span class="cx">
</span><del>- No behavior change.
</del><ins>+ * platform/graphics/ca/PlatformCALayerClient.h:
</ins><span class="cx">
</span><del>- * rendering/FilterEffectRenderer.cpp:
- (WebCore::FilterEffectRendererHelper::filterContext):
- (WebCore::FilterEffectRendererHelper::beginFilterEffect):
- (WebCore::FilterEffectRendererHelper::applyFilterEffect):
- * rendering/FilterEffectRenderer.h:
- (WebCore::FilterEffectRendererHelper::FilterEffectRendererHelper):
- (WebCore::FilterEffectRendererHelper::hasStartedFilterEffect):
- (FilterEffectRendererHelper):
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::setupFontSubpixelQuantization):
- (WebCore::RenderLayer::setupClipPath):
- (WebCore::RenderLayer::setupFilters):
- (WebCore::RenderLayer::applyFilters):
- (WebCore::RenderLayer::paintLayerContents):
- * rendering/RenderLayer.h:
</del><ins>+2014-03-24 Adenilson Cavalcanti <cavalcantii@gmail.com>
</ins><span class="cx">
</span><del>-2013-05-18 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ [core] FEGaussianBlur: use IntSize to simplify member function interface
+ https://bugs.webkit.org/show_bug.cgi?id=130695
</ins><span class="cx">
</span><del>- Refactor RenderStyle::diff()
- https://bugs.webkit.org/show_bug.cgi?id=116397
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><ins>+ By returning an IntSize to store the calculated kernel size values
+ it is possible to have less function parameters. This patch also
+ streamlines a bit the code in calculateUnscaledKernelSize.
+
+ No new tests, no change in behavior.
+
+ * platform/graphics/filters/FEDropShadow.cpp:
+ (WebCore::FEDropShadow::determineAbsolutePaintRect):
+ * platform/graphics/filters/FEGaussianBlur.cpp:
+ (WebCore::FEGaussianBlur::calculateUnscaledKernelSize):
+ (WebCore::FEGaussianBlur::calculateKernelSize):
+ (WebCore::FEGaussianBlur::determineAbsolutePaintRect):
+ (WebCore::FEGaussianBlur::platformApplySoftware):
+ * platform/graphics/filters/FEGaussianBlur.h:
+ (if): Deleted.
+ * platform/graphics/filters/FilterOperations.cpp:
+ (WebCore::outsetSizeForBlur):
+
+2014-03-24 Brian Burg <bburg@apple.com>
+
+ Web Replay: capture and replay keyboard events
+ https://bugs.webkit.org/show_bug.cgi?id=130314
+
+ Reviewed by Joseph Pecoraro.
+
+ Upstream support for capturing and replaying non-IME keyboard input.
+ This works similarly to mouse events. It introduces optional fields and
+ macros to encode/decode them.
+
+ Test: ManualTests/inspector/replay-keyboard-events.html
+
+ * replay/ReplayInputDispatchMethods.cpp:
+ (WebCore::HandleKeyPress::dispatch):
+ * replay/SerializationMethods.cpp:
+ (JSC::EncodingTraits<NondeterministicInputBase>::encodeValue):
+ (JSC::EncodingTraits<NondeterministicInputBase>::decodeValue): Switch existing
+ encode/decode calls to use the shortening macros.
+ (JSC::EncodingTraits<KeypressCommand>::encodeValue): Added.
+ (JSC::EncodingTraits<KeypressCommand>::decodeValue): Added.
+ (JSC::PlatformKeyboardEventAppKit::PlatformKeyboardEventAppKit): Subclass
+ PlatformKeyboardEvent so that we can set AppKit-specific members not
+ initialized through the main constructors.
+ (JSC::EncodingTraits<PlatformKeyboardEvent>::encodeValue): Added.
+ (JSC::EncodingTraits<PlatformKeyboardEvent>::decodeValue): Added.
+ * replay/SerializationMethods.h:
+ * replay/UserInputBridge.cpp:
+ (WebCore::UserInputBridge::UserInputBridge): initialize m_state inside a guard.
+ (WebCore::UserInputBridge::handleKeyEvent): fill in the implementation.
+ * replay/WebInputs.json:
+
+2014-03-24 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
+
+ Optimizing string construction for type error in JSNavigatorCustom.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=130683
+
+ Reviewed by Eric Carlson.
+
+ * bindings/js/JSNavigatorCustom.cpp:
+ (WebCore::JSNavigator::webkitGetUserMedia):
+
+2014-03-24 Beth Dakin <bdakin@apple.com>
+
+ Legacy-style scrollbars constantly redraw after scrolling
+ https://bugs.webkit.org/show_bug.cgi?id=130699
+
+ Reviewed by Simon Fraser.
+
+ The constant re-draw was happening because we were never calling [ScrollbarPainter
+ setUsePresentationValue:NO]. This is a silly bug where were should have been
+ looking at PlatformWheelEvent::momentumPhase() instead of
+ PlatformWheelEvent::phase()
+
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::handleWheelEvent):
+
+2014-03-24 Daniel Bates <dabates@apple.com>
+
+ XSS Auditor doesn't block <script> injected before an existing <script>
+ https://bugs.webkit.org/show_bug.cgi?id=130475
+
+ Merged from Blink (patch by Tom Sepez):
+ https://src.chromium.org/viewvc/blink?view=rev&revision=169697
+
+ Tests: http/tests/security/xssAuditor/script-tag-expression-follows.html
+ http/tests/security/xssAuditor/script-tag-near-start.html
+
+ * html/parser/XSSAuditor.cpp:
+ (WebCore::startsHTMLCommentAt):
+ (WebCore::startsSingleLineCommentAt):
+ (WebCore::startsMultiLineCommentAt):
+ (WebCore::startsOpeningScriptTagAt):
+ (WebCore::XSSAuditor::decodedSnippetForJavaScript):
+
+2014-03-24 Brent Fulgham <bfulgham@apple.com>
+
+ Activate WebVTT Tests Once Merging is Complete
+ https://bugs.webkit.org/show_bug.cgi?id=130420
+
+ Reviewed by Eric Carlson.
+
+ * Configurations/FeatureDefines.xcconfig: Turn on ENABLE(WEBVTT_REGIONS)
+
+2014-03-24 Anders Carlsson <andersca@apple.com>
+
+ Re-fix the build.
+
+ * WebCore.exp.in:
+
+2014-03-24 Anders Carlsson <andersca@apple.com>
+
+ Fix build.
+
+ * WebCore.exp.in:
+ Move a CFNetwork only symbol inside the USE(CFNETWORK) section.
+
+2014-03-24 Chris Fleizach <cfleizach@apple.com>
+
+ Regression: AX: Don't expose role or notifications for invalid menus
+ https://bugs.webkit.org/show_bug.cgi?id=129814
+
+ Reviewed by Mario Sanchez Prada.
+
+ If a role=menu has no menuitem children, it should not be a menu.
+ This was a bit tricky to implement since we need to update the role after the children are created,
+ but it means we have to be a bit more aggressive about when to updateChildren, so that the role
+ is known to be valid.
+
+ Test: platform/mac/accessibility/invalid-menu-role-does-not-send-notification.html
+
+ * accessibility/AXObjectCache.cpp:
+ (WebCore::AXObjectCache::notificationPostTimerFired):
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::updateRoleAfterChildrenCreation):
+ (WebCore::AccessibilityRenderObject::addChildren):
+ * accessibility/AccessibilityRenderObject.h:
+ * accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
+ (-[WebAccessibilityObjectWrapperBase updateObjectBackingStore]):
+
+2014-03-24 Andy Estes <aestes@apple.com>
+
+ [iOS] Download support by CFURLDownloadRef under USE(CFNETWORK).
+ https://bugs.webkit.org/show_bug.cgi?id=129322
+
+ Reviewed by Anders Carlsson.
+
+ * platform/network/ResourceHandle.h:
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::releaseConnectionForDownload): Changed to
+ return a RetainPtr that adopts the connection's retain count.
+
+2014-03-24 Enrica Casucci <enrica@apple.com>
+
+ Update Hindi fallback font.
+ https://bugs.webkit.org/show_bug.cgi?id=130690
+ <rdar://problem/16391601>
+
+ Reviewed by Sam Weinig.
+
+ Using the new available font for Hindi in the fallback list.
+
+ * platform/graphics/ios/FontCacheIOS.mm:
+ (WebCore::FontCache::systemFallbackForCharacters):
+
+2014-03-24 Brent Fulgham <bfulgham@apple.com>
+
+ Merge Minor WebVTT Cleanups from Blink
+ https://bugs.webkit.org/show_bug.cgi?id=130681
+
+ Reviewed by Eric Carlson.
+
+ Merged from Blink (patch by philipj@opera.com):
+ https://chromium.googlesource.com/chromium/blink/+/693eb5e2933dca0eab5bbd604e9f3406fe9fd1ab
+ http://crbug.com/52593009
+ https://chromium.googlesource.com/chromium/blink/+/40b3602feab34e9be829fd742b6ad6ded322a09f
+ http://crbug.com/104243003
+
+ * html/track/TextTrack.cpp:
+ (WebCore::TextTrack::setMode):
+ * html/track/TextTrack.idl:
+ * html/track/TextTrackCue.h:
+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCue::VTTCue):
+ * html/track/VTTCue.h:
+
+2014-03-24 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r166169.
+ https://bugs.webkit.org/show_bug.cgi?id=130682
+
+ This patch broke tests on Apple Mavericks (Requested by fredw
+ on #webkit).
+
+ Reverted changeset:
+
+ "Operator stretching: expose a math data API"
+ https://bugs.webkit.org/show_bug.cgi?id=130572
+ http://trac.webkit.org/changeset/166169
+
+2014-03-24 Martin Hodovan <mhodovan@inf.u-szeged.hu>
+
+ ENABLE(CSS_GRID_LAYOUT) guard for CSSGridLineNamesValue
+ https://bugs.webkit.org/show_bug.cgi?id=130669
+
+ Reviewed by Sergio Villar Senin.
+
+ No new tests. No new functionality.
+
+ * css/CSSGridLineNamesValue.cpp:
+ * css/CSSGridLineNamesValue.h:
+
+2014-03-24 Chris Fleizach <cfleizach@apple.com>
+
+ <hr> should expose AXRole/AXSubrole, etc
+ https://bugs.webkit.org/show_bug.cgi?id=109015
+
+ Reviewed by Mario Sanchez Prada.
+
+ Expose the <hr> element to Mac and iOS through the accessibility interface.
+
+ Test: platform/mac/accessibility/hr-element.html
+
+ * English.lproj/Localizable.strings:
+ * accessibility/AccessibilityNodeObject.cpp:
+ (WebCore::AccessibilityNodeObject::isEnabled):
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::computedRoleString):
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
+ * accessibility/atk/AccessibilityObjectAtk.cpp:
+ (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper determineIsAccessibilityElement]):
+ (-[WebAccessibilityObjectWrapper accessibilityLabel]):
+ * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+ (createAccessibilityRoleMap):
+ (-[WebAccessibilityObjectWrapper subrole]):
+ (-[WebAccessibilityObjectWrapper roleDescription]):
+ * platform/LocalizedStrings.cpp:
+ (WebCore::AXHorizontalRuleDescriptionText):
+ * platform/LocalizedStrings.h:
+
+2014-03-24 Antti Koivisto <antti@apple.com>
+
+ Invalidate sibling text node style when needed instead of attaching synchronously
+ https://bugs.webkit.org/show_bug.cgi?id=130590
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- RenderStyle::diff() was prone to being changed incorrectly, since there was
- a poorly documented ordering requirement: style changes that cause layout
- have to be detected before those that cause only repainting.
</del><ins>+ Make things simpler.
+
+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::invalidateWhitespaceOnlyTextSiblingsAfterAttachIfNeeded):
</ins><span class="cx">
</span><del>- In addition, the existing code made it impossible to separately ask whether
- a given style change requires a repaint, if we've already detected that it
- requires a positioned-movement-only layout.
</del><ins>+ Just invalidate instead of calling attach directly.
+ Rename to match.
+
+ (WebCore::Style::textRendererIsNeeded):
+ (WebCore::Style::createTextRendererIfNeeded):
</ins><span class="cx">
</span><del>- Fix by factoring the code into member functions that check for each type
- of style change.
</del><ins>+ Move all testing to textRendererIsNeeded.
+
+ (WebCore::Style::updateTextRendererAfterContentChange):
</ins><span class="cx">
</span><del>- No behavior change.
</del><ins>+ Call resolveTextNode instead of re-implementing the same thing.
</ins><span class="cx">
</span><del>- * rendering/style/RenderStyle.cpp:
- (WebCore::positionChangeIsMovementOnly):
- (WebCore::RenderStyle::changeRequiresLayout):
- (WebCore::RenderStyle::changeRequiresPositionedLayoutOnly):
- (WebCore::RenderStyle::changeRequiresLayerRepaint):
- (WebCore::RenderStyle::changeRequiresRepaint):
- (WebCore::RenderStyle::changeRequiresRepaintIfText):
- (WebCore::RenderStyle::changeRequiresRecompositeLayer):
- (WebCore::RenderStyle::diff):
- * rendering/style/RenderStyle.h:
</del><ins>+ (WebCore::Style::resolveLocal):
+ (WebCore::Style::resolveTextNode):
+
+ Avoid unnecessary reattaching.
+ Rename for consistency.
</ins><span class="cx">
</span><del>-2013-05-18 Anders Carlsson <andersca@apple.com>
</del><ins>+ (WebCore::Style::resolveShadowTree):
+ (WebCore::Style::resolveTree):
+
+2014-03-24 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Simplify the StorageArea setter functions
- https://bugs.webkit.org/show_bug.cgi?id=116402
</del><ins>+ Fix !ENABLE(VIDEO) build
+ https://bugs.webkit.org/show_bug.cgi?id=130671
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Move more security checking code to Storage so more code can be shared between WebKit1 and WebKit2.
</del><ins>+ Add missing ENABLE(VIDEO) guards because many functions use
+ the newly guarded functions.
</ins><span class="cx">
</span><del>- * inspector/InspectorDOMStorageAgent.cpp:
- (WebCore::InspectorDOMStorageAgent::setDOMStorageItem):
- (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem):
- * storage/Storage.cpp:
- (WebCore::Storage::setItem):
- (WebCore::Storage::removeItem):
- (WebCore::Storage::clear):
- * storage/StorageArea.h:
- (StorageArea):
- * storage/StorageAreaImpl.cpp:
- (WebCore::StorageAreaImpl::setItem):
- (WebCore::StorageAreaImpl::removeItem):
- (WebCore::StorageAreaImpl::clear):
- * storage/StorageAreaImpl.h:
- (StorageAreaImpl):
</del><ins>+ * testing/Internals.cpp:
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>-2013-05-18 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-24 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- Simplify StorageArea getter functions
- https://bugs.webkit.org/show_bug.cgi?id=116399
</del><ins>+ Text autosizing does not determine line count correctly for simple line layout
+ https://bugs.webkit.org/show_bug.cgi?id=130673
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Reviewed by Daniel Bates.
+
+ We don't count lines correctly in simple line layout case.
</ins><span class="cx">
</span><del>- Move the security and private browsing checks from StorageArea to Storage so we can share
- more code between WebKit1 and WebKit2.
</del><ins>+ * page/Frame.cpp:
+ (WebCore::Frame::textAutosizingWidth):
+ (WebCore::Frame::setTextAutosizingWidth):
+ * page/ios/FrameIOS.mm:
+ (WebCore::Frame::textAutosizingWidth): Deleted.
+ (WebCore::Frame::setTextAutosizingWidth): Deleted.
+
+ Move to Frame.cpp to make enabling on non-iOS build easier.
</ins><span class="cx">
</span><del>- * inspector/InspectorDOMStorageAgent.cpp:
- (WebCore::InspectorDOMStorageAgent::getDOMStorageItems):
- Update to new StorageArea interface. The security checks are unnecessary here anyway because
- InspectorDOMStorageAgent::findStorageArea will only return a StorageArea that can be accessed
- by the frame's security origin.
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::lineCount):
</ins><span class="cx">
</span><del>- * storage/Storage.cpp:
- (WebCore::Storage::key):
- (WebCore::Storage::getItem):
- (WebCore::Storage::contains):
- * storage/StorageArea.h:
- (StorageArea):
- * storage/StorageAreaImpl.cpp:
- (WebCore::StorageAreaImpl::key):
- (WebCore::StorageAreaImpl::item):
- (WebCore::StorageAreaImpl::contains):
- * storage/StorageAreaImpl.h:
- (StorageAreaImpl):
</del><ins>+ Handle simple line layout case.
</ins><span class="cx">
</span><del>-2013-05-17 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ (WebCore::RenderBlockFlow::lineCountForTextAutosizing):
+
+ Call lineCount() if children are inline.
+ Rename for clarity.
</ins><span class="cx">
</span><del>- Garbage on page background while http://canberraballoons.com.au is loading
- https://bugs.webkit.org/show_bug.cgi?id=116384
- <rdar://problem/13930328>
</del><ins>+ (WebCore::RenderBlockFlow::adjustComputedFontSizes):
+ (WebCore::RenderBlockFlow::immediateLineCount): Deleted.
+ * rendering/RenderBlockFlow.h:
</ins><span class="cx">
</span><del>- Reviewed by Dan Bernstein.
</del><ins>+2014-03-24 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- This page loads a large JPEG image as the body background.
- ImageSource::frameHasAlphaAtIndex() always claims that JPEG images
- are opaque, but this isn't true if the frame is only partially loaded.
- However, this would cause FillLayer::hasOpaqueImage() to report that the
- background image is opaque, so we'd skip painting the background color.
- Unpainted content in an opaque layer results in garbage.
-
- Fix by having ImageSource::frameHasAlphaAtIndex() always return true
- for frames that are not complete. When the image load completes, we
- recompute metadata and correctly determine that the frame is opaque.
</del><ins>+ [regression] background colors do not apply to <mo> elements.
+ https://bugs.webkit.org/show_bug.cgi?id=130470.
</ins><span class="cx">
</span><del>- * platform/graphics/cg/ImageSourceCG.cpp:
- (WebCore::ImageSource::frameHasAlphaAtIndex):
</del><ins>+ Test: mathml/presentation/tokenElements-background-color.html
</ins><span class="cx">
</span><del>-2013-05-18 Timothy Hatcher <timothy@apple.com>
</del><ins>+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::paint): always call the parent painting to draw the background.
+ (WebCore::RenderMathMLOperator::paintChildren): move the special case for invisible operator here.
</ins><span class="cx">
</span><del>- Simplify EventLoop::cycle() on Mac.
</del><ins>+2014-03-24 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- https://webkit.org/b/116392
</del><ins>+ Operator stretching: expose a math data API
+ https://bugs.webkit.org/show_bug.cgi?id=130572
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- * platform/mac/EventLoopMac.mm:
- (WebCore::EventLoop::cycle): Use CFRunLoopRunInMode instead.
</del><ins>+ We expose a new SimpleFontData API to give access to the data from the
+ OpenType MATH table using a font cache. The class OpenTypeMathData will
+ be implemented in bug 130324. On Darwin platform, we also implement the
+ missing FontPlatformData::openTypeTable function which will be necessary
+ to load the OpenType MATH table. The changes are intended to be used
+ for MathML operator stretching (bug 130322) so tests are not added yet.
</ins><span class="cx">
</span><del>-2013-05-18 Andreas Kling <akling@apple.com>
</del><ins>+ * CMakeLists.txt: add new OpenTypeMathData files.
+ * GNUmakefile.list.am: ditto.
+ * WebCore.vcxproj/WebCore.vcxproj: ditto.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: ditto.
+ * WebCore.xcodeproj/project.pbxproj: ditto.
+ * platform/graphics/FontCache.cpp: We add a FontCache::getMathData function to implement a cache for the math data.
+ We make the math and vertical data share the same key for the cache.
+ (WebCore::fontMathDataCacheInstance):
+ (WebCore::FontCache::getMathData):
+ (WebCore::fontVerticalDataCacheInstance):
+ * platform/graphics/FontCache.h: We declare FontCache::getMathData and FontFileKey on all platforms.
+ * platform/graphics/FontPlatformData.cpp:
+ (WebCore::FontPlatformData::openTypeTable): We implement openTypeTable() on Darwin platform.
+ * platform/graphics/FontPlatformData.h: We expose openTypeTable() on Darwin platform.
+ * platform/graphics/SimpleFontData.cpp: We initialize m_mathData from the font cache.
+ (WebCore::SimpleFontData::SimpleFontData):
+ * platform/graphics/SimpleFontData.h: We expose a mathData() function to access the MATH data.
+ * platform/graphics/opentype/OpenTypeMathData.cpp: Added. This is a new class that will be used to parse the data from the OpenType MATH table.
+ (WebCore::OpenTypeMathData::OpenTypeMathData):
+ * platform/graphics/opentype/OpenTypeMathData.h: Added.
+ (WebCore::OpenTypeMathData::create):
+ (WebCore::OpenTypeMathData::hasMathData):
</ins><span class="cx">
</span><del>- Use CSSParserSelector::appendTagHistory() from CSS grammar.
- <http://webkit.org/b/116382>
</del><ins>+2014-03-24 Jon Lee <jonlee@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Build fixes.
</ins><span class="cx">
</span><del>- CSSParserSelector already knows how to append another component to itself,
- no need to duplicate that logic in the grammar.
</del><ins>+ Unreviewed.
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+ * editing/ios/EditorIOS.mm:
+ (WebCore::Editor::writeSelectionToPasteboard): Convert to reference.
</ins><span class="cx">
</span><del>-2013-05-18 Patrick Gansterer <paroga@webkit.org>
</del><ins>+2014-03-24 Martin Hodovan <mhodovan@inf.u-szeged.hu>
</ins><span class="cx">
</span><del>- [CMake] Replace *_LIBRARY_NAME with *_OUTPUT_NAME
- https://bugs.webkit.org/show_bug.cgi?id=114554
</del><ins>+ ENABLE(VIDEO_TRACK) guard for CSSParserSelector::parsePseudoCueFunctionSelector
+ https://bugs.webkit.org/show_bug.cgi?id=130666
</ins><span class="cx">
</span><del>- Reviewed by Gyuyoung Kim.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Using variables as target names is very uncommon in CMake.
- The usual way to specify the name of the resulting binary
- is to set the OUTPUT_NAME target property.
</del><ins>+ No new tests. No new functionality.
</ins><span class="cx">
</span><ins>+ * css/CSSParserValues.cpp:
+ (WebCore::CSSParserSelector::parsePseudoCueFunctionSelector): Deleted.
+
+2014-03-24 Javier Fernandez <jfernandez@igalia.com>
+
+ [CSS Grid Layout] Update named <grid-line> syntax to the last version of the specs
+ https://bugs.webkit.org/show_bug.cgi?id=129041
+
+ Reviewed by Sergio Villar Senin.
+
+ From Blink r162555 by <svillar@igalia.com>
+
+ Names for grid lines are now specified as a list of whitespace separated
+ idents enclosed in parentheses instead of as a list of strings.
+
+ Updated tests to match the new <grid-line> syntax.
+
</ins><span class="cx"> * CMakeLists.txt:
</span><ins>+ * GNUmakefile.list.am:
+ * WebCore.xcodeproj/project.pbxproj: Added info of the new file for the CSSGridLineNamesValue class.
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::addValuesForNamedGridLinesAtIndex): The named <grid-line> value is now a list.
+ * css/CSSGrammar.y.in: New syntax for named <grid-line>.
+ * css/CSSGridLineNamesValue.cpp: Added.
+ (WebCore::CSSGridLineNamesValue::customCSSText): String representation of the named <grid-line> as a list of Strings.
+ (WebCore::CSSGridLineNamesValue::CSSGridLineNamesValue): Constructor.
+ (WebCore::CSSGridLineNamesValue::cloneForCSSOM): Ref counted cloning function.
+ * css/CSSGridLineNamesValue.h: Added.
+ (WebCore::CSSGridLineNamesValue::create): Ref counted constructor.
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseGridLineNames): It replaces the old parseGrdTrackNames.
+ (WebCore::CSSParser::parseGridTrackList): Using the new named <grid-line> syntax.
+ (WebCore::CSSParser::parseGridTrackRepeatFunction): Using the new named <grid-line> syntax.
+ * css/CSSParser.h:
+ * css/CSSParserValues.cpp:
+ (WebCore::destroy): Handling the case of CSSValue being CSSValueList intances.
+ (WebCore::CSSParserValue::createCSSValue): Handling the case of CSSValue being CSSValueList intances.
+ * css/CSSParserValues.h:
+ (WebCore::CSSParserValue::setFromValueList): Adds the named <grid-line> list to the CSSParserValueList instance.
+ * css/CSSValue.cpp:
+ (WebCore::CSSValue::equals): Handling the case of the new CSSGridLineNamesValue class.
+ (WebCore::CSSValue::cssText): Handling the case of the new CSSGridLineNamesValue class.
+ (WebCore::CSSValue::destroy): Handling the case of the new CSSGridLineNamesValue class.
+ * css/CSSValue.h:
+ (WebCore::CSSValue::isGridLineNamesValue): Type cast check for the new CSSGridLineNamesValue class.
+ * css/StyleResolver.cpp:
+ (WebCore::createGridTrackList): Using the new named <grid-line> syntax.
</ins><span class="cx">
</span><del>-2013-05-18 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+2014-03-23 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- [GTK] Move GTK port off legacy clipboard
- https://bugs.webkit.org/show_bug.cgi?id=116221
</del><ins>+ Convert WebHTMLConverter to C++
+ https://bugs.webkit.org/show_bug.cgi?id=130655
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Merge clipboard methods into PasteboardGtk that now wraps a
- DataObjectGtk.
</del><ins>+ - Mechanically converts the Objective-C class WebHTMLConverter, to the C++ HTMLConverter (lots of cleanup to follow).
+ - Removes unused members
+ - _standardFontFamily (never assigned to)
+ - _textSizeMultiplier (always exactly 1)
+ - _webViewTextSizeMultiplier (always exactly 0)
+ - _defaultFontSize (always exactly 12, changed to be constant)
+ - _minimumFontSize (always exactly 1, changed to be constant)
+ - _colorsForNodes (never assigned to)
+ - _indexingLimit (always exactly 0)
+ - _thumbnailLimit (always exactly 0)
+ - _flags.isIndexing (always false)
+ - _flags.isTesting (always false)
</ins><span class="cx">
</span><del>- * GNUmakefile.list.am: Remove ClipboardGtk.h.
- * dom/Clipboard.h: Remove GTK from the list of ports using legacy
- clipboard.
- * page/gtk/EventHandlerGtk.cpp:
- (WebCore::EventHandler::createDraggingClipboard): Use
- Clipboard::createForDragAndDrop().
- * platform/Pasteboard.h:
- (Pasteboard):
- * platform/gtk/ClipboardGtk.cpp:
- (WebCore::Editor::newGeneralClipboard): Use
- Clipboard::createForCopyAndPaste().
- (WebCore::Clipboard::createDragImage):
- (WebCore::Clipboard::declareAndWriteDragImage):
- * platform/gtk/ClipboardGtk.h: Removed.
- * platform/gtk/DragDataGtk.cpp:
- * platform/gtk/PasteboardGtk.cpp:
- (WebCore::Pasteboard::create): Create a new Pasteboard for a given
- GtkClipboard or DataObjectGtk.
- (WebCore::Pasteboard::createForCopyAndPaste): Create a Pasteboard
- for the GDK_SELECTION_CLIPBOARD clipboard.
- (WebCore::Pasteboard::createPrivate): Create a Pasteboard without
- a GtkClipboard associated.
- (WebCore::Pasteboard::createForDragAndDrop): Create a Pasteboard
- for drag and drop operations.
- (WebCore::selectionClipboard): Return a static Pasteboard for the
- GDK_SELECTION_CLIPBOARD clipboard.
- (WebCore::primaryClipboard): Return a static Pasteboard for the
- GDK_SELECTION_PRIMARY clipboard.
- (WebCore::Pasteboard::generalPasteboard): Return
- selectionClipboard() or primaryClipboard() depending on whether
- primary selection clipboard is the active one or not.
- (WebCore::Pasteboard::Pasteboard):
- (WebCore::Pasteboard::~Pasteboard):
- (WebCore::Pasteboard::dataObject): Return the wrapped DataObjectGtk.
- (WebCore::dataObjectTypeFromHTMLClipboardType): Copied from
- ClipboardGtk.cpp.
- (WebCore::Pasteboard::writeString): Adapted to upate the wrapped
- DataObjectGtk and the GtkClipboard if needed.
- (WebCore::Pasteboard::writeSelection): Ditto.
- (WebCore::Pasteboard::writePlainText): Ditto.
- (WebCore::Pasteboard::writeURL): Ditto.
- (WebCore::Pasteboard::writeImage): Ditto.
- (WebCore::Pasteboard::writePasteboard): Copy the wrapped
- DataObjectGtk from the DataObjectGtk of the given Pasteboard and
- upsate the GtkClipboard if needed.
- (WebCore::Pasteboard::clear): Copied from ClipboardGtk.cpp.
- (WebCore::Pasteboard::canSmartReplace): Check if current
- GtkClipboard supports smart replace.
- (WebCore::Pasteboard::setDragImage):
- (WebCore::Pasteboard::documentFragment): Adapted to use the
- wrapped DataObjectGtk reading from the current GtkClipboard if
- present.
- (WebCore::Pasteboard::plainText): Ditto.
- (WebCore::Pasteboard::hasData): Copied from ClipboardGtk.cpp.
- (WebCore::Pasteboard::types): Ditto.
- (WebCore::Pasteboard::readString): Ditto.
- (WebCore::Pasteboard::readFilenames): Ditto.
</del><ins>+ * editing/cocoa/HTMLConverter.mm:
+ (HTMLConverter::convert):
+ (HTMLConverter::HTMLConverter):
+ (HTMLConverter::~HTMLConverter):
+ (defaultParagraphStyle):
+ (_childrenForNode):
+ (HTMLConverter::_stringForNode):
+ (HTMLConverter::_getFloat):
+ (_webKitBundle):
+ (HTMLConverter::_elementIsBlockLevel):
+ (HTMLConverter::_elementHasOwnBackgroundColor):
+ (HTMLConverter::_blockLevelElementForNode):
+ (HTMLConverter::_colorForNode):
+ (HTMLConverter::_computedAttributesForElement):
+ (HTMLConverter::_attributesForElement):
+ (HTMLConverter::_newParagraphForElement):
+ (HTMLConverter::_newLineForElement):
+ (HTMLConverter::_newTabForElement):
+ (_WebMessageDocumentClass):
+ (HTMLConverter::_addAttachmentForElement):
+ (HTMLConverter::_addQuoteForElement):
+ (HTMLConverter::_addValue):
+ (HTMLConverter::_fillInBlock):
+ (HTMLConverter::_processMetaElementWithName):
+ (HTMLConverter::_processHeadElement):
+ (HTMLConverter::_enterElement):
+ (HTMLConverter::_addTableForElement):
+ (HTMLConverter::_addTableCellForElement):
+ (HTMLConverter::_processElement):
+ (HTMLConverter::_addMarkersToList):
+ (HTMLConverter::_exitElement):
+ (HTMLConverter::_processText):
+ (HTMLConverter::_traverseNode):
+ (HTMLConverter::_traverseFooterNode):
+ (HTMLConverter::_adjustTrailingNewline):
+ (HTMLConverter::_loadFromDOMRange):
+ (fileWrapperForURL):
+ (fileWrapperForElement):
+ (WebCore::attributedStringFromRange):
+ (WebCore::editingAttributedStringFromRange):
</ins><span class="cx">
</span><del>-2013-05-18 Alberto Garcia <agarcia@igalia.com>
</del><ins>+2014-03-23 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>- [GTK] Parallel build fails if gtk-doc is enabled
- https://bugs.webkit.org/show_bug.cgi?id=116227
</del><ins>+ Remove Dead Stores from editing directory
+ https://bugs.webkit.org/show_bug.cgi?id=130634
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * GNUmakefile.am:
- Don't overwrite noinst_DATA, modify its existing value instead.
</del><ins>+ Remove Dead Stores from editing directory which assigning a value to a variable
+ and never reading that value.
</ins><span class="cx">
</span><del>-2013-05-17 Michelangelo De Simone <michelangelo@webkit.org>
</del><ins>+ * editing/ApplyStyleCommand.cpp:
+ (WebCore::ApplyStyleCommand::mergeStartWithPreviousIfIdentical):
+ * editing/markup.cpp:
+ (WebCore::createMarkupInternal):
</ins><span class="cx">
</span><del>- CSSParser parsing of CSSPropertyFontStretch falls into CSSPropertyGeometry
- https://bugs.webkit.org/show_bug.cgi?id=116370
</del><ins>+2014-03-23 Hyowon Kim <hw1008.kim@samsung.com>
</ins><span class="cx">
</span><del>- CSSPropertyFontStretch mistakenly fell through the shader parsing logic.
</del><ins>+ Move all EFL typedefs into EflTypedefs.h.
+ https://bugs.webkit.org/show_bug.cgi?id=130511
</ins><span class="cx">
</span><del>- Reviewed by Alexandru Chiculita.
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- No new test possible, the feature is not implemented nor exposed.
</del><ins>+ * platform/FileSystem.h: Remove EFL typedefs.
+ * platform/Widget.h: Ditto.
+ * platform/efl/EflScreenUtilities.h: Ditto.
+ * platform/graphics/Icon.h: Ditto.
+ * platform/graphics/Image.h: Ditto.
+ * platform/graphics/IntPoint.h: Ditto.
+ * platform/graphics/IntRect.h: Ditto.
+ * platform/network/NetworkStateNotifier.h: Ditto.
</ins><span class="cx">
</span><del>- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseValue):
</del><ins>+2014-03-23 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-17 Timothy Hatcher <timothy@apple.com>
</del><ins>+ Move HTMLConverter from platform/mac to editing/cocoa.
</ins><span class="cx">
</span><del>- Force the script debug server to continue when disabling the debugger.
</del><ins>+ Rubber-stamped by Darin Adler.
</ins><span class="cx">
</span><del>- There might be some cases where the debugger will stay in the nested run loop
- which cause weird issues.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ * editing/cocoa: Added.
+ * editing/cocoa/HTMLConverter.h: Copied from platform/mac/HTMLConverter.h.
+ * editing/cocoa/HTMLConverter.mm: Copied from platform/mac/HTMLConverter.mm.
+ * platform/mac/HTMLConverter.h: Removed.
+ * platform/mac/HTMLConverter.mm: Removed.
</ins><span class="cx">
</span><del>- Speculative fix for: https://webkit.org/b/111438
</del><ins>+2014-03-23 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro.
</del><ins>+ Simplify the HTMLConverter interface (Part 2)
+ https://bugs.webkit.org/show_bug.cgi?id=130654
</ins><span class="cx">
</span><del>- * inspector/InspectorDebuggerAgent.cpp:
- (WebCore::InspectorDebuggerAgent::disable):
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-05-16 Darin Adler <darin@apple.com>
</del><ins>+ Switch HTMLConverter from using an Objective-C interface to C functions.
</ins><span class="cx">
</span><del>- [BlackBerry] Get BlackBerry port off legacy clipboard
- https://bugs.webkit.org/show_bug.cgi?id=116287
</del><ins>+ * WebCore.exp.in:
+ * editing/ios/EditorIOS.mm:
+ (WebCore::Editor::writeSelectionToPasteboard):
+ * editing/mac/EditorMac.mm:
+ (WebCore::Editor::dataSelectionForPasteboard):
+ (WebCore::Editor::writeSelectionToPasteboard):
+ * platform/ios/PasteboardIOS.mm:
+ * platform/mac/HTMLConverter.h:
+ * platform/mac/HTMLConverter.mm:
+ (WebCore::attributedStringFromRange):
+ (WebCore::editingAttributedStringFromRange):
+ * platform/mac/PasteboardMac.mm:
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+2014-03-23 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- * PlatformBlackBerry.cmake: Removed ClipboardBlackBerry.cpp.
</del><ins>+ Remove code in HTMLObjectElement attribute parsing that forces style resolution and layout
+ https://bugs.webkit.org/show_bug.cgi?id=130653
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Removed BLACKBERRY from the list of platforms that
- use the legacy clipboard.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- * editing/blackberry/EditorBlackBerry.cpp:
- (WebCore::Editor::newGeneralClipboard): Changed to just create a copy
- and paste clipboard.
</del><ins>+ * dom/ContainerNode.cpp: Moved the post-attach callback code from here to
+ StyleResolveTree.h/cpp.
+ * dom/ContainerNode.h: Ditto.
</ins><span class="cx">
</span><del>- * page/blackberry/EventHandlerBlackBerry.cpp: Removed a drag-related
- function that wasn't doing any good.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::recalcStyle): Use Style::PostResolutionCallbackDisabler instead of
+ PostAttachCallbackDisabler.
</ins><span class="cx">
</span><del>- * platform/blackberry/ClipboardBlackBerry.cpp: Removed.
- * platform/blackberry/ClipboardBlackBerry.h: Removed.
</del><ins>+ * dom/Element.h: Moved the post-attach callback code from here to StyleResolveTree.h/cpp.
</ins><span class="cx">
</span><del>- * platform/blackberry/PasteboardBlackBerry.cpp:
- (WebCore::Pasteboard::createForCopyAndPaste): Added.
- (WebCore::Pasteboard::createPrivate): Added.
- (WebCore::Pasteboard::hasData): Added. Moved code here from ClipboardBlackBerry.cpp.
- (WebCore::Pasteboard::clear): Ditto.
- (WebCore::Pasteboard::readString): Ditto.
- (WebCore::Pasteboard::writeString): Ditto.
- (WebCore::Pasteboard::types): Ditto.
- (WebCore::Pasteboard::readFilenames): Ditto.
</del><ins>+ * html/HTMLEmbedElement.cpp:
+ (WebCore::HTMLEmbedElement::parseAttribute): Simplified the code for typeAttr, turning
+ it into a 1-liner. Added a FIXME in codeAttr about the fact that it does not have the
+ code to trigger image loads. Changed srcAttr to call updateImageLoaderWithNewURLSoon to
+ do the image loading logic.
</ins><span class="cx">
</span><del>-2013-05-17 Andreas Kling <akling@apple.com>
</del><ins>+ * html/HTMLFormControlElement.cpp:
+ (WebCore::HTMLFormControlElement::didAttachRenderers): Updated to use
+ Style::queuePostResolutionCallback and use a lambda instead of a function.
+ (WebCore::HTMLFormControlElement::didRecalcStyle): Ditto. Also added RefPtr instead
+ of just using wishful thinking to keep the object alive.
+ * html/HTMLFrameOwnerElement.cpp:
+ (WebCore::HTMLFrameOwnerElement::scheduleSetNeedsStyleRecalc): Ditto.
</ins><span class="cx">
</span><del>- Ads on theverge.com cause repaints when hovered, even though content doesn't visibly change.
- <http://webkit.org/b/116344>
</del><ins>+ * html/HTMLObjectElement.cpp:
+ (WebCore::HTMLObjectElement::parseAttribute):: Simplified the code for typeAttr, turning
+ it into a 1-liner. Changed dataAttr to use updateImageLoaderWithNewURLSoon(). Also made
+ it call setNeedsWidgetUpdate(true) unconditionally after checking carefully to see that's
+ harmless if there is no renderer. Changed classidAttr to call setNeedsWidgetUpdate(true)
+ unconditionally and not set m_classId.
+ (WebCore::HTMLObjectElement::shouldAllowQuickTimeClassIdQuirk): Use fastGetAttribute
+ instead of classId and descendantsOfType instead of getElementsByTagName.
+ (WebCore::HTMLObjectElement::hasValidClassId): Use fastGetAttribute instead of classId.
+ (WebCore::HTMLObjectElement::renderFallbackContent): Use imageLoader instead of m_imageLoader.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * html/HTMLObjectElement.h: Removed classId, since there is no reason to cache that
+ attribute in a data member. Rearranged header, making more private, and fixing some typos,
+ and doing a "using" instead of a function to disambiguate the inherited form functions.
</ins><span class="cx">
</span><del>- Teach RenderStyle::diff() to ignore differences in the outline value if both styles have non-visible outlines.
</del><ins>+ * html/HTMLPlugInImageElement.cpp:
+ (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement): Initialize m_needsImageReload.
+ (WebCore::HTMLPlugInImageElement::createElementRenderer): Fixed some code that assumed the
+ first child of the shadow root is guaranteed to be an element.
+ (WebCore::HTMLPlugInImageElement::didRecalcStyle): Added. Calls the new
+ scheduleUpdateForAfterStyleResolution function.
+ (WebCore::HTMLPlugInImageElement::didAttachRenderers): Moved all the logic from this
+ function into scheduleUpdateForAfterStyleResolution. Also added a call through to the base
+ class; cleaner even though it's just an assertion.
+ (WebCore::HTMLPlugInImageElement::scheduleUpdateForAfterStyleResolution): Added.
+ Schedules a call to updateAfterStyleResolution when needed.
+ (WebCore::HTMLPlugInImageElement::updateAfterStyleResolution): Added.
+ Combines updateWidgetIfNecessary and startLoadingImage, and also deals with the new
+ m_needsImageReload boolean in cases where no actual loading is done.
+ (WebCore::HTMLPlugInImageElement::removedFrom): Added. Do not delay the load event of
+ document once this element is removed, clears m_needsImageReload.
+ (WebCore::HTMLPlugInImageElement::didMoveToNewDocument): Removed null check on oldDocument,
+ since m_needsDocumentActivationCallbacks can't be true if the old document was null.
+ (WebCore::is100Percent): Added helper to make function below more readable.
+ (WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn): Restructured the code a
+ bit. The part that attracted my attention was the local variable of type RenderBox, which
+ was named renderEmbeddedObject. Turns out the caller guarantees to only call this if there
+ is a renderer of type RenderEmbeddedObject, so depend on that.
+ (WebCore::HTMLPlugInImageElement::setNeedsImageReload): Added. When called with true, sets
+ the flag and triggers a style recalculation, and lets updateAfterStyleResolution do the rest.
+ When called with false, reverses the effects and stops delaying the load event.
</ins><span class="cx">
</span><del>- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::diff):
- * rendering/style/StyleBackgroundData.cpp:
- (WebCore::StyleBackgroundData::isEquivalentForPainting):
- * rendering/style/StyleBackgroundData.h:
- (StyleBackgroundData):
</del><ins>+ * html/HTMLPlugInImageElement.h: Trimmed includes a bit. Made more members private.
+ Marked more function members final. Made a protected imageLoader function so that
+ m_imageLoader can be private. Added new protected function updateImageLoaderWithNewURLSoon,
+ as well as other new private functions. Made m_imageLoader be std::unique_ptr instead of
+ OwnPtr, and added m_needsImageReload.
</ins><span class="cx">
</span><del>-2013-05-17 Andreas Kling <akling@apple.com>
</del><ins>+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::needsPseudoElement): Fixed spelling error in the name of this function.
+ (WebCore::Style::attachBeforeOrAfterPseudoElementIfNeeded): Updated for name change.
+ (WebCore::Style::attachRenderTree): Update for new name of PostResolutionCallbackDisabler.
+ (WebCore::Style::updateBeforeOrAfterPseudoElement): Updated for name change.
+ (WebCore::Style::postResolutionCallbackQueue): Added.
+ (WebCore::Style::queuePostResolutionCallback): Added.
+ (WebCore::Style::suspendMemoryCacheClientCalls): Added. This is a side effect of the original
+ PostAttachCallbackDisabler that is now done in a cleaner way, using the callback queue, instead
+ of as a special case. It should not work for multiple documents across multiple pages instead of
+ only the outermost one.
+ (WebCore::Style::PostResolutionCallbackDisabler::PostResolutionCallbackDisabler): Added.
+ Calls suspendMemoryCacheClientCalls, but a FIXME tries to point out why that isn't so great.
+ (WebCore::Style::PostResolutionCallbackDisabler::~PostResolutionCallbackDisabler): Added.
+ (WebCore::Style::postResolutionCallbacksAreSuspended): Added.
</ins><span class="cx">
</span><del>- Plug leak in CSSSelectorList::deleteSelectors().
- <http://webkit.org/b/116371>
- <rdar://problem/13930698>
</del><ins>+ * style/StyleResolveTree.h: Added queuePostResolutionCallback and
+ postResolutionCallbacksAreSuspended. Also added PostResolutionCallbackDisabler, which should
+ eventually become a private implementation detail.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-03-23 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- Don't forget to destroy the very last selector in the list.
</del><ins>+ Simplify the HTMLConverter interface (Part 1)
+ https://bugs.webkit.org/show_bug.cgi?id=130654
</ins><span class="cx">
</span><del>- * css/CSSSelectorList.cpp:
- (WebCore::CSSSelectorList::deleteSelectors):
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>-2013-05-17 Anders Carlsson <andersca@apple.com>
</del><ins>+ Convert WebHTMLConverter's interface to only use class methods as the first
+ step of simplifying the interface.
</ins><span class="cx">
</span><del>- Share code between WebKit1 and WebKit2 StorageArea subclasses
- https://bugs.webkit.org/show_bug.cgi?id=116367
</del><ins>+ * editing/ios/EditorIOS.mm:
+ (WebCore::attributedStringForRange):
+ * editing/mac/EditorMac.mm:
+ (WebCore::attributedStringForRange):
+ * platform/mac/HTMLConverter.h:
+ * platform/mac/HTMLConverter.mm:
+ (+[WebHTMLConverter attributedStringFromRange:]):
</ins><span class="cx">
</span><ins>+2014-03-23 James Craig <jcraig@apple.com>
+
+ Web Inspector: AXI: add other ARIA one-to-many relationships: owns, flowto, controls.
+ https://bugs.webkit.org/show_bug.cgi?id=130635
+
+ Reviewed by Timothy Hatcher.
+
+ Support for @aria-owns, @aria-controls, and @aria-flowto.
+
+ Test: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
+
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+ * inspector/protocol/DOM.json:
+
+2014-03-23 Simon Fraser <simon.fraser@apple.com>
+
+ Clean up #includes by geometry classes
+ https://bugs.webkit.org/show_bug.cgi?id=130645
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- * inspector/InspectorDOMStorageAgent.cpp:
- (WebCore::InspectorDOMStorageAgent::getDOMStorageItems):
- Remove ec parameter.
</del><ins>+ Pulling in <wtf/Vector.h> and <wtf/PrintStream.h> in the simple geometry
+ classes brings in a lot of additional headers. Fix by adding a new
+ GeometryUtilities file so that the basic files don't need Vector,
+ and including GeometryUtilities.h where necessary.
+
+ Also forward declare PrintStream.h and only bring in the header
+ in implementation files.
</ins><span class="cx">
</span><del>- * inspector/InspectorDOMStorageAgent.h:
- Add forward declaration.
</del><ins>+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * css/CSSToStyleMap.h:
+ * html/HTMLCanvasElement.cpp:
+ * platform/cairo/WidgetBackingStoreCairo.h:
+ * platform/graphics/FloatPoint.cpp:
+ * platform/graphics/FloatPoint.h:
+ * platform/graphics/FloatRect.cpp:
+ * platform/graphics/FloatRect.h:
+ * platform/graphics/FloatSize.cpp:
+ * platform/graphics/FloatSize.h:
+ * platform/graphics/GeometryUtilities.cpp: Added.
+ (WebCore::findSlope):
+ (WebCore::findIntersection):
+ (WebCore::unionRect):
+ (WebCore::mapRect):
+ * platform/graphics/GeometryUtilities.h: Copied from Source/WebCore/platform/graphics/TextTrackRepresentation.h.
+ * platform/graphics/IntPoint.h:
+ * platform/graphics/IntRect.cpp:
+ * platform/graphics/IntRect.h:
+ * platform/graphics/IntSize.h:
+ * platform/graphics/TextTrackRepresentation.h:
+ * platform/graphics/Tile.h:
+ * platform/graphics/texmap/coordinated/UpdateAtlas.h:
+ * platform/gtk/WidgetBackingStoreGtkX11.h:
+ * rendering/RenderBoxModelObject.cpp:
+ * rendering/RenderImage.cpp:
+ * rendering/RenderObject.cpp:
</ins><span class="cx">
</span><del>- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::sessionStorage):
- (WebCore::DOMWindow::localStorage):
- Storage::StorageArea returns a reference now.
</del><ins>+2014-03-23 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * storage/Storage.cpp:
- (WebCore::Storage::length):
- Check that the storage area can be accessed by the frame, and that it's not disabled by private browsing.
- Then call down to the (now simplified) StorageArea::length().
</del><ins>+ Clean up #includes by geometry classes
+ https://bugs.webkit.org/show_bug.cgi?id=130645
</ins><span class="cx">
</span><del>- (WebCore::Storage::isDisabledByPrivateBrowsing):
- New helper function that's based on StorageAreaImpl::disabledByPrivateBrowsingInFrame, but reordered
- to make it easier to follow.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * storage/Storage.h:
- (WebCore::Storage::area):
- Return a reference.
</del><ins>+ Pulling in <wtf/Vector.h> and <wtf/PrintStream.h> in the simple geometry
+ classes brings in a lot of additional headers. Fix by adding a new
+ GeometryUtilities file so that the basic files don't need Vector,
+ and including GeometryUtilities.h where necessary.
+
+ Also forward declare PrintStream.h and only bring in the header
+ in implementation files.
</ins><span class="cx">
</span><del>- * storage/StorageAreaImpl.cpp:
- (WebCore::StorageAreaImpl::storageType):
- Add this new virtual member funciton that's needed by Storage::isDisabledByPrivateBrowsing.
</del><ins>+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * css/CSSToStyleMap.h:
+ * html/HTMLCanvasElement.cpp:
+ * platform/cairo/WidgetBackingStoreCairo.h:
+ * platform/graphics/FloatPoint.cpp:
+ * platform/graphics/FloatPoint.h:
+ * platform/graphics/FloatRect.cpp:
+ * platform/graphics/FloatRect.h:
+ * platform/graphics/FloatSize.cpp:
+ * platform/graphics/FloatSize.h:
+ * platform/graphics/GeometryUtilities.cpp: Added.
+ (WebCore::findSlope):
+ (WebCore::findIntersection):
+ (WebCore::unionRect):
+ (WebCore::mapRect):
+ * platform/graphics/GeometryUtilities.h: Copied from Source/WebCore/platform/graphics/TextTrackRepresentation.h.
+ * platform/graphics/IntPoint.h:
+ * platform/graphics/IntRect.cpp:
+ * platform/graphics/IntRect.h:
+ * platform/graphics/IntSize.h:
+ * platform/graphics/TextTrackRepresentation.h:
+ * platform/graphics/Tile.h:
+ * platform/gtk/WidgetBackingStoreGtkX11.h:
+ * rendering/RenderBoxModelObject.cpp:
+ * rendering/RenderImage.cpp:
+ * rendering/RenderObject.cpp:
</ins><span class="cx">
</span><del>- (WebCore::StorageAreaImpl::length):
- Remove unneeded code.
</del><ins>+2014-03-22 Chang Shu <cshu@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-17 Commit Queue <commit-queue@webkit.org>
</del><ins>+ Replace deprecatedIsCollapsibleWhitespace with RenderStyle::isCollapsibleWhiteSpace in TextIterator.
+ https://bugs.webkit.org/show_bug.cgi?id=130612.
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r150294.
- http://trac.webkit.org/changeset/150294
- https://bugs.webkit.org/show_bug.cgi?id=116369
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Caused 31 tests to fail (Requested by rniwa on #webkit).
</del><ins>+ Some layout tests are affected by this change but the new behavior should be correct.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * rendering/InlineFlowBox.h:
- * rendering/InlineTextBox.h:
- (InlineTextBox):
- * rendering/RenderApplet.h:
- * rendering/RenderBR.h:
- * rendering/RenderBlock.h:
- (RenderBlock):
- (WebCore::RenderBlock::virtualContinuation):
- * rendering/RenderBox.h:
- (WebCore::RenderBox::borderBoundingBox):
- (RenderBox):
- (WebCore::RenderBox::marginLogicalLeft):
- (WebCore::RenderBox::marginLogicalRight):
- * rendering/RenderBoxModelObject.h:
- (WebCore::RenderBoxModelObject::isBoxModelObject):
- * rendering/RenderButton.h:
- * rendering/RenderCombineText.h:
- * rendering/RenderCounter.h:
- * rendering/RenderDeprecatedFlexibleBox.h:
- * rendering/RenderDetailsMarker.h:
- * rendering/RenderEmbeddedObject.h:
- (RenderEmbeddedObject):
- (WebCore::RenderEmbeddedObject::isEmbeddedObject):
- (WebCore::RenderEmbeddedObject::virtualChildren):
- * rendering/RenderFieldset.h:
- * rendering/RenderFileUploadControl.h:
- * rendering/RenderFlexibleBox.h:
- * rendering/RenderFlowThread.h:
- * rendering/RenderFrame.h:
- * rendering/RenderFrameSet.h:
- * rendering/RenderFullScreen.cpp:
- * rendering/RenderFullScreen.h:
- * rendering/RenderGrid.h:
- * rendering/RenderHTMLCanvas.h:
- * rendering/RenderIFrame.h:
- * rendering/RenderImage.h:
- (RenderImage):
- (WebCore::RenderImage::isRenderImage):
- * rendering/RenderInline.h:
- (RenderInline):
- (WebCore::RenderInline::virtualContinuation):
- (WebCore::RenderInline::virtualChildren):
- (WebCore::RenderInline::isRenderInline):
- (WebCore::RenderInline::layout):
- (WebCore::RenderInline::requiresLayer):
- (WebCore::RenderInline::offsetWidth):
- (WebCore::RenderInline::offsetHeight):
- (WebCore::RenderInline::borderBoundingBox):
- (WebCore::RenderInline::dirtyLinesFromChangedChild):
- * rendering/RenderLayerModelObject.h:
- * rendering/RenderListBox.h:
- * rendering/RenderListItem.h:
- * rendering/RenderListMarker.h:
- * rendering/RenderMedia.h:
- (WebCore::RenderMedia::virtualChildren):
- (WebCore::RenderMedia::canHaveChildren):
- (WebCore::RenderMedia::isMedia):
- (WebCore::RenderMedia::isImage):
- (WebCore::RenderMedia::requiresForcedStyleRecalcPropagation):
- * rendering/RenderMediaControlElements.h:
- * rendering/RenderMenuList.h:
- * rendering/RenderMeter.h:
- * rendering/RenderMultiColumnBlock.h:
- * rendering/RenderMultiColumnFlowThread.h:
- * rendering/RenderMultiColumnSet.h:
- * rendering/RenderNamedFlowThread.h:
- * rendering/RenderPart.h:
- (RenderPart):
- (WebCore::RenderPart::isRenderPart):
- (WebCore::RenderPart::renderName):
- * rendering/RenderProgress.h:
- * rendering/RenderRegion.h:
- (WebCore::RenderRegion::isRenderRegion):
- * rendering/RenderRegionSet.h:
- * rendering/RenderReplaced.h:
- (RenderReplaced):
- (WebCore::RenderReplaced::renderName):
- * rendering/RenderReplica.h:
- * rendering/RenderRuby.h:
- * rendering/RenderRubyBase.h:
- * rendering/RenderRubyRun.h:
- * rendering/RenderRubyText.h:
- * rendering/RenderScrollbarPart.h:
- * rendering/RenderSearchField.h:
- * rendering/RenderSlider.h:
- * rendering/RenderSnapshottedPlugIn.h:
- (RenderSnapshottedPlugIn):
- * rendering/RenderTable.h:
- (RenderTable):
- (WebCore::RenderTable::renderName):
- (WebCore::RenderTable::isTable):
- (WebCore::RenderTable::avoidsFloats):
- * rendering/RenderTableCaption.h:
- * rendering/RenderTableCell.h:
- * rendering/RenderTableCol.h:
- * rendering/RenderTableRow.h:
- * rendering/RenderTableSection.h:
- * rendering/RenderText.h:
- (RenderText):
- (WebCore::RenderText::marginLeft):
- (WebCore::RenderText::marginRight):
- (WebCore::RenderText::styleWillChange):
- (WebCore::RenderText::length):
- (WebCore::RenderText::paint):
- (WebCore::RenderText::layout):
- * rendering/RenderTextControl.h:
- (RenderTextControl):
- (WebCore::RenderTextControl::renderName):
- (WebCore::RenderTextControl::isTextControl):
- (WebCore::RenderTextControl::avoidsFloats):
- * rendering/RenderTextControlMultiLine.h:
- * rendering/RenderTextControlSingleLine.h:
- (RenderTextControlSingleLine):
- (WebCore::RenderTextControlSingleLine::isTextField):
- * rendering/RenderTextFragment.h:
- * rendering/RenderTextTrackCue.h:
- * rendering/RenderVideo.h:
- * rendering/RenderView.h:
- * rendering/RenderWidget.h:
- (RenderWidget):
- (WebCore::RenderWidget::isWidget):
- * rendering/RenderWordBreak.h:
- * rendering/RootInlineBox.h:
- (RootInlineBox):
- * rendering/mathml/RenderMathMLBlock.h:
- * rendering/svg/RenderSVGBlock.h:
- (RenderSVGBlock):
- * rendering/svg/RenderSVGContainer.h:
- (WebCore::RenderSVGContainer::setNeedsBoundariesUpdate):
- (WebCore::RenderSVGContainer::virtualChildren):
- (WebCore::RenderSVGContainer::isSVGContainer):
- (WebCore::RenderSVGContainer::renderName):
- (RenderSVGContainer):
- (WebCore::RenderSVGContainer::objectBoundingBox):
- (WebCore::RenderSVGContainer::strokeBoundingBox):
- (WebCore::RenderSVGContainer::repaintRectInLocalCoordinates):
- * rendering/svg/RenderSVGEllipse.h:
- * rendering/svg/RenderSVGForeignObject.h:
- * rendering/svg/RenderSVGGradientStop.h:
- * rendering/svg/RenderSVGHiddenContainer.h:
- (WebCore::RenderSVGHiddenContainer::renderName):
- (RenderSVGHiddenContainer):
- (WebCore::RenderSVGHiddenContainer::isSVGHiddenContainer):
- * rendering/svg/RenderSVGImage.h:
- * rendering/svg/RenderSVGInline.h:
- (WebCore::RenderSVGInline::renderName):
- (WebCore::RenderSVGInline::requiresLayer):
- (WebCore::RenderSVGInline::isSVGInline):
- (RenderSVGInline):
- * rendering/svg/RenderSVGInlineText.h:
- * rendering/svg/RenderSVGModelObject.h:
- (WebCore::RenderSVGModelObject::requiresLayer):
- (RenderSVGModelObject):
- * rendering/svg/RenderSVGPath.h:
- * rendering/svg/RenderSVGRect.h:
- * rendering/svg/RenderSVGResourceClipper.h:
- * rendering/svg/RenderSVGResourceContainer.h:
- (RenderSVGResourceContainer):
- (WebCore::RenderSVGResourceContainer::isSVGResourceContainer):
- (WebCore::RenderSVGResourceContainer::toRenderSVGResourceContainer):
- * rendering/svg/RenderSVGResourceFilter.h:
- * rendering/svg/RenderSVGResourceFilterPrimitive.h:
- * rendering/svg/RenderSVGResourceGradient.h:
- (RenderSVGResourceGradient):
- (WebCore::RenderSVGResourceGradient::resourceBoundingBox):
- * rendering/svg/RenderSVGResourceLinearGradient.h:
- * rendering/svg/RenderSVGResourceMarker.h:
- * rendering/svg/RenderSVGResourceMasker.h:
- * rendering/svg/RenderSVGResourcePattern.h:
- * rendering/svg/RenderSVGResourceRadialGradient.h:
- * rendering/svg/RenderSVGRoot.h:
- * rendering/svg/RenderSVGShape.h:
- (WebCore::RenderSVGShape::setNeedsBoundariesUpdate):
- (WebCore::RenderSVGShape::setNeedsTransformUpdate):
- (WebCore::RenderSVGShape::repaintRectInLocalCoordinates):
- (WebCore::RenderSVGShape::localToParentTransform):
- (WebCore::RenderSVGShape::localTransform):
- (WebCore::RenderSVGShape::isSVGShape):
- (RenderSVGShape):
- (WebCore::RenderSVGShape::objectBoundingBox):
- (WebCore::RenderSVGShape::strokeBoundingBox):
- * rendering/svg/RenderSVGTSpan.h:
- * rendering/svg/RenderSVGText.h:
- * rendering/svg/RenderSVGTextPath.h:
- * rendering/svg/RenderSVGTransformableContainer.h:
- * rendering/svg/RenderSVGViewportContainer.h:
</del><ins>+ * editing/TextIterator.cpp:
+ (WebCore::TextIterator::handleTextNode):
+ (WebCore::TextIterator::handleTextBox):
</ins><span class="cx">
</span><del>-2013-05-17 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-03-22 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- Get rid of Custom code for Audio global constructor
- https://bugs.webkit.org/show_bug.cgi?id=116343
</del><ins>+ Switch HTMLConverter to use CSSPropertyIDs to refer to CSS properties
+ https://bugs.webkit.org/show_bug.cgi?id=130639
</ins><span class="cx">
</span><ins>+ Reviewed by Darin Adler.
+
+ This is a ~15% speedup on PerformanceTests/Interactive/CopyAll.html.
+
+ - Removes gratuitous lookup of CSS properties that are known at compile time.
+ - Removes attempted use of non-supported CSS properties (font-effect and horizontal-align)
+ that will alway yield the same results.
+ - Fix some obvious typos where the author thought they were testing for fontKerning or fontLigatures
+ but instead used the non-existent font-effect.
+
+ * platform/mac/HTMLConverter.mm:
+ (HTMLConverterCaches::computedStylePropertyForElement):
+ (HTMLConverterCaches::inlineStylePropertyForElement):
+ (HTMLConverterCaches::propertyValueForNode):
+ (-[WebHTMLConverter _stringForNode:property:]):
+ (HTMLConverterCaches::floatPropertyValueForNode):
+ (-[WebHTMLConverter _getFloat:forNode:property:]):
+ (HTMLConverterCaches::isBlockElement):
+ (HTMLConverterCaches::elementHasOwnBackgroundColor):
+ (HTMLConverterCaches::colorPropertyValueForNode):
+ (-[WebHTMLConverter _colorForNode:property:]):
+ (-[WebHTMLConverter _computedAttributesForElement:]):
+ (-[WebHTMLConverter _addAttachmentForElement:URL:needsParagraph:usePlaceholder:]):
+ (-[WebHTMLConverter _fillInBlock:forElement:backgroundColor:extraMargin:extraPadding:isTable:]):
+ (-[WebHTMLConverter _addTableForElement:]):
+ (-[WebHTMLConverter _addTableCellForElement:]):
+ (-[WebHTMLConverter _processElement:tag:display:depth:]):
+ (-[WebHTMLConverter _exitElement:tag:display:depth:startIndex:]):
+ (-[WebHTMLConverter _processText:]):
+ (-[WebHTMLConverter _traverseNode:depth:embedded:]):
+
+2014-03-22 Andreas Kling <akling@apple.com>
+
+ Fix debug build.
+
+ * bindings/js/JSDOMBinding.h:
+ (WebCore::createWrapper):
+
+2014-03-22 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Add *final* keyword to NavigatorContentUtils class
+ https://bugs.webkit.org/show_bug.cgi?id=130636
+
+ Reviewed by Darin Adler.
+
+ NavigatorContentUtils won't be used as a base class. So, added final keyword.
+
+ No new tests, no behavior changes.
+
+ * Modules/navigatorcontentutils/NavigatorContentUtils.h:
+
+2014-03-22 Andreas Kling <akling@apple.com>
+
+ CREATE_DOM_WRAPPER doesn't need the ExecState.
+ <https://webkit.org/b/130648>
+
+ Remove the ExecState parameter from CREATE_DOM_WRAPPER and get all
+ that we need from the global object instead.
+
+ toJS() and toJSNewlyCreated() still take an ExecState, that needs
+ to be dealt with separately since some of them have scary looking
+ currentWorld() checks.
+
+ Reviewed by Darin Adler.
+
+ * bindings/js/JSAudioContextCustom.cpp:
+ (WebCore::JSAudioContextConstructor::constructJSAudioContext):
+ * bindings/js/JSBlobCustom.cpp:
+ (WebCore::toJS):
+ (WebCore::JSBlobConstructor::constructJSBlob):
+ * bindings/js/JSCDATASectionCustom.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/js/JSCSSRuleCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSCSSValueCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSCanvasRenderingContextCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSDOMBinding.h:
+ (WebCore::createWrapper):
+ (WebCore::wrap):
+ (WebCore::createNewWrapper):
+ * bindings/js/JSDocumentCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSElementCustom.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/js/JSEventCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSHTMLCollectionCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSHTMLTemplateElementCustom.cpp:
+ (WebCore::JSHTMLTemplateElement::content):
+ * bindings/js/JSIDBAnyCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSImageDataCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSMediaStreamCapabilitiesCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSNodeCustom.cpp:
+ (WebCore::createWrapperInline):
+ * bindings/js/JSPerformanceEntryCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSRTCIceCandidateCustom.cpp:
+ (WebCore::JSRTCIceCandidateConstructor::constructJSRTCIceCandidate):
+ * bindings/js/JSRTCPeerConnectionCustom.cpp:
+ (WebCore::JSRTCPeerConnectionConstructor::constructJSRTCPeerConnection):
+ * bindings/js/JSRTCSessionDescriptionCustom.cpp:
+ (WebCore::JSRTCSessionDescriptionConstructor::constructJSRTCSessionDescription):
+ * bindings/js/JSSVGPathSegCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSStyleSheetCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSTextCustom.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/js/JSTextTrackCueCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSTouchCustom.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/js/JSTouchListCustom.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/js/JSTrackCustom.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ * dom/make_names.pl:
+ (printWrapperFunctions):
+ (printWrapperFactoryCppFile):
+ (printWrapperFactoryHeaderFile):
+
+2014-03-22 Michael Saboff <msaboff@apple.com>
+
+ toThis() on a JSWorkerGlobalScope should return a JSProxy and not undefined
+ https://bugs.webkit.org/show_bug.cgi?id=130554
+
</ins><span class="cx"> Reviewed by Geoffrey Garen.
</span><span class="cx">
</span><del>- Remove custom code for Audio global constructor. It is no longer needed
- now that the the bindings generator no longer require custom code for
- named constructors and now that [EnabledAtRuntime] extended attribute is
- supported for global constructors.
</del><ins>+ Fixed toThis() on WorkerGlobalScope to return a JSProxy instead of the JSGlobalObject.
+ Added cast from JSProxy->target() if the jsCast<>() to the native object fails
+ in toJSDedicatedWorkerGlobalScope() and toJSSharedWorkerGlobalScope().
+ The original cast is needed for access to the local side of the worker, while the JSProxy
+ cast is used on the remote side of a worker.
</ins><span class="cx">
</span><del>- HTMLAudioElement global constructors are now automatically generated.
</del><ins>+ Test: fast/workers/worker-strict.html
</ins><span class="cx">
</span><del>- No new tests, no behavior change for layout tests.
</del><ins>+ * bindings/js/JSWorkerGlobalScopeBase.cpp:
+ (WebCore::toJSDedicatedWorkerGlobalScope):
+ (WebCore::toJSSharedWorkerGlobalScope):
</ins><span class="cx">
</span><del>- * bindings/js/JSDOMWindowCustom.cpp:
- * html/HTMLAudioElement.idl:
- * page/DOMWindow.idl:
</del><ins>+ * bindings/js/WorkerScriptController.cpp:
+ (WebCore::WorkerScriptController::evaluate): Changed to pass in the JSProxy and not
+ the WorkerGlobalScope object as the this object to script evaluation.
</ins><span class="cx">
</span><del>-2013-05-17 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ * workers/DedicatedWorkerGlobalScope.idl:
+ * workers/SharedWorkerGlobalScope.idl:
+ * workers/WorkerGlobalScope.idl:
+ Added the new CustomProxyToJSObject attribute so we'll call to<{nativeClass}>() for
+ getting the object to use for global evaluation.
</ins><span class="cx">
</span><del>- <rdar://problem/13819878> Disable SharedWorker when in multiple web process model
- https://bugs.webkit.org/show_bug.cgi?id=116359
</del><ins>+2014-03-22 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Some #include hygiene in Node/Element etc
+ https://bugs.webkit.org/show_bug.cgi?id=130642
</ins><span class="cx">
</span><del>- This feature was already RuntimeEnabled. Call through layers to get the answer from
- a platform strategy.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- * workers/DefaultSharedWorkerRepository.cpp:
- (WebCore::DefaultSharedWorkerRepository::isAvailable):
- * workers/DefaultSharedWorkerRepository.h:
- * workers/SharedWorkerRepository.cpp:
- (WebCore::SharedWorkerRepository::isAvailable):
- * workers/SharedWorkerStrategy.h:
- (WebCore::SharedWorkerStrategy::isAvailable):
</del><ins>+ Clean up various #includes.
</ins><span class="cx">
</span><del>-2013-05-17 Anders Carlsson <andersca@apple.com>
</del><ins>+ * accessibility/AccessibilityObject.h:
+ * bindings/js/WebCoreTypedArrayController.h:
+ * dom/Element.h:
+ * dom/EventListenerMap.h:
+ * dom/EventTarget.h:
+ * dom/Node.h:
+ * rendering/RenderObject.h:
+ * rendering/svg/RenderSVGRoot.h:
</ins><span class="cx">
</span><del>- Move Storage member functions out of line
- https://bugs.webkit.org/show_bug.cgi?id=116364
</del><ins>+2014-03-22 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ FloatRect.h on iOS should not suck in a system header
+ https://bugs.webkit.org/show_bug.cgi?id=130641
</ins><span class="cx">
</span><del>- This is preparation for sharing more code between the WebKit1 and WebKit2 storage area subclasses.
- Also remove unnecessary null checks and make m_storageArea const.
</del><ins>+ Reviewed by Geoff Garen.
</ins><span class="cx">
</span><del>- * storage/Storage.cpp:
- (WebCore::Storage::length):
- (WebCore::Storage::key):
- (WebCore::Storage::getItem):
- (WebCore::Storage::setItem):
- (WebCore::Storage::removeItem):
- (WebCore::Storage::clear):
- (WebCore::Storage::contains):
- * storage/Storage.h:
- (WebCore::Storage::area):
</del><ins>+ Don't pull in <CoreGraphics/CGGeometry.h> from FloatRect.h.
</ins><span class="cx">
</span><del>-2013-05-17 Beth Dakin <bdakin@apple.com>
</del><ins>+ * platform/graphics/FloatRect.h:
</ins><span class="cx">
</span><del>- Headers and footers will sometimes disappear and re-appear during page loads
- https://bugs.webkit.org/show_bug.cgi?id=116336
- -and corresponding-
- <rdar://problem/13886753>
</del><ins>+2014-03-22 Dan Bernstein <mitz@apple.com>
</ins><span class="cx">
</span><ins>+ Fixed the iOS build.
+
+ Reviewed by Darin Adler.
+
+ * page/ios/FrameIOS.mm:
+ (WebCore::Frame::interpretationsForCurrentRoot):
+
+2014-03-22 Darin Adler <darin@apple.com>
+
+ Remove String::deprecatedCharacters
+ https://bugs.webkit.org/show_bug.cgi?id=126854
+
+ Reviewed by Sam Weinig.
+
+ * bindings/scripts/StaticString.pm:
+ (GenerateStrings): Remove the code to generate the null m_copyData16 pointer.
+
+ * editing/TextIterator.cpp:
+ (WebCore::SearchBuffer::prependContext): Changed to use the new append function in
+ StringView.h and removed the one defined locally here.
+
+ * editing/VisibleUnits.cpp:
+ (WebCore::wordBreakIteratorForMinOffsetBoundary): Use the new append function
+ in StringView.h instead of using deprecatedCharacters.
+ (WebCore::wordBreakIteratorForMaxOffsetBoundary): Ditto.
+ Removed an append function defined locally here and use the one in StringView.h.
+
+ * editing/htmlediting.cpp:
+ (WebCore::stringWithRebalancedWhitespace): Use StringView::getCharactersWithUpconvert.
+
+ * html/parser/HTMLToken.h:
+ (WebCore::HTMLToken::appendToAttributeValue): Changed to take a StringView instead
+ of a const String&.
+
+ * loader/appcache/ManifestParser.cpp:
+ (WebCore::parseManifest): Use StringView and StringView::upconvertedCharacters.
+
+ * page/EventSource.cpp:
+ (WebCore::EventSource::didReceiveData): Use the new append overload from StringView.h.
+ Also added a comment about incorrect use of the decode function.
+
+ * page/ios/FrameIOS.mm:
+ (WebCore::Frame::interpretationsForCurrentRoot): Use the new StringView append function.
+ Also use simpler new-style for loops.
+
+ * platform/LinkHash.cpp:
+ (WebCore::visitedURLInline): Use the new append function and StringView::substring.
+ (WebCore::visitedLinkHash): Use upconvertedCharacters for the non-8-bit case.
+
+ * platform/URL.cpp:
+ (WebCore::findFirstOf): Chagned to take a StringView.
+ (WebCore::containsOnlyASCII): Added. Works on StringView. Could move to a WTF header in
+ the future if it's needed elsewhere.
+ (WebCore::protocolIs): Added. Works on StringView. Could put in URL.h if needed elsewhere,
+ or consider replacing the one that takes const String& with just this one.
+ (WebCore::appendEncodedHostname): Changed to take a StringView and use
+ StringView::upconvertedCharacters.
+ (WebCore::findHostnamesInMailToURL): Changed to take a StringView.
+ (WebCore::findHostnameInHierarchicalURL): Ditto.
+ (WebCore::encodeHostnames): Ditto.
+ (WebCore::encodeRelativeString): Ditto.
+
+ * platform/graphics/StringTruncator.cpp:
+ (WebCore::StringTruncator::width): Use StringView::upconvertedCharacters.
+
+ * platform/graphics/harfbuzz/HarfBuzzShaper.cpp:
+ (WebCore::HarfBuzzShaper::setFontFeatures): Use indexing directly on the string instead
+ of on a UChar*.
+ (WebCore::HarfBuzzShaper::shapeHarfBuzzRuns): Use StringView::upconvertedCharacters.
+
+ * platform/text/TextCodecICU.cpp:
+ (WebCore::TextCodecICU::encode): Use a Vector<UChar> rather than a String to copy and
+ replace the backslashes with yen signs. Also optimize case where there are no backslashes.
+
+ * rendering/RenderListMarker.cpp:
+ (WebCore::RenderListMarker::paint): Use TextRun::setText(StringView).
+
+ * rendering/RenderText.cpp:
+ (WebCore::maxWordFragmentWidth): Pass a String to RenderBlock::constructTextRun instead of
+ calling StringBuilder::deprecatedCharacters.
+
+ * rendering/RenderText.h: Removed deprecatedCharacters function.
+
+ * rendering/line/BreakingContextInlineHeaders.h: Added now-needed header include.
+
+ * rendering/svg/SVGInlineTextBox.cpp:
+ (WebCore::SVGInlineTextBox::constructTextRun): Use StringView version of TextRun constructor.
+
+ * rendering/svg/SVGTextMetrics.cpp:
+ (WebCore::SVGTextMetrics::SVGTextMetrics): Take references instead of pointers.
+ (WebCore::SVGTextMetrics::constructTextRun): Take references instead of pointers, and don't
+ take a character pointer any more. Instead, extract the text and use the StringView version of
+ the TextRun constructor.
+ (WebCore::SVGTextMetrics::measureCharacterRange): Take references instead of pointers and
+ update for above changes.
+ * rendering/svg/SVGTextMetrics.h: Updated for changes above. Also tweaked style a bit.
+
+ * rendering/svg/SVGTextMetricsBuilder.cpp:
+ (WebCore::SVGTextMetricsBuilder::advanceSimpleText): Updated for SVGTextMetrics changes.
+ (WebCore::SVGTextMetricsBuilder::advanceComplexText): Ditto.
+ (WebCore::SVGTextMetricsBuilder::initializeMeasurementWithTextRenderer): Ditto.
+ (WebCore::SVGTextMetricsBuilder::measureTextRenderer): Change code to store a character
+ for lastCharacter rather than storing a pointer to a character. Stop using TextRun::data16.
+
+ * rendering/svg/SVGTextQuery.cpp:
+ (WebCore::SVGTextQuery::subStringLengthCallback): Updated for SVGTextMetrics changes.
+ (WebCore::SVGTextQuery::startPositionOfCharacterCallback): Ditto.
+ (WebCore::SVGTextQuery::endPositionOfCharacterCallback): Ditto.
+ (WebCore::calculateGlyphBoundaries): Ditto.
+
+ * xml/XPathFunctions.cpp:
+ (WebCore::XPath::atomicSubstring): Added.
+ (WebCore::XPath::FunId::evaluate): Tweaked a bit to use a new style for loop.
+ Use the atomicSubstring function to avoid making a temporary String just to make an AtomicString.
+ That function also uses characters8/16 rather than depreccatedCharacters.
+
+ * xml/XPathNodeSet.h: Added begin and end so this collection can be iterated with new style for loop.
+
+ * xml/parser/XMLDocumentParserLibxml2.cpp:
+ (WebCore::XMLDocumentParser::doWrite): Use StringView::upconvertedCharacters.
+ (WebCore::parseAttributes): Ditto.
+
+2014-03-22 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r166118.
+ https://bugs.webkit.org/show_bug.cgi?id=130640
+
+ Crashing things (Requested by weinig on #webkit).
+
+ Reverted changeset:
+
+ "Switch HTMLConverter to use CSSPropertyIDs to refer to CSS
+ properties"
+ https://bugs.webkit.org/show_bug.cgi?id=130639
+ http://trac.webkit.org/changeset/166118
+
+2014-03-22 Sam Weinig <sam@webkit.org>
+
+ Switch HTMLConverter to use CSSPropertyIDs to refer to CSS properties
+ https://bugs.webkit.org/show_bug.cgi?id=130639
+
</ins><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- This patch changes the WebCore-level API that WebKit uses to create a banner.
- Specifically this patch removes FrameView::setWantsLayerForHeader(), which created
- and returned a layer. Instead, WK2 will call Page::addHeaderWithHeight(). When the
- layer has been created, it will call back into WK2 via ChromeClient. This will
- allow WebCore to re-create the header/footer layers as needed whenever the
- FrameView/RenderLayerCompositor have been destroyed and recreated.
</del><ins>+ This is a ~15% speedup on PerformanceTests/Interactive/CopyAll.html.
</ins><span class="cx">
</span><del>- Remove references to old FrameView functions. Add references to new Page
- functions.
- * WebCore.exp.in:
</del><ins>+ - Removes gratuitous lookup of CSS properties that are known at compile time.
+ - Removes attempted use of non-supported CSS properties (font-effect and horizontal-align)
+ that will alway yield the same results.
+ - Fix some obvious typos where the author thought they were testing for fontKerning or fontLigatures
+ but instead used the non-existent font-effect.
</ins><span class="cx">
</span><del>- New ChromeClient functions will pass the new layers up to WK2.
- * page/ChromeClient.h:
- (WebCore::ChromeClient::didAddHeaderLayer):
- (WebCore::ChromeClient::didAddFooterLayer):
- (ChromeClient):
</del><ins>+ * platform/mac/HTMLConverter.mm:
+ (HTMLConverterCaches::computedStylePropertyForElement):
+ (HTMLConverterCaches::inlineStylePropertyForElement):
+ (HTMLConverterCaches::propertyValueForNode):
+ (-[WebHTMLConverter _stringForNode:property:]):
+ (HTMLConverterCaches::floatPropertyValueForNode):
+ (-[WebHTMLConverter _getFloat:forNode:property:]):
+ (HTMLConverterCaches::isBlockElement):
+ (HTMLConverterCaches::elementHasOwnBackgroundColor):
+ (HTMLConverterCaches::colorPropertyValueForNode):
+ (-[WebHTMLConverter _colorForNode:property:]):
+ (-[WebHTMLConverter _computedAttributesForElement:]):
+ (-[WebHTMLConverter _addAttachmentForElement:URL:needsParagraph:usePlaceholder:]):
+ (-[WebHTMLConverter _fillInBlock:forElement:backgroundColor:extraMargin:extraPadding:isTable:]):
+ (-[WebHTMLConverter _addTableForElement:]):
+ (-[WebHTMLConverter _addTableCellForElement:]):
+ (-[WebHTMLConverter _processElement:tag:display:depth:]):
+ (-[WebHTMLConverter _exitElement:tag:display:depth:startIndex:]):
+ (-[WebHTMLConverter _processText:]):
+ (-[WebHTMLConverter _traverseNode:depth:embedded:]):
</ins><span class="cx">
</span><del>- Remove setWantsLayerForHeader/Footer.
</del><ins>+2014-03-21 Simon Fraser <simon.fraser@apple.com>
+
+ Don't flush compositing layers within FrameView::willPaintContents()
+ https://bugs.webkit.org/show_bug.cgi?id=130627
+ <rdar://problem/16368869>
+
+ Reviewed by Sam Weinig.
+
+ Remove the call to flushCompositingStateForThisFrame() here. We should
+ have always flushed before painting via other mechanisms in WebKit2 and WebKit2.
+ Flushing during painting is actually harmful, since we could be inside
+ a CA commit already, and creating or destroying layers via flushing is bad.
+
</ins><span class="cx"> * page/FrameView.cpp:
</span><del>- * page/FrameView.h:
- (FrameView):
</del><ins>+ (WebCore::FrameView::willPaintContents):
</ins><span class="cx">
</span><del>- Page now caches the header and footer height. When the FrameView/RLC have been
- destroyed, and the cached layer/height information on those classes has been lost,
- this data on Page will persist so that we can build the layers back up.
- * page/Page.cpp:
- (WebCore::Page::Page):
- (WebCore::Page::addHeaderWithHeight):
- (WebCore::Page::addFooterWithHeight):
- * page/Page.h:
- (WebCore::Page::headerHeight):
- (WebCore::Page::footerHeight):
</del><ins>+2014-03-22 Martin Hodovan <mhodovan@inf.u-szeged.hu>
</ins><span class="cx">
</span><del>- As soon as the root gets a backing, recreate the header and footer layers if
- needed.
</del><ins>+ ASSERTION FAILED: std::isfinite(num) in WebCore::CSSPrimitiveValue::CSSPrimitiveValue
+ https://bugs.webkit.org/show_bug.cgi?id=127361
+
+ Huge numbers represented by the 'INF' value can not be used
+ in CSS rules, so they make the assert fail. We have to make
+ sure that the parsed property value is finite, otherwise
+ the property will be dropped.
+
+ Test: fast/css/infinite-floating-value.html
+
+ * css/CSSValuePool.cpp:
+ (WebCore::CSSValuePool::createValue):
+
+2014-03-21 Zalan Bujtas <zalan@apple.com>
+
+ Remove redundant friending from class Image.
+ https://bugs.webkit.org/show_bug.cgi?id=130628
+
+ Reviewed by Simon Fraser.
+
+ Those friend classes are subclasses. No need to make them friend of their parent class.
+
+ No change in functionality.
+
+ * platform/graphics/Image.h:
+
+2014-03-21 Benjamin Poulain <bpoulain@apple.com>
+
+ [iOS][WK2] Reduce the tiling coverage to the current rect and 1 tile size ahead
+ https://bugs.webkit.org/show_bug.cgi?id=130555
+
+ Reviewed by Simon Fraser.
+
+ * WebCore.exp.in:
+ * platform/ScrollView.h:
+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::computeTileCoverageRect):
+ * platform/ios/ScrollViewIOS.mm:
+ (WebCore::ScrollView::setScrollVelocityInformation):
+ (WebCore::ScrollView::computeCoverageRect):
</ins><span class="cx"> * rendering/RenderLayerCompositor.cpp:
</span><del>- (WebCore::RenderLayerCompositor::updateBacking):
</del><ins>+ (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
</ins><span class="cx">
</span><del>- Call into ChromeClient.
- (WebCore::RenderLayerCompositor::updateLayerForHeader):
- (WebCore::RenderLayerCompositor::updateLayerForFooter):
</del><ins>+2014-03-21 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>-2013-05-18 Claudio Saavedra <csaavedra@igalia.com>
</del><ins>+ [iOS] clean up fullscreen player controller when exiting fullscreen
+ https://bugs.webkit.org/show_bug.cgi?id=130621
</ins><span class="cx">
</span><del>- [CSS] Minor cleanups in CSS variables handling
- https://bugs.webkit.org/show_bug.cgi?id=116318
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVVideoLayer setBounds:]): Do nothing if _avPlayerController is nil.
+ (-[WebAVVideoLayer setVideoLayerGravity:]): Ditto.
+ (WebVideoFullscreenInterfaceAVKit::exitFullscreen): Set m_playerViewController delegate
+ and player controller to nil.
</ins><span class="cx">
</span><del>- No new tests, only a cleanup.
</del><ins>+2014-03-21 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- * css/CSSParser.cpp:
- (WebCore::CSSParserString::substring): Optimize.
- (WebCore::CSSParser::createPrimitiveVariableNameValue):
- Remove intermediate variable.
</del><ins>+ [iOS] remote command callbacks must happen on the WebThread
+ https://bugs.webkit.org/show_bug.cgi?id=130618
</ins><span class="cx">
</span><del>-2013-05-17 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- [Mac] Add DOMWindowConstructors.idl to Xcode project file
- https://bugs.webkit.org/show_bug.cgi?id=116351
</del><ins>+ * platform/ios/RemoteCommandListenerIOS.h:
+ (WebCore::RemoteCommandListenerIOS::createWeakPtr):
+ * platform/ios/RemoteCommandListenerIOS.mm:
+ (WebCore::RemoteCommandListenerIOS::RemoteCommandListenerIOS): Dispatch commands to the
+ main thread before making listener callbacks.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-03-21 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * WebCore.xcodeproj/project.pbxproj: Added the file, so that Xcode includes it
- in searches.
</del><ins>+ Subpixel rendering: Make <img> positioning subpixel aware.
+ https://bugs.webkit.org/show_bug.cgi?id=130596
</ins><span class="cx">
</span><del>-2013-05-17 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Remove the declaration of Element::detachAttrNodeAtIndex erroneously added in r150072.
</del><ins>+ Change <img> positioning from integral to device pixel. It enables us
+ to paint hairline borders around <img> properly.
+ This patch changes the behavior of broken image representation from constant 1 CSS px border
+ to a dynamic 1 device px.
</ins><span class="cx">
</span><del>- * dom/Element.h:
- (Element):
</del><ins>+ Test: fast/images/hidpi-image-position-on-device-pixels.html
</ins><span class="cx">
</span><del>-2013-05-17 Anders Carlsson <andersca@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/GraphicsContext.cpp:
+ (WebCore::GraphicsContext::drawImage):
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/cairo/GraphicsContextCairo.cpp:
+ (WebCore::GraphicsContext::drawRect):
+ * platform/graphics/cg/GraphicsContextCG.cpp:
+ (WebCore::GraphicsContext::drawRect):
+ * platform/graphics/wince/GraphicsContextWinCE.cpp:
+ (WebCore::GraphicsContext::drawRect):
+ * rendering/RenderImage.cpp:
+ (WebCore::RenderImage::paintReplaced):
+ (WebCore::RenderImage::paintIntoRect):
+ * rendering/RenderImage.h:
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::drawPlatformResizerImage):
</ins><span class="cx">
</span><del>- WKKeyValueStorageManagerGetKeyValueStorageOrigins should get origins from the UI process
- https://bugs.webkit.org/show_bug.cgi?id=116346
- <rdar://problem/13852829>
</del><ins>+2014-03-21 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><ins>+ Merge VTTScanner Code from Blink
+ https://bugs.webkit.org/show_bug.cgi?id=130616
+
+ Reviewed by Eric Carlson.
+
+ Merged from Blink (patch by fs@opera.com):
+ https://chromium.googlesource.com/chromium/blink/+/f1ceb058d574a1174b524c57f67350510a942071
+ http://crbug.com/75273002
+ https://chromium.googlesource.com/chromium/blink/+/3e2c67969486e86347b328c72c67cacabfe6f4a1
+ http://crbug.com/134173002
+ https://chromium.googlesource.com/chromium/blink/+/5962b7bbb001838f3fc7f24817637528b86bfd9b
+ http://crbug.com/134153002
+ https://chromium.googlesource.com/chromium/blink/+/6c81f51438013edca920a19fc6a31026fc562af2
+ http://crbug.com/137033002
+ https://chromium.googlesource.com/chromium/blink/+/fa286dca17a291da3ae8be80111e2264de6d5cfd
+ http://crbug.com/140503004
+ https://chromium.googlesource.com/chromium/blink/+/8f33b63aabcce7dd21dd15288d45c4eb37c02001
+ http://crbug.com/139343006
+ https://chromium.googlesource.com/chromium/blink/+/1872b54b908fac525f1ad9d6f15174b11e27c8af
+ http://crbug.com/143983002
+ https://chromium.googlesource.com/chromium/blink/+/e6494b3359e2077bd8772d86ab1fb709acf4c398
+ http://crbug.com/144893002
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * html/track/ParsingUtilities.h: Added.
+ (skipExactly):
+ (skipUntil):
+ (skipWhile):
+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCue::markFutureAndPastNodes):
+ (WebCore::VTTCue::settingName):
+ (WebCore::scanPercentage):
+ (WebCore::VTTCue::setCueSettings):
+ * html/track/VTTCue.h:
+ * html/track/VTTRegion.cpp:
+ (WebCore::VTTRegion::setRegionSettings):
+ (WebCore::VTTRegion::scanSettingName):
+ (WebCore::parsedEntireRun):
+ (WebCore::VTTRegion::parseSettingValue):
+ * html/track/VTTRegion.h:
+ * html/track/VTTScanner.cpp: Added.
+ (WebCore::VTTScanner::VTTScanner):
+ (WebCore::VTTScanner::scan):
+ (WebCore::VTTScanner::scanRun):
+ (WebCore::VTTScanner::skipRun):
+ (WebCore::VTTScanner::extractString):
+ (WebCore::VTTScanner::restOfInputAsString):
+ (WebCore::VTTScanner::scanDigits):
+ (WebCore::VTTScanner::scanFloat):
+ * html/track/VTTScanner.h: Added.
+ (WebCore::VTTScanner::Run::Run):
+ (WebCore::VTTScanner::Run::start):
+ (WebCore::VTTScanner::Run::end):
+ (WebCore::VTTScanner::Run::isEmpty):
+ (WebCore::VTTScanner::isAt):
+ (WebCore::VTTScanner::isAtEnd):
+ (WebCore::VTTScanner::match):
+ (WebCore::VTTScanner::position):
+ (WebCore::VTTScanner::end):
+ (WebCore::VTTScanner::LCharPredicateAdapter):
+ (WebCore::VTTScanner::Run::length):
+ (WebCore::VTTScanner::scan):
+ (WebCore::VTTScanner::skipWhile):
+ (WebCore::VTTScanner::skipUntil):
+ (WebCore::VTTScanner::collectWhile):
+ (WebCore::VTTScanner::collectUntil):
+ (WebCore::VTTScanner::seekTo):
+ (WebCore::VTTScanner::currentChar):
+ (WebCore::VTTScanner::advance):
+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTParser::parseFloatPercentageValue):
+ (WebCore::WebVTTParser::parseFloatPercentageValuePair):
+ (WebCore::WebVTTParser::collectTimingsAndSettings):
+ (WebCore::WebVTTParser::collectTimeStamp):
+ (WebCore::WebVTTTreeBuilder::constructTreeFromToken):
+ * html/track/WebVTTParser.h:
+
+2014-03-21 Benjamin Poulain <bpoulain@apple.com>
+
+ Pseudo type cleanup part 2: split pseudo elements parsing
+ https://bugs.webkit.org/show_bug.cgi?id=130370
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Export the UTF8Encoding symbol.
</del><ins>+ With this patch, pseudo elements are handled separately. The only thing left in
+ the old path is compatibility pseudo elements and pseudo classes.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+ The list of special pseudo elements is now separated and is stored in SelectorPseudoElementTypeMap.in.
+ The script makeSelectorPseudoElementsMap.py takes that list to make the pseudo elements hash table.
</ins><span class="cx">
</span><del>-2013-05-17 Andreas Kling <akling@apple.com>
</del><ins>+ The other pseudo elements are the prefixed ones, they are filtered in CSSSelector::parsePseudoElementType().
</ins><span class="cx">
</span><del>- Apply FINAL to the RenderObject hierarchy.
- <http://webkit.org/b/115977>
</del><ins>+ All the non-compatibility selectors are removed from SelectorPseudoTypeMap.in. CSSParserSelector::setPseudoTypeValue()
+ is updated accordingly. The next step will be to clean that part.
</ins><span class="cx">
</span><del>- Mostly from Blink r148795 by <cevans@chromium.org>
- <http://src.chromium.org/viewvc/blink?view=revision&revision=148795>
</del><ins>+ * CMakeLists.txt:
+ * DerivedSources.make:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::CSSComputedStyleDeclaration::CSSComputedStyleDeclaration):
+ * css/CSSGrammar.y.in:
+ * css/CSSParserValues.cpp:
+ (WebCore::CSSParserSelector::parsePseudoElementSelector):
+ (WebCore::CSSParserSelector::parsePseudoCueFunctionSelector):
+ (WebCore::CSSParserSelector::setPseudoTypeValue):
+ * css/CSSParserValues.h:
+ * css/CSSSelector.cpp:
+ (WebCore::CSSSelector::parsePseudoElementType):
+ * css/CSSSelector.h:
+ * css/SelectorPseudoElementTypeMap.in: Added.
+ * css/SelectorPseudoTypeMap.h:
+ * css/SelectorPseudoTypeMap.in:
+ * css/html.css:
+ (q::before):
+ (q::after):
+ * css/makeSelectorPseudoElementsMap.py: Added.
+ (enumerablePseudoType):
+ (expand_ifdef_condition):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::getMatchedCSSRules):
</ins><span class="cx">
</span><del>- Re-landing without devirtualization tweaks.
</del><ins>+2014-03-20 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * rendering/: Beat things with the FINAL stick.
- * WebCore.exp.in: Export a now-needed symbol.
</del><ins>+ Less inclusion of JSCInlines.h.
+ <https://webkit.org/b/130545>
</ins><span class="cx">
</span><del>-2013-05-17 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Stop including JSCInlines.h from JSDOMGlobalObject.h!
</ins><span class="cx">
</span><del>- Build fix.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp: (WebCore::FrameLoader::willTransitionToCommitted):
- Frame:editor() now returns a reference.
</del><ins>+ * ForwardingHeaders/runtime/IdentifierInlines.h: Added.
+ * bindings/js/JSCSSStyleDeclarationCustom.cpp:
+ * bindings/js/JSCommandLineAPIHostCustom.cpp:
+ * bindings/js/JSDOMGlobalObject.h:
+ * bindings/js/JSDOMStringMapCustom.cpp:
+ * bindings/js/JSHTMLAllCollectionCustom.cpp:
+ * bindings/js/JSHTMLFormControlsCollectionCustom.cpp:
+ * bindings/js/JSLazyEventListener.cpp:
+ * bindings/js/JSSQLResultSetRowListCustom.cpp:
+ * bindings/js/JSStorageCustom.cpp:
+ * bindings/js/ScriptGlobalObject.cpp:
+ * dom/NodeIterator.cpp:
+ * dom/TreeWalker.cpp:
+ * testing/Internals.cpp:
+ * testing/js/WebCoreTestSupport.cpp:
</ins><span class="cx">
</span><del>-2013-05-17 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-03-21 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>- Get rid of [ConstructorParameters] extended attributes
- https://bugs.webkit.org/show_bug.cgi?id=116308
</del><ins>+ Fix a crash when assigning an object to document.location
+ https://bugs.webkit.org/show_bug.cgi?id=130213
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Get rid of WebKit-specific [ConstructorParameters] IDL extended attribute. Instead,
- [CustomConstructor] arguments are now explicitly specified, similarly to [Constructor]
- arguments and the constructor object's "length" property is now automatically
- computed for custom constructors as well.
</del><ins>+ Convert location to string before we make use the document.
+ This prevents us from attempting to navigate a frame that
+ has already been removed.
</ins><span class="cx">
</span><del>- This is less error-prone as the value is not hardcoded, more consistent with
- [Constructor] extended attribute and gives more information about the custom constructor
- in the IDL file. We also get rid of a WebKit-specific IDL attribute which is always
- nice.
</del><ins>+ Test: fast/dom/navigation-with-sideeffects-crash.html
</ins><span class="cx">
</span><del>- No new tests, already covered by fast/js/constructor-length.html.
</del><ins>+ * bindings/js/JSDocumentCustom.cpp:
+ (WebCore::JSDocument::location):
+ (WebCore::JSDocument::setLocation):
</ins><span class="cx">
</span><del>- * Modules/mediastream/MediaStream.idl:
- * Modules/webaudio/AudioContext.idl:
- * Modules/websockets/WebSocket.idl:
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateConstructorHelperMethods):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/IDLParser.pm:
- (applyTypedefs):
- (parseAttributeRest):
- (copyExtendedAttributes):
- (parseExtendedAttributeRest):
- (applyExtendedAttributeList):
- * bindings/scripts/test/JS/JSFloat64Array.cpp:
- (WebCore::JSFloat64ArrayConstructor::finishCreation):
- * bindings/scripts/test/TestTypedArray.idl:
- * dom/MutationObserver.idl:
- * fileapi/Blob.idl:
- * html/DOMFormData.idl:
- * html/canvas/ArrayBuffer.idl:
- * html/canvas/DataView.idl:
- * page/WebKitPoint.idl:
- * workers/SharedWorker.idl:
- * workers/Worker.idl:
</del><ins>+2014-03-21 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>-2013-05-17 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Web Replay: replay controller is improperly setting user input bridge state
+ https://bugs.webkit.org/show_bug.cgi?id=130606
</ins><span class="cx">
</span><del>- Text input is largely broken when there are subframes loading
- http://bugs.webkit.org/show_bug.cgi?id=59121
- <rdar://problem/9320468>
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><ins>+ The user input bridge was being set based on the old session state,
+ rather than the new session state.
+
+ * replay/ReplayController.cpp:
+ (WebCore::ReplayController::setSessionState):
+
+2014-03-21 James Craig <jcraig@apple.com>
+
+ Web Inspector: AXI: Expose Accessibility Tree children of the selected node
+ https://bugs.webkit.org/show_bug.cgi?id=130264
+
+ Reviewed by Timothy Hatcher.
+
+ Test: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
+
+ Expose the accessibility tree children (different from DOM children) of the
+ current node in the accessibility node inspector.
+
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+ * inspector/InspectorDOMAgent.h:
+ * inspector/protocol/DOM.json:
+
+2014-03-21 Alex Christensen <achristensen@webkit.org>
+
+ [Win] Compile fixes with video not enabled.
+ https://bugs.webkit.org/show_bug.cgi?id=130597
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- This addresses text input being abandoned when another frame in a page is navigated.
</del><ins>+ * DerivedSources.make:
+ Only generate UserAgentScripts.h if needed.
+ * platform/audio/MediaSession.cpp:
+ * platform/audio/MediaSessionManager.cpp:
+ Only compile if video is enabled.
</ins><span class="cx">
</span><del>- There are still many opportunities for improvement:
- - Track other cases where WebCore interferes may want to cancel input without
- direct user action (e.g. deleting the whole editable element on a timer).
- - Fix how dictionary panel and autocorrection are dismissed (they still have the
- same issue, and get dismissed with any frame navigation).
</del><ins>+2014-03-21 Adenilson Cavalcanti <cavalcantii@gmail.com>
</ins><span class="cx">
</span><del>- Test: platform/mac/editing/input/unconfirmed-text-navigation-with-page-cache.html
</del><ins>+ Optimize FEGaussian blur
+ https://bugs.webkit.org/show_bug.cgi?id=50881
</ins><span class="cx">
</span><del>- * loader/FrameLoader.h:
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::willTransitionToCommitted): Make sure that we
- do not keep an inline session in a frame that's no longer active, as WebKit2 no
- longer takes care of this case (and more of the logic should be in WebCore anyway).
- (WebCore::FrameLoader::commitProvisionalLoad): Added a hook that gets invoked right
- before transitioning to committed state starts. We may want to move more code here
- eventually, e.g. from Frame::setView.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>-2013-05-17 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Currently boxBlur() will calculate the filter for each channel in
+ a loop and also uses Uint8ClampedArray::set() to write the
+ resulting pixels into destination array.
</ins><span class="cx">
</span><del>- Get rid of [CustomGetter] for global named constructors
- https://bugs.webkit.org/show_bug.cgi?id=116116
</del><ins>+ Using Uint8ClampedArray::set() requires lots of unnecessary type
+ conversions, not to mention other function calls. This patch
+ updates the original written by Simon Fraser to apply cleanly to current
+ trunk.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ It also implements code to handle EdgeModes and finally avoids use
+ of ::set() in the newly added boxBlurAlphaOnly()
+ function. Assignment of calculated pixel values rely on pointers.
</ins><span class="cx">
</span><del>- Improve the JSC bindings generator so that global named constructors no longer
- require a [CustomGetter] IDL extended attribute. As a consequence, attributes
- on the global window object can now be automatically generated for interfaces
- that have a [NamedConstructor], namely HTMLOptionElement.
</del><ins>+ No new tests, no change on behavior.
</ins><span class="cx">
</span><del>- The HTMLAudioElement global constructors are still manually defined because it
- requires custom code at the moment to check if the media player is available.
</del><ins>+ * platform/graphics/filters/FEGaussianBlur.cpp:
+ (WebCore::boxBlurAlphaOnly): Specialized version for alpha only cases.
+ (WebCore::boxBlur):
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+2014-03-21 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * bindings/js/JSDOMWindowCustom.cpp:
- * bindings/scripts/CodeGeneratorJS.pm:
- * bindings/scripts/preprocess-idls.pl:
- * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
- * bindings/scripts/test/JS/JSTestNamedConstructor.h:
- * html/HTMLOptionElement.idl:
- * page/DOMWindow.idl:
</del><ins>+ unobscuredContentRect() should have the same signature on iOS and other platforms,
+ and should not recurse on iOS.
+ https://bugs.webkit.org/show_bug.cgi?id=130604
+ <rdar://problem/16392587>
</ins><span class="cx">
</span><del>-2013-05-17 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ Reviewed by Tim Horton and Beth Dakin.
</ins><span class="cx">
</span><del>- Web Inspector: SyntaxError evaluating "1+1; //@ sourceURL=test" in console
- https://bugs.webkit.org/show_bug.cgi?id=116292
</del><ins>+ Having different signatures on different platforms is a recipe for
+ build breakage. Give the iOS unobscuredContentRect() an unused
+ VisibleContentRectIncludesScrollbars parameter.
+
+ Also avoid recursion via unobscuredContentRect() calling visibleContentRectInternal().
</ins><span class="cx">
</span><del>- Add a newline after the expression so a single line comment doesn't
- erroneously comment out the closing brace of the with block.
</del><ins>+ * WebCore.exp.in:
+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::unobscuredContentRect):
+ (WebCore::ScrollView::unobscuredContentRectInternal):
+ (WebCore::ScrollView::visibleContentRectInternal):
+ * platform/ScrollView.h:
+ (WebCore::ScrollView::unobscuredContentRectIncludingScrollbars):
+ * platform/ios/ScrollViewIOS.mm:
+ (WebCore::ScrollView::unobscuredContentRect):
</ins><span class="cx">
</span><del>- Reviewed by Timothy Hatcher.
</del><ins>+2014-03-21 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Test: inspector/console/console-eval-comment.html
</del><ins>+ Handle recovery on "timestamp-looking" lines in the WebVTT parser
+ https://bugs.webkit.org/show_bug.cgi?id=130610
</ins><span class="cx">
</span><del>- * inspector/InjectedScriptSource.js:
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-05-17 David Hyatt <hyatt@apple.com>
</del><ins>+ Merged from Blink (patch by fs@opera.com):
+ https://chromium.googlesource.com/chromium/blink/+/b669a380efbffe25f3b154b026b57b9822ce08e2
+ http://crbug.com/75273002
</ins><span class="cx">
</span><del>- fast/flexbox/auto-height-with-flex.html failing only on release builds.
- https://bugs.webkit.org/show_bug.cgi?id=116240
</del><ins>+ Tests: media/track/track-webvtt-tc031-cue-recovery.html
+ media/track/track-webvtt-tc032-degenerate-cues.html
</ins><span class="cx">
</span><ins>+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTParser::parse):
+ (WebCore::WebVTTParser::collectCueText):
+ (WebCore::WebVTTParser::recoverCue):
+ (WebCore::WebVTTParser::ignoreBadCue):
+ * html/track/WebVTTParser.h:
+
+2014-03-21 Andreas Kling <akling@apple.com>
+
+ Remove unused RenderView::repaintRectangleInViewAndCompositedLayers().
+ <https://webkit.org/b/130605>
+
+ Reviewed by Antti Koivisto.
+
+ * rendering/RenderView.cpp:
+ * rendering/RenderView.h:
+
+2014-03-21 David Hyatt <hyatt@apple.com>
+
+ Crash in RenderBlock::addChildIgnoringAnonymousColumnBlocks.
+ https://bugs.webkit.org/show_bug.cgi?id=129948
+ <rdar://problem/16074072>
+
+ Reviewed by Simon Fraser.
+
+ When the marker was placed for multi-column list items, it was being inserted
+ into the list item itself. Even though the add code in RenderBlock did the right
+ thing and put the marker inside the multi-column flow thread, the list item code
+ passed in a beforeChild that was computed using the incorrect parent. This resulted
+ in the flow thread being used both as the parent of the marker and the sibling of
+ the marker.
+
+ The fix is to add some code to RenderListItem to make sure it uses the multi-column
+ flow thread if it exists both as the parent of the marker and as the basis for the
+ computation of the sibling that the marker should be placed in front of.
+
+ Added fast/multicol/multicol-li-crash.html
+
+ * rendering/RenderListItem.cpp:
+ (WebCore::RenderListItem::insertOrMoveMarkerRendererIfNeeded):
+
+2014-03-20 Andreas Kling <akling@apple.com>
+
+ Stop pulling in JSCInlines.h all over the place.
+ <https://webkit.org/b/130105>
+
+ JSDOMBinding.h is included by everyone and their uncle, so try to
+ cut down on the amount of JSC *Inlines.h it includes.
+
+ Reviewed by Geoff Garen.
+
+ * ForwardingHeaders/heap/SlotVisitorInlines.h: Added.
+ * ForwardingHeaders/runtime/JSCJSValueInlines.h: Added.
+ * ForwardingHeaders/runtime/JSCellInlines.h: Added.
+ * ForwardingHeaders/runtime/StructureInlines.h: Added.
+ * bindings/js/JSDOMBinding.h:
+
+2014-03-21 David Kilzer <ddkilzer@apple.com>
+
+ WindowFeatures.{x|y|width|height} are not initialized
+ <http://webkit.org/b/130547>
+ <rdar://problem/16383151>
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Fix the mainAxisContentExtent method so no overflow occurs, since it
- doesn't work right on release builds.
</del><ins>+ Based on a Blink patch in CRBug 342591 by zhaoqin.
</ins><span class="cx">
</span><del>- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::mainAxisContentExtent):
</del><ins>+ * page/WindowFeatures.cpp:
+ (WebCore::WindowFeatures::WindowFeatures):
+ - Initialize x, y, width, height in String constructor.
+ - Move 'resizeable' variable to short-hand initialization since
+ it is true in both cases.
+ - Use String::isEmpty() instead of checking its length.
+ * page/WindowFeatures.h:
+ (WebCore::WindowFeatures::WindowFeatures): Initialize x, y,
+ width, height in no-argument constructor.
</ins><span class="cx">
</span><del>-2013-05-17 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-03-21 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>- Add [EnabledAtRuntime] extended attribute support for global constructors
- https://bugs.webkit.org/show_bug.cgi?id=116147
</del><ins>+ Replace DEPRECATED_DEFINE_STATIC_LOCAL by static NeverDestroyed<T> in bridge/
+ https://bugs.webkit.org/show_bug.cgi?id=130601
</ins><span class="cx">
</span><ins>+ Reviewed by Darin Adler.
+
+ * bridge/IdentifierRep.cpp:
+ (WebCore::identifierSet):
+ (WebCore::intIdentifierMap):
+ (WebCore::stringIdentifierMap):
+ * bridge/NP_jsobject.cpp:
+ (objectMap):
+ * bridge/runtime_root.cpp:
+ (JSC::Bindings::rootObjectSet): Return a reference instead of
+ a pointer.
+ (JSC::Bindings::findProtectingRootObject):
+ (JSC::Bindings::findRootObject):
+ (JSC::Bindings::RootObject::RootObject):
+ (JSC::Bindings::RootObject::invalidate):
+
+2014-03-21 Michael Saboff <msaboff@apple.com>
+
+ Change CodeGeneratorJS.pm special cases for "DOMWindow" to be general purpose
+ https://bugs.webkit.org/show_bug.cgi?id=130553
+
</ins><span class="cx"> Reviewed by Geoffrey Garen.
</span><span class="cx">
</span><del>- Add [EnabledAtRuntime] extended attribute support for global constructors.
- This patch adds [EnabledAtRuntime] extended attribute to SharedWorker and
- WebSocket IDL interfaces so that their global constructors on the global
- Window object can now be automatically generated.
</del><ins>+ Eliminated 'if ($interfaceName eq "DOMWindow") {' sections in CodeGeneratorJS where
+ it was used to do DOMWindow specific casting to a JSObject, either a JSDOMWindow* or
+ a JSDOMWindowShell*. Instead the code generator will use the existing
+ JSDOMWindow* toJSDOMWindow(JSValue value) function based on a newly added attribute
+ "CustomProxyToJSObject". That attribute will emit a call to the function
+ ${className}* to${className}(JSValue).
</ins><span class="cx">
</span><del>- The behavior on JavaScript side is unchanged. We simply leverage
- RuntimeEnabledFeatures class and the new [EnabledAtRuntime] IDL extended
- attribute to generate the code for global constructors getters instead
- of using custom code.
</del><ins>+ This is being done to clean up the code generator and for a subsequent patch that
+ will use a similar custom to{className} function for workers,
+ JSDedicatedWorkerGlobalScope* toJSDedicatedWorkerGlobalScope(JSValue).
</ins><span class="cx">
</span><del>- No new tests, no behavior change for layout tests.
</del><ins>+ Changes covered by existing tests.
</ins><span class="cx">
</span><del>- * GNUmakefile.list.am:
- * Modules/websockets/WebSocket.cpp: Enable WebSockets at runtime by default.
- * Modules/websockets/WebSocket.idl:
- * Target.pri:
- * UseJSC.cmake:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * bindings/js/JSBindingsAllInOne.cpp:
- * bindings/js/JSDOMWindowCustom.cpp:
- (WebCore):
- * bindings/js/JSDOMWindowWebSocketCustom.cpp: Removed.
</del><span class="cx"> * bindings/scripts/CodeGeneratorJS.pm:
</span><del>- (ToMethodName):
- (GetRuntimeEnableFunctionName):
</del><span class="cx"> (GenerateImplementation):
</span><span class="cx"> * bindings/scripts/IDLAttributes.txt:
</span><span class="cx"> * page/DOMWindow.idl:
</span><del>- * workers/SharedWorker.idl:
</del><span class="cx">
</span><del>-2013-05-17 Darin Adler <darin@apple.com>
</del><ins>+2014-03-21 Krzysztof Czech <k.czech@samsung.com>
</ins><span class="cx">
</span><del>- [EFL] Move EFL port off legacy clipboard
- https://bugs.webkit.org/show_bug.cgi?id=116181
</del><ins>+ AX: Replace DEPRECATED_DEFINE_STATIC_LOCAL by static NeverDestroyed
+ https://bugs.webkit.org/show_bug.cgi?id=130594
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Switched EFL away from "legacy" mode for Clipboard.
</del><ins>+ Use static NeverDestroyed<T> in new code.
</ins><span class="cx">
</span><del>- * page/efl/EventHandlerEfl.cpp:
- (WebCore::EventHandler::createDraggingClipboard): Changed to call Clipboard member function.
</del><ins>+ * accessibility/AccessibilityMediaControls.cpp:
+ (WebCore::AccessibilityMediaControl::controlTypeName):
+ (WebCore::AccessibilityMediaControl::title):
+ (WebCore::AccessibilityMediaControlsContainer::elementTypeName):
+ (WebCore::AccessibilityMediaTimeline::helpText):
+ (WebCore::AccessibilityMediaTimeDisplay::accessibilityDescription):
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::actionVerb):
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::inheritsPresentationalRole):
+ (WebCore::AccessibilityRenderObject::ariaLiveRegionStatus):
+ (WebCore::AccessibilityRenderObject::ariaLiveRegionRelevant):
+ (WebCore::AccessibilityRenderObject::actionVerb):
+ * accessibility/atk/AXObjectCacheAtk.cpp:
+ (WebCore::notifyChildrenSelectionChange):
</ins><span class="cx">
</span><del>- * platform/efl/ClipboardEfl.cpp: Deleted most of the functions.
- (WebCore::Editor::newGeneralClipboard): Changed to call Clipboard member function.
- (WebCore::Clipboard::createDragImage): Moved from ClipboardEfl to Clipboard.
- (WebCore::Clipboard::declareAndWriteDragImage): Moved from ClipboardEfl to Clipboard.
- (WebCore::Clipboard::items): Ditto.
</del><ins>+2014-03-20 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- * platform/efl/PasteboardEfl.cpp: A lot of copyright notices for a file that
- has no code in it other than notImplemented lines! I didn't add a new one.
- (WebCore::Pasteboard::createForCopyAndPaste): Added.
- (WebCore::Pasteboard::createPrivate): Added.
- (WebCore::Pasteboard::createForDragAndDrop): Added.
- (WebCore::Pasteboard::hasData): Added.
- (WebCore::Pasteboard::readString): Added.
- (WebCore::Pasteboard::writeString): Added.
- (WebCore::Pasteboard::types): Added.
- (WebCore::Pasteboard::readFilenames): Added.
- (WebCore::Pasteboard::setDragImage): Added.
- (WebCore::Pasteboard::writePasteboard): Added.
</del><ins>+ Merge WebVTT Tokenizer Updates
+ https://bugs.webkit.org/show_bug.cgi?id=130565
</ins><span class="cx">
</span><del>-2013-05-17 Frédéric Wang <fred.wang@free.fr>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Bad spacing inside MathML formulas when text-indent is specified
- https://bugs.webkit.org/show_bug.cgi?id=106600
</del><ins>+ Merged from Blink (patch by fs@opera.com):
+ https://chromium.googlesource.com/chromium/blink/+/923db263aa65d6efd71c5b55708ad7eea6b23f53
+ http://crbug.com/73813002
+ https://chromium.googlesource.com/chromium/blink/+/48375b1d56b2d8850ae93a6c6fb01c69fae82c75
+ http://crbug.com/77553004
+ https://chromium.googlesource.com/chromium/blink/+/98d4fc4f5cb716a31d11907120b10538d4ba0f09
+ http://crbug.com/78833002
+ https://chromium.googlesource.com/chromium/blink/+/0e53d4f9f140e979b7f32de495551684bc7f4cd2
+ http://crbug.com/81113003
+ https://chromium.googlesource.com/chromium/blink/+/730ef1e7f9a1919964f7e74e7ccb2f343e10a148
+ http://crbug.com/97103002
+ https://chromium.googlesource.com/chromium/blink/+/c373ee914ffabeaf833939129538251d8f2f4eca
+ http://crbug.com/98763004
+ https://chromium.googlesource.com/chromium/blink/+/4ddb4d57948228fa05e49e06bd58a1179c09f212
+ http://crbug.com/118263002
+
+ * html/track/VTTCue.cpp:
+ (WebCore::scanPercentage):
+ (WebCore::VTTCue::setCueSettings):
+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTTreeBuilder::buildFromString):
+ (WebCore::WebVTTTreeBuilder::constructTreeFromToken):
+ * html/track/WebVTTToken.h:
+ (WebCore::WebVTTToken::WebVTTToken):
+ (WebCore::WebVTTToken::StringToken):
+ (WebCore::WebVTTToken::StartTag):
+ (WebCore::WebVTTToken::EndTag):
+ (WebCore::WebVTTToken::TimestampTag):
+ (WebCore::WebVTTToken::type):
+ (WebCore::WebVTTToken::name):
+ (WebCore::WebVTTToken::characters):
+ (WebCore::WebVTTToken::classes):
+ (WebCore::WebVTTToken::annotation):
+ * html/track/WebVTTTokenizer.cpp:
+ (WebCore::addNewClass):
+ (WebCore::emitToken):
+ (WebCore::advanceAndEmitToken):
+ (WebCore::WebVTTTokenizer::WebVTTTokenizer):
+ (WebCore::WebVTTTokenizer::nextToken):
+ * html/track/WebVTTTokenizer.h:
+ (WebCore::WebVTTTokenizer::shouldSkipNullCharacters):
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+2014-03-21 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- When MathML is used in a HTML page that modifies the CSS text-indent,
- large gaps appear inside the mathematical expressions. Resetting it to
- 0 on the math root (as Gecko does) fixes the issue.
</del><ins>+ Bug 130345 - Refine childShouldCreateRenderer for MathML elements
+ https://bugs.webkit.org/show_bug.cgi?id=130345
</ins><span class="cx">
</span><del>- Tests: mathml/presentation/text-indent.html
- mathml/presentation/text-indent-expected.html
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- * css/mathml.css:
- (math): reset text-indent to its default value.
</del><ins>+ This is a follow-up of bug 124128. We add more restrictions on foreign
+ content of MathML elements.
</ins><span class="cx">
</span><del>-2013-05-17 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ Tests: mathml/presentation/annotation-children.html
+ mathml/presentation/foreign-element-in-token.html
</ins><span class="cx">
</span><del>- Fix code that expects Page::chrome() to return a pointer
- https://bugs.webkit.org/show_bug.cgi?id=116313
</del><ins>+ * mathml/MathMLElement.cpp:
+ (WebCore::MathMLElement::isPresentationMathML): fix line wrapping
+ (WebCore::MathMLElement::isPhrasingContent):
+ - move the function from MathMLSelectElement.cpp
+ - add the constraint "is descendant of a map element" for area.
+ (WebCore::MathMLElement::isFlowContent): new function to test flow content.
+ (WebCore::MathMLElement::childShouldCreateRenderer):
+ - remove annotation since it is now tested in MathMLTextElement
+ - refine testing of annotation-xml
+ - do not create renderer for text content in MathML. Such content is only allowed inside token elements.
+ * mathml/MathMLElement.h: Declare isPhrasingContent and isFlowContent.
+ * mathml/MathMLSelectElement.cpp: Add new function to test MathML/SVG/HTML encodings.
+ (WebCore::MathMLSelectElement::isMathMLEncoding):
+ (WebCore::MathMLSelectElement::isSVGEncoding):
+ (WebCore::MathMLSelectElement::isHTMLEncoding):
+ (WebCore::MathMLSelectElement::getSelectedSemanticsChild): use the new functions.
+ * mathml/MathMLSelectElement.h: Declare the new public functions.
+ * mathml/MathMLTextElement.cpp: remove the isPhrasingContent function.
+ (WebCore::MathMLTextElement::childShouldCreateRenderer): Just in case, use the generic StyledElement::childShouldCreateRenderer.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-03-21 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Page::chrome() returns a reference after r150214.
</del><ins>+ Stop using deprecatedCharacters in WebCore/platform/win
+ https://bugs.webkit.org/show_bug.cgi?id=130515
</ins><span class="cx">
</span><del>- * platform/network/blackberry/NetworkManager.cpp:
- (WebCore::NetworkManager::startJob):
- * platform/network/blackberry/SocketStreamHandleBlackBerry.cpp:
- (WebCore::SocketStreamHandle::SocketStreamHandle):
- * testing/Internals.cpp:
- (WebCore::Internals::resetToConsistentState):
- (WebCore::Internals::setEnableMockPagePopup):
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>-2013-05-17 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ * platform/graphics/TextRun.h:
+ (WebCore::TextRun::TextRun): Add a constructor that takes a StringView.
+ Later, we might want to exclusively use the StringView version and remove
+ some of the others.
+ (WebCore::TextRun::setText): Add a version of this function that takes a StringView.
</ins><span class="cx">
</span><del>- [BlackBerry] ImageBlackBerry: add missing BlendMode parameter
- https://bugs.webkit.org/show_bug.cgi?id=116316
</del><ins>+ * platform/graphics/win/FontCacheWin.cpp:
+ (WebCore::FontCache::systemFallbackForCharacters): Use StringView::getCharactersWithUpconvert.
+ (WebCore::createGDIFont): Ditto.
+ (WebCore::FontCache::getTraitsInFamily): Ditto.
+ * platform/win/BString.cpp:
+ (WebCore::BString::BString): Use StringView::upconvertedCharacters.
+ * platform/win/ClipboardUtilitiesWin.cpp:
+ (WebCore::createGlobalData): Use StringView::getCharactersWithUpconvert.
+ * platform/win/FileSystemWin.cpp:
+ (WebCore::pathByAppendingComponent): Use StringBuilder and StringView::getCharactersWithUpconvert.
+ (WebCore::fileSystemRepresentation): Use StringView::upconvertedCharacters.
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::filesystemPathFromUrlOrTitle): Use StringView::getCharactersWithUpconvert.
+ (WebCore::Pasteboard::writeURLToDataObject): Ditto.
+ (WebCore::createGlobalImageFileDescriptor): Ditto.
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenuWin::calculatePositionAndSize): Use the new TextRun constructor.
+ * platform/win/WebCoreTextRenderer.cpp:
+ (WebCore::doDrawTextAtPoint): Ditto.
</ins><span class="cx">
</span><del>- When the new BitmapImage::draw() method was added in r147110 it
- didn't include the BlendMode parameter, which has been there since
- r137011.
</del><ins>+2014-03-21 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/ImageBlackBerry.cpp:
- (WebCore::BitmapImage::draw):
</del><ins>+ Subpixel rendering: RenderBox is positioned off by one when non-compositing transform is present.
+ https://bugs.webkit.org/show_bug.cgi?id=130430
</ins><span class="cx">
</span><del>-2013-05-16 Jer Noble <jer.noble@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Some media/track tests fail or assert on Mac
- https://bugs.webkit.org/show_bug.cgi?id=97132
</del><ins>+ div {
+ position: absolute;
+ top: 10.25px;
+ left: 10.25px;
+ }
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ The <div> with (10.25px, 10.25px) is painted to (10.5px, 10.5px) after device pixel snapping on 2x display.
+ Moving <div> to its own RenderLayer should not change the painting position.
</ins><span class="cx">
</span><del>- Rationalize the font and padding behavior of cues and cue boxes; ::cue pseudo elements cannot have padding
- values applied via CSS (due to padding not being included in the whitelist of applicable CSS properties).
- Also, the font values were being applied to the box at one level and the cue at another, leading to incorrect
- layout in the snapToLines case. Padding has been removed from the cue, and the font settings are now applied
- to the box exclusively.
</del><ins>+ div {
+ position: absolute;
+ top: 10.25px;
+ left: 10.25px;
+ -webkit-transform: rotate(0deg);
+ }
</ins><span class="cx">
</span><del>- Additionally, a few drive-by changes were made in TextTrackCue to the return values of displayTreeInternal() &
- element(), which previously returned a PassRefPtr<> instead of a plain pointer.
</del><ins>+ When we paint the RenderLayer's content, the graphics context is translated by the rounded value of
+ renderer's offset from parent.
</ins><span class="cx">
</span><del>- * css/mediaControls.css:
- (video::-webkit-media-text-track-container): Move the font size to the display selector.
- (video::cue): Remove the display:inline and padding:2px declarations.
- (video::-webkit-media-text-track-display): Remove the -webkit-line-content now that the ::cue has no padding.
- * html/track/TextTrackCue.cpp:
- (WebCore::TextTrackCue::TextTrackCue): The background box is now a span, rather than a forced-inline div.
- (WebCore::TextTrackCue::displayTreeInternal): Return a plain pointer.
- (WebCore::TextTrackCue::getDisplayTree): Ditto.
- (WebCore::TextTrackCue::setFontSize): Set the font on the box, not the cue.
- * html/track/TextTrackCue.h:
- (WebCore::TextTrackCue::element): Return a plain pointer.
- * html/track/TextTrackCueGeneric.cpp:
- (WebCore::TextTrackCueGenericBoxElement::applyCSSProperties): The cue element is now a span, not a div.
- * page/CaptionUserPreferencesMac.mm:
- (WebCore::CaptionUserPreferencesMac::captionsWindowCSS): Whitespace.
- (WebCore::CaptionUserPreferencesMac::captionsBackgroundCSS): Do not set padding on the cue.
</del><ins>+ (10.25px,10.25px) -> rounded to (10.5px,10.5px).
</ins><span class="cx">
</span><del>-2013-05-16 Andreas Kling <akling@apple.com>
</del><ins>+ When the translate moves the graphics context's origin over the renderer's top-left position,
+ the renderer's relative top-left coordinates end up being negative.
</ins><span class="cx">
</span><del>- Changes in text-only properties shouldn't cause repaints unless there is actually text.
- <http://webkit.org/b/116250>
</del><ins>+ Graphics context translated by (10.5px,10.5px) -> pushes renderer's relative top-left coords to (-0.25px,-0.25px)
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ When we round (pixel snap) these negative coordinates, half-way values get translated to the wrong direction.
</ins><span class="cx">
</span><del>- Add a new StyleDifferenceRepaintIfText value to the repertoire of RenderStyle::diff().
- This result means that the renderer only needs to repaint if one of its immediate children contains text.
</del><ins>+ (relative coords (-0.25px,-0.25px) -> pixel snapped to (-0.5px,-0.5px) -> final absolute(painting) coords (10px,10px))
</ins><span class="cx">
</span><del>- This lets us avoid repainting the same pixels when hovering over constructs like:
</del><ins>+ This patch changes the rounding to flooring to ensure that the relative top-left position never gets negative as the result
+ of subpixel shifting.
</ins><span class="cx">
</span><del>- <style>
- a { text-decoration: none; }
- a:hover { text-decoration: underline; }
- </style>
- <a href="http://is.gd/andersca">
- <img src="cool-hat.jpg">
- </a>
</del><ins>+ Tests: compositing/hidpi-box-positioned-off-by-one-when-non-compositing-transform-is-present.html
+ fast/layers/hidpi-box-positioned-off-by-one-when-transform-is-present.html
</ins><span class="cx">
</span><del>- Since the change in text-decoration has no effect on the rendering of the <img> element,
- we'll now be smart enough to avoid repainting it.
-
- * rendering/style/RenderStyleConstants.h:
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::computedTransform):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::updateTransform):
+ (WebCore::RenderLayer::currentTransform):
+ (WebCore::RenderLayer::paintLayerByApplyingTransform):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateTransform):
</ins><span class="cx"> * rendering/style/RenderStyle.cpp:
</span><del>- (WebCore::RenderStyle::diff):
</del><ins>+ * rendering/style/RenderStyle.h:
+ * svg/SVGTextElement.cpp:
+ (WebCore::SVGTextElement::animatedLocalTransform):
</ins><span class="cx">
</span><del>- Move checking of text-only properties until the very end, and return StyleDifferenceRepaintIfText
- in case a difference is found, giving precedence to StyleDifferenceRepaint.
</del><ins>+2014-03-21 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderObject.h:
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::hasImmediateNonWhitespaceTextChild):
</del><ins>+ Unreviewed. iOS build fix after r166046.
</ins><span class="cx">
</span><del>- Helper to check if a RenderObject has at least one RenderText child containing more than just
- collapsible whitespace.
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- (WebCore::RenderObject::shouldRepaintForStyleDifference):
</del><ins>+2014-03-21 Laszlo Vidacs <lvidacs.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Helper to check if a StyleDifference is either ...Repaint or ...RepaintIfText and the renderer
- has an immediate text child.
</del><ins>+ Fix the !ENABLE(FILTERS) build
+ https://bugs.webkit.org/show_bug.cgi?id=130394
</ins><span class="cx">
</span><del>- (WebCore::RenderObject::styleWillChange):
- (WebCore::RenderObject::setStyle):
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- Don't repaint for StyleDifferenceRepaintIfText unless hasImmediateNonWhitespaceTextChild().
</del><ins>+ Add missing includes in rendering to fix compile errors, and include JSC headers to ImageBuffer.h to fix linker errors.
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::styleDidChange):
- * rendering/svg/SVGResourcesCache.cpp:
- (WebCore::SVGResourcesCache::clientStyleChanged):
</del><ins>+ * platform/graphics/ImageBuffer.h:
+ * rendering/svg/RenderSVGImage.cpp:
+ * rendering/svg/RenderSVGRoot.cpp:
</ins><span class="cx">
</span><del>- Tweak for new StyleDifference enum value.
</del><ins>+2014-03-21 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- * rendering/RenderText.h:
- * rendering/RenderText.cpp:
- (WebCore::RenderText::isAllCollapsibleWhitespace):
</del><ins>+ Unreviewed, rolling out r166052.
+ https://bugs.webkit.org/show_bug.cgi?id=130571
</ins><span class="cx">
</span><del>- Made this const.
</del><ins>+ It broke EFL build (Requested by KaL on #webkit).
</ins><span class="cx">
</span><del>-2013-05-17 Lamarque V. Souza <Lamarque.Souza@basyskom.com>
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Improve -webkit-text-underline-position memory usage.
- https://bugs.webkit.org/show_bug.cgi?id=116108
</del><ins>+ "[GTK] Use GMainLoopSource for idle and timeout sources in
+ WebCore"
+ https://bugs.webkit.org/show_bug.cgi?id=130078
+ http://trac.webkit.org/changeset/166052
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+2014-03-21 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- Remove m_maxLogicalTop private variable from RootInlineBox to reduce
- the overall memory used to render RootInlineBoxes (eight bytes per RootInlineBox
- instance in a 64-bit machine). RootInline::maxLogicalTop() now computes
- the maxLogicalTop value everytime it is called. In a typical page
- computeMaxLogicalTop is called less than 10 times for each
- InlineTextBox that uses -webkit-text-underline-position. That is a small
- price users of -webkit-text-underline-position will pay so that
- everybody can benefit from the memory reduction in RootInlineBox.
</del><ins>+ Add *explicit* keyword to avoid implicit type conversion
+ https://bugs.webkit.org/show_bug.cgi?id=130568
</ins><span class="cx">
</span><del>- No new tests, no change in behavior.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- * rendering/InlineFlowBox.cpp:
- (WebCore::InlineFlowBox::computeMaxLogicalTop): Make it const.
- * rendering/InlineFlowBox.h:
- * rendering/RootInlineBox.cpp:
- (WebCore::RootInlineBox::RootInlineBox): Remove m_maxLogicalTop.
- (WebCore::RootInlineBox::alignBoxesInBlockDirection): Remove
- computeMaxLogicalTop call and obsolete comment.
- (WebCore):
- (WebCore::RootInlineBox::maxLogicalTop): Compute maxLogicalTop before
- returning its value.
- * rendering/RootInlineBox.h:
- (RootInlineBox):
</del><ins>+ Constructors of RemoteFontFaceSource, SVGDocumentExtensions, XMLDocumentParserScope,
+ and WorkerScriptDebugServer need to use *explicit* keyword because they have an argument.
+ Besides removed a meaningless argument name.
</ins><span class="cx">
</span><del>-2013-05-17 Alexis Menard <alexis@webkit.org>
</del><ins>+ * svg/SVGDocumentExtensions.h:
+ * xml/parser/XMLDocumentParserScope.h:
</ins><span class="cx">
</span><del>- Make sure to call release() on our smart pointers when we should.
- https://bugs.webkit.org/show_bug.cgi?id=116307
</del><ins>+2014-03-20 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><ins>+ Modules: replace DEPRECATED_DEFINE_STATIC_LOCAL by static NeverDestroyed<T>
+ https://bugs.webkit.org/show_bug.cgi?id=130407
+
+ Reviewed by Darin Adler.
+
+ * Modules/encryptedmedia/CDM.cpp:
+ (WebCore::installedCDMFactories):
+ * Modules/mediasource/MediaSourceRegistry.cpp:
+ (WebCore::MediaSourceRegistry::registry):
+ * Modules/mediasource/MediaSourceRegistry.h:
+ * Modules/mediastream/MediaStreamRegistry.cpp:
+ (WebCore::MediaStreamRegistry::registry):
+
+2014-03-20 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Use GMainLoopSource for idle and timeout sources in WebCore
+ https://bugs.webkit.org/show_bug.cgi?id=130078
+
+ Reviewed by Philippe Normand.
+
+ * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
+ * platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:
+ * platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.h:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.h:
+ * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
+ * platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp:
+ * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+ * platform/gtk/GtkDragAndDropHelper.cpp:
+ * platform/gtk/SharedTimerGtk.cpp:
+
+2014-03-21 Andreas Kling <akling@apple.com>
+
+ HTMLFrameOwnerElement should obey the SubframeLoadingDisabler when creating subframes
+ <rdar://problem/15675780>
+
+ Merge Blink r156744 by Adam Klein.
+
+ Test: fast/frames/set-iframe-src-in-pagehide-crash.html
+
+ * loader/SubframeLoader.cpp:
+ (WebCore::SubframeLoader::loadSubframe):
+
+2014-03-21 Darin Adler <darin@apple.com>
+
+ Improve idiom used for string building in a few places
+ https://bugs.webkit.org/show_bug.cgi?id=130561
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Call release() when we should call it. There is probably more occurence
- of this problem on the codebase but this is a first bunch of fixes.
</del><ins>+ * Modules/indexeddb/IDBKeyData.cpp:
+ (WebCore::IDBKeyData::loggingString): Use a StringBuilder, and get rid of
+ an an unnecessary additional string allocation.
</ins><span class="cx">
</span><del>- No new tests : existing ones should cover.
</del><ins>+ * Modules/websockets/ThreadableWebSocketChannel.cpp:
+ (WebCore::ThreadableWebSocketChannel::create): Use StringBuilder.
</ins><span class="cx">
</span><del>- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::valueForNinePieceImage):
- (WebCore::getBorderRadiusShorthandValue):
- (WebCore::CSSComputedStyleDeclaration::valueForFilter):
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- (WebCore::CSSComputedStyleDeclaration::getCSSPropertyValuesForSidesShorthand):
- (WebCore::CSSComputedStyleDeclaration::getCSSPropertyValuesForGridShorthand):
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseBorderImage):
- * html/HTMLBodyElement.cpp:
- (WebCore::HTMLBodyElement::collectStyleForPresentationAttribute):
</del><ins>+ * html/FTPDirectoryDocument.cpp:
+ (WebCore::FTPDirectoryDocumentParser::createTDForFilename): Do a more efficient
+ string concatenation.
+ * html/ValidationMessage.cpp:
+ (WebCore::ValidationMessage::updateValidationMessage): Ditto.
</ins><span class="cx">
</span><del>-2013-05-17 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ * inspector/InspectorApplicationCacheAgent.cpp:
+ (WebCore::InspectorApplicationCacheAgent::buildObjectForApplicationCacheResource):
+ Use a StringBuilder.
</ins><span class="cx">
</span><del>- Make PNGImageDecoder::rowAvailable auto-vectorizable
- https://bugs.webkit.org/show_bug.cgi?id=116151
</del><ins>+ * inspector/InspectorStyleSheet.cpp:
+ (WebCore::InspectorStyle::shorthandValue): Use a StringBuilder.
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ * inspector/InspectorStyleTextEditor.cpp:
+ (WebCore::InspectorStyleTextEditor::insertProperty): Use a more efficient idiom
+ for string concatenation.
+ (WebCore::InspectorStyleTextEditor::internalReplaceProperty): Ditto.
+ * loader/FormSubmission.cpp:
+ (WebCore::appendMailtoPostFormDataToURL): Ditto.
</ins><span class="cx">
</span><del>- Changed the main loops under PNGImageDecoder::rowAvailable so that they
- avoid branches and non-sequential table look ups.
</del><ins>+ * page/Frame.cpp:
+ (WebCore::createRegExpForLabels): Use a StringBuilder.
</ins><span class="cx">
</span><del>- Together with automatic vectorization by the compiler this provides around
- 4x speed-up with AVX or 2x speed-up on generic x64. Shaving off 12-40% on
- PNG decoding in general.
</del><ins>+ * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
+ (WebCore::InbandTextTrackPrivateAVF::processCueAttributes): Use a more efficient
+ idiom for string concatenation.
</ins><span class="cx">
</span><del>- * platform/graphics/Color.cpp:
- (WebCore::premultipliedARGBFromColor):
- * platform/graphics/Color.h:
- (WebCore::fastDivideBy255):
- * platform/graphics/filters/FEBlend.cpp:
- * platform/image-decoders/png/PNGImageDecoder.cpp:
- (WebCore::setPixelRGB):
- (WebCore::setPixelRGBA):
- (WebCore::setPixelRGBA_Premultiplied):
- (WebCore::PNGImageDecoder::rowAvailable):
</del><ins>+ * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
+ (WebCore::GraphicsContext3D::getUnmangledInfoLog): Use a StringBuilder.
</ins><span class="cx">
</span><del>-2013-05-17 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ * platform/network/MIMEHeader.cpp:
+ (WebCore::MIMEHeader::parseHeader): Use a more efficient idiom for string
+ concatenation.
+ * platform/network/ResourceResponseBase.cpp:
+ (WebCore::ResourceResponseBase::addHTTPHeaderField): Ditto.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::layerTreeAsText): Ditto.
</ins><span class="cx">
</span><del>- Web Inspector: Allow "//# sourceMappingURL" syntax alongside "//@"
- https://bugs.webkit.org/show_bug.cgi?id=116290
</del><ins>+ * rendering/RenderText.cpp:
+ (WebCore::RenderText::secureText): Create a new string with the substring
+ function rather than with the append function.
</ins><span class="cx">
</span><del>- Follow an update to the spec and support the new and old syntax.
</del><ins>+ * xml/XMLHttpRequest.cpp:
+ (WebCore::XMLHttpRequest::setRequestHeaderInternal): Use a more efficient idiom
+ for string concatenation.
</ins><span class="cx">
</span><del>- Reviewed by Timothy Hatcher.
</del><ins>+2014-03-21 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- * inspector/ContentSearchUtils.cpp:
- (WebCore::ContentSearchUtils::scriptCommentPattern):
- (WebCore::ContentSearchUtils::stylesheetCommentPattern):
- * inspector/front-end/SASSSourceMapping.js:
- (WebInspector.SASSSourceMapping.prototype._loadAndProcessSourceMap):
</del><ins>+ Add a combined decodeAndFlush to TextResourceDecoder
+ https://bugs.webkit.org/show_bug.cgi?id=130560
</ins><span class="cx">
</span><del>-2013-05-17 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Remove custom code for MessageEvent.ports getter
- https://bugs.webkit.org/show_bug.cgi?id=116304
</del><ins>+ * WebCore.exp.in: Added new symbol for decodeAndFlush. Also re-did
+ the geometry types #if so it would sort more logically.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ * fileapi/FileReaderLoader.cpp:
+ (WebCore::FileReaderLoader::convertToText): Use decodeAndFlush.
+ * inspector/InspectorPageAgent.cpp:
+ (WebCore::InspectorPageAgent::cachedResourceContent): Ditto.
+ * inspector/NetworkResourcesData.cpp:
+ (WebCore::NetworkResourcesData::ResourceData::decodeDataToContent): Ditto.
</ins><span class="cx">
</span><del>- Remove Custom code for the "ports" attribute getter in MessageEvent
- IDL interface. The JSC bindings generator already supports attributes
- of type MessagePortArray.
</del><ins>+ * loader/TextResourceDecoder.cpp:
+ (WebCore::TextResourceDecoder::decodeAndFlush): Added.
+ * loader/TextResourceDecoder.h: Ditto.
</ins><span class="cx">
</span><del>- No new tests, already covered by existing layout tests and bindings
- tests.
</del><ins>+ * loader/appcache/ManifestParser.cpp:
+ (WebCore::parseManifest): Use decodeAndFlush.
+ * loader/cache/CachedCSSStyleSheet.cpp:
+ (WebCore::CachedCSSStyleSheet::sheetText): Ditto.
+ (WebCore::CachedCSSStyleSheet::finishLoading): Ditto.
</ins><span class="cx">
</span><del>- * bindings/js/JSMessageEventCustom.cpp: Remove Custom code for ports getter.
- * bindings/scripts/CodeGeneratorJS.pm:
- (NativeToJSValue): Small tweak to correctly handle the case where impl->ports()
- returns NULL and avoid crashing in this case.
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: Rebaseline due
- to bindings generator tweak.
- * dom/MessageEvent.idl: Remove [CustomGetter] extended attribute for 'ports' attribute
- and switch to MessagePortArray type.
</del><ins>+ * loader/cache/CachedFont.cpp:
+ (WebCore::CachedFont::ensureSVGFontData): Use decodeAndFlush. Also use nullptr.
+ (WebCore::CachedFont::getSVGFontById): Use descendantsOfType<SVGFontElement>
+ instead of using a NodeList. Much more efficient!
</ins><span class="cx">
</span><del>-2013-05-16 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
</del><ins>+ * loader/cache/CachedSVGDocument.cpp:
+ (WebCore::CachedSVGDocument::finishLoading): Use decodeAndFlush.
+ * loader/cache/CachedScript.cpp:
+ (WebCore::CachedScript::script): Ditto.
+ * loader/cache/CachedXSLStyleSheet.cpp:
+ (WebCore::CachedXSLStyleSheet::finishLoading): Ditto.
+ * page/Page.cpp:
+ (WebCore::Page::userStyleSheet): Ditto.
</ins><span class="cx">
</span><del>- Add stubs for ContextMenu and ContextMenuItem
- https://bugs.webkit.org/show_bug.cgi?id=116235
</del><ins>+2014-03-20 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Antonio Gomes.
</del><ins>+ Remove a couple of unused functions from CSSOMUtils
+ https://bugs.webkit.org/show_bug.cgi?id=130558
</ins><span class="cx">
</span><del>- No new tests needed, only a refactor.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Add ContextMenuNone.cpp and ContextMenuItemNone.cpp
- so ports using ENABLE(CROSS_PLATFORM_CONTEXT_MENU) don't
- need to replicate these stubs.
</del><ins>+ * css/CSSOMUtils.cpp: Remove String overloads. Callers all use the StringBuilder
+ ones, which is good since that is a more efficient idiom.
+ * css/CSSOMUtils.h: Ditto.
</ins><span class="cx">
</span><del>- * PlatformEfl.cmake:
- * Target.pri:
- * platform/ContextMenuNone.cpp: Added.
- (WebCore):
- (WebCore::ContextMenu::ContextMenu):
- (WebCore::ContextMenu::getContextMenuItems):
- (WebCore::ContextMenu::createPlatformContextMenuFromItems):
- (WebCore::ContextMenu::platformContextMenu):
- * platform/ContextMenuItemNone.cpp: Added.
- (WebCore):
- (WebCore::ContextMenuItem::platformContextMenuItem):
- * platform/efl/ContextMenuEfl.cpp: Removed.
- * platform/efl/ContextMenuItemEfl.cpp: Removed.
- * platform/qt/ContextMenuQt.cpp: Removed.
- * platform/qt/ContextMenuItemQt.cpp: Removed.
</del><ins>+2014-03-20 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>-2013-05-16 Alexis Menard <alexis@webkit.org>
</del><ins>+ Unreviewed. iOS build fix after r166017, r166032.
</ins><span class="cx">
</span><del>- Regression: Event#stopPropagation() does not halt bubbling for webkitTransitionEnd
- https://bugs.webkit.org/show_bug.cgi?id=115656
</del><ins>+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::visibleContentRectInternal):
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-03-20 Hyowon Kim <hw1008.kim@samsung.com>
</ins><span class="cx">
</span><del>- If we create a prefixed event to dispatch it (in the case we have only
- prefixed event listeners in client's code) then we need to make sure to
- keep it in sync with the original unprefixed event after it has been
- dispatched. While being dispatched the event can be modified by
- client's code and when propagated back to outer elements, attributes were
- not updated. This patch changes the old design of creating a separate event
- for the prefixed case and now change the type of the event (so the name) before
- dispatching it, keeping the attributes if changed and then rename it
- back to unprefixed when the dispatching is finished.
</del><ins>+ Move to using std::unique_ptr for EFL objects.
+ https://bugs.webkit.org/show_bug.cgi?id=129853
</ins><span class="cx">
</span><del>- Tests: transitions/transition-end-event-prefixed-01.html
- transitions/transition-end-event-prefixed-02.html
- transitions/transition-end-event-prefixed-03.html
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- * dom/Event.h:
- (WebCore::Event::setType):
- * dom/EventTarget.cpp:
- (WebCore::EventTarget::fireEventListeners):
</del><ins>+ EflUniquePtr is a template alias of std::unique_ptr
+ with a custom deleter for each Efl Objects, which is motivated by GUniquePtr.
+ This patch replaces uses of OwnPtr and PassOwnPtr for Efl objects with EflUniquePtr.
</ins><span class="cx">
</span><del>-2013-05-16 Mike Fenton <mifenton@rim.com>
</del><ins>+ No new tests. No new functionality.
</ins><span class="cx">
</span><del>- [BlackBerry] Strip invoke URLs when writing to the clipboard.
- https://bugs.webkit.org/show_bug.cgi?id=116226
</del><ins>+ * platform/efl/EflScreenUtilities.h:
+ * platform/efl/RenderThemeEfl.cpp:
+ (WebCore::RenderThemeEfl::ThemePartCacheEntry::create):
+ (WebCore::RenderThemeEfl::loadTheme):
+ * platform/efl/RenderThemeEfl.h:
+ * platform/graphics/Icon.h:
+ * platform/graphics/efl/EvasGLContext.h:
+ (WebCore::EvasGLContext::create):
+ * platform/graphics/efl/EvasGLSurface.h:
+ (WebCore::EvasGLSurface::create):
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+2014-03-20 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>- PR 333516.
</del><ins>+ [EFL][GTK] Get CMake to find Freetype2 properly
+ https://bugs.webkit.org/show_bug.cgi?id=130150
</ins><span class="cx">
</span><del>- Invoke URLs should not be included in the paste data.
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Internally Reviewed by Gen Mak.
</del><ins>+ Newer versions of CMake are not able to find Freetype2 correctly.
+ FindFreetype2.cmake checks for the version number in freetype.h header, since it seems that bug exists in
+ freetype2 repo, because a completely different version number is found in freetype2.pc.
</ins><span class="cx">
</span><del>- * platform/blackberry/PasteboardBlackBerry.cpp:
- (WebCore::Pasteboard::writeSelection):
</del><ins>+ * PlatformEfl.cmake:
+ * PlatformGTK.cmake:
</ins><span class="cx">
</span><del>-2013-05-16 Eduardo Lima Mitev <elima@igalia.com>
</del><ins>+2014-03-20 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- Missing UNUSED_PARAM macro for textPosition argument in WebKitAccessibleInterfaceText
- https://bugs.webkit.org/show_bug.cgi?id=116230
</del><ins>+ [GTK] Suppress errors about using gdk_threads_enter gdk_threads_leave
+ https://bugs.webkit.org/show_bug.cgi?id=130517
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+ Reviewed by Sergio Villar Senin.
</ins><span class="cx">
</span><del>- No new functionality, no new tests.
</del><ins>+ * plugins/gtk/gtk2xtbin.c: Use GCC suppression to suppress errors about deprecations.
</ins><span class="cx">
</span><del>- * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
- (webkitAccessibleTextGetTextForOffset): List textPosition argument as
- unused parameter for all platforms except GTK.
</del><ins>+2014-03-20 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-05-16 Jaehun Lim <ljaehun.lim@samsung.com>
-
- Frame flattening prevents <HTML> in <OBJECT> from having scrollbars
- https://bugs.webkit.org/show_bug.cgi?id=115884
</del><ins>+ Cleanup in aisle r166017.
</ins><span class="cx">
</span><del>- Reviewed by Antonio Gomes.
</del><ins>+ visibleContentRectInternal() was dropping the scrollbar
+ inclusiveness on the floor, and we need to reset the top inset
+ between tests.
</ins><span class="cx">
</span><del>- Frame flattening should be applied when the frame owner is frame or iframe. But when
- the frame owner is object element, frame flattening prevents it from having scrollbars.
- In this situation, we can't scroll the html document in object element.
</del><ins>+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::visibleContentRectInternal):
+ * testing/Internals.cpp:
+ (WebCore::Internals::resetToConsistentState):
</ins><span class="cx">
</span><del>- This patch adds two helper functions to verify flattening conditions.
</del><ins>+2014-03-20 Enrica Casucci <enrica@apple.com>
+
+ Build fix.
+
+ Removing unused variable.
</ins><span class="cx">
</span><del>- Test: fast/frames/flattening/scrolling-in-object.html
</del><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::didPaintContents):
</ins><span class="cx">
</span><ins>+2014-03-20 Brent Fulgham <bfulgham@apple.com>
+
+ Rename TextTrackRegion/TextTrackRegionList to VTTRegion/VTTRegionList
+ https://bugs.webkit.org/show_bug.cgi?id=130543
+
+ Reviewed by Dean Jackson.
+
+ Merged from Blink (patch by philipj@opera.com):
+ https://chromium.googlesource.com/chromium/blink/+/69ee6d3399d64163e4936ac1bde222036c54c4b8
+ http://crbug.com/55653003
+
+ Tests: media/track/regions-webvtt/vtt-region-constructor.html
+ media/track/regions-webvtt/vtt-region-display.html
+ media/track/regions-webvtt/vtt-region-dom-layout.html
+ media/track/regions-webvtt/vtt-region-list.html
+ media/track/regions-webvtt/vtt-region-parser.html
+
+ * Configurations/FeatureDefines.xcconfig:
+ * DerivedSources.make:
+ * WebCore.xcodeproj/project.pbxproj:
+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlTextTrackContainerElement::updateDisplay):
+ * html/track/LoadableTextTrack.cpp:
+ (WebCore::LoadableTextTrack::newRegionsAvailable):
+ * html/track/TextTrack.cpp:
+ (WebCore::TextTrack::ensureVTTRegionList):
+ (WebCore::TextTrack::regions):
+ (WebCore::TextTrack::addRegion):
+ (WebCore::TextTrack::removeRegion):
+ * html/track/TextTrack.h:
+ * html/track/TextTrack.idl:
+ * html/track/TextTrackCue.cpp:
+ * html/track/TextTrackRegion.cpp: Removed.
+ * html/track/TextTrackRegion.h: Removed.
+ * html/track/TextTrackRegion.idl: Removed.
+ * html/track/TextTrackRegionList.cpp: Removed.
+ * html/track/TextTrackRegionList.h: Removed.
+ * html/track/TextTrackRegionList.idl: Removed.
+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCue::removeDisplayTree):
+ * html/track/VTTRegion.cpp: Copied from Source/WebCore/html/track/TextTrackRegion.cpp.
+ (WebCore::VTTRegion::VTTRegion):
+ (WebCore::VTTRegion::~VTTRegion):
+ (WebCore::VTTRegion::setTrack):
+ (WebCore::VTTRegion::setId):
+ (WebCore::VTTRegion::setWidth):
+ (WebCore::VTTRegion::setHeight):
+ (WebCore::VTTRegion::setRegionAnchorX):
+ (WebCore::VTTRegion::setRegionAnchorY):
+ (WebCore::VTTRegion::setViewportAnchorX):
+ (WebCore::VTTRegion::setViewportAnchorY):
+ (WebCore::VTTRegion::scroll):
+ (WebCore::VTTRegion::setScroll):
+ (WebCore::VTTRegion::updateParametersFromRegion):
+ (WebCore::VTTRegion::setRegionSettings):
+ (WebCore::VTTRegion::getSettingFromString):
+ (WebCore::VTTRegion::parseSettingValue):
+ (WebCore::VTTRegion::parseSetting):
+ (WebCore::VTTRegion::textTrackCueContainerScrollingClass):
+ (WebCore::VTTRegion::textTrackCueContainerShadowPseudoId):
+ (WebCore::VTTRegion::textTrackRegionShadowPseudoId):
+ (WebCore::VTTRegion::appendTextTrackCueBox):
+ (WebCore::VTTRegion::displayLastTextTrackCueBox):
+ (WebCore::VTTRegion::willRemoveTextTrackCueBox):
+ (WebCore::VTTRegion::getDisplayTree):
+ (WebCore::VTTRegion::prepareRegionDisplayTree):
+ (WebCore::VTTRegion::startTimer):
+ (WebCore::VTTRegion::stopTimer):
+ (WebCore::VTTRegion::scrollTimerFired):
+ * html/track/VTTRegion.h: Copied from Source/WebCore/html/track/TextTrackRegion.h.
+ (WebCore::VTTRegion::create):
+ * html/track/VTTRegion.idl: Copied from Source/WebCore/html/track/TextTrackRegion.idl.
+ * html/track/VTTRegionList.cpp: Copied from Source/WebCore/html/track/TextTrackRegionList.cpp.
+ (WebCore::VTTRegionList::VTTRegionList):
+ (WebCore::VTTRegionList::length):
+ (WebCore::VTTRegionList::item):
+ (WebCore::VTTRegionList::getRegionById):
+ (WebCore::VTTRegionList::add):
+ (WebCore::VTTRegionList::remove):
+ (WebCore::VTTRegionList::clear):
+ * html/track/VTTRegionList.h: Copied from Source/WebCore/html/track/TextTrackRegionList.h.
+ (WebCore::VTTRegionList::create):
+ (WebCore::VTTRegionList::~VTTRegionList):
+ * html/track/VTTRegionList.idl: Copied from Source/WebCore/html/track/TextTrackRegionList.idl.
+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTParser::parseFloatPercentageValue):
+ (WebCore::WebVTTParser::getNewRegions):
+ (WebCore::WebVTTParser::createNewRegion):
+ * html/track/WebVTTParser.h:
+ * loader/TextTrackLoader.cpp:
+ (WebCore::TextTrackLoader::getNewRegions):
+ * loader/TextTrackLoader.h:
+
+2014-03-20 Simon Fraser <simon.fraser@apple.com>
+
+ Fix the iOS build.
+
</ins><span class="cx"> * page/FrameView.cpp:
</span><del>- (WebCore::frameFlatteningEnabled): Added. Helper to check whether flattening is enabled or not.
- (WebCore::supportsFrameFlattening): Added. Helper to check whether the frame owner is <frame> or <iframe>.
- (WebCore::FrameView::avoidScrollbarCreation):
- (WebCore::FrameView::calculateScrollbarModesForLayout): Use frameFlatteningEnabled().
- (WebCore::FrameView::layout): Use frameFlatteningEnabled().
- (WebCore::FrameView::isInChildFrameWithFrameFlattening): Use frameFlatteningEnabled().
</del><ins>+ (WebCore::FrameView::willPaintContents):
+ (WebCore::FrameView::didPaintContents):
</ins><span class="cx">
</span><del>-2013-05-16 Patrick Gansterer <paroga@webkit.org>
</del><ins>+2014-03-20 Hans Muller <hmuller@adobe.com>
</ins><span class="cx">
</span><del>- Port functions for pathhandling to Windows CE in FileSystemWin
- https://bugs.webkit.org/show_bug.cgi?id=116208
</del><ins>+ [CSS Shapes] clamp RasterShape shapeMargin to reference box size
+ https://bugs.webkit.org/show_bug.cgi?id=130350
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- This will allow us to remove FileSystemWinCE in a next step.
</del><ins>+ Corrected the way the maximum shape-margin value was computed for image valued
+ shapes. The limiting case is an image with just one above threshold pixel. The
+ largest possible value for shapeMargin is the radius of a circle that encloses
+ the size of the shape-outside element's margin-box, since the shape-outside's
+ boundary is clipped to the margin-box. The radius is just sqrt(2) * the margin-box's
+ largest dimension.
</ins><span class="cx">
</span><del>- * platform/win/FileSystemWin.cpp:
- (WebCore::pathByAppendingComponent):
- (WebCore::pathGetFileName):
</del><ins>+ Also cleaned up up a few poorly named parameters.
</ins><span class="cx">
</span><del>-2013-05-16 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Test: fast/shapes/shape-outside-floats/shape-outside-one-pixel.html
</ins><span class="cx">
</span><del>- PDFPlugins don't load when plugins are disabled, but they should
- https://bugs.webkit.org/show_bug.cgi?id=75790
- <rdar://problem/11650197>
</del><ins>+ * rendering/shapes/RasterShape.cpp:
+ (WebCore::RasterShape::marginIntervals):
+ * rendering/shapes/RasterShape.h:
+ (WebCore::RasterShape::RasterShape):
+ * rendering/shapes/Shape.h:
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-03-20 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- Make it possible to load "application" plug-ins even if settings or the FrameLoaderClient
- say that plug-ins should be disabled, providing a mechanism for WebKit* to offer built-in
- functionality which happens to use the plug-in infrastructure, and which also doesn't
- unexpectedly disappear for users with plug-ins off.
</del><ins>+ Build fix.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- Export SubframeLoader::allowPlugins().
- Update signature for PluginData::supportsMimeType to include the AllowedPluginTypes argument.
</del><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::paintContents):
</ins><span class="cx">
</span><del>- * dom/DOMImplementation.cpp:
- (WebCore::DOMImplementation::createDocument):
- Load PluginData even if plug-ins are disabled, but if that is the case, only
- create a PluginDocument for application plug-ins.
</del><ins>+2014-03-20 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- * html/PluginDocument.cpp:
- (WebCore::PluginDocumentParser::appendBytes):
- Don't bail if plug-ins are disabled, because we could still be a PluginDocument
- for an application plug-in.
</del><ins>+ Implement contentInset for Mac WebKit2
+ https://bugs.webkit.org/show_bug.cgi?id=130273
</ins><span class="cx">
</span><ins>+ Reviewed by Simon Fraser.
+
+ This patch adds support for topContentInset(). If a page has a topContentInset(),
+ the root layer’s position is adjusted to account for the inset. It is assumed that
+ the area accounted for by the inset is visible but obscured, so scrollbars need to
+ be moved so that they only cover the non-obscured area, and most parts of WebCore
+ that wonder about visibleContentSize only care about the unobscured area, so this
+ patch makes that visibleContentRect return the unobscuredRect. Finally since this
+ is achieved by moving a layer’s position, the topContentInset() also needs to be
+ factored into various functions that are used to convert between coordinate
+ spaces.
+
+ Return Page::topContentInset() if this is the main frame.
+ * page/FrameView.cpp:
+ (WebCore::FrameView::topContentInset):
+ * page/FrameView.h:
+
+ Cache the inset on Page.
</ins><span class="cx"> * page/Page.cpp:
</span><del>- (WebCore::Page::pluginData):
- Allow PluginData to be constructed even if plug-ins are disabled, as there might
- be application plug-ins that we want to load anyway.
</del><ins>+ (WebCore::Page::Page):
+ * page/Page.h:
+ (WebCore::Page::topContentInset):
+ (WebCore::Page::setTopContentInset):
</ins><span class="cx">
</span><del>- * platform/mac/MIMETypeRegistryMac.mm:
- (WebCore::MIMETypeRegistry::isApplicationPluginMIMEType):
- On Mac, if we have PDFPlugin, we can support PDF and PostScript with a native application plug-in.
</del><ins>+ unobscuredContentRect() used to unconditionally return visibleContentRect() on
+ non-iOS platforms. Now that it is possible for some technically visible content to
+ be obscured, this code needed to be re-worked a bit to make some more sense.
+ visibleContentRect() now represents that visible content that is completely
+ unobscured, so it should call into unobscuredContentRect() rather than the other
+ way around.
+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::unobscuredContentRect):
</ins><span class="cx">
</span><del>- * plugins/PluginData.cpp:
- (WebCore::PluginData::supportsMimeType):
- Add an AllowedPluginTypes argument to supportsMimeType, allowing callers to specify
- whether they are looking for any plug-in, or are looking only for application plug-ins.
</del><ins>+ unscaledTotalVisibleContentSize() includes the size of all content that might be
+ visible. Some of this content might be obscured.
+ (WebCore::ScrollView::unscaledTotalVisibleContentSize):
</ins><span class="cx">
</span><del>- * plugins/PluginData.h:
- (PluginInfo): Added an isApplicationPlugin field, to specify whether this is a "built-in" plug-in.
- (PluginData): Add the aforementioned AllowedPluginTypes enum and the argument to supportsMimeType.
</del><ins>+ Most of the time, we only care about the content that is FULLY visible. That is
+ what you get from unscaledUnobscuredVisibleContentSize().
+ (WebCore::ScrollView::unscaledUnobscuredVisibleContentSize):
</ins><span class="cx">
</span><del>-2013-05-16 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ Use the unobscured size for these computations.
+ (WebCore::ScrollView::visibleContentRectInternal):
+ (WebCore::ScrollView::layoutSize):
</ins><span class="cx">
</span><del>- [BlackBerry] Crash due to an assert running test editing/execCommand/indent-paragraphs.html
- https://bugs.webkit.org/show_bug.cgi?id=114944
</del><ins>+ Factor in the topContentInset().
+ (WebCore::ScrollView::scrollOffsetRelativeToDocument):
+ (WebCore::ScrollView::scrollPositionRelativeToDocument):
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ The scrollbars should be positioned to cover the non-obscured content only.
+ (WebCore::ScrollView::updateScrollbars):
</ins><span class="cx">
</span><del>- It crashes in network platform code when trying to save an
- invalid URL in the disk cache. That test contains references to
- empty URLs like http://. Those empty URLs, are parsed as http:/ by
- KURL and considered valid. BlackBerry network platform uses GURL
- which considers those URLs invalid. We needed to check that the
- URLs are valid for our platform before starting the network
- operation.
</del><ins>+ Again, factor the topContentInset() into these conversions since the root layer’s
+ position has been adjusted to account for it.
+ (WebCore::ScrollView::contentsToRootView):
+ (WebCore::ScrollView::contentsToWindow):
</ins><span class="cx">
</span><del>- Fixes a crash running test
- editing/execCommand/indent-paragraphs.html.
</del><ins>+ Just like the scrollbars, the scroll corner must be moved the account for the
+ inset.
+ (WebCore::ScrollView::scrollCornerRect):
+ * platform/ScrollView.h:
+ (WebCore::ScrollView::topContentInset):
</ins><span class="cx">
</span><del>- * platform/network/blackberry/NetworkManager.cpp:
- (WebCore::NetworkManager::startJob): Check if the request URL is
- valid from the platform point of view right after creating the
- platform network request and return early if the URL is invalid
- with StatusErrorInvalidUrl error.
</del><ins>+ RenderLayerCompositor cares about unscaledTotalVisibleContentSize(). It does not
+ care if some of that content is obscured.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::frameViewDidChangeSize):
</ins><span class="cx">
</span><del>-2013-05-16 Patrick Gansterer <paroga@webkit.org>
</del><ins>+ Move the root layer’s position based on the contentInset.
+ (WebCore::RenderLayerCompositor::updateRootLayerPosition):
+ (WebCore::RenderLayerCompositor::ensureRootLayer):
</ins><span class="cx">
</span><del>- Remove unused function safeCreateFile() from WebCore
- https://bugs.webkit.org/show_bug.cgi?id=116211
</del><ins>+ Allow setting contentInset via Internals for testing purposes.
+ * testing/Internals.cpp:
+ (WebCore::Internals::setTopContentInset):
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+2014-03-20 Laszlo Vidacs <lvidacs.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- * platform/FileSystem.h:
- * platform/win/FileSystemWin.cpp:
</del><ins>+ Optimize RenderTable::colToEffCol() for tables without colspans
+ https://bugs.webkit.org/show_bug.cgi?id=129298
</ins><span class="cx">
</span><del>-2013-05-16 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- [curl] MIME type should be in lowercase
- https://bugs.webkit.org/show_bug.cgi?id=116218
</del><ins>+ Create an alternative fast path to RenderTable colToEffCol() and effColToCol()
+ when there is no colspan or colspan does not exceed the width of table.
+ Blink merge https://codereview.chromium.org/154243002 by rhogan
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ * rendering/RenderTable.cpp:
+ (WebCore::RenderTable::RenderTable):
+ (WebCore::RenderTable::appendColumn):
+ (WebCore::RenderTable::recalcSections):
+ * rendering/RenderTable.h:
+ (WebCore::RenderTable::colToEffCol):
+ (WebCore::RenderTable::effColToCol):
+ (WebCore::RenderTable::hasCellColspanThatDeterminesTableWidth):
</ins><span class="cx">
</span><del>- Existing testcase: http/tests/mime/uppercase-mime-type.html
</del><ins>+2014-03-20 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::headerCallback): Convert the MIME type to lowercase.
</del><ins>+ FrameView::paintContents() is not called for composited content
+ https://bugs.webkit.org/show_bug.cgi?id=130541
</ins><span class="cx">
</span><del>-2013-05-16 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- Web Inspector: Fix optional value of promptText in Inspector.json
- https://bugs.webkit.org/show_bug.cgi?id=116203
</del><ins>+ FrameView::paintContents() is not called for frames that have
+ composited contents, yet it contains code that is expected
+ to run for all Frames.
+
+ Fix by factoring into will/didPaintContents(), and calling
+ the will/did functions from RenderLayerBacking::paintIntoLayer().
+
+ Also add a SetLayoutNeededForbiddenScope check for composited-layer
+ painting.
</ins><span class="cx">
</span><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::updateControlTints):
+ (WebCore::FrameView::willPaintContents):
+ (WebCore::FrameView::didPaintContents):
+ (WebCore::FrameView::paintContents):
+ * page/FrameView.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::paintIntoLayer):
+
+2014-03-20 Tim Horton <timothy_horton@apple.com>
+
+ Fix the Mountain Lion build.
+
+ * platform/graphics/cocoa/IOSurface.mm:
+ (IOSurface::setIsPurgeable):
+
+2014-03-20 Brian Burg <bburg@apple.com>
+
+ Web Replay: capture and replay mouse events
+ https://bugs.webkit.org/show_bug.cgi?id=129395
+
</ins><span class="cx"> Reviewed by Joseph Pecoraro.
</span><span class="cx">
</span><del>- Merge from https://chromiumcodereview.appspot.com/14672031.
</del><ins>+ Add support for capturing and replaying mouse inputs that come from WebKit2.
+ Hook up the UserInputBridge to session state changes in the ReplayController so
+ that the bridge knows when to capture or deny mouse inputs.
</ins><span class="cx">
</span><del>- No new tests needed.
</del><ins>+ Test: ManualTests/inspector/replay-mouse-events.html
</ins><span class="cx">
</span><del>- * inspector/Inspector.json:
</del><ins>+ * platform/PlatformEvent.h: Give explicit storage types to Modifiers and Type enums
+ so they can be forward-declared.
+ * platform/PlatformMouseEvent.h: Give an explicit storage type to enum MouseButton.
+ Add operator== and operator!= for MouseButton to work around an MSVC bug.
</ins><span class="cx">
</span><del>-2013-05-16 Mary Wu <mary.wu@torchmobile.com.cn>
</del><ins>+ * replay/ReplayController.cpp: Perform session state changes in a helper function, and
+ at the same time change the state of the page's user input bridge.
+ (WebCore::ReplayController::setSessionState):
+ (WebCore::ReplayController::startCapturing):
+ (WebCore::ReplayController::stopCapturing):
+ (WebCore::ReplayController::startPlayback):
+ (WebCore::ReplayController::cancelPlayback):
</ins><span class="cx">
</span><del>- [BlackBerry] Unable to download blob resource
- https://bugs.webkit.org/show_bug.cgi?id=115888
</del><ins>+ * replay/ReplayInputDispatchMethods.cpp: Add dispatch methods for new inputs.
+ (WebCore::HandleMouseMove::dispatch):
+ (WebCore::HandleMousePress::dispatch):
+ (WebCore::HandleMouseRelease::dispatch):
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ * replay/SerializationMethods.cpp: Add helper macros so that encode/decode methods look
+ symmetric with one data member per line. This helps reduce unintentional inconsistencies.
+ (JSC::EncodingTraits<PlatformMouseEvent>::encodeValue): Added.
+ (JSC::EncodingTraits<PlatformMouseEvent>::decodeValue): Added.
+ * replay/SerializationMethods.h:
</ins><span class="cx">
</span><del>- Add BlobStream to handle over blob data from BlobResourceHandle to download stream.
- RIM bug 331086, internally reviewed by Charles Wei and Leo Yang.
</del><ins>+ * replay/UserInputBridge.cpp: Fill in the bridge method implementations for mouse
+ events, adding helpers and macros as necessary to reduce boilerplate.
+ (WebCore::UserInputBridge::activeCursor): Added.
+ (WebCore::UserInputBridge::handleMousePressEvent):
+ (WebCore::UserInputBridge::handleMouseReleaseEvent):
+ (WebCore::UserInputBridge::handleMouseMoveEvent):
+ (WebCore::UserInputBridge::handleMouseMoveOnScrollbarEvent):
</ins><span class="cx">
</span><del>- * PlatformBlackBerry.cmake:
- * platform/network/blackberry/BlobStream.cpp: Added.
- (WebCore):
- (WebCore::BlobStream::BlobStream):
- (WebCore::BlobStream::~BlobStream):
- (WebCore::BlobStream::didReceiveData):
- (WebCore::BlobStream::didFinishLoading):
- (WebCore::BlobStream::didFail):
- (WebCore::BlobStream::url):
- (WebCore::BlobStream::mimeType):
- * platform/network/blackberry/BlobStream.h: Added.
- (WebCore):
- (BlobStream):
</del><ins>+ * replay/UserInputBridge.h: Add a bridge state enum along with getters and setters.
+ The enum value controls whether the bridge should capture commands, deny non-synthetic
+ commands (from the user), or allow anything to pass (the default).
+ (WebCore::UserInputBridge::setState): Added.
+ (WebCore::UserInputBridge::state): Added.
</ins><span class="cx">
</span><del>-2013-05-16 Anders Carlsson <andersca@apple.com>
</del><ins>+ * replay/WebInputs.json: Add inputs HandleMouseMove, HandleMousePress, HandleMouseRelease.
+ Add enum definitions for PlatformEvent::Type, PlatformEvent::Modifiers, and PlatformMouseEvent::MouseButton.
+ Alphabetize the existing data type definitions.
</ins><span class="cx">
</span><del>- Remove SystemTime header and implementations
- https://bugs.webkit.org/show_bug.cgi?id=116200
</del><ins>+2014-03-20 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Add WebCore::IOSurface wrapper
+ https://bugs.webkit.org/show_bug.cgi?id=130529
</ins><span class="cx">
</span><del>- SystemTim just had a single function that's not called anymore. Remove it.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><ins>+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/graphics/cg/ColorCG.cpp:
+ * platform/graphics/cg/GraphicsContextCG.h:
+ (WebCore::cachedCGColorSpace):
+ Move cachedCGColorSpace out so that other clients of GraphicsContextCG
+ can use its mapping from WebCore::ColorSpace -> CGColorSpaceRef.
+
+ * platform/graphics/cg/ImageBufferBackingStoreCache.cpp:
+ * platform/graphics/cg/ImageBufferCG.cpp:
+ Add FIXMEs for ImageBuffer to adopt WebCore::IOSurface.
+
+ * platform/graphics/cocoa/IOSurface.h: Added.
+ * platform/graphics/cocoa/IOSurface.mm: Added.
+ (IOSurface::create):
+ (IOSurface::createFromMachPort):
+ (IOSurface::createFromSurface):
+ (IOSurface::IOSurface):
+ (IOSurface::maximumSize):
+ (IOSurface::createMachPort):
+ (IOSurface::createImage):
+ (IOSurface::ensurePlatformContext):
+ (IOSurface::ensureGraphicsContext):
+ (IOSurface::state):
+ (IOSurface::isPurgeable):
+ (IOSurface::setIsPurgeable):
+ (IOSurface::inUse):
+ Add WebCore::IOSurface.
+
+2014-03-20 Pratik Solanki <psolanki@apple.com>
+
+ iOS build fix after r165992.
+
+ * generate-export-file:
+ (preprocessorMacros):
+
+2014-03-20 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
+
+ [WebRTC] Moving RTCConfiguration and RTCIceServer to Modules/mediastream
+ https://bugs.webkit.org/show_bug.cgi?id=130434
+
+ Reviewed by Eric Carlson.
+
+ Those classes are defined in WebRTC spec, so they should not be in platform layer.
+ Adding a platform implementation to be passed to handler classes.
+
+ * Modules/mediastream/RTCConfiguration.h: Copied from Source/WebCore/platform/mediastream/RTCConfiguration.h.
+ * Modules/mediastream/RTCIceServer.h: Copied from Source/WebCore/platform/mediastream/RTCIceServer.h.
+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::RTCPeerConnection::RTCPeerConnection):
+ (WebCore::RTCPeerConnection::updateIce):
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/mediastream/RTCConfigurationPrivate.h: Added.
+ * platform/mediastream/RTCIceServerPrivate.h: Added.
+ * platform/mediastream/RTCPeerConnectionHandler.h:
+ * platform/mock/RTCPeerConnectionHandlerMock.cpp:
+ (WebCore::RTCPeerConnectionHandlerMock::initialize):
+ (WebCore::RTCPeerConnectionHandlerMock::updateIce):
+ * platform/mock/RTCPeerConnectionHandlerMock.h:
+
+2014-03-20 Alex Christensen <achristensen@webkit.org>
+
+ [WinCairo] Unreviewed speculative build after my r165996.
+
+ * platform/network/soup/AuthenticationChallengeSoup.cpp:
+ * platform/network/soup/CertificateInfo.cpp:
+ * platform/network/soup/CookieJarSoup.cpp:
+ * platform/network/soup/ResourceRequestSoup.cpp:
+ * platform/network/soup/ResourceResponseSoup.cpp:
+ * platform/network/soup/SynchronousLoaderClientSoup.cpp:
+
+2014-03-20 Brent Fulgham <bfulgham@apple.com>
+
+ Add a flushing mechanism for the WebVTTParser
+ https://bugs.webkit.org/show_bug.cgi?id=130532
+
+ Reviewed by Eric Carlson.
+
+ Merged from Blink (patch by vcarbune@chromium.org):
+ https://chromium.googlesource.com/chromium/blink/+/1ac2b3081492ab8661429230004013a9a3623f0f
+ http://crbug.com/54203003
+ https://chromium.googlesource.com/chromium/blink/+/24343d32bc36d20d59ef3e10040faddde65929e6
+ http://crbug.com/59453002
+ https://chromium.googlesource.com/chromium/blink/+/ef2793f1d9d207389589ecf9a136ea5c7170b4af
+ http://crbug.com/75233002
+ https://chromium.googlesource.com/chromium/blink/+/a29f2f8324abcd4826b41e7dc34373dee2ec57a9
+ http://crbug.com/52713005
+ https://chromium.googlesource.com/chromium/blink/+/7ce003c8d47b39f116f1f2a592a5dfb4a9e77228
+ http://crbug.com/64303004
+ https://chromium.googlesource.com/chromium/blink/+/18f896b3498478311e880f782813d5dfc8c0c7d1
+ http://crbug.com/96933004
+ https://chromium.googlesource.com/chromium/blink/+/8670e8ecb13254a651f5493ec83f4484d18c154e
+ http://crbug.com/98783005
+ https://chromium.googlesource.com/chromium/blink/+/4ac55780a6af3d76e0159c1d145330964ad56647
+ http://crbug.com/104713002
+
+ Tests: http/tests/media/track/track-webvtt-slow-loading-2.html
+ http/tests/media/track/track-webvtt-slow-loading.html
+
+ * CMakeLists.txt:
</ins><span class="cx"> * GNUmakefile.list.am:
</span><del>- * PlatformBlackBerry.cmake:
- * PlatformEfl.cmake:
- * PlatformWinCE.cmake:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
</del><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj:
</span><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj.filters:
</span><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * history/PageCache.cpp:
- * platform/SystemTime.h: Removed.
- * platform/blackberry/SystemTimeBlackBerry.cpp: Removed.
- * platform/efl/SystemTimeEfl.cpp: Removed.
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- * platform/mac/SystemTimeMac.cpp: Removed.
- * platform/qt/TemporaryLinkStubsQt.cpp:
- * platform/win/SystemTimeWin.cpp: Removed.
</del><ins>+ * html/track/BufferedLineReader.cpp: Added.
+ * html/track/BufferedLineReader.h: Added.
+ * html/track/TextTrackRegion.cpp:
+ * html/track/VTTCue.cpp:
+ * html/track/WebVTTParser.cpp:
+ * html/track/WebVTTParser.h:
+ * loader/TextTrackLoader.cpp:
</ins><span class="cx">
</span><del>-2013-05-16 Glenn Adams <glenn@skynav.com>
</del><ins>+2014-03-20 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- [Inspector] Don't filter syntax error caused by asterisk in CSS Property name.
- https://bugs.webkit.org/show_bug.cgi?id=116196
</del><ins>+ Preparation for using Soup on Windows.
+ https://bugs.webkit.org/show_bug.cgi?id=130472
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- * inspector/InspectorConsoleAgent.cpp:
- (WebCore::InspectorConsoleAgent::addMessageToConsole):
- - Remove questionable IE7 related error filtering
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ Added Soup source to build on WinCairo.
+ * platform/network/curl/CookieJarCurl.cpp:
+ * platform/network/curl/CredentialStorageCurl.cpp:
+ * platform/network/curl/CurlCacheEntry.cpp:
+ * platform/network/curl/CurlCacheManager.cpp:
+ * platform/network/curl/CurlDownload.cpp:
+ * platform/network/curl/DNSCurl.cpp:
+ * platform/network/curl/FormDataStreamCurl.cpp:
+ * platform/network/curl/MultipartHandle.cpp:
+ * platform/network/curl/ProxyServerCurl.cpp:
+ * platform/network/curl/ResourceHandleCurl.cpp:
+ * platform/network/curl/ResourceHandleManager.cpp:
+ * platform/network/curl/SSLHandle.cpp:
+ * platform/network/curl/SocketStreamHandleCurl.cpp:
+ Protected with USE(CURL) to avoid duplicate symbols when linking.
+ * platform/network/soup/AuthenticationChallengeSoup.cpp:
+ * platform/network/soup/CertificateInfo.cpp:
+ * platform/network/soup/CookieJarSoup.cpp:
+ * platform/network/soup/CookieStorageSoup.cpp:
+ * platform/network/soup/CredentialStorageSoup.cpp:
+ * platform/network/soup/DNSSoup.cpp:
+ * platform/network/soup/NetworkStorageSessionSoup.cpp:
+ * platform/network/soup/ProxyResolverSoup.cpp:
+ * platform/network/soup/ProxyServerSoup.cpp:
+ * platform/network/soup/ResourceErrorSoup.cpp:
+ * platform/network/soup/ResourceHandleSoup.cpp:
+ * platform/network/soup/ResourceRequestSoup.cpp:
+ * platform/network/soup/ResourceResponseSoup.cpp:
+ * platform/network/soup/SocketStreamHandleSoup.cpp:
+ * platform/network/soup/SoupNetworkSession.cpp:
+ * platform/network/soup/SynchronousLoaderClientSoup.cpp:
+ Protected with USE(CURL) to avoid duplicate symbols when linking.
</ins><span class="cx">
</span><del>-2013-05-16 Andreas Kling <akling@apple.com>
</del><ins>+2014-03-20 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>- Page::chrome() should return a reference.
- <http://webkit.org/b/116185>
</del><ins>+ iOS build fix after r165979.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * generate-export-file:
+ (preprocessorMacros):
</ins><span class="cx">
</span><del>- A Page's chrome() can never be null. Change Page::chrome() to return a reference to reflect this.
- Also, make Page::m_chrome a const member variable so nobody will accidentally set it to null.
</del><ins>+2014-03-20 David Hyatt <hyatt@apple.com>
</ins><span class="cx">
</span><del>-2013-05-16 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ [New Multicolumn] getClientRects returns wrong rectangle
+ https://bugs.webkit.org/show_bug.cgi?id=128614
</ins><span class="cx">
</span><del>- Content disappears when scrolling http://www.childrenscancer.org/zach/
- https://bugs.webkit.org/show_bug.cgi?id=116206
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
-
- When a RenderLayerBacking gains or loses a foregroundLayer or backgroundLayer,
- we need to repaint the primary layer, since what paints into that primary
- layer will change.
-
- On the page in question, we gained/lost a foreground layer when scrolling because
- the page popped an element into position:fixed.
</del><ins>+ Added fast/multicol/newmulticol/client-rects.html and beefed up existing
+ fast/multicol/client-rects.html to use more writing modes.
</ins><span class="cx">
</span><del>- Test: compositing/repaint/foreground-layer-change.html
</del><ins>+ * rendering/LayoutState.h:
+ Removed unused function.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateForegroundLayer):
- (WebCore::RenderLayerBacking::updateBackgroundLayer):
</del><ins>+ * rendering/RenderFlowThread.h:
+ Make mapFlowToRegion virtual so that RenderMultiColumnFlowThread can
+ override it.
</ins><span class="cx">
</span><del>-2013-05-16 Andy Estes <aestes@apple.com>
</del><ins>+ * rendering/RenderMultiColumnFlowThread.cpp:
+ (WebCore::RenderMultiColumnFlowThread::mapFromFlowToRegion):
+ * rendering/RenderMultiColumnFlowThread.h:
+ Implement mapFlowToRegion to correctly translate a flow thread position
+ into a column offset within a region.
</ins><span class="cx">
</span><del>- Do not indefinitely cache resources from blob URLs.
</del><ins>+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::columnTranslationForOffset):
+ (WebCore::RenderMultiColumnSet::adjustRegionBoundsFromFlowThreadPortionRect):
+ * rendering/RenderMultiColumnSet.h:
+ Refactored some code to make a columnTranslationForOffset helper that
+ can be used by RenderMultiColumnFlowThread.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+2014-03-20 Daniel Bates <dabates@apple.com>
</ins><span class="cx">
</span><del>- Alexey pointed out after I landed r150169 that blob URLs backed by
- files should return an error if the file changed after the URL was
- created. By indefinitely caching them in memory, we don't give the
- loader a chance to check for modification. Remove "blob" from the list
- of schemes that should be indefinitely cached.
</del><ins>+ Preserve original document URL for XSSAuditor reports
</ins><span class="cx">
</span><del>- * platform/SchemeRegistry.cpp:
- (WebCore::SchemeRegistry::shouldCacheResponsesFromURLSchemeIndefinitely):
</del><ins>+ Merged from Blink (patch by Tom Sepez):
+ https://src.chromium.org/viewvc/blink?view=rev&revision=158406
</ins><span class="cx">
</span><del>-2013-05-16 Claudio Saavedra <csaavedra@igalia.com>
</del><ins>+ Test: http/tests/security/xssAuditor/report-script-tag-replace-state.html
</ins><span class="cx">
</span><del>- [CSS] CSS Variables are case-sensitive
- https://bugs.webkit.org/show_bug.cgi?id=116239
</del><ins>+ * html/parser/XSSAuditor.cpp:
+ (WebCore::XSSAuditor::filterToken):
+ * html/parser/XSSAuditorDelegate.cpp:
+ (WebCore::buildConsoleError):
+ (WebCore::XSSAuditorDelegate::generateViolationReport):
+ (WebCore::XSSAuditorDelegate::didBlockScript):
+ * html/parser/XSSAuditorDelegate.h:
+ (WebCore::XSSInfo::XSSInfo):
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-03-20 Daniel Bates <dabates@apple.com>
</ins><span class="cx">
</span><del>- The CSS Variables specification states that variables are
- case-sensitive, unlike other CSS properties.
</del><ins>+ XSSAuditor bypass with frameset tags
</ins><span class="cx">
</span><del>- Test: fast/css/variables/case-sensitive.html
</del><ins>+ Merged from Blink (patch by Tom Sepez):
+ https://src.chromium.org/viewvc/blink?view=rev&revision=157794
</ins><span class="cx">
</span><del>- * css/CSSParser.cpp:
- (WebCore::CSSParserString::substring): Replace
- the now unnecessary lowerSubstring() with this method.
- Also, since the method is only used by the CSS variables
- implementation, #ifdef it.
- (WebCore::CSSParser::createPrimitiveVariableNameValue):
- (WebCore::CSSParser::storeVariableDeclaration):
- Do not normalize variable declarations to lowercase.
- * css/CSSParserValues.h:
- (CSSParserString): Replace the lowerSubstring() declaration
- and wrap with #if/#endif.
</del><ins>+ Test: http/tests/security/xssAuditor/frameset-injection.html
</ins><span class="cx">
</span><del>-2013-05-16 Brady Eidson <beidson@apple.com>
</del><ins>+ * html/parser/XSSAuditor.cpp:
+ (WebCore::XSSAuditor::filterStartToken):
+ (WebCore::XSSAuditor::filterFrameToken):
+ * html/parser/XSSAuditor.h:
</ins><span class="cx">
</span><del>- svg/as-image/img-zoom-svg-stylesheet.html crashes with NetworkProcess enabled.
- <rdar://problem/13837408> and https://bugs.webkit.org/show_bug.cgi?id=115917
</del><ins>+2014-03-20 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Web Replay: fix some oversights in the replay backend
+ https://bugs.webkit.org/show_bug.cgi?id=130435
</ins><span class="cx">
</span><del>- Give WebKit2 the ability to not mis-cast.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * loader/FrameLoaderClient.h:
- (WebCore::FrameLoaderClient::isEmptyFrameLoaderClient): Defaults to false, and include a FIXME
- to remove it once https://bugs.webkit.org/show_bug.cgi?id=116233 is resolved.
</del><ins>+ This functionality will be covered by tests in https://webkit.org/b/130145.
</ins><span class="cx">
</span><del>- * loader/EmptyClients.h: Make isEmptyFrameLoaderClient() return true, and add a FIXME to remove it.
</del><ins>+ * inspector/InspectorInstrumentation.cpp:
+ (WebCore::InspectorInstrumentation::playbackFinishedImpl):
+ * inspector/InspectorInstrumentation.h:
+ (WebCore::InspectorInstrumentation::playbackFinished):
+ * inspector/InspectorReplayAgent.cpp:
+ (WebCore::buildInspectorObjectForSegment):
+ (WebCore::InspectorReplayAgent::playbackFinished):
+ * inspector/InspectorReplayAgent.h: Add a playbackFinished event to Inspector
+ instrumentation. This is fired by ReplayController when playback is cancelled or
+ playback of the final segment has completed.
</ins><span class="cx">
</span><del>-2013-05-14 Martin Robinson <mrobinson@igalia.com>
</del><ins>+ * replay/EventLoopInputDispatcher.cpp:
+ (WebCore::EventLoopInputDispatcher::dispatchInputSoon): Fix wrong cast.
+ (WebCore::EventLoopInputDispatcher::dispatchInput): Ensure that m_dispatching is
+ false when m_running is false.
+ * replay/EventLoopInputDispatcher.h: Distinguish 'dispaching' and 'running' in comments.
+ (WebCore::EventLoopInputDispatcher::isRunning): Added.
</ins><span class="cx">
</span><del>- [GTK] Add support for building WebCore to the cmake build
- https://bugs.webkit.org/show_bug.cgi?id=116128
</del><ins>+ * replay/FunctorInputCursor.h: Since the base class InputCursor is RefCounted, the
+ Functor subclass cannot be put into a unique_ptr. Add create() method instead.
</ins><span class="cx">
</span><del>- Reviewed by Gustavo Noronha Silva.
</del><ins>+ * replay/ReplayController.cpp:
+ (WebCore::ReplayController::loadSegmentAtIndex): Renamed from loadSegment(). Callers
+ now pass in the desired segment index rather than the segment itself. The index is
+ necessary to properly reset m_position after the segment is loaded.
</ins><span class="cx">
</span><del>- * PlatformGTK.cmake: Added.
- * platform/gtk/GtkVersioning.c: Include "config.h" because we removed
- the autotoolsconfig.h include from the header.
- * platform/gtk/GtkVersioning.h: Remove autotoolsconfig.h include to support for
- non-autotools build systems.
</del><ins>+ (WebCore::ReplayController::startPlayback): Set the dispatcher's speed before run().
+ (WebCore::ReplayController::pausePlayback): Only pause the dispatcher if it's running.
+ (WebCore::ReplayController::cancelPlayback): Add playbackFinished instrumentation.
+ (WebCore::ReplayController::replayToPosition):
+ (WebCore::ReplayController::didDispatchFinalInput): If there are no more segments to load,
+ manually adjust the final m_position and defer to cancelPlayback to unload the segment.
+ * replay/ReplayController.h:
+ * replay/ReplaySessionSegment.cpp:
+ (WebCore::ReplaySessionSegment::createFunctorCursor):
+ * replay/ReplaySessionSegment.h:
</ins><span class="cx">
</span><del>-2013-05-15 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-03-20 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>- DocumentOrderedMap doesn't need to have two HashMaps
- https://bugs.webkit.org/show_bug.cgi?id=116167
</del><ins>+ [iOS] Get code to compile on older iOS versions
+ https://bugs.webkit.org/show_bug.cgi?id=130142
+ <rdar://problem/16302908>
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Previously, we had two hash maps: m_map and m_duplicateCounts in DocumentOrderedMap to keep track
- of the first element and the number of duplicates for a given name. This patch simplifies this structure
- by having a single hash map that contains both the pointer and the number of duplicates.
</del><ins>+ * WebCore.exp.in:
+ * platform/ios/WebVideoFullscreenControllerAVKit.mm:
+ (-[WebVideoFullscreenController WebCore::]):
+ (-[WebVideoFullscreenController enterFullscreen:]):
+ (-[WebVideoFullscreenController exitFullscreen]):
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ * platform/mac/HTMLConverter.mm:
+ (_dateForString):
+ * platform/network/cf/CookieJarCFNet.cpp:
+ (WebCore::copyCookiesForURLWithFirstPartyURL):
+ * platform/text/ios/LocalizedDateCache.mm:
+ (WebCore::LocalizedDateCache::calculateMaximumWidth):
+ * platform/text/mac/LocaleMac.mm:
+ (WebCore::LocaleMac::LocaleMac):
</ins><span class="cx">
</span><del>- In addition, this patch fixes a regression introduced in r149652 that window and document name maps
- were not updated for some elements inside a SVG use element, and makes use of the newly added list of
- the matching elements in SelectorQuery.
</del><ins>+2014-03-20 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * dom/DocumentOrderedMap.cpp:
- (WebCore::DocumentOrderedMap::clear): Updated to use the new hash map.
- (WebCore::DocumentOrderedMap::add): Ditto.
- (WebCore::DocumentOrderedMap::remove): Ditto.
- (WebCore::DocumentOrderedMap::get): Ditto.
- (WebCore::DocumentOrderedMap::getAllElementsById): Added.
</del><ins>+ Followup build fix: AnimationBase.h needs to be private because
+ it's included by AnimationController.h.
</ins><span class="cx">
</span><del>- * dom/DocumentOrderedMap.h:
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- (WebCore::DocumentOrderedMap::MapEntry::MapEntry): Added.
- (WebCore::DocumentOrderedMap::containsSingle): Updated to use new hash map.
- (WebCore::DocumentOrderedMap::contains): Ditto.
- (WebCore::DocumentOrderedMap::containsMultiple): Ditto.
</del><ins>+2014-03-20 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::insertedInto): This function didn't add this element to window and document's name maps
- if the element had already been inserted into a tree scope, and the current call was inserting an ancestor
- of the tree scope into the document. We were exiting early per scope != treeScope().
</del><ins>+ A completed fill-forwards animation should not disable overlap testing
+ https://bugs.webkit.org/show_bug.cgi?id=130522
+ <rdar://problem/15862395>
</ins><span class="cx">
</span><del>- Fixed the bug by splitting updateId into two functions updateIdForTreeScope and updateIdForDocument.
- The former is called when this element is inserted into a new tree scope, and the latter is called when
- this element is inserted into a HTML document even if it had already been inside some tree scope.
</del><ins>+ Reviewed by Dean Jackson.
+
+ Previously, if -webkit-transform was being keyframe-animated, and the
+ animation had fill-forwards, then we would continue to think that the
+ animation is running and turn off compositing overlap testing. This
+ caused some sites to keep too much backing store around.
+
+ Fix by having isRunning{Accelerated}AnimationOnRenderer take some flags
+ so that more specific questions about the running state can be asked.
+ For layer creation, keep using the same criteria as before (for now)
+ which includes paused and fill-forwards animations. For overlap testing,
+ don't include the fill-forwards test.
</ins><span class="cx">
</span><del>- (WebCore::Element::removedFrom): This function didn't remove this element from tree scope's id maps if
- the tree scope wasn't a document. Fixed the bug by simply checking that the removal happens beneath the
- current tree scope.
- (WebCore::Element::updateName):
- (WebCore::Element::updateNameForTreeScope): Renamed from updateName.
- (WebCore::Element::updateNameForDocument): Extracted from updateName.
- (WebCore::Element::updateId):
- (WebCore::Element::updateIdForTreeScope): Renamed from updateId.
- (WebCore::Element::updateIdForDocument): Extracted from updateId.
</del><ins>+ Tests: compositing/animation/filling-animation-overlap-at-end.html
+ compositing/animation/filling-animation-overlap.html
+ compositing/animation/layer-for-filling-animation.html
</ins><span class="cx">
</span><del>- * dom/Element.h:
</del><ins>+ * page/animation/AnimationBase.h:
+ (WebCore::AnimationBase::fillingForwards):
+ (WebCore::AnimationBase::inPausedState):
+ (WebCore::AnimationBase::isAnimatingProperty):
+ * page/animation/AnimationController.cpp:
+ (WebCore::AnimationControllerPrivate::isRunningAnimationOnRenderer):
+ (WebCore::AnimationControllerPrivate::isRunningAcceleratedAnimationOnRenderer):
+ (WebCore::AnimationController::isRunningAnimationOnRenderer):
+ (WebCore::AnimationController::isRunningAcceleratedAnimationOnRenderer):
+ * page/animation/AnimationController.h:
+ * page/animation/AnimationControllerPrivate.h:
+ * page/animation/CompositeAnimation.cpp:
+ (WebCore::CompositeAnimation::isAnimatingProperty):
+ * page/animation/CompositeAnimation.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::requiresCompositingForAnimation):
+ (WebCore::RenderLayerCompositor::isRunningAcceleratedTransformAnimation):
</ins><span class="cx">
</span><del>- * dom/SelectorQuery.cpp:
- (WebCore::SelectorDataList::canUseIdLookup): Refactored to return the id subselector instead of checking if
- the first subselector happens to be matching an id.
- (WebCore::SelectorDataList::execute): Use the subselector canUseIdLookup returned. Also make use of newly
- added getAllElementsById when there are multiple matching elements for a given id.
</del><ins>+2014-03-20 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- * dom/SelectorQuery.h:
</del><ins>+ Canvas methods clip/fill/stroke should not except 0 argument
+ https://bugs.webkit.org/show_bug.cgi?id=130497
</ins><span class="cx">
</span><del>- * dom/TreeScope.cpp:
- (WebCore::TreeScope::getAllElementsById): Added.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * dom/TreeScope.h:
</del><ins>+ Do not allow nullable argument for fill/stroke/clip.
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+ No new tests. Updated existing tests.
</ins><span class="cx">
</span><del>- [Mac] Make Clipboard::create functions for Mac platform independent by moving Pasteboard creation to Pasteboard functions
- https://bugs.webkit.org/show_bug.cgi?id=116179
</del><ins>+ * html/canvas/CanvasRenderingContext2D.idl:
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-03-20 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::createForCopyAndPaste): Moved the function here from
- ClipboardMac, and have it use Pasteboard functions that are not Mac-specific.
- (WebCore::Clipboard::create): Ditto.
- (WebCore::Clipboard::createForDragAndDrop): Ditto.
</del><ins>+ [iOS] Support MediaDocument when building with PLUGIN_PROXY_FOR_VIDEO
+ https://bugs.webkit.org/show_bug.cgi?id=130520
</ins><span class="cx">
</span><del>- * platform/DragData.h:
- (WebCore::DragData::pasteboardName): Made this const.
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Added new create functions, used by the clipboard
- create functions above.
</del><ins>+ * dom/DOMImplementation.cpp:
+ (WebCore::DOMImplementation::createDocument): Check the isVideoPluginProxyEnabled setting
+ when building with ENABLE_PLUGIN_PROXY_FOR_VIDEO.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm: Removed the functions that were moved to the
- Clipboard.cpp file.
</del><ins>+2014-03-20 Mihai Tica <mitica@adobe.com>
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::createForCopyAndPaste): Added.
- (WebCore::Pasteboard::createPrivate): Added.
- (WebCore::Pasteboard::createForDragAndDrop): Added.
</del><ins>+ [CSS Blending] Blending operation is not isolated when setting z-index on parent from javascript
+ https://bugs.webkit.org/show_bug.cgi?id=129307
</ins><span class="cx">
</span><del>-2013-05-15 Anders Carlsson <andersca@apple.com>
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Fix a thinko.
</del><ins>+ Reimplement the logic behind isolating blend modes. The blending operation should be limited to the
+ contents of the parent stacking context. The proposed solution implies adding logic in updateDescendantDependentFlags,
+ to track child elements that have blending and create a transparency layer that triggers isolation.
</ins><span class="cx">
</span><del>- We want to invalidate the file icon loader if it exists, not create it!
</del><ins>+ Tests: css3/compositing/blend-mode-background.html
+ fast/repaint/blend-mode-isolate-stacking-context.html
</ins><span class="cx">
</span><del>- * html/FileInputType.cpp:
- (WebCore::FileInputType::requestIcon):
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::RenderLayer): Remove old members, add new members to constructor.
+ (WebCore::RenderLayer::updateBlendMode): Update parent stacking context isolation on blend mode change.
+ (WebCore::RenderLayer::updateNonCompositedParentStackingContextHasBlendedChild):
+ - Set m_hasBlendedElementInChildStackingContext for the non composited parent stacking context.
+ (WebCore::RenderLayer::dirtyAncestorParentStackingContextHasBlendedElement):
+ - Set flag so isolation should be considered in updateDescendantDependentFlags.
+ (WebCore::RenderLayer::nonCompositedParentStackingContextHasBlendedChild):
+ - Return whether the non composited parent stacking context isolates blending.
+ (WebCore::RenderLayer::updateDescendantDependentFlags): Add logic for isolating blending.
+ (WebCore::RenderLayer::addChild): Call to updateNonCompositedParentStackingContextHasBlendedChild if needed.
+ (WebCore::RenderLayer::removeChild): Call to dirtyAncestorParentStackingContextHasBlendedElement if needed.
+ (WebCore::RenderLayer::updateStackingContextsAfterStyleChange): Update isolation when a stacking context was set or unset.
+ (WebCore::RenderLayer::styleChanged): Removed oldStyle parameter from updateBlendMode call.
+ Update parent stacking context isolation on blend mode change.
+ * rendering/RenderLayer.h:
+ - Add members, getters and setters for tracking whether the element has a blended child:
+ - m_hasBlendedElementInChildStackingContext
+ - m_hasBlendedElementInChildStackingContextStatusDirty
+ - Removed m_updateParentStackingContextShouldIsolateBlendingDirty (replaced with m_hasBlendedElementInChildStackingContextStatusDirty)
+ - Removed m_isolatesBlending (replaced with m_hasBlendedElementInChildStackingContext)
+ - Updated the isolatesBlending method to return true only when the element is a stacking context and has a blended child.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::computeCompositingRequirements): Removed layer.updateParentStackingContextShouldIsolateBlending call.
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+2014-03-20 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- Move drag-specific Clipboard functions inside ENABLE(DRAG_SUPPORT)
- https://bugs.webkit.org/show_bug.cgi?id=116176
</del><ins>+ [GTK] [CMake] Do not compile ProxyResolverSoup.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=130516
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Sergio Villar Senin.
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::writeRange):
- (WebCore::Clipboard::writePlainText):
- (WebCore::Clipboard::writeURL):
- Move these three functions inside ENABLE(DRAG_SUPPORT). Even though their names do
- not make it obvious, these are here only for use by dragging code. Later we may
- refactor them away entirely, but for now it's good not to compile them in on any
- platform that does not support dragging.
</del><ins>+ * PlatformGTK.cmake: Remove the file from the source list.
</ins><span class="cx">
</span><del>-2013-05-15 Andy Estes <aestes@apple.com>
</del><ins>+2014-03-20 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Resources from non-HTTP schemes should not be cached indefinitely
- https://bugs.webkit.org/show_bug.cgi?id=113626
</del><ins>+ Unreviewed, rolling out r165962.
+ https://bugs.webkit.org/show_bug.cgi?id=130512
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ It broke the build (Requested by Ossy on #webkit).
</ins><span class="cx">
</span><del>- With the exception of schemes that we know will always return the same
- result for a given URL, we should not indefinitely cache non-HTTP
- resources when their freshness cannot be verified.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Writing a test for this is blocked on https://webkit.org/b/116199.
</del><ins>+ "[EFL][GTK] Get CMake to find Freetype2 properly"
+ https://bugs.webkit.org/show_bug.cgi?id=130150
+ http://trac.webkit.org/changeset/165962
</ins><span class="cx">
</span><del>- The following two existing tests of memory cache behavior were
- converted to HTTP tests so that they continue to function as expected:
</del><ins>+2014-03-20 Lorenzo Tilve <ltilve@igalia.com>
</ins><span class="cx">
</span><del>- Tests: http/tests/cache/display-image-unset-allows-cached-image-load.html
- http/tests/cache/willsendrequest-returns-null-for-memory-cache-load.html
</del><ins>+ "input" event is not fired when changing a select element's value
+ https://bugs.webkit.org/show_bug.cgi?id=117526
</ins><span class="cx">
</span><del>- * loader/cache/CachedResource.cpp:
- (WebCore::CachedResource::freshnessLifetime): Returned a freshness
- lifetime of 0 for non-HTTP schemes that can't be indefinitely cached.
- * platform/SchemeRegistry.cpp:
- (WebCore::SchemeRegistry::shouldCacheResponsesFromURLSchemeIndefinitely):
- Checked whether the scheme is blob:, data:, or applewebdata:.
- * platform/SchemeRegistry.h:
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>-2013-05-15 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Add a call to dispatch input event when listbox or menulist
+ values are modified.
</ins><span class="cx">
</span><del>- makeRGBAFromNSColor throws an exception if given a color in a greyscale colorspace
- https://bugs.webkit.org/show_bug.cgi?id=116198
- <rdar://problem/13904395>
</del><ins>+ According to the spec: "When the user agent is to send select update
+ notifications, queue a task to first fire a simple even that bubbles
+ named input at the select element, and then fire a simple event that
+ bubbles named change at the select element, using the user interaction
+ task source as the task source."
</ins><span class="cx">
</span><ins>+ Tests: fast/forms/select/listbox-oninput-fired.html
+ fast/forms/select/menulist-oninput-fired.html
+
+ * html/HTMLSelectElement.cpp:
+ (WebCore::HTMLSelectElement::listBoxOnChange):
+ (WebCore::HTMLSelectElement::dispatchChangeEventForMenuList):
+
+2014-03-20 Radu Stavila <stavila@adobe.com>
+
+ [CSS Regions] The height of a scrollable element flowed inside a scrollable region is not computed correctly
+ https://bugs.webkit.org/show_bug.cgi?id=129487
+
+ Reviewed by Andrei Bucur.
+
+ When propagating the layout overflow from the flowed element up to the flow thread itself,
+ the region's logical bottom padding and the element's logical bottom margin must be taken into consideration.
+ However, if the flowed element has overflow, the overflow will be painted over the region's padding
+ and the element's margin, in order to be compatible with the non-regions case.
+ More info can be found here: http://lists.w3.org/Archives/Public/www-style/2014Jan/0089.html
+
+ Tests: fast/regions/scrollable-region-content-size-horiz-bt.html
+ fast/regions/scrollable-region-content-size-no-overflow-horiz-bt.html
+ fast/regions/scrollable-region-content-size-no-overflow-vert-rl.html
+ fast/regions/scrollable-region-content-size-no-overflow.html
+ fast/regions/scrollable-region-content-size-relative.html
+ fast/regions/scrollable-region-content-size-vert-rl.html
+ fast/regions/scrollable-region-content-size-vertical-lr.html
+ fast/regions/scrollable-region-content-size.html
+ fast/regions/scrollable-region-scrollable-content.html
+
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::addRegionsOverflowFromChild):
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::rectFlowPortionForBox):
+
+2014-03-20 Zalan Bujtas <zalan@apple.com>
+
+ Subpixel rendering: Nested layers with subpixel accumulation paint to wrong position.
+ https://bugs.webkit.org/show_bug.cgi?id=130153
+
</ins><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- Block Objective-C exceptions in makeRGBAFromNSColor.
- Remove a comment saying that they're impossible.
</del><ins>+ Subpixels (fractional device pixels here) can accumulate through nested layers. Subpixels
+ need to be propagated through the layer tree so that painting coordinates match layout coordinates.
</ins><span class="cx">
</span><del>- Convert the incoming color to the DeviceRGB colorspace to match
- existing color sources. Some rare cases (attributed strings that come
- from PDFKit) can have DeviceGrayscale color spaces, which would
- previously throw an exception here.
</del><ins>+ Subpixel accumulation through nesting (absolute positioning, 2x display):
+ non-compositing case:
+ (nested boxes) (layout pos) (norm.paint pos) (translate accumulation, subpixel accumulation, final paint pos)
+ div -> top: 1.3px 1.3px 1.5px 1.5px 0.2px -> snapped 0.0px -> 1.5px
+ div -> top: 1.3px 2.6px 2.5px 3.0px 0.4px -> snapped 0.5px -> 2.5px
+ div -> top: 1.3px 3.9px 4.0px 4.5px 0.6px -> snapped 0.5px -> 4.0px
+ div -> top: 1.3px 5.2px 5.0px 6.0px 0.8px -> snapped 1.0px -> 5.0px
</ins><span class="cx">
</span><del>- * platform/graphics/mac/ColorMac.mm:
- (WebCore::makeRGBAFromNSColor):
</del><ins>+ compositing case:
+ (nested boxes) (layout pos) (norm.paint pos) (device pixel offset + fractional offset, final pos)
+ div -> top: 1.3px 1.3px 1.5px 1.0px + 0.3px -> snapped -> 1.5px
+ div -> top: 1.3px 2.6px 2.5px 2.5px + 0.1px -> snapped -> 2.5px
+ div -> top: 1.3px 3.9px 4.0px 3.5px + 0.4px -> snapped -> 4.0px
+ div -> top: 1.3px 5.2px 5.0px 5.0px + 0.2px -> snapped -> 5.0px
</ins><span class="cx">
</span><del>-2013-05-15 David Kilzer <ddkilzer@apple.com>
</del><ins>+ Tests: compositing/hidpi-nested-compositing-layers-with-subpixel-accumulation.html
+ fast/layers/hidpi-nested-layers-with-subpixel-accumulation.html
</ins><span class="cx">
</span><del>- BUILD FIX (r150140): Frame::editor() should return a reference for iOS, too
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paintLayerByApplyingTransform):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ * rendering/RenderLayerBacking.h:
+ (WebCore::RenderLayerBacking::devicePixelFractionFromRenderer):
</ins><span class="cx">
</span><del>- * platform/ios/ClipboardIOS.mm:
- (WebCore::ClipboardIOS::ClipboardIOS):
- (WebCore::ClipboardIOS::hasData):
- (WebCore::ClipboardIOS::clearData):
- (WebCore::ClipboardIOS::clearAllData):
- (WebCore::ClipboardIOS::getData):
- (WebCore::ClipboardIOS::setData):
- (WebCore::ClipboardIOS::types):
- (WebCore::ClipboardIOS::writeRange):
- * platform/ios/PasteboardIOS.mm:
- (WebCore::Pasteboard::getStringSelection):
- (WebCore::Pasteboard::writeSelection):
- (WebCore::Pasteboard::writePlainText):
- (WebCore::Pasteboard::writeImage):
- (WebCore::Pasteboard::plainText):
- (WebCore::documentFragmentWithRTF):
- (WebCore::Pasteboard::documentFragmentForPasteboardItemAtIndex):
- (WebCore::Pasteboard::documentFragment):
</del><ins>+2014-03-20 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>-2013-05-15 Anders Carlsson <andersca@apple.com>
</del><ins>+ [EFL][GTK] Get CMake to find Freetype2 properly
+ https://bugs.webkit.org/show_bug.cgi?id=130150
</ins><span class="cx">
</span><del>- Stop using the factory pattern in FileIconLoaderClient
- https://bugs.webkit.org/show_bug.cgi?id=116197
</del><ins>+ Reviewed by Csaba Osztrogonác.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Newer versions of CMake are not able to find Freetype2 correctly.
+ FindFreetype2.cmake checks for the version number in freetype.h header, since it seems that bug exists in
+ freetype2 repo, because a completely different version number is found in freetype2.pc.
</ins><span class="cx">
</span><del>- Move the FileIconLoader member out of FileIconLoaderClient and into FileInputType and remove the factory gunk.
</del><ins>+ * PlatformEfl.cmake:
+ * PlatformGTK.cmake:
</ins><span class="cx">
</span><del>- * html/FileInputType.cpp:
- (WebCore::FileInputType::~FileInputType):
- (WebCore::FileInputType::requestIcon):
- * html/FileInputType.h:
- (FileInputType):
- * platform/FileIconLoader.cpp:
- (WebCore::FileIconLoader::invalidate):
- * platform/FileIconLoader.h:
- (WebCore::FileIconLoaderClient::~FileIconLoaderClient):
- (FileIconLoader):
</del><ins>+2014-03-20 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>-2013-05-15 Anders Carlsson <andersca@apple.com>
</del><ins>+ Refactor checking log channel state in MediaPlayerPrivateGStreamerBase.
+ https://bugs.webkit.org/show_bug.cgi?id=130241
</ins><span class="cx">
</span><del>- Fix FileChooserClient design
- https://bugs.webkit.org/show_bug.cgi?id=116195
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ The channel was passed around only to check its state. Cleaned this up
+ by adding a method to check whether a log channel is enabled.
</ins><span class="cx">
</span><del>- FileChooserClient doesn't match the standard WebCore client idiom of only having virtual member functions.
- Instead it holds on to its FileChooser and it's even a factory for creating new file choosers(!).
</del><ins>+ * platform/Logging.cpp:
+ (WebCore::isLogChannelEnabled):
+ * platform/Logging.h:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ (WebCore::MediaPlayerPrivateGStreamerBase::createVideoSink):
</ins><span class="cx">
</span><del>- Fix this by making it an abstract class, and moving FileChooser into FileInputType.
</del><ins>+2014-03-20 Lorenzo Tilve <ltilve@igalia.com>
</ins><span class="cx">
</span><del>- * html/FileInputType.cpp:
- (WebCore::FileInputType::~FileInputType):
- Invalidate the file chooser.
</del><ins>+ Dispatch input event for Range element keyboard event
+ https://bugs.webkit.org/show_bug.cgi?id=129929
</ins><span class="cx">
</span><del>- (WebCore::FileInputType::handleDOMActivateEvent):
- Apply the file chooser settings.
</del><ins>+ Reviewed by Kent Tamura.
</ins><span class="cx">
</span><del>- (WebCore::FileInputType::applyFileChooserSettings):
- Recreate the file chooser with new settings.
</del><ins>+ For any value update, dispatch both input and change event.
+ Also removes extra dispatch change event, as event is dispatched
+ from TextFieldInputType:setValue.
</ins><span class="cx">
</span><del>- (WebCore::FileInputType::receiveDropForDirectoryUpload):
- Apply the settings.
</del><ins>+ Merged from Blink (patch by Habib Virji):
+ https://src.chromium.org/viewvc/blink?revision=168558&view=revision
</ins><span class="cx">
</span><del>- * platform/FileChooser.cpp:
- (WebCore::FileChooser::invalidate):
- Set m_client to null.
</del><ins>+ Test: fast/forms/range/range-keyboard-oninput-event.html
</ins><span class="cx">
</span><del>- (WebCore::FileChooser::chooseFiles):
- Early return.
</del><ins>+ * html/RangeInputType.cpp:
+ (WebCore::RangeInputType::handleKeydownEvent):
</ins><span class="cx">
</span><del>- * platform/FileChooser.h:
</del><ins>+2014-03-20 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-15 Gavin Barraclough <barraclough@apple.com>
</del><ins>+ Refine BatteryStatus module
+ https://bugs.webkit.org/show_bug.cgi?id=130495
</ins><span class="cx">
</span><del>- ScriptedAnimationController::setThrottled should extend MinimumAnimationInterval
- https://bugs.webkit.org/show_bug.cgi?id=116193
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler
</del><ins>+ Small refinements:
+ - Return PassRef instead of PassRefPtr in create method
+ - Switched to nullptr instead of 0 where appropriate.
+ - Removed unused function and header file.
+ - Removed unnecessary empty lines.
</ins><span class="cx">
</span><del>- * dom/ScriptedAnimationController.cpp:
- (WebCore::ScriptedAnimationController::ScriptedAnimationController):
- (WebCore::ScriptedAnimationController::setThrottled):
- (WebCore::ScriptedAnimationController::scheduleAnimation):
- * dom/ScriptedAnimationController.h:
- (ScriptedAnimationController):
- - Fixes for review comments.
</del><ins>+ * Modules/battery/BatteryController.h:
+ * Modules/battery/BatteryManager.cpp:
+ (WebCore::BatteryManager::create): Make return passRef.
+ * Modules/battery/BatteryManager.h:
+ (WebCore::BatteryManager::batteryControllerDestroyed): Use nullptr.
+ * Modules/battery/BatteryStatus.cpp:
+ (WebCore::BatteryStatus::create): Make return passRef.
+ * Modules/battery/BatteryStatus.h:
+ * Modules/battery/NavigatorBattery.cpp:
+ (WebCore::NavigatorBattery::webkitBattery): Remove batteryManager().
+ * Modules/battery/NavigatorBattery.h:
</ins><span class="cx">
</span><del>-2013-05-15 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-19 Pratik Solanki <psolanki@apple.com>
</ins><span class="cx">
</span><del>- Move HTTPRequest class to WebKit2
- https://bugs.webkit.org/show_bug.cgi?id=116192
</del><ins>+ [iOS] Get code to compile on older iOS versions
+ https://bugs.webkit.org/show_bug.cgi?id=130142
+ <rdar://problem/16302908>
</ins><span class="cx">
</span><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- HTTPRequest is only used by the "remote inspector" feature in WebKit2,
- so there's no need to have it in WebCore.
</del><ins>+ * WebCore.exp.in:
+ * platform/ios/WebVideoFullscreenControllerAVKit.mm:
+ (-[WebVideoFullscreenController WebCore::]):
+ (-[WebVideoFullscreenController enterFullscreen:]):
+ (-[WebVideoFullscreenController exitFullscreen]):
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ * platform/mac/HTMLConverter.mm:
+ (_dateForString):
+ * platform/network/cf/CookieJarCFNet.cpp:
+ (WebCore::copyCookiesForURLWithFirstPartyURL):
+ * platform/text/ios/LocalizedDateCache.mm:
+ (WebCore::LocalizedDateCache::calculateMaximumWidth):
+ * platform/text/mac/LocaleMac.mm:
+ (WebCore::LocaleMac::LocaleMac):
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
</del><ins>+2014-03-19 Byungseon Shin <sun.shin@lge.com>
</ins><span class="cx">
</span><del>-2013-05-15 Oliver Hunt <oliver@apple.com>
</del><ins>+ Fix "WEBKIT_WEBGL_compressed_texture_pvrtc" extension support
+ https://bugs.webkit.org/show_bug.cgi?id=130292
</ins><span class="cx">
</span><del>- RefCountedArray needs to use vector initialisers for its backing store
- https://bugs.webkit.org/show_bug.cgi?id=116194
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Reviewed by Gavin Barraclough.
</del><ins>+ WebGLRenderingContext::getExtension was not returning WEBGL_compressed_texture_pvrtc extension.
</ins><span class="cx">
</span><del>- Update to use new functions for operating on the exception stack.
</del><ins>+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::getExtension):
</ins><span class="cx">
</span><del>- * bindings/js/ScriptCallStackFactory.cpp:
- (WebCore::createScriptCallStackFromException):
</del><ins>+2014-03-19 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>-2013-05-15 Gavin Barraclough <barraclough@apple.com>
</del><ins>+ Merge Misc. WebVTT Updates from Blink.
+ https://bugs.webkit.org/show_bug.cgi?id=130491
</ins><span class="cx">
</span><del>- ScriptedAnimationController::setThrottled should extend MinimumAnimationInterval
- https://bugs.webkit.org/show_bug.cgi?id=116193
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Test: media/track/track-webvtt-tc030-interspersed-non-cue.html
</ins><span class="cx">
</span><del>- * dom/ScriptedAnimationController.cpp:
- (WebCore::ScriptedAnimationController::ScriptedAnimationController):
- - initialize m_throttled
- (WebCore::ScriptedAnimationController::setThrottled):
- - sets m_throttled, reschedule when this changes.
- (WebCore::ScriptedAnimationController::scheduleAnimation):
- - if throtled don't use a display link, and extend the timeout.
- * dom/ScriptedAnimationController.h:
- (ScriptedAnimationController):
- - Added m_throttled
</del><ins>+ Merged from Blink (patch by vcarbune@chromium.org):
+ https://chromium.googlesource.com/chromium/blink/+/fb62b2b54944bd19026192c049a1db250756fc12
+ http://crbug.com/40323003
+ https://chromium.googlesource.com/chromium/blink/+/29176fb0b394a97e85f4dabc07e18329f3ceae41
+ http://crbug.com/54463002
+ https://chromium.googlesource.com/chromium/blink/+/29476f839a08cb17c5a3fc713f7e454e7cea9c60
+ http://crbug.com/55853002
+ https://chromium.googlesource.com/chromium/blink/+/ba2378ef873e786cf2937034e012669cdd37dfe8
+ http://crbug.com/65343003
+ https://chromium.googlesource.com/chromium/blink/+/1915b9aa1bba45aebf28531b40ae627ecf9a3d59
+ http://crbug.com/62833005
+ https://chromium.googlesource.com/chromium/blink/+/ea46dbd0f1f29779a1cd4f59b19361b803f09a9b
+ http://crbug.com/64273013
+ https://chromium.googlesource.com/chromium/blink/+/9eb4bb6b627357bb94d66386a4123ec004cccfc4
+ http://crbug.com/101513002
+ https://chromium.googlesource.com/chromium/blink/+/192a843b32eafb77bf92c50ec50d334ba935028a
+ http://crbug.com/102403002
+ https://chromium.googlesource.com/chromium/blink/+/15f9efcc952fcf73184e28fb9db79633c1fa6653
+ http://crbug.com/104443002
+ https://chromium.googlesource.com/chromium/blink/+/74fd66b451a464683f7cb748855b1740a54b2c16
+ http://crbug.com/75243004
</ins><span class="cx">
</span><del>-2013-05-08 Gavin Barraclough <barraclough@apple.com>
</del><ins>+ * html/track/TextTrackRegion.cpp:
+ (WebCore::TextTrackRegion::parseSettingValue):
+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCue::markFutureAndPastNodes):
+ (WebCore::VTTCue::setCueSettings):
+ * html/track/WebVTTParser.cpp:
+ (WebCore::scanDigits):
+ (WebCore::WebVTTParser::collectDigitsToInt):
+ (WebCore::WebVTTParser::parseFloatPercentageValue):
+ (WebCore::WebVTTParser::parseBytes):
+ (WebCore::WebVTTParser::collectMetadataHeader):
+ (WebCore::WebVTTParser::collectTimingsAndSettings):
+ (WebCore::WebVTTParser::createDocumentFragmentFromCueText):
+ (WebCore::WebVTTParser::createNewCue):
+ (WebCore::WebVTTParser::createNewRegion):
+ (WebCore::WebVTTParser::collectTimeStamp):
+ (WebCore::tokenToNodeType):
+ (WebCore::WebVTTParser::constructTreeFromToken):
+ * html/track/WebVTTParser.h:
+ * html/track/WebVTTToken.h:
+ (WebCore::WebVTTToken::name):
+ (WebCore::WebVTTToken::characters):
+ (WebCore::WebVTTToken::appendToCharacter):
+ (WebCore::WebVTTToken::addNewClass):
+ (WebCore::WebVTTToken::classes):
+ (WebCore::WebVTTToken::addNewAnnotation):
+ (WebCore::WebVTTToken::annotation):
+ * html/track/WebVTTTokenizer.cpp:
+ (WebCore::equalLiteral):
+ (WebCore::WebVTTTokenizer::WebVTTTokenizer):
+ (WebCore::WebVTTTokenizer::nextToken):
+ * html/track/WebVTTTokenizer.h:
</ins><span class="cx">
</span><del>- Process suppression should throttle scripted animations
- https://bugs.webkit.org/show_bug.cgi?id=115812
</del><ins>+2014-03-19 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ GC timer should intelligently choose between EdenCollections and FullCollections
+ https://bugs.webkit.org/show_bug.cgi?id=128261
</ins><span class="cx">
</span><del>- <rdar://problem/13799726>
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- - Expose Page::setThrottled
- * dom/Document.cpp:
- (WebCore::Document::scriptedAnimationControllerSetThrottled):
- (WebCore):
- * dom/Document.h:
- (Document):
- - Forwards to ScriptedAnimationController::setThrottled
- * dom/ScriptedAnimationController.cpp:
- (WebCore::ScriptedAnimationController::setThrottled):
- (WebCore):
- * dom/ScriptedAnimationController.h:
- - Force use of a timer.
- (ScriptedAnimationController):
- * page/Page.cpp:
- (WebCore::Page::setThrottled):
- (WebCore):
- * page/Page.h:
- (Page):
- - When under throttling force the ScriptedAnimationController to use a timer.
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>-2013-05-15 Igor Oliveira <igor.o@sisa.samsung.com>
</del><ins>+ Updated WebSafeGCActivityCallbacks for both Eden and Full timers.
</ins><span class="cx">
</span><del>- Implement run-in remove child cases.
- https://bugs.webkit.org/show_bug.cgi?id=86520
</del><ins>+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::commonVM):
+ * platform/ios/WebSafeGCActivityCallbackIOS.h:
</ins><span class="cx">
</span><del>- Move runin to original position when sibling element is destroyed.
</del><ins>+2014-03-19 Andy Estes <aestes@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Fix the iOS build after r165917.
</ins><span class="cx">
</span><del>- Tests: fast/runin/runin-remove-child-simple.html
- fast/runin/runin-sibling-inline.html
</del><ins>+ * platform/ios/WebCoreSystemInterfaceIOS.mm:
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::willBeDestroyed):
- (WebCore::RenderBlock::moveRunInUnderSiblingBlockIfNeeded):
- If moveRunInUnderSiblingBlockIfNeeded is called when the sibling run-in block
- is being destroyed, it means that the run-in is moving to original position and
- we do not need to do nothing.
</del><ins>+2014-03-19 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-15 Anders Carlsson <andersca@apple.com>
</del><ins>+ Unreviewed, rolling out r165926.
+ https://bugs.webkit.org/show_bug.cgi?id=130488
</ins><span class="cx">
</span><del>- Remove WebSocketHandshakeResponse class
- https://bugs.webkit.org/show_bug.cgi?id=116190
</del><ins>+ broke the iOS build (Requested by estes on #webkit).
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Just use ResourceResponse instead of WebSocketHandshakeResponse.
</del><ins>+ "GC timer should intelligently choose between EdenCollections
+ and FullCollections"
+ https://bugs.webkit.org/show_bug.cgi?id=128261
+ http://trac.webkit.org/changeset/165926
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Modules/websockets/WebSocketHandshake.cpp:
- (WebCore::WebSocketHandshake::readServerHandshake):
- (WebCore::WebSocketHandshake::serverWebSocketProtocol):
- (WebCore::WebSocketHandshake::serverSetCookie):
- (WebCore::WebSocketHandshake::serverSetCookie2):
- (WebCore::WebSocketHandshake::serverUpgrade):
- (WebCore::WebSocketHandshake::serverConnection):
- (WebCore::WebSocketHandshake::serverWebSocketAccept):
- (WebCore::WebSocketHandshake::serverHandshakeResponse):
- (WebCore::WebSocketHandshake::readHTTPHeaders):
- * Modules/websockets/WebSocketHandshake.h:
- * Modules/websockets/WebSocketHandshakeResponse.cpp: Removed.
- * Modules/websockets/WebSocketHandshakeResponse.h: Removed.
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore):
- (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponseImpl):
- * inspector/InspectorInstrumentation.h:
- (InspectorInstrumentation):
- (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponse):
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::didReceiveWebSocketHandshakeResponse):
- * inspector/InspectorResourceAgent.h:
- (WebCore):
- (InspectorResourceAgent):
</del><ins>+2014-03-19 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-15 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Unreviewed, rolling out r165929.
+ https://bugs.webkit.org/show_bug.cgi?id=130487
</ins><span class="cx">
</span><del>- [Mac] media engine may deliver NULL in-band "cue"
- https://bugs.webkit.org/show_bug.cgi?id=116180
</del><ins>+ in order to roll out r165926 (Requested by estes on #webkit).
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
- (WebCore::InbandTextTrackPrivateAVF::processCue): NULL check before logging cue count.
</del><ins>+ http://trac.webkit.org/changeset/165929
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+2014-03-19 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>- List platforms that still use the legacy clipboard instead of just saying "not Mac"
- https://bugs.webkit.org/show_bug.cgi?id=116177
</del><ins>+ Build fix for iOS after r165926
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::commonVM):
+ * platform/ios/WebSafeGCActivityCallbackIOS.h:
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Replaced the "!MAC || IOS" with a list of platforms still on the
- legacy model.
</del><ins>+2014-03-19 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>-2013-05-15 Yongjun Zhang <yongjun_zhang@apple.com>
</del><ins>+ Allow media engine to update HTMLMediaElement state when playing to external device
+ https://bugs.webkit.org/show_bug.cgi?id=130480
</ins><span class="cx">
</span><del>- We should clear mainResource in DocumentLoader::cancelMainResourceLoad.
- https://bugs.webkit.org/show_bug.cgi?id=116119
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Reviewed by Oliver Hunt.
</del><ins>+ * html/HTMLMediaElement.h: Add mediaPlayerHandlePlaybackCommand.
</ins><span class="cx">
</span><del>- MainResourceLoader::clearResource() was left out in r146239 when moving MainResourceLoader::cancel()
- to DocumentLoader::cancelMainResourceLoad(), we need to add it back to make sure m_mainResource is
- cleared when we cancel the loader.
</del><ins>+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::handlePlaybackCommand): New.
+ * platform/graphics/MediaPlayer.h:
+ (WebCore::MediaPlayerClient::mediaPlayerHandlePlaybackCommand):
</ins><span class="cx">
</span><del>- No new tests needed.
</del><ins>+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundation::rateChanged): Send Play and Pause commands when
+ playing to an external device.
</ins><span class="cx">
</span><del>- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::~DocumentLoader):
- (WebCore::DocumentLoader::continueAfterNavigationPolicy):
- (WebCore::DocumentLoader::cancelMainResourceLoad):
- (WebCore::DocumentLoader::clearMainResource):
- (WebCore):
- * loader/DocumentLoader.h: add helper method clearMainResource()
- (DocumentLoader):
</del><ins>+2014-03-19 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-15 Joe Mason <jmason@blackberry.com>
</del><ins>+ Implement isPointInPath and isPointInStroke with Path2D argument
+ https://bugs.webkit.org/show_bug.cgi?id=130473
</ins><span class="cx">
</span><del>- [BlackBerry] When HTTP auth fails, only purge credentials that match the failed credentials
- https://bugs.webkit.org/show_bug.cgi?id=116164
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Implement isPointInPath and isPointInStroke for 2D Canvas contxts
+ with Path2D argument.
</ins><span class="cx">
</span><del>- Internal PR: 338490
- Internally Reviewed By: Lyon Chen
</del><span class="cx">
</span><del>- When there are multiple HTTP requests in flight with the same bad credentials (common with
- proxy auth if the user mistyped their password), the first 407 that's received will cause
- the credentials to be purged and the password dialog to open for new credentials. This means
- that all 407's received after this should only purge the credentials if they have not
- already been updated from the dialog; otherwise they will be wiping out credentials that
- haven't failed yet.
</del><ins>+ Tests: fast/canvas/canvas-path-isPointInPath.html
+ fast/canvas/canvas-path-isPointInStroke.html
</ins><span class="cx">
</span><del>- * platform/network/blackberry/NetworkJob.cpp:
- (WebCore::NetworkJob::sendRequestWithCredentials):
- (WebCore::NetworkJob::purgeCredentials):
</del><ins>+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::isPointInPath):
+ (WebCore::CanvasRenderingContext2D::isPointInStroke):
+ (WebCore::CanvasRenderingContext2D::isPointInPathInternal):
+ (WebCore::CanvasRenderingContext2D::isPointInStrokeInternal):
+ * html/canvas/CanvasRenderingContext2D.h:
+ * html/canvas/CanvasRenderingContext2D.idl:
</ins><span class="cx">
</span><del>-2013-05-15 Chris Fleizach <cfleizach@apple.com>
</del><ins>+2014-03-13 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>- AX: Use caching when requesting children object on iOS
- https://bugs.webkit.org/show_bug.cgi?id=116112
</del><ins>+ GC timer should intelligently choose between EdenCollections and FullCollections
+ https://bugs.webkit.org/show_bug.cgi?id=128261
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Building up the children list in the AX hierarchy can be time consuming. On iOS, this
- is now much more noticeable (I believe due to the way tables calculate their AX ignored flag).
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- We can speed everything up if we just cache the isIgnored() attribute while building up children.
</del><ins>+ * platform/ios/WebSafeGCActivityCallbackIOS.h: Update WebSafeGCActivityCallback
+ appropriately for the introduction of another type of GCActivityCallback.
</ins><span class="cx">
</span><del>- * accessibility/AXObjectCache.cpp:
- (WebCore::AXAttributeCacheEnabler::AXAttributeCacheEnabler):
- (WebCore):
- (WebCore::AXAttributeCacheEnabler::~AXAttributeCacheEnabler):
- * accessibility/AXObjectCache.h:
- (AXAttributeCacheEnabler):
- (WebCore):
- * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
- (-[WebAccessibilityObjectWrapper accessibilityHitTest:]):
- (-[WebAccessibilityObjectWrapper accessibilityElementCount]):
- (-[WebAccessibilityObjectWrapper accessibilityElementAtIndex:]):
- (-[WebAccessibilityObjectWrapper indexOfAccessibilityElement:]):
- (-[WebAccessibilityObjectWrapper accessibilityContainer]):
</del><ins>+2014-03-18 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>-2013-05-15 Anders Carlsson <andersca@apple.com>
</del><ins>+ GC timer should intelligently choose between EdenCollections and FullCollections
+ https://bugs.webkit.org/show_bug.cgi?id=128261
</ins><span class="cx">
</span><del>- Remove WebSocketHandshakeRequest class
- https://bugs.webkit.org/show_bug.cgi?id=116178
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><ins>+ No new tests.
+
+ Updated WebSafeGCActivityCallbacks for both Eden and Full timers.
+
+ * platform/ios/WebSafeGCActivityCallbackIOS.h:
+
+2014-03-19 Antti Koivisto <antti@apple.com>
+
+ Crash with long selector list
+ https://bugs.webkit.org/show_bug.cgi?id=123006
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Turns out WebSocketHandshakeRequest is just used by the web inspector, and there's no reason
- why we can't just use a ResourceRequest instead.
</del><ins>+ Test: fast/css/long-selector-list-crash.html
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Modules/websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::didOpenSocketStream):
- * Modules/websockets/WebSocketHandshake.cpp:
- (WebCore::WebSocketHandshake::clientHandshakeRequest):
- * Modules/websockets/WebSocketHandshake.h:
- (WebCore):
- * Modules/websockets/WebSocketHandshakeRequest.cpp: Removed.
- * Modules/websockets/WebSocketHandshakeRequest.h: Removed.
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore):
- (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequestImpl):
- * inspector/InspectorInstrumentation.h:
- (InspectorInstrumentation):
- (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequest):
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest):
- * inspector/InspectorResourceAgent.h:
- (WebCore):
- (InspectorResourceAgent):
- * platform/network/HTTPRequest.cpp:
- (WebCore):
</del><ins>+ * css/CSSSelectorList.cpp:
+ (WebCore::CSSSelectorList::CSSSelectorList):
+ (WebCore::CSSSelectorList::adoptSelectorVector):
+ (WebCore::CSSSelectorList::operator=):
+ * css/StyleRule.cpp:
+ (WebCore::StyleRule::create):
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+ Add a bunch of asserts.
</ins><span class="cx">
</span><del>- Try to fix iOS build.
</del><ins>+ (WebCore::StyleRule::splitIntoMultipleRulesWithMaximumSelectorComponentCount):
+
+ This could produce a zero-length selector list.
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Fix #if so that we don't try to compile pasteboard name code
- on iOS.
</del><ins>+2014-03-19 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2013-05-13 Anders Carlsson <andersca@apple.com>
</del><ins>+ Rebaseline bindings tests.
</ins><span class="cx">
</span><del>- Frame::editor() should return a reference
- https://bugs.webkit.org/show_bug.cgi?id=116037
</del><ins>+ * bindings/scripts/test/JS/*:
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-03-04 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- A frame's editor can never be null. Change Frame::editor() to return a reference to reflect this.
- Also, make Frame::m_editor a const member variable so nobody will accidentally set it to null.
</del><ins>+ [iOS][MediaControls] Reverse-pinching using the built-in controls should enter full screen
+ https://bugs.webkit.org/show_bug.cgi?id=129707
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityObject.cpp:
- (WebCore::AccessibilityObject::hasMisspelling):
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (AXAttributeStringSetSpelling):
- * dom/ContainerNode.cpp:
- (WebCore::ContainerNode::cloneChildNodes):
- * dom/Document.cpp:
- (WebCore::acceptsEditingFocus):
- (WebCore::Document::setFocusedNode):
- (WebCore::command):
- * editing/AlternativeTextController.cpp:
- (WebCore::AlternativeTextController::timerFired):
- (WebCore::AlternativeTextController::applyDictationAlternative):
- * editing/CompositeEditCommand.cpp:
- (WebCore::EditCommandComposition::unapply):
- (WebCore::EditCommandComposition::reapply):
- (WebCore::CompositeEditCommand::apply):
- (WebCore::CompositeEditCommand::moveParagraphs):
- * editing/DeleteButton.cpp:
- (WebCore::DeleteButton::defaultEventHandler):
- * editing/DeleteButtonController.cpp:
- (WebCore::DeleteButtonController::show):
- * editing/DeleteButtonController.h:
- (WebCore::DeleteButtonControllerDisableScope::DeleteButtonControllerDisableScope):
- (WebCore::DeleteButtonControllerDisableScope::~DeleteButtonControllerDisableScope):
- * editing/DeleteSelectionCommand.cpp:
- (WebCore::DeleteSelectionCommand::mergeParagraphs):
- (WebCore::DeleteSelectionCommand::doApply):
- * editing/EditCommand.cpp:
- (WebCore::EditCommand::EditCommand):
- * editing/EditingStyle.cpp:
- (WebCore::StyleChange::StyleChange):
- * editing/Editor.cpp:
- (WebCore::Editor::markMisspellingsAfterTypingToWord):
- * editing/EditorCommand.cpp:
- (WebCore::applyCommandToFrame):
- (WebCore::executeToggleStyle):
- (WebCore::executeApplyParagraphStyle):
- (WebCore::expandSelectionToGranularity):
- (WebCore::stateStyle):
- (WebCore::valueStyle):
- (WebCore::executeCopy):
- (WebCore::executeCut):
- (WebCore::executeDefaultParagraphSeparator):
- (WebCore::executeDelete):
- (WebCore::executeDeleteBackward):
- (WebCore::executeDeleteBackwardByDecomposingPreviousCharacter):
- (WebCore::executeDeleteForward):
- (WebCore::executeDeleteToBeginningOfLine):
- (WebCore::executeDeleteToBeginningOfParagraph):
- (WebCore::executeDeleteToEndOfLine):
- (WebCore::executeDeleteToEndOfParagraph):
- (WebCore::executeDeleteToMark):
- (WebCore::executeDeleteWordBackward):
- (WebCore::executeDeleteWordForward):
- (WebCore::executeFindString):
- (WebCore::executeForwardDelete):
- (WebCore::executeIgnoreSpelling):
- (WebCore::executeInsertNewline):
- (WebCore::executeMakeTextWritingDirectionLeftToRight):
- (WebCore::executeMakeTextWritingDirectionNatural):
- (WebCore::executeMakeTextWritingDirectionRightToLeft):
- (WebCore::executeToggleOverwrite):
- (WebCore::executePaste):
- (WebCore::executePasteGlobalSelection):
- (WebCore::executePasteAndMatchStyle):
- (WebCore::executePasteAsPlainText):
- (WebCore::executeRedo):
- (WebCore::executeRemoveFormat):
- (WebCore::executeSelectToMark):
- (WebCore::executeSetMark):
- (WebCore::executeStyleWithCSS):
- (WebCore::executeUseCSS):
- (WebCore::executeSwapWithMark):
- (WebCore::executeTakeFindStringFromSelection):
- (WebCore::executeTranspose):
- (WebCore::executeUndo):
- (WebCore::executeYank):
- (WebCore::executeYankAndSelect):
- (WebCore::supportedCopyCut):
- (WebCore::supportedPaste):
- (WebCore::enabledVisibleSelection):
- (WebCore::enabledVisibleSelectionAndMark):
- (WebCore::enableCaretInEditableText):
- (WebCore::enabledCopy):
- (WebCore::enabledCut):
- (WebCore::enabledInEditableText):
- (WebCore::enabledDelete):
- (WebCore::enabledPaste):
- (WebCore::enabledRedo):
- (WebCore::enabledTakeFindStringFromSelection):
- (WebCore::enabledUndo):
- (WebCore::stateOrderedList):
- (WebCore::stateStyleWithCSS):
- (WebCore::stateUnorderedList):
- (WebCore::valueDefaultParagraphSeparator):
- * editing/FrameSelection.cpp:
- (WebCore::shouldAlwaysUseDirectionalSelection):
- (WebCore::FrameSelection::setSelection):
- (WebCore::FrameSelection::nextWordPositionForPlatform):
- (WebCore::FrameSelection::modifyMovingRight):
- (WebCore::FrameSelection::modifyMovingLeft):
- (WebCore::FrameSelection::modify):
- (WebCore::shouldStopBlinkingDueToTypingCommand):
- (WebCore::FrameSelection::shouldDeleteSelection):
- (WebCore::FrameSelection::shouldChangeSelection):
- * editing/InsertTextCommand.cpp:
- (WebCore::InsertTextCommand::doApply):
- * editing/SpellChecker.cpp:
- (WebCore::SpellChecker::didCheck):
- * editing/SpellingCorrectionCommand.cpp:
- * editing/TypingCommand.cpp:
- (WebCore::TypingCommand::insertText):
- (WebCore::TypingCommand::lastTypingCommandIfStillOpenForTyping):
- (WebCore::TypingCommand::markMisspellingsAfterTyping):
- (WebCore::TypingCommand::typingAddedToOpenCommand):
- (WebCore::TypingCommand::deleteKeyPressed):
- (WebCore::TypingCommand::forwardDeleteKeyPressed):
- * editing/htmlediting.cpp:
- (WebCore::createDefaultParagraphElement):
- * editing/mac/EditorMac.mm:
- (WebCore::Editor::pasteWithPasteboard):
- * editing/markup.cpp:
- (WebCore::createMarkup):
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::endEditing):
- * html/HTMLTextAreaElement.cpp:
- (WebCore::HTMLTextAreaElement::subtreeHasChanged):
- * html/TextFieldInputType.cpp:
- (WebCore::TextFieldInputType::handleKeydownEvent):
- (WebCore::TextFieldInputType::didSetValueByUserEdit):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::closeURL):
- (WebCore::FrameLoader::didOpenURL):
- (WebCore::FrameLoader::clear):
- * page/ContextMenuController.cpp:
- (WebCore::insertUnicodeCharacter):
- (WebCore::ContextMenuController::contextMenuItemSelected):
- (WebCore::ContextMenuController::populate):
- (WebCore::ContextMenuController::checkOrEnableIfNeeded):
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::find):
- * page/DragController.cpp:
- (WebCore::DragController::dispatchTextInputEventFor):
- (WebCore::DragController::concludeEditDrag):
- (WebCore::DragController::startDrag):
- * page/EventHandler.cpp:
- (WebCore::EventHandler::selectClosestWordFromMouseEvent):
- (WebCore::EventHandler::handleMousePressEventSingleClick):
- (WebCore::EventHandler::handlePasteGlobalSelection):
- (WebCore::EventHandler::sendContextMenuEvent):
- (WebCore::EventHandler::sendContextMenuEventForKey):
- (WebCore::EventHandler::keyEvent):
- (WebCore::EventHandler::defaultKeyboardEventHandler):
- (WebCore::EventHandler::defaultTextInputEventHandler):
- (WebCore::EventHandler::defaultBackspaceEventHandler):
- * page/FocusController.cpp:
- (WebCore::relinquishesEditingFocus):
- * page/Frame.cpp:
- (WebCore::Frame::rangeForPoint):
- * page/Frame.h:
- (Frame):
- (WebCore::Frame::editor):
- * page/Page.cpp:
- (WebCore::Page::findString):
- (WebCore::Page::findStringMatchingRanges):
- (WebCore::Page::rangeOfString):
- (WebCore::Page::markAllMatchesForText):
- (WebCore::Page::setDeviceScaleFactor):
- * platform/mac/ClipboardMac.mm:
- (WebCore::ClipboardMac::writeRange):
- * platform/mac/DragDataMac.mm:
- (WebCore::DragData::asURL):
- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::getStringSelection):
- (WebCore::Pasteboard::getDataSelection):
- (WebCore::Pasteboard::writeSelectionForTypes):
- (WebCore::writeURLForTypes):
- (WebCore::Pasteboard::plainText):
- (WebCore::documentFragmentWithRTF):
- (WebCore::Pasteboard::documentFragment):
- * rendering/HitTestResult.cpp:
- (WebCore::HitTestResult::dictationAlternatives):
- * rendering/InlineTextBox.cpp:
- (WebCore::InlineTextBox::paint):
- (WebCore::InlineTextBox::paintTextMatchMarker):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::positionForPointWithInlineChildren):
- * testing/Internals.cpp:
- (WebCore::spellchecker):
- (WebCore::Internals::resetToConsistentState):
- (WebCore::Internals::hasSpellingMarker):
- (WebCore::Internals::hasAutocorrectedMarker):
- (WebCore::Internals::setContinuousSpellCheckingEnabled):
- (WebCore::Internals::setAutomaticQuoteSubstitutionEnabled):
- (WebCore::Internals::setAutomaticLinkDetectionEnabled):
- (WebCore::Internals::setAutomaticDashSubstitutionEnabled):
- (WebCore::Internals::setAutomaticTextReplacementEnabled):
- (WebCore::Internals::setAutomaticSpellingCorrectionEnabled):
- (WebCore::Internals::isOverwriteModeEnabled):
- (WebCore::Internals::toggleOverwriteModeEnabled):
- (WebCore::Internals::hasGrammarMarker):
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+ The default controls on iOS should respond to a pinch gesture by entering fullscreen. Add a gesture
+ event listener, and enter full screen if the user does a quick (>2 velocity) reverse (>1.25 scale) pinch.
</ins><span class="cx">
</span><del>- [Mac] Make Clipboard class no longer polymorphic by removing the last virtual functions
- https://bugs.webkit.org/show_bug.cgi?id=116166
</del><ins>+ * Modules/mediacontrols/mediaControlsiOS.js:
+ (ControllerIOS.prototype.createBase):
+ (ControllerIOS.prototype.handlePlayButtonTouchEnd):
+ (ControllerIOS.prototype.handleBaseGestureStart):
+ (ControllerIOS.prototype.handleBaseGestureChange):
+ (ControllerIOS.prototype.handleBaseGestureEnd):
</ins><span class="cx">
</span><ins>+2014-03-19 Ryosuke Niwa <rniwa@webkit.org>
+
+ REGRESSION(r156316): Scrollbar on a large document is broken
+ https://bugs.webkit.org/show_bug.cgi?id=130474
+ <rdar://problem/16371523>
+
</ins><span class="cx"> Reviewed by Anders Carlsson.
</span><span class="cx">
</span><del>- * WebCore.exp.in: Add ~Clipboard since it's no longer a virtual function, but to the
- non-iOS section, since iOS is still using the legacy version of Clipboard.
</del><ins>+ The bug was caused by updateArrowPlacement() doing the work even though Scrollbar Overlay API is available.
+ Prior to r156316, this function exited early:
+ http://trac.webkit.org/browser/trunk/Source/WebCore/platform/mac/ScrollbarThemeMac.mm?rev=156315#L147
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Mark items non-virtual, too. It's not implemented on Mac yet.
</del><ins>+ Fixed the bug by deleting updateArrowPlacement() entirely.
</ins><span class="cx">
</span><del>-2013-05-15 Dongseong Hwang <dongseong.hwang@intel.com>
</del><ins>+ * platform/mac/ScrollbarThemeMac.mm:
+ (WebCore::ScrollbarThemeMac::preferencesChanged):
</ins><span class="cx">
</span><del>- Remove an overloaded strokeRect in <canvas>
- https://bugs.webkit.org/show_bug.cgi?id=116017
</del><ins>+2014-03-19 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ [Mac][EME] Query whether decoder support exists before creating a new MediaKeys object.
+ https://bugs.webkit.org/show_bug.cgi?id=130459
</ins><span class="cx">
</span><del>- The canvas spec [1] does not define strokeRect with 5 arguments, so this issue
- remains only strokeRect with 4 arguments.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- [1] http://www.w3.org/TR/2dcontext2/
</del><ins>+ * WebCore.exp.in: Export the new WCSI method.
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::supportsKeySystem): Bail early if we have no decoder support.
+ * platform/mac/WebCoreSystemInterface.h: Provide a WCSI wrapper for WKSI.
+ * platform/mac/WebCoreSystemInterface.mm: Ditto.
</ins><span class="cx">
</span><del>- Covered by existing tests: canvas/philip/tests/2d.missingargs.html
</del><ins>+2014-03-19 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::CanvasRenderingContext2D::strokeRect):
- * html/canvas/CanvasRenderingContext2D.h:
- (CanvasRenderingContext2D):
- * html/canvas/CanvasRenderingContext2D.idl:
</del><ins>+ Make Remote Control commands testable
+ https://bugs.webkit.org/show_bug.cgi?id=130358
</ins><span class="cx">
</span><del>-2013-05-15 Bruno de Oliveira Abinader <bruno.abinader@basyskom.com>
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- [css3-text] text-decoration-line now accepts "blink" as valid value
- https://bugs.webkit.org/show_bug.cgi?id=116104
</del><ins>+ Test: media/video-remote-control-playpause.html
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): Call session->clientWillPausePlayback.
+ (WebCore::HTMLMediaElement::didReceiveRemoteControlCommand): Log the command.
</ins><span class="cx">
</span><del>- As of November 13th 2012, the W3C specification has been updated to
- accept "blink" as a valid property value in text-decoration-line. Though
- accepting the value as valid, it is ignored as CSS Level 1
- text-decoration property currently does.
</del><ins>+ * platform/audio/MediaSession.cpp:
+ (WebCore::MediaSessionClient::mediaSessionTitle): Move from header file.
+ (WebCore::MediaSessionClient::mediaSessionDuration): Ditto.
+ (WebCore::MediaSessionClient::mediaSessionCurrentTime): Ditto.
+ * platform/audio/MediaSession.h:
</ins><span class="cx">
</span><del>- Updated related layout tests to reflect changes in specification.
</del><ins>+ * platform/audio/MediaSessionManager.cpp:
+ (WebCore::MediaSessionManager::MediaSessionManager): Get rid of m_activeSession.
+ (WebCore::MediaSessionManager::removeSession): No need to clear m_activeSession because
+ we use the m_sessions vector.
+ (WebCore::MediaSessionManager::sessionWillBeginPlayback): setCurrentSession takes a
+ MediaSession&.
+ (WebCore::MediaSessionManager::sessionWillEndPlayback): Keep m_sessions sorted so playing
+ sessions are before paused sessions.
+ (WebCore::MediaSessionManager::setCurrentSession): Move the session that is beginning to
+ play to the head of m_sessions.
+ (WebCore::MediaSessionManager::currentSession): Return m_sessions[0] or nullptr.
+ (WebCore::MediaSessionManager::didReceiveRemoteControlCommand):
+ * platform/audio/MediaSessionManager.h:
</ins><span class="cx">
</span><del>- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseValue):
- (WebCore::CSSParser::parseTextDecoration):
</del><ins>+ * platform/audio/ios/MediaSessionManagerIOS.mm: Include MediaPlayer.h.
</ins><span class="cx">
</span><del>-2013-05-14 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ * testing/Internals.cpp:
+ (WebCore::Internals::postRemoteControlCommand): New.
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>- Revert http://trac.webkit.org/changeset/150047
-
- It introduced unwanted behavioral differences between
- Retina and non-Retina Mac hardware.
</del><ins>+2014-03-19 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::requiresTiledLayer):
- (WebCore::GraphicsLayerCA::computePixelAlignment):
</del><ins>+ Improving webkitGetUserMedia error handling and error messages
+ https://bugs.webkit.org/show_bug.cgi?id=130452
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- [Mac] Remove the ClipboardMac class and header file
- https://bugs.webkit.org/show_bug.cgi?id=116165
</del><ins>+ Checking if first argument of webkitGetUserMedia is a valid Dictionary. If not, throw an exception with a
+ clearer message of the error.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Test updated.
</ins><span class="cx">
</span><del>- * WebCore.xcodeproj/project.pbxproj: Remove ClipboardMac.h.
- * editing/mac/EditorMac.mm: Import Clipboard.h rather than ClipboardMac.h.
- * page/mac/EventHandlerMac.mm: Ditto.
- * platform/mac/ClipboardMac.h: Removed.
</del><ins>+ * Modules/mediastream/NavigatorMediaStream.idl:
+ * UseJSC.cmake:
+ * bindings/js/JSNavigatorCustom.cpp: Added.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm: Import Clipboard.h rather than ClipboardMac.h.
- Deleted ClipboardMac constructor.
</del><ins>+2014-03-19 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+ JSC bindings should use the passed-in global object for wrapper caching.
+ <https://webkit.org/b/130458>
</ins><span class="cx">
</span><del>- [Mac] Change Clipboard::create functions so they don't use ClipboardMac::create any more
- https://bugs.webkit.org/show_bug.cgi?id=116163
</del><ins>+ Take a shorter path to the DOMWrapperWorld by using the passed-in
+ global object instead of getting the lexical global from ExecState.
+ Removed an old FIXME that no longer applies since JSObjects can
+ always find the right global object these days.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Reviewed by Geoff Garen.
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Made the file drag boolean default to false, better for most callers.
</del><ins>+ * bindings/js/JSCSSRuleCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSCSSStyleDeclarationCustom.cpp:
+ (WebCore::JSCSSStyleDeclaration::getPropertyCSSValue):
+ * bindings/js/JSCSSValueCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSDOMBinding.h:
+ (WebCore::createWrapper):
+ (WebCore::wrap):
+ (WebCore::getExistingWrapper):
+ (WebCore::createNewWrapper):
+ (WebCore::toJS):
+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::setTimeout):
+ (WebCore::JSDOMWindow::setInterval):
+ (WebCore::JSDOMWindow::addEventListener):
+ (WebCore::JSDOMWindow::removeEventListener):
+ * bindings/js/JSDocumentCustom.cpp:
+ (WebCore::JSDocument::location):
+ (WebCore::toJS):
+ * bindings/js/JSElementCustom.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/js/JSEventCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSHTMLCollectionCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSHTMLTemplateElementCustom.cpp:
+ (WebCore::JSHTMLTemplateElement::content):
+ * bindings/js/JSImageDataCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSNodeCustom.cpp:
+ (WebCore::createWrapperInline):
+ * bindings/js/JSNodeCustom.h:
+ (WebCore::toJS):
+ * bindings/js/JSSVGPathSegCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSStyleSheetCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSTextTrackCueCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSTrackCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSWorkerGlobalScopeCustom.cpp:
+ (WebCore::JSWorkerGlobalScope::setTimeout):
+ (WebCore::JSWorkerGlobalScope::setInterval):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm: Remove #if ENABLE(DRAG_SUPPORT); that's always on for Mac
- and it's not helpful to have the conditionals in here. It's helpful in cross-platform
- source files.
- (WebCore::Clipboard::create): Create a Pasteboard and then create a Clipboard with new.
- Later could refactor to have the Pasteboard creation be platform-specific, and make these
- functions platform-independent.
- (WebCore::Clipboard::createForDragAndDrop): Ditto.
- (WebCore::Clipboard::createForCopyAndPaste): Ditto.
</del><ins>+2014-03-19 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+ Page::setPageScaleFactor should not force the scroll view position when using delegatesScrolling()
+ https://bugs.webkit.org/show_bug.cgi?id=130429
</ins><span class="cx">
</span><del>- [Mac] Remove call to ClipboardMac::create from Editor::newGeneralClipboard
- https://bugs.webkit.org/show_bug.cgi?id=116162
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ When setting the same scale mutliple time (for example on load), Page was asking the top scrollview
+ to scroll to the origin. This is bogus since the scroll view is driving Page::setDeviceScaleFactor,
+ not the other way around.
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Add createForCopyAndPaste function.
</del><ins>+ Simon fixed the general case in http://trac.webkit.org/changeset/165652/trunk/Source/WebCore/page/Page.cpp
+ but this branch was still scrolling content.
</ins><span class="cx">
</span><del>- * editing/mac/EditorMac.mm:
- (WebCore::Editor::newGeneralClipboard): Call createForCopyAndPaste.
</del><ins>+ * page/Page.cpp:
+ (WebCore::Page::setPageScaleFactor):
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm:
- (WebCore::Clipboard::createForCopyAndPaste): Added. Moved code here from
- Editor::newGeneralClipboard.
</del><ins>+2014-03-19 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+ Filter out editable services from image menu for non-contenteditable images
+ <rdar://problem/16319645> and https://bugs.webkit.org/show_bug.cgi?id=130437
</ins><span class="cx">
</span><del>- [Mac] Remove call to ClipboardMac::create from EventHandler::createDraggingClipboard
- https://bugs.webkit.org/show_bug.cgi?id=116161
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Added createForDragAndDrop function.
</del><ins>+2014-03-19 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- * page/mac/EventHandlerMac.mm:
- (WebCore::EventHandler::createDraggingClipboard): Changed to use new Clipboard function
- instead of ClipboardMac::create.
</del><ins>+ Implement method addPath for Path2D
+ https://bugs.webkit.org/show_bug.cgi?id=130461
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm:
- (WebCore::Clipboard::createForDragAndDrop): Added. For now it does exactly what the
- EventHandler::createDraggingClipboard function did, soon to be refactored better.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+ Add support for the Path2D method addPath. The method allows
+ to append and existing Path2D object to another one. It can be
+ combined with a transformation matrix SVGMatrix.
</ins><span class="cx">
</span><del>- [Mac] Thin out the ClipboardMac class and header file to prepare for deleting them
- https://bugs.webkit.org/show_bug.cgi?id=116159
</del><ins>+ Test: fast/canvas/canvas-path-addPath.html
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * html/canvas/DOMPath.h: Add new method addPath().
+ (WebCore::DOMPath::addPath):
+ * html/canvas/DOMPath.idl:
+ * platform/graphics/Path.h: Add support for appending paths.
+ * platform/graphics/cairo/PathCairo.cpp:
+ (WebCore::Path::addPath):
+ * platform/graphics/cg/PathCG.cpp:
+ (WebCore::Path::addPath):
+ * platform/graphics/wince/PathWinCE.cpp:
+ (WebCore::Path::addPath):
</ins><span class="cx">
</span><del>- * dom/Clipboard.h:
- (WebCore::Clipboard::pasteboard): Added. For clients that have a DOM clipboard
- object and need to get to the Pasteboard platform abstraction.
</del><ins>+2014-03-19 Yongjun Zhang <yongjun_zhang@apple.com>
</ins><span class="cx">
</span><del>- * editing/Editor.cpp:
- (WebCore::Editor::dispatchCPPEvent): Call writePasteboard instead of writeClipboard.
- Our long term plan is to delete writeClipboard.
</del><ins>+ [iOS] WebKit2 Quicklook.
+ https://bugs.webkit.org/show_bug.cgi?id=130360
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Added writePasteboard function.
- (WebCore::Pasteboard::name): Made this const.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Deleted unneeded includes and forward declarations.
- Deleted all the data members and the virtual destructor.
</del><ins>+ Since ResourceLoaders using WebKit2 network process don't have ResourceHandle any more, we
+ need to make it possible to create QuickLookHandle from ResourceLoader.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm: Deleted the many includes that are no longer needed.
- Deleted the destructor, since it's now automatically generated. Deleted the comment
- on an #endif since it's only a few source lines away from the #if.
- (WebCore::ClipboardMac::ClipboardMac): Deleted the code to set the data members,
- since they are no longer used.
</del><ins>+ * WebCore.exp.in: Make some QuickLookHandle methods visible from WebKit2.
+ * loader/ResourceLoader.h: Add m_quickLookHandle data member to ResourceLoader.
+ (WebCore::ResourceLoader::quickLookHandle):
+ (WebCore::ResourceLoader::setQuickLookHandle):
+ * platform/network/ios/QuickLook.h: Add a new method to create QuickLookHandle from ResourceLoader.
+ * platform/network/ios/QuickLook.mm:
+ (WebCore::QuickLookHandle::create):
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm: Changed include to Clipboard.h instead of ClipboardMac.h.
- (WebCore::Pasteboard::writePasteboard): Replaced writeClipboard with this.
</del><ins>+2014-03-19 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>-2013-05-15 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ Fix cue rendering test and include support for left/right alignment
+ https://bugs.webkit.org/show_bug.cgi?id=130406
</ins><span class="cx">
</span><del>- Web Inspector: Get rid of addNativeSnapshotChunk and HeapSnapshotChunk from Memory domain
- https://bugs.webkit.org/show_bug.cgi?id=116144
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Timothy Hatcher.
</del><ins>+ Merged from Blink (patch by vcarbune@chromium.org):
+ https://chromium.googlesource.com/chromium/blink/+/e695703cb603421c741e59a557a7989113c13b94
+ http://crbug.com/25155003
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ No new tests. Covered by media/track/track-cue-rendering-snap-to-lines-not-set.html.
</ins><span class="cx">
</span><del>- * inspector/Inspector.json:
</del><ins>+ * html/track/VTTCue.cpp:
+ (WebCore::leftKeyword): Added.
+ (WebCore::rightKeyword): Added.
+ (WebCore::VTTCueBox::applyCSSProperties): Added.
+ (WebCore::VTTCue::VTTCue):
+ (WebCore::VTTCue::align): Handle left/right alignment.
+ (WebCore::VTTCue::setAlign): Ditto.
+ (WebCore::VTTCue::calculateDisplayParameters): Refactored and revised for left/right tokens.
+ (WebCore::VTTCue::setCueSettings): Ditto.
+ (WebCore::VTTCue::getCSSAlignment): Added.
+ (WebCore::VTTCue::getCSSWritingMode): Added.
+ * html/track/VTTCue.h:
</ins><span class="cx">
</span><del>-2013-05-15 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
</del><ins>+2014-03-18 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- [Qt] Fix a crash under ~PingLoader when the QNAM on the page has been destroyed.
- https://bugs.webkit.org/show_bug.cgi?id=116035
</del><ins>+ Add new functionality that will be required by the history item decoding
+ https://bugs.webkit.org/show_bug.cgi?id=130433
</ins><span class="cx">
</span><del>- Reviewed by Allan Sandfeld Jensen.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- The previous fix only moved the crash location from WebKit down to QNetworkReplyHttpImpl
- which expects its QNetworkAccessManager to still be alive.
</del><ins>+ * platform/KeyedCoding.h:
+ (WebCore::KeyedDecoder::decodeConditionalObject):
</ins><span class="cx">
</span><del>- Fix it by watching the QNetworkReply's destroyed() signal and avoid the dangling pointer
- instead. The QNetworkReply doesn't need to be aborted in this case anyway.
</del><ins>+2014-03-19 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper):
- (WebCore::QNetworkReplyWrapper::release):
- (WebCore::QNetworkReplyWrapper::stopForwarding):
- Rename resetConnections to stopForwarding since not all connections are related
- to data forwarding to the client anymore.
- (WebCore::QNetworkReplyWrapper::receiveMetaData):
- (WebCore::QNetworkReplyWrapper::replyDestroyed):
- (WebCore::QNetworkReplyWrapper::didReceiveFinished):
- * platform/network/qt/QNetworkReplyHandler.h:
- (QNetworkReplyWrapper):
</del><ins>+ Fix the iOS build.
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+ * html/BaseDateAndTimeInputType.cpp:
+ (WebCore::BaseDateAndTimeInputType::parseToDateComponents):
+ Missing a StringView().
</ins><span class="cx">
</span><del>- [Mac] Make Clipboard::declareAndWriteDragImage non-virtual
- https://bugs.webkit.org/show_bug.cgi?id=116156
</del><ins>+2014-03-19 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><ins>+ Tighten ElementRuleCollector::m_matchedRuleList typing
+ https://bugs.webkit.org/show_bug.cgi?id=130446
+
</ins><span class="cx"> Reviewed by Anders Carlsson.
</span><span class="cx">
</span><del>- * dom/Clipboard.h: Make declareAndWriteDragImage non-virtual for non-legacy.
</del><ins>+ StyleRuleBase -> StyleRule.
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h:
- (WebCore::Pasteboard::name): Added. Can be used in Mac platform code to do
- pasteboard operations directly instead of through the Pasteboard class
- functions. Not sure if we'll need it long term or not.
</del><ins>+ * css/ElementRuleCollector.cpp:
+ (WebCore::ElementRuleCollector::matchedRuleList):
+ * css/ElementRuleCollector.h:
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::styleRulesForElement):
+ (WebCore::StyleResolver::pseudoStyleRulesForElement):
+ * css/StyleResolver.h:
+ * editing/EditingStyle.cpp:
+ (WebCore::styleFromMatchedRulesForElement):
+ * inspector/InspectorCSSAgent.cpp:
+ (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
+ (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
+ * inspector/InspectorCSSAgent.h:
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::getMatchedCSSRules):
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed declareAndWriteDragImage function.
</del><ins>+2014-03-19 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm:
- (WebCore::Clipboard::declareAndWriteDragImage): Made this function a Clipboard
- member instead of ClipboardMac.
</del><ins>+ [CSSRegions] An unsplittable box is always displayed in a single region
+ https://bugs.webkit.org/show_bug.cgi?id=130451
</ins><span class="cx">
</span><del>-2013-05-15 Peter Gal <galpeter@inf.u-szeged.hu>
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- [curl] Remove version #if guards
- https://bugs.webkit.org/show_bug.cgi?id=116152
</del><ins>+ Add an ASSERT stating that an unsplittable box region range always contains 1 region.
+ No new functionality, no new tests.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::getRegionRangeForBox):
</ins><span class="cx">
</span><del>- No tests required.
</del><ins>+2014-03-19 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleCurl.cpp:
- (WebCore::ResourceHandle::platformSetDefersLoading): Removed version guard.
- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::writeCallback): Ditto.
- (WebCore::headerCallback): Ditto.
- (WebCore::readCallback): Ditto.
- (WebCore::ResourceHandleManager::dispatchSynchronousJob): Ditto.
- (WebCore::ResourceHandleManager::initializeHandle): Ditto.
</del><ins>+ Subpixel rendering: Transform origin is miscalculated when RenderLayer's
+ offsetfromRenderer has device pixel fraction value.
+ https://bugs.webkit.org/show_bug.cgi?id=129859
</ins><span class="cx">
</span><del>-2013-05-15 David Kilzer <ddkilzer@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- BUILD FIX (r150089): Make WebCoreTestShim build for iOS
</del><ins>+ We need to calculate the transformed origin using the painting coordinates to produce
+ pixel precise result.
</ins><span class="cx">
</span><del>- * Configurations/WebCoreTestShim.xcconfig: Exclude
- WebCoreTestShimLibrary.cpp when building for iOS.
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ (WebCore::RenderLayerBacking::computeTransformOriginForPainting):
+ * rendering/RenderLayerBacking.h:
</ins><span class="cx">
</span><del>-2013-05-15 Radu Stavila <stavila@adobe.com>
</del><ins>+2014-03-19 Claudio Saavedra <csaavedra@igalia.com>
</ins><span class="cx">
</span><del>- [CSSRegions] Implement offsetParent for elements inside named flow
- https://bugs.webkit.org/show_bug.cgi?id=113276
</del><ins>+ [GStreamer] Clean timeout source ids
+ https://bugs.webkit.org/show_bug.cgi?id=130450
</ins><span class="cx">
</span><del>- In the offsetParent algorithm, the nearest ancestor search skips from the topmost named flow elements directly to the body element.
- http://dev.w3.org/csswg/css-regions/#cssomview-offset-attributes
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- As a result of this change, the DumpRenderTree tool would crash in
- WebCore::RenderBoxModelObject::adjustedPositionRelativeToOffsetParent when running the selecting-text-through-different-region-flows.html
- test. The RenderObjects inside a flow are attached to the RenderFlowThread. However, the RenderFlowThread is attached to the
- RenderView directly, meaning that we are going to bypass the <body>'s RenderObject while iterating the parents.
</del><ins>+ Sources IDs need to be cleaned up if the callback removes the
+ source, otherwise we'll be attempting to remove an empty source at
+ some point.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp:
+ (webKitMediaVideoSrcStart): Clean the source id.
+ (webKitMediaAudioSrcStart): Ditto.
+ (webKitMediaVideoSrcSeekMainCb): Ditto.
+ (webKitMediaAudioSrcSeekMainCb): Ditto.
</ins><span class="cx">
</span><del>- Tests: fast/regions/offsetParent-body-in-flow-thread.html
- fast/regions/offsetParent-in-flow-thread.html
</del><ins>+2014-03-19 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><ins>+ [CSSRegions] Compute region ranges for children of inline blocks
+ https://bugs.webkit.org/show_bug.cgi?id=130392
+
+ Reviewed by Andrei Bucur.
+
+ Extend the region ranges computation for children of inline blocks.
+ When we cannot retrieve the region range for a box using cached information,
+ either from region range map or from the region cached on the RootInlineBox,
+ try to find the top most unsplittable box up to the flow thread boundary.
+ If we find such unsplittable box and the box has a region range, then return
+ this range.
+
+ Before this patch, method getRegionRangeForBox did not return true/false
+ if it was able to retrieve the range and the caller checked the returned
+ region values. I modified the method to return true if we were able to compute
+ the range.
+
+ Tests: fast/regions/inline-block-inline-children-flowed-in-regions.html
+ fast/regions/inline-blocks-dyn-enlarged-regions.html
+ fast/regions/inline-blocks-dyn-shrunk-regions.html
+ fast/regions/inline-blocks-in-two-regions.html
+
+ * inspector/InspectorOverlay.cpp:
+ (WebCore::buildObjectForRendererFragments):
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::updateRegionRangeForBoxChild):
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::hasNextPage):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::clampToStartAndEndRegions):
+ (WebCore::RenderBox::borderBoxRectInRegion):
+ (WebCore::RenderBox::computeRectForRepaint):
+ (WebCore::RenderBox::layoutOverflowRectForPropagation):
</ins><span class="cx"> * rendering/RenderBoxModelObject.cpp:
</span><del>- (WebCore::RenderBoxModelObject::adjustedPositionRelativeToOffsetParent):
</del><ins>+ (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::regionForCompositedLayer):
+ (WebCore::RenderFlowThread::adjustedPositionRelativeToOffsetParent):
+ (WebCore::RenderFlowThread::removeRenderBoxRegionInfo):
+ (WebCore::RenderFlowThread::logicalWidthChangedInRegionsForBlock):
+ (WebCore::RenderFlowThread::getRegionRangeForBoxFromCachedInfo):
+ (WebCore::RenderFlowThread::getRegionRangeForBox):
+ (WebCore::RenderFlowThread::objectShouldPaintInFlowRegion):
+ (WebCore::RenderFlowThread::objectInFlowRegion):
+ (WebCore::RenderFlowThread::addRegionsVisualEffectOverflow):
+ (WebCore::RenderFlowThread::addRegionsVisualOverflowFromTheme):
+ (WebCore::RenderFlowThread::addRegionsOverflowFromChild):
+ (WebCore::RenderFlowThread::addRegionsLayoutOverflow):
+ (WebCore::RenderFlowThread::addRegionsVisualOverflow):
+ (WebCore::RenderFlowThread::clearRegionsOverflow):
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::fragmentFromAbsolutePointAndBox):
</ins><span class="cx"> * rendering/RenderObject.cpp:
</span><del>- (WebCore::RenderObject::offsetParent):
</del><ins>+ (WebCore::RenderObject::locateFlowThreadContainingBlock):
+ Make sure we return the right render flow thread in the case of
+ region-based multicolumn inside named flows.
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::rectFlowPortionForBox):
</ins><span class="cx">
</span><del>-2013-05-15 Darin Adler <darin@apple.com>
</del><ins>+2014-03-19 Krzysztof Wolanski <k.wolanski@samsung.com>
</ins><span class="cx">
</span><del>- [Mac] Make Clipboard::createDragImage non-virtual
- https://bugs.webkit.org/show_bug.cgi?id=116136
</del><ins>+ [EFL] vibration/cancelVibration-during-pattern-vibrating.html is failing after r165598
+ https://bugs.webkit.org/show_bug.cgi?id=130333
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Made createDragImage non-virtual for non-legacy.
</del><ins>+ Added setting m_state when calling Vibration::vibrate. It was missing after
+ refactoring Vibration (r165598).
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed frame argument from create function
- and constructor. Removed createDragImage and dragNSImage. Removed m_frame
- data member.
</del><ins>+ * Modules/vibration/Vibration.cpp:
+ (WebCore::Vibration::vibrate):
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm:
- (WebCore::ClipboardMac::ClipboardMac): Removed frame argument and code
- to initialize m_frame.
- (WebCore::Clipboard::createDragImage): Merged the createDragImage and
- dragNSImage functions, since they were the same thing. Changed code to get
- the frame from the drag image element. Made the createDragImage function
- a Clipboard member instead of ClipboardMac.
</del><ins>+2014-03-19 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-15 Patrick Gansterer <paroga@webkit.org>
</del><ins>+ Rewrite WebHTMLConverter::_colorForNode in C++
+ https://bugs.webkit.org/show_bug.cgi?id=130443
</ins><span class="cx">
</span><del>- [WINCE] Fix calls to GlyphPage::setGlyphDataForIndex()
- https://bugs.webkit.org/show_bug.cgi?id=116137
-
</del><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Use zero for the glyp when the fontData pointer is null.
- This aligns GlyphPageTreeNodeWinCE with the other implementations
- and makes all ASSERT() pass in setGlyphDataForIndex().
</del><ins>+ * platform/mac/HTMLConverter.mm:
+ (_platformColor):
+ Rename from _colorForRGBColor and simplify to just do the platform conversion.
</ins><span class="cx">
</span><del>- * platform/graphics/wince/GlyphPageTreeNodeWinCE.cpp:
- (WebCore::GlyphPage::fill):
</del><ins>+ (normalizedColor):
+ Extract normalization out of _colorForRGBColor and remove cases that are impossible to hit
+ due to us only ever using the device color space.
</ins><span class="cx">
</span><del>-2013-05-15 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ (HTMLConverterCaches::colorPropertyValueForNode):
+ (-[WebHTMLConverter _colorForNode:property:]):
+ Convert to C++.
</ins><span class="cx">
</span><del>- Do not bloat HTMLTokenizer with a giant inline InputStreamPreprocessor::peek
- https://bugs.webkit.org/show_bug.cgi?id=116066
</del><ins>+ (-[WebHTMLConverter dealloc]):
+ (-[WebHTMLConverter init]):
+ Remove caches, we already cache in ColorMac.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-03-18 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/45e0337b2f2db535ab08365f6e763a5015e4d990.
</del><ins>+ [CSS Regions] Strange layout for content with region breaks
+ https://bugs.webkit.org/show_bug.cgi?id=121318
</ins><span class="cx">
</span><del>- On x86_64, this removes 40kb from the binary. On my machine it is completely neutral on performance.
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>- * html/parser/InputStreamPreprocessor.h:
- (WebCore::InputStreamPreprocessor::peek):
- (InputStreamPreprocessor):
- (WebCore::InputStreamPreprocessor::advance):
- (WebCore::InputStreamPreprocessor::skipNextNewLine):
- (WebCore::InputStreamPreprocessor::reset):
- (WebCore::InputStreamPreprocessor::processNextInputCharacter):
</del><ins>+ When break-inside: avoid is used on an element, the implementation tries to
+ force it inside a single fragmentation container even though the descendants
+ of the element specify forced breaks. This leads to unexpected results and
+ unstable layout.
</ins><span class="cx">
</span><del>-2013-05-14 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ The change extends the definition of unsplittable elements for flow threads
+ using the same conditions found inside RenderBlockFlow::adjustForUnsplittableChild.
+ This change forces elements that require break avoidance to have a single region
+ in the region range. As a result, forced breaks have no effect inside them.
</ins><span class="cx">
</span><del>- Remove WTF_USE_PLATFORM_STRATEGIES
- https://bugs.webkit.org/show_bug.cgi?id=114431
</del><ins>+ It should be noted this may not the behavior defined by the CSS3 Fragmentation spec.
+ From my understanding of the text, forced breaks override any avoidance specified
+ by ancestor elements. However, implementing this is a larger change that will require
+ a fundamental new approach in handling break avoidance. This patch just brings
+ consistency to the API.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Test: fast/regions/forced-break-inside-avoid-break.html
</ins><span class="cx">
</span><del>- * Modules/webdatabase/DatabaseManager.cpp:
- (WebCore::DatabaseManager::DatabaseManager):
- * dom/ContainerNode.cpp:
- (WebCore::ContainerNode::suspendPostAttachCallbacks):
- (WebCore::ContainerNode::resumePostAttachCallbacks):
- * dom/VisitedLinkState.cpp:
- (WebCore::VisitedLinkState::determineLinkStateSlowCase):
- * loader/CookieJar.cpp:
- (WebCore::cookies):
- (WebCore::setCookies):
- (WebCore::cookiesEnabled):
- (WebCore::cookieRequestHeaderFieldValue):
- (WebCore::getRawCookies):
- (WebCore::deleteCookie):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::loadResourceSynchronously):
- * loader/HistoryController.cpp:
- (WebCore::addVisitedLink):
- * loader/LoaderStrategy.cpp:
- * loader/LoaderStrategy.h:
- * loader/ResourceLoadScheduler.cpp:
- (WebCore::resourceLoadScheduler):
- * loader/ResourceLoader.cpp:
- (WebCore::ResourceLoader::releaseResources):
- (WebCore::ResourceLoader::willSendRequest):
- * loader/cache/CachedResource.cpp:
- (WebCore::CachedResource::load):
- * loader/cache/CachedResourceLoader.cpp:
- (WebCore::CachedResourceLoader::performPostLoadActions):
- * platform/CookiesStrategy.h:
- * platform/DatabaseStrategy.cpp:
- * platform/DatabaseStrategy.h:
- * platform/PasteboardStrategy.h:
- * platform/PlatformStrategies.cpp:
- * platform/PlatformStrategies.h:
- * platform/VisitedLinkStrategy.h:
- * platform/mac/PasteboardMac.mm:
- * platform/network/BlobRegistry.cpp:
- (WebCore::blobRegistry):
- * plugins/PluginData.cpp:
- (WebCore::PluginData::initPlugins):
- * plugins/PluginStrategy.h:
- * storage/StorageNamespace.cpp:
- (WebCore::StorageNamespace::localStorageNamespace):
- (WebCore::StorageNamespace::transientLocalStorageNamespace):
- (WebCore::StorageNamespace::sessionStorageNamespace):
- * storage/StorageStrategy.cpp:
- * storage/StorageStrategy.h:
- * workers/SharedWorkerStrategy.h:
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::childBoxIsUnsplittableForFragmentation):
+ (WebCore::RenderBlock::computeRegionRangeForBoxChild):
+ (WebCore::RenderBlock::estimateRegionRangeForBoxChild):
+ * rendering/RenderBlock.h:
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::adjustForUnsplittableChild): Move the avoidance conditions inside
+ a helper method RenderBlock::childBoxIsUnsplittableForFragmentation.
</ins><span class="cx">
</span><del>-2013-05-15 Dávid Szabolcs <David.Szabolcs@stud.u-szeged.hu>
</del><ins>+2014-03-18 Samuel White <samuel_white@apple.com>
</ins><span class="cx">
</span><del>- [curl] Add support for HttpOnly cookies
- https://bugs.webkit.org/show_bug.cgi?id=116102
</del><ins>+ AX: Not able to use arrow keys to read text with VoiceOver before selection is set someplace (anyplace).
+ https://bugs.webkit.org/show_bug.cgi?id=130250
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- * platform/network/curl/CookieJarCurl.cpp:
- (WebCore::addMatchingCurlCookie):
- (WebCore::cookiesForSession):
- (WebCore::cookiesForDOM):
- (WebCore):
- (WebCore::cookieRequestHeaderFieldValue):
</del><ins>+ If initial selection isn't set when we handle selection movement for accessibility, we need to set it. If we don't, using arrow
+ keys to read text with VoiceOver doesn't work as expected. Things will only start working after the user holds shift and arrows
+ around to select any arbitrary thing to force selection to get set. This logic handles that special case more gracefully.
</ins><span class="cx">
</span><del>-2013-05-14 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ Test: platform/mac/accessibility/selection-initial.html
</ins><span class="cx">
</span><del>- REGRESSION(r147548): Broken comboboxes
- https://bugs.webkit.org/show_bug.cgi?id=115475
</del><ins>+ * page/EventHandler.cpp:
+ (WebCore::handleKeyboardSelectionMovement):
+ (WebCore::EventHandler::handleKeyboardSelectionMovementForAccessibility):
+ * testing/Internals.cpp:
+ (WebCore::Internals::resetToConsistentState):
</ins><span class="cx">
</span><del>- Reviewed by Gustavo Noronha Silva.
</del><ins>+2014-03-18 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- The problem is that r147548 made the popup to be closed when a
- blur event is received. Right before showing the popup the input
- element is focused, so that after the the popup is shown the focus
- event is emitted and the event handler is called again hiding the
- popup.
</del><ins>+ TextTrackRegion Not Implemented
+ https://bugs.webkit.org/show_bug.cgi?id=116546
</ins><span class="cx">
</span><del>- * html/HTMLSelectElement.cpp:
- (WebCore::HTMLSelectElement::menuListDefaultEventHandler): Check
- element has lost the focus before closing the popup menu.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-05-14 Darin Adler <darin@apple.com>
</del><ins>+ Merged from Blink (patch by vcarbune@chromium.org):
+ https://chromium.googlesource.com/chromium/blink/+/4940f89a087fea5b5ea628e98d0b355d398a9eea
+ http://crbug.com/25798003
</ins><span class="cx">
</span><del>- [Mac] Move setDragImage from ClipboardMac to PasteboardMac
- https://bugs.webkit.org/show_bug.cgi?id=116036
</del><ins>+ Tests: media/track/regions-webvtt/text-track-region-display.html
+ media/track/regions-webvtt/text-track-region-dom-layout.html
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
+ * html/track/LoadableTextTrack.cpp:
+ (WebCore::LoadableTextTrack::newRegionsAvailable):
+ * html/track/TextTrack.cpp:
+ * html/track/TextTrack.h:
+ * html/track/TextTrackRegion.cpp:
+ (WebCore::TextTrackRegion::TextTrackRegion):
+ (WebCore::TextTrackRegion::appendTextTrackCueBox):
+ * html/track/TextTrackRegion.h:
+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCue::VTTCue):
+ (WebCore::VTTCue::notifyRegionWhenRemovingDisplayTree):
+ (WebCore::VTTCue::removeDisplayTree):
+ * html/track/VTTCue.h:
+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTParser::parseBytes):
+ (WebCore::WebVTTParser::collectMetadataHeader):
+ * html/track/WebVTTParser.h:
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::~Clipboard): Stop loading the drag image when
- the clipboard object is deallocated. It would be better if there was
- a more-well-defined time to stop the load.
- (WebCore::Clipboard::setDragImage): Added. Sets up a drag image
- based on a CachedImage. This tells the image loader to load the image
- and updates the drag image when the image arrives. Copied from the
- code in ClipboardMac, but refactored to use a separate loader object.
- (WebCore::Clipboard::setDragImageElement): Added. Sets up a drag image
- based on an element.
- (WebCore::Clipboard::updateDragImage): Added. Common code to update
- drag image when a new one is set or when a drag image load completes.
- (WebCore::DragImageLoader::create): Added.
- (WebCore::DragImageLoader::DragImageLoader): Ditto.
- (WebCore::DragImageLoader::startLoading): Ditto.
- (WebCore::DragImageLoader::stopLoading): Ditto.
- (WebCore::DragImageLoader::imageChanged): Ditto.
</del><ins>+2014-03-18 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Made setDragImage and setDragImageElement non-virtual
- for non-legacy. Added updateDragImage and m_dragImageLoader.
</del><ins>+ Share MemoryPressureHandler::releaseMemory() between platforms.
+ <https://webkit.org/b/130416>
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Added setDragImage function.
</del><ins>+ Move the code that scours WebKit for things we can free up right now
+ to the common part of MemoryPressureHandler. This will enable other
+ platforms to do the same thing under pressure.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed CachedImageClient as a base class
- for ClipboardMac. Removed setDragImage and setDragImageElement.
</del><ins>+ There's now also a platformReleaseMemory() where platform-specific
+ pressure relief stuff can go.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm: Removed setDragImage and setDragImageElement.
- (WebCore::ClipboardMac::~ClipboardMac): Removed code to remove self as
- client loading the drag image. This is now in the Clipboard base class.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::setDragImage): Added. Contains code moved here
- from ClipboardMac.
</del><ins>+ * platform/MemoryPressureHandler.cpp:
+ (WebCore::MemoryPressureHandler::releaseMemory):
+ (WebCore::MemoryPressureHandler::platformReleaseMemory):
+ * platform/MemoryPressureHandler.h:
+ * platform/mac/MemoryPressureHandlerMac.mm:
+ (WebCore::MemoryPressureHandler::respondToMemoryPressure):
+ (WebCore::MemoryPressureHandler::platformReleaseMemory):
</ins><span class="cx">
</span><del>-2013-05-14 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-03-18 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Use ElementTraversal in SelectorDataList::execute
- https://bugs.webkit.org/show_bug.cgi?id=116131
</del><ins>+ [WebGL] Destroy EAGLContext's backing store
+ https://bugs.webkit.org/show_bug.cgi?id=130439
+ <rdar://problem/16295217>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Use ElementTraversal::firstWithin and ElementTraversal::next to simplify the code.
</del><ins>+ When a GraphicsContext3D is being destroyed, we should
+ also remove any EAGLContext backing store.
</ins><span class="cx">
</span><del>- * dom/SelectorQuery.cpp:
- (WebCore::SelectorDataList::execute):
</del><ins>+ * platform/graphics/mac/GraphicsContext3DMac.mm:
+ (WebCore::GraphicsContext3D::~GraphicsContext3D):
</ins><span class="cx">
</span><del>-2013-05-14 Tim Horton <timothy_horton@apple.com>
</del><ins>+2014-03-18 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- [wk2] Not updating tiled backing coverage when main frame scrollability changes
- https://bugs.webkit.org/show_bug.cgi?id=116123
- <rdar://problem/13836559>
</del><ins>+ [iOS][WebKit2] Mark layer contents as being opaque if they are
+ https://bugs.webkit.org/show_bug.cgi?id=130427
+ <rdar://problem/15540434>
</ins><span class="cx">
</span><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- Export FrameView::adjustTiledBackingCoverage.
</del><ins>+ * platform/graphics/GraphicsLayerClient.h:
+ (WebCore::GraphicsLayerClient::paintsOpaquelyAtNonIntegralScales):
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::updateContentsOpaque):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::paintsOpaquelyAtNonIntegralScales):
+ * rendering/RenderLayerBacking.h:
+ r159463 stopped us from setting layers opaque if they were being painted
+ at non-integral scale. This makes sense for compositing layers, which
+ are painted by arbitrary elements, but the main frame's RenderView
+ will always paint its entire contents. To restore the opaque contents
+ optimization to the main frame's tiles, don't de-opaquify layers
+ belonging to the main frame's RenderView.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+2014-03-18 Jeffrey Pfau <jpfau@apple.com>
</ins><span class="cx">
</span><del>-2013-05-14 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Unify <media> element callback registration and unregistration
+ https://bugs.webkit.org/show_bug.cgi?id=130417
</ins><span class="cx">
</span><del>- [Mac] Add a testing shim for secure event input functions
- https://bugs.webkit.org/show_bug.cgi?id=116122
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Mark Rowe.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::HTMLMediaElement):
+ (WebCore::HTMLMediaElement::~HTMLMediaElement):
+ (WebCore::HTMLMediaElement::registerWithDocument):
+ (WebCore::HTMLMediaElement::unregisterWithDocument):
+ (WebCore::HTMLMediaElement::didMoveToNewDocument):
+ * html/HTMLMediaElement.h:
</ins><span class="cx">
</span><del>- Added a new target with a dynamic library that interposes secure event input functions.
- We need this to avoid interfering with user session state.
</del><ins>+2014-03-18 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- * Configurations/WebCoreTestShim.xcconfig: Added.
- * WebCore.xcodeproj/project.pbxproj:
- * platform/mac/DynamicLinkerInterposing.h: Moved from Source/WebKit2/Shared/mac/DyldInterpose.h.
- * testing/WebCoreTestShimLibrary.cpp: Added.
- (shimEnableSecureEventInput):
- (shimDisableSecureEventInput):
- (shimIsSecureEventInputEnabled):
</del><ins>+ MediaDocument should set a max-width on its <video> element.
+ https://bugs.webkit.org/show_bug.cgi?id=114691
</ins><span class="cx">
</span><del>-2013-05-14 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Get rid of Gradient::getColor()
- https://bugs.webkit.org/show_bug.cgi?id=116089
</del><ins>+ Set a style attribute containing max-width:100% and max-height:100% so that large videos
+ are entirely visible within the browser window bounds.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * html/MediaDocument.cpp:
+ (WebCore::MediaDocumentParser::createDocumentStructure):
</ins><span class="cx">
</span><del>- This code is now useless, remove it.
</del><ins>+2014-03-18 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>- * html/canvas/CanvasGradient.h:
- (CanvasGradient):
- * platform/graphics/Gradient.cpp:
- (WebCore::Gradient::Gradient):
- (WebCore::Gradient::hash):
- * platform/graphics/Gradient.h:
- (Gradient):
</del><ins>+ [WebRTC] Fix layering violation in RTCStatsRequest
+ https://bugs.webkit.org/show_bug.cgi?id=130426
</ins><span class="cx">
</span><del>-2013-05-14 David Hyatt <hyatt@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- REGRESSION: united.com has overlapping elements and is broken by flex box changes.
- https://bugs.webkit.org/show_bug.cgi?id=115329
- <rdar://problem/13690610>
-
- The new flexbox spec says that flex-basis omitted in the flex shorthand defaults to
- 0 when flex-grow/shrink are set. This has undesirable behavior when objects don't
- end up flexing at all, and it's something the spec is going to eventually address.
-
- For now, though, to fix the regression, I'm making a targeted "hack" to deliberately
- violate the spec, but to do so as minimally as possible. This hack detects if there
- is infinite available space on a line, and if so, it treats a flex-basis of 0 like
- auto.
-
- This means that when height is constrained and set by a container, flexing will do
- the right thing. Basically any time you end up actually flexing, the spec behavior
- should happen. If you're just laying out at intrinsic sizes, though, and no flexing
- is going to occur, we ignore a flex-basis of 0 and just use the child's normal size.
-
- Note that widths don't have to be patched because the preferred logical widths
- algorithm is broken right now and not checking flex-basis. If it did, we'd have seen
- the same bug in the width direction.
-
- This width issue is covered by https://bugs.webkit.org/show_bug.cgi?id=116117
-
- Reviewed by Simon Fraser.
</del><ins>+ RTCStatsRequest::track() should return a MediaStreamTrackPrivate*.
</ins><span class="cx">
</span><del>- Added fast/flexbox/auto-height-with-flex.html
</del><ins>+ No new tests needed.
</ins><span class="cx">
</span><del>- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::mainAxisContentExtent):
- Make sure we return LayoutUnit::max when you have infinite free space and not
- max - borderPadding.
</del><ins>+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::RTCPeerConnection::getStats):
+ * Modules/mediastream/RTCStatsRequestImpl.cpp:
+ (WebCore::RTCStatsRequestImpl::create):
+ (WebCore::RTCStatsRequestImpl::RTCStatsRequestImpl):
+ (WebCore::RTCStatsRequestImpl::track):
+ * Modules/mediastream/RTCStatsRequestImpl.h:
+ * platform/mediastream/RTCStatsRequest.h:
</ins><span class="cx">
</span><del>- (WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild):
- Only clear override size if it was set. Only mark for relayout if we did
- an override size clear (i.e., if we were actually flexed). Add a new parameter,
- hasInfiniteLineLength, that - if set - causes us to special case flex-basis:0
- and treat it like flex-basis:auto.
</del><ins>+2014-03-18 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::RenderFlexibleBox::layoutFlexItems):
- Define hasInfiniteLineLength and pass it to all the functions that need it.
</del><ins>+ Fix a trivial FIXME
+ https://bugs.webkit.org/show_bug.cgi?id=130432
</ins><span class="cx">
</span><del>- (WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes):
- Remove the code that marks for layout and does a layout so early. This code
- is moving (and changing) to preferredMainAxisContentExtentForChild.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- (WebCore::RenderFlexibleBox::computeNextFlexLine):
- Computes whether or not we have infinite line length now.
</del><ins>+ * history/HistoryItem.cpp:
+ (WebCore::HistoryItem::encodeBackForwardTreeNode):
</ins><span class="cx">
</span><del>- (WebCore::RenderFlexibleBox::freezeViolations):
- (WebCore::RenderFlexibleBox::resolveFlexibleLengths):
- Propagate hasInfiniteLineLength through to preferredMainAxisContentExtentForChild.
</del><ins>+2014-03-18 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderFlexibleBox.h:
- (RenderFlexibleBox):
- Add hasInfiniteLineLength parameter to a bunch of functions.
</del><ins>+ Begin cleaning up KeyedDecoder and KeyedEncoder
+ https://bugs.webkit.org/show_bug.cgi?id=130431
</ins><span class="cx">
</span><del>-2013-05-14 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- Assertion failure in GlyphPage::setGlyphDataForIndex: (!glyph || fontData == m_fontDataForAllGlyphs)
- <http://webkit.org/b/116113>
- <rdar://problem/13833790>
</del><ins>+ Rename KeyedDecoder::decodeVerifiedEnum to decodeEnum to match the encode function,
+ and sort the decode functions to be in the same logical order as the encode functions.
</ins><span class="cx">
</span><del>- Reviewed by Dan Bernstein.
</del><ins>+ * Modules/indexeddb/IDBKeyData.cpp:
+ (WebCore::IDBKeyData::decode):
+ * Modules/indexeddb/IDBKeyPath.cpp:
+ (WebCore::IDBKeyPath::decode):
+ * platform/KeyedCoding.h:
+ (WebCore::KeyedDecoder::decodeEnum):
</ins><span class="cx">
</span><del>- If we're filling a full GlyphPage with a SimpleFontData that is actually a composite font reference,
- we need to make sure we have per-glyph font data pointers, since it may end up using them.
</del><ins>+2014-03-18 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Added GlyphPage::mayUseMixedFontDataWhenFilling() which can be implemented by the platform to let
- GlyphPageTreeNode know that it should allocate a full-sized GlyphPage for mixed font data pointers
- in case the font is a composite font reference, or if there are CJK ideographs in the text.
</del><ins>+ Reduce use of deprecatedCharacters in WebCore
+ https://bugs.webkit.org/show_bug.cgi?id=130318
</ins><span class="cx">
</span><del>- This code can be made smarter, but that's outside the scope of this change.
- Fixes heavy asserting on bots running unreleased software.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * platform/graphics/GlyphPage.h:
- (GlyphPage):
- (WebCore::GlyphPage::mayUseMixedFontDataWhenFilling):
- * platform/graphics/GlyphPageTreeNode.cpp:
- (WebCore::GlyphPageTreeNode::initializePage):
- * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
- (WebCore::shouldUseCoreText):
- (WebCore::GlyphPage::mayUseMixedFontDataWhenFilling):
</del><ins>+ * Modules/indexeddb/IDBKeyPath.cpp:
+ (WebCore::IDBKeyPathLexer::IDBKeyPathLexer): Use StringView for parsing.
+ (WebCore::IDBKeyPathLexer::lex): Ditto.
+ (WebCore::IDBKeyPathLexer::lexIdentifier): Ditto.
</ins><span class="cx">
</span><del>-2013-05-14 Bem Jones-Bey <bjonesbe@adobe.com>
</del><ins>+ * Modules/indexeddb/leveldb/IDBLevelDBCoding.cpp:
+ (WebCore::IDBLevelDBCoding::encodeString): Index directly into string instead of
+ using deprecatedCharacters.
</ins><span class="cx">
</span><del>- Heap-use-after-free in WebCore::RenderBox::exclusionShapeOutsideInfo
- https://bugs.webkit.org/show_bug.cgi?id=115566
</del><ins>+ * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
+ (WebCore::ThreadableWebSocketChannelClientWrapper::setSubprotocol): Use
+ StringView::getCharactersWithUpconvert.
+ (WebCore::ThreadableWebSocketChannelClientWrapper::setExtensions): Ditto.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper arrayOfTextForTextMarkers:attributed:]):
+ Use operator NSString * instead of explicitly creating an NSString.
</ins><span class="cx">
</span><del>- When a portion of the render tree is being detached, anonymous blocks
- will be combined as their children are deleted. In this process, the
- anonymous block later in the tree is merged into the one preceeding it.
- It can happen that the later block contains floats that the previous
- block did not contain, and thus are not in the floating objects list for
- the new block. This can result in the new block containing floats that
- are not in it's floating objects list, but are in the floating objects
- lists of siblings and parents. This can cause problems when the float
- itself is deleted, since the deletion code assumes that if a float is not
- in it's containing block's floating objects list, it isn't in any
- floating objects list, causing dangling pointers in the floating objects
- lists of the siblings and parents. In order to preserve this condition
- (removing it has serious performance implications), we need to copy the
- floating objects from the old block to the new block. The float's
- metrics will likely all be wrong, but since the new block is already
- marked for layout, this will get fixed before anything gets displayed.
</del><ins>+ * bindings/js/SerializedScriptValue.cpp:
+ (WebCore::writeLittleEndianUInt16): Added.
+ (WebCore::CloneSerializer::serialize): Added a separate code path for 8-bit strings.
+ (WebCore::CloneSerializer::write): Ditto.
</ins><span class="cx">
</span><del>- Test: fast/block/float/float-append-child-crash.html
</del><ins>+ * bindings/objc/WebScriptObject.mm:
+ (+[WebScriptObject _convertValueToObjcValue:JSC::originRootObject:rootObject:]):
+ Use operator NSString * instead of explicitly creating an NSString.
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::moveAllChildrenIncludingFloatsTo): Copy
- floating objects list in addition to children.
- (WebCore::RenderBlock::FloatingObject::clone): Added.
- (WebCore::RenderBlock::removeChild): Use new method to copy children.
- * rendering/RenderBlock.h:
- (RenderBlock): Add method.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::parseQualifiedName): Index directly into string instead of
+ using deprecatedCharacters.
+ * editing/CompositeEditCommand.cpp:
+ (WebCore::containsOnlyWhitespace): Ditto.
+ * editing/SmartReplace.cpp:
+ (WebCore::addAllCodePoints): Ditto.
+ (WebCore::getSmartSet): Use StringView::upconvertedCharacters.
</ins><span class="cx">
</span><del>-2013-05-14 Commit Queue <commit-queue@webkit.org>
</del><ins>+ * editing/TextIterator.cpp:
+ (WebCore::foldQuoteMarksAndSoftHyphens): Changed to return a value so it can be
+ used in initialization rather than assignment.
+ (WebCore::SearchBuffer::SearchBuffer): Use StringView::upconvertedCharacters.
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r150023.
- http://trac.webkit.org/changeset/150023
- https://bugs.webkit.org/show_bug.cgi?id=116120
</del><ins>+ * editing/TypingCommand.cpp:
+ (WebCore::TypingCommand::insertText): Index directly into string instead of using
+ deprecatedCharacters.
+ * editing/VisiblePosition.cpp:
+ (WebCore::VisiblePosition::characterAfter): Ditto.
+ * editing/VisibleUnits.cpp:
+ (WebCore::startOfParagraph): Ditto.
+ (WebCore::endOfParagraph): Ditto.
</ins><span class="cx">
</span><del>- Causes table layout issues (Bug 116118) and crashes on
- buildbot waterfall pages. (Requested by ddkilzer on #webkit).
</del><ins>+ * fileapi/WebKitBlobBuilder.cpp:
+ (WebCore::BlobBuilder::append): Pass a StringView to TextEncoding::encode.
</ins><span class="cx">
</span><del>- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::calcRowLogicalHeight):
- * rendering/RenderTableSection.h:
- (RenderTableSection):
</del><ins>+ * html/BaseDateAndTimeInputType.cpp:
+ (WebCore::BaseDateAndTimeInputType::parseToDateComponents): Use
+ StringView::upconvertedCharacters.
</ins><span class="cx">
</span><del>-2013-05-14 Antoine Quint <graouts@apple.com>
</del><ins>+ * html/FormDataList.cpp:
+ (WebCore::FormDataList::appendString): Pass a StringView to TextEncoding::encode.
</ins><span class="cx">
</span><del>- Snapshotted plug-ins shadow tree should reset style inheritance
- https://bugs.webkit.org/show_bug.cgi?id=116098
</del><ins>+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::normalizeSpaces): Use StringView::getCharactersWithUpconvert.
</ins><span class="cx">
</span><del>- Reset the styles such that only injected user-agent stylesheets affect
- the rendering of snapshotted plug-ins' shadow content.
</del><ins>+ * html/parser/HTMLParserIdioms.cpp:
+ (WebCore::stripLeadingAndTrailingHTMLSpaces): Use characters16 for a code path
+ that already handled 8-bit characters separately.
+ (WebCore::parseHTMLNonNegativeInteger): Ditto.
+ (WebCore::parseDescriptors): Added an 8-bit code path.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * inspector/InspectorStyleSheet.cpp:
+ (WebCore::InspectorStyle::newLineAndWhitespaceDelimiters): Index directly into
+ string instead of using deprecatedCharacters.
+ * inspector/InspectorStyleTextEditor.cpp:
+ (WebCore::InspectorStyleTextEditor::insertProperty): Ditto.
+ (WebCore::InspectorStyleTextEditor::internalReplaceProperty): Ditto.
</ins><span class="cx">
</span><del>- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot):
</del><ins>+ * page/ContentSecurityPolicy.cpp:
+ (WebCore::isSourceListNone): Use StringView::upconvertedCharacters.
+ (WebCore::CSPSourceList::parse): Ditto.
+ (WebCore::NonceDirective::parse): Ditto.
+ (WebCore::MediaListDirective::parse): Ditto.
+ (WebCore::CSPDirectiveList::parse): Ditto.
+ (WebCore::CSPDirectiveList::parseReportURI): Ditto.
+ (WebCore::CSPDirectiveList::parseReflectedXSS): Ditto.
+ (WebCore::ContentSecurityPolicy::didReceiveHeader): Ditto.
</ins><span class="cx">
</span><del>-2013-05-14 Mihnea Ovidenie <mihnea@adobe.com>
</del><ins>+ * page/PageSerializer.cpp:
+ (WebCore::PageSerializer::serializeFrame): Pass a StringView into
+ TextEncoding::encode.
+ (WebCore::PageSerializer::serializeCSSStyleSheet): Ditto.
</ins><span class="cx">
</span><del>- [CSSRegions] Improve hit testing for empty regions
- https://bugs.webkit.org/show_bug.cgi?id=115534
</del><ins>+ * platform/Length.cpp:
+ (WebCore::countCharacter): Index directly into string instead of using
+ deprecatedCharacters. Also changed to take a StringImpl&.
+ (WebCore::newCoordsArray): Ditto. Call countCharacter the new way, and
+ use StringView::upconvertedCharacters.
+ (WebCore::newLengthArray): Ditto.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * platform/LinkHash.cpp:
+ (WebCore::visitedLinkHash): Use characters16 for the 16-bit path.
+ Also removed unused visitedURL function.
+ * platform/LinkHash.h: Removed unused visitedURL function.
</ins><span class="cx">
</span><del>- As a better follow up after WebKit bug https://bugs.webkit.org/show_bug.cgi?id=107752,
- we can improve the code by not doing hit testing on the render flow thread object when
- we are trying to hit test the render flow thread background. In this case, we should just bail out.
- No new tests, covered by existing regions tests.
</del><ins>+ * platform/SharedBuffer.cpp:
+ (WebCore::utf8Buffer): Added an 8-bit code path.
+ * platform/URL.cpp:
+ (WebCore::URL::port): Ditto.
+ (WebCore::encodeRelativeString): Use StringView to call TextEncoding::encode.
</ins><span class="cx">
</span><del>- * rendering/RenderFlowThread.cpp:
- (WebCore::RenderFlowThread::nodeAtPoint):
- (WebCore):
- (WebCore::RenderFlowThread::hitTestFlowThreadPortionInRegion):
- * rendering/RenderFlowThread.h:
</del><ins>+ * platform/graphics/Color.cpp:
+ (WebCore::Color::parseHexColor): Use characters16 in the 16-bit path.
+ (WebCore::Color::Color): Ditto.
</ins><span class="cx">
</span><del>-2013-05-14 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ * platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp:
+ (WebCore::harfBuzzGetGlyph): Use StringView to call TextEncoding::encode.
</ins><span class="cx">
</span><del>- [BlackBerry] Handle network errors when starting a new job
- https://bugs.webkit.org/show_bug.cgi?id=116101
</del><ins>+ * platform/graphics/StringTruncator.cpp:
+ (WebCore::centerTruncateToBuffer): Use StringView::getCharactersWithUpconvert.
+ (WebCore::rightTruncateToBuffer): Ditto.
+ (WebCore::rightClipToCharacterBuffer): Ditto.
+ (WebCore::rightClipToWordBuffer): Ditto.
+ (WebCore::leftTruncateToBuffer): Ditto.
+ (WebCore::truncateString): Ditto.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ * platform/graphics/TextRun.h:
+ (WebCore::TextRun::TextRun): Use characters16 in the 16-bit code path.
</ins><span class="cx">
</span><del>- Make startJob() return a network status that can be used by the
- caller to create a network error.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForLoadingOfResource):
+ Use StringView::upconvertedCharacters.
</ins><span class="cx">
</span><del>- * platform/network/blackberry/NetworkJob.cpp:
- (WebCore::NetworkJob::initialize): createNetworkStream() should
- always return a valid pointer so use an ASSERT instead of an early
- return to make sure we have a valid stream.
- (WebCore::NetworkJob::startNewJobWithRequest): Only return true if
- the network job was started successfully.
- * platform/network/blackberry/NetworkJob.h:
- (NetworkJob): Make initialize method void instead of bool since it
- can't fail.
- * platform/network/blackberry/NetworkManager.cpp:
- (WebCore::NetworkManager::startJob): Return a network error or
- StatusSuccess.
- * platform/network/blackberry/NetworkManager.h:
- (NetworkManager):
- * platform/network/blackberry/ResourceHandleBlackBerry.cpp:
- (WebCore::ResourceHandle::start): Return true if job was started
- successfully.
- (WebCore::ResourceHandle::platformLoadResourceSynchronously):
- Check return value of startJob and fill the ResourceError with the
- network status returned to finish the load.
</del><ins>+ * platform/network/DataURL.cpp:
+ (WebCore::handleDataURL): Use StringView to call TextEncoding::encode.
+ * platform/network/FormDataBuilder.cpp:
+ (WebCore::FormDataBuilder::addFilenameToMultiPartHeader): Ditto.
</ins><span class="cx">
</span><del>-2013-05-14 Antoine Quint <graouts@apple.com>
</del><ins>+ * platform/sql/SQLiteStatement.cpp:
+ (WebCore::SQLiteStatement::bindBlob): Use StringView::upconvertedCharacters.
+ (WebCore::SQLiteStatement::bindText): Ditto.
</ins><span class="cx">
</span><del>- [Mac] captions menu is not positioned correctly in full-screen
- https://bugs.webkit.org/show_bug.cgi?id=116103
</del><ins>+ * platform/text/DecodeEscapeSequences.h:
+ (WebCore::Unicode16BitEscapeSequence::decodeRun): Changed to take a StringView.
+ (WebCore::URLEscapeSequence::decodeRun): Ditto.
+ (WebCore::decodeEscapeSequences): Pass StringView to decodeRun.
</ins><span class="cx">
</span><del>- Update the positioning properties of the captions menu in full-screen
- following the fix for https://webkit.org/b/115968.
</del><ins>+ * platform/text/Hyphenation.cpp:
+ (WebCore::lastHyphenLocation): Take a StringView.
+ * platform/text/Hyphenation.h: Make lastHyphenLocation take a StringView.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/text/TextBreakIterator.cpp:
+ (WebCore::initializeIteratorWithRules): Use StringView::upconvertedCharacters.
</ins><span class="cx">
</span><del>- * css/fullscreenQuickTime.css:
- (video:-webkit-full-screen::-webkit-media-controls-closed-captions-container):
- Add 50px to the bottom position since we're now positioned relative to the
- media element, and use a calc() command to be right-aligned to the captions
- icon in the media controller. The max-width and max-height properties follow
- the same technique used for the non-full-screen mode.
</del><ins>+ * platform/text/TextEncoding.cpp:
+ (WebCore::TextEncoding::encode): Use StringView::upconvertedCharacters.
+ Change argument type to StringView.
+ * platform/text/TextEncoding.h: Ditto.
</ins><span class="cx">
</span><del>-2013-05-14 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ * platform/text/TextEncodingRegistry.cpp:
+ (WebCore::atomicCanonicalTextEncodingName): Use characters16 for the 16-bit path.
</ins><span class="cx">
</span><del>- [GTK] Move generated ColorData.cpp, WebKitFontFamilyNames.(cpp|h) build targets into libPlatform
- https://bugs.webkit.org/show_bug.cgi?id=115921
</del><ins>+ * platform/text/cf/HyphenationCF.cpp:
+ (WebCore::lastHyphenLocation): Use StringView::text.createCFStringWithoutCopying.
+ Change argument type to StringView.
</ins><span class="cx">
</span><del>- Reviewed by Gustavo Noronha Silva.
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::constructTextRun): Use characters16 for the 16-bit path.
</ins><span class="cx">
</span><del>- No new tests - no new functionality.
</del><ins>+ * rendering/RenderCombineText.cpp:
+ (WebCore::RenderCombineText::width): Removed check for null characters pointer,
+ since the pointer will never be null, and even if it was there would be no need
+ for an early exit.
</ins><span class="cx">
</span><del>- * GNUmakefile.am: Add platform_cppflags to the list of CPPFLAGS for libWebCoreSVG, libWebCore,
- libWebCorePlatform, libWebCoreGtk. Remove generation rules for ColorData.cpp and WebKitFontFamilyNames.(cpp|h).
- * GNUmakefile.list.am: Include the ColorData.cpp and WebKitFontFamilyNames.(cpp|h) build targers under
- platform_built_sources.
- * bindings/gobject/GNUmakefile.am: Add platform_cppflags to the list of libWebCoreDOM CPPFLAGS.
</del><ins>+ * rendering/RenderText.cpp:
+ (WebCore::maxWordFragmentWidth): Take a StringView.
+ (WebCore::RenderText::computePreferredLogicalWidths): Pass in a StringView.
+ * rendering/line/BreakingContextInlineHeaders.h:
+ (WebCore::tryHyphenating): Ditto.
</ins><span class="cx">
</span><del>-2013-05-14 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ * rendering/svg/SVGTextLayoutEngine.cpp:
+ (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath): Use
+ StringView::upconvertedCharacters.
</ins><span class="cx">
</span><del>- [GTK] libPlatform, libPlatformGtk must depend on the related GNUmakefiles
- https://bugs.webkit.org/show_bug.cgi?id=115937
</del><ins>+ * rendering/svg/SVGTextMetrics.cpp:
+ (WebCore::SVGTextMetrics::SVGTextMetrics): Use String::substring.
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ * svg/SVGAngle.cpp:
+ (WebCore::SVGAngle::setValueAsString): Use StringView::upconvertedCharacters.
+ * svg/SVGAnimateMotionElement.cpp:
+ (WebCore::parsePoint): Ditto.
+ * svg/SVGAnimationElement.cpp:
+ (WebCore::parseKeySplines): Ditto.
+ * svg/SVGFitToViewBox.cpp:
+ (WebCore::SVGFitToViewBox::parseViewBox): Ditto.
</ins><span class="cx">
</span><del>- No new tests - no new functionality.
</del><ins>+ * svg/SVGFontData.cpp:
+ (WebCore::SVGFontData::applySVGGlyphSelection): Pass StringView to
+ createStringWIthMirroredCharacters.
+ (WebCore::createStringWithMirroredCharacters): Changed to use StringView and
+ use indexing into that instead of a characters pointer.
</ins><span class="cx">
</span><del>- * GNUmakefile.am: Fix typos in two libraries' names - Webcore -> WebCore.
</del><ins>+ * svg/SVGFontData.h: Removed createStringWithMirroredCharacters member function,
+ since it has nothing to do with the SVGFontData object. Now it's just a private
+ helper function in the SVGFontData.cpp source file.
</ins><span class="cx">
</span><del>-2013-05-13 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * svg/SVGFontElement.cpp:
+ (WebCore::SVGFontElement::registerLigaturesInGlyphCache): Index into the string
+ instead of using deprecatedCharacters.
</ins><span class="cx">
</span><del>- Removing Attr can delete a wrong Attribute in ElementData
- https://bugs.webkit.org/show_bug.cgi?id=116077
</del><ins>+ * svg/SVGGlyphMap.h:
+ (WebCore::SVGGlyphMap::addGlyph): Use StringView::upconvertedCharacters.
+ (WebCore::SVGGlyphMap::collectGlyphsForString): Ditto.
+ * svg/SVGGlyphRefElement.cpp:
+ (WebCore::SVGGlyphRefElement::parseAttribute): Ditto.
+ * svg/SVGLength.cpp:
+ (WebCore::SVGLength::setValueAsString): Ditto.
+ * svg/SVGLengthList.cpp:
+ (WebCore::SVGLengthList::parse): Ditto.
+ * svg/SVGNumberList.cpp:
+ (WebCore::SVGNumberList::parse): Ditto.
+ * svg/SVGParserUtilities.cpp:
+ (WebCore::parseNumberFromString): Ditto.
+ (WebCore::parseNumberOptionalNumber): Ditto.
+ (WebCore::parseRect): Ditto.
+ (WebCore::pointsListFromSVGData): Ditto.
+ (WebCore::parseGlyphName): Ditto.
+ (WebCore::parseKerningUnicodeString): Ditto.
+ (WebCore::parseDelimitedString): Ditto.
+ * svg/SVGPreserveAspectRatio.cpp:
+ (WebCore::SVGPreserveAspectRatio::parse): Ditto.
+ * svg/SVGStringList.cpp:
+ (WebCore::SVGStringList::parse): Ditto.
+ * svg/SVGTransformList.cpp:
+ (WebCore::SVGTransformList::parse): Ditto.
+ * svg/SVGTransformable.cpp:
+ (WebCore::SVGTransformable::parseTransformType): Ditto.
+ * svg/SVGViewSpec.cpp:
+ (WebCore::SVGViewSpec::parseViewSpec): Ditto.
+ * svg/SVGZoomAndPan.h:
+ (WebCore::SVGZoomAndPan::parseAttribute): Ditto.
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
-
- Merge https://chromium.googlesource.com/chromium/blink/+/e861452a292e185501e48940305947aa6a4e23c2
- after simplifying and renaming functions to be more WebKit style.
</del><ins>+ * xml/XMLHttpRequest.cpp:
+ (WebCore::XMLHttpRequest::send): Pass a StringView to TextEncoding::encode.
</ins><span class="cx">
</span><del>- The XML parser can produce elements with attributes whose names have
- distinct prefixes, but the same expanded name. When one of these
- attributes is put up for adoption, it may be its similarly named
- sibling that is removed from its owner element. As a result the
- original owner hangs onto the adopted attribute, despite the fact that
- it is now in a different document. Sometimes it's just hard to let go.
</del><ins>+ * xml/XSLStyleSheetLibxslt.cpp:
+ (WebCore::XSLStyleSheet::parseString): Use StringView::upconvertedCharacters.
</ins><span class="cx">
</span><del>- Test: fast/dom/adopt-attribute-crash.svg
</del><ins>+2014-03-18 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::setAttributeNode):
- (WebCore::Element::removeAttributeNode):
- (WebCore::ElementData::getAttributeItemIndex):
- * dom/Element.h:
- (ElementData):
- (Element):
</del><ins>+ LayoutBox is a terrible name
+ https://bugs.webkit.org/show_bug.cgi?id=130351
</ins><span class="cx">
</span><del>-2013-05-14 Antti Koivisto <antti@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Remove ::-webkit-distributed()
- https://bugs.webkit.org/show_bug.cgi?id=116106
</del><ins>+ Rename LayoutBox to CSSBoxType. Also rename the functions and methods
+ that mention "LayoutBox" to something that makes sense for each
+ specific situation.
</ins><span class="cx">
</span><ins>+ No new tests, no behavior change.
+
+ * css/BasicShapeFunctions.cpp:
+ (WebCore::valueForBasicShape):
+ (WebCore::basicShapeForValue):
+ * css/CSSBasicShapes.cpp:
+ (WebCore::CSSBasicShapeCircle::cssText):
+ (WebCore::CSSBasicShapeCircle::equals):
+ (WebCore::CSSBasicShapeEllipse::cssText):
+ (WebCore::CSSBasicShapeEllipse::equals):
+ (WebCore::CSSBasicShapePolygon::cssText):
+ (WebCore::CSSBasicShapePolygon::equals):
+ (WebCore::CSSBasicShapeInset::cssText):
+ * css/CSSBasicShapes.h:
+ (WebCore::CSSBasicShape::referenceBox):
+ (WebCore::CSSBasicShape::setReferenceBox):
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::shapePropertyValue):
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
+ (WebCore::CSSPrimitiveValue::operator CSSBoxType):
+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::ApplyPropertyClipPath::applyValue):
+ (WebCore::ApplyPropertyShape::applyValue):
+ * page/animation/CSSPropertyAnimation.cpp:
+ (WebCore::blendFunc):
+ * rendering/ClipPathOperation.h:
+ (WebCore::ShapeClipPathOperation::setReferenceBox):
+ (WebCore::ShapeClipPathOperation::referenceBox):
+ (WebCore::BoxClipPathOperation::create):
+ (WebCore::BoxClipPathOperation::referenceBox):
+ (WebCore::BoxClipPathOperation::BoxClipPathOperation):
+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createBoxShape):
+ * rendering/shapes/Shape.h:
+ * rendering/shapes/ShapeInfo.cpp:
+ (WebCore::ShapeInfo<RenderType>::computedShape):
+ * rendering/shapes/ShapeInfo.h:
+ * rendering/shapes/ShapeInsideInfo.h:
+ * rendering/shapes/ShapeOutsideInfo.h:
+ * rendering/style/BasicShapes.cpp:
+ (WebCore::BasicShape::canBlend):
+ * rendering/style/BasicShapes.h:
+ (WebCore::BasicShape::referenceBox):
+ (WebCore::BasicShape::setReferenceBox):
+ (WebCore::BasicShape::BasicShape):
+ * rendering/style/RenderStyleConstants.h:
+ * rendering/style/ShapeValue.h:
+ (WebCore::ShapeValue::createShapeValue):
+ (WebCore::ShapeValue::createBoxShapeValue):
+ (WebCore::ShapeValue::cssBox):
+ (WebCore::ShapeValue::ShapeValue):
+
+2014-03-18 Daniel Bates <dabates@apple.com>
+
+ REGRESSION (r162334): RenderTableCol::styleDidChange uses out-of-date table information
+ https://bugs.webkit.org/show_bug.cgi?id=129561
+
+ Reviewed by Antti Koivisto.
+
+ Test: fast/table/update-col-width-and-remove-table-cell-crash.html
+
+ Fixes an issue where a table column or table column group may query an out-
+ of-date model of its associated table as part of its process to propagate
+ style changes to affected table cells.
+
+ * rendering/RenderTableCol.cpp:
+ (WebCore::RenderTableCol::styleDidChange): Ensure that all sections in the table
+ are up-to-date before querying for a table cell.
+ * rendering/RenderTableSection.cpp:
+ (WebCore::RenderTableSection::recalcCells): Update comment to read well. In
+ particular, remove the reference to RenderTableSection::fillRowsWithDefaultStartingAtPosition()
+ as this function was removed in <http://trac.webkit.org/changeset/99919>.
+ (WebCore::RenderTableSection::setNeedsCellRecalc): Clear the grid preemptively to
+ to ensure that accessors cannot access stale data. We'll build the grid again
+ in RenderTableSection::recalcCells().
+ (WebCore::RenderTableSection::numColumns): Add ASSERT(!m_needsCellRecalc) to assert
+ that the grid cells are up-to-date. That is, we don't need to calculate them again.
+ * rendering/RenderTableSection.h: Add ASSERT(!m_needsCellRecalc) or call recalcCellsIfNeeded()
+ before accessing the grid to ensure that it's up-to-date.
+
+2014-03-18 Daniel Bates <dabates@apple.com>
+
+ REGRESSION (r163560): ASSERTION FAILED: childrenInline() in WebCore::RenderSVGText::layout
+ https://bugs.webkit.org/show_bug.cgi?id=130346
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- This experimental Shadow DOM selector code is unused and has no owner.
</del><ins>+ Following <http://trac.webkit.org/changeset/163560>, SVG inline elements may be treated as block-
+ level elements depending on their CSS styles (e.g. display: block). But such elements should always
+ be treated as inline-level elements.
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+ Partially revert <http://trac.webkit.org/changeset/164368> as it addressed a similar issue for
+ <tspan> and <tref>. Instead we should implement RenderSVGInline::updateFromStyle() to ensure that
+ RenderSVGInline and any derived classes (e.g. RenderSVGTSpan) are always treated as inline elements
+ regardless of their CSS style because the SVG text layout code depends on this assumption as part
+ of a performance optimization. We may want to revaluate the benefits of this optimization with respect
+ to code clarity and ensuring the code is less error prone.
+
+ Test: svg/text/a-display-block.html
+ svg/text/tref-display-inherit.html
+
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::adjustRenderStyle): Revert changes from <http://trac.webkit.org/changeset/164368>.
+ * rendering/RenderInline.h:
+ * rendering/svg/RenderSVGInline.cpp:
+ (WebCore::RenderSVGInline::updateFromStyle): Added; ensure that RenderSVGInline and any derived
+ classes are treated as inline elements because the SVG text layout code depends on this assumption.
+ * rendering/svg/RenderSVGInline.h:
+
+2014-03-18 Hans Muller <hmuller@adobe.com>
+
+ [CSS Shapes] shape-outside: ellipse(50% 50% at) causes crash
+ https://bugs.webkit.org/show_bug.cgi?id=130366
+
+ Reviewed by Andreas Kling.
+
+ The BasicShape ellipse and circle functions now report a syntax error
+ if the "at" keyword is not followed by a position.
+
+ The existing parsing tests have been updated to include this case.
+
</ins><span class="cx"> * css/CSSParser.cpp:
</span><del>- (WebCore::CSSParser::rewriteSpecifiersWithNamespaceIfNeeded):
- (WebCore::CSSParser::rewriteSpecifiersWithElementName):
- * css/CSSParser.h:
- * css/CSSParserValues.cpp:
- (WebCore::CSSParserSelector::CSSParserSelector):
- * css/CSSParserValues.h:
- (CSSParserSelector):
- * css/CSSSelector.cpp:
- (WebCore::CSSSelector::pseudoId):
- (WebCore::nameToPseudoTypeMap):
- (WebCore::CSSSelector::selectorText):
- * css/CSSSelector.h:
- * css/CSSSelectorList.cpp:
- * css/CSSSelectorList.h:
- (CSSSelectorList):
- * css/DocumentRuleSets.cpp:
- (WebCore::DocumentRuleSets::resetAuthorStyle):
- * css/DocumentRuleSets.h:
- (DocumentRuleSets):
- * css/ElementRuleCollector.cpp:
- (WebCore::ElementRuleCollector::matchAuthorRules):
- * css/ElementRuleCollector.h:
- (ElementRuleCollector):
- * css/RuleSet.cpp:
- (WebCore::RuleSet::addChildRules):
- * css/SelectorChecker.cpp:
- (WebCore::SelectorChecker::match):
- * css/SelectorFilter.cpp:
- (WebCore::SelectorFilter::collectIdentifierHashes):
- * html/shadow/InsertionPoint.cpp:
- * html/shadow/InsertionPoint.h:
</del><ins>+ (WebCore::CSSParser::parseBasicShapeCircle):
+ (WebCore::CSSParser::parseBasicShapeEllipse):
</ins><span class="cx">
</span><del>-2013-05-14 Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
</del><ins>+2014-03-18 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>- Remove RenderTheme::supportsCalendarPicker
- https://bugs.webkit.org/show_bug.cgi?id=116068
</del><ins>+ Removing MediaStreamVector typedef
+ https://bugs.webkit.org/show_bug.cgi?id=130402
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- No new tests needed because it doesn't affect behaviour.
</del><ins>+ * Modules/mediastream/MediaStream.h:
+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::RTCPeerConnection::getLocalStreams):
+ (WebCore::RTCPeerConnection::getRemoteStreams):
+ (WebCore::RTCPeerConnection::getStreamById):
+ (WebCore::RTCPeerConnection::hasLocalStreamWithTrackId):
+ * Modules/mediastream/RTCPeerConnection.h:
</ins><span class="cx">
</span><del>- This method was never overrided by any platform
- and always leaded to the same behaviour.
- The code which depended on it was also removed.
</del><ins>+2014-03-18 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- * html/BaseMultipleFieldsDateAndTimeInputType.cpp:
- (WebCore::BaseMultipleFieldsDateAndTimeInputType::createShadowSubtree):
- (WebCore::BaseMultipleFieldsDateAndTimeInputType::updatePickerIndicatorVisibility):
- * html/BaseMultipleFieldsDateAndTimeInputType.h:
- (BaseMultipleFieldsDateAndTimeInputType):
- * page/ChromeClient.h:
- (ChromeClient):
- * rendering/RenderTheme.h:
</del><ins>+ Unreviewed, rolling out r165815.
+ https://bugs.webkit.org/show_bug.cgi?id=130410
</ins><span class="cx">
</span><del>-2013-04-30 Balazs Kelemen <b.kelemen@sisa.samsung.com>
</del><ins>+ Broke many VTT tests (Requested by bfulgham on #webkit).
</ins><span class="cx">
</span><del>- [GStreamer] cannot seek after video finished
- https://bugs.webkit.org/show_bug.cgi?id=114044
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ "TextTrackRegion Not Implemented"
+ https://bugs.webkit.org/show_bug.cgi?id=116546
+ http://trac.webkit.org/changeset/165815
</ins><span class="cx">
</span><del>- Test: media/video-seek-after-end.html
</del><ins>+2014-03-18 Renata Hodovan <rhodovan.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Reland without wrong assertion. If seek is called after didEnd the pipeline
- state will not be in GST_STATE_NULL yet but it is not a problem because we handle that.
</del><ins>+ Bad cast with toRenderBox in WebCore::RenderView::repaintViewRectangle
+ https://bugs.webkit.org/show_bug.cgi?id=129104
</ins><span class="cx">
</span><del>- Rework the seeking logic to be able to seek after reseting the pipeline.
- In addition to solve the actual problem this patch supposed to make seeking
- more robust and correct.
- The previous implementation tried to hide the complexity of asynchronous operations
- on the pipeline. It did not handle the GST_MESSAGE_ASYNC_DONE message from the bus
- but instead reported the seek as finished when it saw an asynchronous pending state
- (GST_STATE_CHANGE_ASYNC) which could happen way before the seek is really done.
- Now we pay attention to the GST_MESSAGE_ASYNC_DONE message to track the status of seeks.
- Seeks are not the only operations executed asynchronously, changing the pipeling state is
- similar. It means a seek can overlap with onother ongoing asynchronous operation.
- This change address this by introducing an invariant for seeks, which is that we only request
- a seek if there are no other ongoing asynchronous operations and the pipeline state is either
- paused or playing (which is recommended anyway according to GStreamer's documentation).
- This way we can be sure that the time when we get the next GST_MESSAGE_ASYNC_DONE message the
- seek has been completed.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
- (WebCore::toGstClockTime): Factored time conversation into a helper.
- (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
</del><ins>+ We should not cast the renderer of a RenderView's owner to RenderBox
+ unless we are sure it is one.
</ins><span class="cx">
</span><del>- (WebCore::MediaPlayerPrivateGStreamer::playbackPosition): The position might not be available
- if the pipeline still has a pending state. As a workaround, if we are right after a seek we can
- use the seek time. Avoiding this situation would be possible by not allowing any asynchronous
- operation to overlap. I believe it would add a lot more complexity so I decided to rather introduce
- this workaround. Otherwise those overlapping operations are handled fine by GStreamer.
</del><ins>+ Test: plugins/crash-invalid-data-reference.html
</ins><span class="cx">
</span><del>- (WebCore::MediaPlayerPrivateGStreamer::prepareToPlay): Do not reset internal state variables.
- This function called when there is an intent to restart playback but it does not actually restart it.
- (WebCore::MediaPlayerPrivateGStreamer::currentTime): Just removed a staling newline.
- (WebCore::MediaPlayerPrivateGStreamer::seek): Take a look to the pipeline state and act upon that.
- If there is an ongoing asynchronous operation make the seek pending, otherwise do it now.
- Now we handle overlapping seeks as well because I saw that it can happen in some tests.
- Added an early return for live streams as it doesn't makes sense to try seeking in them.
</del><ins>+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::repaintViewRectangle):
</ins><span class="cx">
</span><del>- (WebCore::MediaPlayerPrivateGStreamer::handleMessage): Handle GST_MESSAGE_ASYNC_DONE and some refactoring.
- (WebCore::MediaPlayerPrivateGStreamer::asyncStateChangeDone):
- (WebCore::MediaPlayerPrivateGStreamer::updateStates): Only handle seeks in the pending case, the rest is
- now handled in asyncStateChangeDone.
- (WebCore::MediaPlayerPrivateGStreamer::cacheDuration): Do not reset the m_mediaDurationKnown if the pipeline
- has an asynchronous pending state because it would fail. It does actually happen when we get a duration message
- after restarting the pipeline and it would result in restarting playback from the start. It seems to be a bug
- in GStreamer that it sends the duration message too early. Also sanitized this function by merging redundant branches.
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
- (MediaPlayerPrivateGStreamer):
</del><ins>+2014-03-18 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2013-05-14 Zalan Bujtas <zalan@apple.com>
</del><ins>+ Micro-optimize element descendant iterator.
+ <https://webkit.org/b/130384>
</ins><span class="cx">
</span><del>- Ellipsis text is placed to wrong position, when the truncated text is fully cut off in RTL direction.
- https://bugs.webkit.org/show_bug.cgi?id=115858
</del><ins>+ Add a slightly more efficient ElementDescendantIterator that keeps a stack
+ of relevant ancestor siblings instead of walking up the parent chain every
+ time we run out of children.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Take text direction into account to calculate ellipsis position in case of
- full truncation.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ * dom/ElementDescendantIterator.h: Added.
+ (WebCore::ElementDescendantIterator::ElementDescendantIterator):
+ (WebCore::ElementDescendantIterator::operator++):
+ (WebCore::ElementDescendantConstIterator::ElementDescendantConstIterator):
+ (WebCore::ElementDescendantConstIterator::operator++):
+ (WebCore::ElementDescendantIteratorAdapter::ElementDescendantIteratorAdapter):
+ (WebCore::ElementDescendantIteratorAdapter::begin):
+ (WebCore::ElementDescendantIteratorAdapter::end):
+ (WebCore::ElementDescendantConstIteratorAdapter::ElementDescendantConstIteratorAdapter):
+ (WebCore::ElementDescendantConstIteratorAdapter::begin):
+ (WebCore::ElementDescendantConstIteratorAdapter::end):
+ (WebCore::elementDescendants):
+ * dom/ElementIterator.h:
+ * dom/SelectorQuery.cpp:
+ (WebCore::elementsForLocalName):
+ (WebCore::anyElement):
+ (WebCore::SelectorDataList::executeSingleTagNameSelectorData):
+ (WebCore::SelectorDataList::executeSingleClassNameSelectorData):
+ (WebCore::SelectorDataList::executeSingleSelectorData):
+ (WebCore::SelectorDataList::executeSingleMultiSelectorData):
+ (WebCore::SelectorDataList::executeCompiledSimpleSelectorChecker):
</ins><span class="cx">
</span><del>- Test: fast/css/text-overflow-ellipsis-full-truncate-rtl.html
</del><ins>+2014-03-18 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- * rendering/InlineTextBox.cpp:
- (WebCore::InlineTextBox::placeEllipsisBox):
</del><ins>+ Mutating rules returned by getMatchedCSSRules can result in crash
+ https://bugs.webkit.org/show_bug.cgi?id=130209
</ins><span class="cx">
</span><del>-2013-05-14 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ Reviewed by Andreas Kling.
+
+ The non-standard getMatchedCSSRules API returns CSSStyleRule objects that don't
+ have parent stylesheet pointer (as we don't know which sheet the rule originated from).
+ Mutating the rule via such wrapper can lead to crashes later as we fail to invalidate
+ the underlying stylesheet.
+
+ Fix by disallowing mutation of style rules that don't have parent sheet pointer. CSSStyleRule
+ has two mutable properties selectorText and style. The latter gives back CSSStyleDeclaration.
+ This patch disallows mutations in both cases for CSSStyleRules that don't have parent stylesheet
+ pointer.
+
+ While it is technically possible to have CSSRules that are legitimately disconnected
+ from stylesheet (by removing rule from sheet while holding a reference to it) it never
+ makes sense to mutate such rule as there is no way to do anything with it afterwards.
</ins><span class="cx">
</span><del>- [BlackBerry] Implement platform strategies
- https://bugs.webkit.org/show_bug.cgi?id=112162
</del><ins>+ Tests: fast/css/getMatchedCSSProperties-rule-mutation.html
+ fast/css/getMatchedCSSRules-crash.html
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ * css/CSSStyleRule.cpp:
+ (WebCore::CSSStyleRule::setSelectorText):
</ins><span class="cx">
</span><del>- This is just a refactoring, covered by existing tests.
</del><ins>+ Bail out if parent stylesheet is null.
</ins><span class="cx">
</span><del>- * CMakeLists.txt: Move PlatformStrategies.cpp from platform
- specific makefiles to the global one now that all platforms using
- cmake implement platform strategies.
- * PlatformBlackBerry.cmake:
- * PlatformEfl.cmake:
- * PlatformWinCE.cmake:
- * loader/CookieJar.cpp: Remove the preprocessor error that is not
- needed anymore.
- * loader/blackberry/CookieJarBlackBerry.cpp: Removed.
- * platform/network/blackberry/CookieJarBlackBerry.cpp: Added.
- (WebCore):
- (WebCore::setCookiesFromDOM):
- (WebCore::cookiesForDOM):
- (WebCore::cookieRequestHeaderFieldValue):
- (WebCore::cookiesEnabled):
- (WebCore::getRawCookies):
- (WebCore::deleteCookie):
- (WebCore::getHostnamesWithCookies):
- (WebCore::deleteCookiesForHostname):
- (WebCore::deleteAllCookies):
- * plugins/blackberry/PluginDataBlackBerry.cpp: Removed.
</del><ins>+ * css/PropertySetCSSStyleDeclaration.cpp:
+ (WebCore::PropertySetCSSStyleDeclaration::setCssText):
+ (WebCore::PropertySetCSSStyleDeclaration::setProperty):
+ (WebCore::PropertySetCSSStyleDeclaration::removeProperty):
+ (WebCore::PropertySetCSSStyleDeclaration::setPropertyInternal):
+
+ Allow StyleRuleCSSStyleDeclaration subclass cancel the mutation via
+ boolean return value from willMutate.
</ins><span class="cx">
</span><del>-2013-05-14 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
</del><ins>+ (WebCore::StyleRuleCSSStyleDeclaration::willMutate):
+
+ Disallow mutation if the owning CSSStyleRule is null or has null stylesheet.
</ins><span class="cx">
</span><del>- [Qt] Fix a crash under ~PingLoader when the QNAM on the page has been destroyed.
- https://bugs.webkit.org/show_bug.cgi?id=116035
</del><ins>+ (WebCore::StyleRuleCSSStyleDeclaration::didMutate):
+
+ We never get here with null rule or stylesheet anymore.
</ins><span class="cx">
</span><del>- Reviewed by Simon Hausmann.
</del><ins>+ * css/PropertySetCSSStyleDeclaration.h:
+ (WebCore::PropertySetCSSStyleDeclaration::willMutate):
</ins><span class="cx">
</span><del>- Reproduced with arora which does destroy the QNetworkAccessManager in some situations.
- The problem is that PingLoader can still be pending meanwhile, holding a ResourceHandle
- with a dangling pointer to a QNetworkReply destroyed with the QNetworkAccessManager.
</del><ins>+2014-03-17 Jeffrey Pfau <jpfau@apple.com>
</ins><span class="cx">
</span><del>- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper):
- Set the parent to 0 like we did before the introduction of QNetworkReplyWrapper.
- (WebCore::QNetworkReplyWrapper::release):
</del><ins>+ <media> elements are not properly moved to new documents' visibility callback lists
+ https://bugs.webkit.org/show_bug.cgi?id=127711
</ins><span class="cx">
</span><del>-2013-05-13 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Reviewed by David Kilzer.
</ins><span class="cx">
</span><del>- [Mac] update in-band caption attributes
- https://bugs.webkit.org/show_bug.cgi?id=116057
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::didMoveToNewDocument):
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+2014-03-18 Filip Pizlo <fpizlo@apple.com>
</ins><span class="cx">
</span><del>- * html/track/InbandTextTrack.cpp:
- (WebCore::InbandTextTrack::updateCueFromCueData): Copy highlight color.
</del><ins>+ More FTL enabling.
</ins><span class="cx">
</span><del>- * html/track/TextTrackCueGeneric.cpp:
- (WebCore::TextTrackCueGenericBoxElement::applyCSSProperties): "highlight" color sets the cue
- background, "background" color sets the cue container background.
- * html/track/TextTrackCueGeneric.h:
</del><ins>+ Rubber stamped by Dan Bernstein and Mark Hahnenberg.
</ins><span class="cx">
</span><del>- * platform/graphics/InbandTextTrackPrivateClient.h:
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
- (WebCore::InbandTextTrackPrivateAVF::processCueAttributes): Process "highlight" color.
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
</ins><span class="cx">
</span><del>-2013-05-13 David Kilzer <ddkilzer@apple.com>
</del><ins>+2014-03-18 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- BUILD FIX (r150049): Fix RetainPtr<> type in PasteboardIOS.mm
</del><ins>+ TextTrackRegion Not Implemented
+ https://bugs.webkit.org/show_bug.cgi?id=116546
</ins><span class="cx">
</span><del>- * platform/ios/PasteboardIOS.mm:
- (WebCore::Pasteboard::writeImage): Use RetainPtr<CFStringRef>
- instead of RetainPtr<NSString>.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-05-13 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ Merged from Blink (patch by vcarbune@chromium.org):
+ https://chromium.googlesource.com/chromium/blink/+/4940f89a087fea5b5ea628e98d0b355d398a9eea
+ http://crbug.com/25798003
</ins><span class="cx">
</span><del>- Remove platform/graphic's Generator
- https://bugs.webkit.org/show_bug.cgi?id=116084
</del><ins>+ Tests: media/track/regions-webvtt/text-track-region-display.html
+ media/track/regions-webvtt/text-track-region-dom-layout.html
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
+ * html/track/LoadableTextTrack.cpp:
+ (WebCore::LoadableTextTrack::newRegionsAvailable):
+ * html/track/TextTrack.cpp:
+ * html/track/TextTrack.h:
+ * html/track/TextTrackRegion.cpp:
+ (WebCore::TextTrackRegion::TextTrackRegion):
+ (WebCore::TextTrackRegion::appendTextTrackCueBox):
+ * html/track/TextTrackRegion.h:
+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCue::VTTCue):
+ (WebCore::VTTCue::notifyRegionWhenRemovingDisplayTree):
+ (WebCore::VTTCue::removeDisplayTree):
+ * html/track/VTTCue.h:
+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTParser::parseBytes):
+ (WebCore::WebVTTParser::collectMetadataHeader):
+ * html/track/WebVTTParser.h:
</ins><span class="cx">
</span><del>- The Generator no longer abstract anything useful, its only
- implementation is Gradient.
</del><ins>+2014-03-18 Philippe Normand <pnormand@igalia.com>
</ins><span class="cx">
</span><ins>+ [GTK] ResourceLoaderSoup.cpp was added by mistake
+ https://bugs.webkit.org/show_bug.cgi?id=130396
+
+ Reviewed by Carlos Garcia Campos.
+
+ This file was committed by mistake in r152778 and is not built by
+ any port.
+
+ * loader/soup/ResourceLoaderSoup.cpp: Removed.
+
+2014-03-18 Andreas Kling <akling@apple.com>
+
+ Rename ElementDescendantIterator to TypedElementDescendantIterator.
+ Romper-stubbed by Antti "Latte Lung" Koivisto.
+
</ins><span class="cx"> * GNUmakefile.list.am:
</span><del>- * WebCore.exp.in:
- * WebCore.vcproj/WebCore.vcproj:
</del><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj:
</span><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj.filters:
</span><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * platform/graphics/GeneratedImage.h:
- * platform/graphics/Generator.h: Removed.
- * platform/graphics/GeneratorGeneratedImage.cpp:
- (WebCore::GeneratorGeneratedImage::draw):
- (WebCore::GeneratorGeneratedImage::drawPattern):
- * platform/graphics/GeneratorGeneratedImage.h:
- (WebCore::GeneratorGeneratedImage::create):
- (WebCore::GeneratorGeneratedImage::GeneratorGeneratedImage):
- (GeneratorGeneratedImage):
- * platform/graphics/Gradient.h:
- (WebCore):
- (Gradient):
- * platform/graphics/GraphicsContext.cpp:
- (WebCore::GraphicsContext::fillRect):
- * platform/graphics/GraphicsContext.h:
- (WebCore):
- (GraphicsContext):
</del><ins>+ * dom/ElementDescendantIterator.h: Removed.
+ * dom/ElementIterator.h:
+ * dom/TypedElementDescendantIterator.h: Added.
+ (WebCore::TypedElementDescendantIterator<ElementType>::TypedElementDescendantIterator):
+ (WebCore::TypedElementDescendantIterator<ElementType>::operator):
+ (WebCore::TypedElementDescendantConstIterator<ElementType>::TypedElementDescendantConstIterator):
+ (WebCore::TypedElementDescendantConstIterator<ElementType>::operator):
+ (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::TypedElementDescendantIteratorAdapter):
+ (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::begin):
+ (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::end):
+ (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::beginAt):
+ (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::from):
+ (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::first):
+ (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::last):
+ (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::TypedElementDescendantConstIteratorAdapter):
+ (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::begin):
+ (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::end):
+ (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::beginAt):
+ (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::from):
+ (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::first):
+ (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::last):
+ (WebCore::descendantsOfType):
</ins><span class="cx">
</span><del>-2013-05-13 David Kilzer <ddkilzer@apple.com>
</del><ins>+2014-03-18 Ion Rosca <rosca@adobe.com>
</ins><span class="cx">
</span><del>- Upstream iOS Clipboard and Pasteboard changes
- <http://webkit.org/b/116062>
</del><ins>+ Add blend mode property to dumped information in GraphicsLayer.
+ https://bugs.webkit.org/show_bug.cgi?id=130331
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * WebCore.xcodeproj/project.pbxproj:
- * dom/Clipboard.h:
- * platform/Pasteboard.h:
- * platform/ios/ClipboardIOS.h: Added.
- * platform/ios/ClipboardIOS.mm: Added.
- * platform/ios/PasteboardIOS.mm: Added.
</del><ins>+ Functionality is not changed, therefore no new tests added.
+ I adjusted the affected test results generated with layerTreeAsText.
</ins><span class="cx">
</span><del>-2013-05-13 Huang Dongsung <luxtella@company100.net>
</del><ins>+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::dumpProperties):
</ins><span class="cx">
</span><del>- [Mac] Use pageScaleFactor * deviceScaleFactor in requiresTiledLayer() and computePixelAlignment() of GraphicsLayerCA.
- https://bugs.webkit.org/show_bug.cgi?id=107359
</del><ins>+2014-03-17 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><ins>+ webdatabase: Replace DEPRECATED_DEFINE_STATIC_LOCAL by static NeverDestroyed<T>
+ https://bugs.webkit.org/show_bug.cgi?id=130347
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Currently GraphicsLayerCA uses pageScaleFactor in requiresTiledLayer() and
- computePixelAlignment(), but we must use pageScaleFactor * deviceScaleFactor in
- them.
- It is because:
- 1. requiresTiledLayer() uses the scale to compute an actual layer size in the device
- pixel unit.
- 2. computePixelAlignment() uses the scale to compute an aligned layer position
- in the device pixel unit.
</del><ins>+ * Modules/webdatabase/DatabaseTracker.cpp:
+ (WebCore::DatabaseTracker::openDatabaseMutex):
+ (WebCore::notificationMutex):
+ (WebCore::notificationQueue):
</ins><span class="cx">
</span><del>- No new tests. We can not test about requiresTiledLayer() because it depends on
- gpu. computePixelAlignment() is correct now because fortunately Mac uses
- only 2 (for retina display) as a deviceScaleFactor.
</del><ins>+2014-03-17 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::requiresTiledLayer):
- (WebCore::GraphicsLayerCA::computePixelAlignment):
</del><ins>+ Add RemoteCommandListener support to MediaSessionManager.
+ https://bugs.webkit.org/show_bug.cgi?id=130354
</ins><span class="cx">
</span><del>-2013-05-13 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Rename BarInfo to BarProp and remove [NoInterfaceObject]
- https://bugs.webkit.org/show_bug.cgi?id=116027
</del><ins>+ Listen for remote commands in MediaSessionManager.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * platform/audio/MediaSessionManager.cpp:
+ (WebCore::MediaSessionManager::addSession):
+ (WebCore::MediaSessionManager::removeSession):
+ * platform/audio/MediaSessionManager.h:
</ins><span class="cx">
</span><del>- Rename BarInfo to BarProp and remove [NoInterfaceObject] extended attribute from
- the IDL interface to match the specification:
- http://www.w3.org/html/wg/drafts/html/master/browsers.html#barprop
-
- The new behavior also matches Firefox and Blink.
-
- No new tests, covered by LayoutTests/fast/js/global-constructors-attributes.html.
-
</del><ins>+ Add RemoteCommandListener to the project files:
</ins><span class="cx"> * CMakeLists.txt:
</span><del>- * DerivedSources.cpp:
- * DerivedSources.make:
- * DerivedSources.pri:
</del><span class="cx"> * GNUmakefile.list.am:
</span><del>- * Target.pri:
- * WebCore.order:
- * WebCore.vcproj/WebCore.vcproj:
</del><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj:
</span><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj.filters:
</span><del>- * WebCore.xcodeproj/project.pbxproj:
- * bindings/gobject/GNUmakefile.am:
- * page/BarProp.cpp: Renamed from Source/WebCore/page/BarInfo.cpp.
- * page/BarProp.h: Renamed from Source/WebCore/page/BarInfo.h.
- * page/BarProp.idl: Renamed from Source/WebCore/page/BarInfo.idl.
- * page/DOMWindow.cpp:
- * page/DOMWindow.h:
- * page/DOMWindow.idl:
</del><span class="cx">
</span><del>-2013-05-13 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-17 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Remove ChromeClient::willPopupMenu
- https://bugs.webkit.org/show_bug.cgi?id=116063
</del><ins>+ Rewrite WebHTMLConverter::_elementHasOwnBackgroundColor in C++
+ https://bugs.webkit.org/show_bug.cgi?id=130291
</ins><span class="cx">
</span><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Remove ChromeClient::willPopupMenu.
</del><ins>+ Extracted HTMLConverterCaches::elementHasOwnBackgroundColor.
</ins><span class="cx">
</span><del>- * page/ChromeClient.h:
</del><ins>+ * platform/mac/HTMLConverter.mm:
+ (HTMLConverterCaches::elementHasOwnBackgroundColor):
+ (-[WebHTMLConverter _elementHasOwnBackgroundColor:]):
</ins><span class="cx">
</span><del>-2013-05-13 Beth Dakin <bdakin@apple.com>
</del><ins>+2014-03-17 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Headers and footers should be pinned to the left edge of the window when scrolling
- horizontally
- https://bugs.webkit.org/show_bug.cgi?id=116061
- -and corresponding-
- <rdar://problem/13599215>
</del><ins>+ Rewrite WebHTMLConverter::_elementIsBlockLevel in C++
+ https://bugs.webkit.org/show_bug.cgi?id=130287
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- The scrolling thread will need to know about the header and footer layers in order
- the implement this custom scrolling behavior.
</del><ins>+ Rewrote _elementIsBlockLevel as HTMLConverterCaches::isBlockElement. Also removed the code to update
+ _elementIsBlockLevel in _traverseNode as computing the value of _elementIsBlockLevel is now fast.
</ins><span class="cx">
</span><del>- These getters will fetch the header or footer layer from the FrameView as
- appropriate.
- * page/scrolling/ScrollingCoordinator.cpp:
- (WebCore::ScrollingCoordinator::headerLayerForFrameView):
- (WebCore::ScrollingCoordinator::footerLayerForFrameView):
- * page/scrolling/ScrollingCoordinator.h:
</del><ins>+ * platform/mac/HTMLConverter.h:
+ * platform/mac/HTMLConverter.mm:
+ (HTMLConverterCaches::isBlockElement):
+ (-[WebHTMLConverter _elementIsBlockLevel:]):
+ (-[WebHTMLConverter _traverseNode:depth:embedded:]):
+ (-[WebHTMLConverter dealloc]):
+ (-[WebHTMLConverter init]):
</ins><span class="cx">
</span><del>- When we’re scrolling on the main thread, adjust the position of the header and
- footer layers here.
- (WebCore::ScrollingCoordinator::updateMainFrameScrollPosition):
</del><ins>+2014-03-17 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- ScrollingStateScrollingNode now stores GraphicsLayers and PlatformLayers for the
- header and footer, just like it already does for the counterScrollingLayer.
- * page/scrolling/ScrollingStateScrollingNode.cpp:
- (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode):
- * page/scrolling/ScrollingStateScrollingNode.h:
- (ScrollingStateScrollingNode):
- (WebCore::ScrollingStateScrollingNode::headerLayer):
- (WebCore::ScrollingStateScrollingNode::footerLayer):
</del><ins>+ Rewrite WebHTMLConverter::_getComputedFloat in C++
+ https://bugs.webkit.org/show_bug.cgi?id=130284
</ins><span class="cx">
</span><del>- Setters for the new layers.
- * page/scrolling/mac/ScrollingCoordinatorMac.h:
- (ScrollingCoordinatorMac):
- * page/scrolling/mac/ScrollingCoordinatorMac.mm:
- (WebCore::ScrollingCoordinatorMac::frameViewRootLayerDidChange):
- (WebCore::ScrollingCoordinatorMac::setHeaderLayerForNode):
- (WebCore::ScrollingCoordinatorMac::setFooterLayerForNode):
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- These setters and getters mirror the existing one for counterScrollingLayer.
- * page/scrolling/mac/ScrollingStateScrollingNodeMac.mm:
- (WebCore::ScrollingStateScrollingNode::headerPlatformLayer):
- (WebCore::ScrollingStateScrollingNode::setHeaderLayer):
- (WebCore::ScrollingStateScrollingNode::footerPlatformLayer):
- (WebCore::ScrollingStateScrollingNode::setFooterLayer):
</del><ins>+ Rewrote _getComputedFloat as HTMLConverterCaches::floatPropertyValueForNode.
</ins><span class="cx">
</span><del>- And the ScrollingTree will store CALayers for the header and footer.
- * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
- (ScrollingTreeScrollingNodeMac):
- * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
- (WebCore::ScrollingTreeScrollingNodeMac::updateBeforeChildren):
</del><ins>+ * platform/mac/HTMLConverter.h:
+ * platform/mac/HTMLConverter.mm:
+ (HTMLConverterCaches::floatPropertyValueForNode):
+ (-[WebHTMLConverter _getFloat:forNode:property:]): Now that computing the float value is fast, we don't need to
+ store it in the cache.
+ (-[WebHTMLConverter dealloc]):
+ (-[WebHTMLConverter init]):
</ins><span class="cx">
</span><del>- This is where the magic happens when we are scrolling on the scrolling thread.
- Adjust the horizontal position the behave like a fixed object, but keep the
- vertical position what it was when layer was created.
- (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
</del><ins>+2014-03-16 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- RenderLayerCompositor must now provide getters for the header and footer.
- * rendering/RenderLayerCompositor.h:
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::headerLayer):
- (WebCore::RenderLayerCompositor::footerLayer):
</del><ins>+ HTMLInputElement::defaultEventHandler() shouldn't force style updates.
+ <https://webkit.org/b/130303>
</ins><span class="cx">
</span><del>- Set the anchor point for when we adjust the position later on. Also call
- frameViewRootLayerDidChange() to get the new layers picked up and sent to the
- scrolling tree.
- (WebCore::RenderLayerCompositor::updateLayerForHeader):
- (WebCore::RenderLayerCompositor::updateLayerForFooter):
</del><ins>+ Move the updateStyleIfNeeded() call down to TextFieldInputType instead
+ of doing it for every HTMLInputEvent.
</ins><span class="cx">
</span><del>-2013-05-12 Timothy Hatcher <timothy@apple.com>
</del><ins>+ There might be a better way to do this; we only want to know about this
+ specific element's renderer, and don't need the rest of the tree.
+ This is still an easy hack to avoid a lot of unnecessary work.
</ins><span class="cx">
</span><del>- Add support for updating the Web Inspector toolbar height.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- https://bugs.webkit.org/show_bug.cgi?id=115996
</del><ins>+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::defaultEventHandler):
+ * html/TextFieldInputType.cpp:
+ (WebCore::TextFieldInputType::forwardEvent):
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro and Benjamin Poulain.
</del><ins>+2014-03-17 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- * inspector/InspectorFrontendClient.h:
- (InspectorFrontendClient):
- * inspector/InspectorFrontendHost.cpp:
- (WebCore::InspectorFrontendHost::setToolbarHeight):
- * inspector/InspectorFrontendHost.h:
- (InspectorFrontendHost):
- * inspector/InspectorFrontendHost.idl:
- * testing/Internals.cpp:
</del><ins>+ [WebVTT] Extending WebVTT Rendering with Regions
+ https://bugs.webkit.org/show_bug.cgi?id=109822
</ins><span class="cx">
</span><del>-2013-05-13 Dean Jackson <dino@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- toDataURL can return an empty image in some cases
- https://bugs.webkit.org/show_bug.cgi?id=115981
- <rdar://problem/13760256>
</del><ins>+ Merged from Blink (patch by Victor Carbune vcarbune@chromium.org):
+ https://chromium.googlesource.com/chromium/blink/+/0cdebc1d76d41bfcb9c4b022e54a4fbff132225d
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ No new tests, as this feature is not active in default builds. New tests will be added
+ in an upcoming bug.
</ins><span class="cx">
</span><del>- In some accelerated rendering cases, calling toDataURL on
- an off-screen canvas produced an empty image. The solution
- was to force a CGContextFlush before extracting the data
- for image generation.
</del><ins>+ * css/mediaControls.css:
+ (video::-webkit-media-text-track-region):
+ (video::-webkit-media-text-track-region-container):
+ (video::-webkit-media-text-track-region-container.scrolling):
+ (video::-webkit-media-text-track-display):
+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlTextTrackContainerElement::updateDisplay):
+ * html/track/TextTrack.cpp:
+ (WebCore::TextTrack::~TextTrack):
+ * html/track/TextTrackCue.cpp:
+ * html/track/TextTrackRegion.cpp:
+ (WebCore::TextTrackRegion::TextTrackRegion):
+ (WebCore::TextTrackRegion::textTrackCueContainerScrollingClass):
+ (WebCore::TextTrackRegion::textTrackCueContainerShadowPseudoId):
+ (WebCore::TextTrackRegion::textTrackRegionShadowPseudoId):
+ (WebCore::TextTrackRegion::appendTextTrackCueBox):
+ (WebCore::TextTrackRegion::displayLastTextTrackCueBox):
+ (WebCore::TextTrackRegion::willRemoveTextTrackCueBox):
+ (WebCore::TextTrackRegion::getDisplayTree):
+ (WebCore::TextTrackRegion::prepareRegionDisplayTree):
+ (WebCore::TextTrackRegion::startTimer):
+ (WebCore::TextTrackRegion::stopTimer):
+ (WebCore::TextTrackRegion::scrollTimerFired):
+ * html/track/TextTrackRegion.h:
+ (WebCore::TextTrackRegion::create):
+ (WebCore::TextTrackRegion::isScrollingRegion):
+ (WebCore::TextTrackRegion::ownerDocument):
+ * html/track/TextTrackRegion.idl:
+ * html/track/TextTrackRegionList.cpp:
+ (WebCore::TextTrackRegionList::getRegionById):
+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCueBox::applyCSSProperties):
+ (WebCore::VTTCue::~VTTCue):
+ (WebCore::VTTCue::setIsActive):
+ (WebCore::VTTCue::removeDisplayTree):
+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTParser::createNewRegion):
+ * rendering/RenderVTTCue.cpp:
+ (WebCore::RenderVTTCue::layout):
</ins><span class="cx">
</span><del>- While here, I collected the flushing code from other methods
- into a single place. Also we were getting into a situation where
- we called flush two times in a row.
</del><ins>+2014-03-17 Brendan Long <b.long@cablelabs.com>
</ins><span class="cx">
</span><del>- Test: fast/canvas/toDataURL-not-empty.html
</del><ins>+ [GStreamer] human readable language code for tracks
+ https://bugs.webkit.org/show_bug.cgi?id=124514
</ins><span class="cx">
</span><del>- * platform/graphics/ImageBuffer.h:
- (ImageBuffer): Define two new methods flushContext and flushContextIfNecessary.
- * platform/graphics/cg/ImageBufferCG.cpp:
- (WebCore::ImageBuffer::context): Call flushContextIfNecessary.
- (WebCore::ImageBuffer::flushContextIfNecessary): Moved the 10.7 code in here.
- (WebCore::ImageBuffer::flushContext): Calls CGContextFlush.
- (WebCore::ImageBuffer::getUnmultipliedImageData): Call new helper.
- (WebCore::ImageBuffer::getPremultipliedImageData): Call new helper.
- (WebCore::ImageBuffer::toDataURL): Flush the CG context.
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>-2013-05-13 David Hyatt <hyatt@apple.com>
</del><ins>+ * PlatformEfl.cmake: Add GSTREAMER_TAG_INCLUDE_DIRS and GSTREAMER_TAG_LIBRARIES.
+ * PlatformGTK.cmake: Same.
+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
+ (WebCore::TrackPrivateBaseGStreamer::getLanguageCode): Run language codes though gst_tag_get_language_code_iso_639_1() to make sure they're valid.
+ (WebCore::TrackPrivateBaseGStreamer::notifyTrackOfTagsChanged): Use getLanguageCode() for languages instead of just getTag().
</ins><span class="cx">
</span><del>- Regressions in flexbox layout caused by the flexing optimizations.
- https://bugs.webkit.org/show_bug.cgi?id=116058
- <rdar://problem/13863647>
-
- Reviewed by Beth Dakin.
</del><ins>+2014-03-17 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Roll out the flex-related changes from r149597 so that the layout
- algorithm goes back to the way it was. Leave the repainting optimizations
- in place though.
</del><ins>+ [Mac] Rewrite WebHTMLConverter::_computedStringForNode in C++
+ https://bugs.webkit.org/show_bug.cgi?id=130274
</ins><span class="cx">
</span><del>- * rendering/RenderDeprecatedFlexibleBox.cpp:
- (WebCore::gatherFlexChildrenInfo):
- (WebCore::RenderDeprecatedFlexibleBox::layoutHorizontalBox):
- (WebCore::RenderDeprecatedFlexibleBox::layoutVerticalBox):
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-05-13 Philippe Normand <pnormand@igalia.com>
</del><ins>+ Rewrote WebHTMLConverter::_computedStringForNode as HTMLConverterCaches::propertyValueForNode.
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r150014.
- http://trac.webkit.org/changeset/150014
- https://bugs.webkit.org/show_bug.cgi?id=86410
</del><ins>+ * platform/mac/HTMLConverter.h: Removed unused caches.
+ * platform/mac/HTMLConverter.mm:
+ (HTMLConverterCaches::computedStylePropertyForElement): Added use const String& instead of String& on property name.
+ (HTMLConverterCaches::inlineStylePropertyForElement): Ditto.
+ (HTMLConverterCaches::propertyValueForNode): Renamed and rewritten from _computedStringForNode.
+ (-[WebHTMLConverter _stringForNode:property:]): Simply return the computed value instead of storing it in the cache
+ now that the computing the value is fast.
+ (-[WebHTMLConverter dealloc]):
+ (-[WebHTMLConverter init]):
</ins><span class="cx">
</span><del>- Broke video playback on WK2 and some webgl tests
</del><ins>+2014-03-17 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
- (WebCore::MediaPlayerPrivateGStreamerBase::MediaPlayerPrivateGStreamerBase):
- (WebCore::MediaPlayerPrivateGStreamerBase::triggerRepaint):
- (WebCore::MediaPlayerPrivateGStreamerBase::paint):
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
- (MediaPlayerPrivateGStreamerBase):
</del><ins>+ Remove unnecessary JSC::Handle null checks in bindings code.
+ <https://webkit.org/b/130356>
</ins><span class="cx">
</span><del>-2013-05-13 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Use Handle::slot() directly instead of going through Handle::get().
+ This avoids null checking the HandleSlot, which isn't necessary here
+ anyway, and the code already assumes it'll never be null.
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r150022.
- http://trac.webkit.org/changeset/150022
- https://bugs.webkit.org/show_bug.cgi?id=114044
</del><ins>+ Reviewed by Gavin Barraclough.
</ins><span class="cx">
</span><del>- Causes assertions in media tests
</del><ins>+ * bindings/js/JSCSSRuleListCustom.cpp:
+ (WebCore::JSCSSRuleListOwner::isReachableFromOpaqueRoots):
+ * bindings/js/JSCSSValueCustom.cpp:
+ (WebCore::JSCSSValueOwner::isReachableFromOpaqueRoots):
+ (WebCore::JSCSSValueOwner::finalize):
+ * bindings/js/JSMutationObserverCustom.cpp:
+ (WebCore::JSMutationObserverOwner::isReachableFromOpaqueRoots):
+ * bindings/js/JSNodeCustom.cpp:
+ (WebCore::JSNodeOwner::isReachableFromOpaqueRoots):
+ * bindings/js/JSNodeListCustom.cpp:
+ (WebCore::JSNodeListOwner::isReachableFromOpaqueRoots):
+ * bindings/js/JSTextTrackCueCustom.cpp:
+ (WebCore::JSTextTrackCueOwner::isReachableFromOpaqueRoots):
+ * bindings/js/WebCoreTypedArrayController.cpp:
+ (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::isReachableFromOpaqueRoots):
+ (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::finalize):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ * bridge/runtime_root.cpp:
+ (JSC::Bindings::RootObject::finalize):
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
- (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
- (WebCore::MediaPlayerPrivateGStreamer::playbackPosition):
- (WebCore::MediaPlayerPrivateGStreamer::prepareToPlay):
- (WebCore::MediaPlayerPrivateGStreamer::currentTime):
- (WebCore::MediaPlayerPrivateGStreamer::seek):
- (WebCore::MediaPlayerPrivateGStreamer::handleMessage):
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
- (MediaPlayerPrivateGStreamer):
</del><ins>+2014-03-17 Krzysztof Czech <k.czech@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-13 Bem Jones-Bey <bjonesbe@adobe.com>
</del><ins>+ AX: Reducing some code by using helper function ariaElementsFromAttribute
+ https://bugs.webkit.org/show_bug.cgi?id=130344
</ins><span class="cx">
</span><del>- Floats should not overhang from flex items
- https://bugs.webkit.org/show_bug.cgi?id=115925
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Change visibility of ariaElementsFromAttribute function from private to protected
+ so that other classes that derives from AccessibilityRenderObject can use it.
</ins><span class="cx">
</span><del>- Allowing floats to overhand from flex items is not only against the
- spec, it causes bad bugs. Fix this by having flex items properly avoid
- floats.
</del><ins>+ No new tests. No behaviour change.
</ins><span class="cx">
</span><del>- Test: fast/block/float/float-not-removed-crash2.html
</del><ins>+ * accessibility/AccessibilityRenderObject.h:
+ * accessibility/AccessibilityTableCell.cpp:
+ (WebCore::AccessibilityTableCell::columnHeaders):
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::avoidsFloats): Add flex items to avoid floats.
- * rendering/RenderBox.h:
- (WebCore::RenderBox::isFlexItemIncludingDeprecated): Determine if the current box is a
- flex item or deprecated flex item.
</del><ins>+2014-03-16 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>-2013-05-13 Zoltan Horvath <zoltan@webkit.org>
</del><ins>+ Provide preference to enable additional AVFoundation options
+ https://bugs.webkit.org/show_bug.cgi?id=130275
</ins><span class="cx">
</span><del>- [CSS Regions][CSS Exclusions] Shape-inside on regions should respect region borders and paddings
- https://bugs.webkit.org/show_bug.cgi?id=115456
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::doesHaveAttribute): Added.
+ * html/HTMLMediaElement.h:
+ * page/Settings.in: Add new attribute.
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::doesHaveAttribute): Added stub to call private player object's
+ implementation of doesHaveAttribute.
+ * platform/graphics/MediaPlayer.h:
+ (WebCore::MediaPlayerClient::doesHaveAttribute):
+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundationCF::AVFWrapper::createAssetForURL): Check the <media> object,
+ and notify AVFoundationCF to use URI option if relevant.
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): Check the <media> object,
+ and notify AVFoundation to use URI option if relevant.
+
+2014-03-17 Jer Noble <jer.noble@apple.com>
+
+ [EME] Add NULL protections in SourceBuffer and MediaSource.
+ https://bugs.webkit.org/show_bug.cgi?id=130266
+
+ Reviewed by Eric Carlson.
+
+ Add NULL checks in places which may be called after a SourceBuffer has been removed:
+
+ * Modules/mediasource/MediaSource.cpp:
+ (WebCore::MediaSource::monitorSourceBuffers): Protect against a SourceBuffer being removed
+ (and thus activeSourceBuffers being empty) when monitoring source buffer state.
+ * Modules/mediasource/SourceBuffer.cpp:
+ (WebCore::SourceBuffer::appendBufferTimerFired): Protect against SourceBuffer being removed.
+ (WebCore::SourceBuffer::videoTracks): Ditto.
+ (WebCore::SourceBuffer::audioTracks): Ditto.
+ (WebCore::SourceBuffer::textTracks): Ditto.
+ (WebCore::SourceBuffer::setActive): Ditto.
+ (WebCore::SourceBuffer::sourceBufferPrivateDidEndStream): Ditto.
+ (WebCore::SourceBuffer::hasCurrentTime): Ditto.
+ (WebCore::SourceBuffer::canPlayThrough): Ditto.
+ (WebCore::SourceBuffer::hasFutureTime): Ditto, and check for an empty buffered ranges.
+
+2014-03-17 Tim Horton <timothy_horton@apple.com>
+
+ WKThumbnailView should support snapshots
+ https://bugs.webkit.org/show_bug.cgi?id=130335
+ <rdar://problem/16255139>
+
+ Reviewed by Simon Fraser.
+
+ * WebCore.exp.in:
+
+2014-01-29 Sergio Villar Senin <svillar@igalia.com>
+
+ [CSS Grid Layout] getComputedStyle() not using author's order when showing named grid lines
+ https://bugs.webkit.org/show_bug.cgi?id=127837
+
</ins><span class="cx"> Reviewed by David Hyatt.
</span><span class="cx">
</span><del>- I refactored the computation logic of shape-inside on regions by removing access to RenderFlowThread from ExclusionShapeInfo's logicalTopOffset
- function, this means all the logic is now existing in RenderBlockLineLayout.cpp. By modifying the logicalTopOffset it turned out that the borders
- and padding hadn't worked correctly, since borders and paddings were counted twice in the shape-inside's computation. This patch adds the necessary
- modifications to let it respect the borders and padding in the correct way. I created 2 new helper functions to prevent increasing the code size of
- the layoutRunsAndFloatsInRange function.
</del><ins>+ Added a couple of new Vectors to store the names of the grid lines
+ respecting their order. They will be used to get the right outcome
+ for getComputedStyle().
</ins><span class="cx">
</span><del>- I introduced 7 new tests to test for testing the correct behavior.
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::addValuesForNamedGridLinesAtIndex):
+ (WebCore::valueForGridTrackList):
+ * css/StyleResolver.cpp:
+ (WebCore::createGridTrackList):
+ (WebCore::StyleResolver::applyProperty):
+ * rendering/style/RenderStyle.h:
+ * rendering/style/StyleGridData.cpp:
+ (WebCore::StyleGridData::StyleGridData):
+ * rendering/style/StyleGridData.h:
+ (WebCore::StyleGridData::operator==):
</ins><span class="cx">
</span><del>- Tests: fast/regions/shape-inside/shape-inside-on-first-region-block-content.html
- fast/regions/shape-inside/shape-inside-on-first-region-inline-content.html
- fast/regions/shape-inside/shape-inside-on-second-region-block-content.html
- fast/regions/shape-inside/shape-inside-on-second-region-inline-content.html
- fast/regions/shape-inside/shape-inside-on-regions-inline-content.html
- fast/regions/shape-inside/shape-inside-with-region-borders.html
- fast/regions/shape-inside/shape-inside-with-region-padding.html
</del><ins>+2014-03-17 Zsolt Borbely <borbezs@inf.u-szeged.hu>
</ins><span class="cx">
</span><del>- * rendering/ExclusionShapeInfo.cpp:
- (WebCore): Remove FlowThread logic from logicalTopOffset move definition to header.
- * rendering/ExclusionShapeInfo.h:
- (WebCore::ExclusionShapeInfo::logicalTopOffset): Moved from cpp.
- (WebCore::ExclusionShapeInfo::logicalLeftOffset): Add condition for RenderRegions.
- * rendering/RenderBlock.h:
- (RenderBlock): Add definition to the new helper members.
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::layoutExclusionShapeInsideInfo): Modified the flow thread case to return the appropriate region.
- (WebCore::RenderBlock::updateLineBoundariesForExclusions): Added new helper function. Modify the shape-inside on regions
- line boundaries and position computation logic.
- (WebCore::RenderBlock::adjustLogicalLineTopAndLogicalHeightIfNeeded): Added new helper function which handles the flow thread case also.
- (WebCore::RenderBlock::layoutRunsAndFloatsInRange): Modified the code to use the helper functions.
</del><ins>+ Fix the !ENABLE(PROMISES) build
+ https://bugs.webkit.org/show_bug.cgi?id=130328
</ins><span class="cx">
</span><del>-2013-05-13 Bear Travis <betravis@adobe.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- [css exclusions] Enable CSS Exclusions by default when CSS_EXCLUSIONS is set
- https://bugs.webkit.org/show_bug.cgi?id=115919
</del><ins>+ Add missing ENABLE(PROMISES) guards.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ * bindings/js/JSDOMPromise.cpp:
+ * bindings/js/JSDOMPromise.h:
</ins><span class="cx">
</span><del>- Change the RuntimeEnabledFeatures::isCSSExclusionsEnabled boolean to default
- to true. CSS Exclusions can still be enabled / disabled in platforms by
- setting the CSS_EXCLUSIONS compile flag in one of the FeatureDefine files.
</del><ins>+2014-03-17 Gurpreet Kaur <k.gurpreet@samsung.com>
</ins><span class="cx">
</span><del>- Test: fast/exclusions/css-exclusions-enabled.html
</del><ins>+ Safari should not render a cell if the <td> is empty
+ https://bugs.webkit.org/show_bug.cgi?id=15273
</ins><span class="cx">
</span><del>- * bindings/generic/RuntimeEnabledFeatures.cpp:
- (WebCore):
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-05-13 Suchit Agrawal <a.suchit@samsung.com>
</del><ins>+ When table cell has no children and the doctype is not present or not
+ correct the border for that cell should not be drawn. Firefox also
+ follows the same behaviour hence making the changes to make it similiar
+ to Firefox behaviour.
</ins><span class="cx">
</span><del>- Cell heights are disproportional when a row-spanning cell contains a block element that determines the height of the rows
- https://bugs.webkit.org/show_bug.cgi?id=52185
</del><ins>+ Tests: fast/table/table-cell-border-doctype.html
+ fast/table/table-cell-border-no-doctype.html
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * rendering/RenderTableCell.cpp:
+ (WebCore::RenderTableCell::paintBoxDecorations):
+ Added condition for not drawing the border when table cell has no child
+ and doctype.
</ins><span class="cx">
</span><del>- Cells heights are not proper when rowspan cell have its own height and rowspan height
- is more than the height of the rows present in rowspan.
</del><span class="cx">
</span><del>- After calculating logical height of the rows in the table, we are recalculating the height
- of the rows present in rowspan. Based on the ratio of row's logical height, we are
- distributing rowspan cell height in rows.
</del><ins>+2014-03-17 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- Test: fast/table/table-rowspan-height-distribution-in-rows.html
</del><ins>+ Fix handling of <annotation> in MathMLTextElement.
+ https://bugs.webkit.org/show_bug.cgi?id=124128.
</ins><span class="cx">
</span><del>- * rendering/RenderTableSection.cpp:
- (WebCore):
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Update the logical height of the rows based on rowspan cell height.
- (WebCore::RenderTableSection::distributeRowSpanHeightToRows):
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- It calculates logical height of the rows in the table.
- (WebCore::RenderTableSection::calcRowLogicalHeight):
</del><ins>+ * mathml/MathMLTextElement.cpp:
+ (WebCore::MathMLTextElement::createElementRenderer): do not create the special RenderMathMLToken for the <annotation> tag.
+ (WebCore::MathMLTextElement::childShouldCreateRenderer): only allow text inside <annotation>.
</ins><span class="cx">
</span><del>- Added new private API to distribute rowSpan cell height in rows.
- * rendering/RenderTableSection.h:
- (RenderTableSection):
</del><ins>+2014-03-17 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>-2013-04-30 Balazs Kelemen <b.kelemen@sisa.samsung.com>
</del><ins>+ [GTK][CMake] Credential storage is not enabled
+ https://bugs.webkit.org/show_bug.cgi?id=130149
</ins><span class="cx">
</span><del>- [GStreamer] cannot seek after video finished
- https://bugs.webkit.org/show_bug.cgi?id=114044
-
</del><span class="cx"> Reviewed by Philippe Normand.
</span><span class="cx">
</span><del>- Test: media/video-seek-after-end.html
</del><ins>+ * PlatformGTK.cmake: Add the libsecret include directories and link line to the build.
</ins><span class="cx">
</span><del>- Rework the seeking logic to be able to seek after reseting the pipeline.
- In addition to solve the actual problem this patch supposed to make seeking
- more robust and correct.
- The previous implementation tried to hide the complexity of asynchronous operations
- on the pipeline. It did not handle the GST_MESSAGE_ASYNC_DONE message from the bus
- but instead reported the seek as finished when it saw an asynchronous pending state
- (GST_STATE_CHANGE_ASYNC) which could happen way before the seek is really done.
- Now we pay attention to the GST_MESSAGE_ASYNC_DONE message to track the status of seeks.
- Seeks are not the only operations executed asynchronously, changing the pipeling state is
- similar. It means a seek can overlap with onother ongoing asynchronous operation.
- This change address this by introducing an invariant for seeks, which is that we only request
- a seek if there are no other ongoing asynchronous operations and the pipeline state is either
- paused or playing (which is recommended anyway according to GStreamer's documentation).
- This way we can be sure that the time when we get the next GST_MESSAGE_ASYNC_DONE message the
- seek has been completed.
</del><ins>+2014-03-17 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
- (WebCore::toGstClockTime): Factored time conversation into a helper.
- (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
</del><ins>+ Unreviewed.
</ins><span class="cx">
</span><del>- (WebCore::MediaPlayerPrivateGStreamer::playbackPosition): The position might not be available
- if the pipeline still has a pending state. As a workaround, if we are right after a seek we can
- use the seek time. Avoiding this situation would be possible by not allowing any asynchronous
- operation to overlap. I believe it would add a lot more complexity so I decided to rather introduce
- this workaround. Otherwise those overlapping operations are handled fine by GStreamer.
</del><ins>+ Addressing reviewing comments by Darin in bug #130310 that I forgot
+ to address before landing the changes in r165732.
+ https://bugs.webkit.org/show_bug.cgi?id=130310
</ins><span class="cx">
</span><del>- (WebCore::MediaPlayerPrivateGStreamer::prepareToPlay): Do not reset internal state variables.
- This function called when there is an intent to restart playback but it does not actually restart it.
- (WebCore::MediaPlayerPrivateGStreamer::currentTime): Just removed a staling newline.
- (WebCore::MediaPlayerPrivateGStreamer::seek): Take a look to the pipeline state and act upon that.
- If there is an ongoing asynchronous operation make the seek pending, otherwise do it now.
- Now we handle overlapping seeks as well because I saw that it can happen in some tests.
- Added an early return for live streams as it doesn't makes sense to try seeking in them.
</del><ins>+ * rendering/InlineTextBox.cpp:
+ * rendering/RenderLayer.cpp:
+ * rendering/RenderObject.cpp:
</ins><span class="cx">
</span><del>- (WebCore::MediaPlayerPrivateGStreamer::handleMessage): Handle GST_MESSAGE_ASYNC_DONE and some refactoring.
- (WebCore::MediaPlayerPrivateGStreamer::asyncStateChangeDone):
- (WebCore::MediaPlayerPrivateGStreamer::updateStates): Only handle seeks in the pending case, the rest is
- now handled in asyncStateChangeDone.
- (WebCore::MediaPlayerPrivateGStreamer::cacheDuration): Do not reset the m_mediaDurationKnown if the pipeline
- has an asynchronous pending state because it would fail. It does actually happen when we get a duration message
- after restarting the pipeline and it would result in restarting playback from the start. It seems to be a bug
- in GStreamer that it sends the duration message too early. Also sanitized this function by merging redundant branches.
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
- (MediaPlayerPrivateGStreamer):
</del><ins>+2014-03-17 Jessie Berlin <jberlin@apple.com>
</ins><span class="cx">
</span><del>-2013-05-12 Darin Adler <darin@apple.com>
</del><ins>+ Speculative build fix for ENABLE(TELEPHONE_NUMBER_DETECTION) after r165724.
</ins><span class="cx">
</span><del>- [Mac] Move writeRange/PlainText/URL from ClipboardMac to PasteboardMac
- https://bugs.webkit.org/show_bug.cgi?id=116009
</del><ins>+ * html/parser/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::linkifyPhoneNumbers):
</ins><span class="cx">
</span><ins>+2014-03-17 Zan Dobersek <zdobersek@igalia.com>
+
+ Only supplement Page with UserMediaController once
+ https://bugs.webkit.org/show_bug.cgi?id=130311
+
+ Reviewed by Darin Adler.
+
+ Don't supplement the Page with an UserMediaController object if that Page was
+ already supplemented with one. This avoids triggering an assertion in
+ Supplementable::provideSupplement() that ensures no supplement with the same key
+ exists yet. The cause of this is calling provideUserMediaTo() in the Internals
+ constructor that's using the same Page for two subsequent tests.
+
+ * Modules/mediastream/UserMediaController.cpp:
+ (WebCore::provideUserMediaTo):
+
+2014-03-17 Zan Dobersek <zdobersek@igalia.com>
+
+ Explicitly include cstdio header for debug builds in InlineTextBox, RenderLayer, RenderObject
+ https://bugs.webkit.org/show_bug.cgi?id=130310
+
+ Reviewed by Darin Adler.
+
+ Building the GTK port with Clang through CMake falls into a configuration where
+ the cstdio header is not indirectly included in InlineTextBox, RenderLayer and
+ RenderObject source files. fprintf() is required for helper functions that print
+ out helpful debugging information in debug builds, so the cstdio header should
+ be included explicitly in that case.
+
+ * rendering/InlineTextBox.cpp:
+ * rendering/RenderLayer.cpp:
+ * rendering/RenderObject.cpp:
+
+2014-03-17 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Cleanup WebKitDOMObject
+ https://bugs.webkit.org/show_bug.cgi?id=130246
+
+ Reviewed by Martin Robinson.
+
+ Remove unneeded getter and fix coding style.
+
+ * bindings/gobject/WebKitDOMObject.cpp:
+ (webkitDOMObjectSetProperty):
+ (webkit_dom_object_class_init):
+
+2014-03-17 Darin Adler <darin@apple.com>
+
+ Stop using deprecatedCharacters in HTMLTreeBuilder
+ https://bugs.webkit.org/show_bug.cgi?id=130323
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::writeRange): Added. Moved from ClipboardMac,
- but added some FIXMEs.
- (WebCore::Clipboard::writePlainText): Ditto.
- (WebCore::Clipboard::writeURL): Ditto.
</del><ins>+ Keeping this separate from other patches because of concern that this could affect
+ page load performance.
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Made writeURL, writeRange, and writePlainText
- non-virtual in non-legacy clipboard implementations.
</del><ins>+ * html/parser/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::ExternalCharacterTokenBuffer):
+ Use a StringView instead of a character pointer.
+ (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::isEmpty): Ditto.
+ (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::skipAtMostOneLeadingNewline):
+ Ditto.
+ (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::takeRemaining): Ditto.
+ (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::giveRemainingTo): Ditto.
+ (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::takeRemainingWhitespace): Ditto.
+ (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::skipLeading): Ditto.
+ (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::takeLeading): Ditto.
+ (WebCore::HTMLTreeBuilder::linkifyPhoneNumbers): Use StringView::upconvertedCharacters.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed writeRange, writeURL, and
- writePlainText.
- * platform/mac/ClipboardMac.mm: Ditto.
</del><ins>+2014-03-17 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-13 Noam Rosenthal <noam@webkit.org>
</del><ins>+ Make some Module class constructors return PassRef.
+ https://bugs.webkit.org/show_bug.cgi?id=130282
</ins><span class="cx">
</span><del>- [CoordGfx] requestAnimationFrame performance issues
- https://bugs.webkit.org/show_bug.cgi?id=112345
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Reviewed by Jocelyn Turcotte.
</del><ins>+ Make the constructor helpers for the following classes return PassRef
+ instead of PassRefPtr since they will never return null.
+ - GamepadList
+ - Geolocation
+ - NavigatorContentUtils
+ - NetworkInfoConnection
+ - Notification
+ - NotificationCenter
+ - DeviceProximityEvent
</ins><span class="cx">
</span><del>- Removed current requestAnimationFrame logic from CoordinatedGraphics. The new logic
- is entirely in WebKit2 CoordinatedLayerTreeHost.
</del><ins>+ * Modules/gamepad/GamepadList.h:
+ (WebCore::GamepadList::create):
+ * Modules/geolocation/Geolocation.cpp:
+ (WebCore::Geolocation::create):
+ * Modules/geolocation/Geolocation.h:
+ (WebCore::Geolocation::GeoNotifier::create):
+ * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
+ (WebCore::NavigatorContentUtils::create):
+ * Modules/navigatorcontentutils/NavigatorContentUtils.h:
+ * Modules/networkinfo/NetworkInfoConnection.cpp:
+ (WebCore::NetworkInfoConnection::create):
+ * Modules/networkinfo/NetworkInfoConnection.h:
+ * Modules/notifications/Notification.cpp:
+ (WebCore::Notification::create):
+ * Modules/notifications/Notification.h:
+ * Modules/notifications/NotificationCenter.cpp:
+ (WebCore::NotificationCenter::create):
+ * Modules/notifications/NotificationCenter.h:
+ * Modules/proximity/DeviceProximityEvent.h:
+ (WebCore::DeviceProximityEvent::create):
</ins><span class="cx">
</span><del>- Covered by existing tests in fast/animations.
</del><ins>+2014-03-16 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
- (WebCore::CoordinatedGraphicsScene::CoordinatedGraphicsScene):
- (WebCore::CoordinatedGraphicsScene::paintToCurrentGLContext):
- * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h:
- (CoordinatedGraphicsScene):
</del><ins>+ [CSSRegions]Do not compute region range for a box unless the parent has one
+ https://bugs.webkit.org/show_bug.cgi?id=130249
</ins><span class="cx">
</span><del>-2013-05-13 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- [texmap][GStreamer] Composited Video support
- https://bugs.webkit.org/show_bug.cgi?id=86410
</del><ins>+ If the containing block does not have a region range computed, do not attempt to compute
+ a region range for a child. In such cases, the range computation for a child can lead to
+ a result that is wrong, possibly leading to an incorrect clipping.
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ Test: fast/regions/inline-block-flowed-in-regions.html
</ins><span class="cx">
</span><del>- Enable the video accelerated compositing using the WebKit's
- TextureMapper.
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::canComputeRegionRangeForBox):
+ (WebCore::RenderBlock::computeRegionRangeForBoxChild):
+ (WebCore::RenderBlock::estimateRegionRangeForBoxChild):
+ (WebCore::RenderBlock::updateRegionRangeForBoxChild):
+ * rendering/RenderFlowThread.h:
</ins><span class="cx">
</span><del>- This patch does not use hardware accelerated video decoding. It
- provides a generic path for system memory buffers.
</del><ins>+2014-03-16 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- No new tests, already covered by existing tests.
</del><ins>+ CSSValueList should assert that no null values are added to it.
+ <https://webkit.org/b/130315>
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
- (WebCore::MediaPlayerPrivateGStreamerBase::MediaPlayerPrivateGStreamerBase):
- (WebCore):
- (WebCore::MediaPlayerPrivateGStreamerBase::updateTexture): update the
- texture content with the new received video buffer.
- (WebCore::MediaPlayerPrivateGStreamerBase::triggerRepaint): choose to
- use the accelerated compositing or the normal code path
- (WebCore::MediaPlayerPrivateGStreamerBase::paint): if accelerated
- compositing is used this method is halted.
- (WebCore::MediaPlayerPrivateGStreamerBase::paintToTextureMapper): get
- a texture from the pool and draws it if it is already available.
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
- (MediaPlayerPrivateGStreamerBase):
- (WebCore::MediaPlayerPrivateGStreamerBase::platformLayer): returns itself
- (WebCore::MediaPlayerPrivateGStreamerBase::supportsAcceleratedRendering):
- returns true
</del><ins>+ Add assertions in CSSValueList's append() and prepend() that we are
+ not adding a null value. This caught a single place in CSSParser
+ that was appending an alread-released RefPtr to a CSSValueList.
+ That list was eventually discarded anyway (due to "foundClip" now
+ being true), so the fix is simply to remove the adding.
</ins><span class="cx">
</span><del>-2013-05-13 Andreas Kling <akling@apple.com>
</del><ins>+ Eventually we should use Ref and PassRef all over for CSSValueList,
+ this is just a first step on the way.
</ins><span class="cx">
</span><del>- Document: Use a DeferrableOneShotTimer to throw out StyleResolver when unused.
- <http://webkit.org/b/115929>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseFillShorthand):
+ * css/CSSValueList.h:
+ (WebCore::CSSValueList::append):
+ (WebCore::CSSValueList::prepend):
</ins><span class="cx">
</span><del>- Nothing exciting here, just replacing a rickety-looking punting mechanism with a proper
- DeferrableOneShotTimer. Note that the timeout changes from 60 to 30 seconds because DOST
- works by punting a full interval on next timeout.
</del><ins>+2014-03-16 Praveen R Jadhav <praveen.j@samsung.com>
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::Document):
- (WebCore::Document::didAccessStyleResolver):
- (WebCore::Document::styleResolverThrowawayTimerFired):
- * dom/Document.h:
- (Document):
</del><ins>+ AudioBufferSourceNode stop attribute shouldn't throw exception in finished state.
+ https://bugs.webkit.org/show_bug.cgi?id=130000.
</ins><span class="cx">
</span><del>-2013-05-13 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- REGRESSION(r149287): FoldingText only shows me half of my text.
- <http://webkit.org/b/115956>
- <rdar://problem/13831099>
</del><ins>+ AudioBufferSourceNode may go to FINISHED_STATE even before "stop" method is called
+ as silence rendered after audio data is played out when its not looping.
+ A call to "stop" method after this shouldn't throw exception.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * Modules/webaudio/AudioScheduledSourceNode.cpp:
+ (WebCore::AudioScheduledSourceNode::stop):
</ins><span class="cx">
</span><del>- Check if the FrameView geometry changed post-layout, and send a resize event if needed.
- This brings us closer to the original resize event behavior, with the exception that
- setFrameRect() still fires an event right away if possible. This means we are still
- guarded from FOUC's but frames that layout via [WebHTMLView layoutToMinimumPageWidth]
- also get resize events like they used to.
</del><ins>+2014-03-16 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- No new tests, because I don't know how to test this.
</del><ins>+ Web Inspector: generated backend commands should reflect build system ENABLE settings
+ https://bugs.webkit.org/show_bug.cgi?id=130111
</ins><span class="cx">
</span><del>- * page/FrameView.h:
- * page/FrameView.cpp:
- (WebCore::FrameView::setFrameRect):
- (WebCore::FrameView::performPostLayoutTasks):
- (WebCore::FrameView::sendResizeEventIfNeeded):
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Factor out the resize event logic from setFrameRect() so we can call it from both
- there and performPostLayoutTasks(). sendResizeEventIfNeeded() only sends an event
- if view geometry or zoom factor has changed since last time it was called.
</del><ins>+ Add guards for conditional inspector domains.
</ins><span class="cx">
</span><del>-2013-05-13 Antti Koivisto <antti@apple.com>
</del><ins>+ For Makefile-based build systems, force regeneration of the
+ combined file if the list of domains has changed.
</ins><span class="cx">
</span><del>- Remove unneeded counters from ScopeContentDistribution.
- https://bugs.webkit.org/show_bug.cgi?id=116028
</del><ins>+ Combine only the Inspector domains listed in INSPECTOR_DOMAINS,
+ instead of globbing any .json file.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * CMakeLists.txt:
+ * DerivedSources.make:
+ * GNUmakefile.am:
</ins><span class="cx">
</span><del>- They don't do much.
</del><ins>+2014-03-16 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * dom/ShadowRoot.cpp:
- (WebCore::ShadowRoot::ShadowRoot):
- * dom/ShadowRoot.h:
-
- No need for registration code anymore.
</del><ins>+ Follow-up: Double values passed to fabsf() in maxScaleFromTransform()
+ <http://webkit.org/b/130297>
</ins><span class="cx">
</span><del>- * html/shadow/ContentDistributor.cpp:
- (WebCore::ScopeContentDistribution::ScopeContentDistribution):
-
- Default m_insertionPointListIsValid to true to avoid crawling when there are no InsertionPoints.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- (WebCore::ScopeContentDistribution::ensureInsertionPointList):
- (WebCore::ScopeContentDistribution::registerInsertionPoint):
- (WebCore::ScopeContentDistribution::unregisterInsertionPoint):
- * html/shadow/ContentDistributor.h:
-
- Remove distributeNodeChildrenTo, it was only used by the older/younger shadow root code.
</del><ins>+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::maxScaleFromTransform): Use narrowPrecisionToFloat()
+ instead of static_cast<float>().
</ins><span class="cx">
</span><ins>+2014-03-16 Andreas Kling <akling@apple.com>
+
+ ScriptExecutionContext::vm() should return a reference.
+ <https://webkit.org/b/129611>
+
+ Every ScriptExecutionContext has a VM, so this can never return null.
+ Made WorkerScriptController::vm() return a reference as well, since
+ that was needed for this change.
+
+ Reviewed by Geoffrey Garen.
+
+ * bindings/js/WorkerScriptController.h:
+ (WebCore::WorkerScriptController::vm):
+ * bindings/js/WorkerScriptDebugServer.cpp:
+ (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
+ * css/ElementRuleCollector.cpp:
+ (WebCore::ElementRuleCollector::ruleMatches):
+ * dom/ScriptExecutionContext.cpp:
+ (WebCore::ScriptExecutionContext::vm):
+ * dom/ScriptExecutionContext.h:
+ * dom/SelectorQuery.cpp:
+ (WebCore::SelectorDataList::execute):
+ * html/HTMLCanvasElement.cpp:
+ (WebCore::HTMLCanvasElement::createImageBuffer):
+ * xml/XMLHttpRequest.cpp:
+ (WebCore::XMLHttpRequest::dropProtection):
</ins><span class="cx"> * testing/Internals.cpp:
</span><del>- * testing/Internals.h:
- * testing/Internals.idl:
</del><ins>+ (WebCore::Internals::parserMetaData):
</ins><span class="cx">
</span><del>-2013-05-13 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+2014-03-16 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Web Inspector: Remove unused references from projects in Visual Studio
- https://bugs.webkit.org/show_bug.cgi?id=116002
</del><ins>+ Remove OwnPtr.h, PassOwnPtr.h header inclusions in Source/WebCore/html/parser/ code
+ https://bugs.webkit.org/show_bug.cgi?id=129667
</ins><span class="cx">
</span><del>- Reviewed by Csaba Osztrogonác.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- nativeMemoryProfiler.css and NativeMemorySnapshotView.js were removed in r149807.
</del><ins>+ Remove unnecessary inclusions of the OwnPtr.h and PassOwnPtr.h headers
+ in the code under Source/WebCore/html/parser/.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ * html/parser/HTMLParserScheduler.h:
+ * html/parser/HTMLToken.h:
+ * html/parser/HTMLTreeBuilder.h:
+ * html/parser/XSSAuditor.h:
+ * html/parser/XSSAuditorDelegate.h:
</ins><span class="cx">
</span><del>- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
</del><ins>+2014-03-16 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>-2013-05-13 Zalan Bujtas <zalan@apple.com>
</del><ins>+ Remove uses of "cat" in DerivedSources.make outside platform-specific rules
+ https://bugs.webkit.org/show_bug.cgi?id=130307
</ins><span class="cx">
</span><del>- WebProcess consuming very high CPU on linkedin.com
- https://bugs.webkit.org/show_bug.cgi?id=115601
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * DerivedSources.make: Use "perl -pe ''" instead of "cat".
</ins><span class="cx">
</span><del>- Disable WEB_TIMING_MINIMAL.
- Turn off window.performance and performance.now(). Some JS frameworks expect
- additional Web Timing APIs, when performance.now() is available.
</del><ins>+2014-03-16 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- * Configurations/FeatureDefines.xcconfig:
- * dom/EventTargetFactory.in:
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::~DOMWindow):
- (WebCore::DOMWindow::resetDOMWindowProperties):
- (WebCore):
- * page/DOMWindow.h:
- (DOMWindow):
- * page/DOMWindow.idl:
- * page/Performance.cpp:
- (WebCore::Performance::timing):
- * page/Performance.h:
- (Performance):
- * page/Performance.idl:
</del><ins>+ Web Inspector: vended backend commands file should be generated as part of the build
+ https://bugs.webkit.org/show_bug.cgi?id=130110
</ins><span class="cx">
</span><del>-2013-05-12 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- REGRESSION (r149749): Video becomes invisible when it starts playing at newyorkbygehry.com
- https://bugs.webkit.org/show_bug.cgi?id=115963
</del><ins>+ * WebCore.xcodeproj/project.pbxproj: Copy InspectorWebBackendCommands.js to the
+ private headers directory.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+2014-03-16 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- Test: media/video-remove-insert-repaints.html
</del><ins>+ [regression] foreign content not displayed in MathML
+ <https://webkit.org/b/124128>
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::insertedInto): Set m_inActiveDocument when inserted into a document.
- (WebCore::HTMLMediaElement::removedFrom): Fix logging.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>-2013-05-12 David Kilzer <ddkilzer@apple.com>
</del><ins>+ This restores foreign content in <mtext>, <mn> and <mi> elements, but only when it is "phrasing content" as defined per the HTML5 specification. Other token elements are not handled here. This change makes mspace-units.html work again on Linux.
</ins><span class="cx">
</span><del>- Move sudden termination symbols to the Mac-only section
</del><ins>+ Tests: mathml/presentation/foreign-mi-dynamic.html
+ mathml/presentation/foreign-mi.html
+ mathml/presentation/foreign-mn.html
+ mathml/presentation/foreign-mtext-rejected.html
+ mathml/presentation/foreign-mtext.html
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Move the sudden termination symbols to the
- !PLATFORM(IOS) section for reals this time.
</del><ins>+ * mathml/MathMLTextElement.cpp:
+ (WebCore::MathMLTextElement::createElementRenderer): create a RenderMathMLToken for mn, ms and mtext.
+ (WebCore::isPhrasingContent): helper function to check phrasing content, as defined by the HTML spec.
+ (WebCore::MathMLTextElement::childShouldCreateRenderer): <mi>, <mn>, <mtext> and, <ms> now accepts phrasing content.
+ * rendering/mathml/RenderMathMLToken.cpp:
+ (WebCore::RenderMathMLToken::RenderMathMLToken):
+ (WebCore::RenderMathMLToken::updateTokenContent): initialize the m_containsElement boolean when updating the token content.
+ (WebCore::RenderMathMLToken::updateStyle): move <mi> specific handling in its own section and only apply the single-char rule when it does not contain elements.
+ * rendering/mathml/RenderMathMLToken.h: add an m_containsElement boolean to handle token element specifically.
</ins><span class="cx">
</span><del>-2013-05-12 Darin Adler <darin@apple.com>
</del><ins>+2014-03-16 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- Fix Mac build.
</del><ins>+ PlatformTimeRanges::nearest() truncates closestDelta values from double to float
+ <http://webkit.org/b/130298>
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm: Add back include of ClipboardMac.h
- that was removed by accident a couple of patches back.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-05-12 Darin Adler <darin@apple.com>
</del><ins>+ Fixes the following build failures using trunk clang:
</ins><span class="cx">
</span><del>- [Mac] Moved files function from ClipboardMac to PasteboardMac
- https://bugs.webkit.org/show_bug.cgi?id=116008
</del><ins>+ WebCore/platform/graphics/PlatformTimeRanges.cpp:210:28: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
+ closestDelta = fabsf(startTime - time);
+ ^
+ WebCore/platform/graphics/PlatformTimeRanges.cpp:210:28: note: use function 'fabs' instead
+ closestDelta = fabsf(startTime - time);
+ ^~~~~
+ fabs
+ WebCore/platform/graphics/PlatformTimeRanges.cpp:214:28: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
+ closestDelta = fabsf(endTime - time);
+ ^
+ WebCore/platform/graphics/PlatformTimeRanges.cpp:214:28: note: use function 'fabs' instead
+ closestDelta = fabsf(endTime - time);
+ ^~~~~
+ fabs
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * platform/graphics/PlatformTimeRanges.cpp:
+ (WebCore::PlatformTimeRanges::nearest): Extract start and end
+ time deltas into local variables so they don't have to be
+ computed twice, using fabs() instead of fabsf().
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::files): Added. Moved the DOM-depdendent and
- platform-independent part of the files function in ClipboardMac here.
</del><ins>+2014-03-16 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Made files function non-virtual in non-legacy case.
</del><ins>+ Optimize hasTagName when called on an HTMLElement
+ https://bugs.webkit.org/show_bug.cgi?id=130090
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Removed static member function
- absoluteURLsFromPasteboardFilenames since it can now be private to
- PasteboardMac. Added member function readFilenames.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed function member files and also
- now-unused data member m_clipboardContents.
</del><ins>+ Added new hasTagName functions that have the efficiency of hasLocalName.
+ but are safe.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm: Removed files function.
- (WebCore::ClipboardMac::ClipboardMac): Removed code to initialize
- m_clipboardContents.
</del><ins>+ Now we can always use hasTagName, and we'll get a compile time error if
+ we try to use an SVG tag name with an HTML element. All call sites that
+ use the more specific tag name types are more efficient, and call sites
+ that have a specific pointer type will get even more efficient checking
+ that is exactly what we used to get by calling hasLocalName.
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm:
- (WebCore::absoluteURLsFromPasteboardFilenames): Changed from a static
- member function to a file-local function.
- (WebCore::absoluteURLsFromPasteboard): Changed to call the function
- above in its new location.
- (WebCore::Pasteboard::readFilenames): Added. Code from ClipboardMac,
- minus the DOM-specific parts. Added a FIXME about the peculiar round
- trip through NSURL this code takes.
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::hasTagName): Cast explicitly to Element
+ since Node::hasTagName no longer works on a general QualifiedName.
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::isDescendantOfElementType): Use
+ more specific type, RenderElement, so we can call hasTagName on Element
+ instead of Node; eliminates an unnecessary branch.
</ins><span class="cx">
</span><del>-2013-05-12 Anders Carlsson <andersca@apple.com>
</del><ins>+ * accessibility/AccessibilityTableColumn.cpp: Added now-needed include.
+ * accessibility/atk/AccessibilityObjectAtk.cpp: Ditto.
</ins><span class="cx">
</span><del>- Fix WebKit2 build.
</del><ins>+ * dom/DocumentStyleSheetCollection.cpp:
+ (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets): Use
+ new for loop and full words for variable names. Also use nullptr instead
+ of 0. Call toHTMLElement and toSVGElement in code that checks hasTagName
+ since it's already checking isHTMLElement and isSVGElement.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- Put WebCore::disableSuddenTermination and WebCore::enableSuddenTermination symbols in the right section.
</del><ins>+ * dom/Element.cpp:
+ (WebCore::attrNodeListMap): Use NeverDestroyed and put the vectors into
+ the map rather than putting pointers to a vector into the map.
+ (WebCore::attrNodeListForElement): Take a reference rather than a pointer,
+ and update for the change above.
+ (WebCore::ensureAttrNodeListForElement): Ditto.
+ (WebCore::removeAttrNodeListForElement): Ditto.
+ (WebCore::findAttrNodeInList): Ditto.
+ (WebCore::Element::isFocusable): Use lineageOfType<HTMLCanvasElement>
+ to fine the canvas rather than a hand-written loop.
+ (WebCore::Element::attrNodeList): Update for above changes.
+ (WebCore::Element::setAttributeNode): Ditto.
+ (WebCore::Element::attrIfExists): Ditto.
+ (WebCore::Element::ensureAttr): Ditto.
+ (WebCore::Element::detachAttrNodeFromElementWithValue): Ditto.
+ (WebCore::Element::detachAllAttrNodesFromElement): Ditto.
</ins><span class="cx">
</span><del>-2013-05-12 Darin Adler <darin@apple.com>
</del><ins>+ * dom/Element.h: Removed the overload of hasLocalName that takes a
+ QualifiedName and ignores the non-local-name parts of it. Callers should
+ use hasTagName instead, now that it's optimized appropriately. Added
+ overloads of hasTagName for all the specific qualified name types. It's
+ more efficient to use the Node versions of these functions rather than
+ using QualifiedName::matches to do the check. Removed the hasTagName and
+ hasLocalName functions from the Node class; the only convenience functions
+ needed in Node are the specific checks for tags from HTML, MathML, and SVG,
+ not the general purpose ones.
</ins><span class="cx">
</span><del>- [Mac] Move types function from ClipboardMac to PasteboardMac
- https://bugs.webkit.org/show_bug.cgi?id=116007
</del><ins>+ * dom/Node.h: Removed hasLocalName and replaced the single hasTagName
+ that takes a QualifiedName with three faster ones that take HTML, MathML,
+ and SVG qualified names instead. Also updated to use nullptr instead of 0.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * dom/PositionIterator.cpp: Added now-needed include.
+ * dom/Text.cpp: Ditto.
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::types): Added. Calls through to Pasteboard
- after doing checks needed at this level.
</del><ins>+ * dom/make_names.pl:
+ (printHeaderHead): Renamed an argument for clarity and added a definitions
+ argument, which is where we insert the classes derived from QualifiedName.
+ (printCppHead): Renamed an argument for clarity.
+ (printTypeHelpers): Use hasTagName rather than hasLocalName, since the
+ former is now optimized to be the same as what the latter was.
+ (printNamesHeaderFile): Define a class derived from QualifiedName that can
+ be used at compile time to avoid having to check the namespace.
+ (printNamesCppFile): Use the new more-specific type as needed.
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Made types function non-virtual in non-legacy case,
- and removed non-helpful comment.
</del><ins>+ * editing/ApplyStyleCommand.cpp:
+ (WebCore::isLegacyAppleStyleSpan): Use hasTagName instead of hasLocalName,
+ and references instead of pointers.
+ (WebCore::ApplyStyleCommand::ApplyStyleCommand): Removed uneeded explicit
+ construction of a smart pointer.
+ (WebCore::ApplyStyleCommand::shouldApplyInlineStyleToRun): Updated to use
+ the enclosingElementWithTag function by its new name.
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Updated includes and comments at the top of
- the file a bit. Removed static member function addHTMLClipboardTypesForCocoaType,
- since it can now be private to PasteboardMac. Added member function types.
</del><ins>+ * editing/Editor.cpp:
+ (WebCore::Editor::selectionUnorderedListState): Updated to use the
+ enclosingElementWithTag function by its new name.
+ (WebCore::Editor::selectionOrderedListState): Ditto.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed types function.
- * platform/mac/ClipboardMac.mm: Ditto.
</del><ins>+ * editing/InsertListCommand.cpp:
+ (WebCore::InsertListCommand::doApply): Use a more-specific type for the list tag.
+ (WebCore::InsertListCommand::doApplyForSingleParagraph): Ditto.
+ * editing/InsertListCommand.h: Ditto.
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm:
- (WebCore::addHTMLClipboardTypesForCocoaType): Made this a file-local
- function instead of a static member function.
- (WebCore::Pasteboard::types): Added. Moved from ClipboardMac.
</del><ins>+ * editing/MarkupAccumulator.cpp:
+ (WebCore::MarkupAccumulator::serializeNodesWithNamespaces): Added an explicit
+ cast to Element in the loop that is already guarded by an isElementNode check.
+ Also use a modern C++ for loop.
</ins><span class="cx">
</span><del>-2013-05-12 Darin Adler <darin@apple.com>
</del><ins>+ * editing/ReplaceSelectionCommand.cpp:
+ (WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
+ Updated to use the enclosingElementWithTag function by its new name.
+ (WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds): Ditto.
+ (WebCore::ReplaceSelectionCommand::positionAtEndOfInsertedContent): Ditto.
</ins><span class="cx">
</span><del>- [Mac] Move setData from ClipboardMac to PasteboardMac
- https://bugs.webkit.org/show_bug.cgi?id=116006
</del><ins>+ * editing/TypingCommand.cpp: Added now-needed includes.
+ * editing/VisibleUnits.cpp: Ditto.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * editing/htmlediting.cpp:
+ (WebCore::enclosingElementWithTag): Changed to return an Element instead of a Node,
+ since nodes other than elements do not have tags.
+ * editing/htmlediting.h: Ditto.
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::setData): Added. Calls through to Pasteboard
- after doing checks needed at this level.
</del><ins>+ * editing/mac/EditorMac.mm:
+ (WebCore::Editor::adjustedSelectionRange): Updated to use the enclosingElementWithTag
+ function by its new name.
+ * editing/markup.cpp:
+ (WebCore::StyledMarkupAccumulator::appendText): Ditto.
+ (WebCore::StyledMarkupAccumulator::traverseNodesForSerialization): Ditto.
+ (WebCore::highestAncestorToWrapMarkup): Ditto.
+ (WebCore::createMarkupInternal): Ditto.
+ (WebCore::createContextualFragment): Ditto. Use hasTagName instead of hasLocalName,
+ since the former is now optimized to be the same as the latter was before.
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Made setData non-virtual in non-legacy case.
</del><ins>+ * html/HTMLCollection.cpp:
+ (WebCore::isMatchingElement): Use hasTagName instead of hasLocalName,
+ since the former is now optimized to be the same as the latter was before.
+ (WebCore::nameShouldBeVisibleInDocumentAll): Ditto.
+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::ieForbidsInsertHTML): Ditto.
+ (WebCore::unicodeBidiAttributeForDirAuto): Ditto.
+ (WebCore::HTMLElement::parseBorderWidthAttribute): Ditto.
+ (WebCore::HTMLElement::setInnerHTML): Ditto.
+ (WebCore::shouldProhibitSetInnerOuterText): Ditto. Added this to share code between
+ setInnerText and setOuterText.
+ (WebCore::HTMLElement::setInnerText): Ditto.
+ (WebCore::HTMLElement::setOuterText): Ditto.
+ (WebCore::HTMLElement::rendererIsNeeded): Ditto.
+ (WebCore::HTMLElement::createElementRenderer): Ditto.
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Updated includes and forward declarations.
- Removed static member function cocoaTypeFromHTMLClipboardType, since
- it can now be private to PasteboardMac. Added static member function
- addHTMLClipboardTypesForCocoaType, which is shared between the
- ClipboardMac and PasteboardMac files for now. Added writeString.
</del><ins>+ * html/HTMLElement.h: Added hasTagName, which hides the one inherited from Element
+ and takes the more-specific HTMLQualifiedName type. This means we don't need to check
+ the namespace at runtime because it's known at compile time. Also put the
+ implementation of Node::hasTagName for HTMLQualifiedName into this header.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed setData.
</del><ins>+ * html/HTMLObjectElement.cpp:
+ (WebCore::isRecognizedTagName): Updated for change in return type of
+ HTMLNames::getHTMLTags.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm: Removed utiTypeFromCocoaType,
- addHTMLClipboardTypesForCocoaType, and setData.
- (WebCore::ClipboardMac::types): Call addHTMLClipboardTypesForCocoaType
- as a Pasteboard static member function, for now.
</del><ins>+ * html/HTMLSelectElement.cpp:
+ (WebCore::HTMLSelectElement::add): Use hasTagName inastead of hasLocalName.
+ (WebCore::HTMLSelectElement::value): Use isHTMLOptionElement instead of hasTagName.
+ Also use a new style for loop and emptyString() instead of "".
+ (WebCore::HTMLSelectElement::setValue): Ditto.
+ (WebCore::HTMLSelectElement::setLength): Ditto.
+ (WebCore::HTMLSelectElement::searchOptionsForValue): Ditto.
+ (WebCore::HTMLSelectElement::restoreFormControlState): Ditto.
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm:
- (WebCore::cocoaTypeFromHTMLClipboardType): Added. Moved from ClipboardMac.
- (WebCore::Pasteboard::readString): Changed to call
- cocoaTypeFromHTMLClipboardType as a file-local function, not a member
- function (in fact, we didn't need to repeat the class name before, either,
- so this is just removing something we didn't need).
- (WebCore::utiTypeFromCocoaType): Added. Moved from ClipboardMac.
- (WebCore::Pasteboard::addHTMLClipboardTypesForCocoaType): Ditto.
- (WebCore::Pasteboard::writeString): Ditto.
</del><ins>+ * html/HTMLTableColElement.cpp:
+ (WebCore::HTMLTableColElement::additionalPresentationAttributeStyle): Use hasTagName
+ instead of hasLocalName.
</ins><span class="cx">
</span><del>-2013-05-12 Darin Adler <darin@apple.com>
</del><ins>+ * html/HTMLTableRowsCollection.cpp:
+ (WebCore::isInSection): Updated to use hasTagName and take a reference.
+ (WebCore::HTMLTableRowsCollection::rowAfter): Pass a reference.
</ins><span class="cx">
</span><del>- [Mac] Move getData from ClipboardMac to PasteboardMac
- https://bugs.webkit.org/show_bug.cgi?id=116005
</del><ins>+ * html/parser/HTMLConstructionSite.cpp: Added now-needed include.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * html/parser/HTMLTreeBuilder.cpp:
+ (WebCore::createCaseMap): Updated to return a map rather than filling one in, and to
+ be flxible about the type of the table being used.
+ (WebCore::adjustSVGTagNameCase): Updated to use NeverDestroyed.
+ (WebCore::adjustAttributes): Added new helper so we can share more code. Updated
+ template argument names for clarity.
+ (WebCore::adjustSVGAttributes): Marked this inline, since it just turns around and
+ calls a single non-inline function.
+ (WebCore::adjustMathMLAttributes): Ditto.
+ (WebCore::addNamesWithPrefix): Changed to take argument by reference instead of pointer.
+ (WebCore::createForeignAttributesMap): Added. Factors out the map creation from the
+ function below.
+ (WebCore::adjustForeignAttributes): Updated for above changes.
+ (WebCore::HTMLTreeBuilder::processStartTagForInBody): Updated to pass reference.
+ (WebCore::HTMLTreeBuilder::processTokenInForeignContent): Ditto.
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::Clipboard): Added a new boolean argument, forFileDrag,
- to the constructor. Maybe we can find a better way to do this once we move
- all the platforms over, but this boolean seems a good way to do it for now.
- (WebCore::Clipboard::getData): Added. Calls through to Pasteboard after
- doing the canReadData check, which is part of DOM rules, not the platform.
- Also checks for the file drag case like the old ClipboardMac code did.
</del><ins>+ * inspector/InspectorStyleSheet.cpp: Added now-needed include.
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Made getData non-virtual in non-legacy case.
</del><ins>+ * mathml/MathMLElement.h: Added hasTagName, which hides the one inherited from Element
+ and takes the more-specific MathMLQualifiedName type. This means we don't need to check
+ the namespace at runtime because it's known at compile time. Also put the
+ implementation of Node::hasTagName for MathMLQualifiedName into this header.
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Added a static member function named
- absoluteURLsFromPasteboardFilenames, temporary so it can be shared between
- ClipboardMac and PasteboardMac. Added a readString public function member,
- and a m_changeCount data member. The type of m_changeCount is long since
- that can always hold an NSInteger but yet is a type we can compile without
- including the header file that defines NSInteger.
</del><ins>+ * mathml/MathMLInlineContainerElement.cpp:
+ (WebCore::MathMLInlineContainerElement::createElementRenderer): Use hasTagName.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed getData.
- * platform/mac/ClipboardMac.mm: Removed getData.
- (WebCore::ClipboardMac::ClipboardMac): Added code to pass in the new
- forFileDrag boolean.
- (WebCore::ClipboardMac::files): Call absoluteURLsFromPasteboardFilenames
- as a static member function in Pasteboard since we moved it there.
</del><ins>+ * mathml/MathMLSelectElement.cpp:
+ (WebCore::MathMLSelectElement::attributeChanged): Use hasTagName.
+ (WebCore::MathMLSelectElement::getSelectedActionChildAndIndex): Ditto.
+ (WebCore::MathMLSelectElement::getSelectedActionChild): Ditto.
+ (WebCore::MathMLSelectElement::getSelectedSemanticsChild): Ditto.
+ (WebCore::MathMLSelectElement::updateSelectedChild): Ditto.
+ * mathml/MathMLTextElement.cpp:
+ (WebCore::MathMLTextElement::createElementRenderer): Ditto.
+ (WebCore::MathMLTextElement::childShouldCreateRenderer): Ditto.
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::Pasteboard): Initialize the change count, so later
- pasteboard operations can check it.
- (WebCore::Pasteboard::absoluteURLsFromPasteboardFilenames): Added. Moved
- here from ClipboardMac.
- (WebCore::absoluteURLsFromPasteboard): Ditto.
- (WebCore::Pasteboard::readString): Added. Moved here from ClipboardMac.
</del><ins>+ * platform/gtk/PasteboardGtk.cpp: Added now-needed include.
+ * platform/mac/HTMLConverter.mm: Ditto.
+ * rendering/RenderBlockFlow.cpp: Ditto.
</ins><span class="cx">
</span><del>-2013-05-12 Anders Carlsson <andersca@apple.com>
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintFillLayerExtended): Use hasTagName.
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::rendererForRootBackground): Ditto.
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::isSimpleContainerCompositingLayer): Ditto.
</ins><span class="cx">
</span><del>- Stop including UnusedParam.h
- https://bugs.webkit.org/show_bug.cgi?id=116003
</del><ins>+ * rendering/RenderReplaced.cpp: Added now-needed include.
</ins><span class="cx">
</span><ins>+ * rendering/mathml/RenderMathMLScripts.cpp:
+ (WebCore::RenderMathMLScripts::RenderMathMLScripts): Use hasTagName.
+ * rendering/mathml/RenderMathMLUnderOver.cpp:
+ (WebCore::RenderMathMLUnderOver::RenderMathMLUnderOver): Ditto.
+
+ * svg/SVGElement.h: Added hasTagName, which hides the one inherited from Element
+ and takes the more-specific SVGQualifiedName type. This means we don't need to check
+ the namespace at runtime because it's known at compile time. Also put the
+ implementation of Node::hasTagName for SVGQualifiedName into this header.
+
+ * svg/SVGFontFaceSrcElement.cpp:
+ (WebCore::SVGFontFaceSrcElement::childrenChanged): Use isSVGFontFaceElement instead
+ of calling hasTagName.
+
+ * svg/SVGUseElement.cpp:
+ (WebCore::isDirectReference): Changed to take a reference and a more specific type.
+ (WebCore::SVGUseElement::toClipPath): Added a type cast.
+ (WebCore::SVGUseElement::rendererClipChild): Use more specific types so we don't
+ need a type cast.
+
+ * xml/parser/XMLDocumentParser.cpp:
+ (WebCore::XMLDocumentParser::parseDocumentFragment): Added explicit calls to this
+ unusual call site that has a good reason to use hasLocalName instead of hasTagName.
+
+2014-03-16 Andreas Kling <akling@apple.com>
+
+ Stop pulling in JSDOMBinding.h via JSEventListener.h
+ <https://webkit.org/b/130299>
+
+ Just chippin' away at the compile time monster.
+
+ Reviewed by Darin Adler.
+
+ * bindings/js/IDBBindingUtilities.cpp:
+ * bindings/js/JSEventListener.h:
+
+2014-03-16 David Kilzer <ddkilzer@apple.com>
+
+ Double values passed to fabsf() in maxScaleFromTransform()
+ <http://webkit.org/b/130297>
+
+ Reviewed by Darin Adler.
+
+ Fixes the following build failures using trunk clang:
+
+ WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:21: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
+ return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
+ ^
+ WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:21: note: use function 'fabs' instead
+ return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
+ ^~~~~
+ fabs
+ WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:50: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
+ return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
+ ^
+ WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:50: note: use function 'fabs' instead
+ return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
+ ^~~~~
+ fabs
+
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::maxScaleFromTransform): Use static_cast<float>() to
+ convert float values to double values.
+
+2014-03-15 Zalan Bujtas <zalan@apple.com>
+
+ Move BorderEdge class to its own file.
+ https://bugs.webkit.org/show_bug.cgi?id=130294
+
</ins><span class="cx"> Reviewed by Sam Weinig.
</span><span class="cx">
</span><del>- UnusedParam.h is empty now so there's no need to include it anymore.
</del><ins>+ This is in preparation to have better encapsulation for border box decoration painting.
</ins><span class="cx">
</span><del>- * Modules/encryptedmedia/CDMPrivateAVFoundation.mm:
- * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
- * Modules/indexeddb/IDBObjectStore.cpp:
- * Modules/webdatabase/DatabaseServer.cpp:
</del><ins>+ No change in functionality.
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * rendering/BorderEdge.cpp: Added.
+ (WebCore::BorderEdge::BorderEdge):
+ (WebCore::BorderEdge::getBorderEdgeInfo):
+ (WebCore::BorderEdge::includesAdjacentEdges):
+ (WebCore::BorderEdge::obscuresBackgroundEdge):
+ (WebCore::BorderEdge::obscuresBackground):
+ (WebCore::BorderEdge::getDoubleBorderStripeWidths):
+ * rendering/BorderEdge.h: Added.
+ (WebCore::BorderEdge::edgeFlagForSide):
+ (WebCore::BorderEdge::includesEdge):
+ (WebCore::BorderEdge::edgesShareColor):
+ (WebCore::BorderEdge::hasVisibleColorAndStyle):
+ (WebCore::BorderEdge::shouldRender):
+ (WebCore::BorderEdge::presentButInvisible):
+ (WebCore::BorderEdge::widthForPainting):
+ (WebCore::BorderEdge::borderWidthInDevicePixel):
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::borderStyleHasUnmatchedColorsAtCorner):
+ (WebCore::colorsMatchAtCorner):
+ (WebCore::colorNeedsAntiAliasAtCorner):
+ (WebCore::willBeOverdrawn):
+ (WebCore::joinRequiresMitre):
+ (WebCore::RenderBoxModelObject::paintBorderSides):
+ (WebCore::RenderBoxModelObject::paintTranslucentBorderSides):
+ (WebCore::RenderBoxModelObject::paintBorder):
+ (WebCore::RenderBoxModelObject::borderObscuresBackgroundEdge):
+ (WebCore::RenderBoxModelObject::borderObscuresBackground):
+ * rendering/RenderBoxModelObject.h:
+
+2014-03-15 Martin Robinson <mrobinson@igalia.com>
+
+ Fix WebCore unused parameter warnings for WebKitGTK+ CMake build
+ https://bugs.webkit.org/show_bug.cgi?id=130252
+
+ Reviewed by Carlos Garcia Campos.
+
+ * Modules/mediastream/HTMLMediaElementMediaStream.cpp: Fix unused parameters.
+ * html/RangeInputType.cpp: Ditto.
+ * page/gtk/EventHandlerGtk.cpp: Ditto.
+ * platform/graphics/cairo/GraphicsContextCairo.cpp: Ditto.
+ * platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp: Ditto.
+ * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: Ditto.
+ * platform/graphics/opengl/Extensions3DOpenGLES.cpp: Ditto.
+ * platform/gtk/GamepadsGtk.cpp: Ditto.
+ * platform/gtk/GtkClickCounter.cpp: Ditto.
+ * platform/gtk/GtkPopupMenu.cpp: Ditto.
+ * platform/gtk/GtkTouchContextHelper.cpp: Ditto.
+ * platform/gtk/GtkVersioning.c: Ditto.
+ * platform/gtk/MainFrameScrollbarGtk.cpp: Ditto.
+ * platform/gtk/PasteboardGtk.cpp: Ditto.
+ * platform/gtk/PasteboardHelper.cpp: Ditto.
+ * platform/gtk/RedirectedXCompositeWindow.cpp: Ditto.
+ * platform/gtk/RenderThemeGtk.cpp: Ditto.
+ * platform/gtk/RenderThemeGtk.h: Ditto.
+ * platform/gtk/RenderThemeGtk2.cpp: Ditto.
+ * platform/gtk/ScrollbarThemeGtk.cpp: Ditto.
+ * platform/gtk/ScrollbarThemeGtk2.cpp: Ditto.
+ * platform/gtk/WidgetGtk.cpp: Ditto.
+ * platform/network/gtk/CredentialBackingStore.cpp: Ditto.
+ * platform/soup/SharedBufferSoup.cpp: Ditto.
+ * plugins/gtk/PluginViewGtk.cpp: Ditto.
+ * plugins/gtk/gtk2xtbin.c: Ditto.
+ * rendering/InlineTextBox.cpp: Ditto.
+
+2014-03-14 Myles C. Maxfield <mmaxfield@apple.com>
+
+ RenderTextControl::hasValidAvgCharWidth doesn't detect System Font
+ https://bugs.webkit.org/show_bug.cgi?id=130168
+
+ Reviewed by Dean Jackson.
+
+ No new tests.
+
+ * platform/graphics/Font.cpp: Moved functions from RenderTextControl
+ (WebCore::Font::hasValidAverageCharWidth):
+ (WebCore::Font::fastAverageCharWidthIfAvailable):
+ * platform/graphics/Font.h:
+ * rendering/RenderTextControl.cpp: Moved functions to Font.cpp
+ (WebCore::RenderTextControl::getAverageCharWidth): Removed redundant function argument
+ (WebCore::RenderTextControl::computeIntrinsicLogicalWidths):
+ * rendering/RenderTextControl.h:
+ * rendering/RenderTextControlMultiLine.cpp:
+ (WebCore::RenderTextControlMultiLine::getAverageCharWidth): Removed redundant function argument
+ * rendering/RenderTextControlMultiLine.h:
+ * rendering/RenderTextControlSingleLine.cpp:
+ (WebCore::RenderTextControlSingleLine::getAverageCharWidth): Removed redundant function argument
+ (WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth):
+ * rendering/RenderTextControlSingleLine.h:
+
+2014-03-15 David Kilzer <ddkilzer@apple.com>
+
+ [iOS] Define SYSTEM_VERSION_PREFIX consistently
+ <http://webkit.org/b/130293>
+ <rdar://problem/15926359>
+
+ Reviewed by Dan Bernstein.
+
+ * Configurations/Version.xcconfig:
+ (SYSTEM_VERSION_PREFIX_iphoneos): Sync with
+ Source/WebKit/mac/Version.xcconfig.
+
+2014-03-14 Mark Rowe <mrowe@apple.com>
+
+ Fix the production build.
+
+ Don't rely on USE_INTERNAL_SDK being set for the Production configuration since UseInternalSDK.xcconfig won't
+ be at the expected relative path when working from installed source.
+
+ * Configurations/Base.xcconfig:
+
+2014-03-14 Maciej Stachowiak <mjs@apple.com>
+
+ Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
+ https://bugs.webkit.org/show_bug.cgi?id=130276
+ <rdar://problem/16266927>
+
+ Reviewed by Simon Fraser.
+
+ No new tests because no behavior changes.
+
+ * DerivedSources.make:
+ * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp:
+ * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
+ * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl:
+ * Modules/encryptedmedia/MediaKeyMessageEvent.cpp:
+ * Modules/encryptedmedia/MediaKeyMessageEvent.h:
+ * Modules/encryptedmedia/MediaKeyMessageEvent.idl:
+ * Modules/encryptedmedia/MediaKeyNeededEvent.cpp:
+ * Modules/encryptedmedia/MediaKeyNeededEvent.h:
+ * Modules/encryptedmedia/MediaKeyNeededEvent.idl:
+ * Modules/encryptedmedia/MediaKeySession.idl:
+ * Modules/encryptedmedia/MediaKeys.idl:
+ * Modules/geolocation/NavigatorGeolocation.cpp:
+ * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
+ * Modules/indexeddb/IDBCallbacks.h:
+ * Modules/indexeddb/IDBDatabaseException.cpp:
+ * Modules/indexeddb/IDBDatabaseMetadata.h:
+ * Modules/indexeddb/IDBEventDispatcher.cpp:
+ * Modules/indexeddb/IDBEventDispatcher.h:
+ * Modules/indexeddb/IDBFactory.cpp:
+ * Modules/indexeddb/IDBFactory.h:
+ * Modules/indexeddb/IDBFactoryBackendInterface.cpp:
+ * Modules/indexeddb/IDBFactoryBackendInterface.h:
+ * Modules/indexeddb/IDBHistograms.h:
+ * Modules/indexeddb/IDBIndexMetadata.h:
+ * Modules/indexeddb/IDBObjectStoreMetadata.h:
+ * Modules/indexeddb/IDBRecordIdentifier.h:
+ * Modules/indexeddb/IDBRequest.cpp:
+ * Modules/indexeddb/IDBRequest.h:
+ * Modules/indexeddb/IDBRequest.idl:
+ * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp:
+ * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h:
+ * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl:
+ * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
+ * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
+ * Modules/mediacontrols/MediaControlsHost.cpp:
+ * Modules/mediacontrols/MediaControlsHost.h:
+ * Modules/mediacontrols/MediaControlsHost.idl:
+ * Modules/mediacontrols/mediaControlsApple.css:
+ * Modules/mediacontrols/mediaControlsiOS.css:
+ * Modules/mediasource/AudioTrackMediaSource.h:
+ * Modules/mediasource/AudioTrackMediaSource.idl:
+ * Modules/mediasource/TextTrackMediaSource.h:
+ * Modules/mediasource/TextTrackMediaSource.idl:
+ * Modules/mediasource/VideoTrackMediaSource.h:
+ * Modules/mediasource/VideoTrackMediaSource.idl:
+ * Modules/mediastream/AllAudioCapabilities.h:
+ * Modules/mediastream/AllAudioCapabilities.idl:
+ * Modules/mediastream/AllVideoCapabilities.h:
+ * Modules/mediastream/AllVideoCapabilities.idl:
+ * Modules/mediastream/AudioStreamTrack.cpp:
+ * Modules/mediastream/AudioStreamTrack.h:
+ * Modules/mediastream/AudioStreamTrack.idl:
+ * Modules/mediastream/CapabilityRange.cpp:
+ * Modules/mediastream/CapabilityRange.h:
+ * Modules/mediastream/CapabilityRange.idl:
+ * Modules/mediastream/MediaSourceStates.cpp:
+ * Modules/mediastream/MediaSourceStates.h:
+ * Modules/mediastream/MediaSourceStates.idl:
+ * Modules/mediastream/MediaStreamCapabilities.cpp:
+ * Modules/mediastream/MediaStreamCapabilities.h:
+ * Modules/mediastream/MediaStreamCapabilities.idl:
+ * Modules/mediastream/MediaTrackConstraint.cpp:
+ * Modules/mediastream/MediaTrackConstraint.h:
+ * Modules/mediastream/MediaTrackConstraint.idl:
+ * Modules/mediastream/MediaTrackConstraintSet.cpp:
+ * Modules/mediastream/MediaTrackConstraintSet.h:
+ * Modules/mediastream/MediaTrackConstraints.cpp:
+ * Modules/mediastream/MediaTrackConstraints.h:
+ * Modules/mediastream/MediaTrackConstraints.idl:
+ * Modules/mediastream/NavigatorMediaStream.cpp:
+ * Modules/mediastream/NavigatorUserMediaError.cpp:
+ * Modules/mediastream/RTCConfiguration.idl:
+ * Modules/mediastream/RTCIceServer.idl:
+ * Modules/mediastream/RTCOfferAnswerOptions.cpp:
+ * Modules/mediastream/RTCOfferAnswerOptions.h:
+ * Modules/mediastream/VideoStreamTrack.cpp:
+ * Modules/mediastream/VideoStreamTrack.h:
+ * Modules/mediastream/VideoStreamTrack.idl:
+ * Modules/networkinfo/NetworkInfo.cpp:
+ * Modules/networkinfo/NetworkInfo.h:
+ * Modules/networkinfo/NetworkInfoConnection.cpp:
+ * Modules/networkinfo/NetworkInfoConnection.h:
+ * Modules/networkinfo/NetworkInfoController.cpp:
+ * Modules/notifications/DOMWindowNotifications.cpp:
+ * Modules/notifications/DOMWindowNotifications.h:
+ * Modules/notifications/DOMWindowNotifications.idl:
+ * Modules/notifications/NotificationController.cpp:
+ * Modules/notifications/NotificationController.h:
+ * Modules/notifications/NotificationPermissionCallback.h:
+ * Modules/notifications/NotificationPermissionCallback.idl:
+ * Modules/notifications/WorkerGlobalScopeNotifications.cpp:
+ * Modules/notifications/WorkerGlobalScopeNotifications.h:
+ * Modules/notifications/WorkerGlobalScopeNotifications.idl:
+ * Modules/plugins/PluginReplacement.h:
+ * Modules/plugins/QuickTimePluginReplacement.cpp:
+ * Modules/plugins/QuickTimePluginReplacement.css:
+ * Modules/plugins/QuickTimePluginReplacement.h:
+ * Modules/plugins/QuickTimePluginReplacement.idl:
+ * Modules/quota/DOMWindowQuota.idl:
+ * Modules/speech/DOMWindowSpeechSynthesis.h:
+ * Modules/speech/DOMWindowSpeechSynthesis.idl:
+ * Modules/speech/SpeechSynthesis.cpp:
+ * Modules/speech/SpeechSynthesis.h:
+ * Modules/speech/SpeechSynthesis.idl:
+ * Modules/speech/SpeechSynthesisEvent.cpp:
+ * Modules/speech/SpeechSynthesisEvent.h:
+ * Modules/speech/SpeechSynthesisEvent.idl:
+ * Modules/speech/SpeechSynthesisUtterance.cpp:
+ * Modules/speech/SpeechSynthesisUtterance.h:
+ * Modules/speech/SpeechSynthesisUtterance.idl:
+ * Modules/speech/SpeechSynthesisVoice.cpp:
+ * Modules/speech/SpeechSynthesisVoice.h:
+ * Modules/speech/SpeechSynthesisVoice.idl:
+ * Modules/webaudio/AudioBuffer.cpp:
+ * Modules/webaudio/AudioBuffer.h:
+ * Modules/webaudio/AudioBuffer.idl:
+ * Modules/webaudio/AudioListener.cpp:
+ * Modules/webaudio/AudioListener.h:
+ * Modules/webaudio/AudioListener.idl:
+ * Modules/webaudio/AudioParam.h:
+ * Modules/webaudio/AudioParam.idl:
+ * Modules/webaudio/AudioParamTimeline.h:
+ * Modules/webaudio/AudioScheduledSourceNode.h:
+ * Modules/webaudio/ChannelMergerNode.cpp:
+ * Modules/webaudio/ChannelMergerNode.h:
+ * Modules/webaudio/ChannelMergerNode.idl:
+ * Modules/webaudio/MediaStreamAudioSource.cpp:
+ * Modules/webaudio/MediaStreamAudioSource.h:
+ * Modules/webaudio/PeriodicWave.cpp:
+ * Modules/webaudio/PeriodicWave.h:
+ * Modules/webdatabase/ChangeVersionWrapper.cpp:
+ * Modules/webdatabase/ChangeVersionWrapper.h:
+ * Modules/webdatabase/DOMWindowWebDatabase.cpp:
+ * Modules/webdatabase/DOMWindowWebDatabase.h:
+ * Modules/webdatabase/DOMWindowWebDatabase.idl:
+ * Modules/webdatabase/Database.cpp:
+ * Modules/webdatabase/Database.h:
+ * Modules/webdatabase/Database.idl:
+ * Modules/webdatabase/DatabaseAuthorizer.cpp:
+ * Modules/webdatabase/DatabaseAuthorizer.h:
+ * Modules/webdatabase/DatabaseBackendBase.cpp:
+ * Modules/webdatabase/DatabaseBackendBase.h:
+ * Modules/webdatabase/DatabaseCallback.idl:
+ * Modules/webdatabase/DatabaseContext.cpp:
+ * Modules/webdatabase/DatabaseContext.h:
+ * Modules/webdatabase/DatabaseDetails.h:
+ * Modules/webdatabase/DatabaseTask.cpp:
+ * Modules/webdatabase/DatabaseTask.h:
</ins><span class="cx"> * Modules/webdatabase/DatabaseThread.cpp:
</span><del>- * bindings/js/JSDOMWindowBase.cpp:
</del><ins>+ * Modules/webdatabase/DatabaseThread.h:
+ * Modules/webdatabase/DatabaseTracker.cpp:
+ * Modules/webdatabase/DatabaseTracker.h:
+ * Modules/webdatabase/SQLCallbackWrapper.h:
+ * Modules/webdatabase/SQLError.h:
+ * Modules/webdatabase/SQLError.idl:
+ * Modules/webdatabase/SQLException.cpp:
+ * Modules/webdatabase/SQLResultSet.cpp:
+ * Modules/webdatabase/SQLResultSet.h:
+ * Modules/webdatabase/SQLResultSet.idl:
+ * Modules/webdatabase/SQLResultSetRowList.cpp:
+ * Modules/webdatabase/SQLResultSetRowList.h:
+ * Modules/webdatabase/SQLResultSetRowList.idl:
+ * Modules/webdatabase/SQLStatement.cpp:
+ * Modules/webdatabase/SQLStatement.h:
+ * Modules/webdatabase/SQLStatementBackend.cpp:
+ * Modules/webdatabase/SQLStatementBackend.h:
+ * Modules/webdatabase/SQLStatementCallback.h:
+ * Modules/webdatabase/SQLStatementCallback.idl:
+ * Modules/webdatabase/SQLStatementErrorCallback.h:
+ * Modules/webdatabase/SQLStatementErrorCallback.idl:
+ * Modules/webdatabase/SQLStatementSync.cpp:
+ * Modules/webdatabase/SQLTransaction.cpp:
+ * Modules/webdatabase/SQLTransaction.h:
+ * Modules/webdatabase/SQLTransaction.idl:
+ * Modules/webdatabase/SQLTransactionBackend.cpp:
+ * Modules/webdatabase/SQLTransactionBackend.h:
+ * Modules/webdatabase/SQLTransactionCallback.h:
+ * Modules/webdatabase/SQLTransactionCallback.idl:
+ * Modules/webdatabase/SQLTransactionErrorCallback.h:
+ * Modules/webdatabase/SQLTransactionErrorCallback.idl:
+ * Modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp:
+ * Modules/webdatabase/WorkerGlobalScopeWebDatabase.h:
+ * Modules/webdatabase/WorkerGlobalScopeWebDatabase.idl:
+ * Resources/deleteButton.tiff:
+ * Resources/deleteButtonPressed.tiff:
+ * WebCore.vcxproj/MigrateScripts:
+ * WebCorePrefix.cpp:
+ * accessibility/AXObjectCache.cpp:
+ * accessibility/AXObjectCache.h:
+ * accessibility/AccessibilityARIAGrid.cpp:
+ * accessibility/AccessibilityARIAGrid.h:
+ * accessibility/AccessibilityARIAGridCell.cpp:
+ * accessibility/AccessibilityARIAGridCell.h:
+ * accessibility/AccessibilityARIAGridRow.cpp:
+ * accessibility/AccessibilityARIAGridRow.h:
+ * accessibility/AccessibilityImageMapLink.cpp:
+ * accessibility/AccessibilityImageMapLink.h:
+ * accessibility/AccessibilityList.cpp:
+ * accessibility/AccessibilityList.h:
+ * accessibility/AccessibilityListBox.cpp:
+ * accessibility/AccessibilityListBox.h:
+ * accessibility/AccessibilityListBoxOption.cpp:
+ * accessibility/AccessibilityListBoxOption.h:
+ * accessibility/AccessibilityMediaControls.cpp:
+ * accessibility/AccessibilityMediaControls.h:
+ * accessibility/AccessibilityNodeObject.cpp:
+ * accessibility/AccessibilityNodeObject.h:
+ * accessibility/AccessibilityObject.cpp:
+ * accessibility/AccessibilityObject.h:
+ * accessibility/AccessibilityRenderObject.cpp:
+ * accessibility/AccessibilityRenderObject.h:
+ * accessibility/AccessibilitySVGRoot.cpp:
+ * accessibility/AccessibilitySVGRoot.h:
+ * accessibility/AccessibilityScrollbar.cpp:
+ * accessibility/AccessibilityScrollbar.h:
+ * accessibility/AccessibilitySlider.cpp:
+ * accessibility/AccessibilitySlider.h:
+ * accessibility/AccessibilityTable.cpp:
+ * accessibility/AccessibilityTable.h:
+ * accessibility/AccessibilityTableCell.cpp:
+ * accessibility/AccessibilityTableCell.h:
+ * accessibility/AccessibilityTableColumn.cpp:
+ * accessibility/AccessibilityTableColumn.h:
+ * accessibility/AccessibilityTableHeaderContainer.cpp:
+ * accessibility/AccessibilityTableHeaderContainer.h:
+ * accessibility/AccessibilityTableRow.cpp:
+ * accessibility/AccessibilityTableRow.h:
+ * accessibility/ios/AXObjectCacheIOS.mm:
+ * accessibility/ios/AccessibilityObjectIOS.mm:
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.h:
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ * accessibility/mac/AXObjectCacheMac.mm:
+ * accessibility/mac/AccessibilityObjectMac.mm:
+ * accessibility/mac/WebAccessibilityObjectWrapperBase.h:
+ * accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
+ * accessibility/mac/WebAccessibilityObjectWrapperMac.h:
+ * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+ * bindings/gobject/WebKitDOMEventTarget.cpp:
+ * bindings/gobject/WebKitDOMHTMLPrivate.cpp:
+ * bindings/gobject/WebKitDOMHTMLPrivate.h:
+ * bindings/js/Dictionary.cpp:
+ * bindings/js/GCController.cpp:
+ * bindings/js/GCController.h:
+ * bindings/js/JSAttrCustom.cpp:
+ * bindings/js/JSAudioTrackCustom.cpp:
+ * bindings/js/JSAudioTrackListCustom.cpp:
+ * bindings/js/JSCSSRuleCustom.cpp:
+ * bindings/js/JSCSSRuleCustom.h:
+ * bindings/js/JSCSSRuleListCustom.cpp:
+ * bindings/js/JSCSSStyleDeclarationCustom.cpp:
+ * bindings/js/JSCSSValueCustom.cpp:
+ * bindings/js/JSCallbackData.cpp:
+ * bindings/js/JSCallbackData.h:
+ * bindings/js/JSCanvasRenderingContextCustom.cpp:
+ * bindings/js/JSClipboardCustom.cpp:
+ * bindings/js/JSCustomSQLStatementErrorCallback.cpp:
+ * bindings/js/JSCustomXPathNSResolver.cpp:
+ * bindings/js/JSCustomXPathNSResolver.h:
+ * bindings/js/JSDOMGlobalObject.cpp:
+ * bindings/js/JSDOMGlobalObject.h:
+ * bindings/js/JSDOMWindowShell.cpp:
+ * bindings/js/JSDOMWindowShell.h:
+ * bindings/js/JSElementCustom.cpp:
+ * bindings/js/JSEventCustom.cpp:
+ * bindings/js/JSHTMLAppletElementCustom.cpp:
+ * bindings/js/JSHTMLCanvasElementCustom.cpp:
+ * bindings/js/JSHTMLDocumentCustom.cpp:
+ * bindings/js/JSHTMLElementCustom.cpp:
+ * bindings/js/JSHTMLEmbedElementCustom.cpp:
+ * bindings/js/JSHTMLFormElementCustom.cpp:
+ * bindings/js/JSHTMLFrameElementCustom.cpp:
+ * bindings/js/JSHTMLFrameSetElementCustom.cpp:
+ * bindings/js/JSHTMLObjectElementCustom.cpp:
+ * bindings/js/JSHTMLSelectElementCustom.h:
+ * bindings/js/JSHistoryCustom.cpp:
+ * bindings/js/JSMediaListCustom.h:
+ * bindings/js/JSMediaSourceStatesCustom.cpp:
+ * bindings/js/JSMediaStreamCapabilitiesCustom.cpp:
+ * bindings/js/JSNamedNodeMapCustom.cpp:
+ * bindings/js/JSNodeCustom.cpp:
+ * bindings/js/JSNodeCustom.h:
+ * bindings/js/JSNodeFilterCustom.cpp:
+ * bindings/js/JSNodeListCustom.cpp:
+ * bindings/js/JSSQLResultSetRowListCustom.cpp:
+ * bindings/js/JSSQLTransactionCustom.cpp:
+ * bindings/js/JSSQLTransactionSyncCustom.cpp:
+ * bindings/js/JSSVGElementInstanceCustom.cpp:
+ * bindings/js/JSStyleSheetCustom.cpp:
+ * bindings/js/JSStyleSheetCustom.h:
+ * bindings/js/JSStyleSheetListCustom.cpp:
+ * bindings/js/JSTextTrackCueCustom.cpp:
+ * bindings/js/JSTextTrackCustom.cpp:
+ * bindings/js/JSTextTrackListCustom.cpp:
+ * bindings/js/JSTouchCustom.cpp:
+ * bindings/js/JSTouchListCustom.cpp:
+ * bindings/js/JSTrackCustom.cpp:
+ * bindings/js/JSTrackCustom.h:
+ * bindings/js/JSTrackEventCustom.cpp:
+ * bindings/js/JSVideoTrackCustom.cpp:
+ * bindings/js/JSVideoTrackListCustom.cpp:
+ * bindings/js/JSWebGLRenderingContextCustom.cpp:
+ * bindings/js/JSWebKitPointCustom.cpp:
+ * bindings/js/JSWorkerGlobalScopeBase.cpp:
+ * bindings/js/JSWorkerGlobalScopeBase.h:
+ * bindings/js/JSXMLHttpRequestCustom.cpp:
+ * bindings/js/JSXSLTProcessorCustom.cpp:
+ * bindings/js/ScriptControllerMac.mm:
+ * bindings/js/ScriptProfile.cpp:
+ * bindings/js/ScriptProfile.h:
+ * bindings/js/ScriptProfileNode.h:
+ * bindings/js/ScriptProfiler.cpp:
+ * bindings/js/ScriptProfiler.h:
+ * bindings/js/SerializedScriptValue.cpp:
+ * bindings/js/SerializedScriptValue.h:
+ * bindings/js/WorkerScriptController.cpp:
+ * bindings/js/WorkerScriptController.h:
+ * bindings/objc/DOM.h:
+ * bindings/objc/DOM.mm:
+ * bindings/objc/DOMAbstractView.mm:
+ * bindings/objc/DOMAbstractViewFrame.h:
+ * bindings/objc/DOMCSS.h:
+ * bindings/objc/DOMCSS.mm:
+ * bindings/objc/DOMCore.h:
+ * bindings/objc/DOMCustomXPathNSResolver.h:
+ * bindings/objc/DOMCustomXPathNSResolver.mm:
+ * bindings/objc/DOMEventException.h:
+ * bindings/objc/DOMEvents.h:
+ * bindings/objc/DOMEvents.mm:
+ * bindings/objc/DOMException.h:
+ * bindings/objc/DOMExtensions.h:
+ * bindings/objc/DOMHTML.h:
+ * bindings/objc/DOMHTML.mm:
+ * bindings/objc/DOMInternal.h:
+ * bindings/objc/DOMInternal.mm:
+ * bindings/objc/DOMObject.h:
</ins><span class="cx"> * bindings/objc/DOMObject.mm:
</span><del>- * css/CSSCursorImageValue.cpp:
- * css/DeprecatedStyleBuilder.cpp:
- * dom/EventDispatcher.cpp:
- * dom/Node.cpp:
</del><ins>+ * bindings/objc/DOMPrivate.h:
+ * bindings/objc/DOMRangeException.h:
+ * bindings/objc/DOMRanges.h:
+ * bindings/objc/DOMStylesheets.h:
+ * bindings/objc/DOMTraversal.h:
+ * bindings/objc/DOMUIKitExtensions.h:
+ * bindings/objc/DOMUIKitExtensions.mm:
+ * bindings/objc/DOMUtility.mm:
+ * bindings/objc/DOMViews.h:
+ * bindings/objc/DOMXPath.h:
+ * bindings/objc/DOMXPath.mm:
+ * bindings/objc/DOMXPathException.h:
+ * bindings/objc/ExceptionHandlers.h:
+ * bindings/objc/ExceptionHandlers.mm:
+ * bindings/objc/ObjCEventListener.h:
+ * bindings/objc/ObjCEventListener.mm:
+ * bindings/objc/ObjCNodeFilterCondition.h:
+ * bindings/objc/ObjCNodeFilterCondition.mm:
+ * bindings/objc/PublicDOMInterfaces.h:
+ * bindings/objc/WebScriptObject.mm:
+ * bindings/scripts/CodeGeneratorObjC.pm:
+ * bindings/scripts/InFilesCompiler.pm:
+ (license):
+ * bindings/scripts/InFilesParser.pm:
+ * bindings/scripts/generate-bindings.pl:
+ * bindings/scripts/test/ObjC/DOMFloat64Array.h:
+ * bindings/scripts/test/ObjC/DOMFloat64Array.mm:
+ * bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.h:
+ * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.mm:
+ * bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestCallback.h:
+ * bindings/scripts/test/ObjC/DOMTestCallback.mm:
+ * bindings/scripts/test/ObjC/DOMTestCallbackInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.h:
+ * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.mm:
+ * bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestEventConstructor.h:
+ * bindings/scripts/test/ObjC/DOMTestEventConstructor.mm:
+ * bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestEventTarget.h:
+ * bindings/scripts/test/ObjC/DOMTestEventTarget.mm:
+ * bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestException.h:
+ * bindings/scripts/test/ObjC/DOMTestException.mm:
+ * bindings/scripts/test/ObjC/DOMTestExceptionInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.h:
+ * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.mm:
+ * bindings/scripts/test/ObjC/DOMTestGenerateIsReachableInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestInterface.h:
+ * bindings/scripts/test/ObjC/DOMTestInterface.mm:
+ * bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h:
+ * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm:
+ * bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestNamedConstructor.h:
+ * bindings/scripts/test/ObjC/DOMTestNamedConstructor.mm:
+ * bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestNode.h:
+ * bindings/scripts/test/ObjC/DOMTestNode.mm:
+ * bindings/scripts/test/ObjC/DOMTestNodeInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestObj.h:
+ * bindings/scripts/test/ObjC/DOMTestObj.mm:
+ * bindings/scripts/test/ObjC/DOMTestObjInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.h:
+ * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.mm:
+ * bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h:
+ * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm:
+ * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h:
+ * bindings/scripts/test/ObjC/DOMTestTypedefs.h:
+ * bindings/scripts/test/ObjC/DOMTestTypedefs.mm:
+ * bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h:
+ * bindings/scripts/test/ObjC/DOMattribute.h:
+ * bindings/scripts/test/ObjC/DOMattribute.mm:
+ * bindings/scripts/test/ObjC/DOMattributeInternal.h:
+ * bindings/scripts/test/ObjC/DOMreadonly.h:
+ * bindings/scripts/test/ObjC/DOMreadonly.mm:
+ * bindings/scripts/test/ObjC/DOMreadonlyInternal.h:
+ * bindings/scripts/test/TestCallback.idl:
+ * bindings/scripts/test/TestCustomNamedGetter.idl:
+ * bindings/scripts/test/TestDomainSecurity.idl:
+ * bindings/scripts/test/TestEventConstructor.idl:
+ * bindings/scripts/test/TestEventTarget.idl:
+ * bindings/scripts/test/TestException.idl:
+ * bindings/scripts/test/TestImplements.idl:
+ * bindings/scripts/test/TestInterface.idl:
+ * bindings/scripts/test/TestMediaQueryListListener.idl:
+ * bindings/scripts/test/TestNamedConstructor.idl:
+ * bindings/scripts/test/TestObj.idl:
+ * bindings/scripts/test/TestOverloadedConstructors.idl:
+ * bindings/scripts/test/TestSupplemental.idl:
+ * bridge/Bridge.h:
+ * bridge/IdentifierRep.cpp:
+ * bridge/IdentifierRep.h:
+ * bridge/NP_jsobject.cpp:
+ * bridge/NP_jsobject.h:
+ * bridge/c/CRuntimeObject.cpp:
+ * bridge/c/CRuntimeObject.h:
+ * bridge/c/c_class.cpp:
+ * bridge/c/c_class.h:
+ * bridge/c/c_instance.cpp:
+ * bridge/c/c_instance.h:
+ * bridge/c/c_runtime.cpp:
+ * bridge/c/c_runtime.h:
+ * bridge/c/c_utility.cpp:
+ * bridge/c/c_utility.h:
+ * bridge/jsc/BridgeJSC.cpp:
+ * bridge/jsc/BridgeJSC.h:
+ * bridge/npruntime.cpp:
+ * bridge/npruntime_impl.h:
+ * bridge/npruntime_priv.h:
+ * bridge/objc/ObjCRuntimeObject.h:
+ * bridge/objc/ObjCRuntimeObject.mm:
+ * bridge/objc/WebScriptObject.h:
+ * bridge/objc/objc_class.h:
+ * bridge/objc/objc_class.mm:
+ * bridge/objc/objc_header.h:
+ * bridge/objc/objc_instance.h:
+ * bridge/objc/objc_instance.mm:
+ * bridge/objc/objc_runtime.h:
+ * bridge/objc/objc_runtime.mm:
+ * bridge/objc/objc_utility.h:
+ * bridge/objc/objc_utility.mm:
+ * bridge/runtime_array.cpp:
+ * bridge/runtime_array.h:
+ * bridge/runtime_method.cpp:
+ * bridge/runtime_method.h:
+ * bridge/runtime_object.cpp:
+ * bridge/runtime_object.h:
+ * bridge/runtime_root.cpp:
+ * bridge/runtime_root.h:
+ * bridge/testbindings.mm:
+ * css/CSSAllInOne.cpp:
+ * css/CSSAspectRatioValue.cpp:
+ * css/CSSAspectRatioValue.h:
+ * css/CSSBorderImageSliceValue.cpp:
+ * css/CSSBorderImageSliceValue.h:
+ * css/CSSCanvasValue.cpp:
+ * css/CSSCanvasValue.h:
+ * css/CSSCrossfadeValue.cpp:
+ * css/CSSCrossfadeValue.h:
+ * css/CSSFontFace.cpp:
+ * css/CSSFontFace.h:
+ * css/CSSFontFaceSource.cpp:
+ * css/CSSFontFaceSource.h:
+ * css/CSSFontFaceSrcValue.cpp:
+ * css/CSSFontFaceSrcValue.h:
+ * css/CSSFontFeatureValue.cpp:
+ * css/CSSFontFeatureValue.h:
+ * css/CSSFontSelector.cpp:
+ * css/CSSFontSelector.h:
+ * css/CSSFontValue.cpp:
+ * css/CSSGradientValue.cpp:
+ * css/CSSGradientValue.h:
+ * css/CSSImageGeneratorValue.cpp:
+ * css/CSSImageGeneratorValue.h:
+ * css/CSSMediaRule.cpp:
+ * css/CSSProperty.cpp:
+ * css/CSSProperty.h:
+ * css/CSSReflectValue.cpp:
+ * css/CSSReflectValue.h:
+ * css/CSSReflectionDirection.h:
+ * css/CSSRuleList.cpp:
+ * css/CSSRuleList.h:
+ * css/CSSRuleList.idl:
+ * css/CSSSegmentedFontFace.cpp:
+ * css/CSSSegmentedFontFace.h:
+ * css/CSSShadowValue.cpp:
+ * css/CSSTimingFunctionValue.cpp:
+ * css/CSSTimingFunctionValue.h:
+ * css/CSSUnicodeRangeValue.cpp:
+ * css/CSSUnicodeRangeValue.h:
+ * css/CSSUnknownRule.idl:
+ * css/CSSValue.cpp:
+ * css/CSSValueList.idl:
+ * css/MediaAllInOne.cpp:
+ * css/MediaFeatureNames.cpp:
+ * css/MediaList.idl:
+ * css/MediaQuery.cpp:
+ * css/MediaQuery.h:
+ * css/MediaQueryEvaluator.cpp:
+ * css/MediaQueryEvaluator.h:
+ * css/MediaQueryExp.cpp:
+ * css/MediaQueryExp.h:
+ * css/Pair.h:
+ * css/PropertySetCSSStyleDeclaration.h:
+ * css/RGBColor.cpp:
+ * css/RGBColor.h:
+ * css/SVGCSSParser.cpp:
+ * css/SVGCSSStyleSelector.cpp:
+ * css/StyleInvalidationAnalysis.cpp:
+ * css/StyleInvalidationAnalysis.h:
+ * css/StyleMedia.cpp:
+ * css/StyleMedia.h:
+ * css/StyleMedia.idl:
+ * css/StyleSheet.cpp:
+ * css/WebKitCSSFilterValue.cpp:
+ * css/WebKitCSSFilterValue.h:
+ * css/WebKitCSSFilterValue.idl:
+ * css/WebKitCSSKeyframeRule.cpp:
+ * css/WebKitCSSKeyframeRule.h:
+ * css/WebKitCSSKeyframeRule.idl:
+ * css/WebKitCSSKeyframesRule.cpp:
+ * css/WebKitCSSKeyframesRule.h:
+ * css/WebKitCSSKeyframesRule.idl:
+ * css/WebKitCSSTransformValue.cpp:
+ * css/WebKitCSSTransformValue.h:
+ * css/WebKitCSSTransformValue.idl:
+ * css/make-css-file-arrays.pl:
+ * css/mediaControls.css:
+ * css/mediaControlsEfl.css:
+ * css/mediaControlsEflFullscreen.css:
+ * css/mediaControlsGtk.css:
+ * css/mediaControlsiOS.css:
+ * css/svg.css:
+ * dom/ActiveDOMObject.cpp:
+ * dom/ActiveDOMObject.h:
+ * dom/BeforeLoadEvent.h:
+ * dom/BeforeLoadEvent.idl:
+ * dom/BeforeTextInsertedEvent.cpp:
+ * dom/BeforeTextInsertedEvent.h:
+ * dom/BeforeUnloadEvent.cpp:
+ * dom/BeforeUnloadEvent.h:
+ * dom/BeforeUnloadEvent.idl:
+ * dom/ClassNodeList.cpp:
+ * dom/ClassNodeList.h:
+ * dom/ClientRect.cpp:
+ * dom/ClientRect.h:
+ * dom/ClientRect.idl:
+ * dom/ClientRectList.cpp:
+ * dom/ClientRectList.h:
+ * dom/ClientRectList.idl:
+ * dom/Clipboard.cpp:
+ * dom/Clipboard.idl:
+ * dom/ClipboardAccessPolicy.h:
+ * dom/ClipboardMac.mm:
+ * dom/CompositionEvent.cpp:
+ * dom/CompositionEvent.h:
+ * dom/CompositionEvent.idl:
+ * dom/ContextDestructionObserver.cpp:
+ * dom/ContextDestructionObserver.h:
+ * dom/CurrentScriptIncrementer.h:
+ * dom/CustomEvent.cpp:
+ * dom/CustomEvent.h:
+ * dom/CustomEvent.idl:
+ * dom/DOMCoreException.cpp:
+ * dom/DOMCoreException.h:
+ * dom/DOMCoreException.idl:
+ * dom/DOMError.idl:
+ * dom/DeviceMotionEvent.cpp:
+ * dom/DeviceMotionEvent.h:
+ * dom/DeviceMotionEvent.idl:
+ * dom/DocumentEventQueue.cpp:
+ * dom/DocumentEventQueue.h:
+ * dom/DocumentMarker.h:
+ * dom/DocumentParser.h:
+ * dom/DocumentSharedObjectPool.cpp:
+ * dom/DocumentSharedObjectPool.h:
+ * dom/Entity.idl:
+ * dom/EventContext.cpp:
+ * dom/EventContext.h:
+ * dom/EventException.cpp:
+ * dom/EventException.h:
+ * dom/EventException.idl:
+ * dom/EventListener.idl:
+ * dom/EventListenerMap.cpp:
+ * dom/EventListenerMap.h:
+ * dom/EventNames.cpp:
+ * dom/EventQueue.h:
+ * dom/EventTarget.cpp:
+ * dom/EventTarget.h:
+ * dom/ExceptionBase.cpp:
+ * dom/ExceptionBase.h:
+ * dom/GenericEventQueue.cpp:
+ * dom/GenericEventQueue.h:
+ * dom/KeyboardEvent.idl:
+ * dom/MessageChannel.cpp:
+ * dom/MessageChannel.h:
+ * dom/MessageChannel.idl:
+ * dom/MessageEvent.cpp:
+ * dom/MessageEvent.h:
+ * dom/MessageEvent.idl:
+ * dom/MessagePort.cpp:
+ * dom/MessagePort.h:
+ * dom/MessagePort.idl:
+ * dom/MouseRelatedEvent.h:
+ * dom/MutationEvent.idl:
+ * dom/Notation.idl:
+ * dom/OverflowEvent.cpp:
+ * dom/OverflowEvent.h:
+ * dom/OverflowEvent.idl:
+ * dom/PopStateEvent.cpp:
+ * dom/PopStateEvent.h:
+ * dom/PopStateEvent.idl:
+ * dom/Position.cpp:
+ * dom/Position.h:
+ * dom/ProcessingInstruction.idl:
+ * dom/ProgressEvent.cpp:
+ * dom/ProgressEvent.h:
+ * dom/ProgressEvent.idl:
+ * dom/Range.idl:
+ * dom/RangeException.cpp:
+ * dom/RangeException.h:
+ * dom/ScriptExecutionContext.cpp:
+ * dom/ScriptExecutionContext.h:
+ * dom/SecurityContext.cpp:
+ * dom/SecurityContext.h:
+ * dom/StaticNodeList.cpp:
+ * dom/StaticNodeList.h:
+ * dom/Text.idl:
+ * dom/TextEvent.cpp:
+ * dom/TextEvent.h:
+ * dom/TextEvent.idl:
+ * dom/Touch.cpp:
+ * dom/Touch.h:
+ * dom/Touch.idl:
+ * dom/TouchEvent.cpp:
+ * dom/TouchEvent.h:
+ * dom/TouchEvent.idl:
+ * dom/TouchList.cpp:
+ * dom/TouchList.h:
+ * dom/TouchList.idl:
+ * dom/TransitionEvent.cpp:
+ * dom/TransitionEvent.h:
+ * dom/TransitionEvent.idl:
+ * dom/TreeWalker.idl:
+ * dom/UIEvent.idl:
+ * dom/UIEventWithKeyState.cpp:
+ * dom/WebKitAnimationEvent.cpp:
+ * dom/WebKitAnimationEvent.h:
+ * dom/WebKitAnimationEvent.idl:
+ * dom/WebKitTransitionEvent.cpp:
+ * dom/WebKitTransitionEvent.h:
+ * dom/WebKitTransitionEvent.idl:
+ * dom/make_dom_exceptions.pl:
+ * dom/make_event_factory.pl:
+ * dom/make_names.pl:
+ (printLicenseHeader):
+ * editing/AlternativeTextController.cpp:
</ins><span class="cx"> * editing/AlternativeTextController.h:
</span><ins>+ * editing/AppendNodeCommand.cpp:
+ * editing/AppendNodeCommand.h:
+ * editing/ApplyStyleCommand.cpp:
+ * editing/ApplyStyleCommand.h:
+ * editing/BreakBlockquoteCommand.cpp:
+ * editing/BreakBlockquoteCommand.h:
+ * editing/CompositeEditCommand.cpp:
+ * editing/CompositeEditCommand.h:
+ * editing/CreateLinkCommand.cpp:
+ * editing/CreateLinkCommand.h:
+ * editing/DeleteButton.cpp:
+ * editing/DeleteButton.h:
+ * editing/DeleteButtonController.cpp:
+ * editing/DeleteButtonController.h:
+ * editing/DeleteFromTextNodeCommand.cpp:
+ * editing/DeleteFromTextNodeCommand.h:
+ * editing/DeleteSelectionCommand.cpp:
+ * editing/DeleteSelectionCommand.h:
+ * editing/EditAction.h:
+ * editing/EditCommand.cpp:
+ * editing/EditCommand.h:
+ * editing/EditingBoundary.h:
+ * editing/EditingStyle.cpp:
</ins><span class="cx"> * editing/Editor.cpp:
</span><ins>+ * editing/Editor.h:
+ * editing/EditorCommand.cpp:
+ * editing/EditorDeleteAction.h:
+ * editing/EditorInsertAction.h:
+ * editing/FormatBlockCommand.cpp:
+ * editing/FormatBlockCommand.h:
+ * editing/FrameSelection.cpp:
+ * editing/FrameSelection.h:
+ * editing/HTMLInterchange.cpp:
+ * editing/HTMLInterchange.h:
+ * editing/IndentOutdentCommand.cpp:
+ * editing/IndentOutdentCommand.h:
+ * editing/InsertIntoTextNodeCommand.cpp:
+ * editing/InsertIntoTextNodeCommand.h:
+ * editing/InsertLineBreakCommand.cpp:
+ * editing/InsertLineBreakCommand.h:
+ * editing/InsertListCommand.cpp:
+ * editing/InsertListCommand.h:
+ * editing/InsertNodeBeforeCommand.cpp:
+ * editing/InsertNodeBeforeCommand.h:
+ * editing/InsertParagraphSeparatorCommand.cpp:
+ * editing/InsertParagraphSeparatorCommand.h:
+ * editing/InsertTextCommand.cpp:
+ * editing/InsertTextCommand.h:
+ * editing/MarkupAccumulator.h:
+ * editing/MergeIdenticalElementsCommand.cpp:
+ * editing/MergeIdenticalElementsCommand.h:
+ * editing/ModifySelectionListLevel.cpp:
+ * editing/ModifySelectionListLevel.h:
+ * editing/MoveSelectionCommand.cpp:
+ * editing/MoveSelectionCommand.h:
+ * editing/RemoveCSSPropertyCommand.cpp:
+ * editing/RemoveCSSPropertyCommand.h:
+ * editing/RemoveFormatCommand.cpp:
+ * editing/RemoveFormatCommand.h:
+ * editing/RemoveNodeCommand.cpp:
+ * editing/RemoveNodeCommand.h:
+ * editing/RemoveNodePreservingChildrenCommand.cpp:
+ * editing/RemoveNodePreservingChildrenCommand.h:
+ * editing/ReplaceSelectionCommand.cpp:
+ * editing/ReplaceSelectionCommand.h:
+ * editing/SetNodeAttributeCommand.cpp:
+ * editing/SetNodeAttributeCommand.h:
+ * editing/SetSelectionCommand.cpp:
+ * editing/SetSelectionCommand.h:
+ * editing/SimplifyMarkupCommand.cpp:
+ * editing/SimplifyMarkupCommand.h:
+ * editing/SmartReplace.cpp:
+ * editing/SmartReplace.h:
+ * editing/SmartReplaceCF.cpp:
+ * editing/SpellChecker.cpp:
+ * editing/SpellChecker.h:
+ * editing/SpellingCorrectionCommand.cpp:
+ * editing/SpellingCorrectionCommand.h:
+ * editing/SplitElementCommand.cpp:
+ * editing/SplitElementCommand.h:
+ * editing/SplitTextNodeCommand.cpp:
+ * editing/SplitTextNodeCommand.h:
+ * editing/SplitTextNodeContainingElementCommand.cpp:
+ * editing/SplitTextNodeContainingElementCommand.h:
+ * editing/TextAffinity.h:
+ * editing/TextCheckingHelper.cpp:
+ * editing/TextGranularity.h:
+ * editing/TextIterator.cpp:
+ * editing/TextIterator.h:
+ * editing/TextIteratorBehavior.h:
+ * editing/TypingCommand.cpp:
+ * editing/TypingCommand.h:
+ * editing/UnlinkCommand.cpp:
+ * editing/UnlinkCommand.h:
+ * editing/VisiblePosition.cpp:
+ * editing/VisiblePosition.h:
+ * editing/VisibleSelection.cpp:
+ * editing/VisibleSelection.h:
+ * editing/VisibleUnits.cpp:
+ * editing/VisibleUnits.h:
+ * editing/WrapContentsInDummySpanCommand.cpp:
+ * editing/WrapContentsInDummySpanCommand.h:
+ * editing/WritingDirection.h:
+ * editing/efl/EditorEfl.cpp:
+ * editing/htmlediting.cpp:
+ * editing/htmlediting.h:
+ * editing/mac/EditorMac.mm:
+ * editing/mac/FrameSelectionMac.mm:
+ * editing/markup.cpp:
+ * editing/markup.h:
+ * extract-localizable-strings.pl:
+ * fileapi/FileException.cpp:
+ * history/BackForwardClient.h:
+ * history/BackForwardList.cpp:
+ * history/BackForwardList.h:
+ * history/CachedFrame.cpp:
+ * history/CachedFrame.h:
+ * history/CachedFramePlatformData.h:
+ * history/CachedPage.cpp:
+ * history/CachedPage.h:
+ * history/HistoryItem.cpp:
+ * history/HistoryItem.h:
+ * history/PageCache.cpp:
+ * history/PageCache.h:
+ * history/mac/HistoryItemMac.mm:
+ * html/FTPDirectoryDocument.cpp:
+ * html/FTPDirectoryDocument.h:
+ * html/HTMLAudioElement.cpp:
+ * html/HTMLAudioElement.h:
+ * html/HTMLAudioElement.idl:
+ * html/HTMLCanvasElement.cpp:
+ * html/HTMLCanvasElement.h:
+ * html/HTMLCanvasElement.idl:
+ * html/HTMLFieldSetElement.idl:
+ * html/HTMLImageLoader.h:
+ * html/HTMLMediaElement.cpp:
+ * html/HTMLMediaElement.h:
+ * html/HTMLMediaElement.idl:
+ * html/HTMLOptionsCollection.cpp:
</ins><span class="cx"> * html/HTMLPlugInElement.cpp:
</span><ins>+ * html/HTMLSourceElement.cpp:
+ * html/HTMLSourceElement.h:
+ * html/HTMLSourceElement.idl:
+ * html/HTMLTablePartElement.cpp:
+ * html/HTMLTableRowsCollection.cpp:
+ * html/HTMLTableRowsCollection.h:
+ * html/HTMLTitleElement.idl:
+ * html/HTMLTrackElement.cpp:
+ * html/HTMLTrackElement.h:
+ * html/HTMLTrackElement.idl:
+ * html/HTMLVideoElement.cpp:
+ * html/HTMLVideoElement.h:
+ * html/HTMLVideoElement.idl:
+ * html/ImageData.cpp:
+ * html/ImageData.h:
+ * html/ImageData.idl:
+ * html/ImageDocument.cpp:
+ * html/ImageDocument.h:
+ * html/MediaController.cpp:
+ * html/MediaController.h:
+ * html/MediaController.idl:
+ * html/MediaControllerInterface.h:
+ * html/MediaError.h:
+ * html/MediaError.idl:
+ * html/MediaFragmentURIParser.cpp:
+ * html/MediaFragmentURIParser.h:
+ * html/MediaKeyError.h:
+ * html/MediaKeyError.idl:
+ * html/MediaKeyEvent.cpp:
+ * html/MediaKeyEvent.h:
+ * html/MediaKeyEvent.idl:
+ * html/PluginDocument.cpp:
+ * html/PluginDocument.h:
+ * html/TextDocument.cpp:
+ * html/TextDocument.h:
+ * html/TimeRanges.cpp:
+ * html/TimeRanges.h:
+ * html/TimeRanges.idl:
+ * html/VoidCallback.h:
+ * html/VoidCallback.idl:
+ * html/canvas/CanvasGradient.cpp:
+ * html/canvas/CanvasGradient.h:
+ * html/canvas/CanvasGradient.idl:
+ * html/canvas/CanvasPattern.cpp:
+ * html/canvas/CanvasPattern.h:
+ * html/canvas/CanvasPattern.idl:
+ * html/canvas/CanvasRenderingContext.cpp:
+ * html/canvas/CanvasRenderingContext.h:
+ * html/canvas/CanvasRenderingContext.idl:
</ins><span class="cx"> * html/canvas/CanvasRenderingContext2D.cpp:
</span><ins>+ * html/canvas/CanvasRenderingContext2D.h:
+ * html/canvas/CanvasRenderingContext2D.idl:
+ * html/canvas/CanvasStyle.cpp:
+ * html/canvas/CanvasStyle.h:
+ * html/canvas/DOMPath.idl:
+ * html/canvas/OESVertexArrayObject.cpp:
</ins><span class="cx"> * html/canvas/OESVertexArrayObject.h:
</span><del>- * html/parser/HTMLConstructionSite.cpp:
- * html/parser/HTMLTokenizer.cpp:
</del><ins>+ * html/canvas/OESVertexArrayObject.idl:
+ * html/canvas/WebGLBuffer.cpp:
+ * html/canvas/WebGLBuffer.h:
+ * html/canvas/WebGLBuffer.idl:
+ * html/canvas/WebGLContextGroup.cpp:
+ * html/canvas/WebGLContextGroup.h:
+ * html/canvas/WebGLContextObject.cpp:
+ * html/canvas/WebGLContextObject.h:
+ * html/canvas/WebGLFramebuffer.cpp:
+ * html/canvas/WebGLFramebuffer.h:
+ * html/canvas/WebGLFramebuffer.idl:
+ * html/canvas/WebGLObject.cpp:
+ * html/canvas/WebGLObject.h:
+ * html/canvas/WebGLProgram.cpp:
+ * html/canvas/WebGLProgram.h:
+ * html/canvas/WebGLProgram.idl:
+ * html/canvas/WebGLRenderbuffer.cpp:
+ * html/canvas/WebGLRenderbuffer.h:
+ * html/canvas/WebGLRenderbuffer.idl:
+ * html/canvas/WebGLRenderingContext.cpp:
+ * html/canvas/WebGLRenderingContext.h:
+ * html/canvas/WebGLRenderingContext.idl:
+ * html/canvas/WebGLShader.cpp:
+ * html/canvas/WebGLShader.h:
+ * html/canvas/WebGLShader.idl:
+ * html/canvas/WebGLSharedObject.cpp:
+ * html/canvas/WebGLSharedObject.h:
+ * html/canvas/WebGLTexture.cpp:
+ * html/canvas/WebGLTexture.h:
+ * html/canvas/WebGLTexture.idl:
+ * html/canvas/WebGLUniformLocation.cpp:
+ * html/canvas/WebGLUniformLocation.h:
+ * html/canvas/WebGLUniformLocation.idl:
+ * html/canvas/WebGLVertexArrayObjectOES.cpp:
+ * html/canvas/WebGLVertexArrayObjectOES.h:
+ * html/canvas/WebGLVertexArrayObjectOES.idl:
+ * html/forms/FileIconLoader.cpp:
+ * html/forms/FileIconLoader.h:
+ * html/parser/TextDocumentParser.cpp:
+ * html/parser/TextDocumentParser.h:
+ * html/shadow/MediaControlElementTypes.cpp:
+ * html/shadow/MediaControlElementTypes.h:
+ * html/shadow/MediaControlElements.cpp:
+ * html/shadow/MediaControlElements.h:
+ * html/shadow/MediaControls.cpp:
+ * html/shadow/MediaControls.h:
+ * html/shadow/MediaControlsApple.cpp:
+ * html/shadow/MediaControlsApple.h:
+ * html/shadow/MediaControlsGtk.cpp:
+ * html/shadow/MediaControlsGtk.h:
+ * html/shadow/SpinButtonElement.cpp:
+ * html/shadow/SpinButtonElement.h:
+ * html/shadow/TextControlInnerElements.cpp:
+ * html/shadow/TextControlInnerElements.h:
+ * html/track/AudioTrack.h:
+ * html/track/AudioTrack.idl:
+ * html/track/AudioTrackList.cpp:
+ * html/track/AudioTrackList.h:
+ * html/track/AudioTrackList.idl:
+ * html/track/DataCue.cpp:
+ * html/track/DataCue.h:
+ * html/track/DataCue.idl:
+ * html/track/InbandGenericTextTrack.cpp:
+ * html/track/InbandGenericTextTrack.h:
</ins><span class="cx"> * html/track/InbandTextTrack.cpp:
</span><del>- * inspector/InspectorCanvasInstrumentation.h:
- * inspector/InspectorConsoleInstrumentation.h:
- * inspector/InspectorController.cpp:
- * inspector/InspectorCounters.h:
- * inspector/InspectorDatabaseInstrumentation.h:
- * inspector/InspectorInstrumentation.h:
- * loader/DocumentThreadableLoader.cpp:
- * loader/PingLoader.cpp:
- * loader/appcache/ApplicationCacheGroup.cpp:
- * loader/cache/CachedResourceLoader.cpp:
</del><ins>+ * html/track/InbandTextTrack.h:
+ * html/track/InbandWebVTTTextTrack.cpp:
+ * html/track/InbandWebVTTTextTrack.h:
+ * html/track/LoadableTextTrack.cpp:
+ * html/track/LoadableTextTrack.h:
+ * html/track/TextTrack.h:
+ * html/track/TextTrack.idl:
+ * html/track/TextTrackCue.idl:
+ * html/track/TextTrackCueGeneric.cpp:
+ * html/track/TextTrackCueGeneric.h:
+ * html/track/TextTrackCueList.cpp:
+ * html/track/TextTrackCueList.h:
+ * html/track/TextTrackCueList.idl:
+ * html/track/TextTrackList.cpp:
+ * html/track/TextTrackList.h:
+ * html/track/TextTrackList.idl:
+ * html/track/TextTrackRegion.idl:
+ * html/track/TextTrackRegionList.cpp:
+ * html/track/TextTrackRegionList.h:
+ * html/track/TextTrackRegionList.idl:
+ * html/track/TrackBase.cpp:
+ * html/track/TrackBase.h:
+ * html/track/TrackEvent.cpp:
+ * html/track/TrackEvent.h:
+ * html/track/TrackEvent.idl:
+ * html/track/TrackListBase.cpp:
+ * html/track/TrackListBase.h:
+ * html/track/VTTCue.idl:
+ * html/track/VideoTrack.h:
+ * html/track/VideoTrack.idl:
+ * html/track/VideoTrackList.cpp:
+ * html/track/VideoTrackList.h:
+ * html/track/VideoTrackList.idl:
+ * html/track/WebVTTElement.cpp:
+ * html/track/WebVTTElement.h:
+ * inspector/CommandLineAPIHost.cpp:
+ * inspector/CommandLineAPIHost.h:
+ * inspector/CommandLineAPIModuleSource.js:
+ * inspector/InspectorAllInOne.cpp:
+ * inspector/InspectorClient.h:
+ * inspector/InspectorDOMAgent.cpp:
+ * inspector/InspectorDOMAgent.h:
+ * inspector/InspectorDOMStorageAgent.cpp:
+ * inspector/InspectorDOMStorageAgent.h:
+ * inspector/InspectorDatabaseAgent.cpp:
+ * inspector/InspectorDatabaseAgent.h:
+ * inspector/InspectorDatabaseResource.cpp:
+ * inspector/InspectorDatabaseResource.h:
+ * inspector/InspectorForwarding.h:
+ * inspector/InspectorFrontendHost.cpp:
+ * inspector/InspectorFrontendHost.h:
+ * inspector/InspectorLayerTreeAgent.h:
+ * inspector/InspectorNodeFinder.cpp:
+ * inspector/InspectorNodeFinder.h:
+ * inspector/InspectorOverlay.cpp:
+ * inspector/InspectorOverlay.h:
+ * inspector/InspectorOverlayPage.html:
+ * inspector/InspectorProfilerAgent.cpp:
+ * inspector/InspectorProfilerAgent.h:
+ * inspector/ScriptProfile.idl:
+ * inspector/ScriptProfileNode.idl:
+ * loader/CookieJar.h:
+ * loader/CrossOriginAccessControl.cpp:
+ * loader/CrossOriginAccessControl.h:
+ * loader/CrossOriginPreflightResultCache.cpp:
+ * loader/CrossOriginPreflightResultCache.h:
+ * loader/DocumentLoader.cpp:
+ * loader/DocumentLoader.h:
+ * loader/DocumentWriter.cpp:
+ * loader/EmptyClients.h:
+ * loader/FormState.cpp:
+ * loader/FormState.h:
+ * loader/FrameLoadRequest.h:
+ * loader/FrameLoader.cpp:
+ * loader/FrameLoader.h:
+ * loader/FrameLoaderClient.h:
+ * loader/FrameLoaderTypes.h:
+ * loader/HistoryController.cpp:
+ * loader/HistoryController.h:
+ * loader/MixedContentChecker.cpp:
+ * loader/NavigationAction.cpp:
+ * loader/NavigationAction.h:
+ * loader/NavigationScheduler.cpp:
+ * loader/NavigationScheduler.h:
+ * loader/NetscapePlugInStreamLoader.cpp:
+ * loader/NetscapePlugInStreamLoader.h:
+ * loader/PolicyCallback.cpp:
+ * loader/PolicyCallback.h:
+ * loader/PolicyChecker.cpp:
+ * loader/PolicyChecker.h:
+ * loader/ProgressTracker.cpp:
+ * loader/ProgressTracker.h:
+ * loader/ResourceBuffer.cpp:
+ * loader/ResourceBuffer.h:
+ * loader/ResourceLoadNotifier.cpp:
+ * loader/ResourceLoadNotifier.h:
+ * loader/ResourceLoader.cpp:
+ * loader/ResourceLoader.h:
+ * loader/SinkDocument.cpp:
+ * loader/SinkDocument.h:
+ * loader/SubframeLoader.cpp:
+ * loader/SubframeLoader.h:
+ * loader/SubresourceLoader.cpp:
+ * loader/SubresourceLoader.h:
+ * loader/SubstituteData.h:
+ * loader/TextTrackLoader.cpp:
+ * loader/appcache/ApplicationCacheAllInOne.cpp:
+ * loader/archive/Archive.cpp:
+ * loader/archive/Archive.h:
+ * loader/archive/ArchiveFactory.cpp:
+ * loader/archive/ArchiveFactory.h:
+ * loader/archive/ArchiveResource.cpp:
+ * loader/archive/ArchiveResource.h:
+ * loader/archive/ArchiveResourceCollection.cpp:
+ * loader/archive/ArchiveResourceCollection.h:
+ * loader/archive/cf/LegacyWebArchive.cpp:
+ * loader/archive/cf/LegacyWebArchive.h:
+ * loader/archive/cf/LegacyWebArchiveMac.mm:
+ * loader/cache/CachePolicy.h:
+ * loader/cache/CachedCSSStyleSheet.cpp:
+ * loader/cache/CachedFont.cpp:
+ * loader/cache/CachedFont.h:
+ * loader/cache/CachedResourceRequest.cpp:
+ * loader/cache/CachedResourceRequest.h:
+ * loader/cache/CachedResourceRequestInitiators.cpp:
+ * loader/cache/CachedResourceRequestInitiators.h:
+ * loader/cf/ResourceLoaderCFNet.cpp:
+ * loader/icon/IconController.cpp:
+ * loader/icon/IconController.h:
+ * loader/icon/IconDatabase.cpp:
+ * loader/icon/IconDatabase.h:
+ * loader/icon/IconDatabaseBase.cpp:
+ * loader/icon/IconDatabaseBase.h:
+ * loader/icon/IconDatabaseClient.h:
+ * loader/icon/IconLoader.cpp:
+ * loader/icon/IconLoader.h:
+ * loader/icon/IconRecord.cpp:
+ * loader/icon/IconRecord.h:
+ * loader/icon/PageURLRecord.cpp:
+ * loader/icon/PageURLRecord.h:
</ins><span class="cx"> * loader/mac/DocumentLoaderMac.cpp:
</span><del>- * page/ChromeClient.h:
- * page/Console.cpp:
- * page/FrameView.cpp:
</del><ins>+ * loader/mac/LoaderNSURLExtras.h:
+ * loader/mac/LoaderNSURLExtras.mm:
+ * loader/mac/ResourceBuffer.mm:
+ * loader/mac/ResourceLoaderMac.mm:
+ * loader/win/DocumentLoaderWin.cpp:
+ * loader/win/FrameLoaderWin.cpp:
+ * mathml/MathMLAllInOne.cpp:
+ * page/AbstractView.idl:
+ * page/AlternativeTextClient.h:
+ * page/AutoscrollController.cpp:
+ * page/AutoscrollController.h:
+ * page/BarProp.cpp:
+ * page/BarProp.h:
+ * page/BarProp.idl:
+ * page/ContentSecurityPolicy.cpp:
+ * page/ContentSecurityPolicy.h:
+ * page/ContextMenuClient.h:
+ * page/ContextMenuContext.cpp:
+ * page/ContextMenuContext.h:
+ * page/ContextMenuController.cpp:
+ * page/ContextMenuController.h:
+ * page/DOMSecurityPolicy.cpp:
+ * page/DOMSecurityPolicy.h:
+ * page/DOMSelection.cpp:
+ * page/DOMSelection.h:
+ * page/DOMSelection.idl:
+ * page/DOMTimer.cpp:
+ * page/DOMTimer.h:
+ * page/DOMWindow.cpp:
+ * page/DOMWindow.h:
+ * page/DOMWindow.idl:
+ * page/DragActions.h:
+ * page/DragClient.h:
+ * page/DragController.cpp:
+ * page/DragController.h:
+ * page/DragSession.h:
+ * page/DragState.h:
+ * page/EditorClient.h:
+ * page/EventHandler.cpp:
+ * page/EventHandler.h:
+ * page/FocusController.cpp:
+ * page/FocusController.h:
+ * page/FocusDirection.h:
+ * page/FrameTree.h:
+ * page/GestureTapHighlighter.cpp:
+ * page/GestureTapHighlighter.h:
+ * page/History.cpp:
+ * page/History.h:
+ * page/History.idl:
+ * page/Location.cpp:
+ * page/Location.h:
+ * page/Location.idl:
+ * page/MouseEventWithHitTestResults.cpp:
+ * page/MouseEventWithHitTestResults.h:
+ * page/Navigator.cpp:
+ * page/NavigatorBase.cpp:
+ * page/NavigatorBase.h:
</ins><span class="cx"> * page/PageConsole.cpp:
</span><ins>+ * page/PageConsole.h:
+ * page/Screen.cpp:
+ * page/Screen.h:
+ * page/Screen.idl:
+ * page/SecurityOrigin.cpp:
+ * page/SecurityOrigin.h:
+ * page/SecurityOriginHash.h:
+ * page/Settings.cpp:
+ * page/Settings.h:
+ * page/SpatialNavigation.cpp:
+ * page/SuspendableTimer.cpp:
+ * page/SuspendableTimer.h:
+ * page/UserContentTypes.h:
+ * page/UserContentURLPattern.cpp:
+ * page/UserContentURLPattern.h:
+ * page/UserScript.h:
+ * page/UserScriptTypes.h:
+ * page/UserStyleSheet.h:
+ * page/UserStyleSheetTypes.h:
+ * page/WebCoreKeyboardUIMode.h:
+ * page/WebKitPoint.h:
+ * page/WebKitPoint.idl:
+ * page/WindowBase64.idl:
+ * page/WindowFeatures.h:
+ * page/WindowFocusAllowedIndicator.cpp:
+ * page/WindowFocusAllowedIndicator.h:
+ * page/WindowTimers.idl:
+ * page/WorkerNavigator.cpp:
+ * page/WorkerNavigator.h:
+ * page/WorkerNavigator.idl:
+ * page/animation/AnimationBase.cpp:
+ * page/animation/AnimationBase.h:
</ins><span class="cx"> * page/animation/AnimationController.cpp:
</span><ins>+ * page/animation/AnimationController.h:
+ * page/animation/AnimationControllerPrivate.h:
+ * page/animation/CSSPropertyAnimation.cpp:
+ * page/animation/CSSPropertyAnimation.h:
+ * page/animation/CompositeAnimation.cpp:
+ * page/animation/CompositeAnimation.h:
</ins><span class="cx"> * page/animation/ImplicitAnimation.cpp:
</span><ins>+ * page/animation/ImplicitAnimation.h:
</ins><span class="cx"> * page/animation/KeyframeAnimation.cpp:
</span><ins>+ * page/animation/KeyframeAnimation.h:
+ * page/efl/DragControllerEfl.cpp:
+ * page/efl/EventHandlerEfl.cpp:
+ * page/gtk/DragControllerGtk.cpp:
+ * page/gtk/EventHandlerGtk.cpp:
+ * page/ios/EventHandlerIOS.mm:
+ * page/mac/DragControllerMac.mm:
+ * page/mac/EventHandlerMac.mm:
+ * page/mac/PageMac.cpp:
+ * page/mac/WebCoreFrameView.h:
+ * page/make_settings.pl:
+ * page/win/DragControllerWin.cpp:
+ * page/win/EventHandlerWin.cpp:
+ * page/win/FrameCGWin.cpp:
+ * page/win/FrameCairoWin.cpp:
+ * page/win/FrameGdiWin.cpp:
+ * page/win/FrameWin.cpp:
+ * page/win/FrameWin.h:
+ * pdf/ios/PDFDocument.h:
+ * platform/Clock.cpp:
+ * platform/Clock.h:
+ * platform/ClockGeneric.cpp:
+ * platform/ClockGeneric.h:
+ * platform/ColorChooser.h:
+ * platform/ColorChooserClient.h:
+ * platform/ContentType.cpp:
+ * platform/ContentType.h:
+ * platform/ContextMenu.h:
+ * platform/ContextMenuItem.h:
+ * platform/Cookie.h:
+ * platform/Cursor.h:
+ * platform/DragData.cpp:
+ * platform/DragData.h:
+ * platform/DragImage.cpp:
+ * platform/DragImage.h:
+ * platform/FileChooser.cpp:
+ * platform/FileChooser.h:
+ * platform/FileSystem.h:
+ * platform/FloatConversion.h:
+ * platform/KillRing.h:
+ * platform/LinkHash.h:
</ins><span class="cx"> * platform/LocalizedStrings.cpp:
</span><del>- * platform/ScrollAnimator.h:
</del><ins>+ * platform/LocalizedStrings.h:
+ * platform/Logging.cpp:
+ * platform/Logging.h:
+ * platform/MIMETypeRegistry.cpp:
+ * platform/MIMETypeRegistry.h:
+ * platform/MediaDescription.h:
+ * platform/MediaSample.h:
+ * platform/NotImplemented.h:
+ * platform/PODFreeListArena.h:
+ * platform/Pasteboard.h:
+ * platform/PasteboardStrategy.h:
+ * platform/PlatformExportMacros.h:
+ * platform/PlatformKeyboardEvent.h:
+ * platform/PlatformMenuDescription.h:
+ * platform/PlatformMouseEvent.h:
+ * platform/PlatformPasteboard.h:
+ * platform/PlatformScreen.h:
+ * platform/PlatformSpeechSynthesis.h:
+ * platform/PlatformSpeechSynthesisUtterance.cpp:
+ * platform/PlatformSpeechSynthesisUtterance.h:
+ * platform/PlatformSpeechSynthesisVoice.cpp:
+ * platform/PlatformSpeechSynthesisVoice.h:
+ * platform/PlatformSpeechSynthesizer.cpp:
+ * platform/PlatformSpeechSynthesizer.h:
+ * platform/PlatformWheelEvent.h:
+ * platform/PopupMenuClient.h:
+ * platform/RemoteCommandListener.cpp:
+ * platform/RemoteCommandListener.h:
+ * platform/SSLKeyGenerator.h:
+ * platform/SchemeRegistry.cpp:
+ * platform/SchemeRegistry.h:
+ * platform/ScrollTypes.h:
+ * platform/ScrollView.cpp:
+ * platform/ScrollView.h:
+ * platform/Scrollbar.cpp:
+ * platform/Scrollbar.h:
+ * platform/SharedBuffer.cpp:
+ * platform/SharedBuffer.h:
+ * platform/SharedTimer.h:
+ * platform/Sound.h:
+ * platform/ThreadCheck.h:
</ins><span class="cx"> * platform/ThreadGlobalData.cpp:
</span><del>- * platform/blackberry/AsyncFileSystemBlackBerry.cpp:
- * platform/graphics/Font.cpp:
</del><ins>+ * platform/ThreadGlobalData.h:
+ * platform/ThreadTimers.cpp:
+ * platform/ThreadTimers.h:
+ * platform/Timer.cpp:
+ * platform/Timer.h:
+ * platform/URL.cpp:
+ * platform/URL.h:
+ * platform/Widget.cpp:
+ * platform/Widget.h:
+ * platform/animation/AnimationUtilities.h:
+ * platform/audio/AudioArray.h:
+ * platform/audio/AudioBus.cpp:
+ * platform/audio/AudioBus.h:
+ * platform/audio/AudioChannel.cpp:
+ * platform/audio/AudioChannel.h:
+ * platform/audio/AudioDestination.h:
+ * platform/audio/AudioFIFO.cpp:
+ * platform/audio/AudioFIFO.h:
+ * platform/audio/AudioFileReader.h:
+ * platform/audio/AudioIOCallback.h:
+ * platform/audio/AudioPullFIFO.cpp:
+ * platform/audio/AudioPullFIFO.h:
+ * platform/audio/AudioSourceProvider.h:
+ * platform/audio/Biquad.cpp:
+ * platform/audio/Biquad.h:
+ * platform/audio/Cone.cpp:
+ * platform/audio/Cone.h:
+ * platform/audio/DirectConvolver.cpp:
+ * platform/audio/DirectConvolver.h:
+ * platform/audio/Distance.cpp:
+ * platform/audio/Distance.h:
+ * platform/audio/DownSampler.cpp:
+ * platform/audio/DownSampler.h:
+ * platform/audio/DynamicsCompressor.cpp:
+ * platform/audio/DynamicsCompressor.h:
+ * platform/audio/DynamicsCompressorKernel.cpp:
+ * platform/audio/DynamicsCompressorKernel.h:
+ * platform/audio/FFTConvolver.cpp:
+ * platform/audio/FFTConvolver.h:
+ * platform/audio/FFTFrame.cpp:
+ * platform/audio/FFTFrame.h:
+ * platform/audio/HRTFDatabase.cpp:
+ * platform/audio/HRTFDatabase.h:
+ * platform/audio/HRTFDatabaseLoader.cpp:
+ * platform/audio/HRTFDatabaseLoader.h:
+ * platform/audio/HRTFElevation.cpp:
+ * platform/audio/HRTFElevation.h:
+ * platform/audio/HRTFKernel.cpp:
+ * platform/audio/HRTFKernel.h:
+ * platform/audio/MultiChannelResampler.cpp:
+ * platform/audio/MultiChannelResampler.h:
+ * platform/audio/Panner.cpp:
+ * platform/audio/Panner.h:
+ * platform/audio/Reverb.cpp:
+ * platform/audio/Reverb.h:
+ * platform/audio/ReverbAccumulationBuffer.cpp:
+ * platform/audio/ReverbAccumulationBuffer.h:
+ * platform/audio/ReverbConvolver.cpp:
+ * platform/audio/ReverbConvolver.h:
+ * platform/audio/ReverbConvolverStage.cpp:
+ * platform/audio/ReverbConvolverStage.h:
+ * platform/audio/ReverbInputBuffer.cpp:
+ * platform/audio/ReverbInputBuffer.h:
+ * platform/audio/SincResampler.cpp:
+ * platform/audio/SincResampler.h:
+ * platform/audio/UpSampler.cpp:
+ * platform/audio/UpSampler.h:
+ * platform/audio/ZeroPole.cpp:
+ * platform/audio/ZeroPole.h:
+ * platform/audio/ios/AudioDestinationIOS.cpp:
+ * platform/audio/ios/AudioDestinationIOS.h:
+ * platform/audio/ios/AudioFileReaderIOS.cpp:
+ * platform/audio/ios/AudioFileReaderIOS.h:
+ * platform/audio/mac/AudioDestinationMac.cpp:
+ * platform/audio/mac/AudioDestinationMac.h:
+ * platform/audio/mac/AudioFileReaderMac.cpp:
+ * platform/audio/mac/AudioFileReaderMac.h:
+ * platform/audio/mac/FFTFrameMac.cpp:
+ * platform/cf/FileSystemCF.cpp:
+ * platform/cf/SharedBufferCF.cpp:
+ * platform/cf/URLCF.cpp:
+ * platform/cocoa/KeyEventCocoa.h:
+ * platform/cocoa/KeyEventCocoa.mm:
+ * platform/efl/CursorEfl.cpp:
+ * platform/efl/EflKeyboardUtilities.cpp:
+ * platform/efl/EflKeyboardUtilities.h:
+ * platform/efl/FileSystemEfl.cpp:
+ * platform/efl/LanguageEfl.cpp:
+ * platform/efl/LocalizedStringsEfl.cpp:
+ * platform/efl/MIMETypeRegistryEfl.cpp:
+ * platform/efl/PlatformKeyboardEventEfl.cpp:
+ * platform/efl/PlatformMouseEventEfl.cpp:
+ * platform/efl/PlatformScreenEfl.cpp:
+ * platform/efl/PlatformWheelEventEfl.cpp:
+ * platform/efl/RenderThemeEfl.h:
+ * platform/efl/ScrollbarEfl.h:
+ * platform/efl/SharedTimerEfl.cpp:
+ * platform/efl/SoundEfl.cpp:
+ * platform/efl/TemporaryLinkStubs.cpp:
+ * platform/efl/WidgetEfl.cpp:
+ * platform/graphics/ANGLEWebKitBridge.cpp:
+ * platform/graphics/ANGLEWebKitBridge.h:
+ * platform/graphics/AudioTrackPrivate.h:
+ * platform/graphics/BitmapImage.cpp:
+ * platform/graphics/BitmapImage.h:
+ * platform/graphics/Color.cpp:
+ * platform/graphics/Color.h:
+ * platform/graphics/CrossfadeGeneratedImage.cpp:
+ * platform/graphics/CrossfadeGeneratedImage.h:
+ * platform/graphics/DashArray.h:
+ * platform/graphics/DisplayRefreshMonitor.cpp:
+ * platform/graphics/DisplayRefreshMonitor.h:
+ * platform/graphics/FloatPoint.cpp:
+ * platform/graphics/FloatPoint.h:
+ * platform/graphics/FloatQuad.cpp:
+ * platform/graphics/FloatQuad.h:
+ * platform/graphics/FloatRect.cpp:
+ * platform/graphics/FloatRect.h:
+ * platform/graphics/FloatSize.cpp:
+ * platform/graphics/FloatSize.h:
+ * platform/graphics/FontBaseline.h:
+ * platform/graphics/FontCache.cpp:
+ * platform/graphics/FontCache.h:
+ * platform/graphics/FontData.cpp:
+ * platform/graphics/FontData.h:
+ * platform/graphics/FontDescription.cpp:
+ * platform/graphics/FontFeatureSettings.cpp:
+ * platform/graphics/FontFeatureSettings.h:
+ * platform/graphics/FontGlyphs.cpp:
+ * platform/graphics/FontOrientation.h:
+ * platform/graphics/FontRenderingMode.h:
+ * platform/graphics/FontSelector.h:
+ * platform/graphics/FontWidthVariant.h:
+ * platform/graphics/FormatConverter.cpp:
+ * platform/graphics/FormatConverter.h:
+ * platform/graphics/GeneratedImage.h:
+ * platform/graphics/Glyph.h:
</ins><span class="cx"> * platform/graphics/GlyphBuffer.h:
</span><ins>+ * platform/graphics/GlyphMetricsMap.h:
+ * platform/graphics/GlyphPage.h:
+ * platform/graphics/GlyphPageTreeNode.cpp:
+ * platform/graphics/GlyphPageTreeNode.h:
</ins><span class="cx"> * platform/graphics/Gradient.cpp:
</span><ins>+ * platform/graphics/Gradient.h:
+ * platform/graphics/GradientImage.h:
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/GraphicsContext3D.cpp:
+ * platform/graphics/GraphicsContext3D.h:
+ * platform/graphics/GraphicsLayer.cpp:
+ * platform/graphics/GraphicsLayer.h:
+ * platform/graphics/GraphicsLayerClient.h:
+ * platform/graphics/GraphicsTypes.cpp:
+ * platform/graphics/GraphicsTypes.h:
+ * platform/graphics/GraphicsTypes3D.h:
+ * platform/graphics/Image.cpp:
+ * platform/graphics/Image.h:
+ * platform/graphics/ImageBuffer.cpp:
+ * platform/graphics/ImageBuffer.h:
+ * platform/graphics/ImageBufferData.h:
+ * platform/graphics/ImageObserver.h:
+ * platform/graphics/ImageSource.cpp:
+ * platform/graphics/ImageSource.h:
+ * platform/graphics/InbandTextTrackPrivate.h:
+ * platform/graphics/InbandTextTrackPrivateClient.h:
+ * platform/graphics/IntPoint.cpp:
+ * platform/graphics/IntPoint.h:
+ * platform/graphics/IntSize.cpp:
+ * platform/graphics/IntSize.h:
+ * platform/graphics/MediaPlayer.cpp:
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
+ * platform/graphics/MediaSourcePrivateClient.h:
+ * platform/graphics/NativeImagePtr.h:
+ * platform/graphics/OpenGLESShims.h:
+ * platform/graphics/Path.cpp:
+ * platform/graphics/Path.h:
+ * platform/graphics/PathTraversalState.h:
+ * platform/graphics/Pattern.cpp:
+ * platform/graphics/Pattern.h:
+ * platform/graphics/PlatformLayer.h:
+ * platform/graphics/PlatformTimeRanges.cpp:
+ * platform/graphics/PlatformTimeRanges.h:
+ * platform/graphics/SegmentedFontData.cpp:
+ * platform/graphics/SegmentedFontData.h:
</ins><span class="cx"> * platform/graphics/ShadowBlur.cpp:
</span><ins>+ * platform/graphics/ShadowBlur.h:
</ins><span class="cx"> * platform/graphics/SimpleFontData.cpp:
</span><del>- * platform/graphics/SimpleFontData.h:
</del><ins>+ * platform/graphics/SourceBufferPrivateClient.h:
+ * platform/graphics/StringTruncator.cpp:
+ * platform/graphics/StringTruncator.h:
+ * platform/graphics/TrackPrivateBase.h:
+ * platform/graphics/VideoTrackPrivate.h:
+ * platform/graphics/WindRule.h:
+ * platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.h:
+ * platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm:
</ins><span class="cx"> * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
</span><ins>+ * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
</ins><span class="cx"> * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
</span><ins>+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
+ * platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h:
+ * platform/graphics/avfoundation/cf/CoreMediaSoftLinking.h:
+ * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp:
+ * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h:
+ * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp:
+ * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h:
</ins><span class="cx"> * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
</span><ins>+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
+ * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.cpp:
+ * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
+ * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h:
</ins><span class="cx"> * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm:
</span><ins>+ * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h:
</ins><span class="cx"> * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm:
</span><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
</ins><span class="cx"> * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
</span><del>- * platform/graphics/blackberry/GradientBlackBerry.cpp:
- * platform/graphics/blackberry/GraphicsContextBlackBerry.cpp:
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
+ * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
+ * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.mm:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * platform/graphics/ca/LayerFlushScheduler.cpp:
+ * platform/graphics/ca/LayerFlushScheduler.h:
+ * platform/graphics/ca/LayerFlushSchedulerClient.h:
+ * platform/graphics/ca/PlatformCAAnimation.h:
+ * platform/graphics/ca/PlatformCAFilters.h:
+ * platform/graphics/ca/PlatformCALayer.cpp:
+ * platform/graphics/ca/PlatformCALayer.h:
+ * platform/graphics/ca/PlatformCALayerClient.h:
+ * platform/graphics/ca/TransformationMatrixCA.cpp:
+ * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp:
+ * platform/graphics/ca/mac/LayerPool.mm:
</ins><span class="cx"> * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
</span><ins>+ * platform/graphics/ca/mac/PlatformCAFiltersMac.h:
+ * platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
+ * platform/graphics/ca/mac/PlatformCALayerMac.h:
</ins><span class="cx"> * platform/graphics/ca/mac/PlatformCALayerMac.mm:
</span><del>- * platform/graphics/ca/mac/WebTileLayer.mm:
</del><ins>+ * platform/graphics/ca/mac/WebTiledBackingLayer.h:
+ * platform/graphics/ca/mac/WebTiledBackingLayer.mm:
+ * platform/graphics/ca/win/AbstractCACFLayerTreeHost.h:
+ * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
+ * platform/graphics/ca/win/CACFLayerTreeHost.h:
+ * platform/graphics/ca/win/CACFLayerTreeHostClient.h:
+ * platform/graphics/ca/win/LayerChangesFlusher.cpp:
+ * platform/graphics/ca/win/LayerChangesFlusher.h:
+ * platform/graphics/ca/win/LegacyCACFLayerTreeHost.cpp:
+ * platform/graphics/ca/win/LegacyCACFLayerTreeHost.h:
</ins><span class="cx"> * platform/graphics/ca/win/PlatformCAAnimationWin.cpp:
</span><ins>+ * platform/graphics/ca/win/PlatformCAFiltersWin.cpp:
+ * platform/graphics/ca/win/PlatformCALayerWin.cpp:
+ * platform/graphics/ca/win/PlatformCALayerWin.h:
+ * platform/graphics/ca/win/PlatformCALayerWinInternal.cpp:
+ * platform/graphics/ca/win/PlatformCALayerWinInternal.h:
+ * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
+ * platform/graphics/ca/win/WKCACFViewLayerTreeHost.h:
+ * platform/graphics/cairo/BitmapImageCairo.cpp:
+ * platform/graphics/cairo/CairoUtilities.cpp:
+ * platform/graphics/cairo/CairoUtilities.h:
+ * platform/graphics/cairo/DrawingBufferCairo.cpp:
+ * platform/graphics/cairo/FloatRectCairo.cpp:
+ * platform/graphics/cairo/FontCairo.cpp:
+ * platform/graphics/cairo/FontCairoHarfbuzzNG.cpp:
+ * platform/graphics/cairo/GradientCairo.cpp:
+ * platform/graphics/cairo/GraphicsContext3DCairo.cpp:
+ * platform/graphics/cairo/GraphicsContextCairo.cpp:
+ * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
+ * platform/graphics/cairo/ImageBufferCairo.cpp:
+ * platform/graphics/cairo/ImageBufferDataCairo.h:
+ * platform/graphics/cairo/ImageCairo.cpp:
+ * platform/graphics/cairo/PatternCairo.cpp:
+ * platform/graphics/cairo/PlatformContextCairo.cpp:
+ * platform/graphics/cairo/PlatformContextCairo.h:
+ * platform/graphics/cairo/TransformationMatrixCairo.cpp:
+ * platform/graphics/cg/BitmapImageCG.cpp:
+ * platform/graphics/cg/ColorCG.cpp:
+ * platform/graphics/cg/FloatPointCG.cpp:
+ * platform/graphics/cg/FloatRectCG.cpp:
+ * platform/graphics/cg/FloatSizeCG.cpp:
+ * platform/graphics/cg/GradientCG.cpp:
+ * platform/graphics/cg/GraphicsContext3DCG.cpp:
</ins><span class="cx"> * platform/graphics/cg/GraphicsContextCG.cpp:
</span><ins>+ * platform/graphics/cg/GraphicsContextCG.h:
+ * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
</ins><span class="cx"> * platform/graphics/cg/ImageBufferCG.cpp:
</span><ins>+ * platform/graphics/cg/ImageBufferDataCG.cpp:
+ * platform/graphics/cg/ImageBufferDataCG.h:
+ * platform/graphics/cg/ImageCG.cpp:
</ins><span class="cx"> * platform/graphics/cg/ImageSourceCG.cpp:
</span><del>- * platform/graphics/clutter/PlatformClutterAnimation.cpp:
- * platform/graphics/filters/ValidatedCustomFilterOperation.cpp:
- * platform/graphics/gstreamer/GStreamerVersioning.cpp:
</del><ins>+ * platform/graphics/cg/IntPointCG.cpp:
+ * platform/graphics/cg/IntRectCG.cpp:
+ * platform/graphics/cg/IntSizeCG.cpp:
+ * platform/graphics/cg/PDFDocumentImage.cpp:
+ * platform/graphics/cg/PDFDocumentImage.h:
+ * platform/graphics/cg/PathCG.cpp:
+ * platform/graphics/cg/PatternCG.cpp:
+ * platform/graphics/cg/TransformationMatrixCG.cpp:
+ * platform/graphics/efl/IconEfl.cpp:
+ * platform/graphics/efl/ImageEfl.cpp:
+ * platform/graphics/filters/FilterOperation.cpp:
+ * platform/graphics/filters/FilterOperation.h:
+ * platform/graphics/filters/FilterOperations.cpp:
+ * platform/graphics/filters/FilterOperations.h:
+ * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
+ * platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp:
+ * platform/graphics/freetype/SimpleFontDataFreeType.cpp:
+ * platform/graphics/gpu/mac/DrawingBufferMac.mm:
+ * platform/graphics/gtk/GdkCairoUtilities.cpp:
+ * platform/graphics/gtk/GdkCairoUtilities.h:
+ * platform/graphics/gtk/IconGtk.cpp:
+ * platform/graphics/gtk/ImageGtk.cpp:
+ * platform/graphics/ios/DisplayRefreshMonitorIOS.mm:
+ * platform/graphics/ios/FontCacheIOS.mm:
+ * platform/graphics/ios/GraphicsContext3DIOS.h:
+ * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h:
+ * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.mm:
+ * platform/graphics/ios/MediaPlayerPrivateIOS.h:
+ * platform/graphics/ios/MediaPlayerPrivateIOS.mm:
+ * platform/graphics/mac/ColorMac.h:
+ * platform/graphics/mac/ColorMac.mm:
+ * platform/graphics/mac/DisplayRefreshMonitorMac.cpp:
+ * platform/graphics/mac/FloatPointMac.mm:
+ * platform/graphics/mac/FloatRectMac.mm:
+ * platform/graphics/mac/FloatSizeMac.mm:
+ * platform/graphics/mac/FontCacheMac.mm:
+ * platform/graphics/mac/FontCustomPlatformData.h:
+ * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
</ins><span class="cx"> * platform/graphics/mac/GraphicsContext3DMac.mm:
</span><ins>+ * platform/graphics/mac/GraphicsContextMac.mm:
+ * platform/graphics/mac/ImageMac.mm:
+ * platform/graphics/mac/IntPointMac.mm:
+ * platform/graphics/mac/IntRectMac.mm:
+ * platform/graphics/mac/IntSizeMac.mm:
+ * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
</ins><span class="cx"> * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
</span><del>- * platform/graphics/mac/SimpleFontDataMac.mm:
</del><ins>+ * platform/graphics/mac/MediaPlayerProxy.h:
+ * platform/graphics/mac/WebCoreCALayerExtras.h:
+ * platform/graphics/mac/WebCoreCALayerExtras.mm:
+ * platform/graphics/mac/WebGLLayer.h:
</ins><span class="cx"> * platform/graphics/mac/WebGLLayer.mm:
</span><ins>+ * platform/graphics/mac/WebLayer.h:
</ins><span class="cx"> * platform/graphics/mac/WebLayer.mm:
</span><ins>+ * platform/graphics/mac/WebTiledLayer.h:
</ins><span class="cx"> * platform/graphics/mac/WebTiledLayer.mm:
</span><span class="cx"> * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
</span><span class="cx"> * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
</span><del>- * platform/graphics/qt/GraphicsContext3DQt.cpp:
- * platform/graphics/texmap/TextureMapper.h:
- * platform/graphics/wince/ImageBufferWinCE.cpp:
</del><ins>+ * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:
+ * platform/graphics/opentype/OpenTypeUtilities.cpp:
+ * platform/graphics/opentype/OpenTypeUtilities.h:
+ * platform/graphics/transforms/AffineTransform.cpp:
+ * platform/graphics/transforms/AffineTransform.h:
+ * platform/graphics/transforms/Matrix3DTransformOperation.cpp:
+ * platform/graphics/transforms/Matrix3DTransformOperation.h:
+ * platform/graphics/transforms/PerspectiveTransformOperation.cpp:
+ * platform/graphics/transforms/PerspectiveTransformOperation.h:
+ * platform/graphics/transforms/TransformState.cpp:
+ * platform/graphics/transforms/TransformState.h:
+ * platform/graphics/transforms/TransformationMatrix.cpp:
+ * platform/graphics/transforms/TransformationMatrix.h:
+ * platform/graphics/win/FontCGWin.cpp:
+ * platform/graphics/win/FontCacheWin.cpp:
+ * platform/graphics/win/FontCustomPlatformDataCairo.cpp:
+ * platform/graphics/win/FontWin.cpp:
+ * platform/graphics/win/FullScreenController.cpp:
+ * platform/graphics/win/FullScreenController.h:
+ * platform/graphics/win/FullScreenControllerClient.h:
+ * platform/graphics/win/GlyphPageTreeNodeCGWin.cpp:
+ * platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp:
+ * platform/graphics/win/GraphicsContextCGWin.cpp:
+ * platform/graphics/win/GraphicsContextCairoWin.cpp:
+ * platform/graphics/win/GraphicsContextWin.cpp:
+ * platform/graphics/win/ImageCGWin.cpp:
+ * platform/graphics/win/ImageCairoWin.cpp:
+ * platform/graphics/win/ImageWin.cpp:
+ * platform/graphics/win/IntPointWin.cpp:
+ * platform/graphics/win/IntRectWin.cpp:
+ * platform/graphics/win/IntSizeWin.cpp:
+ * platform/graphics/win/LocalWindowsContext.h:
+ * platform/graphics/win/MediaPlayerPrivateTaskTimer.cpp:
+ * platform/graphics/win/MediaPlayerPrivateTaskTimer.h:
+ * platform/graphics/win/SimpleFontDataCGWin.cpp:
+ * platform/graphics/win/SimpleFontDataCairoWin.cpp:
+ * platform/graphics/win/SimpleFontDataWin.cpp:
+ * platform/graphics/win/TransformationMatrixWin.cpp:
+ * platform/graphics/wince/FontCacheWinCE.cpp:
+ * platform/graphics/wince/FontWinCE.cpp:
+ * platform/graphics/wince/MediaPlayerPrivateWinCE.h:
+ * platform/graphics/wince/SimpleFontDataWinCE.cpp:
+ * platform/gtk/CompositionResults.h:
+ * platform/gtk/CursorGtk.cpp:
+ * platform/gtk/GtkPluginWidget.cpp:
+ * platform/gtk/GtkPluginWidget.h:
+ * platform/gtk/LocalizedStringsGtk.cpp:
+ * platform/gtk/MIMETypeRegistryGtk.cpp:
+ * platform/gtk/PlatformKeyboardEventGtk.cpp:
+ * platform/gtk/PlatformMouseEventGtk.cpp:
+ * platform/gtk/PlatformScreenGtk.cpp:
+ * platform/gtk/PlatformWheelEventGtk.cpp:
+ * platform/gtk/RedirectedXCompositeWindow.cpp:
+ * platform/gtk/RedirectedXCompositeWindow.h:
+ * platform/gtk/RenderThemeGtk.h:
+ * platform/gtk/ScrollViewGtk.cpp:
+ * platform/gtk/SharedTimerGtk.cpp:
+ * platform/gtk/TemporaryLinkStubs.cpp:
+ * platform/gtk/UserAgentGtk.cpp:
+ * platform/gtk/UserAgentGtk.h:
+ * platform/gtk/WidgetGtk.cpp:
+ * platform/gtk/WidgetRenderingContext.cpp:
+ * platform/image-decoders/ImageDecoder.h:
+ * platform/image-decoders/cairo/ImageDecoderCairo.cpp:
+ * platform/image-decoders/gif/GIFImageDecoder.cpp:
+ * platform/image-decoders/gif/GIFImageDecoder.h:
+ * platform/image-decoders/gif/GIFImageReader.cpp:
+ * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
+ * platform/image-decoders/jpeg/JPEGImageDecoder.h:
+ * platform/image-decoders/png/PNGImageDecoder.cpp:
+ * platform/image-decoders/png/PNGImageDecoder.h:
+ * platform/image-decoders/webp/WEBPImageDecoder.cpp:
+ * platform/image-decoders/webp/WEBPImageDecoder.h:
+ * platform/ios/CursorIOS.cpp:
+ * platform/ios/DragImageIOS.mm:
+ * platform/ios/KeyEventCodesIOS.h:
+ * platform/ios/KeyEventIOS.mm:
+ * platform/ios/PlatformPasteboardIOS.mm:
+ * platform/ios/PlatformScreenIOS.mm:
+ * platform/ios/PlatformSpeechSynthesizerIOS.mm:
+ * platform/ios/RemoteCommandListenerIOS.h:
+ * platform/ios/RemoteCommandListenerIOS.mm:
+ * platform/ios/ScrollViewIOS.mm:
+ * platform/ios/SoundIOS.mm:
+ * platform/ios/SystemMemory.h:
+ * platform/ios/SystemMemoryIOS.cpp:
+ * platform/ios/WebCoreSystemInterfaceIOS.h:
+ * platform/ios/WebCoreSystemInterfaceIOS.mm:
+ * platform/ios/WidgetIOS.mm:
+ * platform/mac/BlockExceptions.h:
+ * platform/mac/BlockExceptions.mm:
+ * platform/mac/ContextMenuItemMac.mm:
+ * platform/mac/ContextMenuMac.mm:
+ * platform/mac/CursorMac.mm:
+ * platform/mac/DragDataMac.mm:
+ * platform/mac/DragImageMac.mm:
+ * platform/mac/FileSystemMac.mm:
+ * platform/mac/KeyEventMac.mm:
+ * platform/mac/LocalCurrentGraphicsContext.h:
+ * platform/mac/LocalCurrentGraphicsContext.mm:
+ * platform/mac/LoggingMac.mm:
+ * platform/mac/MIMETypeRegistryMac.mm:
+ * platform/mac/MediaTimeMac.cpp:
+ * platform/mac/MediaTimeMac.h:
</ins><span class="cx"> * platform/mac/PasteboardMac.mm:
</span><del>- * platform/mac/ScrollAnimatorMac.mm:
</del><ins>+ * platform/mac/PlatformClockCA.cpp:
+ * platform/mac/PlatformClockCA.h:
+ * platform/mac/PlatformClockCM.h:
+ * platform/mac/PlatformClockCM.mm:
+ * platform/mac/PlatformPasteboardMac.mm:
+ * platform/mac/PlatformScreenMac.mm:
+ * platform/mac/PlatformSpeechSynthesisMac.mm:
+ * platform/mac/PlatformSpeechSynthesizerMac.mm:
</ins><span class="cx"> * platform/mac/ScrollViewMac.mm:
</span><del>- * platform/mac/ScrollbarThemeMac.mm:
</del><ins>+ * platform/mac/SharedBufferMac.mm:
</ins><span class="cx"> * platform/mac/SharedTimerMac.mm:
</span><del>- * platform/mac/WebCoreFullScreenPlaceholderView.mm:
</del><ins>+ * platform/mac/SoftLinking.h:
+ * platform/mac/SoundMac.mm:
+ * platform/mac/ThreadCheck.mm:
+ * platform/mac/URLMac.mm:
+ * platform/mac/WebCoreNSStringExtras.h:
+ * platform/mac/WebCoreNSStringExtras.mm:
+ * platform/mac/WebCoreNSURLExtras.h:
+ * platform/mac/WebCoreNSURLExtras.mm:
+ * platform/mac/WebCoreObjCExtras.h:
</ins><span class="cx"> * platform/mac/WebCoreObjCExtras.mm:
</span><ins>+ * platform/mac/WebCoreSystemInterface.h:
+ * platform/mac/WebCoreSystemInterface.mm:
+ * platform/mac/WebCoreView.h:
+ * platform/mac/WebCoreView.m:
+ * platform/mac/WebFontCache.h:
</ins><span class="cx"> * platform/mac/WebFontCache.mm:
</span><del>- * platform/mac/WebVideoFullscreenController.mm:
- * platform/mac/WebVideoFullscreenHUDWindowController.mm:
</del><ins>+ * platform/mac/WebWindowAnimation.h:
</ins><span class="cx"> * platform/mac/WebWindowAnimation.mm:
</span><del>- * platform/network/blackberry/CredentialStorageBlackBerry.cpp:
</del><ins>+ * platform/mac/WidgetMac.mm:
+ * platform/mediastream/MediaStreamConstraintsValidationClient.h:
+ * platform/mediastream/MediaStreamCreationClient.h:
+ * platform/mediastream/MediaStreamSourceCapabilities.h:
+ * platform/mediastream/MediaStreamSourceStates.h:
+ * platform/mediastream/MediaStreamTrackSourcesRequestClient.h:
+ * platform/mediastream/RTCIceServer.h:
+ * platform/mediastream/mac/AVAudioCaptureSource.h:
+ * platform/mediastream/mac/AVAudioCaptureSource.mm:
+ * platform/mediastream/mac/AVCaptureDeviceManager.h:
+ * platform/mediastream/mac/AVCaptureDeviceManager.mm:
+ * platform/mediastream/mac/AVMediaCaptureSource.h:
+ * platform/mediastream/mac/AVMediaCaptureSource.mm:
+ * platform/mediastream/mac/AVVideoCaptureSource.h:
+ * platform/mediastream/mac/AVVideoCaptureSource.mm:
+ * platform/mock/MockMediaStreamCenter.cpp:
+ * platform/mock/MockMediaStreamCenter.h:
+ * platform/mock/PlatformSpeechSynthesizerMock.cpp:
+ * platform/mock/PlatformSpeechSynthesizerMock.h:
+ * platform/mock/mediasource/MockBox.cpp:
+ * platform/mock/mediasource/MockBox.h:
+ * platform/mock/mediasource/MockMediaPlayerMediaSource.cpp:
+ * platform/mock/mediasource/MockMediaPlayerMediaSource.h:
+ * platform/mock/mediasource/MockMediaSourcePrivate.cpp:
+ * platform/mock/mediasource/MockMediaSourcePrivate.h:
+ * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
+ * platform/mock/mediasource/MockSourceBufferPrivate.h:
+ * platform/mock/mediasource/MockTracks.cpp:
+ * platform/mock/mediasource/MockTracks.h:
+ * platform/network/AuthenticationChallengeBase.cpp:
+ * platform/network/AuthenticationChallengeBase.h:
+ * platform/network/Credential.cpp:
+ * platform/network/Credential.h:
+ * platform/network/DNS.h:
+ * platform/network/DNSResolveQueue.cpp:
+ * platform/network/DNSResolveQueue.h:
+ * platform/network/DataURL.cpp:
+ * platform/network/DataURL.h:
+ * platform/network/HTTPHeaderMap.h:
+ * platform/network/HTTPParsers.cpp:
+ * platform/network/HTTPParsers.h:
+ * platform/network/PlatformCookieJar.h:
+ * platform/network/ProtectionSpace.cpp:
+ * platform/network/ProtectionSpace.h:
+ * platform/network/ResourceErrorBase.cpp:
+ * platform/network/ResourceErrorBase.h:
+ * platform/network/ResourceHandle.cpp:
+ * platform/network/ResourceHandle.h:
+ * platform/network/ResourceHandleClient.h:
+ * platform/network/ResourceHandleInternal.h:
+ * platform/network/ResourceRequestBase.cpp:
+ * platform/network/ResourceRequestBase.h:
+ * platform/network/ResourceResponseBase.cpp:
+ * platform/network/ResourceResponseBase.h:
+ * platform/network/cf/AuthenticationCF.cpp:
+ * platform/network/cf/AuthenticationCF.h:
+ * platform/network/cf/AuthenticationChallenge.h:
+ * platform/network/cf/CookieJarCFNet.cpp:
+ * platform/network/cf/CookieStorageCFNet.cpp:
+ * platform/network/cf/DNSCFNet.cpp:
+ * platform/network/cf/DownloadBundle.h:
+ * platform/network/cf/FormDataStreamCFNet.cpp:
+ * platform/network/cf/FormDataStreamCFNet.h:
+ * platform/network/cf/ResourceError.h:
</ins><span class="cx"> * platform/network/cf/ResourceErrorCF.cpp:
</span><ins>+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegate.cpp:
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegate.h:
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp:
+ * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
+ * platform/network/cf/ResourceRequest.h:
+ * platform/network/cf/ResourceRequestCFNet.cpp:
+ * platform/network/cf/ResourceRequestCFNet.h:
+ * platform/network/cf/ResourceResponse.h:
+ * platform/network/cf/ResourceResponseCFNet.cpp:
+ * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp:
+ * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
+ * platform/network/curl/AuthenticationChallenge.h:
+ * platform/network/curl/CurlDownload.cpp:
+ * platform/network/curl/CurlDownload.h:
+ * platform/network/curl/DNSCurl.cpp:
+ * platform/network/curl/DownloadBundle.h:
+ * platform/network/curl/FormDataStreamCurl.cpp:
+ * platform/network/curl/FormDataStreamCurl.h:
+ * platform/network/curl/ResourceError.h:
+ * platform/network/curl/ResourceHandleCurl.cpp:
+ * platform/network/curl/ResourceHandleManager.cpp:
+ * platform/network/curl/ResourceHandleManager.h:
+ * platform/network/curl/ResourceRequest.h:
+ * platform/network/curl/ResourceResponse.h:
+ * platform/network/curl/SSLHandle.cpp:
+ * platform/network/curl/SSLHandle.h:
+ * platform/network/gtk/CredentialBackingStore.cpp:
+ * platform/network/gtk/CredentialBackingStore.h:
+ * platform/network/ios/WebCoreURLResponseIOS.h:
+ * platform/network/ios/WebCoreURLResponseIOS.mm:
+ * platform/network/mac/AuthenticationMac.h:
+ * platform/network/mac/AuthenticationMac.mm:
+ * platform/network/mac/CookieJarMac.mm:
</ins><span class="cx"> * platform/network/mac/CookieStorageMac.mm:
</span><ins>+ * platform/network/mac/FormDataStreamMac.h:
+ * platform/network/mac/FormDataStreamMac.mm:
+ * platform/network/mac/ResourceErrorMac.mm:
</ins><span class="cx"> * platform/network/mac/ResourceHandleMac.mm:
</span><ins>+ * platform/network/mac/ResourceRequestMac.mm:
+ * platform/network/mac/ResourceResponseMac.mm:
+ * platform/network/mac/WebCoreURLResponse.h:
+ * platform/network/mac/WebCoreURLResponse.mm:
+ * platform/network/soup/AuthenticationChallenge.h:
+ * platform/network/soup/AuthenticationChallengeSoup.cpp:
+ * platform/network/soup/CookieJarSoup.h:
+ * platform/network/soup/DNSSoup.cpp:
+ * platform/network/soup/ResourceError.h:
+ * platform/network/soup/ResourceErrorSoup.cpp:
+ * platform/network/soup/ResourceRequest.h:
+ * platform/network/soup/ResourceResponse.h:
+ * platform/network/soup/SoupNetworkSession.cpp:
+ * platform/network/soup/SoupNetworkSession.h:
+ * platform/network/win/CookieJarWin.cpp:
+ * platform/network/win/DownloadBundleWin.cpp:
+ * platform/network/win/ResourceError.h:
</ins><span class="cx"> * platform/network/win/ResourceHandleWin.cpp:
</span><del>- * platform/text/TextEncodingDetectorICU.cpp:
- * rendering/RenderFlowThread.h:
- * rendering/RenderImage.cpp:
- * rendering/RenderLayer.cpp:
- * rendering/RenderObject.cpp:
</del><ins>+ * platform/network/win/ResourceRequest.h:
+ * platform/network/win/ResourceResponse.h:
+ * platform/posix/FileSystemPOSIX.cpp:
+ * platform/posix/SharedBufferPOSIX.cpp:
+ * platform/soup/URLSoup.cpp:
+ * platform/sql/SQLValue.cpp:
+ * platform/sql/SQLValue.h:
+ * platform/sql/SQLiteAuthorizer.cpp:
+ * platform/sql/SQLiteDatabase.cpp:
+ * platform/sql/SQLiteDatabase.h:
+ * platform/sql/SQLiteStatement.cpp:
+ * platform/sql/SQLiteStatement.h:
+ * platform/sql/SQLiteTransaction.cpp:
+ * platform/sql/SQLiteTransaction.h:
+ * platform/text/SuffixTree.h:
+ * platform/text/TextAllInOne.cpp:
+ * platform/text/TextBoundaries.cpp:
+ * platform/text/TextBoundaries.h:
+ * platform/text/TextCodec.cpp:
+ * platform/text/TextCodec.h:
+ * platform/text/TextCodecASCIIFastPath.h:
+ * platform/text/TextCodecICU.cpp:
+ * platform/text/TextCodecICU.h:
+ * platform/text/TextCodecLatin1.cpp:
+ * platform/text/TextCodecLatin1.h:
+ * platform/text/TextCodecUTF16.cpp:
+ * platform/text/TextCodecUTF16.h:
+ * platform/text/TextCodecUTF8.cpp:
+ * platform/text/TextCodecUTF8.h:
+ * platform/text/TextCodecUserDefined.cpp:
+ * platform/text/TextCodecUserDefined.h:
+ * platform/text/TextDirection.h:
+ * platform/text/TextEncoding.cpp:
+ * platform/text/TextEncoding.h:
+ * platform/text/TextEncodingRegistry.cpp:
+ * platform/text/TextEncodingRegistry.h:
+ * platform/text/TextStream.cpp:
+ * platform/text/TextStream.h:
+ * platform/text/UnicodeBidi.h:
+ * platform/text/mac/CharsetData.h:
+ * platform/text/mac/TextBoundaries.mm:
+ * platform/text/mac/TextCodecMac.cpp:
+ * platform/text/mac/TextCodecMac.h:
+ * platform/text/mac/character-sets.txt:
+ * platform/text/mac/make-charset-table.pl:
+ * platform/text/win/TextCodecWin.h:
+ * platform/win/BString.cpp:
+ * platform/win/BString.h:
+ * platform/win/COMPtr.h:
+ * platform/win/ClipboardUtilitiesWin.cpp:
+ * platform/win/ClipboardUtilitiesWin.h:
+ * platform/win/ContextMenuItemWin.cpp:
+ * platform/win/ContextMenuWin.cpp:
+ * platform/win/CursorWin.cpp:
+ * platform/win/DragDataWin.cpp:
+ * platform/win/DragImageCGWin.cpp:
+ * platform/win/DragImageCairoWin.cpp:
+ * platform/win/DragImageWin.cpp:
+ * platform/win/FileSystemWin.cpp:
+ * platform/win/GDIObjectCounter.cpp:
+ * platform/win/GDIObjectCounter.h:
+ * platform/win/HWndDC.h:
+ * platform/win/KeyEventWin.cpp:
+ * platform/win/LanguageWin.cpp:
+ * platform/win/MIMETypeRegistryWin.cpp:
+ * platform/win/PasteboardWin.cpp:
+ * platform/win/PlatformMouseEventWin.cpp:
+ * platform/win/PlatformScreenWin.cpp:
+ * platform/win/SharedBufferWin.cpp:
+ * platform/win/SharedTimerWin.cpp:
+ * platform/win/SoftLinking.h:
+ * platform/win/SoundWin.cpp:
+ * platform/win/StructuredExceptionHandlerSuppressor.cpp:
+ * platform/win/TemporaryLinkStubs.cpp:
+ * platform/win/WCDataObject.cpp:
+ * platform/win/WCDataObject.h:
+ * platform/win/WebCoreTextRenderer.cpp:
+ * platform/win/WebCoreTextRenderer.h:
+ * platform/win/WheelEventWin.cpp:
+ * platform/win/WidgetWin.cpp:
+ * platform/win/WindowMessageBroadcaster.cpp:
+ * platform/win/WindowMessageBroadcaster.h:
+ * platform/win/WindowMessageListener.h:
+ * platform/win/WindowsTouch.h:
+ * platform/win/makesafeseh.asm:
+ * plugins/PluginDatabase.cpp:
+ * plugins/PluginDatabase.h:
+ * plugins/PluginDebug.cpp:
+ * plugins/PluginDebug.h:
+ * plugins/PluginPackage.cpp:
+ * plugins/PluginPackage.h:
+ * plugins/PluginQuirkSet.h:
+ * plugins/PluginStream.cpp:
+ * plugins/PluginStream.h:
+ * plugins/PluginView.cpp:
+ * plugins/PluginView.h:
+ * plugins/efl/PluginPackageEfl.cpp:
+ * plugins/efl/PluginViewEfl.cpp:
+ * plugins/gtk/PluginPackageGtk.cpp:
+ * plugins/gtk/PluginViewGtk.cpp:
+ * plugins/mac/PluginPackageMac.cpp:
+ * plugins/mac/PluginViewMac.mm:
+ * plugins/npapi.cpp:
+ * plugins/npfunctions.h:
+ * plugins/npruntime.h:
+ * plugins/win/PluginDatabaseWin.cpp:
+ * plugins/win/PluginPackageWin.cpp:
+ * plugins/win/PluginViewWin.cpp:
+ * plugins/x11/PluginViewX11.cpp:
+ * rendering/EllipsisBox.cpp:
+ * rendering/EllipsisBox.h:
+ * rendering/FilterEffectRenderer.cpp:
+ * rendering/FilterEffectRenderer.h:
+ * rendering/HitTestLocation.h:
+ * rendering/HitTestRequest.h:
+ * rendering/HitTestResult.h:
+ * rendering/HitTestingTransformState.cpp:
+ * rendering/HitTestingTransformState.h:
+ * rendering/RenderBoxRegionInfo.h:
+ * rendering/RenderButton.cpp:
+ * rendering/RenderButton.h:
+ * rendering/RenderDeprecatedFlexibleBox.cpp:
+ * rendering/RenderDeprecatedFlexibleBox.h:
+ * rendering/RenderFieldset.cpp:
+ * rendering/RenderFrameBase.cpp:
+ * rendering/RenderFrameBase.h:
+ * rendering/RenderFrameSet.cpp:
+ * rendering/RenderGeometryMap.cpp:
+ * rendering/RenderGeometryMap.h:
+ * rendering/RenderGrid.cpp:
+ * rendering/RenderGrid.h:
+ * rendering/RenderHTMLCanvas.cpp:
+ * rendering/RenderHTMLCanvas.h:
+ * rendering/RenderIFrame.cpp:
+ * rendering/RenderIFrame.h:
+ * rendering/RenderLayerBacking.cpp:
+ * rendering/RenderLayerBacking.h:
+ * rendering/RenderLayerCompositor.cpp:
+ * rendering/RenderLayerCompositor.h:
+ * rendering/RenderLineBoxList.cpp:
+ * rendering/RenderLineBoxList.h:
+ * rendering/RenderListBox.cpp:
+ * rendering/RenderListBox.h:
+ * rendering/RenderMarquee.h:
+ * rendering/RenderMedia.cpp:
+ * rendering/RenderMedia.h:
+ * rendering/RenderMultiColumnFlowThread.cpp:
+ * rendering/RenderMultiColumnFlowThread.h:
+ * rendering/RenderMultiColumnSet.cpp:
+ * rendering/RenderMultiColumnSet.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ * rendering/RenderNamedFlowThread.h:
+ * rendering/RenderRegionSet.cpp:
+ * rendering/RenderRegionSet.h:
+ * rendering/RenderReplica.cpp:
+ * rendering/RenderReplica.h:
+ * rendering/RenderTheme.cpp:
+ * rendering/RenderTheme.h:
+ * rendering/RenderThemeMac.h:
+ * rendering/RenderThemeWin.h:
+ * rendering/RenderThemeWinCE.cpp:
+ * rendering/RenderThemeWinCE.h:
</ins><span class="cx"> * rendering/RenderTreeAsText.cpp:
</span><del>- * rendering/svg/RenderSVGResourceClipper.cpp:
- * rendering/svg/RenderSVGResourceFilter.cpp:
- * rendering/svg/RenderSVGResourceGradient.cpp:
- * rendering/svg/RenderSVGResourceMasker.cpp:
- * rendering/svg/SVGRenderSupport.cpp:
- * rendering/svg/SVGTextLayoutEngineSpacing.cpp:
- * workers/WorkerContext.cpp:
</del><ins>+ * rendering/RenderTreeAsText.h:
+ * rendering/RenderVTTCue.cpp:
+ * rendering/RenderVTTCue.h:
+ * rendering/RenderVideo.cpp:
+ * rendering/RenderVideo.h:
+ * rendering/RenderView.h:
+ * rendering/style/SVGRenderStyle.cpp:
+ * rendering/style/SVGRenderStyle.h:
+ * rendering/style/SVGRenderStyleDefs.cpp:
+ * rendering/style/SVGRenderStyleDefs.h:
+ * rendering/style/StyleFilterData.cpp:
+ * rendering/style/StyleFilterData.h:
+ * rendering/style/StylePendingImage.h:
+ * rendering/svg/RenderSVGBlock.cpp:
+ * rendering/svg/RenderSVGBlock.h:
+ * rendering/svg/RenderSVGForeignObject.cpp:
+ * rendering/svg/RenderSVGForeignObject.h:
+ * rendering/svg/RenderSVGImage.cpp:
+ * rendering/svg/RenderSVGInline.h:
+ * rendering/svg/RenderSVGInlineText.cpp:
+ * rendering/svg/RenderSVGPath.h:
+ * rendering/svg/RenderSVGShape.h:
+ * rendering/svg/RenderSVGTSpan.h:
+ * rendering/svg/RenderSVGText.cpp:
+ * rendering/svg/RenderSVGText.h:
+ * rendering/svg/SVGInlineFlowBox.cpp:
+ * rendering/svg/SVGInlineFlowBox.h:
+ * rendering/svg/SVGRenderTreeAsText.cpp:
+ * rendering/svg/SVGRenderTreeAsText.h:
+ * rendering/svg/SVGRootInlineBox.cpp:
+ * rendering/svg/SVGRootInlineBox.h:
+ * storage/StorageEventDispatcher.h:
+ * svg/SVGException.cpp:
+ * svg/graphics/SVGImageChromeClient.h:
+ * workers/Worker.cpp:
+ * workers/Worker.h:
+ * workers/Worker.idl:
+ * workers/WorkerEventQueue.cpp:
+ * workers/WorkerEventQueue.h:
+ * workers/WorkerGlobalScope.cpp:
+ * workers/WorkerGlobalScope.h:
+ * workers/WorkerGlobalScope.idl:
+ * workers/WorkerLocation.cpp:
+ * workers/WorkerLocation.h:
+ * workers/WorkerLocation.idl:
+ * workers/WorkerMessagingProxy.cpp:
+ * workers/WorkerMessagingProxy.h:
</ins><span class="cx"> * workers/WorkerScriptLoader.cpp:
</span><del>- * xml/XMLHttpRequest.cpp:
- * xml/parser/XMLDocumentParserLibxml2.cpp:
</del><ins>+ * workers/WorkerScriptLoader.h:
+ * workers/WorkerScriptLoaderClient.h:
+ * workers/WorkerThread.cpp:
+ * workers/WorkerThread.h:
+ * xml/DOMParser.h:
+ * xml/DOMParser.idl:
+ * xml/NativeXPathNSResolver.cpp:
+ * xml/NativeXPathNSResolver.h:
+ * xml/XMLHttpRequest.idl:
+ * xml/XMLHttpRequestException.cpp:
+ * xml/XMLHttpRequestException.h:
+ * xml/XMLHttpRequestException.idl:
+ * xml/XMLHttpRequestProgressEvent.h:
+ * xml/XMLHttpRequestProgressEvent.idl:
+ * xml/XMLHttpRequestUpload.idl:
+ * xml/XMLSerializer.h:
+ * xml/XMLSerializer.idl:
+ * xml/XPathEvaluator.cpp:
+ * xml/XPathEvaluator.h:
+ * xml/XPathEvaluator.idl:
+ * xml/XPathException.cpp:
+ * xml/XPathException.h:
+ * xml/XPathException.idl:
+ * xml/XPathExpression.idl:
+ * xml/XPathExpressionNode.cpp:
+ * xml/XPathNSResolver.cpp:
+ * xml/XPathNSResolver.h:
+ * xml/XPathNSResolver.idl:
+ * xml/XPathNodeSet.h:
+ * xml/XPathResult.idl:
+ * xml/XPathUtil.h:
+ * xml/XPathVariableReference.cpp:
+ * xml/XSLTProcessor.idl:
+ * xml/XSLTUnicodeSort.cpp:
+ * xml/XSLTUnicodeSort.h:
</ins><span class="cx">
</span><del>-2013-05-12 Darin Adler <darin@apple.com>
</del><ins>+2014-03-14 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- [Mac] Move clearAllData from ClipboardMac to PasteboardMac
- https://bugs.webkit.org/show_bug.cgi?id=116001
</del><ins>+ Fix scrollperf logging
+ https://bugs.webkit.org/show_bug.cgi?id=130278
+ <rdar://problem/16320003>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Anders Carlsson.
+
+ r165493 broke scrollperf logging by adding in the scroll position
+ to the viewport rect, which used to be 0,0 based. Restore
+ the previous behavior.
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::clearAllData): Added. Calls through to Pasteboard after
- doing the canWriteData check, which is part of DOM rules, not the platform.
</del><ins>+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::logExposedUnfilledArea):
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Made clearAllData non-virtual in non-legacy case.
</del><ins>+2014-03-14 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed clearAllData.
- * platform/mac/ClipboardMac.mm: Ditto.
</del><ins>+ Subpixel rendering: border-radius painting falls back to rectangle at subpixel positions.
+ https://bugs.webkit.org/show_bug.cgi?id=130272
</ins><span class="cx">
</span><del>-2013-05-12 Darin Adler <darin@apple.com>
</del><ins>+ Unreviewed. Missing piece from http://trac.webkit.org/changeset/165670
</ins><span class="cx">
</span><del>- [Mac] Move clearData from ClipboardMac to PasteboardMac
- https://bugs.webkit.org/show_bug.cgi?id=116000
</del><ins>+ * platform/graphics/RoundedRect.cpp:
+ (WebCore::RoundedRect::pixelSnappedRoundedRectForPainting):
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-03-14 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::clearData): Added. Calls through to Pasteboard after
- doing the canWriteData check, which is part of DOM rules, not the platform.
</del><ins>+ Subpixel rendering: border-radius painting falls back to rectangle at subpixel positions.
+ https://bugs.webkit.org/show_bug.cgi?id=130272
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Made clearData non-virtual in non-legacy case.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Added an overload of the clear function that takes
- a single type and clears only that type. Also temporarily exported the
- cocoaTypeFromHTMLClipboardType function as a static member so it can be used
- in both ClipboardMac and PasteboardMac during the transition.
</del><ins>+ Rounded rectangle's radius needs adjustment after its containing rect gets pixel snapped.
+ Keeping the old radius value could make rounded rectangle non-renderable, because the
+ originally calculated radius length does not fit the snapped rectangle anymore.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed clearData.
- * platform/mac/ClipboardMac.mm: Removed clearData.
- (WebCore::ClipboardMac::getData): Changed to call cocoaTypeFromHTMLClipboardType
- as a Pasteboard class static member function.
- (WebCore::ClipboardMac::setData): Ditto.
</del><ins>+ Test: fast/borders/hidpi-border-radius-outer-border-goes-rectangle.html
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::cocoaTypeFromHTMLClipboardType): Moved here from
- ClipboardMac.
- (WebCore::Pasteboard::clear): Added. Moved here from ClipboardMac.
</del><ins>+ * platform/graphics/RoundedRect.cpp:
+ (WebCore::RoundedRect::pixelSnappedRoundedRectForPainting):
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintBorder):
</ins><span class="cx">
</span><del>-2013-05-12 Darin Adler <darin@apple.com>
</del><ins>+2014-03-14 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- [Mac] Move hasData from ClipboardMac to PasteboardMac
- https://bugs.webkit.org/show_bug.cgi?id=115999
</del><ins>+ [iOS WK2] background-attachment: fixed renders oddly, moves around
+ https://bugs.webkit.org/show_bug.cgi?id=130277
+ <rdar://problem/16332883>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::hasData): Added. Calls through to Pasteboard.
</del><ins>+ If we have a counter-scrolling layer (for a fixed background), move
+ it around when changing the viewport.
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Added LEGACY_VIRTUAL and LEGACY_PURE macros,
- only for within this header file. These help us keep many functions
- as pure virtual in the legacy style Clipboard class, but have them
- be non-virtual in the normal/future style. Use LEGACY_VIRTUAL and
- LEGACY_PURE to make the hasData member non-virtual.
</del><ins>+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeScrollingNodeIOS::updateForViewport):
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Added hasData, and added some blank lines and a FIXME.
</del><ins>+2014-03-14 Jae Hyun Park <jaepark@webkit.org>
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.h: Removed hasData override.
- * platform/mac/ClipboardMac.mm: Ditto.
</del><ins>+ [Texmap] Remove duplicated code in TextureMapperLayer
+ https://bugs.webkit.org/show_bug.cgi?id=130173
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::hasData): Added. Moved code here from ClipboardMac.
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>-2013-05-12 David Kilzer <ddkilzer@apple.com>
</del><ins>+ This patch is a simple refactoring to remove duplicated code in
+ TextureMapperLayer.
</ins><span class="cx">
</span><del>- BUILD FIX (r149971): sudden termination is a Mac-only concept
</del><ins>+ * platform/graphics/texmap/TextureMapperLayer.cpp:
+ (WebCore::TextureMapperLayer::~TextureMapperLayer):
+ (WebCore::TextureMapperLayer::removeFromParent):
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Move sudden termination symbols to Mac-only
- section.
</del><ins>+2014-03-14 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-05-12 Andreas Kling <akling@apple.com>
</del><ins>+ Release-assert if someone starts the WebThread in the WebProcess
+ https://bugs.webkit.org/show_bug.cgi?id=130270
+ <rdar://problem/16332380>
</ins><span class="cx">
</span><del>- Node: Use FINAL instead of the non-virtual shadowing hack.
- <http://webkit.org/b/115995>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ If someone tries to start the WebThread in the WebProcess, assert,
+ even in release builds, because this should never happen.
</ins><span class="cx">
</span><del>- Decorate Element/Attr implementations of prefix/localName/namespaceURI getters with FINAL
- so that call sites with a more specific pointer type than Node* can avoid the virtual dispatch.
</del><ins>+ * platform/ios/wak/WebCoreThread.mm:
+ (WebThreadEnable):
</ins><span class="cx">
</span><del>- * dom/Attr.h:
- * dom/Element.h:
- * dom/Node.cpp:
- * dom/Node.h:
</del><ins>+2014-03-14 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>-2013-05-11 Darin Adler <darin@apple.com>
</del><ins>+ Clean up unused externs from WebCore logging.
+ https://bugs.webkit.org/show_bug.cgi?id=130240
</ins><span class="cx">
</span><del>- [Mac] Give every Clipboard an underlying Pasteboard
- https://bugs.webkit.org/show_bug.cgi?id=115979
-
</del><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- This is the first step in Clipboard and Pasteboard refactoring
- to fix the overlap and many layering violations.
</del><ins>+ * platform/Logging.h:
</ins><span class="cx">
</span><del>- * dom/Clipboard.cpp:
- (WebCore::Clipboard::Clipboard): Add an m_pasteboard data member,
- Mac-only for now, but eventually for all platforms.
- (WebCore::Clipboard::~Clipboard): No longer inline the destructor.
</del><ins>+2014-03-14 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- * dom/Clipboard.h: Add WTF_USE_LEGACY_STYLE_ABSTRACT_CLIPBOARD_CLASS
- flag, currently true for all non-Mac platforms. Make the constructor
- no longer inline. Added a PassOwnPtr<Pasteboard> argument to the
- constructor and an OwnPtr<Pasteboard> data member.
</del><ins>+ AX: AccessibilityObject::invalidStatus() is incorrect when aria-invalid="undefined" or whitespace
+ https://bugs.webkit.org/show_bug.cgi?id=130071
</ins><span class="cx">
</span><del>- * platform/Pasteboard.h: Added a create function to make it easy
- to create a pasteboard given a pasteboard name.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- * platform/mac/ClipboardMac.mm:
- (WebCore::ClipboardMac::ClipboardMac): Create a pasteboard and pass
- it to the Clipboard constructor.
</del><ins>+ Accounted for whitespace values and the explicit string, "undefined".
</ins><span class="cx">
</span><del>- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::create): Added.
</del><ins>+ Test: accessibility/aria-invalid.html
</ins><span class="cx">
</span><del>-2013-05-12 Andreas Kling <akling@apple.com>
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::invalidStatus):
+ * accessibility/AccessibilityObject.h:
+ * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
+ (getAttributeSetForAccessibilityObject):
</ins><span class="cx">
</span><del>- Unload event listeners should prevent Safari from insta-killing the web process on last tab close.
- <http://webkit.org/b/115988>
- <rdar://problem/13870943>
</del><ins>+2014-03-14 Bear Travis <betravis@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ [CSS Shapes] CSS parser accepts trailing position arguments
+ https://bugs.webkit.org/show_bug.cgi?id=129514
</ins><span class="cx">
</span><del>- Add two methods to Chrome (and ChromeClient):
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- - enableSuddenTermination()
- - disableSuddenTermination()
</del><ins>+ Add a check to make sure there are no remaining function args
+ following a position in the circle() and ellipse() css shape
+ functions.
</ins><span class="cx">
</span><del>- ..and call these from DOMWindow instead of the free global functions.
</del><ins>+ Updated existing parsing tests.
</ins><span class="cx">
</span><del>- For WebKit1, it just calls the NSProcessInfo methods to keep behavior the same.
- For WebKit2, the new methods plumb through the information to the UI process.
</del><ins>+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseBasicShapeCircle):
+ (WebCore::CSSParser::parseBasicShapeEllipse):
</ins><span class="cx">
</span><del>- Also updated the DOMWindow logic to think in terms of per-DOMWindow sudden termination counters
- instead of a process-global one, since that gets confusing in a WK2 world.
- When a DOMWindow transitions between having/not having unload/beforeunload event listeners,
- we send a notification to the Chrome.
</del><ins>+2014-03-14 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><ins>+ Fix the iOS build and sort the exports file.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- * WebCore.xcodeproj/project.pbxproj:
- * page/Chrome.h:
- (WebCore::Chrome::enableSuddenTermination):
- (WebCore::Chrome::disableSuddenTermination):
- * page/ChromeClient.h:
- (WebCore::ChromeClient::enableSuddenTermination):
- (WebCore::ChromeClient::disableSuddenTermination):
- * page/DOMWindow.cpp:
- (WebCore::addUnloadEventListener):
- (WebCore::removeUnloadEventListener):
- (WebCore::removeAllUnloadEventListeners):
- (WebCore::addBeforeUnloadEventListener):
- (WebCore::removeBeforeUnloadEventListener):
- (WebCore::removeAllBeforeUnloadEventListeners):
- (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
- (WebCore::DOMWindow::dispatchAllPendingUnloadEvents):
- (WebCore::DOMWindow::enableSuddenTermination):
- (WebCore::DOMWindow::disableSuddenTermination):
- * page/DOMWindow.h:
- (DOMWindow):
</del><span class="cx">
</span><del>-2013-05-12 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-14 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Remove Complex.h from WTF
- https://bugs.webkit.org/show_bug.cgi?id=115989
</del><ins>+ [iOS WK2] Improve behavior of fixed elments on zooming
+ https://bugs.webkit.org/show_bug.cgi?id=130253
</ins><span class="cx">
</span><span class="cx"> Reviewed by Beth Dakin.
</span><span class="cx">
</span><del>- Replace Complex declarations with std::complex<double>. Pass by value since the struct
- is small enough to go into two registers on X86-64.
</del><ins>+ Correctly reposition right- and bottom-relative position:fixed
+ elements on zooming in WK2 iOS by telling the scrolling tree
+ about zoom-related viewport changes.
</ins><span class="cx">
</span><del>- * Modules/webaudio/RealtimeAnalyser.cpp:
- (WebCore::RealtimeAnalyser::doFFTAnalysis):
- (WebCore::RealtimeAnalyser::getFloatFrequencyData):
- (WebCore::RealtimeAnalyser::getByteFrequencyData):
- (WebCore::RealtimeAnalyser::getByteTimeDomainData):
- * platform/audio/Biquad.cpp:
- (WebCore::Biquad::setZeroPolePairs):
- (WebCore::Biquad::setAllpassPole):
- (WebCore::Biquad::getFrequencyResponse):
- * platform/audio/Biquad.h:
- * platform/audio/FFTFrame.cpp:
- (WebCore::FFTFrame::interpolateFrequencyComponents):
- (WebCore::FFTFrame::extractAverageGroupDelay):
- (WebCore::FFTFrame::addConstantGroupDelay):
</del><ins>+ * WebCore.exp.in:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::rectForViewportConstrainedObjects):
+ (WebCore::FrameView::viewportConstrainedObjectsRect): We need to be able to
+ recompute the fixed position rect from the scrolling tree on iOS, so we need
+ a static function, similar to scrollOffsetForFixedPosition(), that computes
+ the constrained viewport.
+ * page/FrameView.h:
+ * page/Page.cpp:
+ (WebCore::Page::setPageScaleFactor): When scrolling (and, by implication, zooming)
+ is delegated, then setPageScaleFactor() should not affect the scroll position.
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::frameViewLayoutUpdated): Go back to just
+ passing the visibleContentRect() for iOS.
+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::viewportChangedViaDelegatedScrolling): Entrypoint to
+ the scrolling tree, called when the viewport is changed by zooming.
+ * page/scrolling/ScrollingTree.h:
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h:
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeScrollingNodeIOS::setScrollLayerPosition): Use the
+ new FrameView::rectForViewportConstrainedObjects() to compute the correct viewport
+ for fixed/sticky child nodes.
+ (WebCore::ScrollingTreeScrollingNodeIOS::updateForViewport):
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::updateForViewport):
</ins><span class="cx">
</span><del>-2013-05-12 Simon Fraser <simon.fraser@apple.com>
</del><ins>+2014-03-14 Dirk Schulze <krit@webkit.org>
</ins><span class="cx">
</span><del>- Dropdowns on http://www.exploratorium.edu don't show anything
- https://bugs.webkit.org/show_bug.cgi?id=115991
</del><ins>+ Refactor Path to Path2D and remove currentPath
+ https://bugs.webkit.org/show_bug.cgi?id=130236
</ins><span class="cx">
</span><del>- Reviewed by Dan Bernstein.
-
- We can't optimize away the backing store of a layer by saying that
- it paints into a composited ancestor if its composited bounds are not contained
- by that ancestor.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Test: compositing/backing/no-backing-for-clip-overhang.html
</del><ins>+ Other implementations prefer Path2D over Path. Furthermore, currentPath is not the right
+ way to apply a Path2D object to a context. Main argument is that currentPath creates a copy
+ of the Path2D object. Instead we pass Path2D as argument to fill, stroke and clip now.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): Pass in our
- previously computed composited bounds relative to our composited ancestor,
- and its composited bounds.
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::requiresOwnBackingStore): If the ancestor's
- composited bounds don't contain the layer's composited bounds, the layer
- needs its own backing store.
- * rendering/RenderLayerCompositor.h:
</del><ins>+ Tests: fast/canvas/canvas-clip-path.html
+ fast/canvas/canvas-fill-path.html
+ fast/canvas/canvas-stroke-path.html
</ins><span class="cx">
</span><del>-2013-05-12 Commit Queue <commit-queue@webkit.org>
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm: WebIDL parser didn't handle enumerations
+ for overloaded methods at all.
+ (GenerateParametersCheckExpression):
+ * html/canvas/CanvasRenderingContext2D.cpp: New functions with DOMPath argument.
+ (WebCore::CanvasRenderingContext2D::fill):
+ (WebCore::CanvasRenderingContext2D::stroke):
+ (WebCore::CanvasRenderingContext2D::clip):
+ (WebCore::CanvasRenderingContext2D::fillInternal): Internal method to avoid code duplication
+ and copy operation.
+ (WebCore::CanvasRenderingContext2D::strokeInternal): Ditto.
+ (WebCore::CanvasRenderingContext2D::clipInternal): Ditto.
+ * html/canvas/CanvasRenderingContext2D.h:
+ * html/canvas/CanvasRenderingContext2D.idl:
+ * html/canvas/DOMPath.idl: Rename Path to Path2D.
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r149955.
- http://trac.webkit.org/changeset/149955
- https://bugs.webkit.org/show_bug.cgi?id=115990
</del><ins>+2014-03-14 Grzegorz Czajkowski <g.czajkowski@samsung.com>
</ins><span class="cx">
</span><del>- Broke lots of tests (Requested by smfr on #webkit).
</del><ins>+ ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder should take a const reference to InsertedNodes
+ https://bugs.webkit.org/show_bug.cgi?id=130232
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * rendering/InlineFlowBox.h:
- * rendering/InlineTextBox.h:
- (InlineTextBox):
- * rendering/RenderApplet.h:
- * rendering/RenderBR.h:
- * rendering/RenderBlock.h:
- (RenderBlock):
- (WebCore::RenderBlock::virtualContinuation):
- (WebCore::RenderBlock::virtualChildren):
- (WebCore::RenderBlock::isRenderBlock):
- (WebCore::RenderBlock::isBlockFlow):
- (WebCore::RenderBlock::isInlineBlockOrInlineTable):
- (WebCore::RenderBlock::dirtyLinesFromChangedChild):
- (WebCore::RenderBlock::collapsedMarginBefore):
- (WebCore::RenderBlock::collapsedMarginAfter):
- * rendering/RenderBox.h:
- (WebCore::RenderBox::borderBoundingBox):
- (RenderBox):
- (WebCore::RenderBox::marginLogicalLeft):
- (WebCore::RenderBox::marginLogicalRight):
- * rendering/RenderBoxModelObject.h:
- (WebCore::RenderBoxModelObject::isBoxModelObject):
- * rendering/RenderButton.h:
- * rendering/RenderCombineText.h:
- * rendering/RenderCounter.h:
- * rendering/RenderDeprecatedFlexibleBox.h:
- * rendering/RenderDetailsMarker.h:
- * rendering/RenderEmbeddedObject.h:
- (RenderEmbeddedObject):
- (WebCore::RenderEmbeddedObject::isEmbeddedObject):
- (WebCore::RenderEmbeddedObject::virtualChildren):
- * rendering/RenderFieldset.h:
- * rendering/RenderFileUploadControl.h:
- * rendering/RenderFlexibleBox.h:
- * rendering/RenderFlowThread.h:
- * rendering/RenderFrame.h:
- * rendering/RenderFrameSet.h:
- * rendering/RenderFullScreen.cpp:
- * rendering/RenderFullScreen.h:
- * rendering/RenderGrid.h:
- * rendering/RenderHTMLCanvas.h:
- * rendering/RenderIFrame.h:
- * rendering/RenderImage.h:
- (RenderImage):
- (WebCore::RenderImage::isRenderImage):
- * rendering/RenderInline.h:
- (RenderInline):
- (WebCore::RenderInline::virtualContinuation):
- (WebCore::RenderInline::virtualChildren):
- (WebCore::RenderInline::isRenderInline):
- (WebCore::RenderInline::layout):
- (WebCore::RenderInline::requiresLayer):
- (WebCore::RenderInline::offsetWidth):
- (WebCore::RenderInline::offsetHeight):
- (WebCore::RenderInline::borderBoundingBox):
- (WebCore::RenderInline::dirtyLinesFromChangedChild):
- * rendering/RenderLayerModelObject.h:
- * rendering/RenderListBox.h:
- * rendering/RenderListItem.h:
- * rendering/RenderListMarker.h:
- * rendering/RenderMedia.h:
- (WebCore::RenderMedia::virtualChildren):
- (WebCore::RenderMedia::canHaveChildren):
- (WebCore::RenderMedia::isMedia):
- (WebCore::RenderMedia::isImage):
- (WebCore::RenderMedia::requiresForcedStyleRecalcPropagation):
- * rendering/RenderMediaControlElements.h:
- * rendering/RenderMenuList.h:
- * rendering/RenderMeter.h:
- * rendering/RenderMultiColumnBlock.h:
- * rendering/RenderMultiColumnFlowThread.h:
- * rendering/RenderMultiColumnSet.h:
- * rendering/RenderNamedFlowThread.h:
- * rendering/RenderPart.h:
- (RenderPart):
- (WebCore::RenderPart::isRenderPart):
- (WebCore::RenderPart::renderName):
- * rendering/RenderProgress.h:
- * rendering/RenderRegion.h:
- (WebCore::RenderRegion::isRenderRegion):
- * rendering/RenderRegionSet.h:
- * rendering/RenderReplaced.h:
- (RenderReplaced):
- (WebCore::RenderReplaced::renderName):
- * rendering/RenderReplica.h:
- * rendering/RenderRuby.h:
- * rendering/RenderRubyBase.h:
- * rendering/RenderRubyRun.h:
- * rendering/RenderRubyText.h:
- * rendering/RenderScrollbarPart.h:
- * rendering/RenderSearchField.h:
- * rendering/RenderSlider.h:
- * rendering/RenderSnapshottedPlugIn.h:
- (RenderSnapshottedPlugIn):
- * rendering/RenderTable.h:
- (RenderTable):
- (WebCore::RenderTable::renderName):
- (WebCore::RenderTable::isTable):
- (WebCore::RenderTable::avoidsFloats):
- * rendering/RenderTableCaption.h:
- * rendering/RenderTableCell.h:
- * rendering/RenderTableCol.h:
- * rendering/RenderTableRow.h:
- * rendering/RenderTableSection.h:
- * rendering/RenderText.h:
- (RenderText):
- (WebCore::RenderText::marginLeft):
- (WebCore::RenderText::marginRight):
- (WebCore::RenderText::styleWillChange):
- (WebCore::RenderText::length):
- (WebCore::RenderText::paint):
- (WebCore::RenderText::layout):
- * rendering/RenderTextControl.h:
- (RenderTextControl):
- (WebCore::RenderTextControl::renderName):
- (WebCore::RenderTextControl::isTextControl):
- (WebCore::RenderTextControl::avoidsFloats):
- * rendering/RenderTextControlMultiLine.h:
- * rendering/RenderTextControlSingleLine.h:
- (RenderTextControlSingleLine):
- (WebCore::RenderTextControlSingleLine::isTextField):
- * rendering/RenderTextFragment.h:
- * rendering/RenderTextTrackCue.h:
- * rendering/RenderVideo.h:
- * rendering/RenderView.h:
- * rendering/RenderWidget.h:
- (RenderWidget):
- (WebCore::RenderWidget::isWidget):
- * rendering/RenderWordBreak.h:
- * rendering/RootInlineBox.h:
- (RootInlineBox):
- * rendering/mathml/RenderMathMLBlock.h:
- * rendering/svg/RenderSVGBlock.h:
- (RenderSVGBlock):
- * rendering/svg/RenderSVGContainer.h:
- (WebCore::RenderSVGContainer::setNeedsBoundariesUpdate):
- (WebCore::RenderSVGContainer::virtualChildren):
- (WebCore::RenderSVGContainer::isSVGContainer):
- (WebCore::RenderSVGContainer::renderName):
- (RenderSVGContainer):
- (WebCore::RenderSVGContainer::objectBoundingBox):
- (WebCore::RenderSVGContainer::strokeBoundingBox):
- (WebCore::RenderSVGContainer::repaintRectInLocalCoordinates):
- * rendering/svg/RenderSVGEllipse.h:
- * rendering/svg/RenderSVGForeignObject.h:
- * rendering/svg/RenderSVGGradientStop.h:
- * rendering/svg/RenderSVGHiddenContainer.h:
- (WebCore::RenderSVGHiddenContainer::renderName):
- (RenderSVGHiddenContainer):
- (WebCore::RenderSVGHiddenContainer::isSVGHiddenContainer):
- * rendering/svg/RenderSVGImage.h:
- * rendering/svg/RenderSVGInline.h:
- (WebCore::RenderSVGInline::renderName):
- (WebCore::RenderSVGInline::requiresLayer):
- (WebCore::RenderSVGInline::isSVGInline):
- (RenderSVGInline):
- * rendering/svg/RenderSVGInlineText.h:
- * rendering/svg/RenderSVGModelObject.h:
- (WebCore::RenderSVGModelObject::requiresLayer):
- (RenderSVGModelObject):
- * rendering/svg/RenderSVGPath.h:
- * rendering/svg/RenderSVGRect.h:
- * rendering/svg/RenderSVGResourceClipper.h:
- * rendering/svg/RenderSVGResourceContainer.h:
- (RenderSVGResourceContainer):
- (WebCore::RenderSVGResourceContainer::isSVGResourceContainer):
- (WebCore::RenderSVGResourceContainer::toRenderSVGResourceContainer):
- * rendering/svg/RenderSVGResourceFilter.h:
- * rendering/svg/RenderSVGResourceFilterPrimitive.h:
- * rendering/svg/RenderSVGResourceGradient.h:
- (RenderSVGResourceGradient):
- (WebCore::RenderSVGResourceGradient::resourceBoundingBox):
- * rendering/svg/RenderSVGResourceLinearGradient.h:
- * rendering/svg/RenderSVGResourceMarker.h:
- * rendering/svg/RenderSVGResourceMasker.h:
- * rendering/svg/RenderSVGResourcePattern.h:
- * rendering/svg/RenderSVGResourceRadialGradient.h:
- * rendering/svg/RenderSVGRoot.h:
- * rendering/svg/RenderSVGShape.h:
- (WebCore::RenderSVGShape::setNeedsBoundariesUpdate):
- (WebCore::RenderSVGShape::setNeedsTransformUpdate):
- (WebCore::RenderSVGShape::repaintRectInLocalCoordinates):
- (WebCore::RenderSVGShape::localToParentTransform):
- (WebCore::RenderSVGShape::localTransform):
- (WebCore::RenderSVGShape::isSVGShape):
- (RenderSVGShape):
- (WebCore::RenderSVGShape::objectBoundingBox):
- (WebCore::RenderSVGShape::strokeBoundingBox):
- * rendering/svg/RenderSVGTSpan.h:
- * rendering/svg/RenderSVGText.h:
- * rendering/svg/RenderSVGTextPath.h:
- * rendering/svg/RenderSVGTransformableContainer.h:
- * rendering/svg/RenderSVGViewportContainer.h:
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-05-12 Anders Carlsson <andersca@apple.com>
</del><ins>+ This method doesn't modify InsertedNodes object.
</ins><span class="cx">
</span><del>- Simplify AutodrainedPool
- https://bugs.webkit.org/show_bug.cgi?id=115986
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><ins>+ * editing/ReplaceSelectionCommand.cpp:
+ (WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
+ * editing/ReplaceSelectionCommand.h:
+
+2014-03-14 Jer Noble <jer.noble@apple.com>
+
+ [EME] Extend the lifetime of MediaKeySession.
+ https://bugs.webkit.org/show_bug.cgi?id=129841
+
+ Reviewed by Eric Carlson.
+
+ Test: media/encrypted-media/encrypted-media-session-lifetime.html
+
+ In anticipation of guidance to be added to the EME Spec <https://www.w3.org/Bugs/Public/show_bug.cgi?id=24771>,
+ extend the lifetime of MediaKeySession by making the session an ActiveDOMObject, and returning true to
+ hasPendingActivity when the session is both not closed and is associated with a live MediaKeys object.
+
+ Additionally, keep the object from being destroyed while events are pending.
+
+ * Modules/encryptedmedia/MediaKeySession.cpp:
+ (WebCore::MediaKeySession::MediaKeySession):
+ * Modules/encryptedmedia/MediaKeySession.h:
+ * Modules/encryptedmedia/MediaKeySession.idl:
+
+2014-03-14 Ryosuke Niwa <rniwa@webkit.org>
+
+ Remove an unused function fix builds.
+
+ * platform/mac/HTMLConverter.mm:
+
+2014-03-14 Frédéric Wang <fred.wang@free.fr>
+
+ FontCache: Replace DEPRECATED_DEFINE_STATIC_LOCAL with static NeverDestroyed<T>.
+ https://bugs.webkit.org/show_bug.cgi?id=130233
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Remove calls to AutodrainedPool::cycle as well as the iteration counter passed to the constructor.
- Instead, just declare RAII pools where it seems necessary.
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- * Modules/webdatabase/DatabaseThread.cpp:
- (WebCore::DatabaseThread::databaseThread):
- * fileapi/FileThread.cpp:
- (WebCore::FileThread::runLoop):
- * loader/icon/IconDatabase.cpp:
- (WebCore::IconDatabase::setIconDataForIconURL):
- (WebCore::IconDatabase::performURLImport):
- (WebCore::IconDatabase::readFromDatabase):
</del><ins>+ * platform/graphics/FontCache.cpp:
+ (WebCore::fontCache):
+ (WebCore::FontVerticalDataCacheKeyTraits::emptyValue):
+ (WebCore::fontVerticalDataCacheInstance):
+ (WebCore::FontDataCacheKeyTraits::emptyValue):
+ * platform/graphics/FontCache.h:
</ins><span class="cx">
</span><del>-2013-05-12 Andreas Kling <akling@apple.com>
</del><ins>+2014-03-11 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>- Apply FINAL to the Node hierarchy.
- <http://webkit.org/b/115984>
</del><ins>+ Improve dom error messages
+ https://bugs.webkit.org/show_bug.cgi?id=130103
</ins><span class="cx">
</span><del>- Mostly from Blink r149454 by <cevans@chromium.org>
- <http://src.chromium.org/viewvc/blink?view=revision&revision=149454>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- A couple of the stable DOM/ microbenchmarks are perf positive on Linux clang:
</del><ins>+ Make the DOM error messages more descriptive, and update bindings tests.
</ins><span class="cx">
</span><del>- - CloneNodes time reduced from 162.4 to 156.5 ms.
- - CreateNodes time reduced from 113.9 to 104.9 ms.
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ (GenerateParametersCheck):
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ (WebCore::jsTestActiveDOMObjectExcitingAttr):
+ (WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunction):
+ (WebCore::jsTestActiveDOMObjectPrototypeFunctionPostMessage):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ (WebCore::jsTestCustomNamedGetterPrototypeFunctionAnotherFunction):
+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+ (WebCore::jsTestEventConstructorAttr1):
+ (WebCore::jsTestEventConstructorAttr2):
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::jsTestEventTargetPrototypeFunctionItem):
+ (WebCore::jsTestEventTargetPrototypeFunctionAddEventListener):
+ (WebCore::jsTestEventTargetPrototypeFunctionRemoveEventListener):
+ (WebCore::jsTestEventTargetPrototypeFunctionDispatchEvent):
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ (WebCore::jsTestExceptionName):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::jsTestInterfaceImplementsStr1):
+ (WebCore::jsTestInterfaceImplementsStr2):
+ (WebCore::jsTestInterfaceImplementsStr3):
+ (WebCore::jsTestInterfaceImplementsNode):
+ (WebCore::jsTestInterfaceSupplementalStr1):
+ (WebCore::jsTestInterfaceSupplementalStr2):
+ (WebCore::jsTestInterfaceSupplementalStr3):
+ (WebCore::jsTestInterfaceSupplementalNode):
+ (WebCore::setJSTestInterfaceImplementsStr2):
+ (WebCore::setJSTestInterfaceImplementsStr3):
+ (WebCore::setJSTestInterfaceImplementsNode):
+ (WebCore::setJSTestInterfaceSupplementalStr2):
+ (WebCore::setJSTestInterfaceSupplementalStr3):
+ (WebCore::setJSTestInterfaceSupplementalNode):
+ (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod1):
+ (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod2):
+ (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod3):
+ (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod1):
+ (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2):
+ (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod3):
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+ (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::JSTestObjConstructor::constructJSTestObj):
+ (WebCore::jsTestObjReadOnlyLongAttr):
+ (WebCore::jsTestObjReadOnlyStringAttr):
+ (WebCore::jsTestObjReadOnlyTestObjAttr):
+ (WebCore::jsTestObjConstructorTestSubObj):
+ (WebCore::jsTestObjTestSubObjEnabledBySettingConstructor):
+ (WebCore::jsTestObjEnumAttr):
+ (WebCore::jsTestObjByteAttr):
+ (WebCore::jsTestObjOctetAttr):
+ (WebCore::jsTestObjShortAttr):
+ (WebCore::jsTestObjUnsignedShortAttr):
+ (WebCore::jsTestObjLongAttr):
+ (WebCore::jsTestObjLongLongAttr):
+ (WebCore::jsTestObjUnsignedLongLongAttr):
+ (WebCore::jsTestObjStringAttr):
+ (WebCore::jsTestObjTestObjAttr):
+ (WebCore::jsTestObjXMLObjAttr):
+ (WebCore::jsTestObjCreate):
+ (WebCore::jsTestObjReflectedStringAttr):
+ (WebCore::jsTestObjReflectedIntegralAttr):
+ (WebCore::jsTestObjReflectedUnsignedIntegralAttr):
+ (WebCore::jsTestObjReflectedBooleanAttr):
+ (WebCore::jsTestObjReflectedURLAttr):
+ (WebCore::jsTestObjReflectedCustomIntegralAttr):
+ (WebCore::jsTestObjReflectedCustomBooleanAttr):
+ (WebCore::jsTestObjReflectedCustomURLAttr):
+ (WebCore::jsTestObjTypedArrayAttr):
+ (WebCore::jsTestObjAttrWithGetterException):
+ (WebCore::jsTestObjAttrWithSetterException):
+ (WebCore::jsTestObjStringAttrWithGetterException):
+ (WebCore::jsTestObjStringAttrWithSetterException):
+ (WebCore::jsTestObjCustomAttr):
+ (WebCore::jsTestObjWithScriptStateAttribute):
+ (WebCore::jsTestObjWithScriptExecutionContextAttribute):
+ (WebCore::jsTestObjWithScriptStateAttributeRaises):
+ (WebCore::jsTestObjWithScriptExecutionContextAttributeRaises):
+ (WebCore::jsTestObjWithScriptExecutionContextAndScriptStateAttribute):
+ (WebCore::jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises):
+ (WebCore::jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute):
+ (WebCore::jsTestObjWithScriptArgumentsAndCallStackAttribute):
+ (WebCore::jsTestObjConditionalAttr1):
+ (WebCore::jsTestObjConditionalAttr2):
+ (WebCore::jsTestObjConditionalAttr3):
+ (WebCore::jsTestObjConditionalAttr4Constructor):
+ (WebCore::jsTestObjConditionalAttr5Constructor):
+ (WebCore::jsTestObjConditionalAttr6Constructor):
+ (WebCore::jsTestObjCachedAttribute1):
+ (WebCore::jsTestObjCachedAttribute2):
+ (WebCore::jsTestObjAnyAttribute):
+ (WebCore::jsTestObjContentDocument):
+ (WebCore::jsTestObjMutablePoint):
+ (WebCore::jsTestObjImmutablePoint):
+ (WebCore::jsTestObjStrawberry):
+ (WebCore::jsTestObjStrictFloat):
+ (WebCore::jsTestObjDescription):
+ (WebCore::jsTestObjId):
+ (WebCore::jsTestObjHash):
+ (WebCore::jsTestObjReplaceableAttribute):
+ (WebCore::jsTestObjNullableDoubleAttribute):
+ (WebCore::jsTestObjNullableLongAttribute):
+ (WebCore::jsTestObjNullableBooleanAttribute):
+ (WebCore::jsTestObjNullableStringAttribute):
+ (WebCore::jsTestObjNullableLongSettableAttribute):
+ (WebCore::jsTestObjNullableStringValue):
+ (WebCore::jsTestObjAttribute):
+ (WebCore::jsTestObjAttributeWithReservedEnumType):
+ (WebCore::setJSTestObjTestSubObjEnabledBySettingConstructor):
+ (WebCore::setJSTestObjEnumAttr):
+ (WebCore::setJSTestObjByteAttr):
+ (WebCore::setJSTestObjOctetAttr):
+ (WebCore::setJSTestObjShortAttr):
+ (WebCore::setJSTestObjUnsignedShortAttr):
+ (WebCore::setJSTestObjLongAttr):
+ (WebCore::setJSTestObjLongLongAttr):
+ (WebCore::setJSTestObjUnsignedLongLongAttr):
+ (WebCore::setJSTestObjStringAttr):
+ (WebCore::setJSTestObjTestObjAttr):
+ (WebCore::setJSTestObjXMLObjAttr):
+ (WebCore::setJSTestObjCreate):
+ (WebCore::setJSTestObjReflectedStringAttr):
+ (WebCore::setJSTestObjReflectedIntegralAttr):
+ (WebCore::setJSTestObjReflectedUnsignedIntegralAttr):
+ (WebCore::setJSTestObjReflectedBooleanAttr):
+ (WebCore::setJSTestObjReflectedURLAttr):
+ (WebCore::setJSTestObjReflectedCustomIntegralAttr):
+ (WebCore::setJSTestObjReflectedCustomBooleanAttr):
+ (WebCore::setJSTestObjReflectedCustomURLAttr):
+ (WebCore::setJSTestObjTypedArrayAttr):
+ (WebCore::setJSTestObjAttrWithGetterException):
+ (WebCore::setJSTestObjAttrWithSetterException):
+ (WebCore::setJSTestObjStringAttrWithGetterException):
+ (WebCore::setJSTestObjStringAttrWithSetterException):
+ (WebCore::setJSTestObjCustomAttr):
+ (WebCore::setJSTestObjWithScriptStateAttribute):
+ (WebCore::setJSTestObjWithScriptExecutionContextAttribute):
+ (WebCore::setJSTestObjWithScriptStateAttributeRaises):
+ (WebCore::setJSTestObjWithScriptExecutionContextAttributeRaises):
+ (WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateAttribute):
+ (WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises):
+ (WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute):
+ (WebCore::setJSTestObjWithScriptArgumentsAndCallStackAttribute):
+ (WebCore::setJSTestObjConditionalAttr1):
+ (WebCore::setJSTestObjConditionalAttr2):
+ (WebCore::setJSTestObjConditionalAttr3):
+ (WebCore::setJSTestObjConditionalAttr4Constructor):
+ (WebCore::setJSTestObjConditionalAttr5Constructor):
+ (WebCore::setJSTestObjConditionalAttr6Constructor):
+ (WebCore::setJSTestObjAnyAttribute):
+ (WebCore::setJSTestObjMutablePoint):
+ (WebCore::setJSTestObjImmutablePoint):
+ (WebCore::setJSTestObjStrawberry):
+ (WebCore::setJSTestObjStrictFloat):
+ (WebCore::setJSTestObjId):
+ (WebCore::setJSTestObjReplaceableAttribute):
+ (WebCore::setJSTestObjNullableLongSettableAttribute):
+ (WebCore::setJSTestObjNullableStringValue):
+ (WebCore::setJSTestObjAttributeWithReservedEnumType):
+ (WebCore::jsTestObjPrototypeFunctionVoidMethod):
+ (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionByteMethod):
+ (WebCore::jsTestObjPrototypeFunctionByteMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionOctetMethod):
+ (WebCore::jsTestObjPrototypeFunctionOctetMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionLongMethod):
+ (WebCore::jsTestObjPrototypeFunctionLongMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionObjMethod):
+ (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodReturningSequence):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithEnumArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
+ (WebCore::jsTestObjPrototypeFunctionSerializedValue):
+ (WebCore::jsTestObjPrototypeFunctionOptionsObject):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithException):
+ (WebCore::jsTestObjPrototypeFunctionCustomMethod):
+ (WebCore::jsTestObjPrototypeFunctionCustomMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionAddEventListener):
+ (WebCore::jsTestObjPrototypeFunctionRemoveEventListener):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateVoid):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateObj):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateVoidException):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateObjException):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContext):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptState):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateObjException):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateWithSpaces):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptArgumentsAndCallStack):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalString):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalStringIsUndefined):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalStringIsNullString):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg):
+ (WebCore::jsTestObjConstructorFunctionStaticMethodWithCallbackAndOptionalArg):
+ (WebCore::jsTestObjConstructorFunctionStaticMethodWithCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionConditionalMethod1):
+ (WebCore::jsTestObjPrototypeFunctionConditionalMethod2):
+ (WebCore::jsTestObjPrototypeFunctionConditionalMethod3):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod5):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod6):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod7):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod8):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod9):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod10):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod11):
+ (WebCore::jsTestObjPrototypeFunctionClassMethodWithClamp):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence):
+ (WebCore::jsTestObjPrototypeFunctionStringArrayFunction):
+ (WebCore::jsTestObjPrototypeFunctionDomStringListFunction):
+ (WebCore::jsTestObjPrototypeFunctionGetSVGDocument):
+ (WebCore::jsTestObjPrototypeFunctionConvert1):
+ (WebCore::jsTestObjPrototypeFunctionConvert2):
+ (WebCore::jsTestObjPrototypeFunctionConvert4):
+ (WebCore::jsTestObjPrototypeFunctionConvert5):
+ (WebCore::jsTestObjPrototypeFunctionMutablePointFunction):
+ (WebCore::jsTestObjPrototypeFunctionImmutablePointFunction):
+ (WebCore::jsTestObjPrototypeFunctionOrange):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunction):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunctionWithSequence):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunctionWithArray):
+ (WebCore::jsTestObjPrototypeFunctionVariadicStringMethod):
+ (WebCore::jsTestObjPrototypeFunctionVariadicDoubleMethod):
+ (WebCore::jsTestObjPrototypeFunctionVariadicNodeMethod):
+ (WebCore::jsTestObjPrototypeFunctionAny):
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ (WebCore::jsTestSerializedScriptValueInterfaceValue):
+ (WebCore::jsTestSerializedScriptValueInterfaceReadonlyValue):
+ (WebCore::jsTestSerializedScriptValueInterfaceCachedValue):
+ (WebCore::jsTestSerializedScriptValueInterfacePorts):
+ (WebCore::jsTestSerializedScriptValueInterfaceCachedReadonlyValue):
+ (WebCore::setJSTestSerializedScriptValueInterfaceValue):
+ (WebCore::setJSTestSerializedScriptValueInterfaceCachedValue):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::JSTestTypedefsConstructor::constructJSTestTypedefs):
+ (WebCore::jsTestTypedefsUnsignedLongLongAttr):
+ (WebCore::jsTestTypedefsImmutableSerializedScriptValue):
+ (WebCore::jsTestTypedefsConstructorTestSubObj):
+ (WebCore::jsTestTypedefsAttrWithGetterException):
+ (WebCore::jsTestTypedefsAttrWithSetterException):
+ (WebCore::jsTestTypedefsStringAttrWithGetterException):
+ (WebCore::jsTestTypedefsStringAttrWithSetterException):
+ (WebCore::setJSTestTypedefsUnsignedLongLongAttr):
+ (WebCore::setJSTestTypedefsImmutableSerializedScriptValue):
+ (WebCore::setJSTestTypedefsAttrWithGetterException):
+ (WebCore::setJSTestTypedefsAttrWithSetterException):
+ (WebCore::setJSTestTypedefsStringAttrWithGetterException):
+ (WebCore::setJSTestTypedefsStringAttrWithSetterException):
+ (WebCore::jsTestTypedefsPrototypeFunctionFunc):
+ (WebCore::jsTestTypedefsPrototypeFunctionSetShadow):
+ (WebCore::jsTestTypedefsPrototypeFunctionMethodWithSequenceArg):
+ (WebCore::jsTestTypedefsPrototypeFunctionNullableArrayArg):
+ (WebCore::jsTestTypedefsPrototypeFunctionFuncWithClamp):
+ (WebCore::jsTestTypedefsPrototypeFunctionImmutablePointFunction):
+ (WebCore::jsTestTypedefsPrototypeFunctionStringArrayFunction):
+ (WebCore::jsTestTypedefsPrototypeFunctionStringArrayFunction2):
+ (WebCore::jsTestTypedefsPrototypeFunctionCallWithSequenceThatRequiresInclude):
+ (WebCore::jsTestTypedefsPrototypeFunctionMethodWithException):
+ * bindings/scripts/test/JS/JSattribute.cpp:
+ (WebCore::jsattributeReadonly):
</ins><span class="cx">
</span><del>- * dom/: Beat things with the FINAL stick.
- * html/: Ditto.
- * svg/: Ditto.
</del><ins>+2014-03-14 Bear Travis <betravis@adobe.com>
</ins><span class="cx">
</span><del>-2013-05-12 Andreas Kling <akling@apple.com>
</del><ins>+ [CSS Shapes] polygon default fill-rule should be omitted from the serialization
+ https://bugs.webkit.org/show_bug.cgi?id=129840
</ins><span class="cx">
</span><del>- Devirtualize some things on Document.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- From Blink r149967 by <esprehn@chromium.org>
- <http://src.chromium.org/viewvc/blink?view=revision&revision=149967>
</del><ins>+ Modifying the default polygon string opening to be "polygon(" rather than
+ "polygon(nonzero".
</ins><span class="cx">
</span><del>- Several methods on Document are virtual but don't override a super class method
- and don't need to be virtual. This patch devirtualizes:
</del><ins>+ Updated existing parsing tests.
</ins><span class="cx">
</span><del>- - createElementNS()
- - finishedParsing()
- - suspendScriptedAnimationControllerCallbacks()
- - resumeScriptedAnimationControllerCallbacks()
</del><ins>+ * css/CSSBasicShapes.cpp:
+ (WebCore::buildPolygonString):
</ins><span class="cx">
</span><del>- It also removes the suspend and resume callbacks from ScriptExecutionContext
- since they didn't need to be there.
</del><ins>+2014-03-14 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- * dom/Document.h:
- * dom/ScriptExecutionContext.h:
</del><ins>+ Crash when using a mixture of In-Band and Out-of-Band Tracks
+ https://bugs.webkit.org/show_bug.cgi?id=130247
</ins><span class="cx">
</span><del>-2013-05-12 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Remove redundant call to removeAllEventListeners() in Document::open().
</del><ins>+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundation::processNewAndRemovedTextTracks): Do not include
+ the new Out-of-Band placeholder tracks in our counts of in-band tracks.
</ins><span class="cx">
</span><del>- From Blink r150175 by <dcheng@chromium.org>
- <http://src.chromium.org/viewvc/blink?view=revision&revision=150175>
</del><ins>+2014-03-13 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Document::open() already calls Document::removeAllEventListeners(), which
- removes the event listeners from the DOMWindow it's attached to, so
- there's no need to do it manually here as well.
</del><ins>+ [Mac] Avoid creating DOMCSSStyleDeclaration in WebHTMLConverter
+ https://bugs.webkit.org/show_bug.cgi?id=130226
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::open):
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-05-12 Andreas Kling <akling@apple.com>
</del><ins>+ Extracted HTMLConverterCaches in C++ that directly calls getPropertyCSSValue on computed style
+ and inline style to avoid creating Objective-C wrappers for CSSComputedStyleDeclaration.
</ins><span class="cx">
</span><del>- Apply FINAL to the RenderObject hierarchy.
- <http://webkit.org/b/115977>
</del><ins>+ This improves the runtime of PerformanceTests/Interactive/CopyAll.html from 31-32s to 25-26s (20%).
</ins><span class="cx">
</span><del>- Mostly from Blink r148795 by <cevans@chromium.org>
- <http://src.chromium.org/viewvc/blink?view=revision&revision=148795>
</del><ins>+ * platform/mac/HTMLConverter.h:
+ * platform/mac/HTMLConverter.mm:
+ (HTMLConverterCaches::computedStylePropertyForElement):
+ (HTMLConverterCaches::inlineStylePropertyForElement):
+ (stringFromCSSValue):
+ (-[WebHTMLConverter _computedStringForNode:property:]):
+ (floatValueFromPrimitiveValue):
+ (_getFloat):
+ (-[WebHTMLConverter _getComputedFloat:forNode:property:]):
+ (-[WebHTMLConverter _computedColorForNode:property:]):
+ (-[WebHTMLConverter dealloc]):
+ (-[WebHTMLConverter init]):
</ins><span class="cx">
</span><del>- * rendering/: Beat things with the FINAL stick.
- * WebCore.exp.in: Export a now-needed symbol.
</del><ins>+2014-03-14 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>-2013-05-12 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ Web Inspector: AXI: Include Role as an extra attribute in the page overlay.
+ https://bugs.webkit.org/show_bug.cgi?id=130214
</ins><span class="cx">
</span><del>- [GTK] Remove unnecessary GTK_CHECK_VERSION #ifdefs
- https://bugs.webkit.org/show_bug.cgi?id=115914
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Adding Role to the Web Inspector element overlay.
</ins><span class="cx">
</span><del>- * platform/graphics/gtk/FullscreenVideoControllerGtk.cpp:
- (WebCore::FullscreenVideoControllerGtk::hideHud):
- (WebCore::FullscreenVideoControllerGtk::initializeWindow):
- * platform/gtk/GtkVersioning.c:
- * platform/gtk/GtkVersioning.h:
- * platform/gtk/WidgetRenderingContext.cpp:
- (WebCore::WidgetRenderingContext::WidgetRenderingContext):
- * plugins/gtk/gtk2xtbin.c:
- (gtk_xtbin_realize):
</del><ins>+ * inspector/InspectorOverlay.cpp:
+ (WebCore::buildObjectForElementInfo):
+ * inspector/InspectorOverlayPage.js:
+ (_createElementTitle):
</ins><span class="cx">
</span><del>-2013-05-11 Brent Fulgham <bfulgham@apple.com>
</del><ins>+2014-03-14 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>- [Windows] Unreviewed build fix after r149932
</del><ins>+ Web Inspector: AXI: Expose Accessibility Tree parent of the selected node
+ https://bugs.webkit.org/show_bug.cgi?id=129943
</ins><span class="cx">
</span><del>- * make-export-file-generator: Don't attempt to import
- (or use) non-existent cxxabi functions on Windows.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-05-11 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Tests: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
</ins><span class="cx">
</span><del>- Add more info to compositing log channel output
- https://bugs.webkit.org/show_bug.cgi?id=115978
</del><ins>+ Web Accessibility Node Inspector now displays a link to the AX parent node,
+ because it's not a 1:1 match with the DOMNode parent.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ * inspector/InspectorDOMAgent.cpp: Support for DOMNode.role and AccessibilityProperties.axParentNodeId.
+ (WebCore::InspectorDOMAgent::buildObjectForNode): Support for role.
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties): Support for axParentNodeId.
+ * inspector/protocol/DOM.json: Added axParentNodeId on AccessibilityProperties, and role on DOMNode.
</ins><span class="cx">
</span><del>- Add to compositing log channel output whether a layer paints
- into its compositing ancestor.
</del><ins>+2014-03-14 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::logLayerInfo):
</del><ins>+ [Mac] Remove NSURLCache logic from WebCore pressure relief code.
+ <https://webkit.org/b/130248>
</ins><span class="cx">
</span><del>-2013-05-10 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ The NSURLCache lives in the networking process and should be cleared
+ on that end. Furthermore, this code doesn't really do what we thought
+ it was doing; it merely sets and and resets the limits. No truncation
+ ever occurred. The intended functionality was implemented in r165342.
</ins><span class="cx">
</span><del>- REGRESSION: Fixed background on ColterReed.com scrolls
- https://bugs.webkit.org/show_bug.cgi?id=115951
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
-
- The logic for painting the fixed root background into its own layer was
- broken when the document element's layer was composited. This could be caused
- by a negative z-index child of the body, or by an explicit compositing-causing
- style on the <html>.
-
- There were two issues. First, when painting the layer for the fixed root
- background, we would simply short-circuit the fixed background paint in
- RenderLayer::paintLayer(), when checking for a composited layer. We have
- to continue to paint through the composited <html> layer to get the root
- background in this case.
-
- Secondly, RenderLayerBacking::paintIntoLayer() would only set the PaintLayerPaintingSkipRootBackground
- flag if this RenderLayerBacking had a m_backgroundLayer. However, when the <html> is
- composited, we need to skip painting the root layer for both the RenderView's backing,
- and for the <html>'s backing. Checking whether there is *any* layer that paints
- the fixed root background (i.e. checking compositor()->fixedRootBackgroundLayer())
- is a simple way to fix this test.
</del><ins>+ * platform/mac/MemoryPressureHandlerMac.mm:
+ (WebCore::MemoryPressureHandler::releaseMemory):
</ins><span class="cx">
</span><del>- Tests: platform/mac-wk2/tiled-drawing/fixed-background/fixed-background-composited-html.html
- platform/mac-wk2/tiled-drawing/fixed-background/fixed-background-negative-z-index-fixed.html
</del><ins>+2014-03-14 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::paintForFixedRootBackground):
- (WebCore::RenderLayer::paintLayer):
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::paintIntoLayer):
</del><ins>+ Simplify jettisoning of style resolvers on memory pressure.
+ <https://webkit.org/b/129644>
</ins><span class="cx">
</span><del>-2013-05-11 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Now that we have Document::allDocuments(), we can jettison all the
+ style resolvers by walking the set of live documents and calling
+ clearStyleResolver() on each one, instead of having a function on
+ Page that walks the frame tree of every living page, etc.
</ins><span class="cx">
</span><del>- Possible crash when going Back while loading PDF
- https://bugs.webkit.org/show_bug.cgi?id=115972
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><ins>+ * page/Page.cpp:
+ * page/Page.h:
+ * platform/mac/MemoryPressureHandlerMac.mm:
+ (WebCore::MemoryPressureHandler::releaseMemory):
+
+2014-03-07 Jer Noble <jer.noble@apple.com>
+
+ Add Remote Control command support to HTLMediaElement
+ https://bugs.webkit.org/show_bug.cgi?id=129926
+
+ Reviewed by Eric Carlson.
+
+ Support the new MediaSession remote control commands by pulling in code from
+ MediaControlElementTypes to control scanning.
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::HTMLMediaElement):
+ * html/HTMLMediaElement.h:
+ * html/MediaController.cpp:
+ (MediaController::beginScanning): Moved from MediaControlElementTypes.
+ (MediaController::endScanning): Ditto.
+ * html/MediaController.h:
+ * html/MediaControllerInterface.h:
+
+ Remove all the scanning code from MediaControlSeekButtonElement.
+ * html/shadow/MediaControlElementTypes.cpp:
+ (WebCore::MediaControlSeekButtonElement::MediaControlSeekButtonElement):
+ (WebCore::MediaControlSeekButtonElement::setActive):
+ * html/shadow/MediaControlElementTypes.h:
+
+2014-03-14 Krzysztof Czech <k.czech@samsung.com>
+
+ Move WebSpeech code to use std::unique_ptr
+ https://bugs.webkit.org/show_bug.cgi?id=130231
+
+ Reviewed by Anders Carlsson.
+
+ Replace uses of OwnPtr and PassOwnPtr in WebSpeech code with std::unique_ptr.
+
+ No new tests. Covered by existing ones.
+
+ * Modules/speech/SpeechRecognitionController.cpp:
+ * Modules/speech/SpeechRecognitionController.h:
+ * Modules/speech/SpeechSynthesis.cpp:
+ (WebCore::SpeechSynthesis::setPlatformSynthesizer):
+ (WebCore::SpeechSynthesis::getVoices):
+ (WebCore::SpeechSynthesis::startSpeakingImmediately):
+ * Modules/speech/SpeechSynthesis.h:
+ * WebCore.exp.in:
+ * platform/PlatformSpeechSynthesizer.cpp:
+ * platform/PlatformSpeechSynthesizer.h:
+ * platform/mock/PlatformSpeechSynthesizerMock.cpp:
+ * platform/mock/PlatformSpeechSynthesizerMock.h:
+ * testing/Internals.cpp:
+ (WebCore::Internals::enableMockSpeechSynthesizer):
+
+2014-03-13 Anders Carlsson <andersca@apple.com>
+
+ Move visited link handling to VisitedLinkTableController and VisitedLinkProvider
+ https://bugs.webkit.org/show_bug.cgi?id=130223
+ <rdar://problem/16315792>
+
</ins><span class="cx"> Reviewed by Dan Bernstein.
</span><span class="cx">
</span><del>- It's possible for m_frame to be null when Document::findUnsafeParentScrollPropagationBoundary()
- is called, so null-check currentFrame.
</del><ins>+ Export symbols needed by WebKit2.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::findUnsafeParentScrollPropagationBoundary):
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>-2013-05-11 Alexey Proskuryakov <ap@apple.com>
</del><ins>+2014-03-12 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- <rdar://problem/13823864> TextCodecICU complains about ambiguous codec names with current ICU release
- https://bugs.webkit.org/show_bug.cgi?id=115953
</del><ins>+ [GTK] Fix unused parameter warnings in the GObject WebKitDOM bindings
+ https://bugs.webkit.org/show_bug.cgi?id=130174
</ins><span class="cx">
</span><ins>+ Reviewed by Daniel Bates.
+
+ * bindings/gobject/DOMObjectCache.cpp:
+ (WebKit::weakRefNotify): Fix unused parameters.
+ * bindings/gobject/WebKitDOMDeprecated.cpp: Ditto.
+ * bindings/gobject/WebKitDOMObject.cpp: Ditto.
+ * bindings/scripts/CodeGeneratorGObject.pm: Generate UNUSED_PARAM when appropriate and clean
+ up the getter and setter code generation a little to make it easier to read.
+
+2014-03-14 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
+
+ Build fix with SUBPIXEL_LAYOUT disabled
+ https://bugs.webkit.org/show_bug.cgi?id=130210
+
+ Reviewed by Daniel Bates.
+
+ Use pre-incremeent operator for LayoutUnit instead of post-increment operator as LayoutUnit doesn't support the
+ latter and we don't make use of the return value.
+
+ * dom/Element.cpp:
+ (WebCore::adjustForLocalZoom):
+
+2014-03-14 Mihnea Ovidenie <mihnea@adobe.com>
+
+ [CSSRegions] Inline-block child of content node incorrectly clipped
+ https://bugs.webkit.org/show_bug.cgi?id=130229
+
+ Reviewed by Andrei Bucur.
+
+ Constrain the target box rect to the region box rect only if we are able
+ to determine the region range for box. If we cannot do that, getRegionRangeForBox
+ returns null values for start and end region and we should not perform the clamping.
+
+ Test: fast/regions/inlineblock-child-inlineblock-contentnode-in-region.html
+
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::rectFlowPortionForBox):
+
+2014-03-14 Zan Dobersek <zdobersek@igalia.com>
+
+ Unnecessary ImplementationLacksVTable IDL attribute used for RTCConfiguration, RTCIceServer
+ https://bugs.webkit.org/show_bug.cgi?id=130230
+
+ Reviewed by Philippe Normand.
+
+ The RTCConfiguration and RTCIceServer classes do not own virtual tables, so using the
+ ImplementationLacksVTable attribute in the IDL interface leads to a compile-time assertion
+ failure in the generates JSC wrappers because none of the classes is polymorphic.
+
+ * Modules/mediastream/RTCConfiguration.idl:
+ * Modules/mediastream/RTCIceServer.idl:
+
+2014-03-14 Javier Fernandez <jfernandez@igalia.com>
+
+ [CSS Grid Layout] the "grid-template-areas" is not identified as computable property.
+ https://bugs.webkit.org/show_bug.cgi?id=130073
+
+ Reviewed by Sergio Villar Senin.
+
+ The "grid-template-areas" property is a computable CSS property, so it should be
+ handled accordingly by the Web Inspector.
+
+ No new tests.
+
+ * css/CSSComputedStyleDeclaration.cpp:
+ CSSPropertyWebkitGridTemplateAreas added to the computedProperties array.
+
+2014-03-14 Sergio Villar Senin <svillar@igalia.com>
+
+ [CSS Grid layout] Initial position in span not correctly computed sometimes
+ https://bugs.webkit.org/show_bug.cgi?id=130124
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Store and use canonical converter name to create converters.
</del><ins>+ The code uses std::lower_bound() to get the first grid line
+ position before a given resolved position in a Vector. That
+ function returns an iterator pointing to the first value not
+ "strictly less" than the given one. Consequently, the returned
+ position might be actually located after the resolved final
+ position. In those cases we need to select the previous position
+ in the Vector (which is guaranted to be "< resolved position" due
+ to how std::lower_bound() works).
</ins><span class="cx">
</span><del>- As a side effect, we now actually reuse cached converters - previously we would compare
- a standard encoding name to internal canonical one, which rarely match.
</del><ins>+ For example, if we have vector=[2,5,8] as grid positions, and we
+ need the first position before 7, std::lower_bound(vector, 7) will
+ point to 8 (first value not < 7). It's obvious that we should
+ select 5 instead. Should the pointed value be equal, then we
+ should do nothing, because the indexes mean tracks, so the item
+ will be placed in just one cell of the grid.
</ins><span class="cx">
</span><del>- * platform/text/TextCodecICU.h:
- * platform/text/TextCodecICU.cpp:
- (WebCore::TextCodecICU::create): Pass canonical ICU converter name to constructor.
- (WebCore::TextCodecICU::registerEncodingNames):
- - Updated terminology.
- - Added a comment that special cases should be kept in sync between registerEncodingNames
- and registerCodecs.
- - Moved maccyrillic alias to a correct section. It's not present in ICU even today.
- - Changed a few aliases to actually map to standard name, not to an overridden one
- (this doesn't change behavior since addToTextEncodingNameMap looks up canonical
- name, but is clearer).
- (WebCore::TextCodecICU::registerCodecs): Store a converter name to use with each
- canonical encoding name.
- (WebCore::TextCodecICU::TextCodecICU): Ditto.
- (WebCore::TextCodecICU::releaseICUConverter): Reset the converter to remove any
- leftover data.
- (WebCore::TextCodecICU::createICUConverter):
- - Compare converter name to converter name, not to another alias name.
- - Use proper string comparison instead of pointer comparison.
- - When creating a converter, assert that the name is not ambigous - canonical
- converter names should never be, otherwise there would be no way to create
- the converter without ambiguity.
</del><ins>+ * rendering/RenderGrid.cpp:
+ (WebCore::firstNamedGridLineBeforePosition):
+ (WebCore::RenderGrid::resolveRowStartColumnStartNamedGridLinePositionAgainstOppositePosition):
</ins><span class="cx">
</span><del>-2013-05-11 Antoine Quint <graouts@apple.com>
</del><ins>+2014-03-14 Zsolt Borbely <borbezs@inf.u-szeged.hu>
</ins><span class="cx">
</span><del>- [Mac] The captions menu should not use a canned max-width and max-height
- https://bugs.webkit.org/show_bug.cgi?id=115968
</del><ins>+ Fix the !ENABLE(SVG_FONTS) build
+ https://bugs.webkit.org/show_bug.cgi?id=130193
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- Use more real estate to display the captions menu should the caption names
- be long.
</del><ins>+ Add missing ENABLE(SVG_FONTS) guards for createGlyphToPathTranslator() function
+ in SVGTextRunRenderingContext.h and TextRun.h, because when the SVG_FONTS are
+ disabled the function is not implemented.
</ins><span class="cx">
</span><del>- * css/mediaControlsQuickTime.css:
- (video::-webkit-media-controls-closed-captions-container):
- (video::-webkit-media-controls-closed-captions-track-list):
- Make the captions menu scale to a max-width and max-height to allow 4px
- above and below the menu, except on the right where it always aligns with
- the captions icon in the media controller.
- * html/shadow/MediaControlsApple.cpp:
- (WebCore::MediaControlsApple::createControls):
- Move the captions menu element to be a child of the controls instead of
- the panel such that it may scale relative to the controls when using %
- CSS values.
</del><ins>+ * platform/graphics/TextRun.h:
+ * rendering/svg/SVGTextRunRenderingContext.h:
</ins><span class="cx">
</span><del>-2013-05-11 Jochen Eisinger <jochen@chromium.org>
</del><ins>+2014-03-14 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>- Disallow a window to focus itself via javascript URLs or using target _self
- https://bugs.webkit.org/show_bug.cgi?id=115906
</del><ins>+ Unreviewed build fix after r165607. There were two missing replaces.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ * dom/Element.cpp:
+ (WebCore::attrNodeListMap):
</ins><span class="cx">
</span><del>- Test: fast/dom/Window/window-focus-self.html
</del><ins>+2014-03-14 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp:
- (WebCore::createWindow):
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::focus):
</del><ins>+ Migrate the MathML stretchy code from UChar to Glyph.
+ https://bugs.webkit.org/show_bug.cgi?id=128907
</ins><span class="cx">
</span><del>-2013-05-11 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Fix several style warnings in generated bindings
- https://bugs.webkit.org/show_bug.cgi?id=115961
</del><ins>+ This prepares the MathML stretchy code for future support for the MATH
+ table. In particular, this uses the glyph index for measuring and
+ drawing instead of Unicode code point since the MATH table uses glyph
+ indices. Also, this merges the preferred width and stretchy character
+ selection into one common path since they will also have to share the
+ size variants measuring/selection. Finally, we expose a drawGlyphs()
+ method so that we can draw a glyph by index.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ No new tests. This should not change the behavior of the stretchy code.
</ins><span class="cx">
</span><del>- Fix several style errors in the bindings generated under
- Source/WebCore/bindings/scripts/test/
</del><ins>+ * platform/graphics/Font.h:
+ * platform/graphics/GraphicsContext.cpp:
+ (WebCore::GraphicsContext::drawGlyphs):
+ * platform/graphics/GraphicsContext.h:
+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::RenderMathMLOperator):
+ (WebCore::RenderMathMLOperator::boundsForGlyph):
+ (WebCore::RenderMathMLOperator::heightForGlyph):
+ (WebCore::RenderMathMLOperator::advanceForGlyph):
+ (WebCore::RenderMathMLOperator::computePreferredLogicalWidths):
+ (WebCore::RenderMathMLOperator::findStretchyData):
+ (WebCore::RenderMathMLOperator::updateStyle):
+ (WebCore::RenderMathMLOperator::firstLineBaseline):
+ (WebCore::RenderMathMLOperator::computeLogicalHeight):
+ (WebCore::RenderMathMLOperator::paintGlyph):
+ (WebCore::RenderMathMLOperator::fillWithExtensionGlyph):
+ (WebCore::RenderMathMLOperator::paint):
+ (WebCore::RenderMathMLOperator::paintChildren):
+ * rendering/mathml/RenderMathMLOperator.h:
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+2014-03-12 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorCPP.pm:
- (GenerateImplementation):
- (WriteData):
</del><ins>+ Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
+ https://bugs.webkit.org/show_bug.cgi?id=129612
+
+ Reviewed by Darin Adler.
+
+ For new code use static NeverDestroyed<T> instead.
+
+ Removed the list of changed files as it was huge.
+
+2014-03-14 Gavin Barraclough <barraclough@apple.com>
+
+ Reduce memory use for static property maps
+ https://bugs.webkit.org/show_bug.cgi?id=129986
+
+ Unreviewed Windows build fix / update bindings test results following r165603.
+
</ins><span class="cx"> * bindings/scripts/CodeGeneratorJS.pm:
</span><del>- (GenerateHeader):
- (GenerateImplementation):
- (WriteData):
- * bindings/scripts/CodeGeneratorObjC.pm:
- (GenerateHeader):
- * bindings/scripts/test/CPP/WebDOMFloat64Array.cpp:
- * bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.cpp:
- * bindings/scripts/test/CPP/WebDOMTestCallback.cpp:
- * bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.cpp:
- * bindings/scripts/test/CPP/WebDOMTestEventConstructor.cpp:
- * bindings/scripts/test/CPP/WebDOMTestEventTarget.cpp:
- * bindings/scripts/test/CPP/WebDOMTestException.cpp:
- * bindings/scripts/test/CPP/WebDOMTestInterface.cpp:
- * bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.cpp:
- * bindings/scripts/test/CPP/WebDOMTestNamedConstructor.cpp:
- * bindings/scripts/test/CPP/WebDOMTestNode.cpp:
- * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
- * bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.cpp:
- * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp:
- * bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp:
</del><ins>+ (GenerateHashTable):
</ins><span class="cx"> * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
- (WebCore::JSTestActiveDOMObject::releaseImplIfNotNull):
</del><span class="cx"> * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
- (WebCore::JSTestCustomNamedGetter::releaseImplIfNotNull):
</del><span class="cx"> * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestEventConstructor.h:
- (WebCore::JSTestEventConstructor::releaseImplIfNotNull):
</del><span class="cx"> * bindings/scripts/test/JS/JSTestEventTarget.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestEventTarget.h:
- (WebCore::JSTestEventTarget::releaseImplIfNotNull):
</del><ins>+ (WebCore::jsTestEventTargetPrototypeFunctionItem):
+ (WebCore::jsTestEventTargetPrototypeFunctionDispatchEvent):
</ins><span class="cx"> * bindings/scripts/test/JS/JSTestException.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestException.h:
- (WebCore::JSTestException::releaseImplIfNotNull):
</del><ins>+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
</ins><span class="cx"> * bindings/scripts/test/JS/JSTestInterface.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestInterface.h:
- (WebCore::JSTestInterface::releaseImplIfNotNull):
</del><ins>+ (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod2):
+ (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2):
</ins><span class="cx"> * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
- (WebCore::JSTestMediaQueryListListener::releaseImplIfNotNull):
</del><span class="cx"> * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestNamedConstructor.h:
- (WebCore::JSTestNamedConstructor::releaseImplIfNotNull):
</del><ins>+ * bindings/scripts/test/JS/JSTestNode.cpp:
</ins><span class="cx"> * bindings/scripts/test/JS/JSTestObj.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestObj.h:
- (WebCore::JSTestObj::releaseImplIfNotNull):
</del><ins>+ (WebCore::jsTestObjAttrWithGetterException):
+ (WebCore::jsTestObjStringAttrWithGetterException):
+ (WebCore::jsTestObjWithScriptStateAttributeRaises):
+ (WebCore::jsTestObjWithScriptExecutionContextAttributeRaises):
+ (WebCore::jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises):
+ (WebCore::jsTestObjNullableStringValue):
+ (WebCore::jsTestObjPrototypeFunctionByteMethod):
+ (WebCore::jsTestObjPrototypeFunctionByteMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionOctetMethod):
+ (WebCore::jsTestObjPrototypeFunctionOctetMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionLongMethod):
+ (WebCore::jsTestObjPrototypeFunctionLongMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionObjMethod):
+ (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodReturningSequence):
+ (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateObj):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateObjException):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateObjException):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateWithSpaces):
+ (WebCore::jsTestObjPrototypeFunctionConditionalMethod1):
+ (WebCore::jsTestObjConstructorFunctionClassMethodWithOptional):
+ (WebCore::jsTestObjPrototypeFunctionStringArrayFunction):
+ (WebCore::jsTestObjPrototypeFunctionDomStringListFunction):
+ (WebCore::jsTestObjPrototypeFunctionGetSVGDocument):
+ (WebCore::jsTestObjPrototypeFunctionMutablePointFunction):
+ (WebCore::jsTestObjPrototypeFunctionImmutablePointFunction):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunction):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunctionWithSequence):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunctionWithArray):
</ins><span class="cx"> * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
- (WebCore::JSTestOverloadedConstructors::releaseImplIfNotNull):
</del><span class="cx"> * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
- (WebCore::JSTestSerializedScriptValueInterface::releaseImplIfNotNull):
</del><span class="cx"> * bindings/scripts/test/JS/JSTestTypedefs.cpp:
</span><del>- (WebCore::toJS):
- * bindings/scripts/test/JS/JSTestTypedefs.h:
- (WebCore::JSTestTypedefs::releaseImplIfNotNull):
- * bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestCallbackInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestExceptionInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestNodeInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestObjInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h:
- (WebCore):
</del><ins>+ (WebCore::jsTestTypedefsAttrWithGetterException):
+ (WebCore::jsTestTypedefsStringAttrWithGetterException):
+ (WebCore::jsTestTypedefsPrototypeFunctionMethodWithSequenceArg):
+ (WebCore::jsTestTypedefsPrototypeFunctionImmutablePointFunction):
+ (WebCore::jsTestTypedefsPrototypeFunctionStringArrayFunction):
+ (WebCore::jsTestTypedefsPrototypeFunctionStringArrayFunction2):
+ (WebCore::jsTestTypedefsPrototypeFunctionCallWithSequenceThatRequiresInclude):
+ * bindings/scripts/test/JS/JSattribute.cpp:
+ * bindings/scripts/test/JS/JSreadonly.cpp:
</ins><span class="cx">
</span><del>-2013-05-11 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-14 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>- Make it a build error to put invalid C++ symbol names in WebCore.exp.in
- https://bugs.webkit.org/show_bug.cgi?id=115958
</del><ins>+ Use override keyword in BatteryManager
+ https://bugs.webkit.org/show_bug.cgi?id=130225
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Daniel Bates.
</ins><span class="cx">
</span><del>- While invalid C++ symbols will eventually show up as a link error since the symbol won't be found,
- this makes it easier to catch invalid symbols inside of #ifdefs.
</del><ins>+ * Modules/battery/BatteryManager.h:
</ins><span class="cx">
</span><del>- * make-export-file-generator:
- Try to demangle C++ symbols before printing them.
</del><ins>+2014-03-12 Gavin Barraclough <barraclough@apple.com>
</ins><span class="cx">
</span><del>-2013-05-11 David Kilzer <ddkilzer@apple.com>
</del><ins>+ Reduce memory use for static property maps
+ https://bugs.webkit.org/show_bug.cgi?id=129986
</ins><span class="cx">
</span><del>- BUILD FIX (r149718): Move exported symbol into ENABLE(FULLSCREEN_API) section
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Fixes the following build failure when ENABLE(FULLSCREEN_API) is
- off:
</del><ins>+ Static property tables are currently duplicated on first use from read-only memory into dirty memory
+ in every process, and since the entries are large (48 bytes) and the tables can be unusually sparse
+ (we use a custom hash table without a rehash) a lot of memory may be wasted.
</ins><span class="cx">
</span><del>- Undefined symbols for architecture i386:
- "__ZNK7WebCore7Element25containsFullScreenElementEv", referenced from:
- -exported_symbol[s_list] command line option
</del><ins>+ * bindings/js/JSDOMBinding.h:
+ (WebCore::getStaticValueSlotEntryWithoutCaching):
+ (WebCore::getStaticValueSlotEntryWithoutCaching<JSDOMWrapper>):
+ - HashEntry -> HashTableValue.
+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::getOwnPropertySlot):
+ - HashEntry -> HashTableValue.
+ * bindings/js/JSHistoryCustom.cpp:
+ (WebCore::JSHistory::getOwnPropertySlotDelegate):
+ - HashEntry -> HashTableValue.
+ * bindings/js/JSLocationCustom.cpp:
+ (WebCore::JSLocation::getOwnPropertySlotDelegate):
+ (WebCore::JSLocation::putDelegate):
+ - HashEntry -> HashTableValue.
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateGetOwnPropertySlotBody):
+ - HashEntry -> HashTableValue.
+ (GenerateHashTable):
+ - emit the hash table index into the derived source (we were calculating this already to ensure chaining does not get too deep).
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Move the symbol.
</del><ins>+2014-03-13 Manish R Gurnaney <m.gurnaney@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-11 Robert Hogan <robert@webkit.org>
</del><ins>+ Scroll size is not recalculated when absolute left of child is updated
+ https://bugs.webkit.org/show_bug.cgi?id=123958
</ins><span class="cx">
</span><del>- Unreviewed, remove some lint accidentally left in r149929.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><ins>+ Test: fast/css/display-inline-block-scrollbar.html
+ Actual issue was that whenever there is the content change in the
+ RenderBlock having inline-block children, The InlineFlowBox while
+ computing overflow never resets previous value.
+
</ins><span class="cx"> * rendering/InlineFlowBox.cpp:
</span><del>- (WebCore::verticalAlignApplies):
</del><ins>+ (WebCore::InlineFlowBox::computeOverflow):
+ Added code to clear overflow when we start computing overflow for
+ InlineFlowBox. So as to ScrollSize can be recalculated properly.
</ins><span class="cx">
</span><del>-2013-03-17 Robert Hogan <robert@webkit.org>
</del><ins>+2014-03-13 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Text flow broken in elements with vertical align top/bottom and inline elements taller than line-height
- https://bugs.webkit.org/show_bug.cgi?id=111974
</del><ins>+ Pass const RenderStyle& to box decoration functions.
+ https://bugs.webkit.org/show_bug.cgi?id=130201
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
-
- Per http://www.w3.org/TR/CSS2/visudet.html#propdef-vertical-align 'vertical-align' only applies to inline and table-cell
- elements.
</del><ins>+ Reviewed by Andreas Goran Kling.
</ins><span class="cx">
</span><del>- Test: fast/css/vertical-align-block-elements.html
</del><ins>+ No change in functionality.
</ins><span class="cx">
</span><span class="cx"> * rendering/InlineFlowBox.cpp:
</span><del>- (WebCore::isTextInBlockElement):
- (WebCore):
- (WebCore::InlineFlowBox::adjustMaxAscentAndDescent):
- (WebCore::InlineFlowBox::computeLogicalBoxHeights):
- (WebCore::InlineFlowBox::placeBoxesInBlockDirection):
</del><ins>+ (WebCore::InlineFlowBox::paintBoxShadow):
+ (WebCore::InlineFlowBox::paintBoxDecorations):
+ (WebCore::InlineFlowBox::paintMask):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::paintBoxDecorations):
+ (WebCore::RenderBox::paintMaskImages):
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintNinePieceImage):
+ (WebCore::RenderBoxModelObject::paintOneBorderSide):
+ (WebCore::RenderBoxModelObject::paintBorderSides):
+ (WebCore::RenderBoxModelObject::paintTranslucentBorderSides):
+ (WebCore::RenderBoxModelObject::paintBorder):
+ (WebCore::RenderBoxModelObject::drawBoxSideFromPath):
+ (WebCore::RenderBoxModelObject::getBorderEdgeInfo):
+ (WebCore::RenderBoxModelObject::borderObscuresBackgroundEdge):
+ (WebCore::RenderBoxModelObject::borderObscuresBackground):
+ (WebCore::RenderBoxModelObject::paintBoxShadow):
+ * rendering/RenderBoxModelObject.h:
+ * rendering/RenderFieldset.cpp:
+ (WebCore::RenderFieldset::paintBoxDecorations):
+ * rendering/RenderTable.cpp:
+ (WebCore::RenderTable::paintBoxDecorations):
+ * rendering/RenderTableCell.cpp:
+ (WebCore::RenderTableCell::paintBoxDecorations):
</ins><span class="cx">
</span><del>-2013-05-11 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+2014-03-13 Jinwoo Jeong <jw00.jeong@samsung.com>
</ins><span class="cx">
</span><del>- Make CanvasStyle a plain object instead of an RefCounted object
- https://bugs.webkit.org/show_bug.cgi?id=115775
</del><ins>+ Refactor Vibration algorithm to use only one timer.
+ https://bugs.webkit.org/show_bug.cgi?id=130059
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- CanvasStyle is just 2 words wide. We do not gain anything from allocating
- it on the heap. Change the object to be just a type and some data.
</del><ins>+ Currently Vibration is using two timers,
+ one is to start a vibration and another is to check termination of a vibration.
+ But they do not work in same time, if one of them is fired, then anothor will start.
+ Thus this patch removes one of them, and manages vibration states by enumeration.
</ins><span class="cx">
</span><del>- * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
- (WebCore::toJS):
- (WebCore::toHTMLCanvasStyle):
- * html/HTMLCanvasElement.cpp:
- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::CanvasRenderingContext2D::State::State):
- (WebCore::CanvasRenderingContext2D::setStrokeStyle):
- (WebCore::CanvasRenderingContext2D::setFillStyle):
- (WebCore::CanvasRenderingContext2D::setStrokeColor):
- (WebCore::CanvasRenderingContext2D::setFillColor):
- (WebCore::CanvasRenderingContext2D::fullCanvasCompositedFill):
- (WebCore::CanvasRenderingContext2D::drawTextInternal):
- * html/canvas/CanvasRenderingContext2D.h:
- (WebCore::CanvasRenderingContext2D::strokeStyle):
- (CanvasRenderingContext2D):
- (WebCore::CanvasRenderingContext2D::fillStyle):
- (State):
- * html/canvas/CanvasStyle.cpp:
- (WebCore::CanvasStyle::CanvasStyle):
- (WebCore::CanvasStyle::createFromString):
- (WebCore::CanvasStyle::createFromStringWithOverrideAlpha):
- (WebCore::CanvasStyle::isEquivalentColor):
- (WebCore):
- (WebCore::CanvasStyle::operator=):
- (WebCore::CanvasStyle::applyStrokeColor):
- (WebCore::CanvasStyle::applyFillColor):
- * html/canvas/CanvasStyle.h:
- (CanvasStyle):
- (WebCore::CanvasStyle::isValid):
- (WebCore::CanvasStyle::CanvasStyle):
- (WebCore):
- (WebCore::CanvasStyle::operator=):
</del><ins>+ Also, this patch implement the missing part of the algorithm,
+ which check the maximum length of the vibration pattern and the maximum duration of the vibration.
</ins><span class="cx">
</span><del>-2013-05-11 Benjamin Poulain <benjamin@webkit.org>
</del><ins>+ Lastly, this patch removes unused methods from Vibration.
</ins><span class="cx">
</span><del>- Gradient::platformGradient: Vector reserveCapacity -> reserveInitialCapacity
- https://bugs.webkit.org/show_bug.cgi?id=115779
</del><ins>+ * Modules/vibration/Vibration.cpp:
+ (WebCore::Vibration::Vibration):
+ (WebCore::Vibration::vibrate):
+ (WebCore::Vibration::cancelVibration):
+ Removed stopVibration() and its contents moved to cancelVibration().
+ (WebCore::Vibration::timerFired): Combined timerStartFired() and timerStopFired().
+ Removed suspendVibration() and resumeVibration(), which is never called since r.
+ * Modules/vibration/Vibration.h: Added new enumertaion to specify states of Vibration.
+ (WebCore::Vibration::isVibrating):
</ins><span class="cx">
</span><ins>+2014-03-13 James Craig <jcraig@apple.com>
+
+ Web Inspector: AXI: Use loc strings for known aria-invalid types
+ https://bugs.webkit.org/show_bug.cgi?id=129952
+
+ Reviewed by Joseph Pecoraro.
+
+ Updating inspector-protocol enum and UI display values for @aria-invalid.
+
+ Test: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
+
+ * inspector/InspectorDOMAgent.cpp: Enum for DOM.AccessibilityPropertiesInvalid
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+ * inspector/protocol/DOM.json: Enum for DOM.AccessibilityPropertiesInvalid
+
+2014-03-13 Dirk Schulze <krit@webkit.org>
+
+ [SVG2] support paint-order presentation attribute
+ https://bugs.webkit.org/show_bug.cgi?id=129373
+
+ Reviewed by Dean Jackson.
+
+ Add support for the paint-order property from SVG2. The presentation
+ attribute/CSS property allows to paint fill, stroke and markers in any order
+ the author desires.
+
+ Firefox supports this but behind a runtime flag. It is just activated in
+ nightly builds by default.
+
+ Chromium supports it behind a runtime flag as well but is going to ship it
+ pretty soon.
+
+ Tests: svg/paint-order/paint-order-fill-expected.svg
+ svg/paint-order/paint-order-fill-markers-expected.svg
+ svg/paint-order/paint-order-fill-markers.svg
+ svg/paint-order/paint-order-fill.svg
+ svg/paint-order/paint-order-markers-expected.svg
+ svg/paint-order/paint-order-markers-stroke-expected.svg
+ svg/paint-order/paint-order-markers-stroke.svg
+ svg/paint-order/paint-order-markers.svg
+ svg/paint-order/paint-order-normal-expected.svg
+ svg/paint-order/paint-order-normal.svg
+ svg/paint-order/paint-order-stroke-expected.svg
+ svg/paint-order/paint-order-stroke-marker-expected.svg
+ svg/paint-order/paint-order-stroke-marker.svg
+ svg/paint-order/paint-order-stroke.svg
+ svg/paint-order/paint-order-text-markers-expected.svg
+ svg/paint-order/paint-order-text-markers.svg
+ svg/paint-order/paint-order-text-normal-expected.svg
+ svg/paint-order/paint-order-text-normal.svg
+ svg/paint-order/paint-order-text-stroke-expected.svg
+ svg/paint-order/paint-order-text-stroke.svg
+ svg/paint-order/paint-order-text-tspan-001-expected.svg
+ svg/paint-order/paint-order-text-tspan-001.svg
+ svg/paint-order/paint-order-text-tspan-002-expected.svg
+ svg/paint-order/paint-order-text-tspan-002.svg
+ svg/paint-order/parsing-paint-order.html
+
+ * css/CSSComputedStyleDeclaration.cpp: Computed style for paint-order.
+ (WebCore::ComputedStyleExtractor::propertyValue):
+ * css/CSSParser.h:
+ * css/CSSPropertyNames.in:
+ * css/CSSValueKeywords.in:
+ * css/SVGCSSComputedStyleDeclaration.cpp:
+ (WebCore::paintOrder):
+ (WebCore::ComputedStyleExtractor::svgPropertyValue):
+ * css/SVGCSSParser.cpp: Parse paint-order. Take care of serialization
+ at this point already to get element style correct.
+ (WebCore::CSSParser::parseSVGValue):
+ (WebCore::CSSParser::parsePaintOrder):
+ * css/SVGCSSStyleSelector.cpp:
+ (WebCore::StyleResolver::applySVGProperty):
+ * rendering/style/SVGRenderStyle.cpp:
+ (WebCore::SVGRenderStyle::paintTypesForPaintOrder):
+ (WebCore::SVGRenderStyle::diff): Repaint on change.
+ * rendering/style/SVGRenderStyle.h:
+ (WebCore::SVGRenderStyle::initialPaintOrder):
+ (WebCore::SVGRenderStyle::setPaintOrder):
+ (WebCore::SVGRenderStyle::paintOrder):
+ (WebCore::SVGRenderStyle::InheritedFlags::operator==):
+ (WebCore::SVGRenderStyle::setBitDefaults):
+ * rendering/style/SVGRenderStyleDefs.h:
+ * rendering/svg/RenderSVGShape.cpp: Change order of painting based on paint-order.
+ (WebCore::RenderSVGShape::strokeShape):
+ (WebCore::RenderSVGShape::fillStrokeMarkers):
+ (WebCore::RenderSVGShape::paint):
+ (WebCore::RenderSVGShape::addFocusRingRects):
+ * rendering/svg/RenderSVGShape.h:
+ * rendering/svg/SVGInlineTextBox.cpp:
+ (WebCore::SVGInlineTextBox::paint): Ditto.
+ * svg/SVGElement.cpp: Make property a presentation attribute.
+ (WebCore::populateAttributeNameToCSSPropertyIDMap):
+ (WebCore::populateAttributeNameToAnimatedPropertyTypeMap):
+ * svg/svgattrs.in: Add paint-order attribute.
+
+2014-03-13 Andreas Kling <akling@apple.com>
+
+ Network process instantiates JSC::VM under fake memory pressure.
+ <https://webkit.org/b/130143>
+
+ Stop calling GCController::garbageCollectSoon() in the fake memory
+ pressure callback. The pressure relief code already schedules GC
+ by way of discardAllCode() which does reportAbandonedObjectGraph().
+ This way we don't accidentally instantiate a VM in the networking
+ process for no reason.
+
+ Reviewed by Geoffrey Garen.
+
+ * platform/mac/MemoryPressureHandlerMac.mm:
+ (WebCore::MemoryPressureHandler::install):
+
+2014-03-13 Diego Pino Garcia <dpino@igalia.com>
+
+ Web Inspector: AXI: Expose focused/focusable state in the Accessibility Node Inspector
+ https://bugs.webkit.org/show_bug.cgi?id=129779
+
+ Reviewed by Timothy Hatcher.
+
+ * inspector/InspectorDOMAgent.cpp: Set property "focused".
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+ * inspector/protocol/DOM.json: Add property "focused" to
+ AccessibilityProperties.
+
+2014-03-12 Jae Hyun Park <jaepark@webkit.org>
+
+ Remove remaining Nix port related files
+ https://bugs.webkit.org/show_bug.cgi?id=130179
+
+ Reviewed by Csaba Osztrogonác.
+
+ GLContextFromCurrentEGL was added in r155360 as a part of nix
+ upstreaming. As Nix port is removed from the source tree, these files
+ are in no use.
+
+ * platform/graphics/egl/GLContextFromCurrentEGL.cpp: Removed.
+ * platform/graphics/egl/GLContextFromCurrentEGL.h: Removed.
+
+2014-03-13 Daniel Bates <dabates@apple.com>
+
+ REGRESSION (r160806): Incorrect cascade order of prefixed and non-prefixed variants of
+ CSS properties box-shadow and background-{clip, origin, size}
+ https://bugs.webkit.org/show_bug.cgi?id=130102
+ <rdar://problem/16187037>
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- * platform/graphics/cg/GradientCG.cpp:
- (WebCore::Gradient::platformGradient): Clang is surprisingly smart at removing
- all the branches of this function. Remove two more with reserveInitialCapacity.
</del><ins>+ Fixes an issues in the computation of the final value for the CSS properties
+ box-shadow and background-{clip, origin, size} when the definition of a selector
+ uses both the prefixed and non-prefixed variants (in order) of these properties.
</ins><span class="cx">
</span><del>-2013-05-10 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Tests: fast/css/cascade/background-clip-and-webkit-background-clip-cascade-order.html
+ fast/css/cascade/background-origin-and-webkit-background-origin-cascade-order.html
+ fast/css/cascade/background-size-and-webkit-background-size-cascade-order.html
+ fast/css/cascade/box-shadow-and-webkit-box-shadow-cascade-order.html
</ins><span class="cx">
</span><del>- <rdar://problem/13666412> Clean up some edge cases of URL parsing.
- https://bugs.webkit.org/show_bug.cgi?id=104919
</del><ins>+ * css/CSSPropertyNames.in: Add a comment to explain the difference between property
+ -webkit-box-shadow and property box-shadow.
+ * css/StyleResolver.cpp:
+ (WebCore::shouldApplyPropertyInParseOrder): Add prefixed and non-prefixed variants
+ of box-shadow and background-{clip, origin, size} to the list of properties that need
+ to be applied in the same order as they were parsed from the stylesheet.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-03-13 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- Test: fast/url/segments-userinfo-vs-host.html
</del><ins>+ Web Inspector: Remove InspectorFrontendHost.loadResourceSynchronously
+ https://bugs.webkit.org/show_bug.cgi?id=130217
</ins><span class="cx">
</span><del>- * page/SecurityOrigin.cpp:
- (WebCore::schemeRequiresHost):
- (WebCore::shouldTreatAsUniqueOrigin):
- Updated function name and comments (host is not the same as authority). We still
- need this check - KURL can still produce http URLs with an empty host (even as this
- patch reduces the number of such cases). So can Gecko and current draft of URL
- Standard.
- It would be good to have a guarantee that such useless URLs can not come out of
- URL parser, as relying on downstream code re-parsing the URL correctly would be fragile.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- * platform/KURL.cpp:
- (WebCore::hostPortIsEmptyButCredentialsArePresent): Updated an argument name for
- correctness.
- (WebCore::KURL::parse):
- 1. Reverted behavior changes from <http://trac.webkit.org/changeset/82181> - I could
- find no reason to allow "@" in hostnames, and having a URL like this re-parsed by
- a different parser would likely produce different results. It's better to just treat
- these edge case URLs as invalid.
- 2. When hostname component is a lone colon, preserve it in parsed URL string,
- as otherwise path would get pushed in its place when re-parsing.
- 3. When authority component is a lone colon, don't forget to "//" after scheme, too.
- 4. Added some assertions about contents of authority component, to catch potential
- mis-parsing earlier.
</del><ins>+ This has been replaced by NetworkAgent.loadResource,
+ which loads asynchronously through the backend.
</ins><span class="cx">
</span><del>-2013-05-10 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ * inspector/InspectorFrontendHost.cpp:
+ * inspector/InspectorFrontendHost.h:
+ * inspector/InspectorFrontendHost.idl:
</ins><span class="cx">
</span><del>- Make TextCodecICU not depend on TextEncoding
- https://bugs.webkit.org/show_bug.cgi?id=115848
</del><ins>+2014-03-13 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Web Inspector: Network.loadResource should include the response status code
+ https://bugs.webkit.org/show_bug.cgi?id=130216
</ins><span class="cx">
</span><del>- * platform/text/TextCodecICU.cpp:
- (WebCore::TextCodecICU::create):
- (WebCore::TextCodecICU::TextCodecICU):
- (WebCore::TextCodecICU::createICUConverter):
- (WebCore::TextCodecICU::decode):
- (WebCore::TextCodecICU::encode):
- * platform/text/TextCodecICU.h:
- Use a plain encoding string in platform encoder wrapper, not a higher level concept.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-05-10 Laszlo Gombos <l.gombos@samsung.com>
</del><ins>+ * inspector/InspectorResourceAgent.cpp:
+ Record and send the http status code.
</ins><span class="cx">
</span><del>- Remove Mac OS X Leopard (10.5) support
- https://bugs.webkit.org/show_bug.cgi?id=107964
</del><ins>+ * inspector/protocol/Network.json:
+ Include status code property in the success callback.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+2014-03-13 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- Removed the code for 10.5 and removed if-def for 10.6.
</del><ins>+ Web Inspector: Network.loadResource XHR crash if page reloaded while request is ongoing
+ https://bugs.webkit.org/show_bug.cgi?id=130211
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- * platform/LocalizedStrings.cpp:
- (WebCore::contextMenuItemTagLookUpInDictionary):
- * platform/graphics/cg/GraphicsContextCG.cpp:
- * platform/mac/EmptyProtocolDefinitions.h:
- * platform/mac/NSScrollerImpDetails.h:
- * platform/mac/WebCoreSystemInterface.h:
- * platform/text/mac/HyphenationMac.mm:
</del><ins>+ Merged from Blink with changes, (patch by vsevik@chromium.org):
+ http://src.chromium.org/viewvc/blink?view=revision&revision=152712
</ins><span class="cx">
</span><del>-2013-05-10 Laszlo Gombos <l.gombos@samsung.com>
</del><ins>+ Using an XMLHttpRequest to download resources had a few issues. Being an
+ Active DOM Object the load could be paused. Without an extra retain,
+ when the load was cancelled (e.g. a page reload) the XHR would get
+ destructed and could cause a crash if the list of active DOM objects
+ was actively being iterated.
</ins><span class="cx">
</span><del>- Remove USE(OS_RANDOMNESS)
- https://bugs.webkit.org/show_bug.cgi?id=108095
</del><ins>+ Switch to a DocumentThreadableLoader to manage the load ourselves.
+ This still uses the Memory cache, but we have a little more control.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * inspector/InspectorResourceAgent.h:
+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::InspectorResourceAgent::InspectorResourceAgent):
+ (WebCore::InspectorResourceAgent::loadResource):
+ Switch from XHR to DocumentThreadableLoader.
</ins><span class="cx">
</span><del>- Remove the USE(OS_RANDOMNESS) guard as it is turned on for all
- ports.
</del><ins>+ * xml/XMLHttpRequest.h:
+ * xml/XMLHttpRequest.cpp:
+ (WebCore::XMLHttpRequest::XMLHttpRequest):
+ (WebCore::XMLHttpRequest::createRequest):
+ (WebCore::XMLHttpRequest::sendForInspector):
+ Remove the now unnecessary XHR sendForInspector path.
</ins><span class="cx">
</span><del>- No new tests as this is covered by existing tests.
</del><ins>+2014-03-13 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- * page/Crypto.cpp:
- (WebCore::Crypto::getRandomValues):
- * platform/UUID.cpp:
- (WebCore::createCanonicalUUIDString):
</del><ins>+ Unreviewed, rolling out r165540.
+ https://bugs.webkit.org/show_bug.cgi?id=130199
</ins><span class="cx">
</span><del>-2013-05-10 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ caused 1 hidpi test fail (Requested by zalan on #webkit).
</ins><span class="cx">
</span><del>- Remove [NoInterfaceObject] from several WebAudio IDL interfaces
- https://bugs.webkit.org/show_bug.cgi?id=115894
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ "Subpixel rendering: Nested layers with subpixel accumulation
+ paint to wrong position."
+ https://bugs.webkit.org/show_bug.cgi?id=130153
+ http://trac.webkit.org/changeset/165540
</ins><span class="cx">
</span><del>- Several WebAudio IDL interfaces had [NoInterfaceObject] extended attribute set,
- meaning that there was no corresponding attribute on the global window object.
- This behavior is not according to the specification:
- https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
</del><ins>+2014-03-13 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- This patch removes the [NoInterfaceObject] extended attribute where needed to
- match the specification.
</del><ins>+ Fix a bunch of mistakes in the parsing of ::cue( and ::cue
+ https://bugs.webkit.org/show_bug.cgi?id=130113
</ins><span class="cx">
</span><del>- No new tests, already covered by existing tests.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * Modules/webaudio/AnalyserNode.idl:
- * Modules/webaudio/AudioBuffer.idl:
- * Modules/webaudio/AudioBufferSourceNode.idl:
- * Modules/webaudio/AudioDestinationNode.idl:
- * Modules/webaudio/AudioListener.idl:
- * Modules/webaudio/AudioNode.idl:
- * Modules/webaudio/AudioParam.idl:
- * Modules/webaudio/BiquadFilterNode.idl:
- * Modules/webaudio/ChannelMergerNode.idl:
- * Modules/webaudio/ChannelSplitterNode.idl:
- * Modules/webaudio/ConvolverNode.idl:
- * Modules/webaudio/DelayNode.idl:
- * Modules/webaudio/DynamicsCompressorNode.idl:
- * Modules/webaudio/GainNode.idl:
- * Modules/webaudio/MediaElementAudioSourceNode.idl:
- * Modules/webaudio/MediaStreamAudioDestinationNode.idl:
- * Modules/webaudio/MediaStreamAudioSourceNode.idl:
- * Modules/webaudio/OscillatorNode.idl:
- * Modules/webaudio/ScriptProcessorNode.idl:
- * Modules/webaudio/WaveShaperNode.idl:
- * Modules/webaudio/WaveTable.idl:
</del><ins>+ * css/CSSGrammar.y.in:
+ * css/CSSParserValues.cpp:
+ (WebCore::CSSParserSelector::setPseudoTypeValue):
+ The ::cue() pseudo element "function" was passed as a PseudoClass.
+ The type was then parsed and considered as a compatibility type to flip
+ the match type back to PseudoElement.
</ins><span class="cx">
</span><del>-2013-05-10 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Instead of all that jazz, just pass the right type from the grammar.
</ins><span class="cx">
</span><del>- REGRESSION (r145680): No box shadow rendered on element with positioned child that obscures it
- https://bugs.webkit.org/show_bug.cgi?id=115840
</del><ins>+ * css/CSSSelector.cpp:
+ (WebCore::CSSSelector::parsePseudoType):
+ The non-function ::cue pseudo element use shadow pseudo ID for matching the element.
+ Since it is unprefixed, it needs to map to one of the Custom types. The previous code
+ was using String::startsWith() for some reason, change that to a simple equality.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
-
- In r107836, we moved some box-shadow painting into the paintFillLayer code for performance.
- However, in r145680 we started to skip background painting when we know the background is
- obscured. This broke shadow painting in some cases.
-
- Fix by always painting the background fill layers if we know that they will also
- paint the shadow.
</del><ins>+2014-03-13 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Test: fast/box-shadow/box-shadow-obscured-backgrounds.html
</del><ins>+ Clean up RenderStyle creation
+ https://bugs.webkit.org/show_bug.cgi?id=130180
</ins><span class="cx">
</span><del>- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::paintBackground):
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-05-10 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Use the copy constructor with the default style instead of having a special
+ constructor for that.
</ins><span class="cx">
</span><del>- REGRESSION (r143626): Element shows as garbage in image gallery
- https://bugs.webkit.org/show_bug.cgi?id=115946
</del><ins>+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::create):
+ (WebCore::RenderStyle::RenderStyle):
+ * rendering/style/RenderStyle.h:
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
-
- RenderLayer::backgroundIsKnownToBeOpaqueInRect() used hasVisibleContent()
- to check whether the layer's content was hidden via the visibility property.
- However, this assumed that a passing hasVisibleContent() check meant that the
- entire area was covered by the renderers and layers checked layer.
-
- This is not always true. It's possible to have a visibility:hidden layer
- with a non-covering visbility:visible child, or even a single RenderText
- child that happens to have visibility:visible style. In these situations,
- hasVisibleContent() returns true but the entire area is not painted.
-
- So we have to fall back to on a more conservative check using the
- visibility style, which will give is a reliable answer for the current layer.
</del><ins>+2014-03-13 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Tests: compositing/contents-opaque/hidden-with-visible-child.html
- compositing/contents-opaque/hidden-with-visible-text.html
</del><ins>+ The viewport code should not depend on WebKitSystemInterface
+ https://bugs.webkit.org/show_bug.cgi?id=130218
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::backgroundIsKnownToBeOpaqueInRect):
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>-2013-05-10 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ The viewport code cannot be generalized to other ports because it relies
+ on WebKit system interface to get the device screen size.
+ This patch fixes that by going through ChromeClient to get the data.
</ins><span class="cx">
</span><del>- Garbage down left side of nytimes.com page (if subscriber)
- https://bugs.webkit.org/show_bug.cgi?id=115839
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::processViewport):
+ Get the screensize from chrome client.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
-
- RenderLayer::backgroundIsKnownToBeOpaqueInRect() would incorrectly return true
- for layers where the given rect wasn't contained in the background rect, but
- where some child layer obscured the rect, even though clipping hid part
- of that child layer.
-
- So bail from RenderLayer::backgroundIsKnownToBeOpaqueInRect() if we have
- any overflow clipping. This could be enhanced in future to test whether child
- layers obscure the clipping rect, but that would be more expensive.
</del><ins>+ * dom/ViewportArguments.cpp:
+ (WebCore::computeViewportAttributes):
+ This is dead code. Nothing should ever use computeViewportAttributes().
</ins><span class="cx">
</span><del>- Test: compositing/contents-opaque/overflow-hidden-child-layers.html
</del><ins>+ (WebCore::finalizeViewportArguments):
+ * dom/ViewportArguments.h:
+ * page/ChromeClient.h:
+ (WebCore::ChromeClient::viewportScreenSize):
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::backgroundIsKnownToBeOpaqueInRect):
</del><ins>+2014-03-07 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>-2013-05-10 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Add remote control command support to MediaSession.
+ https://bugs.webkit.org/show_bug.cgi?id=129903
</ins><span class="cx">
</span><del>- In-band captions not visible immediately after track mode change
- https://bugs.webkit.org/show_bug.cgi?id=115922
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ Add the capability to receive remote control commands (currently iOS only) and to
+ pass those commands through the MediaSessionManager.
</ins><span class="cx">
</span><del>- Test: media/track/track-in-band-mode.html
</del><ins>+ Add a new platform class which can listen for remote control commands:
+ * platform/RemoteCommandListener.cpp: Added.
+ (WebCore::RemoteCommandListener::create):
+ * platform/RemoteCommandListener.h: Added.
+ (WebCore::RemoteCommandListenerClient::~RemoteCommandListenerClient):
+ (WebCore::RemoteCommandListener::~RemoteCommandListener):
+ (WebCore::RemoteCommandListener::RemoteCommandListener):
+ * platform/ios/RemoteCommandListenerIOS.h: Added.
+ * platform/ios/RemoteCommandListenerIOS.mm: Added.
+ (WebCore::RemoteCommandListener::create):
+ (WebCore::RemoteCommandListenerIOS::RemoteCommandListenerIOS):
+ (WebCore::RemoteCommandListenerIOS::~RemoteCommandListenerIOS):
</ins><span class="cx">
</span><ins>+ Handle remote control command events in HTMLMediaElement and AudioDestinationMac:
</ins><span class="cx"> * html/HTMLMediaElement.cpp:
</span><del>- (WebCore::HTMLMediaElement::textTrackModeChanged): Add cues for all loaded tracks, regardless
- of track type.
</del><ins>+ (WebCore::HTMLMediaElement::parseAttribute):
+ * html/HTMLMediaElement.h:
+ * platform/audio/mac/AudioDestinationMac.h:
+ (WebCore::AudioDestinationMac::canReceiveRemoteControlCommands):
+ (WebCore::AudioDestinationMac::didReceiveRemoteControlCommand):
</ins><span class="cx">
</span><del>-2013-05-10 Timothy Hatcher <timothy@apple.com>
</del><ins>+ Pipe command events through MediaSessionManager:
+ * platform/audio/MediaSession.cpp:
+ (WebCore::MediaSession::canReceiveRemoteControlCommands):
+ (WebCore::MediaSession::didReceivRemoteControlCommand):
+ * platform/audio/MediaSession.h:
+ * platform/audio/MediaSessionManager.cpp:
+ (WebCore::MediaSessionManager::addSession):
+ (WebCore::MediaSessionManager::removeSession):
+ (WebCore::MediaSessionManager::sessionWillBeginPlayback):
+ (WebCore::MediaSessionManager::didReceiveRemoteControlCommand):
+ (WebCore::MediaSessionManager::addClient):
+ (WebCore::MediaSessionManager::removeClient):
+ * platform/audio/MediaSessionManager.h:
+ (WebCore::MediaSessionManagerClient::~MediaSessionManagerClient):
+ (WebCore::MediaSessionManagerClient::MediaSessionManagerClient):
</ins><span class="cx">
</span><del>- Web Inspector: determine the resource type in InspectorResourceAgent::willSendRequest.
</del><ins>+ Make sessionWillBegin/EndPlayback() methods take non-const parameters:
+ * platform/audio/MediaSessionManager.h:
+ (WebCore::MediaSessionManager::sessionWillEndPlayback):
+ * platform/audio/ios/MediaSessionManagerIOS.h:
+ * platform/audio/ios/MediaSessionManagerIOS.mm:
+ (WebCore::MediaSessionManagerIOS::sessionWillBeginPlayaback):
+ (WebCore::MediaSessionManagerIOS::sessionWillEndPlayaback):
</ins><span class="cx">
</span><del>- This allows the Network timeline and Resources sidebar to filter Resources earlier,
- before the server sends a response. Useful for long polling (comet) XHRs.
</del><ins>+ Add new files and export new symbols:
+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- https://webkit.org/b/74935
- rdar://problem/13726105
</del><ins>+2014-03-13 Csaba Osztrogonác <ossy@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro.
</del><ins>+ Unreviewed, rolling out r165544 and r165560.
</ins><span class="cx">
</span><del>- * inspector/Inspector.json:
- (Network.requestWillBeSent): Added.
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::willSendRequest): Send the type if it isn't Other along in requestWillBeSent.
- (WebCore::InspectorResourceAgent::didReceiveResponse): Don't determine the type here anymore. Clear the CachedResource
- if isNotModified like the old code path did by not setting cachedResource if !isNotModified.
</del><ins>+ It broke EFL/GTK/Windows build
</ins><span class="cx">
</span><del>-2013-05-10 Laszlo Gombos <l.gombos@samsung.com>
</del><ins>+ Reverted changesets:
</ins><span class="cx">
</span><del>- [CMake] Consolidate list of files to build for WebCore plugin support
- https://bugs.webkit.org/show_bug.cgi?id=104429
</del><ins>+ "Optimize hasTagName when called on an HTMLElement"
+ https://bugs.webkit.org/show_bug.cgi?id=130090
+ http://trac.webkit.org/changeset/165544
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ http://trac.webkit.org/changeset/165560
</ins><span class="cx">
</span><del>- Move the common files to support plugins and the logic for disabling
- plugins) to CMakeLists.txt from PlatformXXX.cmake.
</del><ins>+2014-03-13 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- No new tests as there is no new functionality.
</del><ins>+ Try to stop asserts in debug build.
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * PlatformBlackBerry.cmake:
- * PlatformEfl.cmake:
- * PlatformWinCE.cmake:
</del><ins>+ * dom/Node.cpp:
+ (WebCore::Document::invalidateNodeListAndCollectionCaches):
</ins><span class="cx">
</span><del>-2013-05-10 Robert Hogan <robert@webkit.org>
</del><ins>+2014-03-13 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- REGRESSION(r148121): Empty Span does not get a linebox when it's in an anonymous block
- https://bugs.webkit.org/show_bug.cgi?id=115818
</del><ins>+ Update the build fix for r165544
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ Fix typo :(
</ins><span class="cx">
</span><del>- r148121 only worried about split inlines inside anonymous blocks - it ought to have
- catered for empty inlines, with no continuations, inside a single solitary anonymous block too.
</del><ins>+2014-03-13 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Test: fast/inline/anonymous-block-with-empty-inline.html
</del><ins>+ Update the build fix for r165544
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::hasInlineDirectionBordersPaddingOrMargin):
</del><ins>+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper isSVGGroupElement]):
+ Use the SVG version since the name being tested is a SVG name.
</ins><span class="cx">
</span><del>-2013-05-10 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+2014-03-13 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- [GTK] Remove unnecessary includes in WidgetGtk.cpp
- https://bugs.webkit.org/show_bug.cgi?id=115912
</del><ins>+ Attempt to fix the build after r165542
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * dom/NodeRenderStyle.h:
</ins><span class="cx">
</span><del>- No new tests - no new functionality.
</del><ins>+2014-03-13 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- * platform/gtk/WidgetGtk.cpp: Remove the unnecessary includes of the Chrome.h, Frame.h, FrameView.h,
- Page.h and RenderObject.h headers as the included declarations are not used anywhere. ScrollView.h is
- included instead as it is required and was previously included by one of the removed header inclusions.
</del><ins>+ Update WebAccessibilityObjectWrapperIOS after r165544
</ins><span class="cx">
</span><del>-2013-05-10 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper isSVGGroupElement]):
</ins><span class="cx">
</span><del>- [Cairo] Remove the unnecessary ImageData.h include in ImageBufferCairo.cpp
- https://bugs.webkit.org/show_bug.cgi?id=115911
</del><ins>+2014-03-13 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+ REGRESSION(r165542): printing/page-rule-selection.html failing
+ https://bugs.webkit.org/show_bug.cgi?id=130205
</ins><span class="cx">
</span><del>- No new tests - no new functionality.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * platform/graphics/cairo/ImageBufferCairo.cpp: Remove the ImageData.h include
- as the included declarations are not used anywhere.
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::keyframeStylesForAnimation):
+ (WebCore::StyleResolver::styleForPage):
+
+ Use Document style as parent when resolving page style.
</ins><span class="cx">
</span><del>-2013-05-10 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ (WebCore::StyleResolver::applyPropertyToStyle):
+ * css/StyleResolver.h:
+
+ Get rid of the default null parameter.
</ins><span class="cx">
</span><del>- [Cairo] Remove the unnecessary CSSParser.h include in GradientCairo.cpp
- https://bugs.webkit.org/show_bug.cgi?id=115910
</del><ins>+2014-03-13 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Laszlo Gombos.
</del><ins>+ Remove INPUT_LIST_BUTTON from the PseudoIds
+ https://bugs.webkit.org/show_bug.cgi?id=130108
</ins><span class="cx">
</span><del>- No new tests - no new functionality.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * platform/graphics/cairo/GradientCairo.cpp: Remove the CSSParser.h include
- as the included declarations are not used anywhere.
</del><ins>+ * rendering/style/RenderStyleConstants.h:
+ It is unused.
</ins><span class="cx">
</span><del>-2013-05-10 Dean Jackson <dino@apple.com>
</del><ins>+2014-03-12 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Include tab character as a word end for kerning
- https://bugs.webkit.org/show_bug.cgi?id=115915
- <rdar://problem/13861491>
</del><ins>+ [iOS] Sync media playback with now playing
+ https://bugs.webkit.org/show_bug.cgi?id=130172
</ins><span class="cx">
</span><del>- Reviewed by Enrica Casucci.
</del><ins>+ Reviewed by Jer Noble.
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::play): Move clientWillBeginPlayback to
+ playInternal so it is called every time playback begins.
+ (WebCore::HTMLMediaElement::playInternal): Call clientWillBeginPlayback.
+ (WebCore::HTMLMediaElement::pause): Move clientWillPausePlayback to
+ playInternal so it is called every time playback begins.
+ (WebCore::HTMLMediaElement::playInternal): Call clientWillPausePlayback.
+ (WebCore::HTMLMediaElement::mediaSessionTitle): New. Return the 'title' attribute,
+ or currenSrc if that is empty.
+ * html/HTMLMediaElement.h:
+ (WebCore::HTMLMediaElement::mediaSessionDuration): Return duration.
+ (WebCore::HTMLMediaElement::mediaSessionCurrentTime): Return current time.
</ins><span class="cx">
</span><del>- This is a follow-up to https://bugs.webkit.org/show_bug.cgi?id=112507
- which only looked for a space character as a word end. It should
- look for tab characters too.
</del><ins>+ * platform/audio/MediaSession.cpp:
+ (WebCore::MediaSession::clientWillPausePlayback): New, passthrough to the
+ media element.
+ (WebCore::MediaSession::title): Ditto.
+ (WebCore::MediaSession::duration): Ditto.
+ (WebCore::MediaSession::currentTime): Ditto.
+ * platform/audio/MediaSession.h:
+ (WebCore::MediaSessionClient::mediaSessionTitle):
+ (WebCore::MediaSessionClient::mediaSessionDuration):
+ (WebCore::MediaSessionClient::mediaSessionCurrentTime):
</ins><span class="cx">
</span><del>- Test: fast/text/word-space-with-kerning-4.html
</del><ins>+ * platform/audio/MediaSessionManager.cpp:
+ (WebCore::MediaSessionManager::MediaSessionManager): Initialize m_activeSession.
+ (WebCore::MediaSessionManager::removeSession): Set m_activeSession if the session
+ being removed is currently active.
+ (WebCore::MediaSessionManager::sessionWillBeginPlayback): Set m_activeSession.
+ * platform/audio/MediaSessionManager.h:
+ (WebCore::MediaSessionManager::sessionWillEndPlayback):
+ (WebCore::MediaSessionManager::setCurrentSession):
+ (WebCore::MediaSessionManager::currentSession):
</ins><span class="cx">
</span><del>- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::setLogicalWidthForTextRun): Look for ' '.
</del><ins>+ * platform/audio/ios/MediaSessionManagerIOS.h:
+ * platform/audio/ios/MediaSessionManagerIOS.mm:
+ (WebCore::MediaSessionManageriOS::sessionWillBeginPlayback): Call updateNowPlayingInfo.
+ (WebCore::MediaSessionManageriOS::sessionWillEndPlayback): Ditto.
+ (WebCore::MediaSessionManageriOS::updateNowPlayingInfo): Update MPNowPlayingInfoCenter
+ with the current media item's title, duration, and current time.
+ (-[WebMediaSessionHelper initWithCallback:]): Turn on deliver of remote control
+ events, even though we don't respond to them yet, or Now Playing won't work.
</ins><span class="cx">
</span><del>-2013-05-10 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-13 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- Remove EventTracer
- https://bugs.webkit.org/show_bug.cgi?id=115916
</del><ins>+ Webkit not building on XCode 5.1 due to garbage collection no longer being supported
+ https://bugs.webkit.org/show_bug.cgi?id=130087
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Reviewed by Mark Rowe.
</ins><span class="cx">
</span><del>- EventTracer is dead code, remove it.
</del><ins>+ Disable garbage collection on macosx when not using internal SDK.
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * platform/EventTracer.cpp: Removed.
- * platform/EventTracer.h: Removed.
</del><ins>+ No new tests required.
</ins><span class="cx">
</span><del>-2013-05-10 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ * Configurations/Base.xcconfig:
</ins><span class="cx">
</span><del>- [GTK] Generated files are regenerated always
- https://bugs.webkit.org/show_bug.cgi?id=115908
</del><ins>+2014-03-13 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+ Don't send synchronous resize events when FrameView has auto-sizing enabled.
+ <https://webkit.org/b/130198>
+ <rdar://problem/15991333>
</ins><span class="cx">
</span><del>- No new tests - no change in functionality.
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- * GNUmakefile.am: Don't treat the window constructors IDL file as a dependency of the JavaScriptCore bindings.
- The file is generated during the IDL preprocessing, and the JSC bindings already depend on that step through
- the idl_supplemental_dependencies file. Because of that the window constructors IDL file has a phony target
- which seems to confuse the bindings generation rule into thinking that a complete regeration of the bindings is required.
</del><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::sendResizeEventIfNeeded):
</ins><span class="cx">
</span><del>-2013-05-10 Andreas Kling <akling@apple.com>
</del><ins>+2014-03-13 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- Caching of generated images in CSS should be smarter.
- <http://webkit.org/b/115902>
- <rdar://problem/13542727>
</del><ins>+ Try to fix release build.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * css/MediaQueryMatcher.cpp:
+ * css/StyleMedia.cpp:
+ * html/HTMLTitleElement.cpp:
</ins><span class="cx">
</span><del>- Add an IntSize => GeneratorGeneratedImage cache at the CSSImageGeneratorValue level.
</del><ins>+2014-03-11 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- CSSGradientValue is currently the only CSSImageGeneratorValue subclass that makes use of the cache.
- Generated images are kept for 3 seconds after last use.
</del><ins>+ Avoid copy-prone idiom "for (auto item : collection)"
+ https://bugs.webkit.org/show_bug.cgi?id=129990
</ins><span class="cx">
</span><del>- The main problem with the previous approach was that background renderers (e.g <body>, <tr>, etc)
- would be passed to multiple CSSImageGeneratorValue::getImage() calls with different sizes requested
- for each of the descendent renderers that inherit their background from the same parent.
- The cache wasn't smart enough for this, it just thought the background renderer was changing size
- a lot, and would regenerate the image over and over.
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- We already had caching of intermediate image buffers for GeneratorGeneratedImage::drawPattern().
- This removes the eviction timer from that cache so that the intermediate images can live a bit longer.
</del><ins>+ Most of these changes have no effect. A few of them get rid of unwanted
+ copying of the items as we iterate them. Found these with the command
+ 'git grep "for (auto .*:"' or the equivalent.
</ins><span class="cx">
</span><del>- (WebCore::CSSImageGeneratorValue::cachedImageForSize):
- (WebCore::CSSImageGeneratorValue::saveCachedImageForSize):
</del><ins>+ * Modules/indexeddb/IDBKeyData.cpp:
+ (WebCore::IDBKeyData::IDBKeyData): Use auto& to avoid copying the keys.
+ (WebCore::IDBKeyData::maybeCreateIDBKey): Ditto.
+ (WebCore::IDBKeyData::isolatedCopy): Ditto.
</ins><span class="cx">
</span><del>- Renamed from getImage() and putImage().
</del><ins>+ * dom/Node.cpp:
+ (WebCore::Document::invalidateNodeListAndCollectionCaches): Use auto*
+ to make explicit the fact that these are pointers. Stop using "it" for
+ a variable that is not an iterator. Get rid of unneeded local variables
+ for the collections themselves.
</ins><span class="cx">
</span><del>- (WebCore::CSSImageGeneratorValue::evictCachedGeneratedImage):
- (WebCore::CSSImageGeneratorValue::CachedGeneratedImage::CachedGeneratedImage):
- (WebCore::CSSImageGeneratorValue::CachedGeneratedImage::evictionTimerFired):
</del><ins>+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::adoptDocument): Use auto& to make sure we
+ don't do any unnecessary copying. Stop using "it" for a variable that
+ is not an iterator.
</ins><span class="cx">
</span><del>- Let the CachedGeneratedImage throw itself out from cache when the timer fires.
</del><ins>+ * html/HTMLTableRowsCollection.cpp:
+ (WebCore::HTMLTableRowsCollection::lastRow): Use auto* to be explicit
+ that these are pointers.
+ * inspector/InspectorNodeFinder.cpp:
+ (WebCore::InspectorNodeFinder::searchUsingDOMTreeTraversal): Ditto.
+ * page/ios/FrameIOS.mm:
+ (WebCore::Frame::interpretationsForCurrentRoot): Ditto. Also got rid of
+ an unnecessary local variable.
</ins><span class="cx">
</span><del>- * css/CSSImageGeneratorValue.h:
- (CachedGeneratedImage):
</del><ins>+ * platform/FileChooser.cpp:
+ (WebCore::FileChooser::chooseFiles): Use auto&. Also fix a FIXME.
+ (WebCore::FileChooser::chooseMediaFiles): Ditto.
</ins><span class="cx">
</span><del>- Exactly what it sounds like. These go into CSSImageGeneratorValue::m_images with the size
- as the hash key.
</del><ins>+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ (WebCore::SourceBufferPrivateAVFObjC::naturalSize): Use auto&.
</ins><span class="cx">
</span><del>- * platform/graphics/GeneratorGeneratedImage.cpp:
- (WebCore::GeneratorGeneratedImage::drawPattern):
- * platform/graphics/GeneratorGeneratedImage.h:
- (WebCore::GeneratorGeneratedImage::~GeneratorGeneratedImage):
- (WebCore::GeneratorGeneratedImage::GeneratorGeneratedImage):
</del><ins>+ * rendering/RenderIterator.h: Changed include from RenderObject.h to
+ RenderElement.h; iterators are based on RenderElement now.
</ins><span class="cx">
</span><del>- Keep the intermediate image for drawPattern() until destruction instead of dropping it on
- a timer. These objects are now evicted by the CSSImageGeneratorValue's image cache
- after 3 seconds of disuse rather than kept for the lifetime of the renderer.
</del><ins>+ * rendering/svg/RenderSVGResource.cpp:
+ (WebCore::removeFromCacheAndInvalidateDependencies): Use auto*.
</ins><span class="cx">
</span><del>- * css/CSSCanvasValue.cpp:
- (WebCore::CSSCanvasValue::canvasChanged):
- (WebCore::CSSCanvasValue::canvasResized):
- * css/CSSCrossfadeValue.cpp:
- (WebCore::CSSCrossfadeValue::crossfadeChanged):
- * rendering/style/StyleGeneratedImage.cpp:
- (WebCore::StyleGeneratedImage::addClient):
- * css/CSSImageGeneratorValue.cpp:
- (WebCore::CSSImageGeneratorValue::addClient):
- (WebCore::CSSImageGeneratorValue::removeClient):
</del><ins>+ * rendering/svg/RenderSVGResourceContainer.cpp:
+ (WebCore::RenderSVGResourceContainer::markAllClientsForInvalidation): Use auto*.
+ (WebCore::RenderSVGResourceContainer::markAllClientLayersForInvalidation): Ditto.
+ (WebCore::RenderSVGResourceContainer::registerResource): Ditto.
</ins><span class="cx">
</span><del>- CSSImageGeneratorValue::m_clients is now a HashCountedSet<RenderObject*>, tweak accordingly.
</del><ins>+ * rendering/svg/SVGRenderSupport.cpp:
+ (WebCore::SVGRenderSupport::layoutChildren): Updated to use a more specific
+ type, to use auto* instead of of auto, and to eliminate the slightly sloppily
+ capitalized and not-so-slightly ungrammatical notlayoutedObjects.
+ (WebCore::SVGRenderSupport::applyStrokeStyleToContext): Use auto&.
+ (WebCore::SVGRenderSupport::updateMaskedAncestorShouldIsolateBlending): Use auto*.
</ins><span class="cx">
</span><del>-2013-05-10 Anders Carlsson <andersca@apple.com>
</del><ins>+ * rendering/svg/SVGResourcesCycleSolver.cpp:
+ (WebCore::SVGResourcesCycleSolver::resourceContainsCycles): Use auto*.
+ (WebCore::SVGResourcesCycleSolver::resolveCycles): Ditto. Also lineageOfType.
</ins><span class="cx">
</span><del>- Remove MemoryUsageSupport class
- https://bugs.webkit.org/show_bug.cgi?id=115913
</del><ins>+ * svg/SVGAnimateMotionElement.cpp:
+ (WebCore::SVGAnimateMotionElement::applyResultsToTarget): Use auto*.
+ * svg/SVGPathElement.cpp:
+ (WebCore::SVGPathElement::invalidateMPathDependencies): Ditto.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-03-13 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- MemoryUsageSupport was just used by a single call site in InspectorTimelineAgent,
- and the function called always returns zero on all platforms! Remove it.
</del><ins>+ Web Inspector: Remove unused callId parameter from evaluateInWebInspector
+ https://bugs.webkit.org/show_bug.cgi?id=129744
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * inspector/InspectorMemoryAgent.cpp:
- * inspector/InspectorTimelineAgent.cpp:
- (WebCore):
- (WebCore::InspectorTimelineAgent::setNativeHeapStatistics):
- * platform/MemoryUsageSupport.cpp: Removed.
- * platform/MemoryUsageSupport.h: Removed.
- * platform/qt/MemoryUsageSupportQt.cpp: Removed.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-05-10 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * WebCore.exp.in:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::evaluateForTestInFrontend):
+ * inspector/InspectorController.h:
</ins><span class="cx">
</span><del>- REGRESSION (r149652): Videos do not play on cnn.com, just black box
- https://bugs.webkit.org/show_bug.cgi?id=115887
</del><ins>+2014-03-13 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><ins>+ Optimize hasTagName when called on an HTMLElement
+ https://bugs.webkit.org/show_bug.cgi?id=130090
+
</ins><span class="cx"> Reviewed by Antti Koivisto.
</span><span class="cx">
</span><del>- The bug was caused by window and document named item maps counting the same element twice
- when it has the same id and name attribute values. Fixed the bug by avoiding to add or remove
- an element per id and name attribute updates when it had already been added or removed by
- name and id attribute updates respectively.
</del><ins>+ Added new hasTagName functions that have the efficiency of hasLocalName.
+ but are safe.
</ins><span class="cx">
</span><del>- We do this by checking whether the other attribute affects the element's precense in window
- and document named item maps and avoiding to add or remove the attribute when they do and
- the other attribute is present in updateId and updateName.
</del><ins>+ Now we can always use hasTagName, and we'll get a compile time error if
+ we try to use an SVG tag name with an HTML element. All call sites that
+ use the more specific tag name types are more efficient, and call sites
+ that have a specific pointer type will get even more efficient checking
+ that is exactly what we used to get by calling hasLocalName.
</ins><span class="cx">
</span><del>- Consider a scenario when an object element has id "foo", and name attribute is about to be also
- set to "foo". If the id attribute doesn't affect element's presense in window or document
- named item maps, we're done. If it does, then the maps already have this element so we don't
- want to add it again. Conversely, if the element already has id and name attributes set to
- "foo", and we're moving the id attribute, then we want to remove the element from the maps only
- if the id doesn't affect the presence of the element in the maps.
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::hasTagName): Cast explicitly to Element
+ since Node::hasTagName no longer works on a general QualifiedName.
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::isDescendantOfElementType): Use
+ more specific type, RenderElement, so we can call hasTagName on Element
+ instead of Node; eliminates an unnecessary branch.
</ins><span class="cx">
</span><del>- Unfortuntely, this logic doesn't work when we're inserting or removing an element on its entirely
- because updateId and updateName are called when both id and name attributes are present so skip
- this step (AlwaysUpdateHTMLDocumentNamedItemMaps) for the id attribute to break the symmetry.
</del><ins>+ * dom/DocumentStyleSheetCollection.cpp:
+ (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets): Use
+ new for loop and full words for variable names. Also use nullptr instead
+ of 0. Call toHTMLElement and toSVGElement in code that checks hasTagName
+ since it's already checking isHTMLElement and isSVGElement.
</ins><span class="cx">
</span><del>- Test: fast/dom/HTMLDocument/image-with-same-id-and-name.html
- fast/dom/HTMLDocument/object-with-same-id-and-name.html
-
</del><span class="cx"> * dom/Element.cpp:
</span><del>- (WebCore::Element::insertedInto): Call updateId and updateName with
- AlwaysUpdateHTMLDocumentNamedItemMaps.
- (WebCore::Element::removedFrom): Ditto.
- (WebCore::Element::updateName): Don't add or remove this element if the id attribute has already
- done so except when we're inserting, removing, or cloning an element.
- (WebCore::Element::updateId): Ditto for the name attribute.
- (WebCore::Element::cloneAttributesFromElement): Added a comment and assert that we never call this
- function when this element is in the document. We can't update window and documemt named item
- maps here because image element's id attribute value, for example, is present in the document's
- named item map if it has a name attribute. Since this function calls updateId and updateName
- before updating attributes, this check is going to fail in DocumentNameCollection's
- nodeMatchesIfIdAttributeMatch and bad things will happen.
</del><ins>+ (WebCore::attrNodeListMap): Use NeverDestroyed and put the vectors into
+ the map rather than putting pointers to a vector into the map.
+ (WebCore::attrNodeListForElement): Take a reference rather than a pointer,
+ and update for the change above.
+ (WebCore::ensureAttrNodeListForElement): Ditto.
+ (WebCore::removeAttrNodeListForElement): Ditto.
+ (WebCore::findAttrNodeInList): Ditto.
+ (WebCore::Element::isFocusable): Use ancestorsOfType<HTMLCanvasElement>
+ to fine the canvas rather than a hand-written loop.
+ (WebCore::Element::attrNodeList): Update for above changes.
+ (WebCore::Element::setAttributeNode): Ditto.
+ (WebCore::Element::attrIfExists): Ditto.
+ (WebCore::Element::ensureAttr): Ditto.
+ (WebCore::Element::detachAttrNodeFromElementWithValue): Ditto.
+ (WebCore::Element::detachAllAttrNodesFromElement): Ditto.
</ins><span class="cx">
</span><del>- * dom/Element.h:
</del><ins>+ * dom/Element.h: Removed the overload of hasLocalName that takes a
+ QualifiedName and ignores the non-local-name parts of it. Callers should
+ use hasTagName instead, now that it's optimized appropriately. Added
+ overloads of hasTagName for all the specific qualified name types. It's
+ more efficient to use the Node versions of these functions rather than
+ using QualifiedName::matches to do the check. Removed the hasTagName and
+ hasLocalName functions from the Node class; the only convenience functions
+ needed in Node are the specific checks for tags from HTML, MathML, and SVG,
+ not the general purpose ones.
</ins><span class="cx">
</span><del>- * editing/ReplaceNodeWithSpanCommand.cpp:
- (WebCore::swapInNodePreservingAttributesAndChildren): Clone children and attributes before
- inserting the swapped span to avoid hitting the assertion in cloneAttributesFromElement we added.
</del><ins>+ * dom/Node.h: Removed hasLocalName and replaced the single hasTagName
+ that takes a QualifiedName with three faster ones that take HTML, MathML,
+ and SVG qualified names instead. Also updated to use nullptr instead of 0.
</ins><span class="cx">
</span><del>- * html/HTMLImageElement.cpp:
- (WebCore::HTMLImageElement::parseAttribute):
</del><ins>+ * dom/PositionIterator.cpp: Added now-needed include.
+ * dom/Text.cpp: Ditto.
</ins><span class="cx">
</span><ins>+ * dom/make_names.pl:
+ (printHeaderHead): Renamed an argument for clarity and added a definitions
+ argument, which is where we insert the classes derived from QualifiedName.
+ (printCppHead): Renamed an argument for clarity.
+ (printTypeHelpers): Use hasTagName rather than hasLocalName, since the
+ former is now optimized to be the same as what the latter was.
+ (printNamesHeaderFile): Define a class derived from QualifiedName that can
+ be used at compile time to avoid having to check the namespace.
+ (printNamesCppFile): Use the new more-specific type as needed.
+
+ * editing/ApplyStyleCommand.cpp:
+ (WebCore::isLegacyAppleStyleSpan): Use hasTagName instead of hasLocalName,
+ and references instead of pointers.
+ (WebCore::ApplyStyleCommand::ApplyStyleCommand): Removed uneeded explicit
+ construction of a smart pointer.
+ (WebCore::ApplyStyleCommand::shouldApplyInlineStyleToRun): Updated to use
+ the enclosingElementWithTag function by its new name.
+
+ * editing/Editor.cpp:
+ (WebCore::Editor::selectionUnorderedListState): Updated to use the
+ enclosingElementWithTag function by its new name.
+ (WebCore::Editor::selectionOrderedListState): Ditto.
+
+ * editing/InsertListCommand.cpp:
+ (WebCore::InsertListCommand::doApply): Use a more-specific type for the list tag.
+ (WebCore::InsertListCommand::doApplyForSingleParagraph): Ditto.
+ * editing/InsertListCommand.h: Ditto.
+
+ * editing/MarkupAccumulator.cpp:
+ (WebCore::MarkupAccumulator::serializeNodesWithNamespaces): Added an explicit
+ cast to Element in the loop that is already guarded by an isElementNode check.
+ Also use a modern C++ for loop.
+
+ * editing/ReplaceSelectionCommand.cpp:
+ (WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
+ Updated to use the enclosingElementWithTag function by its new name.
+ (WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds): Ditto.
+ (WebCore::ReplaceSelectionCommand::positionAtEndOfInsertedContent): Ditto.
+
+ * editing/TypingCommand.cpp: Added now-needed includes.
+ * editing/VisibleUnits.cpp: Ditto.
+
+ * editing/htmlediting.cpp:
+ (WebCore::enclosingElementWithTag): Changed to return an Element instead of a Node,
+ since nodes other than elements do not have tags.
+ * editing/htmlediting.h: Ditto.
+
+ * editing/mac/EditorMac.mm:
+ (WebCore::Editor::adjustedSelectionRange): Updated to use the enclosingElementWithTag
+ function by its new name.
+ * editing/markup.cpp:
+ (WebCore::StyledMarkupAccumulator::appendText): Ditto.
+ (WebCore::StyledMarkupAccumulator::traverseNodesForSerialization): Ditto.
+ (WebCore::highestAncestorToWrapMarkup): Ditto.
+ (WebCore::createMarkupInternal): Ditto.
+ (WebCore::createContextualFragment): Ditto. Use hasTagName instead of hasLocalName,
+ since the former is now optimized to be the same as the latter was before.
+
+ * html/HTMLCollection.cpp:
+ (WebCore::isMatchingElement): Use hasTagName instead of hasLocalName,
+ since the former is now optimized to be the same as the latter was before.
+ (WebCore::nameShouldBeVisibleInDocumentAll): Ditto.
+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::ieForbidsInsertHTML): Ditto.
+ (WebCore::unicodeBidiAttributeForDirAuto): Ditto.
+ (WebCore::HTMLElement::parseBorderWidthAttribute): Ditto.
+ (WebCore::HTMLElement::setInnerHTML): Ditto.
+ (WebCore::shouldProhibitSetInnerOuterText): Ditto. Added this to share code between
+ setInnerText and setOuterText.
+ (WebCore::HTMLElement::setInnerText): Ditto.
+ (WebCore::HTMLElement::setOuterText): Ditto.
+ (WebCore::HTMLElement::rendererIsNeeded): Ditto.
+ (WebCore::HTMLElement::createElementRenderer): Ditto.
+
+ * html/HTMLElement.h: Added hasTagName, which hides the one inherited from Element
+ and takes the more-specific HTMLQualifiedName type. This means we don't need to check
+ the namespace at runtime because it's known at compile time. Also put the
+ implementation of Node::hasTagName for HTMLQualifiedName into this header.
+
</ins><span class="cx"> * html/HTMLObjectElement.cpp:
</span><del>- (WebCore::HTMLObjectElement::updateDocNamedItem):
</del><ins>+ (WebCore::isRecognizedTagName): Updated for change in return type of
+ HTMLNames::getHTMLTags.
</ins><span class="cx">
</span><del>-2013-05-09 Dean Jackson <dino@apple.com>
</del><ins>+ * html/HTMLSelectElement.cpp:
+ (WebCore::HTMLSelectElement::add): Use hasTagName inastead of hasLocalName.
+ (WebCore::HTMLSelectElement::value): Use isHTMLOptionElement instead of hasTagName.
+ Also use a new style for loop and emptyString() instead of "".
+ (WebCore::HTMLSelectElement::setValue): Ditto.
+ (WebCore::HTMLSelectElement::setLength): Ditto.
+ (WebCore::HTMLSelectElement::searchOptionsForValue): Ditto.
+ (WebCore::HTMLSelectElement::restoreFormControlState): Ditto.
</ins><span class="cx">
</span><del>- Don't trust character widths for internal OS X fonts in form controls
- https://bugs.webkit.org/show_bug.cgi?id=115883
- <rdar://problem/13817757>
</del><ins>+ * html/HTMLTableColElement.cpp:
+ (WebCore::HTMLTableColElement::additionalPresentationAttributeStyle): Use hasTagName
+ instead of hasLocalName.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * html/HTMLTableRowsCollection.cpp:
+ (WebCore::isInSection): Updated to use hasTagName and take a reference.
+ (WebCore::HTMLTableRowsCollection::rowAfter): Pass a reference.
</ins><span class="cx">
</span><del>- We ignore the character width for a bunch of fonts when predicting
- the width of a form control. Some of the internal fonts in OS X are
- not in the ignored list. Rather than add them, simply test for
- fonts whose family begins with a period character ".".
</del><ins>+ * html/parser/HTMLConstructionSite.cpp: Added now-needed include.
</ins><span class="cx">
</span><del>- * rendering/RenderTextControl.cpp:
- (WebCore::RenderTextControl::hasValidAvgCharWidth): Return false for
- any family that starts with "."
</del><ins>+ * html/parser/HTMLTreeBuilder.cpp:
+ (WebCore::createCaseMap): Updated to return a map rather than filling one in, and to
+ be flxible about the type of the table being used.
+ (WebCore::adjustSVGTagNameCase): Updated to use NeverDestroyed.
+ (WebCore::adjustAttributes): Added new helper so we can share more code. Updated
+ template argument names for clarity.
+ (WebCore::adjustSVGAttributes): Marked this inline, since it just turns around and
+ calls a single non-inline function.
+ (WebCore::adjustMathMLAttributes): Ditto.
+ (WebCore::addNamesWithPrefix): Changed to take argument by reference instead of pointer.
+ (WebCore::createForeignAttributesMap): Added. Factors out the map creation from the
+ function below.
+ (WebCore::adjustForeignAttributes): Updated for above changes.
+ (WebCore::HTMLTreeBuilder::processStartTagForInBody): Updated to pass reference.
+ (WebCore::HTMLTreeBuilder::processTokenInForeignContent): Ditto.
</ins><span class="cx">
</span><del>-2013-05-10 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ * inspector/InspectorStyleSheet.cpp: Added now-needed include.
</ins><span class="cx">
</span><del>- [GTK] Remove unnecessary GLIB_CHECK_VERSION #ifdefs
- https://bugs.webkit.org/show_bug.cgi?id=115904
</del><ins>+ * mathml/MathMLElement.h: Added hasTagName, which hides the one inherited from Element
+ and takes the more-specific MathMLQualifiedName type. This means we don't need to check
+ the namespace at runtime because it's known at compile time. Also put the
+ implementation of Node::hasTagName for MathMLQualifiedName into this header.
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ * mathml/MathMLInlineContainerElement.cpp:
+ (WebCore::MathMLInlineContainerElement::createElementRenderer): Use hasTagName.
</ins><span class="cx">
</span><del>- * bindings/gobject/WebKitDOMEventTarget.cpp:
- * platform/gtk/GtkVersioning.c:
- * platform/gtk/GtkVersioning.h:
</del><ins>+ * mathml/MathMLSelectElement.cpp:
+ (WebCore::MathMLSelectElement::attributeChanged): Use hasTagName.
+ (WebCore::MathMLSelectElement::getSelectedActionChildAndIndex): Ditto.
+ (WebCore::MathMLSelectElement::getSelectedActionChild): Ditto.
+ (WebCore::MathMLSelectElement::getSelectedSemanticsChild): Ditto.
+ (WebCore::MathMLSelectElement::updateSelectedChild): Ditto.
+ * mathml/MathMLTextElement.cpp:
+ (WebCore::MathMLTextElement::createElementRenderer): Ditto.
+ (WebCore::MathMLTextElement::childShouldCreateRenderer): Ditto.
</ins><span class="cx">
</span><del>-2013-05-10 Zoltan Arvai <zarvai@inf.u-szeged.hu>
</del><ins>+ * platform/mac/HTMLConverter.mm: Added now-needed include.
+ * rendering/RenderBlockFlow.cpp: Ditto.
</ins><span class="cx">
</span><del>- Unreviewed. Fix the ENABLE(SHARED_WORKERS) build after r149864.
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintFillLayerExtended): Use hasTagName.
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::rendererForRootBackground): Ditto.
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::isSimpleContainerCompositingLayer): Ditto.
</ins><span class="cx">
</span><del>- * workers/SharedWorkerThread.cpp: include "SecurityOrigin.h"
</del><ins>+ * rendering/RenderReplaced.cpp: Added now-needed include.
</ins><span class="cx">
</span><del>-2013-05-10 Claudio Saavedra <csaavedra@igalia.com>
</del><ins>+ * rendering/mathml/RenderMathMLScripts.cpp:
+ (WebCore::RenderMathMLScripts::RenderMathMLScripts): Use hasTagName.
+ * rendering/mathml/RenderMathMLUnderOver.cpp:
+ (WebCore::RenderMathMLUnderOver::RenderMathMLUnderOver): Ditto.
</ins><span class="cx">
</span><del>- Fix build after r149864.
</del><ins>+ * svg/SVGElement.h: Added hasTagName, which hides the one inherited from Element
+ and takes the more-specific SVGQualifiedName type. This means we don't need to check
+ the namespace at runtime because it's known at compile time. Also put the
+ implementation of Node::hasTagName for SVGQualifiedName into this header.
</ins><span class="cx">
</span><del>- Unreviewed build fix.
</del><ins>+ * svg/SVGFontFaceSrcElement.cpp:
+ (WebCore::SVGFontFaceSrcElement::childrenChanged): Use isSVGFontFaceElement instead
+ of calling hasTagName.
</ins><span class="cx">
</span><del>- * loader/ThreadableLoader.h: include <wtf/text/AtomicString.h>
- when building with RESOURCE_TIMING enabled.
</del><ins>+ * svg/SVGUseElement.cpp:
+ (WebCore::isDirectReference): Changed to take a reference and a more specific type.
+ (WebCore::SVGUseElement::toClipPath): Added a type cast.
+ (WebCore::SVGUseElement::rendererClipChild): Use more specific types so we don't
+ need a type cast.
</ins><span class="cx">
</span><del>-2013-05-10 Anders Carlsson <andersca@apple.com>
</del><ins>+ * xml/parser/XMLDocumentParser.cpp:
+ (WebCore::XMLDocumentParser::parseDocumentFragment): Added explicit calls to this
+ unusual call site that has a good reason to use hasLocalName instead of hasTagName.
</ins><span class="cx">
</span><del>- Fix build.
</del><ins>+2014-03-13 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- * bindings/js/ScriptController.cpp:
</del><ins>+ Try to fix iOS build.
</ins><span class="cx">
</span><del>-2013-05-10 Anders Carlsson <andersca@apple.com>
</del><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::performPostLayoutTasks):
</ins><span class="cx">
</span><del>- Remove ScriptInstance.h
- https://bugs.webkit.org/show_bug.cgi?id=115900
</del><ins>+2014-03-13 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><ins>+ Remove StyleResolver::State::m_parentNode
+ https://bugs.webkit.org/show_bug.cgi?id=130194
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Remove yet another abstraction now that we don't support V8.
</del><ins>+ This variable was the "parent" node where the style was being inherited from, not the actual parent.
+ The code would also recompute it even though the call sites generally know the rendering parent already.
</ins><span class="cx">
</span><del>- * GNUmakefile.list.am:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * bindings/js/ScriptController.h:
- (Bindings):
- (ScriptController):
- * bindings/js/ScriptControllerMac.mm:
- (WebCore::ScriptController::createScriptInstanceForWidget):
- * bindings/js/ScriptInstance.h: Removed.
- * html/HTMLPlugInElement.cpp:
- (WebCore::HTMLPlugInElement::getInstance):
- * html/HTMLPlugInElement.h:
- (Bindings):
- (HTMLPlugInElement):
- * platform/graphics/wince/MediaPlayerProxy.h:
- (WebMediaPlayerProxy):
- * rendering/RenderEmbeddedObject.cpp:
- * rendering/RenderSnapshottedPlugIn.cpp:
</del><ins>+ If we consistently pass parent style to StyleResolver::styleForElement we won't need the variable and
+ the associated code. We also get rid of one more client of NodeRenderingTraversal.
</ins><span class="cx">
</span><del>-2013-05-10 Anders Carlsson <andersca@apple.com>
</del><ins>+ * css/MediaQueryMatcher.cpp:
+ (WebCore::MediaQueryMatcher::prepareEvaluator):
+ * css/SVGCSSStyleSelector.cpp:
+ (WebCore::StyleResolver::applySVGProperty):
+ * css/StyleMedia.cpp:
+ (WebCore::StyleMedia::matchMedium):
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::State::clear):
+ (WebCore::StyleResolver::StyleResolver):
+ (WebCore::StyleResolver::State::initForStyleResolve):
+ (WebCore::StyleResolver::applyProperty):
+ * css/StyleResolver.h:
+ (WebCore::StyleResolver::document):
+ (WebCore::StyleResolver::State::State):
+ * dom/Element.cpp:
+ (WebCore::Element::customStyleForRenderer):
+
+ Add parentStyle parameter.
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r149866.
- http://trac.webkit.org/changeset/149866
- https://bugs.webkit.org/show_bug.cgi?id=115898
</del><ins>+ * dom/Element.h:
+ * dom/PseudoElement.cpp:
+ (WebCore::PseudoElement::customStyleForRenderer):
+ * dom/PseudoElement.h:
+ * html/HTMLOptGroupElement.cpp:
+ (WebCore::HTMLOptGroupElement::didAttachRenderers):
+ (WebCore::HTMLOptGroupElement::updateNonRenderStyle):
+ (WebCore::HTMLOptGroupElement::customStyleForRenderer):
+ * html/HTMLOptGroupElement.h:
+ * html/HTMLOptionElement.cpp:
+ (WebCore::HTMLOptionElement::didAttachRenderers):
+ (WebCore::HTMLOptionElement::updateNonRenderStyle):
+ (WebCore::HTMLOptionElement::customStyleForRenderer):
+ * html/HTMLOptionElement.h:
+ * html/HTMLTitleElement.cpp:
+ (WebCore::HTMLTitleElement::textWithDirection):
+ * html/shadow/TextControlInnerElements.cpp:
+ (WebCore::TextControlInnerElement::customStyleForRenderer):
+ (WebCore::TextControlInnerTextElement::customStyleForRenderer):
+ * html/shadow/TextControlInnerElements.h:
+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::computeStyleInRegion):
+ (WebCore::RenderNamedFlowFragment::computeChildrenStyleInRegion):
+ (WebCore::RenderNamedFlowFragment::setRegionObjectsRegionStyle):
+ * rendering/RenderNamedFlowFragment.h:
+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::styleForElement):
+
+ This used to be Element::styleForRenderer. It is now a standalone static.
</ins><span class="cx">
</span><del>- Broke tests
</del><ins>+ (WebCore::Style::elementInsideRegionNeedsRenderer):
+ (WebCore::Style::createRendererIfNeeded):
+ (WebCore::Style::resolveLocal):
+ * svg/SVGElement.cpp:
+ (WebCore::SVGElement::customStyleForRenderer):
+ * svg/SVGElement.h:
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::setDomain):
- (WebCore::Document::initSecurityContext):
- * page/SecurityOrigin.cpp:
- (WebCore::SecurityOrigin::SecurityOrigin):
- (WebCore::SecurityOrigin::isolatedCopy):
- (WebCore::SecurityOrigin::setDomainFromDOM):
- (WebCore::SecurityOrigin::grantUniversalAccess):
- * page/SecurityOrigin.h:
- (SecurityOrigin):
</del><ins>+2014-03-13 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>-2013-05-10 Andrei Bucur <abucur@adobe.com>
</del><ins>+ Subpixel rendering: Nested layers with subpixel accumulation paint to wrong position.
+ https://bugs.webkit.org/show_bug.cgi?id=130153
</ins><span class="cx">
</span><del>- Remove overflow dead code
- https://bugs.webkit.org/show_bug.cgi?id=115893
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><ins>+ Subpixels (fractional device pixels here) can accumulate through nested layers. Subpixels
+ need to be propagated through the layer tree so that painting coordinates match layout coordinates.
+
+ Compositing case: (absolute positioning, 2x display)
+ parent layer pos(0.3, 0.3) -> floored painting position (0, 0)
+ child layer pos(10.2, 10.2) -> layout offset from parent (10.2, 10.2),
+ but the actual painting offset is (10.5, 10.5) as the result of parent flooring.
+
+ Non-compositing case: (absolute positioning, 2x display)
+ parent layer pos(0.3, 0.3) -> GraphicsContext is translated to (0, 0).
+ child layer pos(10.2, 10.2) -> layout offset from parent (10.2, 10.2)
+ but the GraphicsContext's offset is (10.5, 10.5) as the result of the parent's translate.
+
+ In both cases, without the subpixel adjustment, we'd paint the current layer at (10.0, 10.0)
+ after flooring, while its painting position is actually (10.5, 10.5).
+ Subpixels do accumulate through nested layers.
+
+ Tests: compositing/hidpi-nested-compositing-layers-with-subpixel-accumulation.html
+ fast/layers/hidpi-nested-layers-with-subpixel-accumulation.html
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paintLayerByApplyingTransform):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ * rendering/RenderLayerBacking.h:
+ (WebCore::RenderLayerBacking::devicePixelFractionFromRenderer):
+
+2014-03-13 Radu Stavila <stavila@adobe.com>
+
+ The scrolledContentOffset method should handle the hasOverflowClip check
+ https://bugs.webkit.org/show_bug.cgi?id=130028
+
</ins><span class="cx"> Reviewed by Antti Koivisto.
</span><span class="cx">
</span><del>- The patch removes unused public overflow accesor functions from RenderOverflow and InlineFlowBox.
</del><ins>+ Before this patch, every call to RenderBox::scrolledContentOffset was guarded by the
+ hasOverflowClip check, because the scrolledContentOffset method would ASSERT(hasOverflowClip()).
+ This was simplified by moving the hasOverflowClip check inside the scrolledContentOffset method
+ and returning (0, 0) for elements that do not clip the overflow.
</ins><span class="cx">
</span><del>- Tests: no tests, code cleanup.
</del><ins>+ No new tests needed, just a refactor.
</ins><span class="cx">
</span><del>- * rendering/InlineFlowBox.h: Removed logicalLeftLayoutOverflow and logicalRightLayoutOverflow.
- * rendering/RenderOverflow.h: Removed setMinYLayoutOverflow, setMaxYLayoutOverflow,
- setMinXLayoutOverflow, setMaxXLayoutOverflow, setMinYVisualOverflow, setMaxYVisualOverflow,
- setMinXVisualOverflow and setMaxXVisualOverflow.
</del><ins>+ * editing/VisibleUnits.cpp:
+ (WebCore::absoluteLineDirectionPointToLocalPointInBlock):
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::paintObject):
+ (WebCore::RenderBlock::selectionGapRectsForRepaint):
+ (WebCore::RenderBlock::paintSelection):
+ (WebCore::RenderBlock::nodeAtPoint):
+ (WebCore::RenderBlock::offsetForContents):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::scrolledContentOffset):
+ (WebCore::RenderBox::offsetFromContainer):
+ * rendering/RenderInline.cpp:
+ (WebCore::RenderInline::offsetFromContainer):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::mapLayerClipRectsToFragmentationLayer):
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::decorationsClipRectForBoxInNamedFlowFragment):
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::mapLocalToContainer):
+ (WebCore::RenderObject::pushMappingToContainer):
+ (WebCore::RenderObject::mapAbsoluteToLocalPoint):
+ (WebCore::RenderObject::offsetFromContainer):
+ * rendering/RenderTextControl.cpp:
+ (WebCore::RenderTextControl::hitInnerTextElement):
</ins><span class="cx">
</span><del>-2013-05-10 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-13 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Begin making SecurityOrigin immutable
- https://bugs.webkit.org/show_bug.cgi?id=115898
</del><ins>+ AX: accessibility data table heuristics fail on this jQuery table
+ https://bugs.webkit.org/show_bug.cgi?id=129369
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- Replace SecurityOrigin::setDomainFromDOM and SecurityOrigin::grantUniversalAccess with
- member functions that return new SecurityOrigin objects.
</del><ins>+ Updated accessibility/table-detection.html
</ins><span class="cx">
</span><ins>+ If a table uses display style of table-row-group, the RenderTable gets disassociated from the HTMLTableElement.
+ We can find that element in a different way by asking for the parent of the first table section.
+
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::activeDescendant):
+ This method was accessing an object's element unsafely and this table change exposed the issue.
+ * accessibility/AccessibilityTable.cpp:
+ (WebCore::AccessibilityTable::tableElement):
+ (WebCore::AccessibilityTable::isDataTable):
+ * accessibility/AccessibilityTable.h:
+
+2014-03-13 Antti Koivisto <antti@apple.com>
+
+ Ensure that layout milestones complete in all cases
+ https://bugs.webkit.org/show_bug.cgi?id=130101
+
+ Reviewed by Darin Adler.
+
+ Milestones fail to complete in some testing scenarios.
+
</ins><span class="cx"> * dom/Document.cpp:
</span><del>- (WebCore::Document::setDomain):
- Update the security origin to one returned by copyWithDomainSetFromDOM.
-
- (WebCore::Document::initSecurityContext):
- Set the security origin to one returned by copyWithUniversalAccessGranted().
</del><ins>+ (WebCore::Document::setParsing):
+
+ Check if we need to fire layout milestones if parsing finishes without pending layout.
+ Parsing status affects whether the document is considered non-empty and that affects
+ layout milestones.
</ins><span class="cx">
</span><del>- * page/SecurityOrigin.cpp:
- (WebCore::SecurityOrigin::SecurityOrigin):
- Add a new constructor that takes all the member variables as parameters. This is a little unwieldy at the moment,
- but all the boolean parameters could be replaced by a bitmask of flags.
</del><ins>+ Remove explicit layout scheduling here, layout timer will be active already if there
+ is a layout pending
</ins><span class="cx">
</span><del>- (WebCore::SecurityOrigin::isolatedCopy):
- Call the new constructor.
</del><ins>+ * page/FrameView.cpp:
+ (WebCore::FrameView::performPostLayoutTasks):
+ (WebCore::FrameView::firePaintRelatedMilestonesIfNeeded):
+
+ Renamed for consistency
</ins><span class="cx">
</span><del>- (WebCore::SecurityOrigin::copyWithDomainSetFromDOM):
- Return a new security origin with m_domainWasSetInDOM set to true and the domain updated.
</del><ins>+ (WebCore::FrameView::fireLayoutRelatedMilestonesIfNeeded):
+
+ Factor layout milestone firing into a function.
</ins><span class="cx">
</span><del>- (WebCore::SecurityOrigin::copyWithUniversalAccessGranted):
- Return a new security origin with m_universalAccess set to true.
</del><ins>+ * page/FrameView.h:
</ins><span class="cx">
</span><del>-2013-05-10 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-12 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- Remove ScriptController::updateSecurityOrigin
- https://bugs.webkit.org/show_bug.cgi?id=115895
</del><ins>+ Web Replay: add infrastructure for memoizing nondeterministic DOM APIs
+ https://bugs.webkit.org/show_bug.cgi?id=129445
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- ScriptController::updateSecurityOrigin is just dead code now that the V8 bindings are gone.
</del><ins>+ Add two pieces of infrastructure to support memoization of selected DOM APIs.
</ins><span class="cx">
</span><del>- * bindings/js/ScriptController.cpp:
- * bindings/js/ScriptController.h:
- * dom/Document.cpp:
- (WebCore::Document::setIsViewSource):
- (WebCore::Document::setDomain):
- * dom/Document.h:
- (Document):
- * dom/SecurityContext.cpp:
- (WebCore::SecurityContext::enforceSandboxFlags):
- * dom/SecurityContext.h:
- (SecurityContext):
</del><ins>+ The first piece is MemoizedDOMResult, a templated replay input class that knows
+ how to serialize a DOM API's return value, ctype, and exception code.
</ins><span class="cx">
</span><del>-2013-05-10 Anders Carlsson <andersca@apple.com>
</del><ins>+ The second piece is the addition of a new IDL attribute called `Nondeterministic`.
+ When placed on a DOM function or attribute, the code generator will emit code
+ to save the DOM API's return value or use a memoized return value instead,
+ depending on the current replay state. This new emitted code path is behind
+ a feature flag.
</ins><span class="cx">
</span><del>- Stop including SecurityOrigin.h where unnecessary
- https://bugs.webkit.org/show_bug.cgi?id=115897
</del><ins>+ No new tests, as no new inputs are addressed by this change. Per-DOM API replay
+ regression tests will be added when those APIs are marked as nondeterministic.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/scripts/CodeGeneratorJS.pm: Add support of the `Nondeterministic` attribute.
+ (GenerateImplementation): Handle cases for attributes and getters with exceptions.
+ (GenerateImplementationFunctionCall): Handle function calls with and without exceptions.
+ (GetNativeTypeForMemoization): Added. Converts DOMString to WTF::String.
+ * bindings/scripts/IDLAttributes.txt: Add new `Nondeterministic` attribute.
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::jsTestEventTargetPrototypeFunctionItem):
+ (WebCore::jsTestEventTargetPrototypeFunctionDispatchEvent):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod2):
+ (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::jsTestObjAttrWithGetterException):
+ (WebCore::jsTestObjStringAttrWithGetterException):
+ (WebCore::jsTestObjWithScriptStateAttributeRaises):
+ (WebCore::jsTestObjWithScriptExecutionContextAttributeRaises):
+ (WebCore::jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises):
+ (WebCore::jsTestObjNullableStringValue):
+ (WebCore::jsTestObjPrototypeFunctionByteMethod):
+ (WebCore::jsTestObjPrototypeFunctionByteMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionOctetMethod):
+ (WebCore::jsTestObjPrototypeFunctionOctetMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionLongMethod):
+ (WebCore::jsTestObjPrototypeFunctionLongMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionObjMethod):
+ (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodReturningSequence):
+ (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateObj):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptStateObjException):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateObjException):
+ (WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateWithSpaces):
+ (WebCore::jsTestObjPrototypeFunctionConditionalMethod1):
+ (WebCore::jsTestObjConstructorFunctionClassMethodWithOptional):
+ (WebCore::jsTestObjPrototypeFunctionStringArrayFunction):
+ (WebCore::jsTestObjPrototypeFunctionDomStringListFunction):
+ (WebCore::jsTestObjPrototypeFunctionGetSVGDocument):
+ (WebCore::jsTestObjPrototypeFunctionMutablePointFunction):
+ (WebCore::jsTestObjPrototypeFunctionImmutablePointFunction):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunction):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunctionWithSequence):
+ (WebCore::jsTestObjPrototypeFunctionStrictFunctionWithArray):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::jsTestTypedefsAttrWithGetterException):
+ (WebCore::jsTestTypedefsStringAttrWithGetterException):
+ (WebCore::jsTestTypedefsPrototypeFunctionMethodWithSequenceArg):
+ (WebCore::jsTestTypedefsPrototypeFunctionImmutablePointFunction):
+ (WebCore::jsTestTypedefsPrototypeFunctionStringArrayFunction):
+ (WebCore::jsTestTypedefsPrototypeFunctionStringArrayFunction2):
+ (WebCore::jsTestTypedefsPrototypeFunctionCallWithSequenceThatRequiresInclude):
</ins><span class="cx">
</span><del>- Move rarely called functions out of line so headers don't have to include SecurityOrigin.h
</del><ins>+ * replay/AllReplayInputs.h:
+ * replay/MemoizedDOMResult.cpp: Added.
+ (WebCore::MemoizedDOMResultBase::type):
+ (WebCore::MemoizedDOMResultBase::createFromEncodedResult):
+ (InputTraits<MemoizedDOMResultBase>::type):
+ (InputTraits<MemoizedDOMResultBase>::encode):
+ (InputTraits<MemoizedDOMResultBase>::decode):
</ins><span class="cx">
</span><del>- * Modules/indexeddb/IDBFactoryBackendImpl.h:
- * Modules/webdatabase/DatabaseBackendBase.cpp:
- (WebCore::DatabaseBackendBase::databaseDebugName):
- * Modules/webdatabase/DatabaseBackendBase.h:
- (DatabaseBackendBase):
- * Modules/webdatabase/DatabaseSync.h:
- * bindings/js/JSDOMWindowCustom.h:
- * html/parser/XSSAuditor.cpp:
- * loader/ThreadableLoader.cpp:
- (WebCore::ThreadableLoaderOptions::ThreadableLoaderOptions):
- (WebCore::ThreadableLoaderOptions::~ThreadableLoaderOptions):
- (WebCore::ThreadableLoader::create):
- * loader/ThreadableLoader.h:
- (ThreadableLoaderOptions):
- * loader/WorkerThreadableLoader.cpp:
- * workers/DedicatedWorkerContext.cpp:
- * workers/DedicatedWorkerThread.cpp:
- * workers/SharedWorkerContext.cpp:
- * workers/WorkerThread.cpp:
- * workers/WorkerThread.h:
</del><ins>+ * replay/MemoizedDOMResult.h: Added. Every specialization of MemoizedDOMResult<T>
+ stores a binding name, ctype, result value of type T, and optional exception code.
+ The ctype-specific code uses the CTypeTraits struct to abstract over enum names and
+ compiler types. The actual encode/decode methods just use methods from EncodingTraits<T>.
</ins><span class="cx">
</span><del>-2013-05-10 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ (WebCore::MemoizedDOMResultBase::MemoizedDOMResultBase):
+ (WebCore::MemoizedDOMResultBase::~MemoizedDOMResultBase):
+ (WebCore::MemoizedDOMResultBase::attribute):
+ (WebCore::MemoizedDOMResultBase::ctype):
+ (WebCore::MemoizedDOMResultBase::exceptionCode):
+ (WebCore::CTypeTraits::decode):
+ (WebCore::MemoizedDOMResultBase::convertTo):
+ (JSC::InputTraits<MemoizedDOMResultBase>::queue):
+ * replay/ReplayInputTypes.cpp: See below.
+ (WebCore::ReplayInputTypes::ReplayInputTypes):
+ * replay/ReplayInputTypes.h: See below.
+ * replay/SerializationMethods.cpp: We need to special-case the encoding
+ and decoding of MemoizedDOMResult inputs because the input is not part of
+ the generated per-framework replay inputs enum.
+ (JSC::EncodingTraits<NondeterministicInputBase>::encodeValue):
+ (JSC::EncodingTraits<NondeterministicInputBase>::decodeValue):
</ins><span class="cx">
</span><del>- Unreviewed. Fix GTK+ build after r149839.
</del><ins>+ * replay/WebInputs.json: Add the EncodedCType enum as an external enum type,
+ so that we can use a generated EncodingTraits specialization to encode the enum.
</ins><span class="cx">
</span><del>- * platform/gtk/RenderThemeGtk3.cpp:
- (WebCore::gtkStyleChangedCallback):
</del><ins>+2014-03-11 Jae Hyun Park <jaepark@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-09 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Make HTMLCanvasElement::is3D private
+ https://bugs.webkit.org/show_bug.cgi?id=130117
</ins><span class="cx">
</span><del>- AX: VoiceOver is no longer seeing items in poorly formed tables
- https://bugs.webkit.org/show_bug.cgi?id=115837
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ HTMLCanvasElement::is3D is not used anywhere except HTMLCanvasElement.
+ So, make HTMLCanvasElement::is3D a private method. Also, make more use
+ of is3D method.
</ins><span class="cx">
</span><del>- In case the author didn't include the rows of a table as the
- direct children, a table needs to dive down its descendant chain
- until the rows are found.
</del><ins>+ * html/HTMLCanvasElement.cpp:
+ (WebCore::HTMLCanvasElement::reset):
+ (WebCore::HTMLCanvasElement::getImageData):
+ * html/HTMLCanvasElement.h:
</ins><span class="cx">
</span><del>- I also took the opportunity to clean up a bit around what the different
- meanings of table are in the accessibility classes.
</del><ins>+2014-03-12 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- Test: accessibility/poorly-formed-aria-table.html
</del><ins>+ Web Inspector: OS X View Indication
+ https://bugs.webkit.org/show_bug.cgi?id=130119
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityARIAGrid.cpp:
- (WebCore::AccessibilityARIAGrid::addRowDescendant):
- (WebCore::AccessibilityARIAGrid::addChildren):
- * accessibility/AccessibilityARIAGrid.h:
- (AccessibilityARIAGrid):
- * accessibility/AccessibilityARIAGridRow.cpp:
- (WebCore::AccessibilityARIAGridRow::parentTable):
- (WebCore):
- * accessibility/AccessibilityARIAGridRow.h:
- (AccessibilityARIAGridRow):
- * accessibility/AccessibilityObject.h:
- (WebCore::AccessibilityObject::isTable):
- * accessibility/AccessibilityTable.h:
- (AccessibilityTable):
- (WebCore::AccessibilityTable::isTable):
- (WebCore::toAccessibilityTable):
- * accessibility/AccessibilityTableRow.cpp:
- (WebCore::AccessibilityTableRow::parentTable):
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-05-09 Yael Aharon <yael.aharon@intel.com>
</del><ins>+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::setIndicating):
+ OS X will handles this in the InspectorOverlay. iOS does not use the
+ overlay, so it handles this in the client (already implemented).
</ins><span class="cx">
</span><del>- REGRESSION: Disabled multiline select element now responds to (certain) clicks
- https://bugs.webkit.org/show_bug.cgi?id=115710
</del><ins>+ * inspector/InspectorOverlay.h:
+ Remove unused m_size, and add a boolean for the indicating state.
</ins><span class="cx">
</span><del>- Reviewed by Kent Tamura.
</del><ins>+ * inspector/InspectorOverlay.cpp:
+ (WebCore::InspectorOverlay::InspectorOverlay):
+ (WebCore::InspectorOverlay::shouldShowOverlay):
+ Helper for determining if we should show the overlay or not.
</ins><span class="cx">
</span><del>- After http://trac.webkit.org/changeset/140286, select elements can scroll whether they
- are disabled or not. While they scroll, they also change the selected item.
- This patch allows the select element to scroll, but does not change the selection
- if the select element is disabled.
</del><ins>+ (WebCore::InspectorOverlay::setIndicating):
+ Set the state and trigger an overlay update.
</ins><span class="cx">
</span><del>- Test: fast/forms/select/listbox-disabled-scroll-no-onchange.html
- Test: fast/forms/select/listbox-disabled-no-autoscroll.html
</del><ins>+ (WebCore::InspectorOverlay::paint):
+ (WebCore::InspectorOverlay::update):
+ (WebCore::InspectorOverlay::drawGutter):
+ (WebCore::InspectorOverlay::evaluateInOverlay):
+ Simplification of existing methods.
</ins><span class="cx">
</span><del>- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::autoscroll):
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::stopAutoscroll):
</del><ins>+ * inspector/InspectorOverlayPage.css:
+ (.indicate):
+ Give the page a blue tint, matching the node highlight color.
</ins><span class="cx">
</span><del>-2013-05-09 Anders Carlsson <andersca@apple.com>
</del><ins>+ * inspector/InspectorOverlayPage.js:
+ (showPageIndication):
+ (hidePageIndication):
+ Add / remove a body style class.
</ins><span class="cx">
</span><del>- Clean up SecurityOrigin::databaseIdentifier
- https://bugs.webkit.org/show_bug.cgi?id=115882
</del><ins>+ (drawNodeHighlight):
+ Remove unused parameters.
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+2014-03-12 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- Remove m_encodedHost and just call encodeHost from databaseIdentifier().
- Also, use a StringBuilder when constructing the database identifier to avoid allocating
- temporary String objects over and over.
</del><ins>+ Web Inspector: Disable REMOTE_INSPECTOR in earlier OS X releases
+ https://bugs.webkit.org/show_bug.cgi?id=130118
</ins><span class="cx">
</span><del>- * page/SecurityOrigin.cpp:
- (WebCore::SecurityOrigin::SecurityOrigin):
- (WebCore):
- (WebCore::SecurityOrigin::createFromDatabaseIdentifier):
- (WebCore::SecurityOrigin::databaseIdentifier):
- * page/SecurityOrigin.h:
- (SecurityOrigin):
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-05-09 Anders Carlsson <andersca@apple.com>
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
</ins><span class="cx">
</span><del>- Remove m_securityOrigin from XMLHttpRequest
- https://bugs.webkit.org/show_bug.cgi?id=115881
</del><ins>+2014-03-12 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Build fix for ENABLE(IMAGE_CONTROLS) after 165479
</ins><span class="cx">
</span><del>- The security origin passed to XMLHttpRequest::create was always null, so just get rid of the member variable completely.
</del><ins>+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::servicesRolloverButtonCell):
+ (WebCore::RenderThemeMac::paintImageControlsButton):
+ (WebCore::RenderThemeMac::imageControlsButtonSize):
+ Don't try to use the AppKit methods that are only available on 64-bit.
</ins><span class="cx">
</span><del>- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::create):
- (WebCore::XMLHttpRequest::XMLHttpRequest):
- (WebCore::XMLHttpRequest::securityOrigin):
- * xml/XMLHttpRequest.h:
- (XMLHttpRequest):
</del><ins>+2014-03-12 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>-2013-05-09 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ [WebVTT] HTML5 "space" cahracters around "-->" are not required
+ https://bugs.webkit.org/show_bug.cgi?id=117421
</ins><span class="cx">
</span><del>- [NoInterfaceObject] extended attribute should be removed for several interfaces
- https://bugs.webkit.org/show_bug.cgi?id=115852
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Merged from Blink (patch by caitpotter88@gmail.com):
+ https://chromium.googlesource.com/chromium/blink/+/4ef469cd627a13696b88e285ae28a60e38f9c286
+ http://crbug.com/242158
</ins><span class="cx">
</span><del>- Remove [NoInterfaceObject] extended attribute from the following Web IDL
- interfaces: SecurityPolicy, History, Location, Navigator, Performance,
- PerformanceEntry, PerformanceMark, PerformanceMeasure, PerformanceNavigation,
- PerformanceResourceTiming, PerformanceTiming and Screen.
</del><ins>+ New tests: media/track/track-webvtt-tc029-timings-whitespace.html
</ins><span class="cx">
</span><del>- These interfaces should not have the [NoInterfaceObject] extended attribute
- according to their respective specifications:
- - http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-history-interface
- - http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-location-interface
- - https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#securitypolicy
- - http://www.w3.org/html/wg/drafts/html/master/webappapis.html#the-navigator-object
- - http://www.w3.org/TR/navigation-timing/#performance
- - https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PerformanceTimeline/Overview.html#sec-PerformanceEntry-interface
- - http://www.w3.org/TR/navigation-timing/#performancenavigation
- - http://www.w3.org/TR/navigation-timing/#performancetiming
- - http://www.w3.org/TR/user-timing/#performancemark
- - http://www.w3.org/TR/user-timing/#performancemeasure
- - http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetiming
- - http://dev.w3.org/csswg/cssom-view/#the-screen-interface
</del><ins>+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTParser::collectTimingsAndSettings): Make whitespace around cue-timings optional.
</ins><span class="cx">
</span><del>- The new behavior is consistent with the specifications, Firefox and soon Blink.
</del><ins>+2014-03-12 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- No new tests, already covered by existing tests.
</del><ins>+ Unreviewed, rolling out r165482.
+ https://bugs.webkit.org/show_bug.cgi?id=130157
</ins><span class="cx">
</span><del>- * page/DOMSecurityPolicy.idl:
- * page/History.idl:
- * page/Location.idl:
- * page/Navigator.idl:
- * page/Performance.idl:
- * page/PerformanceEntry.idl:
- * page/PerformanceMark.idl:
- * page/PerformanceMeasure.idl:
- * page/PerformanceNavigation.idl:
- * page/PerformanceResourceTiming.idl:
- * page/PerformanceTiming.idl:
- * page/Screen.idl:
</del><ins>+ Broke the windows build; "error C2466: cannot allocate an
+ array of constant size 0" (Requested by jernoble on #webkit).
</ins><span class="cx">
</span><del>-2013-05-09 Robert Hogan <robert@webkit.org>
</del><ins>+ Reverted changeset:
</ins><span class="cx">
</span><del>- REGRESSION (Safari 3-Safari 4): Replaced element with percent height in table has incorrect height
- https://bugs.webkit.org/show_bug.cgi?id=26394
</del><ins>+ "Reduce memory use for static property maps"
+ https://bugs.webkit.org/show_bug.cgi?id=129986
+ http://trac.webkit.org/changeset/165482
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+2014-03-12 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- Text controls or any object that has scrollable content should not flex inside a table cell.
- This makes our behaviour the same as IE, FF and Opera (Presto).
</del><ins>+ Web Inspector receives spurious setScriptEnabled instrumentation calls
+ https://bugs.webkit.org/show_bug.cgi?id=130147
</ins><span class="cx">
</span><del>- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::layoutRows):
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-05-09 Anders Carlsson <andersca@apple.com>
</del><ins>+ When page settings change, inspector instrumentation should only fire if
+ the scriptsEnabled setting actually changes from the previous setting. But
+ due to an unnecessary PLATFORM(IOS) guard, the inspector was being notified
+ on every settings update even if nothing changed.
</ins><span class="cx">
</span><del>- Build fix.
</del><ins>+ This manifested as lots of Page.scriptsEnabled messages being sent to
+ the inspector frontend as the Inspector window is dragged.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+ * page/Settings.cpp:
+ (WebCore::Settings::setScriptEnabled): Remove PLATFORM(IOS) from early return.
</ins><span class="cx">
</span><del>-2013-05-09 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-12 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Add a StorageStrategy hook for creating transient local storage namespaces
- https://bugs.webkit.org/show_bug.cgi?id=115870
</del><ins>+ Have the scrolling tree track the viewport size, not the viewport rect
+ https://bugs.webkit.org/show_bug.cgi?id=130141
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><ins>+ The scrolling tree only needs to know the size of the viewport, not its
+ origin, since the origin is deduced from the updated scroll position.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- Export symbol needed by WebKit2.
-
- * dom/Document.cpp:
- (WebCore::Document::topOrigin):
- * dom/Document.h:
- * dom/ScriptExecutionContext.h:
- * workers/WorkerContext.h:
- Remove const qualifier from topOrigin() to avoid ugly const_casts when assigning into a RefPtr<SecurityOrigin> variable.
</del><ins>+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::frameViewLayoutUpdated):
+ * page/scrolling/ScrollingStateScrollingNode.cpp:
+ (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode):
+ (WebCore::ScrollingStateScrollingNode::setViewportSize):
+ (WebCore::ScrollingStateScrollingNode::dumpProperties):
+ * page/scrolling/ScrollingStateScrollingNode.h:
+ * page/scrolling/ScrollingTreeScrollingNode.cpp:
+ (WebCore::ScrollingTreeScrollingNode::updateBeforeChildren):
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ (WebCore::ScrollingTreeScrollingNode::viewportSize):
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeScrollingNodeIOS::setScrollLayerPosition):
+ (WebCore::ScrollingTreeScrollingNodeIOS::maximumScrollPosition):
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::updateAfterChildren):
+ (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
+ (WebCore::ScrollingTreeScrollingNodeMac::maximumScrollPosition):
+ (WebCore::ScrollingTreeScrollingNodeMac::logExposedUnfilledArea):
</ins><span class="cx">
</span><del>- * page/PageGroup.cpp:
- (WebCore::PageGroup::transientLocalStorage):
- Do a single hash lookup instead of three and use the SecurityOrigin itself as the hash key instead of a string representation of it.
</del><ins>+2014-03-12 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * page/PageGroup.h:
- Update HashMap declaration.
</del><ins>+ Spelling is hard
+ https://bugs.webkit.org/show_bug.cgi?id=130146
</ins><span class="cx">
</span><del>- * storage/StorageNamespace.cpp:
- (WebCore::StorageNamespace::transientLocalStorageNamespace):
- Add new implementation that will optionally call out to the storage strategy.
</del><ins>+ Reviewed by Beth Dakin.
</ins><span class="cx">
</span><del>- * storage/StorageNamespaceImpl.cpp:
- (WebCore::StorageNamespaceImpl::transientLocalStorageNamespace):
- Move the default implementation here from PageGroup.
</del><ins>+ Fix spelling (constained -> constrained).
+
+ * rendering/RenderLayerModelObject.cpp:
+ (WebCore::RenderLayerModelObject::styleDidChange):
+
+2014-03-12 Simon Fraser <simon.fraser@apple.com>
+
+ Change scrollOffsetForFixedPosition() to do LayoutUnit math
+ https://bugs.webkit.org/show_bug.cgi?id=129981
+
+ Reviewed by Beth Dakin.
+
+ FrameView::scrollOffsetForFixedPosition() returned an IntSize,
+ but to allow subpixel scroll offsets, we need it to return a LayoutSize.
</ins><span class="cx">
</span><del>- * storage/StorageStrategy.cpp:
- (WebCore::StorageStrategy::transientLocalStorageNamespace):
- Call the default implementation.
</del><ins>+ Fix code that calls this to use more LayoutUnit math.
+
+ This progresses fixed background images on zoom, which cam now be subpixel
+ positioned.
</ins><span class="cx">
</span><del>-2013-05-09 Enrica Casucci <enrica@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::viewportConstrainedVisibleContentRect):
+ (WebCore::FrameView::scrollOffsetForFixedPosition):
+ * page/FrameView.h:
+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll):
+ * platform/ScrollableArea.cpp:
+ (WebCore::ScrollableArea::constrainScrollPositionForOverhang):
+ * platform/ScrollableArea.h:
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateScrollLayerPosition):
</ins><span class="cx">
</span><del>- A change in system environment should force all CSS properties to be recomputed.
- https://bugs.webkit.org/show_bug.cgi?id=115872
- <rdar://problem/13781171>
</del><ins>+2014-03-12 Gavin Barraclough <barraclough@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reduce memory use for static property maps
+ https://bugs.webkit.org/show_bug.cgi?id=129986
</ins><span class="cx">
</span><del>- When a change in the global environment occurs, for example system colors,
- we need to make sure all the CSS properties are recomputed and not fetched
- from the cache. For this reason we invalidate the properties cache.
- I've also renamed the function to give it a more meaningful name.
-
- * page/Page.cpp:
- (WebCore::Page::updateStyleForAllPagesAfterGlobalChangeInEnvironment):
- * page/Page.h:
</del><ins>+ Reviewed by Andreas Kling.
+
+ Static property tables are currently duplicated on first use from read-only memory into dirty memory
+ in every process, and since the entries are large (48 bytes) and the tables can be unusually sparse
+ (we use a custom hash table without a rehash) a lot of memory may be wasted.
+
+ * bindings/js/JSDOMBinding.h:
+ (WebCore::getStaticValueSlotEntryWithoutCaching):
+ (WebCore::getStaticValueSlotEntryWithoutCaching<JSDOMWrapper>):
+ - HashEntry -> HashTableValue.
+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::getOwnPropertySlot):
+ - HashEntry -> HashTableValue.
+ * bindings/js/JSHistoryCustom.cpp:
+ (WebCore::JSHistory::getOwnPropertySlotDelegate):
+ - HashEntry -> HashTableValue.
+ * bindings/js/JSLocationCustom.cpp:
+ (WebCore::JSLocation::getOwnPropertySlotDelegate):
+ (WebCore::JSLocation::putDelegate):
+ - HashEntry -> HashTableValue.
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateGetOwnPropertySlotBody):
+ - HashEntry -> HashTableValue.
+ (GenerateHashTable):
+ - emit the hash table index into the derived source (we were calculating this already to ensure chaining does not get too deep).
+
+2014-03-12 Tim Horton <timothy_horton@apple.com>
+
+ Hook up image controls for WebKit1
+ https://bugs.webkit.org/show_bug.cgi?id=130062
+ <rdar://problem/15964809>
+
+ Reviewed by Brady Eidson.
+
+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * css/CSSPrimitiveValueMappings.h:
+ Fix some header ordering.
+
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
+ Handle mapping ImageControlsButtonPart to the -webkit-appearance value CSSValueImageControlsButton.
+
+ * css/CSSValueKeywords.in:
+ * platform/ThemeTypes.h:
+ Add a -webkit-appearance value image-controls-button, and an associated control part.
+
+ * dom/Node.h:
+ (WebCore::Node::isImageControlsButtonElement): Added.
+
+ * html/shadow/mac/ImageControlsButtonElementMac.cpp: Added.
+ (WebCore::RenderImageControlsButton::RenderImageControlsButton):
+ (WebCore::RenderImageControlsButton::~RenderImageControlsButton):
+ (WebCore::RenderImageControlsButton::updateLogicalWidth):
+ (WebCore::RenderImageControlsButton::computeLogicalHeight):
+ (WebCore::ImageControlsButtonElementMac::ImageControlsButtonElementMac):
+ (WebCore::ImageControlsButtonElementMac::~ImageControlsButtonElementMac):
+ (WebCore::ImageControlsButtonElementMac::maybeCreate):
+ (WebCore::ImageControlsButtonElementMac::defaultEventHandler):
+ (WebCore::ImageControlsButtonElementMac::createElementRenderer):
+ * html/shadow/mac/ImageControlsButtonElementMac.h: Added.
+ Add a new element/renderer pair for the single button that comprises image controls on Mac.
+ RenderImageControlsButton gets its size from the theme's imageControlsButtonSize.
+
+ * html/shadow/mac/ImageControlsRootElementMac.cpp:
+ (WebCore::RenderImageControls::RenderImageControls):
+ (WebCore::RenderImageControls::~RenderImageControls):
+ (WebCore::RenderImageControls::updateLogicalWidth):
+ (WebCore::RenderImageControls::computeLogicalHeight):
+ (WebCore::ImageControlsRootElement::maybeCreate):
+ (WebCore::ImageControlsRootElementMac::ImageControlsRootElementMac):
+ (WebCore::ImageControlsRootElementMac::~ImageControlsRootElementMac):
+ (WebCore::ImageControlsRootElementMac::createElementRenderer):
+ * html/shadow/mac/ImageControlsRootElementMac.h:
+ Add a custom renderer for the root image controls element on Mac, which inherits
+ its size from the <img> that it is shadowing.
+ Add a ImageControlsButtonElementMac as the sole child of the root element.
+
+ * html/shadow/mac/imageControlsMac.css:
+ (.x-webkit-image-controls):
+ (.x-webkit-image-controls-button):
+ (.x-webkit-image-controls:hover .x-webkit-image-controls-button):
+ The button should become opaque whenever *any* part of the image is hovered,
+ not just the button itself. Also, use the new image-controls-button -webkit-appearance
+ value to get the appropriate appearance from the theme.
+
+ * page/ContextMenuContext.cpp:
+ (WebCore::ContextMenuContext::ContextMenuContext):
+ * page/ContextMenuContext.h:
+ (WebCore::ContextMenuContext::setControlledImage):
+ (WebCore::ContextMenuContext::controlledImage):
+ Store an image on the ContextMenuContext instead of just whether we hit an image.
+
+ * page/ContextMenuController.cpp:
+ (WebCore::ContextMenuController::handleContextMenuEvent):
+ (WebCore::ContextMenuController::showContextMenu):
+ (WebCore::imageFromImageElementNode):
+ (WebCore::ContextMenuController::maybeCreateContextMenu):
+ (WebCore::ContextMenuController::populate):
+ Keep track of the hit image in the ContextMenuContext.
+
+ (WebCore::ContextMenuController::replaceControlledImage):
+ Replace the hit image with a new one.
+
+ * page/ContextMenuController.h:
+
+ * rendering/RenderReplaced.h:
+ Fix a double-space typo.
+
</ins><span class="cx"> * rendering/RenderTheme.cpp:
</span><del>- (WebCore::RenderTheme::platformColorsDidChange):
</del><ins>+ (WebCore::RenderTheme::adjustStyle):
+ (WebCore::RenderTheme::paint):
+ (WebCore::RenderTheme::paintBorderOnly):
+ (WebCore::RenderTheme::paintDecorations):
+ Handle ImageControlsButtonPart in RenderTheme's switches.
</ins><span class="cx">
</span><del>-2013-05-09 Antti Koivisto <antti@apple.com>
</del><ins>+ * rendering/RenderTheme.h:
+ (WebCore::RenderTheme::imageControlsButtonSize):
+ (WebCore::RenderTheme::paintImageControlsButton):
+ * rendering/RenderThemeMac.h:
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::servicesRolloverButtonCell):
+ (WebCore::RenderThemeMac::paintImageControlsButton):
+ (WebCore::RenderThemeMac::imageControlsButtonSize):
+ Paint the image controls button.
</ins><span class="cx">
</span><del>- Reoptimize free-standing :focus/link/visited/-webkit-any-link selectors.
- <http://webkit.org/b/115590>
</del><ins>+ * editing/ios/EditorIOS.mm:
+ (WebCore::Editor::WebContentReader::readImage):
+ (WebCore::Editor::WebContentReader::readURL):
+ * editing/mac/EditorMac.mm:
+ (WebCore::Editor::WebContentReader::readImage):
+ * platform/URL.cpp:
+ (WebCore::URL::fakeURLWithRelativePart):
+ * platform/URL.h:
+ Factor out code to create a "fake" URL (with a UUID "hostname" and the
+ webkit-fake-url protocol), and make use of it where we construct such URLs.
</ins><span class="cx">
</span><ins>+2014-03-12 Jer Noble <jer.noble@apple.com>
+
+ [Mac] Crash when running media/fallback.html test in MediaPlayerPrivateAVFoundation::scheduleMainThreadNotification()
+ https://bugs.webkit.org/show_bug.cgi?id=130136
+
+ Reviewed by Eric Carlson.
+
+ MediaPlayerPrivateAVFoundation is trying to lock its m_queueMutex from an async thread after
+ while being destroyed in the main thread. To resolve this race condition, redispatch from
+ the async thread to the main thread, and use a WeakPtr to determine whether the object has
+ been destroyed or not.
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::checkPlayability):
+
+2014-03-12 Brent Fulgham <bfulgham@apple.com>
+
+ [Win] Remove use of QTSDK
+ https://bugs.webkit.org/show_bug.cgi?id=130049
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Common pseudo selectors should go into their respective rule buckets instead of ending up in the universal one.
</del><ins>+ Media testing already covers this functionality.
</ins><span class="cx">
</span><del>- * css/RuleSet.cpp:
- (WebCore::RuleSet::findBestRuleSetAndAdd):
-
- Check tag selectors with * local name (usually created for namespace) for a suitable narrower bucket too.
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj: Remove QuickTime files.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
+ * platform/graphics/MediaPlayer.h: Remove QuickTime and Chromium
+ media references.
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp: Removed.
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h: Removed.
+ * platform/graphics/win/QTCFDictionary.cpp: Removed.
+ * platform/graphics/win/QTCFDictionary.h: Removed.
+ * platform/graphics/win/QTDecompressionSession.cpp: Removed.
+ * platform/graphics/win/QTDecompressionSession.h: Removed.
+ * platform/graphics/win/QTMovie.cpp: Removed.
+ * platform/graphics/win/QTMovie.h: Removed.
+ * platform/graphics/win/QTMovieGWorld.cpp: Removed.
+ * platform/graphics/win/QTMovieGWorld.h: Removed.
+ * platform/graphics/win/QTMovieTask.cpp: Removed.
+ * platform/graphics/win/QTMovieTask.h: Removed.
+ * platform/graphics/win/QTMovieVisualContext.cpp: Removed.
+ * platform/graphics/win/QTMovieVisualContext.h: Removed.
+ * platform/graphics/win/QTMovieWinTimer.cpp: Removed.
+ * platform/graphics/win/QTMovieWinTimer.h: Removed.
+ * platform/graphics/win/QTPixelBuffer.cpp: Removed.
+ * platform/graphics/win/QTPixelBuffer.h: Removed.
+ * platform/graphics/win/QTTrack.cpp: Removed.
+ * platform/graphics/win/QTTrack.h: Removed.
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabase::defaultPluginDirectories): Don't look
+ for the QuickTime plugin anymore.
</ins><span class="cx">
</span><del>-2013-05-09 Darin Adler <darin@apple.com>
</del><ins>+2014-03-12 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- RenderQuote has giant function for language to quotes map
- https://bugs.webkit.org/show_bug.cgi?id=115807
</del><ins>+ Fix build after r165472
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Fixes the following build failure:
</ins><span class="cx">
</span><del>- * rendering/RenderQuote.cpp:
- (WebCore::RenderQuote::RenderQuote): Updated for m_isAttached name change.
- (WebCore::RenderQuote::~RenderQuote): Updated for name change, and also split
- assertion with && in it into two separate assertions.
- (WebCore::checkNumberOfDistinctQuoteCharacters): Added. Helper function that is used
- to check that the number of distinct quote characters is small enough to fit into
- our fixed size array below.
- (WebCore::quotesForLanguage): Replaces the old quotesDataLanguageMap function.
- Returns a pointer to a struct that contains the four quote characters. This new
- function doesn't have the massive amount of code that the old one did. We use the
- standard library bsearch function to do a binary search.
- (WebCore::stringForQuoteCharacter): Added. This returns a string for a given quote
- character; one string for any given character.
- (WebCore::quotationMarkString): Added. Returns the string for the quotation mark.
- (WebCore::apostropheStringImpl): Added. Returns the string for the apostrophe.
- (WebCore::RenderQuote::originalText): Rewrote this to include all the logic that
- used to be in the quotesData function.
- (WebCore::RenderQuote::attachQuote): Tweak assertions as above. Removed unneeded
- special case for the first quote in a RenderView; sharing the code is better and
- there is no significant performance difference. Also use m_isAttached directly
- when looking at predecessores so there is no need for an isAttached function.
- (WebCore::RenderQuote::detachQuote): Updated assertions and for name change.
- (WebCore::RenderQuote::updateDepth): Ditto.
</del><ins>+ WebCore/rendering/shapes/Shape.cpp:97:20: error: unused function 'ensureRadiiDoNotOverlap' [-Werror,-Wunused-function]
+ static inline void ensureRadiiDoNotOverlap(FloatRect& bounds, FloatSize& radii)
+ ^
+ 1 error generated.
</ins><span class="cx">
</span><del>- * rendering/RenderQuote.h: Removed unneeded includes. Marked the class FINAL since
- we call the originalText function in the class and we don't want to do a virtual
- function dispatch for that. Removed uneeded const from an argument. Removed a
- stray semicolon. Removed the quotesData and isAttached functions, since they are no
- longer needed. Renamed m_attached to m_isAttached.
</del><ins>+ * rendering/shapes/Shape.cpp:
+ (ensureRadiiDoNotOverlap): Remove unused function.
</ins><span class="cx">
</span><del>- * rendering/style/QuotesData.cpp: Removed the overload of QuotesData::create that
- takes four quote strings. This was only used to build up the quotes table.
- * rendering/style/QuotesData.h: Ditto.
</del><ins>+2014-03-12 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>-2013-05-09 Max Feil <mfeil@rim.com>
</del><ins>+ [CSS Shapes] Remove deprecated shapes
+ https://bugs.webkit.org/show_bug.cgi?id=125235
</ins><span class="cx">
</span><del>- shouldUsePluginDocument() needs to be respected when a document is created
- https://bugs.webkit.org/show_bug.cgi?id=110308
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Remove support for deprecated shape types and syntax. These have
+ already been removed from the CSS Shapes specification, so this aligns
+ the implementation with the specification.
</ins><span class="cx">
</span><del>- In DOMImplementation::createDocument() we should create
- a PluginDocument for mime types that return "true" for
- shouldAlwaysUsePluginDocument(), even if there is no pluginData
- for them. This lets a client choose plugins for which the "missing
- plugin" text or icon should appear more consistently. Otherwise
- plugins referenced by iFrames will be treated as an HTMLDocument,
- possibly resulting in binary files rendered as gibberish text.
</del><ins>+ The "new" tests below were simply moved from the old csswg directory,
+ as they were the only tests there that applied to the current syntax.
</ins><span class="cx">
</span><del>- Layout test platform/blackberry/plugins/swf-as-src-of-iframe.html
</del><ins>+ Tests: fast/shapes/shape-outside-floats/shape-outside-floats-polygon-000.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-polygon-001.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-polygon-002.html
</ins><span class="cx">
</span><del>- * dom/DOMImplementation.cpp:
- (WebCore::DOMImplementation::createDocument):
</del><ins>+ * css/BasicShapeFunctions.cpp:
+ (WebCore::valueForBasicShape):
+ (WebCore::basicShapeForValue):
+ * css/BasicShapeFunctions.h:
+ * css/CSSBasicShapes.cpp:
+ * css/CSSBasicShapes.h:
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseBasicShape):
+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createShape):
+ * rendering/shapes/ShapeInsideInfo.cpp:
+ (WebCore::ShapeInsideInfo::isEnabledFor):
+ * rendering/style/BasicShapes.cpp:
+ * rendering/style/BasicShapes.h:
</ins><span class="cx">
</span><del>-2013-05-09 Timothy Hatcher <timothy@apple.com>
</del><ins>+2014-03-12 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- Fix an exception when hovering native functions while paused in the debugger.
</del><ins>+ [GTK] [Stable] deadlock in gobject introspection
+ https://bugs.webkit.org/show_bug.cgi?id=125651
</ins><span class="cx">
</span><del>- https://webkit.org/b/115866
- rdar://problem/13681982
</del><ins>+ Reviewed by Sergio Villar Senin.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler and Joseph Pecoraro.
</del><ins>+ Make the default SoupNetworkSession a destroyable object to ensure
+ the wrapped SoupSession is finalized when the process finishes. This
+ is important because soup cancels any ongoing connection when finalized.
</ins><span class="cx">
</span><del>- * inspector/InjectedScriptSource.js:
- (InjectedScript.prototype.getFunctionDetails): Return an error if the details
- is null or undefined.
</del><ins>+ * platform/network/soup/SoupNetworkSession.cpp:
+ (WebCore::SoupNetworkSession::defaultSession): Do not use NeverDestroyed.
+ * platform/network/soup/SoupNetworkSession.h:
</ins><span class="cx">
</span><del>-2013-05-09 Darin Adler <darin@apple.com>
</del><ins>+2014-03-12 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- [Mac] CFError leak under Objective-C garbage collection
- https://bugs.webkit.org/show_bug.cgi?id=115862
</del><ins>+ Don't use NodeRenderingTraversal for pseudo elements
+ https://bugs.webkit.org/show_bug.cgi?id=130091
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * platform/network/mac/ResourceErrorMac.mm:
- (WebCore::ResourceError::nsError): Use adoptCF instead of adoptNS since
- the CFError needs a CFRelease, not an -[NSObject release].
</del><ins>+ Make traversing during style resolve more comprehensible by handling before/after pseudo elements explicitly.
</ins><span class="cx">
</span><del>-2013-05-09 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ With this patch NodeRenderingTraversal is only needed for InsertionPoints (which are nothing but an implementation
+ detail of the <details> element at this point).
</ins><span class="cx">
</span><del>- BlackBerry: fix call to PluginLayerWebKitThread::setHolePunchRect()
- https://bugs.webkit.org/show_bug.cgi?id=114953
</del><ins>+ * dom/Element.cpp:
+ (WebCore::shouldUseNodeRenderingTraversalSlowPath):
+
+ PseudoElements don't need the slow path anymore.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ (WebCore::Element::setBeforePseudoElement):
+ (WebCore::Element::setAfterPseudoElement):
+ (WebCore::Element::clearBeforePseudoElement):
+ (WebCore::Element::clearAfterPseudoElement):
+ * dom/NodeRenderingTraversal.cpp:
+ (WebCore::NodeRenderingTraversal::traverseParent):
+ (WebCore::NodeRenderingTraversal::firstChildSlow):
+ (WebCore::NodeRenderingTraversal::nextSiblingSlow):
+ (WebCore::NodeRenderingTraversal::previousSiblingSlow):
+ * dom/NodeRenderingTraversal.h:
+ (WebCore::NodeRenderingTraversal::firstChild):
+ * style/StyleResolveTree.cpp:
+ (WebCore::Style::nextSiblingRenderer):
+
+ Add ::before/::after pseudo element handling here.
</ins><span class="cx">
</span><del>- data->layer needs a cast in order to call setHolePunchRect().
</del><ins>+ (WebCore::Style::shouldCreateRenderer):
+ (WebCore::Style::elementInsideRegionNeedsRenderer):
+ (WebCore::Style::createRendererIfNeeded):
+ (WebCore::Style::previousSiblingRenderer):
+
+ Add ::before pseudo element handling here (text node can't be ::after).
</ins><span class="cx">
</span><del>- * plugins/blackberry/NPCallbacksBlackBerry.cpp:
- (WebCore::npSetHolePunchHandler):
</del><ins>+ (WebCore::Style::reattachTextRenderersForWhitespaceOnlySiblingsAfterAttachIfNeeded):
+ (WebCore::Style::textRendererIsNeeded):
+ (WebCore::Style::createTextRendererIfNeeded):
+ (WebCore::Style::attachTextRenderer):
+ (WebCore::Style::updateTextRendererAfterContentChange):
+ (WebCore::Style::attachChildren):
+ (WebCore::Style::attachDistributedChildren):
+
+ Handle InsertionPoints in one place.
</ins><span class="cx">
</span><del>-2013-05-09 Mike Fenton <mifenton@rim.com>
</del><ins>+ (WebCore::Style::attachShadowRoot):
+ (WebCore::Style::attachBeforeOrAfterPseudoElementIfNeeded):
+ (WebCore::Style::attachRenderTree):
+ (WebCore::Style::resolveLocal):
+ (WebCore::Style::updateTextStyle):
+ (WebCore::Style::resolveShadowTree):
+ (WebCore::Style::updateBeforeOrAfterPseudoElement):
+ (WebCore::Style::resolveTree):
+
+ Pass the rendering parent around to various functions instead of determining it repeatedly by calling
+ NodeRenderingTraversal::parent. It is always the same for all direct children being resolved and generally just
+ the parent element.
</ins><span class="cx">
</span><del>- [BlackBerry] Style updates required based on new check-webkit-style
- https://bugs.webkit.org/show_bug.cgi?id=115857
</del><ins>+2014-03-12 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Invisible Operators should not add space.
+ https://bugs.webkit.org/show_bug.cgi?id=115786
</ins><span class="cx">
</span><del>- Update WebCore/platform/graphics BlackBerry sources
- to match check-webkit-style updates.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Internally reviewed by Jakob Petsovits.
</del><ins>+ This change adds special handling for invisible operator to ensure they really behave as empty box. We now ignore their glyph widths and do not paint them.
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/CanvasLayerWebKitThread.cpp:
- * platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
- (WebCore::GraphicsContext3D::readPixelsIMG):
- (WebCore::GraphicsContext3D::paintToCanvas):
- * platform/graphics/blackberry/GraphicsLayerBlackBerry.cpp:
- (WebCore::GraphicsLayerBlackBerry::updateLayerPosition):
- * platform/graphics/blackberry/IntRectBlackBerry.cpp:
- (WebCore::IntRect::IntRect):
- * platform/graphics/blackberry/LayerCompositingThread.h:
- (WTF::::deref):
- * platform/graphics/blackberry/LayerFilterRenderer.cpp:
- (WebCore::LayerFilterRenderer::initializeSharedGLObjects):
- (WebCore::LayerFilterRenderer::actionsForOperations):
- (WebCore::LayerFilterRenderer::applyActions):
- * platform/graphics/blackberry/LayerRenderer.cpp:
- (WebCore::LayerRenderer::setViewport):
- (WebCore::LayerRenderer::compositeBuffer):
- (WebCore::LayerRenderer::drawColor):
- (WebCore::LayerRenderer::compositeLayersRecursive):
- * platform/graphics/blackberry/LayerWebKitThread.cpp:
- (WebCore::LayerWebKitThread::setFrame):
- * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
- (WebCore::MediaPlayerPrivate::play):
- (WebCore::MediaPlayerPrivate::waitMetadataTimerFired):
- * platform/image-decoders/blackberry/JPEGImageDecoder.cpp:
- (WebCore::JPEGImageDecoder::JPEGImageDecoder):
</del><ins>+ Test: mathml/presentation/mo-invisible.html
</ins><span class="cx">
</span><del>-2013-05-09 Mike Fenton <mifenton@rim.com>
</del><ins>+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::computePreferredLogicalWidths):
+ (WebCore::RenderMathMLOperator::paint):
+ * rendering/mathml/RenderMathMLOperator.h:
</ins><span class="cx">
</span><del>- [BlackBerry] Style updates required based on new check-webkit-style
- https://bugs.webkit.org/show_bug.cgi?id=115857
</del><ins>+2014-03-11 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Implement MathML spacing around operators .
+ https://bugs.webkit.org/show_bug.cgi?id=115787
</ins><span class="cx">
</span><del>- Update WebCore/platform/network/blackberry
- to match check-webkit-style updates.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- * platform/network/blackberry/NetworkJob.cpp:
- (WebCore::NetworkJob::initialize):
- (WebCore::NetworkJob::handleSetCookieHeader):
- (WebCore::NetworkJob::sendResponseIfNeeded):
- (WebCore::NetworkJob::shouldSendClientData):
- * platform/network/blackberry/NetworkJob.h:
- (NetworkJob):
- * platform/network/blackberry/NetworkManager.cpp:
- (WebCore::NetworkManager::startJob):
- * platform/network/blackberry/rss/RSSFilterStream.cpp:
- (WebCore::isRSSContent):
- (WebCore::transcode):
</del><ins>+ This makes the <mo> operators use the lspace/rspace properties to
+ determine their spacing. The spacing is now consistent with the one
+ of <mfenced> and as a consequence bug 118843 is fixed. This also ensures
+ that the rendering of <mo> elements is updated when the form or
+ attributes are changed.
</ins><span class="cx">
</span><del>-2013-05-09 Mike Fenton <mifenton@rim.com>
</del><ins>+ Tests: mathml/presentation/dir-mo.html
+ mathml/presentation/mo-form-dynamic.html
+ mathml/presentation/mo-form-minus-plus.html
+ mathml/presentation/mo-form.html
+ mathml/presentation/mo-lspace-rspace-dynamic.html
+ mathml/presentation/mo-lspace-rspace.html
+ mathml/presentation/mo-whitespaces.html
</ins><span class="cx">
</span><del>- [BlackBerry] Style updates required based on new check-webkit-style
- https://bugs.webkit.org/show_bug.cgi?id=115857
</del><ins>+ * css/mathml.css:
+ * mathml/MathMLInlineContainerElement.cpp:
+ (WebCore::MathMLInlineContainerElement::childrenChanged):
+ * mathml/MathMLInlineContainerElement.h:
+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::setOperatorPropertiesFromOpDictEntry):
+ (WebCore::RenderMathMLOperator::SetOperatorProperties):
+ (WebCore::RenderMathMLOperator::updateFromElement):
+ (WebCore::RenderMathMLOperator::updateOperatorProperties):
+ (WebCore::RenderMathMLOperator::updateStyle):
+ * rendering/mathml/RenderMathMLOperator.h:
+ * rendering/mathml/RenderMathMLRow.cpp:
+ (WebCore::RenderMathMLRow::updateOperatorProperties):
+ * rendering/mathml/RenderMathMLRow.h:
+ * rendering/mathml/RenderMathMLToken.h:
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+2014-03-11 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Update WebCore/platform/blackberry to match check-webkit-style updates.
</del><ins>+ Get the incomplete WebVTT Regions code to build again.
+ https://bugs.webkit.org/show_bug.cgi?id=130094
</ins><span class="cx">
</span><del>- No functional changes.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.h:
- * platform/blackberry/CookieManager.cpp:
- (WebCore::CookieManager::getRawCookies):
- * platform/blackberry/CookieMap.h:
- (WebCore::CookieMap::count):
- * platform/blackberry/CookieParser.cpp:
- (WebCore::CookieParser::parseOneCookie):
- * platform/blackberry/LoggingBlackBerry.cpp:
- * platform/blackberry/PageClientBlackBerry.h:
- (Platform):
- (Graphics):
- (WebCore):
- * platform/blackberry/ParsedCookie.cpp:
- (WebCore::ParsedCookie::appendWebCoreCookie):
- * platform/blackberry/RenderThemeBlackBerry.cpp:
- (WebCore::RenderThemeBlackBerry::paintSearchFieldCancelButton):
- (WebCore::RenderThemeBlackBerry::paintButton):
- (WebCore::RenderThemeBlackBerry::paintSliderThumb):
- * platform/blackberry/SSLKeyGeneratorBlackBerry.cpp:
- (WebCore::signedPublicKeyAndChallengeString):
- * platform/blackberry/ScrollAnimatorBlackBerry.h:
</del><ins>+ The feature is not being turned on here, so there are no new tests.
</ins><span class="cx">
</span><del>-2013-05-09 Chris Rogers <crogers@google.com>
</del><ins>+ * DerivedSources.make: Add missing IDL files for Regions.
+ * WebCore.xcodeproj/project.pbxproj: Add Regions-related files.
+ * html/track/InbandWebVTTTextTrack.cpp:
+ (WebCore::InbandWebVTTTextTrack::newRegionsParsed): Add stub implementation.
+ * html/track/LoadableTextTrack.cpp: Add missing include file.
+ * html/track/TextTrack.cpp:
+ (WebCore::TextTrack::TextTrack): Correct ordering of construction
+ to avoid compiler warning.
</ins><span class="cx">
</span><del>- Require use of AudioBus::create() to avoid ref-counting issues
- https://bugs.webkit.org/show_bug.cgi?id=115836
</del><ins>+2014-03-11 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Remove unused method from BatteryController
+ https://bugs.webkit.org/show_bug.cgi?id=130063
</ins><span class="cx">
</span><del>- There were a couple of places still embedding raw AudioBus objects as
- member variables or local variables causing ref-counting problems
- now that AudioBus is ref-counted. Make AudioBus constructor private
- to enforce use of AudioBus::create().
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Adapted from Blink patch:
- https://chromiumcodereview.appspot.com/14628008/
</del><ins>+ * Modules/battery/BatteryController.h: Removed client() which is not used.
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioDestinationNode.h:
- (WebCore::AudioDestinationNode::LocalAudioInputProvider::LocalAudioInputProvider):
- (WebCore::AudioDestinationNode::LocalAudioInputProvider::set):
- (WebCore::AudioDestinationNode::LocalAudioInputProvider::provideInput):
- (LocalAudioInputProvider):
- * Modules/webaudio/AudioNodeInput.cpp:
- (WebCore::AudioNodeInput::AudioNodeInput):
- (WebCore::AudioNodeInput::updateInternalBus):
- * Modules/webaudio/AudioNodeOutput.cpp:
- (WebCore::AudioNodeOutput::AudioNodeOutput):
- (WebCore::AudioNodeOutput::updateInternalBus):
- * Modules/webaudio/AudioParam.cpp:
- (WebCore::AudioParam::calculateFinalValues):
- * Modules/webaudio/ConvolverNode.cpp:
- (WebCore::ConvolverNode::setBuffer):
- * Modules/webaudio/MediaStreamAudioDestinationNode.cpp:
- (WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode):
- (WebCore::MediaStreamAudioDestinationNode::process):
- * Modules/webaudio/MediaStreamAudioDestinationNode.h:
- * Modules/webaudio/OfflineAudioDestinationNode.cpp:
- (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode):
- * Modules/webaudio/ScriptProcessorNode.cpp:
- (WebCore::ScriptProcessorNode::ScriptProcessorNode):
- (WebCore::ScriptProcessorNode::process):
- * Modules/webaudio/ScriptProcessorNode.h:
- (ScriptProcessorNode):
- * platform/audio/AudioBus.cpp:
- (WebCore::AudioBus::create):
- (WebCore):
- (WebCore::AudioBus::AudioBus):
- (WebCore::AudioBus::createBufferFromRange):
- (WebCore::AudioBus::createBySampleRateConverting):
- (WebCore::AudioBus::createByMixingToMono):
- * platform/audio/AudioBus.h:
- (AudioBus):
- * platform/audio/AudioFIFO.cpp:
- (WebCore::AudioFIFO::AudioFIFO):
- (WebCore::AudioFIFO::consume):
- (WebCore::AudioFIFO::push):
- * platform/audio/AudioFIFO.h:
- (AudioFIFO):
- * platform/audio/AudioPullFIFO.cpp:
- (WebCore::AudioPullFIFO::AudioPullFIFO):
- (WebCore::AudioPullFIFO::fillBuffer):
- * platform/audio/AudioPullFIFO.h:
- (AudioPullFIFO):
- * platform/audio/AudioResampler.cpp:
- (WebCore::AudioResampler::AudioResampler):
- (WebCore::AudioResampler::configureChannels):
- * platform/audio/MultiChannelResampler.cpp:
- * platform/audio/Reverb.cpp:
- (WebCore::Reverb::initialize):
- * platform/audio/SincResampler.cpp:
- (WebCore::SincResampler::consumeSource):
- (WebCore):
- * platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
- (WebCore::AudioDestinationGStreamer::AudioDestinationGStreamer):
- * platform/audio/gstreamer/AudioDestinationGStreamer.h:
- (AudioDestinationGStreamer):
- * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
- (WebCore::AudioFileReader::createBus):
- * platform/audio/ios/AudioDestinationIOS.cpp:
- (WebCore::AudioDestinationIOS::AudioDestinationIOS):
- (WebCore::AudioDestinationIOS::render):
- * platform/audio/ios/AudioDestinationIOS.h:
- (AudioDestinationIOS):
- * platform/audio/mac/AudioDestinationMac.cpp:
- (WebCore::AudioDestinationMac::AudioDestinationMac):
- (WebCore::AudioDestinationMac::render):
- * platform/audio/mac/AudioDestinationMac.h:
- (AudioDestinationMac):
- * platform/audio/mac/AudioFileReaderMac.cpp:
- (WebCore::AudioFileReader::createBus):
</del><ins>+2014-03-11 Krzysztof Czech <k.czech@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-09 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ [ATK] Expose aria-posinset and aria-setsize through object attributes
+ https://bugs.webkit.org/show_bug.cgi?id=130011
</ins><span class="cx">
</span><del>- [BlackBerry] Upstream the input popups
- https://bugs.webkit.org/show_bug.cgi?id=114608
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Based on http://www.w3.org/TR/2014/PR-wai-aria-implementation-20140206/
+ aria-poinset and aria-setsize can be exposed as object attributes.
</ins><span class="cx">
</span><del>- This patch contains contributions from many members of the
- BlackBerry WebKit team, including:
</del><ins>+ Test: accessibility/aria-setsize-posinset.html
</ins><span class="cx">
</span><del>- Chris Hutten-Czapski
- David Hoon
- Jessica Cao
- Rob Buis
- Tiancheng Jiang
</del><ins>+ * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
+ (webkitAccessibleGetAttributes):
</ins><span class="cx">
</span><del>- * Resources/blackberry/colorControlBlackBerry.css: Added.
- (.color-picker-popup-area):
- (.color-picker-content):
- (.color-picker-block):
- (#color-picker-swatch-block):
- (.color-picker-switcher):
- (.color-picker-check-mark):
- (.color-picker-option):
- (.color-picker-button):
- (.color-picker-highlight):
- (input):
- (.color-picker-sharp):
- (.color-picker-off):
- (.color-picker-inactive-font):
- (.color-picker-row):
- (.color-picker-hex-style):
- (.color-picker-input):
- (.color-picker-well):
- (.color-picker-input .color-picker-well):
- (.color-picker-slider):
- (.color-picker-slider-output):
- (.color-picker-range):
- (.color-picker-range::-webkit-slider-thumb):
- (.color-picker-range::-webkit-slider-thumb:active):
- (.red-ranger-bg):
- (.green-ranger-bg):
- (.blue-ranger-bg):
- (@media only screen and (height: 768px)):
- (@media only screen and (height: 720px)):
- * Resources/blackberry/colorControlBlackBerry.js: Added.
- (.):
- * Resources/blackberry/popupControlBlackBerry.css:
- (body):
- (.popup-area):
- (.popup-header):
- (.popup-content):
- (.popup-buttons):
- (.popup-button):
- (@media only screen and (width: 720px) and (height: 720px)):
- * Resources/blackberry/selectControlBlackBerry.css:
- (.popup-content):
- (@media (min-height: 918px)):
- (.option):
- (@media only screen and (width: 720px) and (height: 720px)):
- (.contents):
- (.option:active):
- (.selected):
- (.selected .contents::after):
- (.text):
- (.disabled):
- (.optgroup):
- (.optgroup-option):
- * Resources/blackberry/selectControlBlackBerry.js:
- (.):
- * Resources/blackberry/timeControlBlackBerry.css: Added.
- (#popup-content-time):
- (.column):
- (.column:not(:last-child)):
- (.cell):
- (.yearmonthdate .cell div:last-child):
- (.row-highlight-container):
- (.row-highlight-filler):
- (.row-highlight):
- (.tall-bit):
- (@media only screen and (width: 720px) and (height: 720px)):
- * Resources/blackberry/timeControlBlackBerry.js: Added.
- (.):
</del><ins>+2014-03-10 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>-2013-05-09 Rob Buis <rbuis@rim.com>
</del><ins>+ Improve renderer classes for MathML Token elements.
+ https://bugs.webkit.org/show_bug.cgi?id=124838
</ins><span class="cx">
</span><del>- [BlackBerry] texmap code generates warnings
- https://bugs.webkit.org/show_bug.cgi?id=115815
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ This patch continues the refactoring of token elements that has been
+ started in bug 44208. The <mo> element now derives from the
+ RenderMathMLToken class, which was already used for the <mi> element.
+ The behavior of anonymous <mo> elements created by the <mfenced> element
+ is now more consistent with the one of "standard" <mo> elements and the
+ spacing around them is now handled in RenderMathMLOperator. This is a
+ first step towards fixing bugs 115787 and 118843. The only visible
+ rendering change is how <mfenced> open/close attributes handle
+ whitespace and multiple characters and some tests are added for that.
+ Other features are already covered by other tests. Finally, this also
+ removes some code from AccessibilityRenderObject that was used to
+ workaround issues with <mo> elements.
</ins><span class="cx">
</span><del>- Add USE(TEXTURE_MAPPER) guards since Source/WebCore/CMakeLists.txt includes
- these files unconditionally.
</del><ins>+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::startOfContinuations):
+ (WebCore::AccessibilityRenderObject::textUnderElement):
+ (WebCore::AccessibilityRenderObject::isMathOperator):
+ (WebCore::AccessibilityRenderObject::isIgnoredElementWithinMathTree):
+ * mathml/MathMLTextElement.cpp:
+ (WebCore::MathMLTextElement::didAttachRenderers):
+ (WebCore::MathMLTextElement::childrenChanged):
+ * rendering/mathml/RenderMathMLBlock.cpp:
+ (WebCore::RenderMathMLBlock::RenderMathMLBlock):
+ * rendering/mathml/RenderMathMLBlock.h:
+ * rendering/mathml/RenderMathMLFenced.cpp:
+ (WebCore::RenderMathMLFenced::RenderMathMLFenced):
+ (WebCore::RenderMathMLFenced::updateFromElement):
+ (WebCore::RenderMathMLFenced::createMathMLOperator):
+ (WebCore::RenderMathMLFenced::makeFences):
+ (WebCore::RenderMathMLFenced::addChild):
+ * rendering/mathml/RenderMathMLFenced.h:
+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::RenderMathMLOperator):
+ (WebCore::RenderMathMLOperator::setOperatorFlagFromAttribute):
+ (WebCore::RenderMathMLOperator::setOperatorPropertiesFromOpDictEntry):
+ (WebCore::RenderMathMLOperator::SetOperatorProperties):
+ (WebCore::RenderMathMLOperator::computePreferredLogicalWidths):
+ (WebCore::RenderMathMLOperator::rebuildTokenContent):
+ (WebCore::RenderMathMLOperator::updateTokenContent):
+ (WebCore::RenderMathMLOperator::updateStyle):
+ (WebCore::RenderMathMLOperator::firstLineBaseline):
+ (WebCore::RenderMathMLOperator::paint):
+ (WebCore::RenderMathMLOperator::paintChildren):
+ * rendering/mathml/RenderMathMLOperator.h:
+ * rendering/mathml/RenderMathMLToken.cpp:
+ (WebCore::RenderMathMLToken::createWrapperIfNeeded):
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
- * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
- * platform/graphics/texmap/TextureMapper.h:
- * platform/graphics/texmap/TextureMapperBackingStore.cpp:
- * platform/graphics/texmap/TextureMapperBackingStore.h:
- * platform/graphics/texmap/TextureMapperFPSCounter.cpp:
- * platform/graphics/texmap/TextureMapperFPSCounter.h:
- * platform/graphics/texmap/TextureMapperGL.cpp:
- * platform/graphics/texmap/TextureMapperGL.h:
- * platform/graphics/texmap/TextureMapperLayer.cpp:
- * platform/graphics/texmap/TextureMapperLayer.h:
- * platform/graphics/texmap/TextureMapperTile.cpp:
- * platform/graphics/texmap/TextureMapperTile.h:
- * platform/graphics/texmap/TextureMapperTiledBackingStore.cpp:
- * platform/graphics/texmap/TextureMapperTiledBackingStore.h:
</del><ins>+2014-03-10 James Craig <jcraig@apple.com>
</ins><span class="cx">
</span><del>-2013-05-09 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ Web Inspector: AXI: Expose checked/disabled/expanded/pressed/readonly/selected
+ https://bugs.webkit.org/show_bug.cgi?id=129781
</ins><span class="cx">
</span><del>- PluginDatabase: add plugin directory for the BlackBerry port.
- https://bugs.webkit.org/show_bug.cgi?id=114943
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Enabling several more properties to be exposed in the Accessibility Node Inspector.
</ins><span class="cx">
</span><del>- XP_UNIX is defined for the BlackBerry port, but we don't want to
- share the same code here.
</del><ins>+ Updated Tests: inspector-protocol/dom/getAccessibilityPropertiesForNode.html
</ins><span class="cx">
</span><del>- * plugins/PluginDatabase.cpp:
- (WebCore::PluginDatabase::defaultPluginDirectories):
- (WebCore::PluginDatabase::isPreferredPluginDirectory):
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::supportsChecked):
+ * accessibility/AccessibilityObject.h:
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+ * inspector/protocol/DOM.json:
</ins><span class="cx">
</span><del>-2013-05-09 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+2014-03-10 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>- Web Inspector: Remove Memory Distribution and Memory Snapshots Panels
- https://bugs.webkit.org/show_bug.cgi?id=115850
</del><ins>+ [CSS Shapes] inset corner radii are not flipped for vertical writing modes
+ https://bugs.webkit.org/show_bug.cgi?id=129918
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Removed the Memory Instrumentation Code after r148921.
</del><ins>+ When creating an inset shape, convert the radii to logical coordinates
+ as well as the box.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Tests: fast/shapes/shape-outside-floats/shape-outside-floats-inset-rounded-different-writing-modes-left.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-inset-rounded-different-writing-modes-right.html
</ins><span class="cx">
</span><del>- * inspector/compile-front-end.py:
- * inspector/front-end/NativeMemorySnapshotView.js: Removed.
- * inspector/front-end/ProfilesPanel.js:
- (WebInspector.ProfilesPanel):
- * inspector/front-end/Settings.js:
- (WebInspector.Settings):
- (WebInspector.ExperimentsSettings):
- * inspector/front-end/SettingsScreen.js:
- * inspector/front-end/WebKit.qrc:
- * inspector/front-end/inspector.css:
- * inspector/front-end/inspector.js:
- (WebInspector._panelDescriptors):
- * inspector/front-end/nativeMemoryProfiler.css: Removed.
</del><ins>+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createShape): Convert the radii to logical
+ coordinates.
</ins><span class="cx">
</span><del>-2013-05-09 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+2014-03-10 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- Unreviewed GTK build fix after r149796.
</del><ins>+ Web Inspector: Frontend loaded resources from cache are not hidden as expected
+ https://bugs.webkit.org/show_bug.cgi?id=130044
</ins><span class="cx">
</span><del>- * GNUmakefile.am: Add a phony target for the window constructors file and include it among
- the dependencies for the non-generated code.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>-2013-05-09 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::loadedResourceFromMemoryCache):
+ Use the new request that was passed in. Assume it is filled in appropriately.
</ins><span class="cx">
</span><del>- Unreviewed build fix for Qt minimal build.
</del><ins>+ * loader/cache/CachedResourceLoader.h:
+ * loader/cache/CachedResourceLoader.cpp:
+ (WebCore::CachedResourceLoader::shouldContinueAfterNotifyingLoadedFromMemoryCache):
+ Carry over the hidden from inspector state if the passed in request had it,
+ and create the request that loadedResourceFromMemoryCache will use.
</ins><span class="cx">
</span><del>- r149796 broke builds that have WEB_SOCKETS flag disabled.
</del><ins>+ * xml/XMLHttpRequest.cpp:
+ (WebCore::XMLHttpRequest::createRequest):
+ Add missing ifdefs for INSPECTOR only function.
</ins><span class="cx">
</span><del>- * page/DOMWindow.idl:
</del><ins>+2014-03-10 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-09 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Remove 'visibilitychange' attribute event listener from document
+ https://bugs.webkit.org/show_bug.cgi?id=129794
</ins><span class="cx">
</span><del>- Add support for [NoInterfaceObject] Web IDL extended attribute
- https://bugs.webkit.org/show_bug.cgi?id=115714
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Remove the unused attribute event listener which is not defined in Page Visibility API spec.
+ http://www.w3.org/TR/page-visibility/#sec-document-interface
</ins><span class="cx">
</span><del>- *Constructor attributes on the global DOMWindow object are now automatically
- generated for each non-callback interface that is not declared with the
- [NoInterfaceObject] extended attribute. It is thus no longer needed for
- developers to manually add *Constructor attributes for their new interfaces
- unless they wish to register an "extra" constructor for their interface.
</del><ins>+ * dom/Document.h:
</ins><span class="cx">
</span><del>- This patch does not modify at all the behavior on JS side. To achieve this,
- [NoInterfaceObject] extended attribute is added to interfaces that should
- not have it according to specification (e.g. History, Location, ...).
- This can be improved later as the behavior should not change with this
- patch.
</del><ins>+2014-03-10 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ [iOS][WebKit 2] Wire the unobscured rect in the WebProcess
+ https://bugs.webkit.org/show_bug.cgi?id=130058
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.am:
- * GNUmakefile.list.am:
- * Modules/battery/BatteryManager.idl:
- * Modules/encryptedmedia/MediaKeyMessageEvent.idl:
- * Modules/encryptedmedia/MediaKeyNeededEvent.idl:
- * Modules/encryptedmedia/MediaKeySession.idl:
- * Modules/encryptedmedia/MediaKeys.idl:
- * Modules/filesystem/DOMFileSystem.idl:
- * Modules/filesystem/DOMFileSystemSync.idl:
- * Modules/filesystem/DirectoryEntry.idl:
- * Modules/filesystem/DirectoryEntrySync.idl:
- * Modules/filesystem/DirectoryReader.idl:
- * Modules/filesystem/DirectoryReaderSync.idl:
- * Modules/filesystem/Entry.idl:
- * Modules/filesystem/EntryArray.idl:
- * Modules/filesystem/EntryArraySync.idl:
- * Modules/filesystem/EntrySync.idl:
- * Modules/filesystem/FileEntry.idl:
- * Modules/filesystem/FileEntrySync.idl:
- * Modules/filesystem/FileWriter.idl:
- * Modules/filesystem/FileWriterSync.idl:
- * Modules/filesystem/Metadata.idl:
- * Modules/gamepad/Gamepad.idl:
- * Modules/gamepad/GamepadList.idl:
- * Modules/geolocation/Coordinates.idl:
- * Modules/geolocation/Geolocation.idl:
- * Modules/geolocation/Geoposition.idl:
- * Modules/geolocation/PositionError.idl:
- * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
- * Modules/indexeddb/IDBAny.idl:
- * Modules/mediasource/MediaSource.idl:
- * Modules/mediasource/SourceBuffer.idl:
- * Modules/mediasource/SourceBufferList.idl:
- * Modules/mediastream/DOMWindowMediaStream.idl: Removed.
- * Modules/mediastream/MediaStream.idl:
- * Modules/mediastream/MediaStreamTrack.idl:
- * Modules/mediastream/MediaStreamTrackEvent.idl:
- * Modules/mediastream/NavigatorUserMediaError.idl:
- * Modules/mediastream/RTCDTMFSender.idl:
- * Modules/mediastream/RTCDTMFToneChangeEvent.idl:
- * Modules/mediastream/RTCDataChannel.idl:
- * Modules/mediastream/RTCDataChannelEvent.idl:
- * Modules/mediastream/RTCIceCandidateEvent.idl:
- * Modules/mediastream/RTCPeerConnection.idl:
- * Modules/mediastream/RTCStatsReport.idl:
- * Modules/mediastream/RTCStatsResponse.idl:
- * Modules/networkinfo/NetworkInfoConnection.idl:
- * Modules/notifications/DOMWindowNotifications.idl:
- * Modules/notifications/NotificationCenter.idl:
- * Modules/quota/StorageInfo.idl:
- * Modules/quota/StorageQuota.idl:
- * Modules/speech/DOMWindowSpeech.idl: Removed.
- * Modules/speech/DOMWindowSpeechSynthesis.idl:
- * Modules/speech/SpeechGrammar.idl:
- * Modules/speech/SpeechGrammarList.idl:
- * Modules/speech/SpeechRecognition.idl:
- * Modules/speech/SpeechRecognitionAlternative.idl:
- * Modules/speech/SpeechRecognitionError.idl:
- * Modules/speech/SpeechRecognitionEvent.idl:
- * Modules/speech/SpeechRecognitionResult.idl:
- * Modules/speech/SpeechRecognitionResultList.idl:
- * Modules/speech/SpeechSynthesis.idl:
- * Modules/speech/SpeechSynthesisVoice.idl:
- * Modules/webaudio/AnalyserNode.idl:
- * Modules/webaudio/AudioBuffer.idl:
- * Modules/webaudio/AudioBufferSourceNode.idl:
- * Modules/webaudio/AudioContext.idl:
- * Modules/webaudio/AudioDestinationNode.idl:
- * Modules/webaudio/AudioListener.idl:
- * Modules/webaudio/AudioNode.idl:
- * Modules/webaudio/AudioParam.idl:
- * Modules/webaudio/AudioSourceNode.idl:
- * Modules/webaudio/BiquadFilterNode.idl:
- * Modules/webaudio/ChannelMergerNode.idl:
- * Modules/webaudio/ChannelSplitterNode.idl:
- * Modules/webaudio/ConvolverNode.idl:
- * Modules/webaudio/DOMWindowWebAudio.idl: Removed.
- * Modules/webaudio/DelayNode.idl:
- * Modules/webaudio/DynamicsCompressorNode.idl:
- * Modules/webaudio/GainNode.idl:
- * Modules/webaudio/MediaElementAudioSourceNode.idl:
- * Modules/webaudio/MediaStreamAudioDestinationNode.idl:
- * Modules/webaudio/MediaStreamAudioSourceNode.idl:
- * Modules/webaudio/OfflineAudioContext.idl:
- * Modules/webaudio/OscillatorNode.idl:
- * Modules/webaudio/PannerNode.idl:
- * Modules/webaudio/ScriptProcessorNode.idl:
- * Modules/webaudio/WaveShaperNode.idl:
- * Modules/webaudio/WaveTable.idl:
- * Modules/webdatabase/DOMWindowWebDatabase.idl:
- * Modules/webdatabase/Database.idl:
- * Modules/webdatabase/DatabaseSync.idl:
- * Modules/webdatabase/SQLError.idl:
- * Modules/webdatabase/SQLResultSet.idl:
- * Modules/webdatabase/SQLResultSetRowList.idl:
- * Modules/webdatabase/SQLTransaction.idl:
- * Modules/webdatabase/SQLTransactionSync.idl:
- * Modules/websockets/DOMWindowWebSocket.idl: Removed.
- * Modules/websockets/WebSocket.idl:
- * PlatformBlackBerry.cmake:
- * UseJSC.cmake:
</del><ins>+ Reviewed by Simon Fraser.
+
+ * WebCore.exp.in:
+ * platform/ScrollView.h:
+ * platform/ios/ScrollViewIOS.mm:
+ (WebCore::ScrollView::unobscuredContentRect):
+ (WebCore::ScrollView::setUnobscuredContentRect):
+
+2014-03-10 Benjamin Poulain <bpoulain@apple.com>
+
+ makeSelectorPseudoTypeMap.py should not be copied in the WebCore bundle
+
</ins><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/IDLParser.pm:
- (parseTypedef):
- * bindings/scripts/preprocess-idls.pl:
- (GenerateConstructorAttribute):
- (getFileContents):
- (getPartialInterfaceNameFromIDL):
- (isCallbackInterfaceFromIDL):
- (trim):
- (getInterfaceExtendedAttributesFromIDL):
- * css/CSSFontFaceLoadEvent.idl:
- * css/CSSFontFaceRule.idl:
- * css/CSSSupportsRule.idl:
- * css/CSSUnknownRule.idl:
- * css/DOMWindowCSS.idl:
- * css/FontLoader.idl:
- * css/MediaQueryList.idl:
- * css/MediaQueryListListener.idl:
- * css/StyleMedia.idl:
- * dom/CustomElementConstructor.idl:
- * dom/DOMError.idl:
- * dom/DOMNamedFlowCollection.idl:
- * dom/DataTransferItem.idl:
- * dom/DataTransferItemList.idl:
- * dom/EventListener.idl:
- * dom/EventTarget.idl:
- * dom/NodeIterator.idl:
- * dom/ShadowRoot.idl:
- * dom/TreeWalker.idl:
- * dom/WebKitNamedFlow.idl:
- * fileapi/FileException.idl:
- * fileapi/FileReaderSync.idl:
- * html/HTMLAudioElement.idl:
- * html/HTMLDetailsElement.idl:
- * html/HTMLOptionElement.idl:
- * html/MediaError.idl:
- * html/MediaKeyError.idl:
- * html/MicroDataItemValue.idl:
- * html/RadioNodeList.idl:
- * html/ValidityState.idl:
- * html/canvas/CanvasRenderingContext.idl:
- * html/canvas/DOMPath.idl:
- * html/canvas/EXTDrawBuffers.idl:
- * html/canvas/EXTTextureFilterAnisotropic.idl:
- * html/canvas/OESElementIndexUint.idl:
- * html/canvas/OESStandardDerivatives.idl:
- * html/canvas/OESTextureFloat.idl:
- * html/canvas/OESTextureHalfFloat.idl:
- * html/canvas/OESVertexArrayObject.idl:
- * html/canvas/WebGLCompressedTextureATC.idl:
- * html/canvas/WebGLCompressedTexturePVRTC.idl:
- * html/canvas/WebGLCompressedTextureS3TC.idl:
- * html/canvas/WebGLContextAttributes.idl:
- * html/canvas/WebGLDebugRendererInfo.idl:
- * html/canvas/WebGLDebugShaders.idl:
- * html/canvas/WebGLDepthTexture.idl:
- * html/canvas/WebGLLoseContext.idl:
- * html/canvas/WebGLVertexArrayObjectOES.idl:
- * html/track/AudioTrack.idl:
- * html/track/AudioTrackList.idl:
- * html/track/TextTrackRegionList.idl:
- * html/track/VideoTrack.idl:
- * html/track/VideoTrackList.idl:
- * inspector/InjectedScriptHost.idl:
- * inspector/InspectorFrontendHost.idl:
- * inspector/JavaScriptCallFrame.idl:
- * inspector/ScriptProfile.idl:
- * inspector/ScriptProfileNode.idl:
- * loader/appcache/DOMApplicationCache.idl:
- * page/AbstractView.idl:
- * page/BarInfo.idl:
- * page/Console.idl:
- * page/Crypto.idl:
- * page/DOMSecurityPolicy.idl:
- * page/DOMWindow.idl:
- * page/History.idl:
- * page/Location.idl:
- * page/MemoryInfo.idl:
- * page/Navigator.idl:
- * page/PagePopupController.idl:
- * page/Performance.idl:
- * page/PerformanceEntry.idl:
- * page/PerformanceEntryList.idl:
- * page/PerformanceMark.idl:
- * page/PerformanceMeasure.idl:
- * page/PerformanceNavigation.idl:
- * page/PerformanceResourceTiming.idl:
- * page/PerformanceTiming.idl:
- * page/Screen.idl:
- * page/SpeechInputResult.idl:
- * page/SpeechInputResultList.idl:
- * page/WorkerNavigator.idl:
- * page/make_settings.pl:
- (generateInternalSettingsIdlFile):
- * svg/ElementTimeControl.idl:
- * svg/SVGAnimationElement.idl:
- * svg/SVGExternalResourcesRequired.idl:
- * svg/SVGFilterPrimitiveStandardAttributes.idl:
- * svg/SVGFitToViewBox.idl:
- * svg/SVGLangSpace.idl:
- * svg/SVGLocatable.idl:
- * svg/SVGStyledElement.idl:
- * svg/SVGTests.idl:
- * svg/SVGTransformable.idl:
- * svg/SVGURIReference.idl:
- * testing/InternalSettings.idl:
- * testing/Internals.idl:
- * testing/MallocStatistics.idl:
- * testing/TypeConversions.idl:
- * workers/AbstractWorker.idl:
- * workers/DedicatedWorkerContext.idl:
- * workers/SharedWorker.idl:
- * workers/SharedWorkerContext.idl:
- * workers/WorkerContext.idl:
- * workers/WorkerLocation.idl:
- * xml/XPathExpression.idl:
- * xml/XPathNSResolver.idl:
</del><span class="cx">
</span><del>-2013-05-09 ChangSeok Oh <changseok.oh@collabora.com>
</del><ins>+2014-03-10 Mario Sanchez Prada <mario.prada@samsung.com>
</ins><span class="cx">
</span><del>- [GTK][AC] Buildfix after r149694
- https://bugs.webkit.org/show_bug.cgi?id=115797
</del><ins>+ [GTK] Add support for Geoclue2
+ https://bugs.webkit.org/show_bug.cgi?id=120185
</ins><span class="cx">
</span><del>- Reviewed by Gustavo Noronha Silva.
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>- Some interfaces, such as a return value and parameters of functions are changed.
</del><ins>+ Patch by Anton Obzhirov <a.obzhirov@samsung.com> and Mario Sanchez Prada <mario.prada@samsung.com>
</ins><span class="cx">
</span><del>- No new tests since no functionality changed.
</del><ins>+ Implement a new geolocation provider based on Geoclue2, which will only
+ be used if a good enough version of Geoclue2 is found at configure time.
</ins><span class="cx">
</span><del>- * platform/graphics/clutter/GraphicsLayerClutter.cpp:
- (WebCore::animationHasStepsTimingFunction):
- (WebCore::GraphicsLayerClutter::timingFunctionForAnimationValue):
- (WebCore::GraphicsLayerClutter::setTransformAnimationKeyframes):
- (WebCore::GraphicsLayerClutter::setTransformAnimationEndpoints):
- (WebCore::GraphicsLayerClutter::createTransformAnimationsFromKeyframes):
- (WebCore::GraphicsLayerClutter::setAnimationEndpoints):
- (WebCore::GraphicsLayerClutter::setAnimationKeyframes):
- * platform/graphics/clutter/GraphicsLayerClutter.h:
- (GraphicsLayerClutter):
</del><ins>+ * GNUmakefile.am: Generate C-API for accessing the D-Bus API
+ provided by Geoclue2, and place it in DerivedSources.
+ * GNUmakefile.list.am: Add GeolocationProviderGeoclue2.cpp, and
+ include the generated proxy files when using Geoclue2.
+ * PlatformGTK.cmake: Likewise, for CMake based builds.
+ * platform/geoclue/GeolocationProviderGeoclue.h: Modified to
+ accomodate the needs both for Geoclue and Geoclue2 providers.
+ * platform/geoclue/GeolocationProviderGeoclue1.cpp: Renamed from Source/WebCore/platform/geoclue/GeolocationProviderGeoclue.cpp.
+ (GeolocationProviderGeoclue::getPositionCallback):
+ (GeolocationProviderGeoclue::positionChangedCallback):
+ (GeolocationProviderGeoclue::createGeocluePositionCallback):
+ (GeolocationProviderGeoclue::geoclueClientSetRequirementsCallback):
+ (GeolocationProviderGeoclue::createGeoclueClientCallback):
+ (GeolocationProviderGeoclue::GeolocationProviderGeoclue):
+ (GeolocationProviderGeoclue::~GeolocationProviderGeoclue):
+ (GeolocationProviderGeoclue::startUpdating):
+ (GeolocationProviderGeoclue::stopUpdating):
+ (GeolocationProviderGeoclue::setEnableHighAccuracy):
+ (GeolocationProviderGeoclue::initializeGeoclueClient):
+ (GeolocationProviderGeoclue::initializeGeocluePosition):
+ (GeolocationProviderGeoclue::updateClientRequirements):
+ (GeolocationProviderGeoclue::positionChanged):
+ (GeolocationProviderGeoclue::errorOccurred):
+ * platform/geoclue/GeolocationProviderGeoclue2.cpp: Added.
+ (GeolocationProviderGeoclue::GeolocationProviderGeoclue):
+ (GeolocationProviderGeoclue::~GeolocationProviderGeoclue):
+ (GeolocationProviderGeoclue::startUpdating):
+ (GeolocationProviderGeoclue::stopUpdating):
+ (GeolocationProviderGeoclue::setEnableHighAccuracy):
+ (GeolocationProviderGeoclue::createGeoclueManagerProxyCallback):
+ (GeolocationProviderGeoclue::getGeoclueClientCallback):
+ (GeolocationProviderGeoclue::createGeoclueClientProxyCallback):
+ (GeolocationProviderGeoclue::startClientCallback):
+ (GeolocationProviderGeoclue::locationUpdatedCallback):
+ (GeolocationProviderGeoclue::createLocationProxyCallback):
+ (GeolocationProviderGeoclue::startGeoclueClient):
+ (GeolocationProviderGeoclue::updateLocation):
+ (GeolocationProviderGeoclue::errorOccurred):
+ (GeolocationProviderGeoclue::updateClientRequirements):
</ins><span class="cx">
</span><del>-2013-05-08 Rob Buis <rbuis@rim.com>
</del><ins>+2014-03-10 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Fix some compiler warnings (miscellaneous)
- https://bugs.webkit.org/show_bug.cgi?id=80790
</del><ins>+ Unreviewed Windows Build Fix.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj: Don't build cURL files for Apple Windows port.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
+ (WebCore::MediaPlayerPrivateQuickTimeVisualContext::LayerClient::platformCALayerPaintContents): Correct
+ method signature to match base class.
+ (WebCore::MediaPlayerPrivateQuickTimeVisualContext::loadInternal): Use proper character encoding.
</ins><span class="cx">
</span><del>- Get rid of the following warning for BlackBerry:
</del><ins>+2014-03-10 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- NavigatorContentUtils.cpp:60:78: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
</del><ins>+ Fix three leaks
+ https://bugs.webkit.org/show_bug.cgi?id=130048
</ins><span class="cx">
</span><del>- by not compiling any of the code to add protocols to the protocol whitelist.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
- (WebCore::initProtocolHandlerWhitelist):
</del><ins>+ The NSDictionary was leaked.
</ins><span class="cx">
</span><del>-2013-05-08 peavo@outlook.com <peavo@outlook.com>
</del><ins>+ * page/ios/UserAgentIOS.mm:
+ (WebCore::osMarketingVersion):
</ins><span class="cx">
</span><del>- [Windows] The function seekFile() is not implemented.
- https://bugs.webkit.org/show_bug.cgi?id=115246
</del><ins>+2014-03-10 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ Set background color of WK2's UIScrollView to the pageExtendedBackgroundColor
+ https://bugs.webkit.org/show_bug.cgi?id=129919
</ins><span class="cx">
</span><del>- Implemented seekFile() function for Windows.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- * platform/win/FileSystemWin.cpp:
- (WebCore::seekFile):
</del><ins>+ WK2 needs to be able to ask for the pageExtendedBackgroundColor, so this patch
+ adds a function to Page that will return it
</ins><span class="cx">
</span><del>-2013-05-08 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ * WebCore.exp.in:
+ * page/Page.cpp:
+ (WebCore::Page::pageExtendedBackgroundColor):
+ * page/Page.h:
+ * rendering/RenderLayerCompositor.h:
+ (WebCore::RenderLayerCompositor::rootExtendedBackgroundColor):
</ins><span class="cx">
</span><del>- Web Inspector: Fix a typo in Settings.js
- https://bugs.webkit.org/show_bug.cgi?id=115849
</del><ins>+2014-03-10 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro.
</del><ins>+ Generalize unobscured rect to all ports
+ https://bugs.webkit.org/show_bug.cgi?id=130036
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * inspector/front-end/Settings.js:
- (WebInspector.Settings):
</del><ins>+ iOS differentiates visible content and unobscured content. This patch moves the concept to all
+ ports to remove the #ifdefs from the call sites.
</ins><span class="cx">
</span><del>-2013-05-08 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ On everything but iOS, unobscuredRect and visibleRect are the same.
</ins><span class="cx">
</span><del>- SecurityOrigin doesn’t need to forward declare or include Document
- https://bugs.webkit.org/show_bug.cgi?id=115847
</del><ins>+ * WebCore.exp.in:
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::innerHeight):
+ (WebCore::DOMWindow::innerWidth):
+ * page/SpatialNavigation.cpp:
+ (WebCore::canScrollInDirection):
+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::updateScrollbars):
+ (WebCore::ScrollView::paint):
+ * platform/ScrollView.h:
+ (WebCore::ScrollView::unobscuredContentRectIncludingScrollbars):
+ (WebCore::ScrollView::unobscuredContentRect):
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::viewportSize):
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+2014-03-10 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/fc7a88caa9c41f3471d8994a530643e5225f82fc.
</del><ins>+ Start splitting CSS Selectors's pseudo types
+ https://bugs.webkit.org/show_bug.cgi?id=130003
</ins><span class="cx">
</span><del>- Removed unused Document forward declaration+include from SecurityOrigin.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * page/SecurityOrigin.cpp:
- * page/SecurityOrigin.h:
</del><ins>+ CSS Selectors pseudo types come in 3 flavors: page, pseudo class, pseudo elements.
</ins><span class="cx">
</span><del>-2013-05-08 David Kilzer <ddkilzer@apple.com>
</del><ins>+ The three types are mixed together in a single enum list named PseudoType. Only some combinations
+ of match type + pseudo type are valid, but this is implicitly defined from the code.
</ins><span class="cx">
</span><del>- BUILD FIX: Don't use adoptCF() with NSDictionary * object
</del><ins>+ This patch is the beginning of a refactoring to add more clear boundaries between
+ valid and invalid combinations.
</ins><span class="cx">
</span><del>- Fixes the following build failure:
</del><ins>+ First, the handling of page pseudo types is completely split from the other values.
+ The parser use a different method for handling the value CSSParserSelector::parsePagePseudoSelector().
</ins><span class="cx">
</span><del>- In file included from Source/WebCore/platform/network/mac/ResourceErrorMac.mm:27:
- In file included from Source/WebCore/platform/network/cf/ResourceError.h:31:
- /usr/local/include/wtf/RetainPtr.h:81:13: error: static_assert failed "Don't use adoptCF with Objective-C pointer types, use adoptNS."
- static_assert(!std::is_convertible<T, id>::value, "Don't use adoptCF with Objective-C pointer types, use adoptNS.");
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/wtf/RetainPtr.h:274:16: note: in instantiation of member function 'WTF::RetainPtr<NSDictionary *>::RetainPtr' requested here
- return RetainPtr<T>(AdoptCF, o);
- ^
- Source/WebCore/platform/network/mac/ResourceErrorMac.mm:214:44: note: in instantiation of function template specialization 'WTF::adoptCF<NSDictionary *>' requested here
- RetainPtr<NSDictionary> userInfo = adoptCF((NSDictionary *) CFErrorCopyUserInfo(error));
- ^
- 1 error generated.
</del><ins>+ PagePseudo types no longer store their string in the CSSSelector either to reduce the redundancy
+ with m_pseudoType.
+ When we need to generate the string for those CSSSelector, we recreate the string as needed in
+ CSSSelector::selectorText().
</ins><span class="cx">
</span><del>- * platform/network/mac/ResourceErrorMac.mm:
- (WebCore::ResourceError::nsError): Switch from adoptCF() to
- adoptNS(). This is in USE(CFNETWORK) code, so it's not
- exercised on the Mac.
</del><ins>+ The remaining two types are not yet split in this patch but this introduce the preliminary clean up
+ toward that goal.
+ The list of parsed pseudo types is now generated at compile time from the source in SelectorPseudoTypeMap.in.
</ins><span class="cx">
</span><del>-2013-05-08 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * DerivedSources.make:
+ The mapping of strings to pseudo types is generated from SelectorPseudoTypeMap.in
+ by the new script makeSelectorPseudoTypeMap.py.
</ins><span class="cx">
</span><del>- Remove Editor::setSelectionOffsets
- https://bugs.webkit.org/show_bug.cgi?id=115831
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ * css/CSSGrammar.y.in:
+ Split the parsing of Pseudo Types. Pseudo page get its own method. The others will need some work.
</ins><span class="cx">
</span><ins>+ * css/CSSParserValues.cpp:
+ (WebCore::CSSParserSelector::parsePagePseudoSelector):
+ (WebCore::CSSParserSelector::setPseudoTypeValue):
+ * css/CSSParserValues.h:
+ * css/CSSSelector.cpp:
+ (WebCore::CSSSelector::specificityForPage):
+ This is an example of invalid combination that is hidden by the current code.
+ First, Left and Right could never appear in a pseudo class match.
+ (WebCore::CSSSelector::pseudoId):
+ (WebCore::CSSSelector::parsePseudoType):
+ (WebCore::appendPseudoTypeTailIfNecessary):
+ (WebCore::CSSSelector::selectorText):
+ * css/CSSSelector.h:
+ (WebCore::CSSSelector::pseudoType):
+ (WebCore::CSSSelector::matchesPseudoElement):
+ (WebCore::CSSSelector::setValue):
+ (WebCore::CSSSelector::CSSSelector):
+ * css/PageRuleCollector.cpp:
+ (WebCore::checkPageSelectorComponents):
+ * css/SelectorChecker.cpp:
+ (WebCore::SelectorChecker::checkOne):
+ * css/SelectorPseudoTypeMap.h: Added.
+ * css/SelectorPseudoTypeMap.in: Added.
+ * css/makeSelectorPseudoTypeMap.py: Added.
+ (enumerablePseudoType):
+ (expand_ifdef_condition):
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::addPseudoType):
+
+2014-03-10 Enrica Casucci <enrica@apple.com>
+
+ iOS build fix after http://trac.webkit.org/changeset/165385
+
+ Unreviewed.
+
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper arrayOfTextForTextMarkers:attributed:]):
+
+2014-03-10 Daniel Bates <dabates@apple.com>
+
+ REGRESSION (r159218): FrameView::layout() should destroy TemporaryChange<LayoutPhase>
+ before destroying Ref<FrameView>
+ https://bugs.webkit.org/show_bug.cgi?id=130034
+ <rdar://problem/15664288>
+
+ Reviewed by Alexey Proskuryakov.
+
+ We should always destroy TemporaryChange<LayoutPhase> before destroying Ref<FrameView>
+ in FrameView::layout() so as to ensure that the FrameView exists when we restore the
+ original layout phase value.
+
+ The existing test fast/frames/crash-remove-iframe-during-object-beforeload.html covers
+ this change. Although you must run the test with Guard Malloc enabled (i.e. run-webkit-tests -r).
+
+ * page/FrameView.cpp:
+ (WebCore::FrameView::layout): Move construction of variable protect before the construction of
+ variable layoutPhaseRestorer. Additionally, add a period to the end of the comment associated
+ with variable protect.
+
+2014-03-10 Zsolt Borbely <borbezs@inf.u-szeged.hu>
+
+ ASSERTION FAILED: span >= 1
+ https://bugs.webkit.org/show_bug.cgi?id=129148
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Removed the function added in r120985 for Chromium Android port.
</del><ins>+ Set the value of span to 1 if the given number is too big or zero.
</ins><span class="cx">
</span><del>- * editing/Editor.cpp:
- * editing/Editor.h:
</del><ins>+ Test: fast/table/incorrect-colgroup-span-values.html
</ins><span class="cx">
</span><del>-2013-05-07 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * html/HTMLTableColElement.cpp:
+ (WebCore::HTMLTableColElement::parseAttribute):
</ins><span class="cx">
</span><del>- Potential use-after-free of Frame
- https://bugs.webkit.org/show_bug.cgi?id=115774
</del><ins>+2014-03-10 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ [Win] Pass environment to Pre-Build, Pre-Link, and Post-Build Stages.
+ https://bugs.webkit.org/show_bug.cgi?id=130023.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/c5b4a6db82e8280c7fc55ee3dc3a84c6b026e66e.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- * page/Frame.cpp:
- (WebCore::Frame::setPrinting):
- (WebCore::Frame::setPageAndTextZoomFactors):
- (WebCore::Frame::deviceOrPageScaleFactorChanged):
</del><ins>+ * WebCore.vcxproj/WebCore.proj: Avoid trailing slashes in path values to
+ prevent escaping during later string substitution.
</ins><span class="cx">
</span><del>-2013-05-08 Roger Fong <roger_fong@apple.com>
</del><ins>+2014-03-10 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- Unreviewed build fix, AppleWin port.
</del><ins>+ [CSS Regions] Hit-testing is not working properly inside scrollable regions
+ https://bugs.webkit.org/show_bug.cgi?id=130015
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation):
- (WebCore::MediaPlayerPrivateAVFoundation::seek):
- (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):
- (WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification):
- (WebCore):
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
- (MediaPlayerPrivateAVFoundation):
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>-2013-05-08 Xingnan Wang <xingnan.wang@intel.com>
</del><ins>+ When hit-testing inside the flow thread's layer, the scrolled offset
+ of the current region must be taken into consideration.
</ins><span class="cx">
</span><del>- Heap-use-after-free in WebCore::AudioNodeOutput::pull
- https://bugs.webkit.org/show_bug.cgi?id=111362
</del><ins>+ Test: fast/regions/scrollable-regions-hit-testing-inside.html
</ins><span class="cx">
</span><del>- Reviewed by Chris Rogers.
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::calculateClipRects):
</ins><span class="cx">
</span><del>- * Modules/webaudio/AudioBuffer.cpp:
- (WebCore::AudioBuffer::createFromAudioFileData):
- * Modules/webaudio/AudioNodeInput.cpp:
- (WebCore::AudioNodeInput::AudioNodeInput):
- (WebCore::AudioNodeInput::updateInternalBus):
- * Modules/webaudio/AudioNodeInput.h:
- (AudioNodeInput):
- * Modules/webaudio/AudioNodeOutput.cpp:
- (WebCore::AudioNodeOutput::AudioNodeOutput):
- (WebCore::AudioNodeOutput::updateInternalBus):
- (WebCore::AudioNodeOutput::pull):
- (WebCore::AudioNodeOutput::bus):
- * Modules/webaudio/AudioNodeOutput.h:
- (AudioNodeOutput):
- * Modules/webaudio/OfflineAudioDestinationNode.cpp:
- (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode):
- * Modules/webaudio/OfflineAudioDestinationNode.h:
- (OfflineAudioDestinationNode):
- * platform/audio/AudioBus.cpp:
- (WebCore::AudioBus::createBufferFromRange):
- (WebCore::AudioBus::createBySampleRateConverting):
- (WebCore::AudioBus::createByMixingToMono):
- * platform/audio/AudioBus.h:
- (AudioBus):
- * platform/audio/AudioFileReader.h:
- (WebCore):
- * platform/audio/AudioResampler.cpp:
- (WebCore::AudioResampler::AudioResampler):
- (WebCore::AudioResampler::configureChannels):
- * platform/audio/AudioResampler.h:
- (AudioResampler):
- * platform/audio/HRTFElevation.cpp:
- (WebCore::getConcatenatedImpulseResponsesForSubject):
- (WebCore::HRTFElevation::calculateKernelsForAzimuthElevation):
- * platform/audio/MultiChannelResampler.cpp:
- * platform/audio/Reverb.cpp:
- (WebCore::Reverb::initialize):
- * platform/audio/Reverb.h:
- (Reverb):
- * platform/audio/efl/AudioBusEfl.cpp:
- (WebCore::AudioBus::loadPlatformResource):
- * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
- (AudioFileReader):
- (WebCore::AudioFileReader::createBus):
- (WebCore::createBusFromAudioFile):
- (WebCore::createBusFromInMemoryAudioFile):
- * platform/audio/gtk/AudioBusGtk.cpp:
- (WebCore::AudioBus::loadPlatformResource):
- * platform/audio/mac/AudioBusMac.mm:
- (WebCore::AudioBus::loadPlatformResource):
- * platform/audio/mac/AudioFileReaderMac.cpp:
- (WebCore::AudioFileReader::createBus):
- (WebCore::createBusFromAudioFile):
- (WebCore::createBusFromInMemoryAudioFile):
- * platform/audio/mac/AudioFileReaderMac.h:
- (AudioFileReader):
- * platform/audio/qt/AudioBusQt.cpp:
- (WebCore::AudioBus::loadPlatformResource):
</del><ins>+2014-03-10 Hans Muller <hmuller@adobe.com>
</ins><span class="cx">
</span><del>-2013-05-08 Eli Fidler <efidler@blackberry.com>
</del><ins>+ [CSS Shapes] SVG Image valued shape fails if root element's size is relative
+ https://bugs.webkit.org/show_bug.cgi?id=128983
</ins><span class="cx">
</span><del>- [BlackBerry] Fix usage of BlackBerry::Platform::String
- https://bugs.webkit.org/show_bug.cgi?id=115781
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ When creating a shape based on an Image, compute its dimensions using
+ RenderBoxModelObject::calculateImageIntrinsicDimensions(), then set the
+ ImageResource's containerSize, and then use imageForRenderer() to get the
+ image to be drawn. The first step resolves SVG Image relative sizes, the
+ second step creates and caches an SVGImageForContainer with the correct
+ containerSize, and the last step retrieves the SVGImageForContainer.
</ins><span class="cx">
</span><del>- BlackBerry PRs 304193 and 327181
- Internally Reviewed by Mike Lattanzio, Arvid Nilsson, Joe Mason, Jeff Rogers, and George Staikos
</del><ins>+ Test: fast/shapes/shape-outside-floats/shape-outside-relative-size-svg.html
</ins><span class="cx">
</span><del>- We currently have a problem where we're passing UTF-8 encoded data into
- the char* constructors of BlackBerry::Platform::String. This means the string
- thinks its data is not UTF-8.
</del><ins>+ * rendering/RenderBoxModelObject.h: Publicized calculateImageIntrinsicDimensions() and its enum.
+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createRasterShape):
+ * rendering/shapes/Shape.h:
+ * rendering/shapes/ShapeInfo.cpp:
+ (WebCore::getShapeImageAndRect):
+ (WebCore::ShapeInfo<RenderType>::computedShape):
</ins><span class="cx">
</span><del>- * platform/blackberry/ClipboardBlackBerry.cpp:
- (WebCore::ClipboardBlackBerry::setData):
- (WebCore::ClipboardBlackBerry::writeURL):
- (WebCore::ClipboardBlackBerry::writePlainText):
- * platform/blackberry/CookieManager.cpp:
- (WebCore::CookieManager::getRawCookies):
- (WebCore::CookieManager::getBackingStoreCookies):
- * platform/blackberry/CookieParser.cpp:
- (WebCore::CookieParser::CookieParser):
- (WebCore::CookieParser::parseOneCookie):
- * platform/blackberry/CursorBlackBerry.cpp:
- (WebCore::Cursor::Cursor):
- * platform/blackberry/PlatformBlob.cpp:
- (WebCore::PlatformBlob::nextDataItem):
- * platform/blackberry/WorkerAsyncFileSystemBlackBerry.cpp:
- (WebCore::WorkerAsyncFileSystemBlackBerry::openFileSystemOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::deleteFileSystemOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::moveOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::copyOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::removeOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::removeRecursivelyOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::readMetadataOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::createFileOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::createDirectoryOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::fileExistsOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::directoryExistsOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::readDirectoryOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::createWriterOnMainThread):
- (WebCore::WorkerAsyncFileSystemBlackBerry::createSnapshotFileAndReadMetadataOnMainThread):
- * platform/graphics/blackberry/ImageBlackBerry.cpp:
- (WebCore::Image::loadPlatformResource):
- * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
- (WebCore::MediaPlayerPrivate::load):
- (WebCore::MediaPlayerPrivate::notifyChallengeResult):
- (WebCore::toWebMediaStreamSource):
- (WebCore::toWebMediaStreamDescriptor):
- * platform/network/blackberry/NetworkManager.cpp:
- (WebCore::NetworkManager::startJob):
- * platform/network/blackberry/SocketStreamHandleBlackBerry.cpp:
- (WebCore::SocketStreamHandle::SocketStreamHandle):
- * platform/network/blackberry/rss/RSSFilterStream.cpp:
- (WebCore::RSSFilterStream::notifyStatusReceived):
- (WebCore::RSSFilterStream::notifyHeadersReceived):
- (WebCore::RSSFilterStream::convertContentToHtml):
- (WebCore::RSSFilterStream::charset):
- (WebCore::RSSFilterStream::removeHeader):
- (WebCore::RSSFilterStream::updateHeader):
- (WebCore::RSSFilterStream::updateRSSHeaders):
- * platform/network/blackberry/rss/RSSFilterStream.h:
- * platform/text/blackberry/StringBlackBerry.cpp:
- (WTF::String::operator BlackBerry::Platform::String):
</del><ins>+2014-03-10 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>-2013-05-08 Anders Carlsson <andersca@apple.com>
</del><ins>+ TextIterator: Use StringView and references rather than pointers
+ https://bugs.webkit.org/show_bug.cgi?id=129975
</ins><span class="cx">
</span><del>- Assert at compile time that we don't pass Objective-C object pointers to adoptCF
- https://bugs.webkit.org/show_bug.cgi?id=115823
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ TextIterator refinements:
+ - Use StringView instead of deprecatedCharacters to point to characters within strings.
+ - Added TextIteratorCopyableText, a safe way to copy the current text of a TextIterator,
+ for use by WordAwareIterator.
+ - Removed m_shouldStop; iterators stop by setting m_positionNode to null, and there is no
+ need for a separate boolean to do the same thing.
+ - Got rid of all the boolean data members set based on the text iterator behavior; instead
+ store the behavior in a data member and check it directly.
+ - Changed most functions to use references rather than pointers.
+ - Small micro-optimizations, such as using fastGetAttribute rather than getAttribute.
+ - Switched to nullptr instead of 0 where appropriate.
+ - Removed unused functions.
+ - Cut down on use of abbreviations instead of words.
+ - Renamed data members and argument names for clarity.
+ - Split up assertions that needlessly asserted more than one thing in a single expression.
+ - Treat CDATASection just like other Text, since its text will be visible.
</ins><span class="cx">
</span><del>- * platform/graphics/ca/mac/TileController.mm:
- (WebCore::TileController::TileController):
- Use adoptNS for CALayer.
</del><ins>+ * editing/Editor.cpp:
+ (WebCore::Editor::advanceToNextMisspelling): Pass reference rather than pointer.
+ (WebCore::Editor::rangeOfString): Ditto.
+ (WebCore::Editor::countMatchesForText): Ditto.
+ * editing/TextCheckingHelper.cpp:
+ (WebCore::TextCheckingHelper::findFirstMisspelling): Ditto.
</ins><span class="cx">
</span><del>-2013-05-08 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ * editing/TextIterator.cpp:
+ (WebCore::depthCrossingShadowBoundaries): Take a reference rather than a pointer.
+ (WebCore::nextInPreOrderCrossingShadowBoundaries): Ditto.
+ (WebCore::fullyClipsContents): Ditto.
+ (WebCore::ignoresContainerClip): Ditto.
+ (WebCore::pushFullyClippedState): Ditto.
+ (WebCore::setUpFullyClippedStack): Ditto.
+ (WebCore::isRendererReplacedElement): Use references rather than pointers in the
+ implementation. Also use fastGetAttribute instead of getAttribute.
+ (WebCore::TextIteratorCopyableText::reset): Added.
+ (WebCore::TextIteratorCopyableText::set): Added.
+ (WebCore::TextIteratorCopyableText::appendToStringBuilder): Added.
+ (WebCore::TextIterator::TextIterator): Use more initialization rather than assignment.
+ Got rid of some local variables.
+ (WebCore::TextIterator::advance): Removed the m_shouldStop boolean, uneeded.
+ Many other improvements. Use isTextNode instead of nodeType.
+ (WebCore::hasVisibleTextNode): Changed this into a file-private helper function
+ instead of a member function.
+ (WebCore::TextIterator::handleTextNode): Used references and cut down on type casts.
+ Gave local variables clearer names.
+ (WebCore::TextIterator::handleTextBox): More of the same.
+ (WebCore::TextIterator::handleTextNodeFirstLetter): Ditto.
+ (WebCore::TextIterator::handleReplacedElement): Ditto.
+ (WebCore::shouldEmitTabBeforeNode): Ditto.
+ (WebCore::hasHeaderTag): Added.
+ (WebCore::shouldEmitNewlinesBeforeAndAfterNode): More of the same.
+ (WebCore::shouldEmitNewlineAfterNode): Ditto.
+ (WebCore::shouldEmitNewlineBeforeNode): Ditto.
+ (WebCore::shouldEmitExtraNewlineForNode): Ditto.
+ (WebCore::collapsedSpaceLength): Use StringImpl directly instead of using the
+ deprecatedCharacters function.
+ (WebCore::TextIterator::shouldRepresentNodeOffsetZero): More like above.
+ (WebCore::TextIterator::shouldEmitSpaceBeforeAndAfterNode): Ditto.
+ (WebCore::TextIterator::representNodeOffsetZero): Ditto.
+ (WebCore::TextIterator::handleNonTextNode): Ditto.
+ (WebCore::TextIterator::exitNode): Ditto.
+ (WebCore::TextIterator::emitCharacter): Changed to use the new copyable text class
+ instead of managing the single character buffer directly here.
+ (WebCore::TextIterator::emitText): Changed to take a Text& and use the copyable text
+ class. Added a FIXME about a mistake I noticed.
+ (WebCore::TextIterator::range): Streamlined and simplified a bit. Updated data
+ member names to be a bit clearer. This function never returned null before, but there
+ was a code path that looked like it would; I removed that.
+ (WebCore::TextIterator::node): Removed unneeded null checks; the range function will
+ never return a range of null or one with null for a start container.
+ (WebCore::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator): More
+ like above.
+ (WebCore::SimplifiedBackwardsTextIterator::advance): Reorganized a bit and removed
+ m_shouldStop.
+ (WebCore::SimplifiedBackwardsTextIterator::handleTextNode): More of the same.
+ (WebCore::SimplifiedBackwardsTextIterator::handleFirstLetter): Ditto.
+ (WebCore::SimplifiedBackwardsTextIterator::handleReplacedElement): Ditto.
+ (WebCore::SimplifiedBackwardsTextIterator::handleNonTextNode): Ditto.
+ (WebCore::SimplifiedBackwardsTextIterator::exitNode): Ditto.
+ (WebCore::SimplifiedBackwardsTextIterator::emitCharacter): Ditto.
+ (WebCore::SimplifiedBackwardsTextIterator::advanceRespectingRange): Ditto.
+ (WebCore::SimplifiedBackwardsTextIterator::range): Ditto.
+ (WebCore::CharacterIterator::CharacterIterator): Ditto.
+ (WebCore::CharacterIterator::range): Ditto. No need for ASSERT_NO_EXCEPTION.
+ (WebCore::CharacterIterator::advance): Ditto.
+ (WebCore::BackwardsCharacterIterator::BackwardsCharacterIterator): Ditto.
+ (WebCore::BackwardsCharacterIterator::range): Ditto.
+ (WebCore::BackwardsCharacterIterator::advance): Ditto.
+ (WebCore::WordAwareIterator::WordAwareIterator): Ditto.
+ (WebCore::WordAwareIterator::advance): Use copyableText for m_previousText, fixing
+ the FIXME that I wrote in here before.
+ (WebCore::WordAwareIterator::text): Ditto.
+ (WebCore::containsKanaLetters): Changed to quickly return false when the pattern
+ is all Latin-1 rather than expanding to 16-bit just to check.
+ (WebCore::SearchBuffer::SearchBuffer): Iterate the target using the string operator[]
+ instead of using deprecatedCharacters.
+ (WebCore::SearchBuffer::append): Do the folding of quote marks and hyphens one character
+ at a time as we move characters into the buffer instead of in a separate loop.
+ (WebCore::TextIterator::rangeLength): Updated for changes eslwehere.
+ (WebCore::TextIterator::subrange): Ditto.
+ (WebCore::isInsideReplacedElement): Ditto. Also streamlined and removed unneeded null check.
+ (WebCore::TextIterator::rangeFromLocationAndLength): Updated for changes elsewhere and
+ removed unneeded ASSERT_NO_EXCEPTION.
+ (WebCore::plainText): Ditto.
+ (WebCore::collapsedToBoundary): Ditto.
+ (WebCore::findPlainText): Ditto.
</ins><span class="cx">
</span><del>- TextTrackCue should support empty content
- https://bugs.webkit.org/show_bug.cgi?id=115821
</del><ins>+ * editing/TextIterator.h: Changed many functions to take references instead of pointers.
+ Added TextIteratorCopyableText, to represent the current text in a TextIterator in a form
+ that can be safely copied and used after further iteration. Reorganized member functions so
+ they are in the same order in all the classes. Changed TextIterator to use
+ TextIteratorCopyableText. Removed many unused functions, including:
+ - TextIterator::length
+ - TextIterator::deprecatedTextIteratorCharacters
+ - TextIterator::characterAt
+ - SimplifiedBackwardsTextIterator::length
+ - CharacterIterator::length
+ - CharacterIterator::string
+ - WordAwareIterator::length
+ - WordAwareIterator::range
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+ * editing/VisibleSelection.cpp:
+ (WebCore::VisibleSelection::appendTrailingWhitespace): Pass reference rather than pointer.
+ Use text().length() instead of length(). Check atEnd() before using CharacterIterator, since
+ iterator member functions don't work when at the end.
+ * editing/VisibleUnits.cpp:
+ (WebCore::previousBoundary): Ditto.
+ (WebCore::nextBoundary): Ditto.
+ * editing/htmlediting.cpp:
+ (WebCore::visiblePositionForIndexUsingCharacterIterator): Ditto.
+ * page/ios/FrameIOS.mm:
+ (WebCore::Frame::indexCountOfWordPrecedingSelection): Ditto.
+ (WebCore::Frame::wordsInCurrentParagraph): Ditto.
</ins><span class="cx">
</span><del>- Test: media/track/track-cue-empty-text-crash.html
</del><ins>+2014-03-10 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- * html/shadow/MediaControlElements.cpp:
- (WebCore::MediaControlTextTrackContainerElement::updateDisplay): Don't bother trying to render
- cues with no content.
</del><ins>+ [GTK] [CMake] Clean up library linking
+ https://bugs.webkit.org/show_bug.cgi?id=129782
</ins><span class="cx">
</span><del>- * html/track/TextTrackCue.cpp:
- (WebCore::TextTrackCue::getCueAsHTML): Return early if there isn't a node tree.
- (WebCore::TextTrackCue::createCueRenderingTree): Ditto.
- (WebCore::TextTrackCue::determineTextDirection): Ditto.
- (WebCore::TextTrackCue::updateDisplayTree): Return early if there isn't a cue rendering tree.
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>-2013-05-08 Roger Fong <roger_fong@apple.com>
</del><ins>+ * PlatformGTK.cmake: Some files are duplicated on the source list of two convenience
+ libraries. Ensure that they are all compiled into WebCore instead of WebCorePlatformGTK.
+ Some simply need to be moved to WebCore from WebCorePlatformGTK. Don't try to link
+ WebCorePlatformGTK against WebCore -- convenience libraries should be able to save
+ their symbol resolution for the final linking step.
</ins><span class="cx">
</span><del>- Unreviewed AppleWin build fix.
</del><ins>+2014-03-10 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
- (MediaPlayerPrivateAVFoundationCF):
- (WebCore::MediaPlayerPrivateAVFoundationCF::currentTrack):
</del><ins>+ [CSS Regions] Scrolling regions with the mouse wheel only works properly if hovering over the region's padding
+ https://bugs.webkit.org/show_bug.cgi?id=129485
</ins><span class="cx">
</span><del>-2013-05-08 José Dapena Paz <jdapena@igalia.com> and Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- [GTK] Plumb the Automake build system for the Battery Status API feature
- https://bugs.webkit.org/show_bug.cgi?id=115718
</del><ins>+ When searching for the region under the mouse pointer (to identify which region to scroll),
+ the localToAbsolute method must be called on the region container, not the region itself.
+ Also, when calling the offsetFromContainer method on a named flow fragment,
+ it must only take into consideration the border and padding of the fragment container,
+ not its scrolled offset.
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Test: fast/regions/wheel-scrollable-single-region.html
</ins><span class="cx">
</span><del>- No new tests - no new functionality. The feature is not enabled yet, though all the relevant tests
- pass when it is.
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::scroll):
+ * rendering/RenderFlowThread.cpp:
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::offsetFromContainer):
+ * rendering/RenderNamedFlowFragment.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::fragmentFromAbsolutePointAndBox):
+ * rendering/RenderNamedFlowThread.h:
</ins><span class="cx">
</span><del>- * GNUmakefile.am: Add the Modules/battery directory to the list of search paths for header inclusions.
- Include the same directory under the IDL_PATH variable so the IDL files it contains are processed.
- List these IDL files using a wildcard under the EXTRA_DIST list.
- * GNUmakefile.list.am: Add the build targets for the module source files, IDLs and resulting JS bindings.
- * bindings/gobject/GNUmakefile.am: Add the build targets for the GObject DOM bindings.
</del><ins>+2014-03-10 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-08 Roger Fong <roger_fong@apple.com>
</del><ins>+ Remove unused dispatchStorageEvent() from StorageAreaSync
+ https://bugs.webkit.org/show_bug.cgi?id=129999
</ins><span class="cx">
</span><del>- Unreviewed. AppleWin VS2010 build fix.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><ins>+ dispatchStorageEvent() is not used anywhere.
+
+ * storage/StorageAreaSync.h: Remove dispatchStorageEvent().
+
+2014-03-09 Alexey Proskuryakov <ap@apple.com>
+
+ iOS build fix.
+
+ * dom/KeyboardEvent.cpp: (WebCore::KeyboardEvent::KeyboardEvent):
+
+2014-03-06 Alexey Proskuryakov <ap@apple.com>
+
+ [Mac] Don't perform a round-trip through WebProcess before interpreting key events
+ https://bugs.webkit.org/show_bug.cgi?id=129812
+
+ Reviewed by Darin Adler.
+
+ No significant behavior changes expected, except for Esc key processing, which now
+ dispatches a keypress before executing its default action.
+
+ * platform/KeypressCommand.h: Added.
+ (WebCore::KeypressCommand::KeypressCommand):
+ * GNUmakefile.list.am:
</ins><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj:
</span><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj.filters:
</span><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ Moved KeypressCommand from dom/KeyboardEvent.h to its own header, as it needed
+ in platform/ directory now.
</ins><span class="cx">
</span><del>-2013-05-08 Darin Adler <darin@apple.com>
</del><ins>+ * dom/KeyboardEvent.cpp:
+ (WebCore::KeyboardEvent::KeyboardEvent):
+ * dom/KeyboardEvent.h:
+ (WebCore::KeyboardEvent::handledByInputMethod):
+ (WebCore::KeyboardEvent::keypressCommands):
+ * platform/PlatformKeyboardEvent.h:
+ (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
+ (WebCore::PlatformKeyboardEvent::handledByInputMethod):
+ (WebCore::PlatformKeyboardEvent::commands):
+ PlatformKeyboardEvent now carries results of interpreting the event by AppKit. This
+ is logically not much different from carrying charcode, and is similar to what Gtk
+ does for input methods.
+ KeyboardEvent already had keypress commands, which were added to it after construction.
+ It's still possible for WebKit1, while with WebKit2, they are provided at construction
+ time. The event now also has a boolean for whether IM handled it already.
</ins><span class="cx">
</span><del>- REGRESSION(r149700): fast/css-generated-content/close-quote-negative-depth.html
- https://bugs.webkit.org/show_bug.cgi?id=115776
</del><ins>+2014-03-09 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Subpixel rendering: Pass FloatSize boxsize to transform animations to support device pixel sizing.
+ https://bugs.webkit.org/show_bug.cgi?id=129985
</ins><span class="cx">
</span><del>- I changed depth to more closely match what is in the CSS3 specification.
- There may be a more optimal way to make it work, but this seems the most straightforward.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * rendering/RenderQuote.cpp:
- (WebCore::RenderQuote::RenderQuote): Initialize m_depth to -1 because that depth
- is consistent with the empty string that is the initial value of the text. The
- real depth will be calculated when the node is attached.
- (WebCore::RenderQuote::originalText): Removed the "depth - 1" logic that
- used to be done for close quotes. Instead, the updateDepth function now correctly
- subtracts one for the close quote itself, not just afterward. Also added an early
- exit when the depth is negative; these changes together fix the bug.
- (WebCore::RenderQuote::attachQuote): Added a call to updateDepth even for the render
- quote head, we now need that to set the depth either to 0 or to -1.
- (WebCore::RenderQuote::detachQuote): Removed code to set m_depth to 0; if we are not
- resetting the text then m_depth should be left matching the text, otherwise updateDepth
- might not do its job correctly if the quote is later re-attached. What matters is that
- m_depth and the text are in sync.
- (WebCore::RenderQuote::updateDepth): Changed updating logic in two ways. First,
- compute the depth in a local variable rather than computing it in a data member
- after first saving off the old value of the data member. That's clearer style.
- Second, add the code to change negative depths to zero when propagating to the
- next quote in the chain, which matches how the standard is written, and decrement
- the depth of the close quote itself, not the quote after the close quote.
</del><ins>+ This is in preparation to stop passing integral positioned boxes to transform animations.
</ins><span class="cx">
</span><del>-2013-05-08 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ No change in behavior.
</ins><span class="cx">
</span><del>- Prevent crash when track is deleted during video element deletion.
- https://bugs.webkit.org/show_bug.cgi?id=106183
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::addAnimation):
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::getTransformFunctionValue):
+ (WebCore::GraphicsLayerCA::addAnimation):
+ (WebCore::GraphicsLayerCA::appendToUncommittedAnimations):
+ (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
+ (WebCore::GraphicsLayerCA::setTransformAnimationEndpoints):
+ (WebCore::GraphicsLayerCA::setTransformAnimationKeyframes):
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::startTransition):
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+2014-03-08 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Test: media/track/track-remove-crash.html
</del><ins>+ [iOS Wk2] Can't scroll after going back to page in page cache
+ https://bugs.webkit.org/show_bug.cgi?id=129989
+ <rdar://problem/16217588>
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::removedFrom): Set m_inActiveDocument to false so we
- do not process text track cues or dispatch related events.
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>-2013-05-08 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ iOS has a special FrameLoader::forceLayoutWithoutRecalculatingStyle()
+ function that is called instead of FrameView::forceLayout(). This was unimplemented
+ for the WK2 FrameLoaderClient, so no layout was forced, with the result
+ that the contentSize was never updated and scrolling was broken.
+
+ Fix by renaming the client function to forceLayoutOnRestoreFromPageCache()
+ and having it return a bool to say whether the default forceLayout()
+ should be done. WK1 can then continue to have its custom behavior,
+ and Wk2 will simply do a forceLayout().
+
+ Also remove FrameLaoderClient::forceLayout(), which was never called.
</ins><span class="cx">
</span><del>- [Mac] Unreviewed buildfix after r149741.
</del><ins>+ * loader/EmptyClients.h:
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::commitProvisionalLoad):
+ * loader/FrameLoaderClient.h:
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::setClosedCaptionsVisible):
</del><ins>+2014-03-08 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-05-08 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ [iOS WK2] Get position:fixed working slighlty better
+ https://bugs.webkit.org/show_bug.cgi?id=129988
</ins><span class="cx">
</span><del>- [Mac] Inband text tracks are not in track menu on Lion
- https://bugs.webkit.org/show_bug.cgi?id=115740
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ On iOS we want to use the viewport-constrained visible rect, not
+ just the visible rect.
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ * page/scrolling/AsyncScrollingCoordinator.cpp:
+ (WebCore::AsyncScrollingCoordinator::frameViewLayoutUpdated):
</ins><span class="cx">
</span><ins>+2014-03-07 Simon Fraser <simon.fraser@apple.com>
+
+ [iOS] Don't call scrollOffsetForFixedPosition a second time if we have no header and footer layers
+ https://bugs.webkit.org/show_bug.cgi?id=129912
+
+ Reviewed by Tim Horton.
+
+ Avoid extra work if we have no header or footer layers.
+
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm:
+ (WebCore::ScrollingTreeScrollingNodeIOS::setScrollLayerPosition):
+
+2014-03-08 Zalan Bujtas <zalan@apple.com>
+
+ RenderElement::valueForLength() callers misuse bool parameter.
+ https://bugs.webkit.org/show_bug.cgi?id=129982
+
+ Reviewed by Andreas Kling.
+
+ Remove bogus RenderView* parameter.
+
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::computePercentageLogicalHeight):
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::repaintAfterLayoutIfNeeded):
+
+2014-03-08 Jeremy Jones <jeremyj@apple.com>
+
+ Allow media element to supply the video layer after fullscreen transition has already begun.
+ https://bugs.webkit.org/show_bug.cgi?id=129870
+
+ Reviewed by Eric Carlson.
+
+ Instead of borrowing the videolayer from the HTMLMediaElement, WebVideoFullscreen now supplies a layer to HTMLMediaElement to fill in as needed and at the appropriate time.
+
+ This allows fullscreen even if the video layer hasn't yet been created. And in the future it allows MediaPlayer to supply other layers such as closed captions.
+
+ * WebCore.exp.in:
+ Remove exports related to borrowing and lend the video layer.
+ Add exports for supplying a layer to fullscreen and keepying the frame and gravity properties in sync.
+
</ins><span class="cx"> * html/HTMLMediaElement.cpp:
</span><del>- (WebCore::HTMLMediaElement::HTMLMediaElement): Remove m_legacyWebKitClosedCaptionsVisible.
- (WebCore::HTMLMediaElement::setClosedCaptionsVisible): Set m_closedCaptionsVisible
- to false immediately, it will be reset to the appropriate value if necessary.
- (WebCore::HTMLMediaElement::setWebkitClosedCaptionsVisible): Remove m_legacyWebKitClosedCaptionsVisible.
- (WebCore::HTMLMediaElement::webkitClosedCaptionsVisible): Remove m_legacyWebKitClosedCaptionsVisible.
</del><ins>+ Remove the concept of borrowing the platform layer.
+ Add the concept of a supplied m_videoFullscreenLayer, into which the media player can add layers.
+ When the m_videoFullscreenFrame is supplied, don't show the video layer inline any more.
+ Stash video layer properties in case the media player is not yet created.
+
+ (WebCore::HTMLMediaElement::HTMLMediaElement):
+ Initialize gravity to the default. Remove m_platformLayerBorrowed.
+
+ (WebCore::HTMLMediaElement::platformLayer):
+ When we have a m_videoFullscreenLayer, don't show video inline.
+
+ (WebCore::HTMLMediaElement::setVideoFullscreenLayer):
+ Pass along the m_videoFullscreenLayer to the MediaPlayer if available or just stash it for later.
+
+ (WebCore::HTMLMediaElement::createMediaPlayer):
+ Pass along video fullscreen properties that we may have accumulated before the MediaPlayer was created.
+
+ (WebCore::HTMLMediaElement::setVideoFullscreenGravity):
+ Stash the gravity property, pass it along to the media player if possible.
+
</ins><span class="cx"> * html/HTMLMediaElement.h:
</span><ins>+ Remove concept of borrowing the video layer. Add properties for a supplied videoFullscreenLayer.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: Remove
- HAVE(AVFOUNDATION_TEXT_TRACK_SUPPORT) requirement. AVFOUNDATION_TEXT_TRACK_SUPPORT ->
- AVFOUNDATION_MEDIA_SELECTION_GROUP
- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: Ditto.
</del><ins>+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::setVideoFullscreenLayer):
+ Forward on to internal implementation.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundation::seek): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundation::trackModeChanged): Ditto.
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: Ditto.
</del><ins>+ (WebCore::MediaPlayer::setVideoFullscreenFrame):
+ Forward on to internal implementation.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h: Ditto.
- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm:
- (WebCore::InbandTextTrackPrivateLegacyAVFObjC::kind): Don't look at media characteristics,
- a legacy CC track is always Captions.
- (WebCore::InbandTextTrackPrivateLegacyAVFObjC::isClosedCaptions): Ditto.
- (WebCore::InbandTextTrackPrivateLegacyAVFObjC::containsOnlyForcedSubtitles): Ditto.
- (WebCore::InbandTextTrackPrivateLegacyAVFObjC::isMainProgramContent): Ditto.
- (WebCore::InbandTextTrackPrivateLegacyAVFObjC::isEasyToRead): Ditto.
- (WebCore::InbandTextTrackPrivateLegacyAVFObjC::label): Use different AVFoundation API on 10.7.
</del><ins>+ (WebCore::MediaPlayer::setVideoFullscreenGravity):
+ Forward on to internal implementation.
+
+ * platform/graphics/MediaPlayer.h:
+ Add methods for video fullscreen Layer, Frame and Gravity.
+
+ * platform/graphics/MediaPlayerPrivate.h:
+ (WebCore::MediaPlayerPrivateInterface::setVideoFullscreenLayer):
+ Add default implementation.
+
+ (WebCore::MediaPlayerPrivateInterface::setVideoFullscreenFrame):
+ Add default implementation.
+
+ (WebCore::MediaPlayerPrivateInterface::setVideoFullscreenGravity):
+ Add default implementation.
+
</ins><span class="cx"> * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
</span><ins>+ Add support for fullscreen video layer, frame and gravity.
</ins><span class="cx">
</span><span class="cx"> * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
</span><del>- (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC): AVFOUNDATION_TEXT_TRACK_SUPPORT ->
- AVFOUNDATION_MEDIA_SELECTION_GROUP.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::cancelLoad): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::setClosedCaptionsVisible): Do nothing. AVFOUNDATION_TEXT_TRACK_SUPPORT ->
- AVFOUNDATION_MEDIA_SELECTION_GROUP.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): Support legacy CC tracks
- only on 10.8. AVFOUNDATION_TEXT_TRACK_SUPPORT -> AVFOUNDATION_MEDIA_SELECTION_GROUP
- (WebCore::MediaPlayerPrivateAVFoundationObjC::processLegacyClosedCaptionsTracks): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTrack): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::languageOfPrimaryAudioTrack): AVFOUNDATION_TEXT_TRACK_SUPPORT ->
- AVFOUNDATION_MEDIA_SELECTION_GROUP
</del><ins>+ (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC):
+ Init m_videoFullscreenGravity.
</ins><span class="cx">
</span><del>-2013-05-08 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoLayer):
+ Apply cached properties once video layer is created and add to the fullscreen layer.
</ins><span class="cx">
</span><del>- Allow blank spaces before colon (:) on CSS variable definition
- https://bugs.webkit.org/show_bug.cgi?id=115802
</del><ins>+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenLayer):
+ Cache the property value. Add video layer right away available.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenFrame):
+ Cache the property value. Apply to video layer right away if available.
</ins><span class="cx">
</span><del>- Test: css3/css-variable-definition.html
</del><ins>+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenGravity):
+ Cache the property value. Apply to video layer right away if available.
</ins><span class="cx">
</span><del>- Modified the grammar to allow blank spaces before the colon on CSS
- variable definitions.
</del><ins>+ * platform/ios/WebVideoFullscreenControllerAVKit.mm:
+ Supply a fullscreen video layer to the WebVideoFullscreenModel and to the WebVideoFullscreenInterface.
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+ (-[WebVideoFullscreenController enterFullscreen:]):
+ Supply a fullscreen video layer to the WebVideoFullscreenModel and to the WebVideoFullscreenInterface.
</ins><span class="cx">
</span><del>-2013-05-08 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
</del><ins>+ (-[WebVideoFullscreenController didExitFullscreen]):
+ Clean up the videoFullscreenLayer.
</ins><span class="cx">
</span><del>- [GStreamer] Does memory buffering even with preload set to none
- https://bugs.webkit.org/show_bug.cgi?id=115754
</del><ins>+ * platform/ios/WebVideoFullscreenInterface.h:
+ Remove methods related to lending the video layer.
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+ Rename WebAVPlayer layer to WebAVVideoLayer to match the AVKit name.
+ Remove functions related to lending the video layer.
+ Supply a layer directly to enterFullscreen.
</ins><span class="cx">
</span><del>- Covered by existing tests.
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (+[WebAVVideoLayer videoLayer]):
+ Rename WebAVPlayer layer to WebAVVideoLayer to match the AVKit name.
</ins><span class="cx">
</span><del>- Revision 148840 fixed on-disk buffering being done when preload is set to none,
- but memory buffering is still being done. That is because setting the state to
- paused causes GStreamer to start loading the media, to gather information. Only
- doing that when committing the load avoids that while maintaining the tested
- behaviour unchanged.
</del><ins>+ (-[WebAVVideoLayer setPlayerController:]):
+ Store the AVPlayerController to prevent AVKit's default behavior.
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
- (WebCore::MediaPlayerPrivateGStreamer::load): move setting pause state to commitLoad.
- (WebCore::MediaPlayerPrivateGStreamer::commitLoad): see above.
</del><ins>+ (-[WebAVVideoLayer setBounds:]):
+ Forward this onto the WebVideoFullscreenModel
</ins><span class="cx">
</span><del>-2013-05-08 Andreas Kling <akling@apple.com>
</del><ins>+ (-[WebAVVideoLayer setVideoLayerGravity:]):
+ Forward this onto the WebVideoFullscreenModel
</ins><span class="cx">
</span><del>- SVGStyledElement::getPresentationAttribute() does not need to be virtual.
</del><ins>+ (-[WebAVVideoLayer videoLayerGravity]):
+ Forward this onto the WebVideoFullscreenModel
</ins><span class="cx">
</span><del>- From Blink r149888 by <cevans@chromium.org>
- <http://src.chromium.org/viewvc/blink?view=revision&revision=149888>
</del><ins>+ (WebVideoFullscreenInterfaceAVKit::enterFullscreen):
+ Supply a video layer directly instead of relying on one being previously loaned.
</ins><span class="cx">
</span><del>- * svg/SVGStyledElement.h:
</del><ins>+ (WebVideoFullscreenInterfaceAVKit::exitFullscreen):
+ Clean-up now assumes there is a video layer.
</ins><span class="cx">
</span><del>-2013-05-08 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ * platform/ios/WebVideoFullscreenModel.h:
+ Remove methods for borrowing and returning video layers.
+ Add methods for keeping video layer state in sync.
</ins><span class="cx">
</span><del>- Crash when loading link to audio file
- https://bugs.webkit.org/show_bug.cgi?id=115794
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.h:
+ Remove methods for borrowing and returning video layers.
+ Add method for supplying a video fullscreen layer.
+ Add methods for keeping video layer state in sync.
</ins><span class="cx">
</span><del>- Reviewed by Jocelyn Turcotte.
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ (WebVideoFullscreenModelMediaElement::setMediaElement):
+ Handle audio element case by setting hasVideo to false.
</ins><span class="cx">
</span><del>- Do not access a null pointer frame.
</del><ins>+ (WebVideoFullscreenModelMediaElement::setVideoFullscreenLayer):
+ Pass along the video fullscreen layer to the media element.
</ins><span class="cx">
</span><del>- * loader/appcache/ApplicationCacheHost.cpp:
- (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
</del><ins>+ (WebVideoFullscreenModelMediaElement::setVideoLayerFrame):
+ Pass along the video layer frame to the media element.
</ins><span class="cx">
</span><del>-2013-05-08 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ (WebVideoFullscreenModelMediaElement::setVideoLayerGravity):
+ Pass along the video layer gravity to the media element.
</ins><span class="cx">
</span><del>- Remove unused [TransferList] extended attribute
- https://bugs.webkit.org/show_bug.cgi?id=115788
</del><ins>+2014-03-08 Jae Hyun Park <jaepark@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Clean up PlatformLayer.h
+ https://bugs.webkit.org/show_bug.cgi?id=129967
</ins><span class="cx">
</span><del>- Remove [TransferList] extended attribute and corresponding tests as it has no
- effect on the generated JSC bindings.
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ * platform/graphics/PlatformLayer.h:
+ Remove duplicated declaration of PlatformLayer when using TextureMapper.
</ins><span class="cx">
</span><del>- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp:
- * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h:
- (WebDOMTestSerializedScriptValueInterface):
- * bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp:
- * bindings/scripts/test/CPP/WebDOMTestTypedefs.h:
- (WebDOMTestTypedefs):
- * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:
- * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:
- * bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp:
- * bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h:
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
- (WebCore):
- (WebCore::JSTestSerializedScriptValueInterfaceConstructor::finishCreation):
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
- (JSTestSerializedScriptValueInterfacePrototype):
- (JSTestSerializedScriptValueInterfaceConstructor):
- * bindings/scripts/test/JS/JSTestTypedefs.cpp:
- (WebCore):
- * bindings/scripts/test/JS/JSTestTypedefs.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h:
- * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm:
- * bindings/scripts/test/ObjC/DOMTestTypedefs.h:
- * bindings/scripts/test/ObjC/DOMTestTypedefs.mm:
- * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
- * bindings/scripts/test/TestTypedefs.idl:
</del><ins>+2014-03-08 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>-2013-05-08 Dongseong Hwang <dongseong.hwang@intel.com>
</del><ins>+ Subpixel rendering: Simple compositing container layer (isSimpleContainerCompositingLayer) paints to wrong position.
+ https://bugs.webkit.org/show_bug.cgi?id=129861
</ins><span class="cx">
</span><del>- Make optional arguments in CanvasRenderingContext2D match the spec.
- https://bugs.webkit.org/show_bug.cgi?id=115723
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ This patch ensures that both the simple and non-simple cases paint to the same position.
+ Simple compositing container layer codepath needs to take the fractional device pixel offset
+ into account when painting. Without the fractional value, the final paint rounding could push the
+ paint offset to a different position.
+ retina example:
+ compositing top-left: 0px 0px.
+ fractional offset: 0.3px 0.3px
+ painting coords without offseting: 0px 0px
+ with offseting: 0.5px 0.5px
</ins><span class="cx">
</span><del>- WebKit r98985 set many arguments optional although the canvas spec[1] does not
- indicate. So this patch corrects CanvasRenderingContext2D.idl to match the spec.
</del><ins>+ Tests: compositing/hidpi-simple-container-layer-on-device-pixel.html
</ins><span class="cx">
</span><del>- [1] http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/
</del><ins>+ * WebCore.exp.in:
+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::contentsRect):
+ (WebCore::GraphicsLayer::setContentsRect):
+ (WebCore::GraphicsLayer::contentsClippingRect):
+ (WebCore::GraphicsLayer::setContentsClippingRect):
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::setContentsRect):
+ (WebCore::GraphicsLayerCA::setContentsClippingRect):
+ (WebCore::GraphicsLayerCA::updateContentsRects):
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ (WebCore::RenderLayerBacking::updateDirectlyCompositedBackgroundColor):
+ (WebCore::RenderLayerBacking::updateDirectlyCompositedBackgroundImage):
+ (WebCore::RenderLayerBacking::contentOffsetInCompostingLayer):
+ (WebCore::RenderLayerBacking::backgroundBoxForPainting):
+ * rendering/RenderLayerBacking.h:
</ins><span class="cx">
</span><del>- Covered by existing tests:
- canvas/philip/tests/2d.missingargs.html
- fast/canvas/canvas-overloads-strokeRect.html
- inspector/profiler/canvas2d/canvas2d-profiler-capturing-basics.html
</del><ins>+2014-03-08 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>- * html/canvas/CanvasRenderingContext2D.idl:
</del><ins>+ SerializedScriptValue may move Identifiers between worlds
+ https://bugs.webkit.org/show_bug.cgi?id=129979
</ins><span class="cx">
</span><del>-2013-05-08 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Remove unused method and de-virtualize others in Element.h
- https://bugs.webkit.org/show_bug.cgi?id=115770
</del><ins>+ Test: fast/workers/worker-copy-shared-blob-url.html
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Don't use Strings to store blob URLs as String's may be Identifiers
+ and they can only exist in one world/thread at a time.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/c2c2ff9cb69f46f5cc9d289b2bfbdb8ab5bd3e49
</del><ins>+ * Modules/indexeddb/IDBObjectStore.cpp:
+ (WebCore::IDBObjectStore::put):
+ * bindings/js/SerializedScriptValue.cpp:
+ (WebCore::CloneDeserializer::deserializeString):
+ (WebCore::SerializedScriptValue::addBlobURL):
+ (WebCore::SerializedScriptValue::SerializedScriptValue):
+ * bindings/js/SerializedScriptValue.h:
</ins><span class="cx">
</span><del>- The de-virtualization possibilities were noted whilst "FINALizing" the Node
- hierarchy. If a method is successfully marked FINAL but then fails when marked
- OVERRIDE as well, the method by definition does not need to be virtual.
</del><ins>+2014-03-07 Timothy Hatcher <timothy@apple.com>
</ins><span class="cx">
</span><ins>+ Load source maps and their resources asynchronously.
+
+ https://bugs.webkit.org/show_bug.cgi?id=112071
+
+ Reviewed by Joseph Pecoraro.
+
+ * inspector/InspectorPageAgent.cpp:
+ (WebCore::InspectorPageAgent::buildObjectForFrameTree):
+ Honor the hiddenFromInspector flag.
+
+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::InspectorResourceAgent::willSendRequest):
+ (WebCore::InspectorResourceAgent::markResourceAsCached):
+ (WebCore::InspectorResourceAgent::didReceiveResponse):
+ (WebCore::InspectorResourceAgent::didReceiveData):
+ (WebCore::InspectorResourceAgent::didFinishLoading):
+ (WebCore::InspectorResourceAgent::didFailLoading):
+ (WebCore::InspectorResourceAgent::replayXHR):
+ (WebCore::InspectorResourceAgent::loadResource):
+ * inspector/InspectorResourceAgent.h:
+ Honor the hiddenFromInspector flag by keeping track of
+ hidden identifiers in a HashSet.
+
+ * inspector/protocol/Network.json:
+ (Network.loadResource): Added.
+
+ * platform/network/ResourceRequestBase.h:
+ (WebCore::ResourceRequestBase::hiddenFromInspector): Added.
+ (WebCore::ResourceRequestBase::setHiddenFromInspector): Added.
+ (WebCore::ResourceRequestBase::ResourceRequestBase):
+ Add a flag to hide the request from the Inspector.
+
+ * xml/XMLHttpRequest.cpp:
+ (WebCore::XMLHttpRequest::XMLHttpRequest):
+ (WebCore::XMLHttpRequest::sendForInspector): Added.
+ (WebCore::XMLHttpRequest::sendForInspectorXHRReplay): Renamed.
+ (WebCore::XMLHttpRequest::createRequest):
+ * xml/XMLHttpRequest.h:
+ Make Inspector loads allow cross-origins and hide their request
+ from the Inspector itself.
+
+2014-03-07 Tim Horton <timothy_horton@apple.com>
+
+ [WebKit2][iOS] PDF
+ https://bugs.webkit.org/show_bug.cgi?id=129600
+ <rdar://problem/15260216>
+
+ Reviewed by Anders Carlsson.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- * dom/Element.h:
- (WebCore::Element::hasAuthorShadowRoot):
</del><ins>+ * platform/MIMETypeRegistry.cpp:
+ (WebCore::initializeSupportedImageMIMETypes):
+ (WebCore::initializePDFMIMETypes):
+ (WebCore::initializePostScriptMIMETypes):
+ (WebCore::initializeMIMETypeRegistry):
+ (WebCore::MIMETypeRegistry::getPDFMIMETypes):
+ * platform/MIMETypeRegistry.h:
+ Split PDF and PostScript MIME types, so WebKit2 can retrieve just the PDF ones
+ without PostScript included.
</ins><span class="cx">
</span><del>-2013-05-06 Darin Adler <darin@apple.com>
</del><ins>+2014-03-07 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- Use adoptCF and adoptNS in more places
- https://bugs.webkit.org/show_bug.cgi?id=115657
</del><ins>+ Comment in RenderStyle is no longer accurate
+ https://bugs.webkit.org/show_bug.cgi?id=129956
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- This is similar to my last set of changes, but covers code that I missed with
- global replace using the Safari Xcode workspace.
</del><ins>+ RenderStyle::createStyleInheritingFromPseudoStyle was moved from RenderImage. Before it
+ was moved, there was an image-specific comment in the function. However, that comment
+ is both irrelevant to RenderStyle, and incorrect as the function is necessary for
+ RenderQuotes as well.
</ins><span class="cx">
</span><del>- * platform/cf/win/CertificateCFWin.cpp:
- (WebCore::copyCertificateToData):
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformBufferedTimeRanges):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformMinTimeSeekable):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformMaxTimeSeekable):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformMaxTimeLoaded):
- (WebCore::MediaPlayerPrivateAVFoundationCF::totalBytes):
- (WebCore::mimeTypeCache):
- (WebCore::MediaPlayerPrivateAVFoundationCF::tracksChanged):
- (WebCore::MediaPlayerPrivateAVFoundationCF::sizeChanged):
- (WebCore::AVFWrapper::createAssetForURL):
- (WebCore::AVFWrapper::createPlayer):
- (WebCore::AVFWrapper::createPlayerItem):
- (WebCore::AVFWrapper::setAsset):
- (WebCore::AVFWrapper::platformLayer):
- (WebCore::AVFWrapper::createAVCFVideoLayer):
- (WebCore::AVFWrapper::createImageGenerator):
- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm:
- (WebCore::InbandTextTrackPrivateLegacyAVFObjC::language):
- * platform/graphics/ca/win/PlatformCAAnimationWin.cpp:
- (toCACFTimingFunction):
- (PlatformCAAnimation::PlatformCAAnimation):
- (PlatformCAAnimation::setFromValue):
- (PlatformCAAnimation::setToValue):
- (PlatformCAAnimation::setValues):
- (PlatformCAAnimation::setKeyTimes):
- (PlatformCAAnimation::setTimingFunctions):
- * platform/graphics/ca/win/PlatformCALayerWin.cpp:
- (PlatformCALayer::PlatformCALayer):
- (PlatformCALayer::setBackgroundColor):
- (PlatformCALayer::setBorderColor):
- * platform/graphics/ca/win/PlatformCALayerWinInternal.cpp:
- (PlatformCALayerWinInternal::PlatformCALayerWinInternal):
- (PlatformCALayerWinInternal::addTile):
- * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
- (WebCore::WKCACFViewLayerTreeHost::WKCACFViewLayerTreeHost):
- * platform/graphics/gstreamer/PlatformVideoWindowMac.mm:
- (PlatformVideoWindow::PlatformVideoWindow):
- * platform/graphics/win/FontCustomPlatformData.cpp:
- (WebCore::FontCustomPlatformData::fontPlatformData):
- * platform/graphics/win/FontPlatformDataCGWin.cpp:
- (WebCore::getPostScriptName):
- (WebCore::FontPlatformData::platformDataInit):
- * platform/graphics/win/GraphicsContextCGWin.cpp:
- (WebCore::GraphicsContext::drawWindowsBitmap):
- * platform/graphics/win/ImageCGWin.cpp:
- (WebCore::BitmapImage::create):
- * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
- (WebCore::MediaPlayerPrivateFullscreenWindow::setRootChildLayer):
- * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
- (WebCore::MediaPlayerPrivateQuickTimeVisualContext::rfc2616DateStringFromTime):
- (WebCore::QTCFDictionaryCreateWithDataCallback):
- (WebCore::MediaPlayerPrivateQuickTimeVisualContext::retrieveCurrentImage):
- * platform/graphics/win/WKCAImageQueue.cpp:
- (WebCore::WKCAImageQueue::WKCAImageQueue):
- * platform/image-decoders/ImageDecoder.h:
- (WebCore::ImageDecoder::qcmsOutputDeviceProfile):
- * platform/network/cf/AuthenticationCF.cpp:
- (WebCore::core):
- * platform/network/cf/CookieJarCFNet.cpp:
- (WebCore::cookieDomain):
- (WebCore::cookieName):
- (WebCore::cookiePath):
- (WebCore::cookieValue):
- (WebCore::filterCookies):
- (WebCore::setCookiesFromDOM):
- (WebCore::cookiesForDOM):
- (WebCore::cookieRequestHeaderFieldValue):
- (WebCore::getRawCookies):
- (WebCore::deleteCookie):
- (WebCore::getHostnamesWithCookies):
- (WebCore::deleteCookiesForHostname):
- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::certificatePath):
- * platform/win/ClipboardUtilitiesWin.cpp:
- (WebCore::urlFromPath):
- (WebCore::getURL):
- * platform/win/LocalizedStringsWin.cpp:
- (WebCore::createWebKitBundle):
- (WebCore::localizedString):
- * platform/win/SearchPopupMenuWin.cpp:
- (WebCore::SearchPopupMenuWin::saveRecentSearches):
- (WebCore::SearchPopupMenuWin::loadRecentSearches):
- * plugins/mac/PluginPackageMac.cpp:
- (WebCore::stringListFromResourceId):
- (WebCore::PluginPackage::fetchInfo):
- (WebCore::PluginPackage::load):
- * plugins/mac/PluginViewMac.mm:
- (WebCore::PluginView::platformStart):
- * rendering/RenderThemeSafari.cpp:
- (WebCore::RenderThemeSafari::platformFocusRingColor):
- (WebCore::RenderThemeSafari::paintMenuListButtonGradients):
- (WebCore::RenderThemeSafari::paintSliderTrack):
- Use adoptCF and adoptNS throughout.
</del><ins>+ No new tests are necessary because there is no behavior change.
</ins><span class="cx">
</span><del>-2013-05-07 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::createStyleInheritingFromPseudoStyle):
</ins><span class="cx">
</span><del>- Make CanvasStyle's CMYKAValues allocated on the heap and move the pointer in the union.
- https://bugs.webkit.org/show_bug.cgi?id=115764
</del><ins>+2014-03-07 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ [WebRTC] Throw SYNTAX_ERROR when maxRetransmits and maxRetransmitTime are both set in RTCDataChannelInit
+ https://bugs.webkit.org/show_bug.cgi?id=129894
</ins><span class="cx">
</span><del>- CMYKA input is uncommon enough that we should not pay the price for
- every CanvasStyle.
- Make those values heap allocated and put the pointer in the union. Since
- the RGBA32 values are needed for CMYKA, a RGBA32 value is added to the structure.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * html/canvas/CanvasStyle.cpp:
- (WebCore::CanvasStyle::CanvasStyle):
- (WebCore::CanvasStyle::~CanvasStyle):
- (WebCore::CanvasStyle::isEquivalentColor):
- (WebCore::CanvasStyle::isEquivalentCMYKA):
- (WebCore::CanvasStyle::applyStrokeColor):
- (WebCore::CanvasStyle::applyFillColor):
- * html/canvas/CanvasStyle.h:
- (CanvasStyle):
- (CMYKAValues):
- (WebCore::CanvasStyle::CMYKAValues::CMYKAValues):
- (WebCore::CanvasStyle::color):
- (WebCore):
</del><ins>+ Existing test was updated.
</ins><span class="cx">
</span><del>-2013-05-07 Darin Adler <darin@apple.com>
</del><ins>+ * Modules/mediastream/RTCDataChannel.cpp:
+ (WebCore::RTCDataChannel::create):
</ins><span class="cx">
</span><del>- Use OwnPtr instead of deleteAllValues for requests in PluginView
- https://bugs.webkit.org/show_bug.cgi?id=115731
</del><ins>+2014-03-07 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Fix the regression introduced by r165288
+ https://bugs.webkit.org/show_bug.cgi?id=129934
</ins><span class="cx">
</span><del>- * plugins/PluginView.cpp:
- (WebCore::PluginView::~PluginView): Removed the call to deleteAllValues.
- (WebCore::PluginView::requestTimerFired): Use release to remove an OwnPtr
- from m_requests rather than an explicit delete. Also use !isEmpty instead
- of size > 0.
- (WebCore::PluginView::scheduleRequest): Changed argument type to PassOwnPtr.
- (WebCore::PluginView::load): Use adoptPtr to call scheduleRequest.
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>- * plugins/PluginView.h: Changed argument type of scheduleRequest to
- PassOwnPtr, and m_requests to a Vector<OwnPtr>.
</del><ins>+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::scrollX):
+ (WebCore::DOMWindow::scrollY):
+ We need to return the new value after layout, not the value from the dirty tree.
</ins><span class="cx">
</span><del>-2013-05-07 Antti Koivisto <antti@apple.com>
</del><ins>+2014-03-07 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Remove SelectRuleFeatureSet
- https://bugs.webkit.org/show_bug.cgi?id=115757
</del><ins>+ Traversal failure in a direct adjacent chain with tail backtracking lacks the path to clear the tail
+ https://bugs.webkit.org/show_bug.cgi?id=129863
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Reviewed by Gavin Barraclough.
</ins><span class="cx">
</span><del>- This is dead code.
</del><ins>+ Direct adjacent backtracking use the stack to push the backtracking entry point and recover from there.
+ In case of traversal failure, their is no point in recovering from the indirect adjancent entry point and
+ we should clear entry point from the stack (which is the purpose of the tail).
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.exp.in:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * dom/Element.cpp:
- (WebCore::Element::attributeChanged):
- (WebCore):
- (WebCore::Element::didAffectSelector):
- * dom/Element.h:
- (Element):
- * dom/ElementShadow.h:
- (WebCore::ElementShadow::invalidateDistribution):
- * html/shadow/ContentDistributor.cpp:
- (WebCore::ContentDistributor::ContentDistributor):
- (WebCore):
- * html/shadow/ContentDistributor.h:
- (ContentDistributor):
- * html/shadow/InsertionPoint.cpp:
- (WebCore::InsertionPoint::insertedInto):
- (WebCore::InsertionPoint::removedFrom):
- * html/shadow/InsertionPoint.h:
- (InsertionPoint):
- * html/shadow/SelectRuleFeatureSet.cpp: Removed.
- * html/shadow/SelectRuleFeatureSet.h: Removed.
- * testing/Internals.cpp:
- (WebCore):
- * testing/Internals.idl:
</del><ins>+ The adjancent tail was missing the part for clearing the stack in one case.
</ins><span class="cx">
</span><del>-2013-05-07 Anders Carlsson <andersca@apple.com>
</del><ins>+ The case with adjancent backtracking inside descendant backtracing was doing everything right. This patch
+ generalize this code and the correct tail is fully generated by generateAdjacentBacktrackingTail().
</ins><span class="cx">
</span><del>- Store the quotes in the same allocation as the QuotesData object
- https://bugs.webkit.org/show_bug.cgi?id=115768
</del><ins>+ JumpToClearAdjacentDescendantTail becomes JumpToClearAdjacentTail, and this new backtracking state is added
+ to the missing traversal action.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Test: fast/selectors/long-adjacent-backtracking.html
</ins><span class="cx">
</span><del>- Since the QuotesData object is immutable we don't need a Vector to store the quote pairs,
- they can just be stored after the class data.
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::solveBacktrackingAction):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateSelectorChecker):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::linkFailures):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateAdjacentBacktrackingTail):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateBacktrackingTailsIfNeeded):
</ins><span class="cx">
</span><del>- * rendering/style/QuotesData.cpp:
- (WebCore::sizeForQuotesDataWithQuoteCount):
- Helper function for computing the allocation size.
</del><ins>+2014-03-07 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::QuotesData::create):
- Use fastMalloc + placement new.
</del><ins>+ [Mac] Notify system malloc of fake memory pressure.
+ <https://webkit.org/b/129908>
</ins><span class="cx">
</span><del>- (WebCore::QuotesData::QuotesData):
- Use placement new to allocate the quote pairs.
</del><ins>+ After fixing the leak in r165252, I was surprised to find that it didn't
+ show up on memory test bots. It turns out that while the memory is now
+ getting freed, the system malloc implementation doesn't actually release
+ pages back to the OS until there is memory pressure.
</ins><span class="cx">
</span><del>- (WebCore::QuotesData::~QuotesData):
- Destroy the quote pairs.
</del><ins>+ Since we are just faking the memory pressure on bots, we have to let
+ system malloc in on the fun, so we can get representative numbers.
+ With this change, we should finally see the effect of not leaking the
+ URLRequest object tree.
</ins><span class="cx">
</span><del>- (WebCore::QuotesData::openQuote):
- Stop using Vector.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- (WebCore::QuotesData::closeQuote):
- Ditto.
</del><ins>+ * platform/mac/MemoryPressureHandlerMac.mm:
+ (WebCore::MemoryPressureHandler::install):
</ins><span class="cx">
</span><del>- (WebCore::operator==):
- Ditto.
</del><ins>+ Tell system malloc that we are under fake memory pressure.
</ins><span class="cx">
</span><del>- * rendering/style/QuotesData.h:
</del><ins>+2014-03-07 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>-2013-05-07 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ [iOS] WebKit1 scroll position is incorrect
+ https://bugs.webkit.org/show_bug.cgi?id=129905
</ins><span class="cx">
</span><del>- We should not ref() the RefPtr twice in CanvasStyle
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::scrollX):
+ (WebCore::DOMWindow::scrollY):
+ A new optimization was avoiding layout if the position is zero. This was using the scrollX/Y instead
+ of actualScrollX/Y which caused us to always bail out instead of returning the value to JavaScript.
</ins><span class="cx">
</span><del>- * html/canvas/CanvasStyle.cpp:
- (WebCore::CanvasStyle::CanvasStyle):
- We leak the ref of PassRefPtr, we should not ref() it a second time.
</del><ins>+ * platform/ScrollView.h:
+ (WebCore::ScrollView::actualScrollX):
+ (WebCore::ScrollView::actualScrollY):
+ (WebCore::ScrollView::actualScrollPosition):
+ This was accidentally changed to the iOS compat document visible rect at some point.
</ins><span class="cx">
</span><del>-2013-05-07 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-03-07 Adenilson Cavalcanti <cavalcantii@gmail.com>
</ins><span class="cx">
</span><del>- Devirtualize Document class type checking
- https://bugs.webkit.org/show_bug.cgi?id=115755
</del><ins>+ Remove unused StdDeviation from Drop shadow effect
+ https://bugs.webkit.org/show_bug.cgi?id=129891
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/dae5adc768d5ce6bff301df6515745da8ea24950
</del><ins>+ No new tests, no change on behavior.
</ins><span class="cx">
</span><del>- Document has a bunch of virtual bool is*Document() methods on it, but it also has
- two bools for XHTML and HTML documents which is silly. We can merge them all
- together into an enum of values and devirtualize the type checking methods.
</del><ins>+ * platform/graphics/filters/FEDropShadow.h:
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::Document):
- (WebCore::Document::createElement):
- * dom/Document.h:
- (WebCore::Document::create):
- (WebCore::Document::createXHTML):
- (WebCore::Document::isHTMLDocument):
- (WebCore::Document::isXHTMLDocument):
- (WebCore::Document::isImageDocument):
- (WebCore::Document::isSVGDocument):
- (WebCore::Document::isPluginDocument):
- (WebCore::Document::isMediaDocument):
- (WebCore::Document):
- * html/HTMLDocument.cpp:
- (WebCore::HTMLDocument::HTMLDocument):
- * html/HTMLDocument.h:
- (WebCore::HTMLDocument):
- * html/ImageDocument.cpp:
- (WebCore::ImageDocument::ImageDocument):
- * html/ImageDocument.h:
- (WebCore::ImageDocument):
- * html/MediaDocument.cpp:
- (WebCore::MediaDocument::MediaDocument):
- * html/MediaDocument.h:
- (WebCore::MediaDocument):
- * html/PluginDocument.cpp:
- (WebCore::PluginDocument::PluginDocument):
- * html/PluginDocument.h:
- (WebCore::PluginDocument):
- * loader/PlaceholderDocument.h:
- (WebCore::PlaceholderDocument::PlaceholderDocument):
- * svg/SVGDocument.cpp:
- (WebCore::SVGDocument::SVGDocument):
- * svg/SVGDocument.h:
- (WebCore::SVGDocument):
</del><ins>+2014-03-07 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>-2013-05-07 Anders Carlsson <andersca@apple.com>
</del><ins>+ Correct out-of-band track selection logic.
+ https://bugs.webkit.org/show_bug.cgi?id=129900
</ins><span class="cx">
</span><del>- Begin unraveling the mess that is QuotesData
- https://bugs.webkit.org/show_bug.cgi?id=115765
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::synchronizeTextTrackState): Correct test to
+ use inequality.
</ins><span class="cx">
</span><del>- Change QuotesData to be an immutable object and fix other things that are broken.
</del><ins>+2014-03-07 Bear Travis <betravis@adobe.com>
</ins><span class="cx">
</span><del>- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::applyProperty):
- QuotesData::addPair is gone. Instead, create the Vector up front and pass it to QuotesData.
</del><ins>+ [CSS Shapes] Correctly serialize ellipse positions
+ https://bugs.webkit.org/show_bug.cgi?id=129700
</ins><span class="cx">
</span><del>- * rendering/RenderQuote.cpp:
- (WebCore::RenderQuote::originalText):
- Update for renames.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- * rendering/style/QuotesData.cpp:
- (WebCore::QuotesData::create):
- Remove the create overload that wasn't used. Add a new create overload that takes a Vector.
</del><ins>+ Updating ellipse serialization to be in line with
+ the CSS Shapes spec. Positions should serialize as
+ 2 or 4-value positions, converting keywords to
+ percentages where possible. This uses the same method
+ as circle position serialization (bug 129404).
</ins><span class="cx">
</span><del>- (WebCore::QuotesData::openQuote):
- Rename this from getOpenQuote and clean it up.
</del><ins>+ Updated existing parsing tests.
</ins><span class="cx">
</span><del>- (WebCore::QuotesData::closeQuote):
- Rename this from getCloseQuote and clean it up.
</del><ins>+ * css/CSSBasicShapes.cpp:
+ (WebCore::CSSBasicShapeEllipse::cssText): Use the
+ normalization / serialization helpers for shape position.
</ins><span class="cx">
</span><del>- (WebCore::operator==):
- Replace the equals member function with a proper equality operator.
</del><ins>+2014-03-07 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><ins>+ Unreviewed, rebaseline run-binding-tests results after r165242.
+
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::jsTestTypedefsPrototypeFunctionCallWithSequenceThatRequiresInclude):
+
+2014-03-07 Darin Adler <darin@apple.com>
+
+ Remove non-working optimization that was attempted on iOS only
+ https://bugs.webkit.org/show_bug.cgi?id=129595
+ <rdar://problem/15798825>
+
+ Reviewed by Sam Weinig.
+
+ Code in GCController tried to optimize cases where the controller
+ was used, but no JavaScript had been run in the current process.
+ The code was never effective, and was iOS-only. Another way to fix
+ the problem would be to change the code so it works, and if we do
+ that we should do it for all platforms, not just iOS.
+
+ * bindings/js/GCController.cpp:
+ (WebCore::GCController::garbageCollectNow): Remove check of
+ JSDOMWindow::commonVMExists, since it's called just after a call
+ to JSDOMWindow::commonVM, which will create it as a side effect.
+ (WebCore::GCController::releaseExecutableMemory): Ditto.
+
+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::commonVM): Removed iOS-specific code
+ that pulled the commonVM global out into another function so we
+ can check for its existence without creating it as a side effect.
+
+ * bindings/js/JSDOMWindowBase.h: Ditto.
+
+2014-03-07 Bem Jones-Bey <bjonesbe@adobe.com>
+
+ [CSS Shapes] inset does not properly clamp large corner radii
+ https://bugs.webkit.org/show_bug.cgi?id=129726
+
+ Reviewed by Dirk Schulze.
+
+ Make sure that radii that are larger than 50% of the associated shape
+ dimension (height or width) are properly reduced the same way as
+ border-radius radii are.
+
+ Test: fast/shapes/shape-outside-floats/shape-outside-floats-inset-rounded-large-radius.html
+
+ * rendering/shapes/Shape.cpp:
+ (WebCore::ensureRadiiDoNotOverlap): Drive by style fix.
+ (WebCore::Shape::createShape): Scale radii the same way as border
+ radii are scaled.
+ * platform/graphics/FloatRoundedRect.h:
+ (WebCore::calcBorderRadiiConstraintScaleFor): Move border radii
+ constraint calculation function out so that it can be shared by
+ the shape code.
</ins><span class="cx"> * rendering/style/RenderStyle.cpp:
</span><del>- (WebCore::RenderStyle::diff):
- Stop calling QuotesData::equals. Use the same idiom as used for other properties.
</del><ins>+ (WebCore::RenderStyle::getRoundedBorderFor): Call renamed scale function.
</ins><span class="cx">
</span><del>- (WebCore::RenderStyle::setQuotes):
- * rendering/style/StyleRareInheritedData.cpp:
- Use operator==.
</del><ins>+2014-03-07 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- (WebCore::quotesDataEquivalent):
- Add helper function.
</del><ins>+ [GST] Set name to several timeout sources
+ https://bugs.webkit.org/show_bug.cgi?id=129878
</ins><span class="cx">
</span><del>- (WebCore::StyleRareInheritedData::operator==):
- Call quotesDataEquivalent.
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>-2013-05-06 Enrica Casucci <enrica@apple.com>
</del><ins>+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::videoChanged):
+ (WebCore::MediaPlayerPrivateGStreamer::videoCapsChanged):
+ (WebCore::MediaPlayerPrivateGStreamer::audioChanged):
+ (WebCore::MediaPlayerPrivateGStreamer::textChanged):
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ (WebCore::MediaPlayerPrivateGStreamerBase::volumeChanged):
+ (WebCore::MediaPlayerPrivateGStreamerBase::muteChanged):
</ins><span class="cx">
</span><del>- Support -webkit-system-font on OS X.
- https://bugs.webkit.org/show_bug.cgi?id=115758
- <rdar://problem/13433854>
</del><ins>+2014-03-07 Carlos Garcia Campos <cgarcia@igalia.com>
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ [GTK] Timeout sources not correctly removed
+ https://bugs.webkit.org/show_bug.cgi?id=129877
</ins><span class="cx">
</span><del>- Test: platform/mac/fast/text/systemFont.html
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- * platform/mac/WebFontCache.mm:
- (+[WebFontCache internalFontWithFamily:traits:weight:size:]):
</del><ins>+ Set source ID variables to 0 after removing the sources from the
+ context. Also give a name to the sources.
</ins><span class="cx">
</span><del>-2013-05-07 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
+ (WebCore::TrackPrivateBaseGStreamer::disconnect):
+ (WebCore::TrackPrivateBaseGStreamer::activeChanged):
+ (WebCore::TrackPrivateBaseGStreamer::tagsChanged):
+ (WebCore::TrackPrivateBaseGStreamer::notifyTrackOfActiveChanged):
</ins><span class="cx">
</span><del>- Move CanvasGradient and CanvasPattern in the union of CanvasStyle
- https://bugs.webkit.org/show_bug.cgi?id=115759
</del><ins>+2014-03-07 Gergo Balogh <gbalogh.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Remove FFTFrameMKL.
+ https://bugs.webkit.org/show_bug.cgi?id=129866
</ins><span class="cx">
</span><del>- The Gradient and Pattern are exclusive with the other values, but they
- were left out of the union because they are ref-counted.
</del><ins>+ Reviewed by Csaba Osztrogonác.
</ins><span class="cx">
</span><del>- This patch moves them in the union, and simply does the ref-counting manually.
</del><ins>+ * platform/audio/FFTFrame.h:
+ * platform/audio/FFTFrameStub.cpp:
+ * platform/audio/mkl/FFTFrameMKL.cpp: Removed, it is never used.
</ins><span class="cx">
</span><del>- * html/canvas/CanvasStyle.cpp:
- (WebCore::CanvasStyle::CanvasStyle):
- (WebCore::CanvasStyle::~CanvasStyle):
- * html/canvas/CanvasStyle.h:
- (CanvasStyle):
- (WebCore::CanvasStyle::canvasGradient):
- (WebCore::CanvasStyle::canvasPattern):
</del><ins>+2014-03-07 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>-2013-05-07 Anders Carlsson <andersca@apple.com>
</del><ins>+ [WebRTC] Adding getConfiguration method to RTCPeerConnection
+ https://bugs.webkit.org/show_bug.cgi?id=129845
</ins><span class="cx">
</span><del>- Remove custom allocator support from PODArena
- https://bugs.webkit.org/show_bug.cgi?id=115762
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Test: fast/mediastream/RTCPeerConnection-getConfiguration.html
</ins><span class="cx">
</span><del>- Nobody uses PODArena with a custom allocator, so just get rid of it and always use fastMalloc/fastFree.
</del><ins>+ * CMakeLists.txt:
+ * DerivedSources.make:
+ * GNUmakefile.list.am:
+ * Modules/mediastream/RTCConfiguration.idl: Added.
+ * Modules/mediastream/RTCIceServer.idl: Added.
+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::RTCPeerConnection::RTCPeerConnection):
+ (WebCore::RTCPeerConnection::updateIce):
+ (WebCore::RTCPeerConnection::getConfiguration):
+ * Modules/mediastream/RTCPeerConnection.h:
+ * Modules/mediastream/RTCPeerConnection.idl:
</ins><span class="cx">
</span><del>- * platform/PODArena.h:
- (WebCore::PODArena::PODArena):
- (WebCore::PODArena::allocateBase):
- (WebCore::PODArena::Chunk::Chunk):
- (WebCore::PODArena::Chunk::~Chunk):
- (Chunk):
- * platform/PODFreeListArena.h:
- (WebCore::PODFreeListArena::allocate):
- (WebCore::PODFreeListArena::FreeListChunk::FreeListChunk):
</del><ins>+2014-03-07 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-07 Anders Carlsson <andersca@apple.com>
</del><ins>+ Optimize collectionLast() and collectionTraverseBackward() in LiveNodeList
+ https://bugs.webkit.org/show_bug.cgi?id=129775
</ins><span class="cx">
</span><del>- Clean up KeyframeValueList and related classes
- https://bugs.webkit.org/show_bug.cgi?id=115738
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Check the LiveNodeList type if it is HTMLTagNodeListType and ClassNodeListType then
+ apply inlined matching methods for each type.
</ins><span class="cx">
</span><del>- Add static create() functions to the AnimationValue subclasses, and change a bunch of parameters
- and return values that can never be null from pointer types to reference types to better indicate this.
</del><ins>+ * dom/LiveNodeList.cpp:
+ (WebCore::lastMatchingElement): Added.
+ (WebCore::previousMatchingElement): Added.
+ (WebCore::traverseMatchingElementsBackward): Added.
+ (WebCore::LiveNodeList::collectionLast): Apply lastMatchingElement() with LiveNodeList type.
+ (WebCore::LiveNodeList::collectionTraverseBackward): Apply traverseMatchingElementsBackward()
+ with LiveNodeList type.
</ins><span class="cx">
</span><del>- * platform/graphics/GraphicsLayer.cpp:
- (WebCore::filterOperationsAt):
- (WebCore::GraphicsLayer::validateFilterOperations):
- (WebCore::operationsAt):
- (WebCore::GraphicsLayer::validateTransformOperations):
- * platform/graphics/GraphicsLayer.h:
- (AnimationValue):
- (WebCore::AnimationValue::AnimationValue):
- (WebCore::FloatAnimationValue::create):
- (FloatAnimationValue):
- (WebCore::FloatAnimationValue::FloatAnimationValue):
- (WebCore::TransformAnimationValue::create):
- (TransformAnimationValue):
- (WebCore::TransformAnimationValue::value):
- (WebCore::TransformAnimationValue::TransformAnimationValue):
- (WebCore::FilterAnimationValue::create):
- (WebCore::FilterAnimationValue::value):
- (WebCore::FilterAnimationValue::FilterAnimationValue):
- (FilterAnimationValue):
- (WebCore::KeyframeValueList::~KeyframeValueList):
- (KeyframeValueList):
- (WebCore::KeyframeValueList::at):
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::animationHasStepsTimingFunction):
- (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
- (WebCore::GraphicsLayerCA::createFilterAnimationsFromKeyframes):
- (WebCore::GraphicsLayerCA::timingFunctionForAnimationValue):
- (WebCore::GraphicsLayerCA::setAnimationEndpoints):
- (WebCore::GraphicsLayerCA::setAnimationKeyframes):
- (WebCore::GraphicsLayerCA::setTransformAnimationEndpoints):
- (WebCore::GraphicsLayerCA::setTransformAnimationKeyframes):
- (WebCore::GraphicsLayerCA::setFilterAnimationEndpoints):
- (WebCore::GraphicsLayerCA::setFilterAnimationKeyframes):
- * platform/graphics/ca/GraphicsLayerCA.h:
- (GraphicsLayerCA):
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::startAnimation):
- (WebCore::RenderLayerBacking::startTransition):
</del><ins>+2014-03-06 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2013-05-07 Anders Carlsson <andersca@apple.com>
</del><ins>+ WebCoreResourceHandleAsOperationQueueDelegate over-retains NSURLRequest.
+ <https://webkit.org/b/129862>
</ins><span class="cx">
</span><del>- Add and remove databases and origins from the database tracker
- https://bugs.webkit.org/show_bug.cgi?id=115752
</del><ins>+ Don't retain the pointer before assigning it to a RetainPtr, since that
+ will cause the object to leak.
</ins><span class="cx">
</span><ins>+ Reviewed by Alexey Proskuryakov.
+
+ * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm:
+ (-[WebCoreResourceHandleAsOperationQueueDelegate continueWillSendRequest:]):
+
+2014-03-06 Dan Bernstein <mitz@apple.com>
+
+ Don’t copy WebInputs.json into the framework.
+
+ * WebCore.xcodeproj/project.pbxproj: Removed WebInputs.json from the Copy Bundle Resources
+ build phase of the WebCore target.
+
+2014-03-06 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
+
+ [WebRTC] Updating RTCPeerConnection.idl
+ https://bugs.webkit.org/show_bug.cgi?id=129804
+
+ Reviewed by Eric Carlson.
+
+ Some methods signatures were wrong, marking some arguments as optional when they are mandatory.
+
+ Existing tests were updated.
+
+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::RTCPeerConnection::getStats):
+ * Modules/mediastream/RTCPeerConnection.h:
+ * Modules/mediastream/RTCPeerConnection.idl:
+ * Modules/mediastream/RTCStatsRequestImpl.cpp:
+ (WebCore::RTCStatsRequestImpl::create):
+ (WebCore::RTCStatsRequestImpl::RTCStatsRequestImpl):
+ (WebCore::RTCStatsRequestImpl::requestFailed):
+ * Modules/mediastream/RTCStatsRequestImpl.h:
+ * platform/mediastream/RTCStatsRequest.h:
+
+2014-03-06 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
+
+ [WebRTC] Updating RTCIceServer to match spec
+ https://bugs.webkit.org/show_bug.cgi?id=129844
+
+ Reviewed by Eric Carlson.
+
+ Move RTCIceServer from RTCConfiguration to its own file.
+
+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::validateIceServerURL):
+ (WebCore::processIceServer):
+ * platform/mediastream/RTCConfiguration.h:
+ (WebCore::RTCConfiguration::iceServers):
+ * platform/mediastream/RTCIceServer.h: Added.
+
+2014-03-06 Hyowon Kim <hw1008.kim@samsung.com>
+
+ [EFL] Move EvasGL classes from WebKit to WebCore namespace.
+ https://bugs.webkit.org/show_bug.cgi?id=129797
+
+ Reviewed by Gyuyoung Kim.
+
+ Though EvasGLContext and EvasGLSurface files were moved from WebKit2/UIProcess/API/efl/
+ to WebCore/platform/graphics/efl/, they are still in WebKit namespace.
+ Patch for namespace changes.
+
+ * platform/graphics/efl/EvasGLContext.cpp:
+ * platform/graphics/efl/EvasGLContext.h:
+ * platform/graphics/efl/EvasGLSurface.cpp:
+ * platform/graphics/efl/EvasGLSurface.h:
+
+2014-03-06 Brian Burg <bburg@apple.com>
+
+ CodeGeneratorJS.pm doesn't need to add spaces between consecutive closing template brackets
+ https://bugs.webkit.org/show_bug.cgi?id=129836
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Add symbols needed by WebKit2.
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateParametersCheck):
+ (GetNativeVectorInnerType):
+ (GetSVGPropertyTypes):
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+2014-03-06 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-07 Beth Dakin <bdakin@apple.com>
</del><ins>+ Remove unused method from BatteryController
+ https://bugs.webkit.org/show_bug.cgi?id=129850
</ins><span class="cx">
</span><del>- Still possible to fire paint-related LayoutMilestones before CA has committed the
- changes
- https://bugs.webkit.org/show_bug.cgi?id=115753
- -and corresponding-
- <rdar://problem/13822315>
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><ins>+ isActive() method is never called anywhere.
+
+ * Modules/battery/BatteryController.cpp:
+ * Modules/battery/BatteryController.h:
+
+2014-03-06 Pratik Solanki <psolanki@apple.com>
+
+ [iOS] Crash on launch with website restrictions enabled
+ https://bugs.webkit.org/show_bug.cgi?id=129854
+ <rdar://problem/16207016>
+
</ins><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- To ensure we wait for the CA commit, we should wait until the end of the runloop
- with a zero-delay timer.
</del><ins>+ * platform/mac/ContentFilterMac.mm:
+ (WebCore::ContentFilter::ContentFilter): Initialize m_neFilterSourceQueue so that we don't
+ crash in the dtor due to garbage value in the field.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::RenderLayerCompositor):
- (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
- (WebCore::RenderLayerCompositor::paintRelatedMilestonesTimerFired):
- (WebCore):
- * rendering/RenderLayerCompositor.h:
- (RenderLayerCompositor):
</del><ins>+2014-03-06 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-05-07 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Minor optimization in ScrollingTreeScrollingNodeMac
+ https://bugs.webkit.org/show_bug.cgi?id=129848
</ins><span class="cx">
</span><del>- Bug 115694 - Fix bad cast to RenderHTMLCanvas
- https://bugs.webkit.org/show_bug.cgi?id=115694
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ No need to call scrollOffsetForFixedPosition() again if we don't have header
+ and footer layers.
</ins><span class="cx">
</span><del>- Don't cast to RenderHTML until we check what kind of object it is.
</del><ins>+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
</del><ins>+2014-03-06 Mark Lam <mark.lam@apple.com>
</ins><span class="cx">
</span><del>-2013-05-07 Anders Carlsson <andersca@apple.com>
</del><ins>+ XMLHttpRequest: status and statusText throw DOM Exception 11 when the state is UNSENT or OPENED.
+ https://bugs.webkit.org/show_bug.cgi?id=45994
</ins><span class="cx">
</span><del>- The storage database tracker should know when databases come and go
- https://bugs.webkit.org/show_bug.cgi?id=115748
</del><ins>+ Not reviewed.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Re-landing r161051 (originally by Ryosuke Niwa, reviewed by Alexey Proskuryakov)
+ since https://bugs.webkit.org/show_bug.cgi?id=126219 is no longer an issue.
</ins><span class="cx">
</span><del>- Export symbol needed by WebKit2.
</del><ins>+ * xml/XMLHttpRequest.cpp:
+ (WebCore::XMLHttpRequest::status):
+ (WebCore::XMLHttpRequest::statusText):
+ * xml/XMLHttpRequest.h:
+ * xml/XMLHttpRequest.idl:
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+2014-03-06 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>-2013-05-07 Darin Adler <darin@apple.com>
</del><ins>+ Revise Out-of-band VTT support for better integration with AVFoundation engine
+ https://bugs.webkit.org/show_bug.cgi?id=129749
+ <rdar://problem/16215701>
</ins><span class="cx">
</span><del>- Use OwnPtr instead of deleteAllValues in SVGResourcesCache
- https://bugs.webkit.org/show_bug.cgi?id=115729
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Revise the platform handling of out-of-band text tracks so that we can keep AVFoundation
+ informed of track selections we make. Use a dummy out-of-band child of the existing text
+ track classes to avoid code duplication.
</ins><span class="cx">
</span><del>- * rendering/svg/SVGResourcesCache.cpp:
- (WebCore::SVGResourcesCache::~SVGResourcesCache): Removed call to deleteAllValues.
- (WebCore::SVGResourcesCache::addResourcesFromRenderObject): Use adoptPtr and release
- to create new SVGResources object.
- (WebCore::SVGResourcesCache::removeResourcesFromRenderObject): Use take to remove
- the SVGResources from the map rather than a get combined with delete/take.
- (WebCore::SVGResourcesCache::cachedResourcesForRenderObject): Removed unneeded
- call to contains, since get already returns 0 if there is no item in the map.
- (WebCore::SVGResourcesCache::resourceDestroyed): Use typedef for the map type so
- we don't have to repeat the type.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj: Add new OutOfBandTextTrackPrivateAVF.h file.
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute): Notify player when OOB tracks change.
+ (WebCore::HTMLMediaElement::outOfBandTrackSources): Also pass track mode to platform backend.
+ * html/track/TextTrack.cpp:
+ (WebCore::TextTrack::platformTextTrack): Also pass track mode to constructor.
+ * html/track/TrackBase.cpp:
+ (WebCore::TrackBase::TrackBase): Move ownership of track unique identifier to this base class.
+ * html/track/TrackBase.h:
+ (WebCore::TrackBase::uniqueId): Ditto.
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::notifyTrackModeChanged): Added stub to pass message to platform player.
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
+ (WebCore::MediaPlayerPrivateInterface::notifyTrackModeChanged): Stub for most platforms.
+ * platform/graphics/PlatformTextTrack.h:
+ (WebCore::PlatformTextTrack::create): Update for revised constructor (with 'mode' argument).
+ (WebCore::PlatformTextTrack::createOutOfBand): Ditto.
+ (WebCore::PlatformTextTrack::mode): Added.
+ (WebCore::PlatformTextTrack::captionMenuOffItem): Use revised constructor arguments.
+ (WebCore::PlatformTextTrack::captionMenuAutomaticItem): Ditto.
+ (WebCore::PlatformTextTrack::PlatformTextTrack): Ditto.
+ * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: Change predicate to return enum indicating the category
+ of track (out-of-band, legacy closed caption, or in band).
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
+ (WebCore::MediaPlayerPrivateAVFoundation::notifyTrackModeChanged): Added.
+ * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h: Override predicate to return category enum.
+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: Revise to use new category enum.
+ * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h: Override predicate to return category enum.
+ that this is NOT an out-of-band track.
+ * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h: Ditto.
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::notifyTrackModeChanged): Added implementation.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::processMediaSelectionOptions): Revise to handle out-of-band
+ track placeholders.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTrack): Modify to inform AVFoundation about any
+ out-of-band tracks we've selected.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::synchronizeTextTrackState): Added.
+ * platform/graphics/avfoundation/objc/OutOfBandTextTrackPrivateAVF.h: Added.
+ (WebCore::OutOfBandTextTrackPrivateAVF::create):
+ (WebCore::OutOfBandTextTrackPrivateAVF::processCue):
+ (WebCore::OutOfBandTextTrackPrivateAVF::resetCueValues):
+ (WebCore::OutOfBandTextTrackPrivateAVF::mediaSelectionOption):
+ (WebCore::OutOfBandTextTrackPrivateAVF::OutOfBandTextTrackPrivateAVF):
+ (WebCore::OutOfBandTextTrackPrivateAVF::processCueAttributes):
+ * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h: Override predicate to indicate
+ that this is NOT an out-of-band track.
+ * platform/graphics/ios/MediaPlayerPrivateIOS.mm:
+ (WebCore::MediaPlayerPrivateIOS::setSelectedTextTrack): Correct typo in logging text.
</ins><span class="cx">
</span><del>- * rendering/svg/SVGResourcesCache.h: Added typedef CacheMap, and changed value
- type to OwnPtr.
</del><ins>+2014-03-06 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>-2013-05-07 Anders Carlsson <andersca@apple.com>
</del><ins>+ [WebRTC] Updating createOffer and createAnswer methods to match WebRTC editor's draft of 01/27/2014
+ https://bugs.webkit.org/show_bug.cgi?id=129484
</ins><span class="cx">
</span><del>- REGRESSION(r149647): Assertion failure in LocalStorageDatabaseTracker::setLocalStorageDirectoryInternal
- https://bugs.webkit.org/show_bug.cgi?id=115711
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ According to the spec, createOffer and createAnswer will no longer have MediaConstraints as an argument,
+ instead they will have RTCOfferOptions and RTCOfferAnswerOptions, respectively.
</ins><span class="cx">
</span><del>- Export SQLiteDatabase::close.
</del><ins>+ Existing tests were updated.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * Modules/mediastream/RTCOfferAnswerOptions.cpp: Added.
+ * Modules/mediastream/RTCOfferAnswerOptions.h: Added.
+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::RTCPeerConnection::createOffer):
+ (WebCore::RTCPeerConnection::createAnswer):
+ * Modules/mediastream/RTCPeerConnection.h:
+ * Modules/mediastream/RTCPeerConnection.idl:
+ * platform/mediastream/RTCPeerConnectionHandler.h:
+ * platform/mock/RTCPeerConnectionHandlerMock.cpp:
+ (WebCore::RTCPeerConnectionHandlerMock::createOffer):
+ (WebCore::RTCPeerConnectionHandlerMock::createAnswer):
+ * platform/mock/RTCPeerConnectionHandlerMock.h:
</ins><span class="cx">
</span><del>-2013-05-06 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-03-06 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- Add an 'isReadOnly' member to IDL parse tree structure
- https://bugs.webkit.org/show_bug.cgi?id=115704
</del><ins>+ Web Replay: premature release() of PassRefPtr in InspectorReplayAgent
+ https://bugs.webkit.org/show_bug.cgi?id=129827
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Add an 'isReadOnly' member to IDL parse tree structure by merging
- https://chromium.googlesource.com/chromium/blink/+/d6add80ecd08bcd88a6ae0e1698d929830b3bd8b
- and update Objective-C, C++, and GObject binding generators to use isReadOnly.
</del><ins>+ * inspector/InspectorReplayAgent.cpp:
+ (WebCore::InspectorReplayAgent::didCreateFrontendAndBackend):
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorCPP.pm:
- (GenerateHeader):
- (GenerateImplementation):
- * bindings/scripts/CodeGeneratorGObject.pm:
- (GetWriteableProperties):
- (GenerateProperty):
- (GenerateFunctions):
- * bindings/scripts/CodeGeneratorJS.pm:
- (IsReadonly):
- * bindings/scripts/CodeGeneratorObjC.pm:
- (GenerateHeader):
- (GenerateImplementation):
- * bindings/scripts/IDLParser.pm:
- (parseAttributeRest):
- (parseExceptionField):
- (parseAttributeRestOld):
</del><ins>+2014-03-06 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>-2013-05-07 Darin Adler <darin@apple.com>
</del><ins>+ [iOS] Do not compile fake mouse event handling when iOS Touch Events are enabled
+ https://bugs.webkit.org/show_bug.cgi?id=129725
</ins><span class="cx">
</span><del>- Use OwnPtr instead of deleteAllValues in SMILTimeContainer
- https://bugs.webkit.org/show_bug.cgi?id=115730
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><ins>+ Bug <rdar://problem/16218636>. The code is #ifdef'ed out to avoid setting up useless objects
+ and to avoid future mistake.
+
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::EventHandler):
+ (WebCore::EventHandler::~EventHandler):
+ (WebCore::EventHandler::clear):
+ (WebCore::EventHandler::handleMousePressEvent):
+ (WebCore::EventHandler::startAutoHideCursorTimer):
+ (WebCore::EventHandler::handleMouseMoveEvent):
+ (WebCore::EventHandler::dispatchFakeMouseMoveEventSoon):
+ (WebCore::EventHandler::dispatchFakeMouseMoveEventSoonInQuad):
+ * page/EventHandler.h:
+
+2014-03-06 Pratik Solanki <psolanki@apple.com>
+
+ Unreviewed. iOS build fix after r165199.
+
+ * rendering/RootInlineBox.cpp:
+
+2014-03-06 Benjamin Poulain <bpoulain@apple.com>
+
+ [iOS] Rename the actualVisibleXXXRect to unobscuredContentRect for consistency
+ https://bugs.webkit.org/show_bug.cgi?id=129773
+
+ Reviewed by Simon Fraser.
+
+ * dom/TreeScope.cpp:
+ (WebCore::nodeFromPoint):
+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::visibleContentRectInternal):
+ * platform/ScrollView.h:
+ * platform/ios/ScrollViewIOS.mm:
+ (WebCore::ScrollView::unoscuredContentRect):
+ * platform/ios/wak/WAKScrollView.h:
+ * platform/ios/wak/WAKScrollView.mm:
+ (-[WAKScrollView unoscuredContentRect]):
+ (-[WAKScrollView description]):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::scrollRectToVisible):
+
+2014-03-05 Oliver Hunt <oliver@apple.com>
+
+ Support caching of custom setters
+ https://bugs.webkit.org/show_bug.cgi?id=129519
+
+ Reviewed by Filip Pizlo.
+
+ Add forwarding header
+
+ Tests: js/regress/assign-custom-setter-polymorphic.html
+ js/regress/assign-custom-setter.html
+
+ * ForwardingHeaders/jit/SpillRegistersMode.h: Added.
+
+2014-03-05 Jon Honeycutt <jhoneycutt@apple.com>
+
+ Invalid cast in WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients()
+
+ <https://bugs.webkit.org/show_bug.cgi?id=121887>
+ <rdar://problem/15073043>
+
+ Clang appears to be optimizing out a branch in RenderObject::node()
+ when compiling RenderLayer::FilterInfo::updateReferenceFilterClients().
+ We'll work around this by factoring out the code in question into a
+ separate member function marked NEVER_INLINE.
+
+ No test possible due to <https://bugs.webkit.org/show_bug.cgi?id=129757>.
+
+ Reviewed by David Kilzer.
+
+ * rendering/RenderLayerFilterInfo.cpp:
+ (WebCore::RenderLayer::FilterInfo::layerElement):
+ Code moved from updateReferenceFilterClients(). Returns the Element*
+ for m_layer.
+ (WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients):
+ Use layerElement().
+
+ * rendering/RenderLayerFilterInfo.h:
+ Declared layerElement().
+
+2014-03-06 Joseph Pecoraro <pecoraro@apple.com>
+
+ Web Inspector: Expose the console object in JSContexts to interact with Web Inspector
+ https://bugs.webkit.org/show_bug.cgi?id=127944
+
</ins><span class="cx"> Reviewed by Geoffrey Garen.
</span><span class="cx">
</span><del>- * svg/animation/SMILTimeContainer.cpp:
- (WebCore::SMILTimeContainer::~SMILTimeContainer): Removed call to deleteAllValues.
- (WebCore::SMILTimeContainer::schedule): Use add instead of get/set to put a new
- AnimationsVector into the map as needed.
- (WebCore::SMILTimeContainer::setElapsed): Added get since values are OwnPtr now.
- (WebCore::SMILTimeContainer::updateAnimations): Ditto.
</del><ins>+ Covered by existing tests.
</ins><span class="cx">
</span><del>- * svg/animation/SMILTimeContainer.h: Changed value type of GroupedAnimationsMap
- to OwnPtr instead of raw pointer.
</del><ins>+ * CMakeLists.txt:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * ForwardingHeaders/runtime/ConsoleClient.h: Added.
+ * ForwardingHeaders/runtime/ConsoleTypes.h: Renamed from Source/WebCore/ForwardingHeaders/inspector/ConsoleTypes.h.
+ * GNUmakefile.list.am:
+ * PlatformGTK.cmake:
+ * WebCore.exp.in:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/gobject/GNUmakefile.am:
+ Update build systems.
</ins><span class="cx">
</span><del>-2013-05-07 Anders Carlsson <andersca@apple.com>
</del><ins>+ * page/Console.cpp: Removed.
+ * page/Console.h: Removed.
+ * page/Console.idl: Removed.
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::~DOMWindow):
+ (WebCore::DOMWindow::resetDOMWindowProperties):
+ * page/DOMWindow.h:
+ (WebCore::DOMWindow::defaultStatus):
+ * page/DOMWindow.idl:
+ Removed the old IDL generated Console object on window.
</ins><span class="cx">
</span><del>- Remove AlwaysInline.h from WTF
- https://bugs.webkit.org/show_bug.cgi?id=115727
</del><ins>+ * page/PageConsole.cpp:
+ (WebCore::PageConsole::shouldPrintExceptions):
+ (WebCore::PageConsole::setShouldPrintExceptions):
+ (WebCore::PageConsole::mute):
+ (WebCore::PageConsole::unmute):
+ (WebCore::PageConsole::messageWithTypeAndLevel):
+ (WebCore::PageConsole::count):
+ (WebCore::PageConsole::profile):
+ (WebCore::PageConsole::profileEnd):
+ (WebCore::PageConsole::time):
+ (WebCore::PageConsole::timeEnd):
+ (WebCore::PageConsole::timeStamp):
+ (WebCore::PageConsole::group):
+ (WebCore::PageConsole::groupCollapsed):
+ (WebCore::PageConsole::groupEnd):
+ (WebCore::PageConsole::clearProfiles):
+ * page/PageConsole.h:
+ Move the handling of Console object into PageConsole.
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ * bindings/js/ScriptCachedFrameData.cpp:
+ (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
+ (WebCore::ScriptCachedFrameData::restore):
+ * bindings/js/ScriptController.cpp:
+ (WebCore::ScriptController::clearWindowShell):
+ (WebCore::ScriptController::initScript):
+ Set the PageConsole as the ConsoleClient of the JSGlobalObject
+ so that WebCore may handle console messages directly. For instance
+ it may pass messages on to the ChromeClient.
</ins><span class="cx">
</span><del>- The macro that used to be in AlwaysInline.h is now in Compiler.h so there's no reason
- to keep AlwaysInline.h around anymore.
</del><ins>+ * testing/Internals.cpp:
+ (WebCore::Internals::consoleProfiles):
+ To access profiles, go through PageConsole now instead of Console.
</ins><span class="cx">
</span><del>- * WebCore.vcproj/WebCore.vcproj:
- * bindings/js/JSDOMWindowCustom.h:
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateHeader):
- * platform/graphics/filters/FEConvolveMatrix.h:
- * rendering/InlineIterator.h:
- * rendering/InlineTextBox.cpp:
- * rendering/RenderBlockLineLayout.cpp:
- * rendering/RenderText.cpp:
</del><ins>+ * bindings/js/JSDOMWindowBase.cpp:
+ * bindings/objc/WebScriptObject.mm:
+ * css/MediaList.cpp:
+ * dom/ScriptExecutionContext.h:
+ * dom/UIEvent.cpp:
+ * dom/ViewportArguments.cpp:
+ * html/parser/XSSAuditorDelegate.cpp:
+ * inspector/CommandLineAPIHost.h:
+ * inspector/InspectorInstrumentation.cpp:
+ * inspector/InspectorInstrumentation.h:
+ * inspector/InspectorProfilerAgent.cpp:
+ * inspector/WebConsoleAgent.cpp:
+ * loader/FrameLoader.cpp:
+ * loader/MixedContentChecker.cpp:
+ * loader/appcache/ApplicationCacheGroup.cpp:
+ * loader/cache/CachedResourceLoader.cpp:
+ * page/ChromeClient.h:
+ * page/ContentSecurityPolicy.cpp:
+ * page/Page.cpp:
+ * page/Page.h:
+ * svg/SVGDocumentExtensions.cpp:
+ * workers/WorkerMessagingProxy.cpp:
+ * workers/WorkerReportingProxy.h:
+ Update includes.
</ins><span class="cx">
</span><del>-2013-05-07 peavo@outlook.com <peavo@outlook.com>
</del><ins>+2014-03-06 Zsolt Borbely <borbezs@inf.u-szeged.hu>
</ins><span class="cx">
</span><del>- [Curl] POST requests sometimes fail.
- https://bugs.webkit.org/show_bug.cgi?id=111844
</del><ins>+ Fix the !ENABLE(CSS_STICKY_POSITION) build
+ https://bugs.webkit.org/show_bug.cgi?id=129793
</ins><span class="cx">
</span><del>- Reviewed by Brent Fulgham.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Curl adds the header 'Expect: 100-Continue' when sending a POST request.
- When we receive the header 'HTTP/1.1 100 Continue', we should not call
- ResourceHandleClient::didReceiveResponse(), as this will cancel the request,
- because the MIME type is empty in this case, causing the POST request to fail.
- This header is only sent as an info header, or provisional response.
-
- In addition, this patch changes the classification of http code 304 (Not modified).
- It is not reported as a redirect anymore, but as a response
- (ResourceHandleClient::didReceiveResponse() is called.
</del><ins>+ Add missing ENABLE(CSS_STICKY_POSITION) guard to EditingStyle::convertPositionStyle().
</ins><span class="cx">
</span><del>- * platform/network/curl/ResourceHandleManager.cpp:
- (WebCore::isHttpInfo): Added helper method to determine if http code is http info.
- (WebCore::isHttpRedirect): Added helper method to determine if http code is http redirect.
- (WebCore::headerCallback): Just return when receiving the header'HTTP/1.1 100 Continue'.
</del><ins>+ * editing/EditingStyle.cpp:
+ (WebCore::EditingStyle::convertPositionStyle):
</ins><span class="cx">
</span><del>-2013-05-07 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+2014-03-06 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- [X11][BlackBerry] Check if MOZ_X11 is defined instead of XP_UNIX npruntime_internal.h
- https://bugs.webkit.org/show_bug.cgi?id=113687
</del><ins>+ [Mac] Leak: dispatch_semaphore leak allocated in MediaPlayerPrivateAVFoundationObjC::waitForVideoOutputMediaDataWillChange
+ https://bugs.webkit.org/show_bug.cgi?id=129792
</ins><span class="cx">
</span><span class="cx"> Reviewed by Anders Carlsson.
</span><span class="cx">
</span><del>- It's assumed that all UNIX platforms use X11 for plugins, which is
- not the case of BlackBerry.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC):
</ins><span class="cx">
</span><del>- * bridge/npruntime_internal.h: Use MOZ_X11 instead of XP_UNIX.
</del><ins>+2014-03-06 Brendan Long <b.long@cablelabs.com>
</ins><span class="cx">
</span><del>-2013-05-07 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
</del><ins>+ Implement VideoTrackList.selectedIndex
+ https://bugs.webkit.org/show_bug.cgi?id=129770
</ins><span class="cx">
</span><del>- HashTraits<RefPtr<P> >::PeekType should be raw pointer for better performance
- https://bugs.webkit.org/show_bug.cgi?id=115646
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Tests: media/track/video/video-track-mkv-theora-selected.html
</ins><span class="cx">
</span><del>- No new tests, no new functionality.
</del><ins>+ * html/track/VideoTrackList.idl:
</ins><span class="cx">
</span><del>- * accessibility/AXObjectCache.cpp:
- (WebCore::AXObjectCache::get):
- (WebCore::AXObjectCache::remove):
- * accessibility/AXObjectCache.h:
- (WebCore::AXObjectCache::objectFromAXID):
- * css/CSSImageGeneratorValue.cpp:
- (WebCore::CSSImageGeneratorValue::getImage):
- * css/InspectorCSSOMWrappers.cpp:
- (WebCore::InspectorCSSOMWrappers::getWrapperForRuleInSheets):
- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::loadPendingSVGDocuments):
- * html/HTMLAnchorElement.cpp:
- (WebCore::HTMLAnchorElement::rootEditableElementForSelectionOnMouseDown):
- * html/HTMLFormElement.cpp:
- (WebCore::HTMLFormElement::elementForAlias):
- * html/shadow/ContentDistributor.cpp:
- (WebCore::ContentDistributor::findInsertionPointFor):
- * loader/appcache/ApplicationCache.cpp:
- (WebCore::ApplicationCache::resourceForURL):
- * loader/archive/ArchiveResourceCollection.cpp:
- (WebCore::ArchiveResourceCollection::archiveResourceForURL):
- * page/PageGroup.cpp:
- (WebCore::PageGroup::transientLocalStorage):
- * page/animation/CompositeAnimation.cpp:
- (WebCore::CompositeAnimation::updateTransitions):
- (WebCore::CompositeAnimation::pauseTransitionAtTime):
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::updateMaskLayer):
- * platform/network/BlobRegistryImpl.cpp:
- (WebCore::BlobRegistryImpl::getBlobDataFromURL):
- * plugins/PluginDatabase.cpp:
- (WebCore::PluginDatabase::pluginForMIMEType):
- (WebCore::PluginDatabase::MIMETypeForExtension):
- * rendering/RenderCounter.cpp:
- (WebCore::makeCounterNode):
- (showCounterRendererTree):
- * svg/graphics/filters/SVGFilterBuilder.cpp:
- (WebCore::SVGFilterBuilder::getEffectById):
- Updated accordingly to new HashMap<.., RefPtr>::get() semantics.
</del><ins>+2014-03-06 Lorenzo Tilve <ltilve@igalia.com>
</ins><span class="cx">
</span><del>-2013-05-06 Darin Adler <darin@apple.com>
</del><ins>+ [GTK][CMake] Fix the GTK+ CMake build
+ https://bugs.webkit.org/show_bug.cgi?id=129801
</ins><span class="cx">
</span><del>- Use OwnPtr instead of deleteAllValues in KeyframeValueList
- https://bugs.webkit.org/show_bug.cgi?id=115652
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Include missing files for CMake build
</ins><span class="cx">
</span><del>- Also made a few related style fixes in the functions touched.
</del><ins>+ * CMakeLists.txt: Add a missing references to DOMURLMediaStream
</ins><span class="cx">
</span><del>- * platform/graphics/GraphicsLayer.cpp:
- (WebCore::KeyframeValueList::insert): Change argument type to PassOwnPtr
- and update use of m_values since it has OwnPtr now instead of raw pointer.
</del><ins>+2014-03-06 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/GraphicsLayer.h: Move conditional includes to a
- separate paragraph, removed an unneeded forward class declaration.
- (WebCore::AnimationValue::AnimationValue): Marked this constructor explicit
- and removed an unneeded if statement.
- (WebCore::AnimationValue::clone): Changed to use adoptPtr and PassOwnPtr.
- (WebCore::FloatAnimationValue::clone): Changed this to return a PassOwnPtr.
- (WebCore::TransformAnimationValue::TransformAnimationValue): Marked explicit.
- (WebCore::TransformAnimationValue::clone): Changed to use adoptPtr and PassOwnPtr.
- (WebCore::FilterAnimationValue::FilterAnimationValue): Marked explicit.
- (WebCore::FilterAnimationValue::clone): Changed to use adoptPtr and PassOwnPtr.
- (WebCore::KeyframeValueList::KeyframeValueList): Marked explicit.
- (WebCore::KeyframeValueList::~KeyframeValueList): Removed, since the default
- destructor works without an explicit deleteAllValues call.
- (WebCore::KeyframeValueList::at): Added call to get needed since the vector
- contains OwnPtr now.
- (WebCore::KeyframeValueList::insert): Changed to take PassOwnPtr and then
- removed now-redundant comment saying "takes ownership of the pointer".
- (WebCore::KeyframeValueList::m_values): Changed type to Vector<OwnPtr>.
</del><ins>+ Subpixel rendering: Setting content to opaque on m_graphicsLayer depends on subpixel accumulation.
+ https://bugs.webkit.org/show_bug.cgi?id=129776
</ins><span class="cx">
</span><ins>+ Reviewed by Simon Fraser.
+
+ isEmpty() returns true when any of the dimensions is <= 0. Subpixel accumulation could happen
+ in one direction only. Use isZero() instead().
+
</ins><span class="cx"> * rendering/RenderLayerBacking.cpp:
</span><del>- (WebCore::RenderLayerBacking::startAnimation): Added adoptPtr next to the
- all the places new was done before calling KeyframeValueList::insert. Also
- simplified the booleans and #if in this function.
- (WebCore::RenderLayerBacking::startTransition): Ditto.
</del><ins>+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
</ins><span class="cx">
</span><del>-2013-05-06 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-03-06 Gurpreet Kaur <k.gurpreet@samsung.com>
</ins><span class="cx">
</span><del>- [Replaceable] attributes must be readonly
- https://bugs.webkit.org/show_bug.cgi?id=115692
</del><ins>+ REGRESSION (r158254): Rubber-banding at Bing image search causes the toolbar to move up and away
+ https://bugs.webkit.org/show_bug.cgi?id=128873
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Reviewed by Antonio Gomes.
</ins><span class="cx">
</span><del>- Merge https://chromium.googlesource.com/chromium/blink/+/ac61fbfe875d3c3c37d529683139ceb0ad4330bb.
</del><ins>+ This regression is caused by http://trac.webkit.org/changeset/154614
+ and http://trac.webkit.org/changeset/156605. So reverting the changes
+ to make it Web compatible as earlier.
</ins><span class="cx">
</span><del>- Web IDL specification says [Replaceable] attributes are readonly:
- http://www.w3.org/TR/2012/CR-WebIDL-20120419/#Replaceable
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::scrollLeft):
+ (WebCore::Element::scrollTop):
+ (WebCore::Element::setScrollLeft):
+ (WebCore::Element::setScrollTop):
+ Reverting changes as it caused regression.
</ins><span class="cx">
</span><del>- Update the two instances of [Replaceable] in WebCore that didn't have readonly modifier to match
- the specifcation and the rest of WebCore. There should be no behavioral changes as the code generator
- already assumed [Replaceable] attributes are readonly.
</del><ins>+2014-03-06 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- * html/HTMLDocument.idl:
- * page/DOMWindow.idl:
</del><ins>+ Move Source/WebCore/html/canvas/ code to std::unique_ptr
+ https://bugs.webkit.org/show_bug.cgi?id=129668
</ins><span class="cx">
</span><del>-2013-05-06 Darin Adler <darin@apple.com>
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Use OwnPtr instead of deleteAllValues in DocumentMarkerController
- https://bugs.webkit.org/show_bug.cgi?id=115655
</del><ins>+ Replace uses of OwnPtr and PassOwnPtr in code under Source/WebCore/html/canvas/ to std::unique_ptr.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * html/HTMLCanvasElement.cpp:
+ (WebCore::HTMLCanvasElement::~HTMLCanvasElement):
+ (WebCore::HTMLCanvasElement::getContext):
+ * html/HTMLCanvasElement.h:
+ * html/canvas/ANGLEInstancedArrays.cpp:
+ * html/canvas/ANGLEInstancedArrays.h:
+ * html/canvas/CanvasRenderingContext2D.h:
+ * html/canvas/EXTTextureFilterAnisotropic.cpp:
+ * html/canvas/EXTTextureFilterAnisotropic.h:
+ * html/canvas/OESElementIndexUint.cpp:
+ * html/canvas/OESElementIndexUint.h:
+ * html/canvas/OESStandardDerivatives.cpp:
+ * html/canvas/OESStandardDerivatives.h:
+ * html/canvas/OESTextureFloat.cpp:
+ * html/canvas/OESTextureFloat.h:
+ * html/canvas/OESTextureFloatLinear.cpp:
+ * html/canvas/OESTextureFloatLinear.h:
+ * html/canvas/OESTextureHalfFloat.cpp:
+ * html/canvas/OESTextureHalfFloat.h:
+ * html/canvas/OESTextureHalfFloatLinear.cpp:
+ * html/canvas/OESTextureHalfFloatLinear.h:
+ * html/canvas/OESVertexArrayObject.cpp:
+ * html/canvas/OESVertexArrayObject.h:
+ * html/canvas/WebGLCompressedTextureATC.cpp:
+ * html/canvas/WebGLCompressedTextureATC.h:
+ * html/canvas/WebGLCompressedTexturePVRTC.cpp:
+ * html/canvas/WebGLCompressedTexturePVRTC.h:
+ * html/canvas/WebGLCompressedTextureS3TC.cpp:
+ * html/canvas/WebGLCompressedTextureS3TC.h:
+ * html/canvas/WebGLDebugRendererInfo.cpp:
+ * html/canvas/WebGLDebugRendererInfo.h:
+ * html/canvas/WebGLDebugShaders.cpp:
+ * html/canvas/WebGLDebugShaders.h:
+ * html/canvas/WebGLDepthTexture.cpp:
+ * html/canvas/WebGLDepthTexture.h:
+ * html/canvas/WebGLDrawBuffers.cpp:
+ * html/canvas/WebGLDrawBuffers.h:
+ * html/canvas/WebGLLoseContext.cpp:
+ * html/canvas/WebGLLoseContext.h:
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::create):
+ (WebCore::WebGLRenderingContext::getExtension):
+ * html/canvas/WebGLRenderingContext.h:
</ins><span class="cx">
</span><del>- * dom/DocumentMarkerController.cpp:
- (WebCore::DocumentMarkerController::~DocumentMarkerController): Added here
- so the destructor isn't implicitly inline.
- (WebCore::DocumentMarkerController::detach): Removed now-unneeded code to
- call deleteAllValues. Also moved code to set m_possiblyExistingMarkerTypes
- to after clearing m_markers to be consistent with how other functions do it.
- (WebCore::DocumentMarkerController::addMarker): Changed code to use the
- add idiom to avoid double hash table lookup. Changed to use adoptPtr since
- the map now contains OwnPtr.
- (WebCore::DocumentMarkerController::removeMarkers): Removed explicit calls
- to delete list since removing the entry from the map now deletes the list.
- Moved the code to check if m_markers has become empty so it's only called
- when we actually remove something from m_markers.
- (WebCore::DocumentMarkerController::markerContainingPoint): Added get().
- (WebCore::DocumentMarkerController::renderedRectsForMarkers): Added get().
- (WebCore::DocumentMarkerController::removeMarkers): Changed to use a new
- interface to removeMarkersFromList. This eliminated the need to copy the
- entire map when removing markers; instead we can just copy the keys.
- (WebCore::DocumentMarkerController::removeMarkersFromList): Changed to use
- an iterator instead of being passed the key/value pair from the map. Also
- rearranged the logic so there is less repeated code and removed some now-
- unneeded comments.
- (WebCore::DocumentMarkerController::repaintMarkers): Added get().
- (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
- Added get().
- (WebCore::DocumentMarkerController::showMarkers): Added get().
</del><ins>+2014-03-06 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- * dom/DocumentMarkerController.h: Removed implementation of the destructor
- that called the detach function; that was just sharing the now-unneeded
- call to deleteAllValues. Changed the type of the map to use an OwnPtr for
- the value. Changed the interface of removeMarkersFromList to take a map
- iterator instead of a key/value pair.
</del><ins>+ Move Source/WebCore/editing/ code to std::unique_ptr
+ https://bugs.webkit.org/show_bug.cgi?id=129665
</ins><span class="cx">
</span><del>-2013-05-06 Beth Dakin <bdakin@apple.com>
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Reproducible crash in RenderBoxModelObject::adjustedPositionRelativeToOffsetParent()
- https://bugs.webkit.org/show_bug.cgi?id=115685
- -and corresponding-
- <rdar://problem/13700734>
</del><ins>+ Replace uses of OwnPtr and PassOwnPtr in code under Source/WebCore/editing/ with std::unique_ptr.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ * editing/EditingStyle.cpp:
+ (WebCore::htmlElementEquivalents):
+ (WebCore::EditingStyle::conflictsWithImplicitStyleOfElement):
+ (WebCore::htmlAttributeEquivalents):
+ (WebCore::EditingStyle::conflictsWithImplicitStyleOfAttributes):
+ (WebCore::EditingStyle::extractConflictingImplicitStyleOfAttributes):
+ (WebCore::EditingStyle::elementIsStyledSpanOrHTMLEquivalent):
+ (WebCore::EditingStyle::mergeInlineAndImplicitStyleOfElement):
+ * editing/Editor.cpp:
+ (WebCore::Editor::Editor):
+ (WebCore::Editor::clear):
+ * editing/Editor.h:
+ * page/Frame.cpp:
+ (WebCore::Frame::Frame):
+ * page/Frame.h:
</ins><span class="cx">
</span><del>- This fix here is just to rollout the change that caused this regression, which is
- http://trac.webkit.org/changeset/147395 . That change was not intended to cause any
- behavioral differences. The change made it so RenderObject::offsetParent() returned
- an Element* instead of a RenderBoxModelObject*. However, can muddle things when the
- object we are returning is a continuation. Multiple RenderObjects have the same
- Element in a continuation, so this new code can lead to a crash in
- adjustedPositionRelativeToOffsetParent() when we expect to walk the RenderObject
- chain and find the offsetParent in the Element’s parent chain. But we might crash in
- some complicated continuation scenarios because we lost this disambiguation of which
- RenderObject to start with.
</del><ins>+2014-03-06 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Roll out.
- * dom/Element.cpp:
- (WebCore::Element::offsetParent):
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::adjustedPositionRelativeToOffsetParent):
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::offsetParent):
- * rendering/RenderObject.h:
- (RenderObject):
</del><ins>+ Move to using std::unique_ptr for KeyboardEvent, ScriptExecutionContext::PendingException
+ https://bugs.webkit.org/show_bug.cgi?id=129061
</ins><span class="cx">
</span><del>-2013-05-06 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Unify ways to cache named item in HTMLCollections
- https://bugs.webkit.org/show_bug.cgi?id=115584
</del><ins>+ Replace uses of OwnPtr and PassOwnPtr for KeyboardEvent and ScriptExecutionContext::PendingException
+ classes with std::unique_ptr. ScriptExecutionContext::Task objects are still handled through OwnPtr,
+ but this will be addressed later.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * dom/KeyboardEvent.cpp:
+ (WebCore::KeyboardEvent::KeyboardEvent):
+ * dom/KeyboardEvent.h:
+ * dom/ScriptExecutionContext.cpp:
+ (WebCore::ScriptExecutionContext::reportException):
+ * dom/ScriptExecutionContext.h:
+ * dom/ScriptRunner.h: Remove an unnecessary PassOwnPtr header inclusion.
</ins><span class="cx">
</span><del>- Refactor the code to share the same infrastructure for both id and name attributes maps.
</del><ins>+2014-03-06 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Also get rid of shouldRegisterAsNamedItem and shouldRegisterAsExtraNamedItem from various Element subclasses
- as these member functions were duplicating the information in HTMLNameCollection.cpp. Nevertheless, HTMLImageElement
- and HTMLObjectElement still update HTMLDocument's window and document name getter maps when their presence as named
- item changes due to an attribute change and children changes respectively.
</del><ins>+ Unreviewed, rolling out r165175.
+ http://trac.webkit.org/changeset/165175
+ https://bugs.webkit.org/show_bug.cgi?id=129788
</ins><span class="cx">
</span><del>- * bindings/js/JSDOMWindowCustom.cpp:
- (WebCore::namedItemGetter): Use windowNamedItemMap().containsSingle() instead of collection->hasExactlyOneItem() to
- avoid instantiating HTMLCollection until we know for sure we're returning multiple items.
- (WebCore::JSDOMWindow::getOwnPropertySlot): Call windowNamedItemMap().contains() instead of document->hasNamedItem()
- since the latter has been removed.
- (WebCore::JSDOMWindow::getOwnPropertySlotByIndex): Ditto.
- (WebCore::JSDOMWindow::getOwnPropertyDescriptor): Ditto.
</del><ins>+ Linking failures on GTK, EFL due to missing gstreamer-tag-1.0
+ dependency (Requested by zdobersek on #webkit).
</ins><span class="cx">
</span><del>- * bindings/js/JSHTMLDocumentCustom.cpp:
- (WebCore::JSHTMLDocument::canGetItemsForName): Call documentNamedItemMap().contains() instead of
- document->hasExtraNamedItem() since the latter has been removed.
- (WebCore::JSHTMLDocument::nameGetter): Use documentNamedItemMap().containsSingle() instead of
- collection->hasExactlyOneItem() to avoid instantiating HTMLCollection when we're returning the first item.
</del><ins>+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
+ (WebCore::TrackPrivateBaseGStreamer::notifyTrackOfTagsChanged):
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::windowNamedItems): Instantiate WindowNameCollection, which is a subclass of HTMLNameCollection,
- instead of HTMLNameCollection since the latter class no longer has a public constructor.
- (WebCore::Document::documentNamedItems): Ditto; instantiate DocumentNameCollection.
</del><ins>+2014-03-05 Brendan Long <b.long@cablelabs.com>
</ins><span class="cx">
</span><del>- * dom/DocumentOrderedMap.cpp:
- (WebCore::keyMatchesName): Added for name attribute.
- (WebCore::keyMatchesWindowNamedItem): Added for window name getter.
- (WebCore::keyMatchesDocumentNamedItem): Added for document name getter.
- (WebCore::DocumentOrderedMap::getElementByName): Added for name attribute.
- (WebCore::DocumentOrderedMap::getElementByWindowNamedItem): Added for window name getter.
- (WebCore::DocumentOrderedMap::getElementByDocumentNamedItem): Added for document name getter.
</del><ins>+ [GStreamer] human readable language code for tracks
+ https://bugs.webkit.org/show_bug.cgi?id=124514
</ins><span class="cx">
</span><del>- * dom/DocumentOrderedMap.h:
- (WebCore::DocumentOrderedMap::containsSingle): Added.
- (WebCore::DocumentOrderedMap::containsMultiple): Fixed the bug that containsMultiple returns true even when
- the duplicate count has been reduced to 1. Unfortunately this behavior change is not testable because the old code
- worked properly (though less efficient) even if this function returned a wrong value.
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::insertedInto):
- (WebCore::Element::removedFrom):
- (WebCore::Element::updateName): Added. Updates TreeScope's name attribute map as well as HTMLDocument's window name
- and document name maps.
- (WebCore::Element::updateId): Added the code to update HTMLDocument's window name and document name maps.
</del><ins>+ * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
+ (WebCore::TrackPrivateBaseGStreamer::notifyTrackOfTagsChanged): Run language codes though gst_tag_get_language_code_iso_639_1() to make sure they're valid.
</ins><span class="cx">
</span><del>- * dom/Element.h:
- (Element): Removed shouldRegisterAsNamedItem, shouldRegisterAsExtraNamedItem, updateNamedItemRegistration, and
- updateExtraNamedItemRegistration as they're no longer used.
</del><ins>+2014-03-05 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- * dom/TreeScope.cpp:
- (SameSizeAsTreeScope):
- (WebCore::TreeScope::getElementByName): Added.
- (WebCore::TreeScope::addElementByName): Added.
- (WebCore::TreeScope::removeElementByName): Added.
</del><ins>+ Remove unused method from Vibration
+ https://bugs.webkit.org/show_bug.cgi?id=129732
</ins><span class="cx">
</span><del>- * dom/TreeScope.h:
- (WebCore::TreeScope::hasElementWithName): Added.
- (WebCore::TreeScope::containsMultipleElementsWithName): Added.
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- * html/HTMLAppletElement.h:
- (HTMLAppletElement):
</del><ins>+ * Modules/vibration/Vibration.cpp:
+ Removed isActive(), which is never called since r152441.
+ * Modules/vibration/Vibration.h: Ditto.
</ins><span class="cx">
</span><del>- * html/HTMLCollection.cpp:
- (WebCore::isMatchingElement): Use HTMLNameCollection subclasses' nodeMatches.
- (WebCore::HTMLCollection::namedItem): Added a fast path for named item.
- (WebCore::HTMLCollection::hasNamedItem): Use namedItem to avoid the work in the fast path.
</del><ins>+2014-03-05 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- * html/HTMLCollection.h:
- (HTMLCollection): Removed checkForNameMatch.
- * html/HTMLDocument.cpp:
- (WebCore): Removed various member functions related to m_namedItemCounts and m_extraNamedItemCounts.
</del><ins>+ Unreviewed, rolling out r165141, r165157, and r165158.
+ http://trac.webkit.org/changeset/165141
+ http://trac.webkit.org/changeset/165157
+ http://trac.webkit.org/changeset/165158
+ https://bugs.webkit.org/show_bug.cgi?id=129772
</ins><span class="cx">
</span><del>- * html/HTMLDocument.h:
- (WebCore::HTMLDocument::documentNamedItemMap): Added.
- (WebCore::HTMLDocument::windowNamedItemMap): Added.
- (HTMLDocument): Replaced m_namedItemCounts and m_extraNamedItemCounts by m_documentNamedItem and m_windowNamedItem.
- Note that they're not one to one.
</del><ins>+ "broke ftl" (Requested by olliej_ on #webkit).
</ins><span class="cx">
</span><del>- * html/HTMLEmbedElement.h:
- (HTMLEmbedElement):
</del><ins>+ * ForwardingHeaders/jit/SpillRegistersMode.h: Removed.
</ins><span class="cx">
</span><del>- * html/HTMLFormElement.h:
- (HTMLFormElement):
</del><ins>+2014-03-05 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- * html/HTMLIFrameElement.cpp: Removed the code to track the element's name since we already do this in Element.
- (WebCore::HTMLIFrameElement::parseAttribute):
</del><ins>+ [GTK][CMake] The GObject DOM bindings should always be built
+ https://bugs.webkit.org/show_bug.cgi?id=127963
</ins><span class="cx">
</span><del>- * html/HTMLIFrameElement.h:
- (HTMLIFrameElement):
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>- * html/HTMLImageElement.cpp:
- (WebCore::HTMLImageElement::parseAttribute): Update the HTMLDocument's maps when the name attribute's existence
- changes its presence on window and document name getters in turn. This behavior change, again, appears to be
- untestable due to the old being more graceful when DocumentOrderedMap returned a wrong value.
</del><ins>+ * PlatformGTK.cmake: Make compilation of the WebKitGTK+ GObject DOM bindings
+ unconditional, instead of conditional on the WebKit2 build.
</ins><span class="cx">
</span><del>- * html/HTMLImageElement.h:
</del><ins>+2014-03-05 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- * html/HTMLNameCollection.cpp:
- (WebCore::HTMLNameCollection::HTMLNameCollection): No longer overrides itemAfter. This enables backwards traversals
- of the tree along with other optimizations in HTMLCollection.
</del><ins>+ [MSE] Crash in SourceBuffer::sourceBufferPrivateDidReceiveSample() - received samples after SourceBuffer was removed.
+ https://bugs.webkit.org/show_bug.cgi?id=129761
</ins><span class="cx">
</span><del>- (WebCore::WindowNameCollection::nodeMatchesIfNameAttributeMatch): Added. Used in Element::updateName to determine
- whether add() or remove() should be called on HTMLDocument's maps.
- (WebCore::WindowNameCollection::nodeMatches): Added.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- (WebCore::DocumentNameCollection::nodeMatchesIfIdAttributeMatch): Added. Used in Element::updateName to determine
- whether add() or remove() should be called on HTMLDocument's maps.
- (WebCore::DocumentNameCollection::nodeMatchesIfNameAttributeMatch): Ditto.
- (WebCore::DocumentNameCollection::nodeMatches): Added.
</del><ins>+ Guard against the possibility that SourceBufferPrivates will continue to generate samples even after
+ a parse error. Bail out early from sourceBufferPrivateDidReceiveInitializationSegment and
+ sourceBufferPrivateDidReceiveSample if the SourceBuffer has been removed.
</ins><span class="cx">
</span><del>- * html/HTMLNameCollection.h:
- (HTMLNameCollection): Removed create since this class shouldn't be instantiated on its own.
</del><ins>+ * Modules/mediasource/SourceBuffer.cpp:
+ (WebCore::SourceBuffer::sourceBufferPrivateDidReceiveInitializationSegment):
+ (WebCore::SourceBuffer::sourceBufferPrivateDidReceiveSample):
</ins><span class="cx">
</span><del>- (WebCore::WindowNameCollection): Added.
- (WebCore::WindowNameCollection::create): Added.
- (WebCore::WindowNameCollection::nodeMatches): Added.
- (WebCore::WindowNameCollection::nodeMatchesIfIdAttributeMatch): Added.
- (WebCore::WindowNameCollection::WindowNameCollection): Added.
- (WebCore::DocumentNameCollection): Added.
- (WebCore::DocumentNameCollection::create): Added.
- (WebCore::DocumentNameCollection::nodeMatches): Added.
- (WebCore::DocumentNameCollection::DocumentNameCollection): Added.
</del><ins>+2014-03-05 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- * html/HTMLObjectElement.cpp:
- (WebCore::HTMLObjectElement::updateDocNamedItem): Update both window and document getter maps of HTMLDocument when
- the visibility of this element changes due to the DOM mutations in the subtree.
</del><ins>+ Build fix, take 2.
</ins><span class="cx">
</span><del>- * html/HTMLObjectElement.h:
- (WebCore::HTMLObjectElement):
- (WebCore::toHTMLObjectElement): Added.
</del><ins>+ * platform/mac/HTMLConverter.mm:
</ins><span class="cx">
</span><del>-2013-05-06 Andreas Kling <akling@apple.com>
</del><ins>+2014-03-05 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- Flaky Test: fast/frames/crash-remove-iframe-during-object-beforeload.html
- <http://webkit.org/b/115674>
</del><ins>+ Build fix.
</ins><span class="cx">
</span><ins>+ * platform/mac/HTMLConverter.mm:
+
+2014-03-05 Enrica Casucci <enrica@apple.com>
+
+ Crash when copying content that contains <sup>.
+ https://bugs.webkit.org/show_bug.cgi?id=129765
+ <rdar://problem/16139498>
+
+ Reviewed by Benjamin Poulain.
+
+ Adding static definition of NSAttributeSuperscriptName.
+
+ * platform/mac/HTMLConverter.mm:
+
+2014-03-05 Gavin Barraclough <barraclough@apple.com>
+
+ https://bugs.webkit.org/show_bug.cgi?id=128625
+ Add fast mapping from StringImpl to JSString
+
+ Unreviewed roll-out.
+
+ Reverting r164347, r165054, r165066 - not clear the performance tradeoff was right.
+
+ * bindings/js/DOMWrapperWorld.cpp:
+ (WebCore::DOMWrapperWorld::clearWrappers):
+ * bindings/js/DOMWrapperWorld.h:
+ * bindings/js/JSDOMBinding.h:
+ (WebCore::jsStringWithCache):
+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::commonVM):
+ * bindings/scripts/StaticString.pm:
+ (GenerateStrings):
+
+2014-03-05 Daniel Bates <dabates@apple.com>
+ And Alexey Proskuryakov <ap@apple.com>
+
+ ASSERT(newestManifest) fails in WebCore::ApplicationCacheGroup::didFinishLoadingManifest()
+ https://bugs.webkit.org/show_bug.cgi?id=129753
+ <rdar://problem/12069835>
+
</ins><span class="cx"> Reviewed by Alexey Proskuryakov.
</span><span class="cx">
</span><del>- Don't cache the Document::renderer() in a local since layout may blow it away.
</del><ins>+ Fixes an issue where an assertion failure would occur when visiting a web site whose on-disk
+ app cache doesn't contain a manifest resource.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::implicitClose):
</del><ins>+ For some reason an app cache for a web site may be partially written to disk. In particular, the
+ app cache may only contain a CacheGroups entry. That is, the manifest resource and origin records
+ may not be persisted to disk. From looking over the code, we're unclear how such a situation can occur
+ and hence have been unable to create such an app cache. We were able to reproduce this issue using
+ an app cache database file that was provided by a person that was affected by this issue.
</ins><span class="cx">
</span><del>-2013-05-06 Anders Carlsson <andersca@apple.com>
</del><ins>+ No test included because it's not straightforward to write a test for this change.
</ins><span class="cx">
</span><del>- More work on LocalStorageDatabaseTracker
- https://bugs.webkit.org/show_bug.cgi?id=115680
</del><ins>+ * loader/appcache/ApplicationCacheGroup.cpp:
+ (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete): Assert that m_cacheBeingUpdated->manifestResource()
+ is non-null. Currently we only document this assumption in a code comment. Also separated a single assertion
+ expression into two assertion expressions to make it straightforward to identify the failing sub-expression
+ on failure.
+ * loader/appcache/ApplicationCacheStorage.cpp:
+ (WebCore::ApplicationCacheStorage::store): Modified to call ApplicationCacheStorage::deleteCacheGroupRecord()
+ to remove a cache group and associated cache records (if applicable) before inserting a cache group entry.
+ This replacement approach will ultimately repair incomplete app cache data for people affected by this bug.
+ (WebCore::ApplicationCacheStorage::loadCache): Log an error and return nullptr if the cache we loaded doesn't
+ have a manifest resource.
+ (WebCore::ApplicationCacheStorage::deleteCacheGroupRecord): Added.
+ (WebCore::ApplicationCacheStorage::deleteCacheGroup): Extracted deletion logic for cache group record into
+ ApplicationCacheStorage::deleteCacheGroupRecord().
+ * loader/appcache/ApplicationCacheStorage.h:
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-03-05 Oliver Hunt <oliver@apple.com>
</ins><span class="cx">
</span><del>- Export symbols needed by WebKit2.
</del><ins>+ Support caching of custom setters
+ https://bugs.webkit.org/show_bug.cgi?id=129519
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+ Reviewed by Filip Pizlo.
</ins><span class="cx">
</span><del>-2013-05-06 Manuel Rego Casasnovas <rego@igalia.com>
</del><ins>+ Add forwarding header
</ins><span class="cx">
</span><del>- [GTK] Add webkit_uri_scheme_request_finish_error
- https://bugs.webkit.org/show_bug.cgi?id=94316
</del><ins>+ Tests: js/regress/assign-custom-setter-polymorphic.html
+ js/regress/assign-custom-setter.html
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * ForwardingHeaders/jit/SpillRegistersMode.h: Added.
</ins><span class="cx">
</span><del>- No behaviour change, covered by existing tests.
</del><ins>+2014-03-05 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- * platform/network/soup/ResourceError.h:
- (ResourceError): Rename genericIOError() to genericGError().
- * platform/network/soup/ResourceErrorSoup.cpp:
- (WebCore::ResourceError::httpError): Use genercicGError() instead of
- genericIOError().
- (WebCore::ResourceError::genericGError): Use error domain instead of
- always return a G_IO_ERROR.
- * platform/network/soup/ResourceHandleSoup.cpp: Use genericGError()
- instead of genericIOError().
- (WebCore::redirectSkipCallback):
- (WebCore::readCallback):
</del><ins>+ Fix crash in CompositeEditCommand::cloneParagraphUnderNewElement()
+ <http://webkit.org/b/129751>
+ <rdar://problem/16237965>
</ins><span class="cx">
</span><del>-2013-05-06 Bem Jones-Bey <bjonesbe@adobe.com>
</del><ins>+ Reviewed by Jon Honeycutt.
</ins><span class="cx">
</span><del>- Heap-use-after-free in WebCore::InlineFlowBox::deleteLine
- https://bugs.webkit.org/show_bug.cgi?id=114772
</del><ins>+ Merged from Blink (patch by Yuta Kitamura):
+ https://src.chromium.org/viewvc/blink?revision=168160&view=revision
+ http://crbug.com/345005
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ The root cause is CompositeEditCommand::moveParagraphWithClones() passing
+ two positions |start| and |end| which do not follow the document order,
+ i.e. in some situations |start| is located after |end| because of
+ the difference in affinity.
</ins><span class="cx">
</span><del>- Fix the new use after free issues in Ruby.
</del><ins>+ This patch fixes this crash by normalizing |end| to |start| in such situations.
+ It also adds an ASSERT that checks the relationship between |start| and |end|.
</ins><span class="cx">
</span><del>- Test: fast/ruby/ruby-svg-crash.html
</del><ins>+ Test: editing/execCommand/format-block-crash.html
</ins><span class="cx">
</span><del>- * rendering/RenderRubyRun.cpp:
- (WebCore::RenderRubyRun::removeChild):
</del><ins>+ * editing/CompositeEditCommand.cpp:
+ (WebCore::CompositeEditCommand::cloneParagraphUnderNewElement):
+ (WebCore::CompositeEditCommand::moveParagraphWithClones):
+ * editing/CompositeEditCommand.h:
</ins><span class="cx">
</span><del>-2013-05-06 Robert Hogan <robert@webkit.org>
</del><ins>+2014-03-05 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- REGRESSION(r140024): child of fixed div inside of absolute div does not get resized when window is resized
- https://bugs.webkit.org/show_bug.cgi?id=115379
</del><ins>+ [CSS Regions] Scrollable regions
+ https://bugs.webkit.org/show_bug.cgi?id=129301
</ins><span class="cx">
</span><span class="cx"> Reviewed by David Hyatt.
</span><span class="cx">
</span><del>- When detecting whether a fixed pos object needed to move with an absolute ancestor we checked
- whether the logical width of the fixed pos object had changed. This check prevented the fixed pos
- object from detecting later on that it needed to relayout its children in layoutBlock(). So recompute the width
- for our check instead of updating it.
</del><ins>+ Named flow fragments do not inherit the overflow property from the fragment container.
+ When asked if the flow thread content should be clipped, the named flow fragments
+ will respond using the overflow property of the named flow fragment container.
</ins><span class="cx">
</span><del>- Test: fast/block/positioning/child-of-fixed-pos-after-movement.html
</del><ins>+ When painting the flow thread layer inside the region, the scrolled content offset of
+ the region must be used to offset the flow thread's layer.
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::markFixedPositionObjectForLayoutIfNeeded):
</del><ins>+ Tests: fast/regions/scrollable-last-region.html
+ fast/regions/scrollable-single-region-bt.html
+ fast/regions/scrollable-single-region-lr.html
+ fast/regions/scrollable-single-region-relative-element.html
+ fast/regions/scrollable-single-region-rl.html
+ fast/regions/scrollable-single-region.html
</ins><span class="cx">
</span><del>-2013-05-06 Mike Lattanzio <mlattanzio@blackberry.com>
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::mapLayerClipRectsToFragmentationLayer):
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::createStyle):
+ (WebCore::RenderNamedFlowFragment::shouldClipFlowThreadContent):
+ * rendering/RenderNamedFlowFragment.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::decorationsClipRectForBoxInNamedFlowFragment):
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::shouldClipFlowThreadContent):
+ * rendering/RenderRegion.h:
</ins><span class="cx">
</span><del>- [BlackBerry] Enable and Expose Text Autosizing through BlackBerry::WebKit::WebSettings
- https://bugs.webkit.org/show_bug.cgi?id=113808
</del><ins>+2014-03-05 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Subpixel rendering: Device pixel round accumulated subpixel value when the RenderLayer with transform paints its content.
+ https://bugs.webkit.org/show_bug.cgi?id=129079
</ins><span class="cx">
</span><del>- Added TextAutosizer.cpp to the BlackBerry build.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * PlatformBlackBerry.cmake:
</del><ins>+ Snap the content to the device pixel position (as opposed to integral position) before
+ applying the transform. Recalculate the remaining subpixels that need offsetting at painting time.
</ins><span class="cx">
</span><del>-2013-05-06 Darin Adler <darin@apple.com>
</del><ins>+ Test: compositing/hidpi-absolute-subpixel-positioned-transformed-elements.html
</ins><span class="cx">
</span><del>- Use OwnPtr instead of deleteAllValues in SVGAttributeToPropertyMap
- https://bugs.webkit.org/show_bug.cgi?id=115653
</del><ins>+ * platform/graphics/LayoutPoint.h:
+ (WebCore::roundedForPainting):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paintLayerByApplyingTransform):
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-03-05 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Also made a few style fixes to the code at the same time.
</del><ins>+ [iOS] Show external device name/type in placeholder
+ https://bugs.webkit.org/show_bug.cgi?id=129723
</ins><span class="cx">
</span><del>- * svg/properties/SVGAttributeToPropertyMap.cpp:
- (WebCore::SVGAttributeToPropertyMap::addProperties): Changed argument to
- const because there was no reason for it to be non-const. Added calls to
- get() since the items in the map are now OwnPtr. Added a couple FIXMEs
- about performance mistakes.
- (WebCore::SVGAttributeToPropertyMap::addProperty): Added a FIXME about
- a small performance mistake, and updated to use OwnPtr instead of raw
- pointers.
- (WebCore::SVGAttributeToPropertyMap::synchronizeProperties): Added a call
- to get().
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- * svg/properties/SVGAttributeToPropertyMap.h: Removed now-unneeded
- constructor and destructor definitions. Changed the type for the
- addProperties to be const&. Added a comment about incorrect function
- naming. Changed the type of the map data member to use OwnPtr.
</del><ins>+ Make the name and type of the external device available to the JS based controls.
+ * Modules/mediacontrols/MediaControlsHost.cpp:
+ (WebCore::MediaControlsHost::externalDeviceDisplayName):
+ (WebCore::MediaControlsHost::externalDeviceType):
+ * Modules/mediacontrols/MediaControlsHost.h:
+ * Modules/mediacontrols/MediaControlsHost.idl:
</ins><span class="cx">
</span><del>-2013-05-06 Antti Koivisto <antti@apple.com>
</del><ins>+ * Modules/mediacontrols/mediaControlsiOS.js:
+ (ControllerIOS.prototype.updateWirelessPlaybackStatus): Display device type-specific infomation
+ in the placeholder image.
</ins><span class="cx">
</span><del>- Remove more code that was only needed for younger/older shadow trees
- https://bugs.webkit.org/show_bug.cgi?id=115662
</del><ins>+ * WebCore.exp.in: Export new WebKitSystemInterface functions.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::wirelessPlaybackTargetName): Added.
+ (WebCore::MediaPlayer::wirelessPlaybackTargetType): Ditto.
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
</ins><span class="cx">
</span><del>- This is dead code.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessPlaybackTargetType): Added.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessPlaybackTargetName): Ditto.
</ins><span class="cx">
</span><ins>+ * platform/ios/WebCoreSystemInterfaceIOS.mm:
+ * platform/mac/WebCoreSystemInterface.h:
+ * platform/mac/WebCoreSystemInterface.mm:
+
+2014-03-05 Benjamin Poulain <bpoulain@apple.com>
+
+ [iOS] Rename the various VisibleExtent variations to exposedContentRect
+ https://bugs.webkit.org/show_bug.cgi?id=129728
+
+ Reviewed by Simon Fraser.
+
+ Rename DocumentVisibleExtent and VisibleExtentContentRect to ExposedContentRect in a desperate
+ attempt to make things a tiny little bit less confusing.
+
+ The name is ExposedContentRect and not ExposedRect as that rect is exposed on ScrollView, while the
+ rect is in document coordinates (which does not make any difference on WebKit1...).
+
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- * dom/ComposedShadowTreeWalker.cpp:
- (WebCore::nodeCanBeDistributed):
- (WebCore::ComposedShadowTreeWalker::traverseParentBackToShadowRootOrHost):
- * dom/EventPathWalker.cpp:
- (WebCore::EventPathWalker::moveToParent):
- * html/shadow/ContentDistributor.cpp:
- (WebCore::ScopeContentDistribution::ScopeContentDistribution):
- (WebCore::ScopeContentDistribution::registerInsertionPoint):
- (WebCore::ScopeContentDistribution::unregisterInsertionPoint):
- (WebCore):
- (WebCore::ScopeContentDistribution::hasInsertionPoint):
- (WebCore::ContentDistributor::invalidate):
- * html/shadow/ContentDistributor.h:
- (ScopeContentDistribution):
- * html/shadow/InsertionPoint.cpp:
- (WebCore::InsertionPoint::contains):
- (WebCore::resolveReprojection):
- (WebCore::collectInsertionPointsWhereNodeIsDistributed):
- * html/shadow/InsertionPoint.h:
</del><ins>+ * platform/ScrollView.h:
+ * platform/ios/ScrollViewIOS.mm:
+ (WebCore::ScrollView::exposedContentRect):
+ (WebCore::ScrollView::setExposedContentRect):
+ * platform/ios/wak/WAKScrollView.h:
+ * platform/ios/wak/WAKScrollView.mm:
+ (-[WAKScrollView exposedContentRect]):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
+ (WebCore::RenderLayerCompositor::didChangeVisibleRect):
+
+2014-03-05 Simon Fraser <simon.fraser@apple.com>
+
+ ObjC exception when dropping files into a WKView: drag and drop uses code from WebKit.framework
+ https://bugs.webkit.org/show_bug.cgi?id=129752
+
+ Reviewed by Enrica Casucci.
+
+ Add C functions for NSURL-related functionality required by WebKit2
+
+ * WebCore.exp.in:
+ * platform/mac/WebCoreNSURLExtras.h:
+ * platform/mac/WebCoreNSURLExtras.mm:
+ (WebCore::URLByCanonicalizingURL):
+ (WebCore::rangeOfURLScheme):
+ (WebCore::looksLikeAbsoluteURL):
+
+2014-03-05 Martin Hock <mhock@apple.com>
+
+ Add support for sessions to MemoryCache.
+ https://bugs.webkit.org/show_bug.cgi?id=127794
+
+ Reviewed by Sam Weinig.
+
+ * WebCore.exp.in:
+ * editing/DeleteButtonController.cpp:
+ (WebCore::DeleteButtonController::createDeletionUI): Initialize CachedImage with sessionID.
+ * html/DOMURL.cpp:
+ (WebCore::DOMURL::revokeObjectURL): Remove URL from MemoryCache for all sessions.
+ * inspector/InspectorPageAgent.cpp:
+ (WebCore::InspectorPageAgent::cachedResource): Pass sessionID to MemoryCache.
+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::InspectorResourceAgent::replayXHR): Ditto.
+ * loader/DocumentLoader.cpp:
+ (WebCore::areAllLoadersPageCacheAcceptable): Ditto.
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::tellClientAboutPastMemoryCacheLoads): Ditto.
+ * loader/ImageLoader.cpp:
+ (WebCore::ImageLoader::updateFromElement): Initialize CachedImage with sessionID.
+ * loader/archive/cf/LegacyWebArchive.cpp:
+ (WebCore::LegacyWebArchive::create): Pass sessionID to MemoryCache.
+ * loader/cache/CachedCSSStyleSheet.cpp:
+ (WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet): Constructor takes sessionID.
+ * loader/cache/CachedCSSStyleSheet.h:
+ * loader/cache/CachedFont.cpp: Ditto.
+ (WebCore::CachedFont::CachedFont):
+ * loader/cache/CachedFont.h:
+ * loader/cache/CachedImage.cpp: Ditto.
+ (WebCore::CachedImage::CachedImage):
+ * loader/cache/CachedImage.h:
+ * loader/cache/CachedRawResource.cpp: Ditto.
+ (WebCore::CachedRawResource::CachedRawResource):
+ * loader/cache/CachedRawResource.h:
+ * loader/cache/CachedResource.cpp: Ditto.
+ (WebCore::CachedResource::CachedResource):
+ (WebCore::CachedResource::~CachedResource): Pass sessionID to MemoryCache.
+ * loader/cache/CachedResource.h:
+ (WebCore::CachedResource::sessionID):
+ * loader/cache/CachedResourceLoader.cpp:
+ (WebCore::createResource): Constructors take sessionID.
+ (WebCore::CachedResourceLoader::sessionID): Retrieve sessionID from page.
+ (WebCore::CachedResourceLoader::requestUserCSSStyleSheet): Pass sessionID to MemoryCache.
+ (WebCore::CachedResourceLoader::requestResource): Initialize CachedCSSStyleSheet with sessionID.
+ (WebCore::CachedResourceLoader::revalidateResource): Initialize cached resource with sessionID.
+ (WebCore::CachedResourceLoader::loadResource): Pass sessionID to MemoryCache and initialize cached resource with sessionID.
+ * loader/cache/CachedResourceLoader.h:
+ * loader/cache/CachedSVGDocument.cpp: Constructor takes sessionID.
+ (WebCore::CachedSVGDocument::CachedSVGDocument):
+ * loader/cache/CachedSVGDocument.h:
+ * loader/cache/CachedScript.cpp: Ditto.
+ (WebCore::CachedScript::CachedScript):
+ * loader/cache/CachedScript.h:
+ * loader/cache/CachedTextTrack.cpp: Ditto.
+ (WebCore::CachedTextTrack::CachedTextTrack):
+ * loader/cache/CachedTextTrack.h:
+ * loader/cache/CachedXSLStyleSheet.cpp: Ditto.
+ (WebCore::CachedXSLStyleSheet::CachedXSLStyleSheet):
+ * loader/cache/CachedXSLStyleSheet.h:
+ * loader/cache/MemoryCache.cpp:
+ (WebCore::MemoryCache::getSessionMap): Retrieve CachedResourceMap based on sessionID.
+ (WebCore::MemoryCache::add): Use sessionID from CachedResource parameter.
+ (WebCore::MemoryCache::revalidationSucceeded): Add sessionID parameter.
+ (WebCore::MemoryCache::resourceForURL): Ditto.
+ (WebCore::MemoryCache::resourceForRequest): Ditto, also move impl into impl method.
+ (WebCore::MemoryCache::resourceForRequestImpl): Add CachedResourceMap parameter.
+ (WebCore::MemoryCache::addImageToCache): Use default sessionID.
+ (WebCore::MemoryCache::removeImageFromCache): Ditto.
+ (WebCore::MemoryCache::evict): Use sessionID from CachedResource parameter.
+ (WebCore::MemoryCache::removeResourcesWithOrigin): Iterate through all CachedResourceMaps.
+ (WebCore::MemoryCache::getOriginsWithCache): Ditto.
+ (WebCore::MemoryCache::removeUrlFromCache): Add sessionID parameter.
+ (WebCore::MemoryCache::removeRequestFromCache): Ditto.
+ (WebCore::MemoryCache::removeRequestFromSessionCaches): Remove request from all CachedResourceMaps, with multithread support.
+ (WebCore::MemoryCache::removeRequestFromCacheImpl): Add sessionID parameter.
+ (WebCore::MemoryCache::removeRequestFromSessionCachesImpl): Iterate through all CachedResourceMaps.
+ (WebCore::MemoryCache::crossThreadRemoveRequestFromCache): Add sessionID parameter.
+ (WebCore::MemoryCache::crossThreadRemoveRequestFromSessionCaches): Pass on request to removeRequestFromSessionCachesImpl.
+ (WebCore::MemoryCache::getStatistics): Iterate through all CachedResourceMaps.
+ (WebCore::MemoryCache::setDisabled): Ditto.
+ * loader/cache/MemoryCache.h: Create another level for cache.
+ * platform/CrossThreadCopier.cpp: Allow copying SessionIDs across threads.
+ (WebCore::SessionID>::copy):
+ * platform/CrossThreadCopier.h:
+ * platform/network/cf/ResourceRequest.h:
+ (WebCore::ResourceRequest::ResourceRequest): Remove trailing whitespace.
+ * rendering/RenderSnapshottedPlugIn.cpp:
+ (WebCore::RenderSnapshottedPlugIn::updateSnapshot): Initialize CachedImage with sessionID.
</ins><span class="cx"> * testing/Internals.cpp:
</span><del>- (WebCore):
- * testing/Internals.h:
- (Internals):
- * testing/Internals.idl:
</del><ins>+ (WebCore::Internals::isLoadingFromMemoryCache): Pass sessionID to MemoryCache.
</ins><span class="cx">
</span><del>-2013-05-06 Tiancheng Jiang <tijiang@rim.com>
</del><ins>+2014-03-03 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- [BlackBerry] Update HTML5 progress bar UX.
- https://bugs.webkit.org/show_bug.cgi?id=115284.
</del><ins>+ [GTK][CMake] Generate documentation for the DOM bindings
+ https://bugs.webkit.org/show_bug.cgi?id=126211
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>- BlackBerry PR 331729.
- Internally Reviewed by Jeff Rogers.
</del><ins>+ * PlatformGTK.cmake: Add some files to the GObjectDOMBindings build, so that the
+ doc generation succeeds. Have the GObjectDOMBindings_INSTALLED_HEADERS variable contain
+ all installed headers and use another variable for GIR generation. Create the configuration
+ file for the gtkdoc generation.
</ins><span class="cx">
</span><del>- Use GL render to paint progress bar to meet UX specs.
- Also change the slider range to GL render.
</del><ins>+2014-03-05 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * platform/blackberry/RenderThemeBlackBerry.cpp:
- (WebCore):
- (WebCore::RenderThemeBlackBerry::paintSliderTrack):
- (WebCore::RenderThemeBlackBerry::paintProgressTrackRect):
- (WebCore::drawProgressTexture):
- (WebCore::RenderThemeBlackBerry::paintProgressBar):
- * platform/blackberry/RenderThemeBlackBerry.h:
- (RenderThemeBlackBerry):
</del><ins>+ Subpixel rendering: Wrong cliprect on absolute positioned elements.
+ https://bugs.webkit.org/show_bug.cgi?id=129656
</ins><span class="cx">
</span><del>-2013-05-06 Bem Jones-Bey <bjonesbe@adobe.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- [CSS Exclusions] remove unused -webkit-wrap property
- https://bugs.webkit.org/show_bug.cgi?id=102105
</del><ins>+ outlineBoundsForRepaint() is expected to return the outline repaint rect. Using enclosingIntRect()
+ to calculate the outline boundaries breaks repaint logic in RenderElement::repaintAfterLayoutIfNeeded().
+ Since enclosingIntRect() can return bigger rect than repaint rect, the old/new bounds' dimensions could end up
+ being different which triggers the size change repaint code path.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Test: fast/repaint/hidpi-absolute-positioned-element-wrong-cliprect-after-move.html
</ins><span class="cx">
</span><del>- Remove -webkit-wrap property and all mentions. This property doesn't
- exist in the spec anymore, and was never implemented more than just
- parsing the property.
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::outlineBoundsForRepaint):
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::repaintAfterLayoutIfNeeded):
+ * rendering/svg/RenderSVGModelObject.cpp:
+ (WebCore::RenderSVGModelObject::outlineBoundsForRepaint):
</ins><span class="cx">
</span><del>- * WebCore.order:
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseValue):
- * css/CSSProperty.cpp:
- (WebCore::CSSProperty::isInheritedProperty):
- * css/CSSPropertyNames.in:
- * css/StylePropertySet.cpp:
- (WebCore::StylePropertySet::getPropertyValue):
- (WebCore::StylePropertySet::asText):
- * css/StylePropertyShorthand.cpp:
- (WebCore::shorthandForProperty):
- * css/StylePropertyShorthand.h:
- (WebCore):
- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::applyProperty):
</del><ins>+2014-03-05 Krzysztof Czech <k.czech@samsung.com>
</ins><span class="cx">
</span><del>-2013-05-06 Anders Carlsson <andersca@apple.com>
</del><ins>+ [ATK] Expose missing functionalities of AtkTableCell to AT.
+ https://bugs.webkit.org/show_bug.cgi?id=129492
</ins><span class="cx">
</span><del>- Write storage changes to disk
- https://bugs.webkit.org/show_bug.cgi?id=115660
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Implemented missing API of AtkTableCell.
</ins><span class="cx">
</span><del>- Export symbols needed by WebKit2.
</del><ins>+ No new tests. Covered by existing ones.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+ * accessibility/atk/WebKitAccessibleInterfaceTableCell.cpp:
+ (webkitAccessibleTableCellGetColumnSpan):
+ (webkitAccessibleTableCellGetRowSpan):
+ (webkitAccessibleTableCellGetPosition):
+ (webkitAccessibleTableCellGetTable):
+ (webkitAccessibleTableCellInterfaceInit):
</ins><span class="cx">
</span><del>-2013-05-06 Tiancheng Jiang <tijiang@rim.com>
</del><ins>+2014-03-05 Andres Gomez <agomez@igalia.com>
</ins><span class="cx">
</span><del>- [BlackBerry] Update HTML5 progress bar UX.
- https://bugs.webkit.org/show_bug.cgi?id=115284.
</del><ins>+ [GStreamer] WebSource doesn't need the "iradio-mode" property
+ https://bugs.webkit.org/show_bug.cgi?id=129685
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- BlackBerry PR 331729.
- Internally Reviewed by Jeff Rogers.
</del><ins>+ Removed the "iradio-mode" property from the WK source element
+ since this was only available for its modification from
+ playbin/uridecodebin and, as discussed in GStreamer bug #725383,
+ it was not being set and now is going to be removed.
</ins><span class="cx">
</span><del>- * platform/blackberry/RenderThemeBlackBerry.cpp:
- (WebCore):
- (WebCore::createLinearGradient):
- (WebCore::RenderThemeBlackBerry::paintSliderTrack):
- (WebCore::RenderThemeBlackBerry::paintSliderTrackRect):
- (WebCore::RenderThemeBlackBerry::paintProgressBar):
- * platform/blackberry/RenderThemeBlackBerry.h:
- (RenderThemeBlackBerry):
</del><ins>+ It is safe just to send always the "icy-metadata" header set and
+ deal with returning "icy" headers as we were already doing.
</ins><span class="cx">
</span><del>-2013-05-06 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
</del><ins>+ * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+ (webKitWebSrcSetProperty):
+ (webKitWebSrcGetProperty):
+ (webKitWebSrcStart):
</ins><span class="cx">
</span><del>- [texmap] draw content if graphics layer displays a video
- https://bugs.webkit.org/show_bug.cgi?id=114742
</del><ins>+2014-03-05 Chang Shu <cshu@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Noam Rosenthal.
</del><ins>+ Copying wrapping text results in multiple spaces between wrapped lines stripped.
+ https://bugs.webkit.org/show_bug.cgi?id=129609.
</ins><span class="cx">
</span><del>- Bug #86410 focuses on having composited/accelerated video using the
- TextureMapper. But the video is not rendered fast by using the
- repaint() method. In the case of the TextureMapper it is required to
- call a content display as fast as possible.
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>- This patch adds the class TextureMapperPlatformLayer::Client with the
- method setLayerNeedsDisplay(). The GraphicsLayerTextureMapper
- implements this new class and the new method calls
- setContentsNeedsDisplay(), causing a faster content display when
- requested.
</del><ins>+ While checking the condition of restoring the missing space, the collapsed spaces
+ may not be exactly one.
</ins><span class="cx">
</span><del>- No new tests. Covered by existing tests.
</del><ins>+ editing/pasteboard/copy-text-with-wrapped-tag.html is enhanced to test this case.
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
- (WebCore::GraphicsLayerTextureMapper::setContentsToMedia): sets itself
- as the TextureMapperPlatformLayer's client
- * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
- (WebCore::GraphicsLayerTextureMapper::setLayerNeedsDisplay):
- TextureMapperPlatformLayer::Client::setLayerNeedsDisplay implementation
- (GraphicsLayerTextureMapper):
- * platform/graphics/texmap/TextureMapperPlatformLayer.h:
- (Client): New class
- (WebCore::TextureMapperPlatformLayer::TextureMapperPlatformLayer):
- (WebCore::TextureMapperPlatformLayer::setClient): client setter
- (WebCore::TextureMapperPlatformLayer::setLayerNeedsDisplay): facade
- for client's method
</del><ins>+ * editing/TextIterator.cpp:
+ (WebCore::TextIterator::handleTextBox):
</ins><span class="cx">
</span><del>-2013-05-02 David Hyatt <hyatt@apple.com>
</del><ins>+2014-03-05 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Improve the performance of RenderDeprecatedFlexibleBox.
- https://bugs.webkit.org/show_bug.cgi?id=115543.
</del><ins>+ appendChild shouldn't invalidate LiveNodeLists and HTMLCollections if they don't have valid caches
+ https://bugs.webkit.org/show_bug.cgi?id=129727
</ins><span class="cx">
</span><del>- Optimize deprecated flexible box layout to be much faster. This patch implements
- the following optimizations in the deprecated flexible box:
-
- (1) Defer repainting of children until they have been placed into their final
- positions. This is done by collecting all of the old frame rects into a Vector
- and then doing a walk after layout is finished to repaint any of the children if
- they moved from that position. This code matches the new RenderFlexibleBox's system
- for repainting moved children.
-
- (2) Implement support for layout deltas. We keep a Vector of layout deltas for each
- child as we shift them around, and every time we lay a child out again, we apply that
- child's current layout delta to avoid repainting at the new position. RenderFlexibleBox
- does not have support for layout deltas yet, so we'll need to implement this in the
- new flexbox code as well.
-
- (3) Optimize flexible objects to avoid laying them out unflexed. When laying out
- horizontal and vertical boxes now, we lay out the inflexible items first. We then
- check to see if the inflexible extent of all those children has changed.
-
- If this extent didn't change, and the flexible items either don't need layout or there
- is only one flexing item, then we avoid laying out the item in an unflexed state
- and simply lay out one time with the flex applied instead. The new RenderFlexibleBox
- does not have these optimizations and would benefit from them in the block-direction box
- case (it uses preferred logical widths in the inline-direction box case, and so avoided
- layouts in that direction already).
-
- Reviewed by Beth Dakin.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * rendering/RenderDeprecatedFlexibleBox.cpp:
- (WebCore::appendChildFrameRects):
- Cache all of the old child frame rects so that we can compare them with the final
- positions for repaintDuringLayoutIfMoved. This collection is identical to what the
- new flexbox code does.
-
- (WebCore::appendChildLayoutDeltas):
- Build up a vector that tracks layout deltas. We apply these layout deltas every
- time we lay out a child so that any repainting done during layout ignores our shifted
- position and just keeps using the old position. The new flexbox does not have this
- code yet.
</del><ins>+ Before this patch, invalidateNodeListAndCollectionCachesInAncestors invalidated node lists and HTML
+ collections on ancestors of a node whenever we're inserting or removing a child node. This patch
+ makes HTMLCollections and LiveNodeLists register themselves with Document only when they have valid
+ caches.
</ins><span class="cx">
</span><del>- (WebCore::repaintChildrenDuringLayoutIfMoved):
- After final placement of children, we do a single pass over all of the children and
- repaint them if they shifted their positions. This matches how the new flexbox works.
-
- (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
- Collect the frame rects and layout deltas, and defer repainting of children to the
- end of layout.
-
- (WebCore::gatherFlexChildrenInfo):
- Don't clear flex overrides when gathering flex information. Add additional information
- such as the number of flexing items so that we can use it to optimize flex layout.
-
- (WebCore::layoutChildIfNeededApplyingDelta):
- A helper for applying your current layout delta for a child when laying that child out.
-
- (WebCore::RenderDeprecatedFlexibleBox::layoutHorizontalBox):
- (WebCore::RenderDeprecatedFlexibleBox::layoutVerticalBox):
- Both methods are patched to aggregate layout deltas as children move around during
- the multiple passes. In addition we now optimize layout in a couple of cases, such
- as when the inflexible space stays the same (thus giving a flexible object the
- same amount of available space, avoiding a need to lay out unflexed first).
-
- (WebCore::RenderDeprecatedFlexibleBox::placeChild):
- Patched to add to our cached layout delta for that child when we do a movement.
</del><ins>+ Each user of CollectionIndexCache now implements willValidateIndexCache member function that gets
+ called when CollectionIndexCache caches any state and necessitates the registration with document.
</ins><span class="cx">
</span><del>- * rendering/RenderDeprecatedFlexibleBox.h:
- Changes to method signatures.
</del><ins>+ * dom/ChildNodeList.h: Added an empty willValidateIndexCache since child node lists are never
+ registered with document.
</ins><span class="cx">
</span><del>-2013-05-04 Andy Estes <aestes@apple.com>
</del><ins>+ * dom/CollectionIndexCache.h:
+ (WebCore::CollectionIndexCache::hasValidCache): Added.
+ (WebCore::CollectionIndexCache::nodeCount): Calls willValidateIndexCache when caching node count.
+ (WebCore::CollectionIndexCache::nodeAfterCached): Ditto. Also assert that hasValidCache() true in
+ the cases where we're simply updating our caches or adding more caches.
+ (WebCore::CollectionIndexCache::nodeAt): Ditto. Also added a code to set the length cache when
+ we've reached the end of the list. This should be a slight speed up on some cases.
</ins><span class="cx">
</span><del>- REGRESSION (r125592): Reproducible crash in DOMWindow::open when a delegate closes the new window in decidePolicyForNavigationAction
- https://bugs.webkit.org/show_bug.cgi?id=115609
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::Document): Initializes a variable used by assertions.
+ (WebCore::Document::unregisterNodeList): Added an early exit for when m_listsInvalidatedAtDocument
+ is empty since invalidateNodeListAndCollectionCaches swaps out the list.
+ (WebCore::Document::registerCollection): Removed the boolean hasIdNameMap since we now explicitly
+ call collectionCachedIdNameMap in HTMLCollection.
+ (WebCore::Document::unregisterCollection): Ditto. Exit early if m_collectionsInvalidatedAtDocument
+ is empty since invalidateNodeListAndCollectionCaches swaps out the list.
+ * dom/Document.h:
</ins><span class="cx">
</span><del>- Reviewed by Oliver Hunt.
</del><ins>+ * dom/LiveNodeList.cpp:
+ (WebCore::LiveNodeList::invalidateCache): Unregister the node list with document if we had caches.
+ * dom/LiveNodeList.h:
+ (WebCore::LiveNodeList::LiveNodeList):
+ (WebCore::LiveNodeList::~LiveNodeList): Ditto.
+ (WebCore::LiveNodeList::invalidateCache): Pass around document. This is necessary since document()
+ had already moved to the new document inside NodeListsNodeData::invalidateCaches.
+ (WebCore::LiveNodeList::willValidateIndexCache): Added. Registers itself with document.
</ins><span class="cx">
</span><del>- When a window created by window.open() is navigated, the embedder might
- close it in decidePolicyForNavigationAction. If this happens, we end up
- with a pointer to a deleted Frame.
</del><ins>+ * dom/Node.cpp:
+ (WebCore::Document::invalidateNodeListAndCollectionCaches): Swap the lists since invalidateCache
+ tries to unregister node lists and HTML collections with document. Since this is the only case in
+ which node lists and HTML collections being removed may not be in the lists in unregisterNodeList
+ and unregisterCollection, assert this condition via m_inInvalidateNodeListAndCollectionCaches.
+ (WebCore::NodeListsNodeData::invalidateCaches):
</ins><span class="cx">
</span><del>- Fix this by keeping a strong reference to the Frame created by
- createWindow(). We can later determine if the window was closed by
- checking if the new Frame has a detached Page.
</del><ins>+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::adoptDocument): Unregister node lists and HTML collections from old
+ document via invalidateCache. We need to explicitly pass in oldDocument here since owner node's
+ document had already been changed to newDocument at this point. Since we're invalidating caches,
+ there is no need to register node lists and HTML collections with newDocument.
</ins><span class="cx">
</span><del>- Added an API test: WebKit1.CloseNewWindowInNavigationPolicyDelegate.
</del><ins>+ * html/HTMLCollection.cpp:
+ (WebCore::HTMLCollection::HTMLCollection):
+ (WebCore::HTMLCollection::~HTMLCollection): Unregister the node list with document if we had caches.
+ (WebCore::HTMLCollection::invalidateCache): Ditto.
+ (WebCore::HTMLCollection::invalidateNamedElementCache):
+ * html/HTMLCollection.h:
+ (WebCore::HTMLCollection::invalidateCache): Pass around document as done in LiveNodeList.
+ (WebCore::HTMLCollection::willValidateIndexCache): Ditto.
</ins><span class="cx">
</span><del>- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::createWindow):
</del><ins>+ * html/HTMLFormControlsCollection.cpp:
+ (WebCore::HTMLFormControlsCollection::invalidateCache): Ditto.
+ * html/HTMLFormControlsCollection.h:
</ins><span class="cx">
</span><del>-2013-05-06 Zan Dobersek <zdobersek@igalia.com>
</del><ins>+ * html/HTMLSelectElement.cpp:
+ (WebCore::HTMLSelectElement::invalidateSelectedItems): Ditto.
+ (WebCore::HTMLSelectElement::setRecalcListItems): Ditto.
</ins><span class="cx">
</span><del>- [GTK] Move GeolocationProviderGeoclue into libPlatform
- https://bugs.webkit.org/show_bug.cgi?id=115591
</del><ins>+2014-03-05 Jon Lee <jonlee@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Fix linker error after r165087
+ https://bugs.webkit.org/show_bug.cgi?id=129730
</ins><span class="cx">
</span><del>- No new tests - no new functionality.
</del><ins>+ Reviewed by Csaba Osztrogonác.
</ins><span class="cx">
</span><del>- * GNUmakefile.am: Remove the Source/WebCore/platform/geoclue directory from the webkitgtk_cppflags list.
- * GNUmakefile.list.am: Move the GeolocationProviderGeoclue(Client) sources under platform_sources.
</del><ins>+ * WebCore.exp.in: Remove undefined symbol __ZN7WebCore32WebVideoFullscreenChangeObserverD2Ev.
</ins><span class="cx">
</span><del>-2013-05-06 Zoltan Arvai <zarvai@inf.u-szeged.hu>
</del><ins>+2014-03-04 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- [Qt][Win] Unreviewed buildfix after r149579.
</del><ins>+ Enable device pixel repaint rect tracking.
+ https://bugs.webkit.org/show_bug.cgi?id=129712
</ins><span class="cx">
</span><del>- * plugins/win/PluginDatabaseWin.cpp:
- (WebCore::addQtWebKitPluginPath):
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-06 Antoine Quint <graouts@apple.com>
</del><ins>+ Tracked repaint rects are device pixel snapped now to support hiDPI test cases.
</ins><span class="cx">
</span><del>- Manage the presentation of the snapshotted plug-in using JavaScript
- https://bugs.webkit.org/show_bug.cgi?id=115548
</del><ins>+ Test: fast/repaint/hidpi-device-pixel-based-repaint-rect-tracking.html
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ * WebCore.exp.in:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::addTrackedRepaintRect):
+ (WebCore::FrameView::trackedRepaintRectsAsText): Print them as LayoutUnits to get
+ trailing zeros cut off.
+ * page/FrameView.h:
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderLayer.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::setContentsNeedDisplay):
+ (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect):
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::repaintViewRectangle):
</ins><span class="cx">
</span><del>- * Resources/plugIns.js:
- (createOverlay):
- Implement the createOverlay(shadowRoot, titleText, subtitleText) method
- that is called from WebCore (HTMLPlugInImageElement::didAddUserAgentShadowRoot)
- to allow the injected script to customize the shadow root for a snapshotted
- plug-in. This is a default implementation, clients are expected to customize
- this by providing their own JS file with enhanced behavior.
</del><ins>+2014-03-04 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- * css/CSSDefaultStyleSheets.cpp:
- (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
- Since we no longer have a default shadow tree generated in C++, it makes little
- sense for clients to extend the default snapshotted plug-in stylesheet, so we
- only insert it if no custom one is provided by the chrome client.
</del><ins>+ Don't clamp scrolling node offsets when the offset is changed by delegated scrolling
+ https://bugs.webkit.org/show_bug.cgi?id=129724
</ins><span class="cx">
</span><del>- * css/plugIns.css:
- Better styling of the default snapshotted plug-in overlay look by using CSS
- flex boxes. Also using more explicit selector as an optimization.
</del><ins>+ Reviewed by Sam Weinig.
+
+ Call setScrollPositionWithoutContentEdgeConstraints() from
+ ScrollingTree::scrollPositionChangedViaDelegatedScrolling() so that
+ layers are not clamped during rubber-banding.
+
+ This requires making setScrollPositionWithoutContentEdgeConstraints()
+ a pure virtual function on the base class.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::ensurePlugInsInjectedScript):
- Expose a new method to allow HTMLPlugInImageElement instances to ensure that
- the JavaScript code required to customize the snapshotted plug-in's shadow root
- is indeed injected in the current document. The actual injection would only
- happen once per document so all snapshotted plug-ins share the same scripting
- context.
</del><ins>+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::scrollPositionChangedViaDelegatedScrolling):
+ * page/scrolling/ScrollingTreeScrollingNode.h:
+ * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h:
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
</ins><span class="cx">
</span><del>- * dom/Document.h:
- Expose the new ensurePlugInsInjectedScript method and the m_hasInjectedPlugInsScript
- property used to ensure injection happens only once per document.
</del><ins>+2014-03-04 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- * html/HTMLPlugInImageElement.cpp:
- (WebCore::titleText):
- (WebCore::subtitleText):
- Store the localized strings for each mime-type in a static hash map as it can be
- costly to retrieve them each time from the client. It is expected the chrome client
- will want to provide localized strings taking into account the snapshotted plug-in's
- mime-type, so we're adding this as a parameter.
- (WebCore::HTMLPlugInImageElement::checkSnapshotStatus):
- Dispatch a "resize" event to the shadow root to notify the injected script that the
- snapshotted plug-in's metrics have changed and to allow the overlay to update itself
- as a result.
- (WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot):
- Remove all the DOM generation code in favor of an approach where we create a shared
- DOM scripting world in which we inject JavaScript code that will perform the same
- task but will additionally be provided by the client in order to provide a completely
- custom overlay for the snapshotted plug-in. The sole contract is for the JavaScript
- to implement a createOverlay(shadowRoot, titleText, subtitleText) method.
- (WebCore::HTMLPlugInImageElement::partOfSnapshotOverlay):
- Renamed method to be generic to the overlay as opposed to text labels and use the
- element with CSS class name "snapshot-overlay" as the comparison node.
</del><ins>+ WebVideoFullscreen, should make the hand off of the video layer explicit.
+ https://bugs.webkit.org/show_bug.cgi?id=128844
</ins><span class="cx">
</span><del>- * html/HTMLPlugInImageElement.h:
- (HTMLPlugInImageElement):
- Removing a couple of unused members since we no longer generate the shadow DOM from C++
- and rename the partOfSnapshotLabel method to partOfSnapshotOverlay.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * page/ChromeClient.h:
- (WebCore::ChromeClient::plugInStartLabelTitle):
- (WebCore::ChromeClient::plugInStartLabelSubtitle):
- (WebCore::ChromeClient::plugInExtraScript):
- Pass in the mime-type to plugInStartLabelTitle and plugInStartLabelSubtitle and expose
- a new plugInExtraScript method to allow the chrome client to provide a custom JS file
- for the management of the shadow root.
</del><ins>+ This change introduces a more explicit hand-off of the video layer.
+ This describes the interactions between WebVideoFullscreenInterface and WebVideoFullscreenModel
+ WebVideoFullscreenModel <-> WebVideoFullscreenInterface
+ enterFullScreen(*) ->
+ <- borrowVideoLayer
+ willLendVideoLayer ->
+ didLendVideoLayer ->
+ <- didEnterFullscreen
+ ...
+ <- requestExitFullscreen
+ exitFullscreen ->
+ <- returnVideoLayer
+ <- didExitFullscreen
+ (*) enterFullScreen actually comes from WebVideoFullscreenControllerAVKit.
</ins><span class="cx">
</span><del>- * rendering/RenderSnapshottedPlugIn.cpp:
- (WebCore::RenderSnapshottedPlugIn::handleEvent):
- Update the terminology from "label" to "overlay" per the changes made in HTMLPlugInImageElement.
</del><ins>+ * WebCore.exp.in:
+ Export new functions in WebVideoFullscreenInterfaceAVKit, WebVideoFullscreenModelMediaElement, etc.
</ins><span class="cx">
</span><del>-2013-05-06 Robert Hogan <robert@webkit.org>
</del><ins>+ * platform/ios/WebVideoFullscreenControllerAVKit.mm:
+ Add WebVideoFullscreenControllerChangeObserver to forward fullscreen callbacks to WebVideoFullscreenController
</ins><span class="cx">
</span><del>- REGRESSION(r140907) - Backport blink r149612 to fix vertical-align and rowspan issue
- https://bugs.webkit.org/show_bug.cgi?id=115611
</del><ins>+ (WebVideoFullscreenControllerChangeObserver::setTarget):
+ Sets obj-c target of fullscreen change callbacks.
</ins><span class="cx">
</span><del>- Patch by Julien Chaffraix.
- Reviewed by Benjamin Poulain.
</del><ins>+ (-[WebVideoFullscreenController init]):
+ Point _changeObserver's target at self.
</ins><span class="cx">
</span><del>- Backport phttps://src.chromium.org/viewvc/blink?view=rev&revision=149612 from
- https://chromiumcodereview.appspot.com/14105010
-
- Fix the rows' height computation with vertical-align: baseline and rowspan.
- r140907 was careful in avoiding updating the baseline descent for
- spanning cells. However it still added the non-spanning cells baseline
- descent to the spanning cells' row height computation.
- This change avoids the previous issue by not adding the baseline
- descent in this case.
</del><ins>+ (-[WebVideoFullscreenController dealloc]):
+ Clear _changeObserver's target.
</ins><span class="cx">
</span><del>- Test: fast/table/baseline-align-rowspan.html
</del><ins>+ (-[WebVideoFullscreenController enterFullscreen:]):
+ Retain self to prevent dealloc during animation or while fullscreen.
+ Connect _interface to _changeObserver.
</ins><span class="cx">
</span><del>- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::calcRowLogicalHeight):
</del><ins>+ (-[WebVideoFullscreenController exitFullscreen]):
+ Remove use of completion move cleanup to -didExitFullscreen.
</ins><span class="cx">
</span><del>-2013-05-05 Anders Carlsson <andersca@apple.com>
</del><ins>+ (-[WebVideoFullscreenController didEnterFullscreen]):
+ Nothing to see here.
</ins><span class="cx">
</span><del>- Remove Vector::prepend
- https://bugs.webkit.org/show_bug.cgi?id=115618
</del><ins>+ (-[WebVideoFullscreenController didExitFullscreen]):
+ Move clean up code that was in a completion to here.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ * platform/ios/WebVideoFullscreenInterface.h:
+ Add delarations for more explicit hand-off of video layer.
</ins><span class="cx">
</span><del>- Replace calls to Vector::prepend with either Vector::insert,
- or a combination of Vector::append and Vector::reverse.
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+ Add WebVideoFullscreenChangeObserver to notify when fullscreen animations complete.
+ Add declarations for more explicit hand-off of video layer.
+ Add WebAVPlayerLayer now always wraps the m_videoLayer to prevent default behavior
+ of AVPlayerLayer.
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityObject.cpp:
- (WebCore::AccessibilityObject::scrollToGlobalPoint):
- * css/CSSGradientValue.cpp:
- (WebCore::CSSGradientValue::addStops):
- * css/CSSValueList.h:
- (WebCore::CSSValueList::prepend):
- * dom/Document.cpp:
- (WebCore::Document::iconURLs):
- * editing/TextIterator.cpp:
- (WebCore::SearchBuffer::prependContext):
- * editing/VisibleUnits.cpp:
- (WebCore::previousBoundary):
- (WebCore::nextBoundary):
- * history/HistoryItem.cpp:
- (WebCore::HistoryItem::padDailyCountsForNewVisit):
- (WebCore::HistoryItem::collapseDailyVisitsToWeekly):
- * inspector/InjectedScriptHost.cpp:
- (WebCore::InjectedScriptHost::addInspectedObject):
- * platform/graphics/SVGGlyph.cpp:
- (WebCore::charactersWithArabicForm):
</del><ins>+ (WebCore::WebVideoFullscreenChangeObserver::~WebVideoFullscreenChangeObserver):
+ Add empty virtual destructor.
</ins><span class="cx">
</span><del>-2013-05-05 Sam Weinig <sam@webkit.org>
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ Include AVKit headers instead of declaring everything locally.
+ AVPlayerLayer protocol renamed to AVVideoLayer per AVKit.
</ins><span class="cx">
</span><del>- Remove empty function SQLiteFileSystem::registerSQLiteVFS() and its callers
- https://bugs.webkit.org/show_bug.cgi?id=115619
</del><ins>+ (-[WebAVPlayerController dealloc]):
+ Don't refer to self.
</ins><span class="cx">
</span><del>- Reviewed by Dan Bernstein.
</del><ins>+ (-[WebAVPlayerController playerViewController:shouldDismissWithReason:]):
+ Pause before requesting exit fullscreen.
</ins><span class="cx">
</span><del>- * Modules/webdatabase/DatabaseTracker.cpp:
- * platform/sql/SQLiteFileSystem.cpp:
- * platform/sql/SQLiteFileSystem.h:
- * storage/StorageTracker.cpp:
</del><ins>+ (-[WebAVPlayerLayer setPlayerController:]):
+ This is required by AVVideoLayer, but we don't need it.
</ins><span class="cx">
</span><del>-2013-05-05 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ (WebVideoFullscreenInterfaceAVKit::playerController):
+ White space.
</ins><span class="cx">
</span><del>- AX: aria-checked not exposed correctly on menuitemcheckbox or menuitemradio roles
- https://bugs.webkit.org/show_bug.cgi?id=115499
</del><ins>+ (WebVideoFullscreenInterfaceAVKit::setWebVideoFullscreenChangeObserver):
+ Set observer to forward fullscreen changes to.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ (WebVideoFullscreenInterfaceAVKit::enterFullscreen):
+ Use more explicit video layer hand-off.
</ins><span class="cx">
</span><del>- Expose isChecked() for menu item objects.
- Return the Mac-platform specific value that you find on menu items for "checked" menu items.
</del><ins>+ (WebVideoFullscreenInterfaceAVKit::doEnterFullscreen):
+ Move enterFullscreen logic here.
+ AVPlayerViewController now takes the video layer at init time.
+ Always provide a video layer wrapped in a WebAVPlayerLayer.
</ins><span class="cx">
</span><del>- Test: platform/mac/accessibility/aria-menuitem-checked-value.html
</del><ins>+ (WebVideoFullscreenInterfaceAVKit::willLendVideoLayer):
+ Use more explicit video layer hand-off.
</ins><span class="cx">
</span><del>- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::isChecked):
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
</del><ins>+ (WebVideoFullscreenInterfaceAVKit::didLendVideoLayer):
+ Use more explicit video layer hand-off.
</ins><span class="cx">
</span><del>-2013-05-05 Tim Horton <timothy_horton@apple.com>
</del><ins>+ (WebVideoFullscreenInterfaceAVKit::exitFullscreen):
+ Use more explicit video layer hand-off.
</ins><span class="cx">
</span><del>- [wk2] Page Overlays: deviceScaleFactor doesn't update when the display changes
- https://bugs.webkit.org/show_bug.cgi?id=115577
- <rdar://problem/13762583>
</del><ins>+ * platform/ios/WebVideoFullscreenModel.h:
+ Add functions for more explicit video layer hand-off.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.h:
+ Mark virtual functions as virtual.
+ Add changes for WebVideoFullscreenModel.
</ins><span class="cx">
</span><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ Use more explicit video layer hand-off.
+
+ (WebVideoFullscreenModelMediaElement::setMediaElement):
+ Don't push the video layer. Wait for a request for it.
+
+ (WebVideoFullscreenModelMediaElement::handleEvent):
+ Make sure m_videoFullscreenInterface is valid.
+
+ (WebVideoFullscreenModelMediaElement::borrowVideoLayer):
+ Use more explicit video layer hand-off.
+ Lend videoLayer in request to a request to borrow the videoLayer.
+ Make sure to retain the video layer before it is removed from the layer tree.
+
+ (WebVideoFullscreenModelMediaElement::returnVideoLayer):
+ Use more explicit video layer hand-off.
+
+ (WebVideoFullscreenModelMediaElement::requestExitFullscreen):
+ Don't clear the mediaElement reference until completely exited from fullscreen.
+
+2014-03-04 Simon Fraser <simon.fraser@apple.com>
+
+ Get position:fixed working slightly better on iOS
+ https://bugs.webkit.org/show_bug.cgi?id=129714
+
+ Reviewed by Benjamin Poulain.
+
+ Send the scroll position as a FloatPoint, rather than an IntPoint.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- Export GraphicsLayer::noteDeviceOrPageScaleFactorChangedIncludingDescendants
</del><ins>+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::scrollPositionChangedViaDelegatedScrolling):
+ * page/scrolling/ScrollingTree.h:
</ins><span class="cx">
</span><del>-2013-05-05 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-04 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Remove the Vector::append overload that takes a Vector
- https://bugs.webkit.org/show_bug.cgi?id=115535
</del><ins>+ Fixed Windows build without MEDIA_CONTROLS_SCRIPT enabled.
+ https://bugs.webkit.org/show_bug.cgi?id=129701
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>- Use Vector::appendVector instead.
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * DerivedSources.cpp:
+ Moved UserAgentScriptsData.cpp to DerivedSources.cpp to only be built if MEDIA_CONTROLS_SCRIPT is enabled.
+ * DerivedSources.make:
+ Only generate UserAgentScripts.cpp/h when USER_AGENT_SCRIPTS is non-empty.
+ * rendering/RenderThemeWin.cpp:
+ Only include UserAgentScripts.h when MEDIA_CONTROLS_SCRIPT is enabled.
</ins><span class="cx">
</span><del>- * Modules/indexeddb/IDBBackingStore.cpp:
- (WebCore::IDBBackingStore::putRecord):
- (WebCore::IDBBackingStore::putIndexDataForRecord):
- * Modules/indexeddb/IDBLevelDBCoding.cpp:
- (WebCore::IDBLevelDBCoding::encodeStringWithLength):
- (WebCore::IDBLevelDBCoding::encodeIDBKey):
- (WebCore::IDBLevelDBCoding::encodeIDBKeyPath):
- (WebCore::IDBLevelDBCoding::SchemaVersionKey::encode):
- (WebCore::IDBLevelDBCoding::MaxDatabaseIdKey::encode):
- (WebCore::IDBLevelDBCoding::DataVersionKey::encode):
- (WebCore::IDBLevelDBCoding::DatabaseFreeListKey::encode):
- (WebCore::IDBLevelDBCoding::DatabaseNameKey::encode):
- (WebCore::IDBLevelDBCoding::DatabaseMetaDataKey::encode):
- (WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::encode):
- (WebCore::IDBLevelDBCoding::IndexMetaDataKey::encode):
- (WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::encode):
- (WebCore::IDBLevelDBCoding::IndexFreeListKey::encode):
- (WebCore::IDBLevelDBCoding::ObjectStoreNamesKey::encode):
- (WebCore::IDBLevelDBCoding::IndexNamesKey::encode):
- (WebCore::IDBLevelDBCoding::ObjectStoreDataKey::encode):
- (WebCore::IDBLevelDBCoding::ExistsEntryKey::encode):
- (WebCore::IDBLevelDBCoding::IndexDataKey::encode):
- * Modules/webaudio/AudioContext.cpp:
- (WebCore::AudioContext::clear):
- (WebCore::AudioContext::scheduleNodeDeletion):
- * accessibility/AccessibilityARIAGrid.cpp:
- (WebCore::AccessibilityARIAGrid::addTableCellChild):
- * accessibility/AccessibilityTable.cpp:
- (WebCore::AccessibilityTable::cells):
- * css/RuleFeature.cpp:
- (WebCore::RuleFeatureSet::add):
- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::addToMatchedPropertiesCache):
- * dom/DocumentStyleSheetCollection.cpp:
- (WebCore::collectActiveCSSStyleSheetsFromSeamlessParents):
- (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
- * dom/Range.cpp:
- (WebCore::Range::getBorderAndTextQuads):
- * html/FormController.cpp:
- (WebCore::FormController::getReferencedFilePaths):
- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::CanvasRenderingContext2D::setLineDash):
- * html/parser/HTMLFormattingElementList.cpp:
- (WebCore::HTMLFormattingElementList::tryToEnsureNoahsArkConditionQuickly):
- * html/track/WebVTTToken.h:
- (WebCore::WebVTTToken::addNewClass):
- (WebCore::WebVTTToken::addNewAnnotation):
- * page/CaptionUserPreferencesMac.mm:
- (WebCore::CaptionUserPreferencesMac::preferredLanguages):
- * platform/FileChooser.cpp:
- (WebCore::FileChooserSettings::acceptTypes):
- * platform/SharedBufferChunkReader.cpp:
- (WebCore::SharedBufferChunkReader::nextChunk):
- * platform/graphics/MediaPlayer.cpp:
- (WebCore::MediaPlayer::getSitesInMediaCache):
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::updateSublayerList):
- * platform/mac/PasteboardMac.mm:
- (WebCore::createWritableTypesForImage):
- (WebCore::writableTypesForImage):
- (WebCore::Pasteboard::writeSelectionForTypes):
- * platform/network/FormDataBuilder.cpp:
- (WebCore::FormDataBuilder::generateUniqueBoundaryString):
- * plugins/PluginDatabase.cpp:
- (WebCore::PluginDatabase::defaultPluginDirectories):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::constructBidiRunsForSegment):
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::OverlapMap::popCompositingContainer):
- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::splitColumn):
- * svg/SVGGlyphMap.h:
- (WebCore::SVGGlyphMap::collectGlyphsForString):
- * xml/XPathNodeSet.h:
- (WebCore::XPath::NodeSet::append):
</del><ins>+2014-03-04 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>-2013-05-05 Anders Carlsson <andersca@apple.com>
</del><ins>+ Allow iOS DumpRenderTree crashes to show application-specific information
+ https://bugs.webkit.org/show_bug.cgi?id=129705
</ins><span class="cx">
</span><del>- Try to fix the Windows build.
</del><ins>+ Reviewed by David Kilzer.
</ins><span class="cx">
</span><del>- Make plugIns.js have a non-zero length.
</del><ins>+ Make the WKSI function SetCrashReportApplicationSpecificInformation available
+ in iOS simulator builds.
</ins><span class="cx">
</span><del>- * Resources/plugIns.js:
</del><ins>+ * WebCore.exp.in:
+ * platform/ios/WebCoreSystemInterfaceIOS.mm:
+ * platform/mac/WebCoreSystemInterface.h:
</ins><span class="cx">
</span><del>-2013-05-04 Dean Jackson <dino@apple.com>
</del><ins>+2014-03-04 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Animations and Transitions should not start when globally suspended
- https://bugs.webkit.org/show_bug.cgi?id=114915
</del><ins>+ Spam static branch prediction hints on JS bindings.
+ <https://webkit.org/b/129703>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Add UNLIKELY hints to all !castedThis and exec->hadException() paths
+ in the JS bindings since they are almost always going to get skipped.
</ins><span class="cx">
</span><del>- When the Document's AnimationController was suspended, we still
- started new transitions and animations. Change this so that
- animations enter a paused-but-new state, where they are frozen
- until the AnimationController resumes. At that time, it is as
- if they had just appeared: any delay counts down before
- the animation starts.
</del><ins>+ Reviewed by Geoff Garen.
</ins><span class="cx">
</span><del>- For transitions, the change in value must still happen, but
- it does so immediately. No transitionend event should be fired.
- This produces a slightly confusing behaviour, because any
- in-progress transitions are suspended, but any new style changes
- happen instantly. This might sound contradictory, but in general
- suspending the document is a rare (and dangerous) thing to do.
</del><ins>+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ (GenerateParametersCheck):
+ (GenerateImplementationFunctionCall):
+ (GenerateConstructorDefinition):
</ins><span class="cx">
</span><del>- Previously, the Document would call resumeAnimations as it loaded,
- effectively starting all the animations. This meant if you suspended
- animations before loading a document, it was ignored as soon as the
- load finished. Now there is a separate method startAnimationsIfNotSuspended
- which checks to see if the document is suspended as it loads.
</del><ins>+2014-03-04 Adenilson Cavalcanti <cavalcantii@gmail.com>
</ins><span class="cx">
</span><del>- In order to handle this case, I added a new state to the Animation
- machinery: AnimationStatePausedNew. This is an animation that was created
- in the suspended state.
</del><ins>+ Remove unused StdDeviation from Gaussian Blur effect
+ https://bugs.webkit.org/show_bug.cgi?id=129693
</ins><span class="cx">
</span><del>- Tests: animations/added-while-suspended.html
- transitions/started-while-suspended.html
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Export AnimationController::isSuspended().
</del><ins>+ No new tests, no change on behavior.
</ins><span class="cx">
</span><ins>+ * platform/graphics/filters/FEGaussianBlur.cpp:
+ * platform/graphics/filters/FEGaussianBlur.h:
+
+2014-03-04 Andreas Kling <akling@apple.com>
+
+ Add a Document::updateStyleIfNeededForNode(Node&).
+ <https://webkit.org/b/129689>
+
+ Generalize the mechanism that computed style uses to avoid doing full
+ style updates when the node we're interested in isn't actually dirty.
+
+ Reviewed by Antti Koivisto.
+
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::ComputedStyleExtractor::propertyValue):
</ins><span class="cx"> * dom/Document.cpp:
</span><del>- (WebCore::Document::implicitClose):
- resumeAnimationsForDocument() -> startAnimationsIfNotSuspended()
</del><ins>+ (WebCore::nodeOrItsAncestorNeedsStyleRecalc):
+ (WebCore::Document::updateStyleIfNeededForNode):
+ * dom/Document.h:
+ * editing/htmlediting.cpp:
+ (WebCore::isEditablePosition):
+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::defaultEventHandler):
</ins><span class="cx">
</span><del>- * page/animation/AnimationBase.cpp:
- (WebCore::nameForState): New name for AnimationStatePausedNew.
- (WebCore::AnimationBase::updateStateMachine): Handle new state AnimationStatePausedNew. The
- most important change is that when go from PausedNew to Running, we jump back into
- the New state and continue from there.
- (WebCore::AnimationBase::updatePlayState): suspended -> isSuspended
- * page/animation/AnimationBase.h: New state: AnimationStatePausedNew
- (WebCore::AnimationBase::waitingToStart): Add AnimationStatePausedNew.
- (WebCore::AnimationBase::paused): Add AnimationStatePausedNew.
- (WebCore::AnimationBase::isNew): Add AnimationStatePausedNew.
</del><ins>+2014-03-04 Mark Hahnenberg <mhahnenberg@apple.com>
</ins><span class="cx">
</span><del>- * page/animation/AnimationController.cpp:
- (WebCore::AnimationControllerPrivate::AnimationControllerPrivate): Initialise m_suspended.
- (WebCore::AnimationControllerPrivate::clear): suspended -> isSuspended
- (WebCore::AnimationControllerPrivate::updateAnimations): Ditto.
- (WebCore::AnimationControllerPrivate::updateAnimationTimerForRenderer): Ditto.
- (WebCore::AnimationControllerPrivate::suspendAnimations): Update m_suspended.
- (WebCore::AnimationControllerPrivate::resumeAnimations): Ditto.
- (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
- (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
- (WebCore::AnimationControllerPrivate::startAnimationsIfNotSuspended): New method that will
- only resume animations if we were not globally suspended.
- (WebCore::AnimationController::isSuspended): New method.
- (WebCore::AnimationController::suspendAnimations): Add logging.
- (WebCore::AnimationController::resumeAnimations): Add logging.
- (WebCore::AnimationController::suspendAnimationsForDocument): Add logging.
- (WebCore::AnimationController::resumeAnimationsForDocument): Add logging.
- (WebCore::AnimationController::startAnimationsIfNotSuspended): Calls private method.
- * page/animation/AnimationController.h:
- (AnimationController): Add isSuspended() and animationsForDocumentMayStart().
- * page/animation/AnimationControllerPrivate.h:
- (WebCore::AnimationControllerPrivate::isSuspended): New method.
- (AnimationControllerPrivate): Add m_isSuspended member.
</del><ins>+ Merge API shims and JSLock
+ https://bugs.webkit.org/show_bug.cgi?id=129650
</ins><span class="cx">
</span><del>- * page/animation/CompositeAnimation.cpp:
- (WebCore::CompositeAnimation::CompositeAnimation): Moved from header - initialise m_isSuspended.
- (WebCore::CompositeAnimation::updateTransitions): Do not create ImplicitAnimation if suspended.
- (WebCore::CompositeAnimation::updateKeyframeAnimations): Move to AnimationStatePausedNew if suspended.
- (WebCore::CompositeAnimation::suspendAnimations): m_suspended -> m_isSuspended
- (WebCore::CompositeAnimation::resumeAnimations): Ditto.
- * page/animation/CompositeAnimation.h:
- (WebCore::CompositeAnimation::isSuspended): Renamed from suspended()
</del><ins>+ Reviewed by Mark Lam.
</ins><span class="cx">
</span><del>- * page/animation/KeyframeAnimation.cpp:
- (WebCore::KeyframeAnimation::animate): If we're in the AnimationStatePausedNew state, then
- we need to go to the first frame (to handle fill mode).
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- * testing/Internals.cpp:
- (WebCore::Internals::animationsAreSuspended): New exposed method to reflect AnimationController.
- * testing/Internals.h: Add animationsAreSuspended.
- * testing/Internals.idl: Ditto.
</del><ins>+ JSLock is now taking on all of APIEntryShim's responsibilities since there is never a reason
+ to take just the JSLock. Ditto for DropAllLocks and APICallbackShim.
</ins><span class="cx">
</span><del>-2013-05-04 Sam Weinig <sam@webkit.org>
</del><ins>+ * bindings/js/DOMRequestState.h:
+ (WebCore::DOMRequestState::Scope::Scope):
+ * bindings/js/JSDOMPromise.h:
+ (WebCore::DeferredWrapper::resolve):
+ (WebCore::DeferredWrapper::reject):
+ (WebCore::DeferredWrapper::resolve<String>):
+ (WebCore::DeferredWrapper::resolve<bool>):
+ (WebCore::char>>):
+ (WebCore::DeferredWrapper::reject<String>):
+ * bindings/js/ScriptController.cpp:
+ (WebCore::ScriptController::evaluateInWorld):
+ * bindings/js/SerializedScriptValue.cpp:
+ (WebCore::SerializedScriptValue::create):
+ (WebCore::SerializedScriptValue::deserialize):
</ins><span class="cx">
</span><del>- Move PopupMenuMac and SearchPopupMenuMac to Source/WebKit/mac
- matching where they are in WebKit2.
</del><ins>+2014-03-04 Beth Dakin <bdakin@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ REGRESSION: Overlay scrollbars that have grown are sometimes askew in the track
+ https://bugs.webkit.org/show_bug.cgi?id=129691
+ -and corresponding-
+ <rdar://problem/15666846>
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * WebCore.xcodeproj/project.pbxproj:
- * platform/mac/PopupMenuMac.h: Removed.
- * platform/mac/PopupMenuMac.mm: Removed.
- * platform/mac/SearchPopupMenuMac.h: Removed.
- * platform/mac/SearchPopupMenuMac.mm: Removed.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-04 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ This regression started happening after we adopted the setPresentationValue
+ ScrollbarPainter API which allows us to update the position of the scrollbar knob
+ from our secondary scrolling thread. The bug occurs when the scrollbar grows while
+ it still thinks it is in presentation-value mode. Whenever the scrollbar grows, it
+ should be in non-presentation value mode.
</ins><span class="cx">
</span><del>- Get rid of special cases in AddIncludesForTypeInImpl
- https://bugs.webkit.org/show_bug.cgi?id=115602
</del><ins>+ If the wheel event has ended or been cancelled, we can switch out of presentation
+ value mode.
+ * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
+ (WebCore::ScrollingTreeScrollingNodeMac::handleWheelEvent):
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Sometimes we will grow the scrollbar before we have received a wheel event with
+ the end or cancelled phase, and so automatically switch out of presentation-value
+ mode whenever we start one of these animations.
+ * platform/mac/ScrollAnimatorMac.mm:
+ (-[WebScrollbarPainterDelegate scrollerImp:animateUIStateTransitionWithDuration:]):
</ins><span class="cx">
</span><del>- Get rid of the special cases in AddIncludesForTypeInImpl subroutine in the
- JS bindings generator. Those are no longer needed and special cases should
- be avoided in the generator.
</del><ins>+2014-03-04 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Move Source/WebCore/html/track/ code to std::unique_ptr
+ https://bugs.webkit.org/show_bug.cgi?id=129666
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorJS.pm:
- (AddIncludesForTypeInImpl):
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-05-04 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Replace uses of OwnPtr and PassOwnPtr in code under Source/WebCore/html/track/ with std::unique_ptr.
</ins><span class="cx">
</span><del>- Get rid of AddIncludesForSVGAnimatedType in bindings generator
- https://bugs.webkit.org/show_bug.cgi?id=115603
</del><ins>+ * html/track/AudioTrack.h:
+ * html/track/InbandWebVTTTextTrack.cpp:
+ (WebCore::InbandWebVTTTextTrack::parseWebVTTCueData):
+ * html/track/InbandWebVTTTextTrack.h:
+ * html/track/LoadableTextTrack.cpp:
+ (WebCore::LoadableTextTrack::loadTimerFired):
+ (WebCore::LoadableTextTrack::newCuesAvailable):
+ (WebCore::LoadableTextTrack::cueLoadingCompleted):
+ (WebCore::LoadableTextTrack::newRegionsAvailable):
+ * html/track/LoadableTextTrack.h:
+ * html/track/TextTrack.h:
+ * html/track/TextTrackCue.h:
+ * html/track/TextTrackRegion.h:
+ * html/track/VTTCue.cpp:
+ (WebCore::VTTCue::createWebVTTNodeTree):
+ (WebCore::VTTCue::markFutureAndPastNodes):
+ * html/track/VTTCue.h:
+ * html/track/VideoTrack.h:
+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTParser::WebVTTParser):
+ * html/track/WebVTTParser.h:
+ * html/track/WebVTTTokenizer.h:
+ * loader/TextTrackLoader.cpp:
+ (WebCore::TextTrackLoader::processNewCueData):
+ * loader/TextTrackLoader.h:
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+2014-03-04 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Remove AddIncludesForSVGAnimatedType subroutine from the bindings generator
- as it is a special case which is no longer needed.
</del><ins>+ Subpixel rendering: Make border-radius painting device pixel aware.
+ https://bugs.webkit.org/show_bug.cgi?id=129558
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateImplementation):
</del><ins>+ Snap rounded rects to device pixels right before passing them to GraphicsContext.
</ins><span class="cx">
</span><del>-2013-05-04 Antoine Quint <graouts@apple.com>
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::clipRoundedInnerRect):
+ (WebCore::RenderBoxModelObject::paintFillLayerExtended):
+ (WebCore::RenderBoxModelObject::paintBorder):
+ * rendering/RenderBoxModelObject.h:
+ * rendering/RenderReplaced.cpp:
+ (WebCore::RenderReplaced::paint):
+ * rendering/RenderWidget.cpp:
+ (WebCore::RenderWidget::paint):
</ins><span class="cx">
</span><del>- Update code generators to handle a new JavaScript file for snapshotted plug-ins
- https://bugs.webkit.org/show_bug.cgi?id=115596
</del><ins>+2014-03-04 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><ins>+ Crashes and assertions running iOS compositing tests
+ https://bugs.webkit.org/show_bug.cgi?id=129688
+
</ins><span class="cx"> Reviewed by Dean Jackson.
</span><ins>+
+ When a layer is no longer composited, we need to unregister it
+ from the scrolling coordinator, and remove it from m_scrollCoordinatedLayers.
</ins><span class="cx">
</span><del>- In preparation for https://webkit.org/b/115548, adding a new JS file at
- Resources/plugIns.js that we will use to provide presentation for the
- snapshotted plug-ins overlay.
</del><ins>+ Tested by compositing tests on iOS.
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * DerivedSources.cpp:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.am:
- * GNUmakefile.list.am:
- * Resources/plugIns.js: Added.
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
</del><ins>+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateBacking):
</ins><span class="cx">
</span><del>-2013-05-04 Andreas Kling <akling@apple.com>
</del><ins>+2014-03-04 Antti Koivisto <antti@apple.com>
</ins><span class="cx">
</span><del>- REGRESSION(r142647): Flaky Test: fast/frames/crash-remove-iframe-during-object-beforeload.html
- <http://webkit.org/b/115322>
- <rdar://problem/13810719>
</del><ins>+ Update bindings test results after r165046.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
+ (webkit_dom_test_obj_set_property):
+ (webkit_dom_test_obj_set_reflected_string_attr):
+ (webkit_dom_test_obj_set_reflected_url_attr):
+ (webkit_dom_test_obj_set_reflected_custom_url_attr):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::setJSTestObjReflectedStringAttr):
+ (WebCore::setJSTestObjReflectedURLAttr):
+ (WebCore::setJSTestObjReflectedCustomURLAttr):
+ * bindings/scripts/test/ObjC/DOMTestObj.mm:
+ (-[DOMTestObj setReflectedStringAttr:]):
+ (-[DOMTestObj setReflectedURLAttr:]):
+ (-[DOMTestObj setReflectedCustomURLAttr:]):
</ins><span class="cx">
</span><del>- Don't cache the FrameView::renderView() in a local since updating Widgets may blow it away.
</del><ins>+2014-03-04 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::performPostLayoutTasks):
</del><ins>+ [GTK] Simplify the GObject DOM bindings API break check into one step
+ https://bugs.webkit.org/show_bug.cgi?id=129571
</ins><span class="cx">
</span><del>-2013-05-04 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Carlos Garcia Campos.
</ins><span class="cx">
</span><del>- Remove GraphicsContext::strokeArc(), which is unused.
</del><ins>+ * bindings/gobject/GNUmakefile.am: We no longer generate the webkitdom.symbols file in the
+ DerivedSources directory. All the logic is handled internally in the script now.
+ * bindings/scripts/gobject-run-api-break-test: Removed.
</ins><span class="cx">
</span><del>- From Blink r149608 by <jbroman@chromium.org>
- <http://src.chromium.org/viewvc/blink?view=revision&revision=149608>
</del><ins>+2014-03-04 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- This is no longer used since almost a year ago, when HAVE(PATH_BASED_BORDER_RADIUS_DRAWING) was inlined.
</del><ins>+ Build fix for iOS.
</ins><span class="cx">
</span><ins>+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::addRoundedBorderClip):
+ (WebCore::RenderThemeIOS::paintFileUploadIconDecorations):
+
+2014-03-04 Zalan Bujtas <zalan@apple.com>
+
+ Subpixel rendering: Make GraphicsLayer::fillRect FloatRoundedRect based and cleanup dependencies.
+ https://bugs.webkit.org/show_bug.cgi?id=129557
+
+ Reviewed by Simon Fraser.
+
+ This is the preparation for snapping rounded rects to device pixel position. It enables
+ device pixel aware border-radius painting.
+
+ No change in functionality.
+
+ * platform/efl/RenderThemeEfl.cpp:
+ (WebCore::RenderThemeEfl::paintMediaSliderThumb):
+ * platform/graphics/FloatRoundedRect.cpp:
+ (WebCore::FloatRoundedRect::FloatRoundedRect):
+ (WebCore::FloatRoundedRect::isRenderable):
+ * platform/graphics/FloatRoundedRect.h:
+ * platform/graphics/GraphicsContext.cpp:
+ (WebCore::GraphicsContext::clipRoundedRect):
+ (WebCore::GraphicsContext::clipOutRoundedRect):
+ (WebCore::GraphicsContext::fillRoundedRect):
+ (WebCore::GraphicsContext::fillRectWithRoundedHole):
</ins><span class="cx"> * platform/graphics/GraphicsContext.h:
</span><del>- * platform/graphics/blackberry/GraphicsContextBlackBerry.cpp:
</del><ins>+ * platform/graphics/Path.cpp:
+ (WebCore::Path::addRoundedRect):
+ * platform/graphics/Path.h:
+ * platform/graphics/RoundedRect.cpp:
+ (WebCore::RoundedRect::pixelSnappedRoundedRectForPainting):
+ * platform/graphics/RoundedRect.h:
+ * platform/graphics/ShadowBlur.cpp:
+ (WebCore::ShadowBlur::drawRectShadow):
+ (WebCore::ShadowBlur::drawInsetShadow):
+ (WebCore::ShadowBlur::drawRectShadowWithoutTiling):
+ (WebCore::ShadowBlur::drawInsetShadowWithoutTiling):
+ (WebCore::ShadowBlur::drawInsetShadowWithTiling):
+ (WebCore::ShadowBlur::drawRectShadowWithTiling):
+ * platform/graphics/ShadowBlur.h:
</ins><span class="cx"> * platform/graphics/cairo/GraphicsContextCairo.cpp:
</span><ins>+ (WebCore::GraphicsContext::fillRect):
+ (WebCore::GraphicsContext::platformFillRoundedRect):
+ (WebCore::GraphicsContext::fillRectWithRoundedHole):
</ins><span class="cx"> * platform/graphics/cg/GraphicsContextCG.cpp:
</span><ins>+ (WebCore::GraphicsContext::fillRect):
+ (WebCore::GraphicsContext::platformFillRoundedRect):
+ (WebCore::GraphicsContext::fillRectWithRoundedHole):
</ins><span class="cx"> * platform/graphics/wince/GraphicsContextWinCE.cpp:
</span><ins>+ (WebCore::GraphicsContext::fillRoundedRect):
+ * platform/gtk/RenderThemeGtk.cpp:
+ (WebCore::borderRadiiFromStyle):
+ (WebCore::RenderThemeGtk::paintMediaSliderTrack):
+ (WebCore::RenderThemeGtk::paintMediaSliderThumb):
+ (WebCore::RenderThemeGtk::paintMediaVolumeSliderTrack):
+ * platform/win/DragImageWin.cpp:
+ (WebCore::createDragImageForLink):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::paintBoxDecorations):
+ (WebCore::RenderBox::pushContentsClip):
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::clipRoundedInnerRect):
+ (WebCore::RenderBoxModelObject::paintFillLayerExtended):
+ (WebCore::RenderBoxModelObject::paintBorder):
+ (WebCore::RenderBoxModelObject::drawBoxSideFromPath):
+ (WebCore::RenderBoxModelObject::clipBorderSideForComplexInnerPath):
+ (WebCore::RenderBoxModelObject::paintBoxShadow):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::clipToRect):
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::RenderThemeIOS::paintRadioDecorations):
+ (WebCore::RenderThemeIOS::paintTextFieldDecorations):
+ (WebCore::RenderThemeIOS::paintMenuListButtonDecorations):
+ (WebCore::RenderThemeIOS::paintSliderTrack):
+ (WebCore::RenderThemeIOS::paintProgressBar):
+ (WebCore::RenderThemeIOS::paintFileUploadIconDecorations):
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::paintMenuListButtonGradients):
+ (WebCore::RenderThemeMac::paintSliderTrack):
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::paintMenuListButtonGradients):
+ (WebCore::RenderThemeSafari::paintSliderTrack):
+ * rendering/shapes/BoxShape.cpp:
+ (WebCore::BoxShape::buildDisplayPaths):
+ * rendering/style/BasicShapes.cpp:
+ (WebCore::BasicShapeInset::path):
</ins><span class="cx">
</span><del>-2013-05-04 Andreas Kling <akling@apple.com>
</del><ins>+2014-03-04 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Remove unused CSSSelector::isCustomPseudoType().
</del><ins>+ Micro-optimize Strings in JS bindings.
+ <https://webkit.org/b/129673>
</ins><span class="cx">
</span><del>- From Blink r149574 by <dominicc@chromium.org>
- <http://src.chromium.org/viewvc/blink?view=revision&revision=149574>
</del><ins>+ Tweaked for new jsStringWithWeakOwner signature. This patch removes
+ 36 bytes of code from every wrapper getter that returns a DOMString.
</ins><span class="cx">
</span><del>- * css/CSSSelector.h:
- * css/CSSSelector.cpp:
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>-2013-05-04 Andreas Kling <akling@apple.com>
</del><ins>+ * bindings/js/JSDOMBinding.h:
+ (WebCore::jsStringWithCache):
</ins><span class="cx">
</span><del>- Remove ShadowRoot's previous/next ShadowRoot pointers.
- <http://webkit.org/b/115588>
</del><ins>+2014-03-03 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ SVGPropertyTearOffs should detachChildren before deleting its value.
+ <http://webkit.org/b/129618>
+ <rdar://problem/15661617>
</ins><span class="cx">
</span><del>- ShadowRoot no longer inherits from DoublyLinkedListNode<ShadowRoot> because that code wasn't
- doing anything anymore. Shrinks ShadowRoot by two pointers.
</del><ins>+ Reviewed by Maciej Stachowiak.
</ins><span class="cx">
</span><del>- * dom/ElementShadow.h:
- * dom/ShadowRoot.cpp:
- (SameSizeAsShadowRoot):
- (WebCore::ShadowRoot::ShadowRoot):
- (WebCore::ShadowRoot::~ShadowRoot):
- * dom/ShadowRoot.h:
</del><ins>+ Merged from Blink (patch by kouhei@chromium.org):
+ https://src.chromium.org/viewvc/blink?revision=158563&view=revision
+ http://crbug.com/296276
</ins><span class="cx">
</span><del>-2013-05-04 Andreas Kling <akling@apple.com>
</del><ins>+ Test: svg/transforms/svg-matrix-tearoff-crash.html
</ins><span class="cx">
</span><del>- RenderObject: don't change GraphicsContext state when not drawing dashed/dotted lines.
</del><ins>+ NOTE: The test does not reproduce a crash on WebKit using
+ JavaScriptCore.
</ins><span class="cx">
</span><del>- From Blink r149546 by <jbroman@chromium.org>
- <http://src.chromium.org/viewvc/blink?view=revision&revision=149546>
</del><ins>+ * svg/properties/SVGPropertyTearOff.h:
+ (WebCore::SVGPropertyTearOff::setValue):
+ (WebCore::SVGPropertyTearOff::~SVGPropertyTearOff):
+ - Call detachChildren() if m_value is a copy. The original
+ Blink patch did not modify the destructor code path, although
+ that seems obvious via code inspection.
</ins><span class="cx">
</span><del>- Previously, there was asymmetry between changing and restoring state (certain state
- would be restored only if thickness was positive, i.e. a line was actually drawn.)
</del><ins>+2014-03-04 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::drawLineForBoxSide):
</del><ins>+ Subpixel rendering: Incorrect repaint rect cuts off content's right edge after move.
+ https://bugs.webkit.org/show_bug.cgi?id=129652
</ins><span class="cx">
</span><del>-2013-05-03 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Remove CSS selector profiler branches from ElementRuleCollector loop.
- <http://webkit.org/b/115581>
</del><ins>+ When repaint rect is adjusted in order to take the distance from renderer into account,
+ the accumulated fraction value need to be added too. This is always a positive value.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Test: fast/borders/hidpi-border-clipping-right-after-move.html
</ins><span class="cx">
</span><del>- Templatize the method so we don't have to check for active inspector frontends on every
- pass through the loop.
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect):
</ins><span class="cx">
</span><del>- Time spent in this loop goes down from 0.5% to 0.2% on iTunes Store, WebCore binary size
- goes up 480 bytes (sorry Benjamin, I'll make it up to you.)
</del><ins>+2014-03-04 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- * css/ElementRuleCollector.h:
- * css/ElementRuleCollector.cpp:
- (WebCore::ElementRuleCollector::collectMatchingRulesForList):
- (WebCore::ElementRuleCollector::doCollectMatchingRulesForList):
</del><ins>+ Remove unused member variable of NetworkInfoController
+ https://bugs.webkit.org/show_bug.cgi?id=129674
</ins><span class="cx">
</span><del>-2013-04-30 Robert Hogan <robert@webkit.org>
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- REGRESSION(r140907): Incorrect baseline on cells after updating vertical-align
- https://bugs.webkit.org/show_bug.cgi?id=115432
</del><ins>+ * Modules/networkinfo/NetworkInfoController.cpp:
+ (WebCore::NetworkInfoController::NetworkInfoController):
+ (WebCore::NetworkInfoController::create):
+ (WebCore::provideNetworkInfoTo):
+ * Modules/networkinfo/NetworkInfoController.h: Removed m_page which is not really used.
</ins><span class="cx">
</span><del>- Reviewed by Julien Chaffraix.
</del><ins>+2014-02-07 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>- If a cell changes vertical-align any intrinsic padding it has is now redundant. It
- needs to calculate its new height from RenderTableRow::layout() and then find its
- new intrinsic padding in RenderTableSection::layoutRows().
</del><ins>+ [CSS Grid Layout] Percentages of indefinite sizes should compute to auto
+ https://bugs.webkit.org/show_bug.cgi?id=128173
</ins><span class="cx">
</span><del>- Test: fast/table/correct-baseline-after-style-change.html
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * rendering/RenderTableCell.cpp:
- (WebCore::RenderTableCell::styleDidChange):
</del><ins>+ We should treat percentages of indefinite sizes as auto as
+ mandated by the spec. Otherwise we would end up calculating a
+ percentage of -1, the value we use to represent infinite.
</ins><span class="cx">
</span><del>-2013-05-03 Arnaud Renevier <a.renevier@sisa.samsung.com>
</del><ins>+ Added some test cases to the current tests.
</ins><span class="cx">
</span><del>- incorrect repainting when a table has a transform
- https://bugs.webkit.org/show_bug.cgi?id=109867
</del><ins>+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::gridTrackSize):
+ * rendering/style/GridTrackSize.h:
+ (WebCore::GridTrackSize::isPercentage):
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+2014-03-04 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Disable LayoutState when table, tableRow or tableSection render
- objects have transforms or reflections.
</del><ins>+ Don't synchronize attributes in reflect setters when we don't need to
+ https://bugs.webkit.org/show_bug.cgi?id=129662
</ins><span class="cx">
</span><del>- Tests: fast/repaint/reflection-table-layout.html
- fast/repaint/transform-table-layout.html
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::layout):
- * rendering/RenderTableRow.cpp:
- (WebCore::RenderTableRow::layout):
- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::layout):
- (WebCore::RenderTableSection::layoutRows):
</del><ins>+ The vast majority of attributes don't need synchronization. Avoid calling synchronizeAttribute in setters
+ for those content attributes generated by "Reflect" keyword in IDL.
</ins><span class="cx">
</span><del>-2013-05-03 Antti Koivisto <antti@apple.com>
</del><ins>+ * bindings/scripts/CodeGenerator.pm:
+ (SetterExpression):
+ * dom/Element.cpp:
+ (WebCore::Element::setAttributeWithoutSynchronization): Added.
+ * dom/Element.h:
</ins><span class="cx">
</span><del>- Remove concept of younger and older shadow trees
- https://bugs.webkit.org/show_bug.cgi?id=115570
</del><ins>+2014-03-04 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Remove Document::idAttributeName().
+ <https://webkit.org/b/129663>
</ins><span class="cx">
</span><del>- Younger and older shadow trees are an obscure corner of the Shadow DOM spec.
-
- Support only one shadow tree per element. This simplifies many things.
</del><ins>+ Reviewed by Ryosuke "DYEB" Niwa.
</ins><span class="cx">
</span><del>- * dom/ComposedShadowTreeWalker.cpp:
- (WebCore::ComposedShadowTreeWalker::traverseChild):
- (WebCore::ComposedShadowTreeWalker::traverseSiblingInCurrentTree):
- (WebCore):
- (WebCore::ComposedShadowTreeWalker::traverseParent):
- (WebCore::ComposedShadowTreeWalker::traverseParentInCurrentTree):
- (WebCore::ComposedShadowTreeWalker::traverseParentBackToShadowRootOrHost):
- * dom/ComposedShadowTreeWalker.h:
- (WebCore::ComposedShadowTreeWalker::assertPrecondition):
- (ComposedShadowTreeWalker):
- * dom/ContainerNodeAlgorithms.cpp:
- (WebCore::ChildNodeInsertionNotifier::notifyDescendantInsertedIntoDocument):
- (WebCore::ChildNodeInsertionNotifier::notifyDescendantInsertedIntoTree):
- (WebCore::ChildNodeRemovalNotifier::notifyDescendantRemovedFromDocument):
- (WebCore::ChildNodeRemovalNotifier::notifyDescendantRemovedFromTree):
- (WebCore::ChildFrameDisconnector::collectFrameOwners):
- (WebCore::assertConnectedSubrameCountIsConsistent):
</del><ins>+ This abstraction is not actually used and causes unnecessary indirection
+ in some pretty hot code paths.
+
+ Replace it with hard-coded HTMLNames::idAttr instead which is a compile
+ time constant pointer. We can revisit this in the future if we wish to
+ implement support for custom id attributes.
+
+ * dom/Attr.cpp:
+ (WebCore::Attr::isId):
</ins><span class="cx"> * dom/Document.cpp:
</span><del>- (WebCore::Document::buildAccessKeyMap):
</del><ins>+ (WebCore::Document::Document):
+ * dom/Document.h:
</ins><span class="cx"> * dom/Element.cpp:
</span><del>- (WebCore::Element::authorShadowRoot):
- (WebCore::Element::userAgentShadowRoot):
- (WebCore::Element::ensureUserAgentShadowRoot):
</del><ins>+ (WebCore::Element::attributeChanged):
+ (WebCore::Element::willModifyAttribute):
</ins><span class="cx"> * dom/Element.h:
</span><del>- (Element):
- (WebCore::Element::hasAuthorShadowRoot):
- * dom/Element.idl:
- * dom/ElementShadow.cpp:
- (WebCore::ElementShadow::addShadowRoot):
</del><ins>+ (WebCore::Element::getIdAttribute):
+ (WebCore::Element::getNameAttribute):
+ (WebCore::Element::setIdAttribute):
+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::parseAttribute):
+ * html/HTMLFrameElementBase.cpp:
+ (WebCore::HTMLFrameElementBase::parseAttribute):
+ * html/HTMLMapElement.cpp:
+ (WebCore::HTMLMapElement::parseAttribute):
+ * svg/SVGElement.cpp:
+ (WebCore::SVGElement::attributeChanged):
+ (WebCore::SVGElement::isKnownAttribute):
+ (WebCore::SVGElement::svgAttributeChanged):
+
+2014-03-04 Ryosuke Niwa <rniwa@webkit.org>
+
+ REGRESSION(r164856): Use after free in WebCore::QualifiedName::operator== / WebCore::StyledElement::attributeChanged
+ https://bugs.webkit.org/show_bug.cgi?id=129550
+
+ Reviewed by Andreas Kling.
+
+ We can't store a reference to QualifiedName here because ensureUniqueElementData could delete QualifiedName inside Attribute.
+
+ Test: fast/dom/uniquing-attributes-via-setAttribute.html
+
+ * dom/Element.cpp:
+ (WebCore::Element::setAttributeInternal):
+
+2014-03-04 Hyowon Kim <hw1008.kim@samsung.com>
+
+ Move EvasGLContext and EvasGLSurface files into the efl common directory.
+ https://bugs.webkit.org/show_bug.cgi?id=129603
+
+ Reviewed by Gyuyoung Kim.
+
+ EFL port will use EvasGLContext and EvasGLSurface files in both WK1 and WK2.
+
+ No new tests, just refactorings.
+
+ * PlatformEfl.cmake:
+ * platform/graphics/efl/EvasGLContext.cpp: Renamed from Source/WebKit2/UIProcess/API/efl/EvasGLContext.cpp.
+ (WebKit::EvasGLContext::EvasGLContext):
+ (WebKit::EvasGLContext::~EvasGLContext):
+ * platform/graphics/efl/EvasGLContext.h: Renamed from Source/WebKit2/UIProcess/API/efl/EvasGLContext.h.
+ (WebKit::EvasGLContext::create):
+ (WebKit::EvasGLContext::context):
+ * platform/graphics/efl/EvasGLSurface.cpp: Renamed from Source/WebKit2/UIProcess/API/efl/EvasGLSurface.cpp.
+ (WebKit::EvasGLSurface::EvasGLSurface):
+ (WebKit::EvasGLSurface::~EvasGLSurface):
+ * platform/graphics/efl/EvasGLSurface.h: Renamed from Source/WebKit2/UIProcess/API/efl/EvasGLSurface.h.
+ (WebKit::EvasGLSurface::create):
+ (WebKit::EvasGLSurface::surface):
+
+2014-03-03 Martin Robinson <mrobinson@igalia.com>
+
+ Fix the GTK+ CMake build
+
+ * PlatformGTK.cmake: Add a missing file to the source list.
+
+2014-03-03 Sanghyup Lee <sh53.lee@samsung.com>
+
+ :active style is not cleared when its display property is set to none before mouse released.
+ https://bugs.webkit.org/show_bug.cgi?id=129465
+
+ Reviewed by Antonio Gomes.
+
+ Source/WebCore:
+
+ We currently clearing the :active style when element has a renderer.
+ This patch makes elements clear its active style regardless of renderer.
+
+ * dom/Document.cpp:
+ (WebCore::Document::updateHoverActiveState):
+
+ LayoutTests:
+
+ * fast/css/active-display-none-expected.txt: Added.
+ * fast/css/active-display-none.html: Added.
+
+
+2014-03-03 Andreas Kling <akling@apple.com>
+
+ Remove 2 unnecessary includes from JSDOMBinding.h
+ <https://webkit.org/b/129619>
+
+ Reviewed by Antti Koivisto.
+
+ * bindings/js/JSDOMBinding.h:
+
+2014-03-03 Myles C. Maxfield <mmaxfield@apple.com>
+
+ GraphicsContext::drawLineForText needs to be exported from WebCore.dylib for iOS builds
+ https://bugs.webkit.org/show_bug.cgi?id=129647
+
+ Reviewed by NOBODY (This is a build fix).
+
+ Fixing after r165025 and r165016.
+
+ No new tests as this is a build fix.
+
+ * WebCore.exp.in:
+
+2014-03-03 Jer Noble <jer.noble@apple.com>
+
+ [iOS] Start playback button misplaced
+ https://bugs.webkit.org/show_bug.cgi?id=129628
+
+ Reviewed by Simon Fraser.
+
+ On YouTube embeds, while the video is loading it is placed into the DOM with a 0x0 size.
+ This causes the start playback button to be visible in the upper-left corner of the embed
+ area. The button wasn't visible previously (in plugin mode) because the plugin clipped its
+ drawing to its bounds, and so the <video> shadow should do the same.
+
+ * Modules/mediacontrols/mediaControlsiOS.css:
+ (::-webkit-media-controls):
+
+2014-03-03 Enrica Casucci <enrica@apple.com>
+
+ Build fix for iOS simulator.
+
+ * WebCore.exp.in:
+
+2014-03-03 Jeremy Jones <jeremyj@apple.com>
+
+ Forward application suspend resume notifications to the web process.
+ https://bugs.webkit.org/show_bug.cgi?id=129356
+
+ Reviewed by Eric Carlson.
+
+ * platform/audio/ios/MediaSessionManagerIOS.mm:
+ (-[WebMediaSessionHelper initWithCallback:]):
+ Observe UIApplicationDidBecomeActiveNotification,
+ WebUIApplicationDidBecomeActiveNotification,
+ WebUIApplicationWillEnterForegroundNotification, and
+ WebUIApplicationWillResignActiveNotification
</ins><span class="cx">
</span><del>- Allow only one ShadowRoot per ElementShadow. Remove linked list handling.
</del><ins>+ (-[WebMediaSessionHelper applicationDidBecomeActive:]):
+ Resume session.
+
+2014-03-03 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r165013.
+ http://trac.webkit.org/changeset/165013
+ https://bugs.webkit.org/show_bug.cgi?id=129646
+
+ New code is not thread safe, asserting on a worker test
+ (Requested by ap on #webkit).
+
+ * WebCore.exp.in:
+ * editing/DeleteButtonController.cpp:
+ (WebCore::DeleteButtonController::createDeletionUI):
+ * html/DOMURL.cpp:
+ (WebCore::DOMURL::revokeObjectURL):
+ * inspector/InspectorPageAgent.cpp:
+ (WebCore::InspectorPageAgent::cachedResource):
+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::InspectorResourceAgent::replayXHR):
+ * loader/DocumentLoader.cpp:
+ (WebCore::areAllLoadersPageCacheAcceptable):
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::tellClientAboutPastMemoryCacheLoads):
+ * loader/ImageLoader.cpp:
+ (WebCore::ImageLoader::updateFromElement):
+ * loader/archive/cf/LegacyWebArchive.cpp:
+ (WebCore::LegacyWebArchive::create):
+ * loader/cache/CachedCSSStyleSheet.cpp:
+ (WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet):
+ * loader/cache/CachedCSSStyleSheet.h:
+ * loader/cache/CachedFont.cpp:
+ (WebCore::CachedFont::CachedFont):
+ * loader/cache/CachedFont.h:
+ * loader/cache/CachedImage.cpp:
+ (WebCore::CachedImage::CachedImage):
+ * loader/cache/CachedImage.h:
+ * loader/cache/CachedRawResource.cpp:
+ (WebCore::CachedRawResource::CachedRawResource):
+ * loader/cache/CachedRawResource.h:
+ * loader/cache/CachedResource.cpp:
+ (WebCore::CachedResource::CachedResource):
+ (WebCore::CachedResource::~CachedResource):
+ * loader/cache/CachedResource.h:
+ * loader/cache/CachedResourceLoader.cpp:
+ (WebCore::createResource):
+ (WebCore::CachedResourceLoader::requestUserCSSStyleSheet):
+ (WebCore::CachedResourceLoader::requestResource):
+ (WebCore::CachedResourceLoader::revalidateResource):
+ (WebCore::CachedResourceLoader::loadResource):
+ * loader/cache/CachedResourceLoader.h:
+ * loader/cache/CachedSVGDocument.cpp:
+ (WebCore::CachedSVGDocument::CachedSVGDocument):
+ * loader/cache/CachedSVGDocument.h:
+ * loader/cache/CachedScript.cpp:
+ (WebCore::CachedScript::CachedScript):
+ * loader/cache/CachedScript.h:
+ * loader/cache/CachedTextTrack.cpp:
+ (WebCore::CachedTextTrack::CachedTextTrack):
+ * loader/cache/CachedTextTrack.h:
+ * loader/cache/CachedXSLStyleSheet.cpp:
+ (WebCore::CachedXSLStyleSheet::CachedXSLStyleSheet):
+ * loader/cache/CachedXSLStyleSheet.h:
+ * loader/cache/MemoryCache.cpp:
+ (WebCore::MemoryCache::add):
+ (WebCore::MemoryCache::revalidationSucceeded):
+ (WebCore::MemoryCache::resourceForURL):
+ (WebCore::MemoryCache::resourceForRequest):
+ (WebCore::MemoryCache::addImageToCache):
+ (WebCore::MemoryCache::removeImageFromCache):
+ (WebCore::MemoryCache::evict):
+ (WebCore::MemoryCache::removeResourcesWithOrigin):
+ (WebCore::MemoryCache::getOriginsWithCache):
+ (WebCore::MemoryCache::removeUrlFromCache):
+ (WebCore::MemoryCache::removeRequestFromCache):
+ (WebCore::MemoryCache::removeRequestFromCacheImpl):
+ (WebCore::MemoryCache::crossThreadRemoveRequestFromCache):
+ (WebCore::MemoryCache::getStatistics):
+ (WebCore::MemoryCache::setDisabled):
+ * loader/cache/MemoryCache.h:
+ * platform/CrossThreadCopier.cpp:
+ * platform/CrossThreadCopier.h:
+ * platform/network/cf/ResourceRequest.h:
+ (WebCore::ResourceRequest::ResourceRequest):
+ * rendering/RenderSnapshottedPlugIn.cpp:
+ (WebCore::RenderSnapshottedPlugIn::updateSnapshot):
+ * testing/Internals.cpp:
+ (WebCore::Internals::isLoadingFromMemoryCache):
+
+2014-03-03 Sam Weinig <sam@webkit.org>
+
+ Fix the iOS Simulator build.
+
+ * WebCore.exp.in:
+
+2014-03-03 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Space between double underlines does not scale with font size
+ https://bugs.webkit.org/show_bug.cgi?id=129521
+
+ Reviewed by Simon Fraser.
+
+ This patch moves the logic about how far to draw the second underline (when text-decoration-style: double
+ is specified) from InlineTextBox to GraphicsContext, because GraphicsContext is the authoritative source
+ about how thick underlines should be. The space between the two underlines is set to the thickness of
+ each of the underlines.
+
+ This patch also deletes some unused code in InlineTextBox that was never getting triggered, in addition
+ to unifying drawLineForText with drawLinesForText. This didn't have any performance impact in my testing.
+
+ Test: fast/css3-text/css3-text-decoration/text-decoration-style-double-space-scales.html
+
+ * platform/graphics/GraphicsContext.h: drawLineForText takes a boolean for if we should draw double
+ underlines.
+ * platform/graphics/cg/GraphicsContextCG.cpp:
+ (WebCore::GraphicsContext::drawLineForText):
+ (WebCore::GraphicsContext::drawLinesForText):
+ * platform/graphics/cairo/GraphicsContextCairo.cpp:
+ (WebCore::GraphicsContext::drawLineForText):
+ * platform/graphics/wince/GraphicsContextWinCE.cpp:
+ (WebCore::GraphicsContext::drawLineForText):
+ * rendering/InlineTextBox.cpp: Use new boolean argument
+ (WebCore::drawSkipInkUnderline):
+ (WebCore::InlineTextBox::paintDecoration):
+
+2014-02-28 Chris Fleizach <cfleizach@apple.com>
+
+ AX: Support IOS Accessibility in WK2
+ https://bugs.webkit.org/show_bug.cgi?id=129527
+
+ Reviewed by Sam Weinig.
+
+ Update the iOS wrapper so that it can convert points to screen space in WebKit2.
+
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper convertPointToScreenSpace:]):
+ (-[WebAccessibilityObjectWrapper convertRectToScreenSpace:]):
+
+2014-03-03 Martin Hock <mhock@apple.com>
+
+ Add support for sessions to MemoryCache.
+ https://bugs.webkit.org/show_bug.cgi?id=127794
+
+ Reviewed by Sam Weinig.
+
+ * WebCore.exp.in:
+ * editing/DeleteButtonController.cpp:
+ (WebCore::DeleteButtonController::createDeletionUI): Initialize CachedImage with sessionID.
+ * html/DOMURL.cpp:
+ (WebCore::DOMURL::revokeObjectURL): Remove URL from MemoryCache for all sessions.
+ * inspector/InspectorPageAgent.cpp:
+ (WebCore::InspectorPageAgent::cachedResource): Pass sessionID to MemoryCache.
+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::InspectorResourceAgent::replayXHR): Ditto.
+ * loader/DocumentLoader.cpp:
+ (WebCore::areAllLoadersPageCacheAcceptable): Ditto.
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::tellClientAboutPastMemoryCacheLoads): Ditto.
+ * loader/ImageLoader.cpp:
+ (WebCore::ImageLoader::updateFromElement): Initialize CachedImage with sessionID.
+ * loader/archive/cf/LegacyWebArchive.cpp:
+ (WebCore::LegacyWebArchive::create): Pass sessionID to MemoryCache.
+ * loader/cache/CachedCSSStyleSheet.cpp:
+ (WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet): Constructor takes sessionID.
+ * loader/cache/CachedCSSStyleSheet.h:
+ * loader/cache/CachedFont.cpp: Ditto.
+ (WebCore::CachedFont::CachedFont):
+ * loader/cache/CachedFont.h:
+ * loader/cache/CachedImage.cpp: Ditto.
+ (WebCore::CachedImage::CachedImage):
+ * loader/cache/CachedImage.h:
+ * loader/cache/CachedRawResource.cpp: Ditto.
+ (WebCore::CachedRawResource::CachedRawResource):
+ * loader/cache/CachedRawResource.h:
+ * loader/cache/CachedResource.cpp: Ditto.
+ (WebCore::CachedResource::CachedResource):
+ (WebCore::CachedResource::~CachedResource): Pass sessionID to MemoryCache.
+ * loader/cache/CachedResource.h:
+ (WebCore::CachedResource::sessionID):
+ * loader/cache/CachedResourceLoader.cpp:
+ (WebCore::createResource): Constructors take sessionID.
+ (WebCore::CachedResourceLoader::sessionID): Retrieve sessionID from page.
+ (WebCore::CachedResourceLoader::requestUserCSSStyleSheet): Pass sessionID to MemoryCache.
+ (WebCore::CachedResourceLoader::requestResource): Initialize CachedCSSStyleSheet with sessionID.
+ (WebCore::CachedResourceLoader::revalidateResource): Initialize cached resource with sessionID.
+ (WebCore::CachedResourceLoader::loadResource): Pass sessionID to MemoryCache and initialize cached resource with sessionID.
+ * loader/cache/CachedResourceLoader.h:
+ * loader/cache/CachedSVGDocument.cpp: Constructor takes sessionID.
+ (WebCore::CachedSVGDocument::CachedSVGDocument):
+ * loader/cache/CachedSVGDocument.h:
+ * loader/cache/CachedScript.cpp: Ditto.
+ (WebCore::CachedScript::CachedScript):
+ * loader/cache/CachedScript.h:
+ * loader/cache/CachedTextTrack.cpp: Ditto.
+ (WebCore::CachedTextTrack::CachedTextTrack):
+ * loader/cache/CachedTextTrack.h:
+ * loader/cache/CachedXSLStyleSheet.cpp: Ditto.
+ (WebCore::CachedXSLStyleSheet::CachedXSLStyleSheet):
+ * loader/cache/CachedXSLStyleSheet.h:
+ * loader/cache/MemoryCache.cpp:
+ (WebCore::MemoryCache::getSessionMap): Retrieve CachedResourceMap based on sessionID.
+ (WebCore::MemoryCache::add): Use sessionID from CachedResource parameter.
+ (WebCore::MemoryCache::revalidationSucceeded): Add sessionID parameter.
+ (WebCore::MemoryCache::resourceForURL): Ditto.
+ (WebCore::MemoryCache::resourceForRequest): Ditto, also move impl into impl method.
+ (WebCore::MemoryCache::resourceForRequestImpl): Add CachedResourceMap parameter.
+ (WebCore::MemoryCache::addImageToCache): Use default sessionID.
+ (WebCore::MemoryCache::removeImageFromCache): Ditto.
+ (WebCore::MemoryCache::evict): Use sessionID from CachedResource parameter.
+ (WebCore::MemoryCache::removeResourcesWithOrigin): Iterate through all CachedResourceMaps.
+ (WebCore::MemoryCache::getOriginsWithCache): Ditto.
+ (WebCore::MemoryCache::removeUrlFromCache): Add sessionID parameter.
+ (WebCore::MemoryCache::removeRequestFromCache): Ditto.
+ (WebCore::MemoryCache::removeRequestFromCacheImpl): Ditto.
+ (WebCore::MemoryCache::removeRequestFromSessionCaches): Iterate through all CachedResourceMaps.
+ (WebCore::MemoryCache::crossThreadRemoveRequestFromCache): Add sessionID parameter.
+ (WebCore::MemoryCache::getStatistics): Iterate through all CachedResourceMaps.
+ (WebCore::MemoryCache::setDisabled): Ditto.
+ * loader/cache/MemoryCache.h: Create another level for cache.
+ * platform/CrossThreadCopier.cpp: Allow copying SessionIDs across threads.
+ (WebCore::SessionID>::copy):
+ * platform/CrossThreadCopier.h:
+ * platform/network/cf/ResourceRequest.h:
+ (WebCore::ResourceRequest::ResourceRequest): Remove trailing whitespace.
+ * rendering/RenderSnapshottedPlugIn.cpp:
+ (WebCore::RenderSnapshottedPlugIn::updateSnapshot): Initialize CachedImage with sessionID.
+ * testing/Internals.cpp:
+ (WebCore::Internals::isLoadingFromMemoryCache): Pass sessionID to MemoryCache.
+
+2014-03-03 Andreas Kling <akling@apple.com>
+
+ Remove unused DataView code from JSDOMBinding.h
+ <https://webkit.org/b/129616>
+
+ Reviewed by Antti Koivisto.
+
+ * bindings/js/JSDOMBinding.h:
+
+2014-03-03 Simon Fraser <simon.fraser@apple.com>
+
+ Allow overflow-scroll to be one-finger scrolled until we hook up UIScrollViews
+ https://bugs.webkit.org/show_bug.cgi?id=129621
+
+ Reviewed by Benjamin Poulain.
+
+ Temporary change to allow overflow:scroll to be scrolled in iOS WK2.
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::hasAcceleratedTouchScrolling):
+
+2014-03-03 Antti Koivisto <antti@apple.com>
+
+ Find results on simple lines are not marked correctly
+ https://bugs.webkit.org/show_bug.cgi?id=129586
+
+ Reviewed by Andreas Kling.
+
+ Tests: editing/text-iterator/count-mark-lineboxes.html
+ editing/text-iterator/count-mark-simple-lines.html
+
+ TextIterator operating on simple lines failed to take the end of the range into account.
+ This also causes performance issues on long documents as range traversals would miss the end
+ node and end up going through the entire document.
+
+ * editing/TextIterator.cpp:
+ (WebCore::TextIterator::handleTextNode):
</ins><span class="cx">
</span><del>- (WebCore::ElementShadow::removeAllShadowRoots):
- (WebCore::ElementShadow::attach):
- (WebCore::ElementShadow::detach):
- (WebCore::ElementShadow::childNeedsStyleRecalc):
- (WebCore::ElementShadow::needsStyleRecalc):
- (WebCore::ElementShadow::recalcStyle):
- (WebCore::ElementShadow::removeAllEventListeners):
- * dom/ElementShadow.h:
- (WebCore::ElementShadow::shadowRoot):
- (ElementShadow):
- (WebCore::ElementShadow::host):
- (WebCore::Node::shadowRoot):
- (WebCore):
- * dom/Node.cpp:
- (WebCore):
- (WebCore::Node::showNodePathForThis):
- (WebCore::traverseTreeAndMark):
- (WebCore::showSubTreeAcrossFrame):
- * dom/Node.h:
- (Node):
- * dom/ShadowRoot.cpp:
- (WebCore::ShadowRoot::insertedInto):
- * dom/ShadowRoot.h:
- (ShadowRoot):
</del><ins>+ Stop when hitting the range end on simple text nodes.
+
+ (WebCore::SimplifiedBackwardsTextIterator::handleTextNode):
</ins><span class="cx">
</span><del>- Remove LinkedList base.
-
- * dom/TreeScopeAdopter.cpp:
- (WebCore::TreeScopeAdopter::moveTreeToNewScope):
- (WebCore::TreeScopeAdopter::moveTreeToNewDocument):
- * html/shadow/ContentDistributor.cpp:
- (WebCore::ContentDistributor::distribute):
- (WebCore::ContentDistributor::invalidate):
- (WebCore::ContentDistributor::ensureSelectFeatureSet):
- * inspector/InspectorDOMAgent.cpp:
- (WebCore::InspectorDOMAgent::unbind):
- (WebCore::InspectorDOMAgent::buildObjectForNode):
- * page/FocusController.cpp:
- (WebCore::FocusNavigationScope::FocusNavigationScope):
- (WebCore::FocusNavigationScope::focusNavigationScopeOwnedByShadowHost):
- * rendering/RenderFileUploadControl.cpp:
- (WebCore::RenderFileUploadControl::uploadButton):
- * svg/SVGTRefElement.cpp:
- (WebCore::SVGTRefElement::updateReferencedText):
- (WebCore::SVGTRefElement::detachTarget):
- * svg/SVGUseElement.cpp:
- (WebCore::SVGUseElement::clearResourceReferences):
- (WebCore::SVGUseElement::buildShadowAndInstanceTree):
- (WebCore::SVGUseElement::buildShadowTree):
</del><ins>+ Use hasRenderedText test instead of linebox-only firstTextBox.
+
</ins><span class="cx"> * testing/Internals.cpp:
</span><del>- (WebCore::Internals::ensureShadowRoot):
- (WebCore::Internals::shadowRoot):
- (WebCore):
</del><ins>+ (WebCore::Internals::countMatchesForText):
</ins><span class="cx"> * testing/Internals.h:
</span><del>- (Internals):
</del><span class="cx"> * testing/Internals.idl:
</span><ins>+
+ Add testing interface for counting and marking matches.
</ins><span class="cx">
</span><del>-2013-05-03 Martin Robinson <mrobinson@igalia.com>
</del><ins>+2014-03-03 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Simplify the #ifdefs in GraphicsContext3D.h
- https://bugs.webkit.org/show_bug.cgi?id=115568
</del><ins>+ SelectorQuery failing RightMostWithIdMatch are compiling their selectors for each execution
+ https://bugs.webkit.org/show_bug.cgi?id=129601
</ins><span class="cx">
</span><del>- Reviewed by Daniel Bates.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * platform/graphics/GraphicsContext3D.h:
- (GraphicsContext3D): Combine #ifdefs paths that have a common
- implementation. This reduces the #ifdef paths from many to just three.
- * platform/graphics/cairo/GraphicsContext3DCairo.cpp:
- (WebCore::GraphicsContext3D::platformTexture): Move the implementation
- here to simplify the header.
- * platform/graphics/efl/GraphicsContext3DEfl.cpp:
- (WebCore::GraphicsContext3D::platformTexture): Ditto.
- (WebCore):
</del><ins>+ This caused a regression after r164924 for documents in quirks mode. Since those always fail
+ selectorForIdLookup(), they ended up compiling the selector every time they were called.
</ins><span class="cx">
</span><del>-2013-05-03 Brendan Long <b.long@cablelabs.com>
</del><ins>+ * dom/SelectorQuery.cpp:
+ (WebCore::SelectorDataList::execute):
</ins><span class="cx">
</span><del>- [Qt] Build with --video-track fails because String(AtomicString) is ambiguous
- https://bugs.webkit.org/show_bug.cgi?id=115551
</del><ins>+2014-03-01 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ [Mac] Crash in MediaPlayer::rateChanged()
+ https://bugs.webkit.org/show_bug.cgi?id=129548
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::configureTextTrackGroup):
- Change String(textTrack->kind()) to textTrack->kind().string(), and same thing with language.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-05-03 Xabier Rodriguez Calvar <calvaris@igalia.com>
</del><ins>+ WTF::bind will automatically ref the parameters added to it. But MediaPlayerPrivate-
+ AVFoundation and -MediaSOurceAVFObjC are not RefCounted, so by the time the bound
+ function is called, the underlying objects may have been freed.
</ins><span class="cx">
</span><del>- [GStreamer] GStreamer log crashes in MediaPlayerPrivateGStreamerBase because of uninitialized category
- https://bugs.webkit.org/show_bug.cgi?id=115575
</del><ins>+ Replace or augment callOnMainThread arguments with lambdas and weakPtrs so that
+ if the argument has been destroyed, its methods will not be called.
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ Make the MediaPlayerPrivateAVFoundation::Notification function type a std::function:
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
+ (WebCore::MediaPlayerPrivateAVFoundation::Notification::Notification):
+ (WebCore::MediaPlayerPrivateAVFoundation::Notification::function):
</ins><span class="cx">
</span><del>- No new tests needed.
</del><ins>+ Make createWeakPtr() public so that it can be called from non-class methods:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createWeakPtr):
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::createWeakPtr):
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
- Using extern debug category.
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
- Declaring debug category as not static.
</del><ins>+ Use a weakPtr to abort callOnMainThread() if the object has been destroyed:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]):
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ (WebCore::CMTimebaseEffectiveRateChangedCallback):
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::play):
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::pause):
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::seekWithTolerance):
</ins><span class="cx">
</span><del>-2013-05-03 Brent Fulgham <bfulgham@webkit.org>
</del><ins>+2014-02-28 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- [WinCairo] Unreviewed VS2010 Build Correction.
</del><ins>+ [MSE] YouTube videos fail to play
+ https://bugs.webkit.org/show_bug.cgi?id=129525
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.vcxproj: Exclude CG-only
- SubimageCacheWithTimer.cpp from WinCairo build.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-05-03 Viatcheslav Ostapenko <viatchslav.o@samsung.com>
</del><ins>+ Test: media/media-source/media-source-fudge-factor.html
</ins><span class="cx">
</span><del>- [Cairo] Anti-aliasing should not be always disabled for lines
- https://bugs.webkit.org/show_bug.cgi?id=109535
</del><ins>+ Add a very simple playability metric to SourceBuffer. Track the number of seconds buffered
+ and use that metric to determine whether the MediaSource has buffered enough data to play
+ through.
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ * Modules/mediasource/MediaSource.cpp:
+ (WebCore::MediaSource::currentTime): Added simple accessor.
+ (WebCore::MediaSource::monitorSourceBuffers): Replace the functor-based iterators with lambdas.
+ (WebCore::MediaSource::addSourceBuffer): Drive-by fix; only add new source buffers to the
+ activeSourceBuffers list if those buffers are actually active.
+ * Modules/mediasource/MediaSource.h:
+ * Modules/mediasource/SourceBuffer.cpp:
+ (WebCore::SourceBuffer::SourceBuffer): Initialize new ivars.
+ (WebCore::SourceBuffer::sourceBufferPrivateDidReceiveSample): Measure the number of seconds buffered.
+ (WebCore::SourceBuffer::monitorBufferingRate): Use a simple Exponential moving average to
+ track the buffering rate.
+ (WebCore::SourceBuffer::hasCurrentTime): Return true if the current time is within 1/24 s
+ of a buffered range.
+ (WebCore::SourceBuffer::hasFutureTime): Moved from MediaSource.
+ (WebCore::SourceBuffer::canPlayThrough): Return true if the buffering rate is > 1s per
+ second, or if the rate is sufficient to keep up over the remaining time.
+ * Modules/mediasource/SourceBuffer.h:
</ins><span class="cx">
</span><del>- Don't disable antialiasing for text lines because it produces ugly picture if
- page is scaled.
</del><ins>+2014-03-03 Bear Travis <betravis@adobe.com>
</ins><span class="cx">
</span><del>- Test: fast/css3-text/css3-text-decoration/text-decoration-line-scaled.html
</del><ins>+ [CSS Shapes] Serialize circle positions
+ https://bugs.webkit.org/show_bug.cgi?id=129404
</ins><span class="cx">
</span><del>- * platform/graphics/cairo/GraphicsContextCairo.cpp:
- (WebCore::drawLineOnCairoContext):
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>-2013-05-03 Daniel Bates <dbates@webkit.org>
</del><ins>+ Circle positions should always be present when serialized, and should
+ only have the 2 or 4-valued form. Keywords are converted to percentages
+ and simplified where possible. This patch adds some additional processing
+ that converts the parsed position into the serialized format, before
+ converting it to text. See http://dev.w3.org/csswg/css-shapes/#basic-shape-serialization.
</ins><span class="cx">
</span><del>- Remove unnecessary include HTMLNames.h from RenderThemeGtk.cpp
- https://bugs.webkit.org/show_bug.cgi?id=115571
</del><ins>+ Updated existing parsing tests.
</ins><span class="cx">
</span><ins>+ * css/CSSBasicShapes.cpp:
+ (WebCore::serializePositionOffset): Convert a position offset to a serialized string.
+ The offset must be a pair, as generated by buildSerializablePositionOffset.
+ (WebCore::buildSerializablePositionOffset): Generates a keyword + offset pair for each
+ position offset. The keywords may later be dropped during serialization.
+ (WebCore::CSSBasicShapeCircle::cssText): Use the new serialization methods.
+
+2014-03-03 Lorenzo Tilve <ltilve@igalia.com>
+
+ Optimize StylePropertiesSet::findPropertyIndex() to improve CSS properties performance
+ https://bugs.webkit.org/show_bug.cgi?id=129605
+
+ Reviewed by Andreas Kling.
+
+ Merged from Blink (patch by Mikhail Pozdnyakov):
+ https://src.chromium.org/viewvc/blink?view=revision&revision=167325
+
+ Avoid checking whether 'StylePropertiesSet' is mutable and accesing directly to its
+ data members to achieve performance improvements
+
+ Before the optimization applied:
+ mean: 3064.8337171934063 runs/s
+ median: 3097.5899379343855 runs/s
+ stdev: 66.89274074044187 runs/s
+ min: 2891.7479324362585 runs/s
+ max: 3113.288683440125 runs/s
+
+ After the optimization applied:
+ mean: 3343.8356114138105 runs/s
+ median: 3356.25682957446 runs/s
+ stdev: 36.297533087489036 runs/s
+ min: 3238.5468032264243 runs/s
+ max: 3368.664837531425 runs/s
+
+ Performance gain for the average value is approx. 9.1%, in the
+ range of the 10% - 8.2% for the min and max measured
+ values (Linux desktop x64).
+
+ * css/StyleProperties.cpp:
+ (WebCore::ImmutableStyleProperties::findPropertyIndex):
+ (WebCore::MutableStyleProperties::findPropertyIndex):
+ * css/StyleProperties.h:
+ (WebCore::toMutableStyleProperties):
+ (WebCore::toImmutableStyleProperties):
+ (WebCore::StyleProperties::findPropertyIndex):
+
+2014-03-03 Brian Burg <bburg@apple.com>
+
+ Unreviewed build fix for Windows after r164986.
+
+ * WebCore.vcxproj/build-generated-files.sh: Export WebReplayScripts
+ so that the build system knows how to find CodeGeneratorReplayInputs.py.
+
+2014-03-03 Andrei Bucur <abucur@adobe.com>
+
+ [CSS Regions] Overset computation is incorrect in some cases
+ https://bugs.webkit.org/show_bug.cgi?id=129032
+
+ Reviewed by Mihnea Ovidenie.
+
+ This patch reworks the way overset is computed for regions and named flows.
+
+ 1. Regions overflow no longer trigger an overset changed event. This is because
+ the overflow of a box is contained within the region range of the box. The content
+ edge should be considered the logical bottom position of the content inside the
+ flow thread.
+
+ 2. The regions events logic was moved from RenderFlowThread to RenderNamedFlowThread
+ and from RenderRegion to RenderNamedFlowFragment (including the regionOverset property).
+
+ 3. The overset value of the named flow is no longer stored in the named flow. It is
+ extracted from the overset of the last region in the chain.
+
+ 4. The regions overset is not computed every time the flow thread is laid out which
+ should improve performance for flows with many regions. With the patch, each region
+ computes the overset value during its layout when the flow thread is in the overflow
+ or the final layout phase.
+
+ 5. The overset changed event is dispatched only at the end of the layout of the named flows,
+ after all the region overset changes have been considered. This means that the overset
+ event can't be dispatched in the middle of the auto-height processing algorithm that
+ requires multiple layout passes for the flow threads.
+
+ However, the region layout update event dispatch timing was not changed, it is dispatched
+ every time the flow thread has a layout. This preserves the current behavior of the event.
+
+ Tests: The old tests were modified to take into account the change.
+
+ * dom/Element.cpp:
+ (WebCore::Element::webkitRegionOverset):
+ * dom/WebKitNamedFlow.cpp:
+ (WebCore::WebKitNamedFlow::overset):
+ * inspector/InspectorCSSAgent.cpp:
+ (WebCore::InspectorCSSAgent::buildArrayForRegions):
+ * rendering/FlowThreadController.cpp:
+ (WebCore::FlowThreadController::updateFlowThreadsIntoMeasureContentPhase):
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::computeOverflow):
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::RenderFlowThread):
+ (WebCore::RenderFlowThread::layout):
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::layoutBlock):
+ (WebCore::RenderNamedFlowFragment::setRegionOversetState):
+ (WebCore::RenderNamedFlowFragment::regionOversetState):
+ (WebCore::RenderNamedFlowFragment::updateOversetState):
+ * rendering/RenderNamedFlowFragment.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::RenderNamedFlowThread):
+ (WebCore::RenderNamedFlowThread::computeOverflow):
+ (WebCore::RenderNamedFlowThread::layout):
+ (WebCore::RenderNamedFlowThread::dispatchNamedFlowEvents):
+ (WebCore::RenderNamedFlowThread::dispatchRegionLayoutUpdateEventIfNeeded):
+ (WebCore::RenderNamedFlowThread::dispatchRegionOversetChangeEventIfNeeded):
+ * rendering/RenderNamedFlowThread.h:
+ There's a new field called m_flowContentBottom that tracks the content bottom of the flow thread
+ after layout. This value is used to compute the overset value of the regions because it's not
+ affected by relative positioning or visual overflow such as shadows.
+ * rendering/RenderRegion.cpp:
+ * rendering/RenderRegion.h:
+
+2014-03-03 Tomas Popela <tpopela@redhat.com>
+
+ [GTK] CodeGeneratorGObject.pm remove usage of undefined variable
+ https://bugs.webkit.org/show_bug.cgi?id=129602
+
</ins><span class="cx"> Reviewed by Martin Robinson.
</span><span class="cx">
</span><del>- * platform/gtk/RenderThemeGtk.cpp:
</del><ins>+ Remove usage of undefined variable hdrPropIncludes in CodeGeneratorGObject.pm
</ins><span class="cx">
</span><del>-2013-05-03 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ * bindings/scripts/CodeGeneratorGObject.pm:
+ (WriteData):
</ins><span class="cx">
</span><del>- [Mac] setMetadataURL incorrectly treats path bytes as Latin-1
- https://bugs.webkit.org/show_bug.cgi?id=115557
</del><ins>+2014-03-03 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Web Replay: upstream input storage, capture/replay machinery, and inspector domain
+ https://bugs.webkit.org/show_bug.cgi?id=128782
</ins><span class="cx">
</span><del>- * platform/mac/FileSystemMac.mm: (WebCore::setMetaData): Use the correct constructor.
</del><ins>+ Reviewed by Timothy Hatcher, Joseph Pecoraro, and Andreas Kling.
</ins><span class="cx">
</span><del>-2013-05-03 Andrei Bucur <abucur@adobe.com>
</del><ins>+ No new tests yet, as they rely on infrastructure tracked in https://webkit.org/b/129190.
</ins><span class="cx">
</span><del>- Move pixelSnappedLayoutOverflowRect and maxLayoutOverflow from RenderBox
- https://bugs.webkit.org/show_bug.cgi?id=115550
</del><ins>+ Replayable executions are organized into ReplaySessions, which can
+ contain several ReplaySessionSegments that divide overall execution
+ at main frame navigation boundaries. NondeterministicInput subclasses
+ are stored in SegmentedInputStorage according to the input's InputQueue.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Capture and playback are controlled at the page granularity by the Page's
+ ReplayController. The controller knows how to create new segments, replay to
+ arbitrary positions in the ReplaySession, and track the active InputCursor.
</ins><span class="cx">
</span><del>- The patch moves pixelSnappedLayoutOverflowRect and maxLayoutOverflow out
- of RenderBox somewhere logically closer to their usage place.
</del><ins>+ The capturing and replaying input cursor subclasses encapsulate state for
+ storing new inputs and loading/dispatching saved inputs, respectively.
</ins><span class="cx">
</span><del>- pixelSnappedLayoutOverflowRect - moved to RenderView because it's called only
- for RenderView at this moment.
- There are other places when the overflow rect is pixel snapped but only after
- the rect is adjusted for writing modes or inflated.
</del><ins>+ The ReplayAgent and associated inspector protocol domain is the friendly
+ public API for programmatically capturing and replaying sessions.
</ins><span class="cx">
</span><del>- maxLayoutOverflow - moved to RenderTreeAsText.cpp as a static function because
- it's used only there.
</del><ins>+ * DerivedSources.make: Add replay inputs code generation target. Add the
+ replay domain specification to the list of inspector domains.
</ins><span class="cx">
</span><del>- Tests: no new functional change.
</del><ins>+ * ForwardingHeaders/replay/EncodedValue.h: Added.
+ * WebCore.xcodeproj/project.pbxproj: Add many files, and export
+ `WebReplayScripts` environment variable to DerivedSources.make.
</ins><span class="cx">
</span><del>- * rendering/RenderBox.h: The functions declarations are removed.
- * rendering/RenderTreeAsText.cpp:
- (WebCore::maxLayoutOverflow):
- * rendering/RenderView.h:
- (WebCore::RenderView::pixelSnappedLayoutOverflowRect):
</del><ins>+ * inspector/InspectorController.cpp: Add the replay agent.
+ (WebCore::InspectorController::InspectorController):
</ins><span class="cx">
</span><del>-2013-05-03 Andreas Kling <akling@apple.com>
</del><ins>+ * inspector/InspectorInstrumentation.cpp:
+ Add events for segment lifecycle events, and loading/unloading of sessions
+ and segments, and capture/replay progress events. The replay controller
+ also needs to know about detached and committed frames.
</ins><span class="cx">
</span><del>- StyleResolver: Have "list of matched rules" API vend internal types instead of CSSOM wrappers.
- <http://webkit.org/b/115563>
</del><ins>+ (WebCore::InspectorInstrumentation::frameDetachedFromParentImpl):
+ (WebCore::InspectorInstrumentation::didCommitLoadImpl):
+ (WebCore::InspectorInstrumentation::sessionCreatedImpl):
+ (WebCore::InspectorInstrumentation::sessionLoadedImpl):
+ (WebCore::InspectorInstrumentation::sessionModifiedImpl):
+ (WebCore::InspectorInstrumentation::segmentCreatedImpl):
+ (WebCore::InspectorInstrumentation::segmentCompletedImpl):
+ (WebCore::InspectorInstrumentation::segmentLoadedImpl):
+ (WebCore::InspectorInstrumentation::segmentUnloadedImpl):
+ (WebCore::InspectorInstrumentation::captureStartedImpl):
+ (WebCore::InspectorInstrumentation::captureStoppedImpl):
+ (WebCore::InspectorInstrumentation::playbackStartedImpl):
+ (WebCore::InspectorInstrumentation::playbackPausedImpl):
+ (WebCore::InspectorInstrumentation::playbackHitPositionImpl):
+ (WebCore::InspectorInstrumentation::replayAgentEnabled):
+ * inspector/InspectorInstrumentation.h:
+ (WebCore::InspectorInstrumentation::replayAgentEnabled):
+ (WebCore::InspectorInstrumentation::sessionCreated):
+ (WebCore::InspectorInstrumentation::sessionLoaded):
+ (WebCore::InspectorInstrumentation::sessionModified):
+ (WebCore::InspectorInstrumentation::segmentCreated):
+ (WebCore::InspectorInstrumentation::segmentCompleted):
+ (WebCore::InspectorInstrumentation::segmentLoaded):
+ (WebCore::InspectorInstrumentation::segmentUnloaded):
+ (WebCore::InspectorInstrumentation::captureStarted):
+ (WebCore::InspectorInstrumentation::captureStopped):
+ (WebCore::InspectorInstrumentation::playbackStarted):
+ (WebCore::InspectorInstrumentation::playbackPaused):
+ (WebCore::InspectorInstrumentation::playbackHitPosition):
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * inspector/InspectorReplayAgent.cpp: Added.
+ (WebCore::buildInspectorObjectForPosition):
+ (WebCore::buildInspectorObjectForInput):
+ (WebCore::buildInspectorObjectForSession):
+ (WebCore::SerializeInputToJSONFunctor::SerializeInputToJSONFunctor):
+ (WebCore::SerializeInputToJSONFunctor::~SerializeInputToJSONFunctor):
+ (WebCore::SerializeInputToJSONFunctor::operator()):
+ (WebCore::SerializeInputToJSONFunctor::returnValue):
+ (WebCore::buildInspectorObjectForSegment):
+ (WebCore::InspectorReplayAgent::InspectorReplayAgent):
+ (WebCore::InspectorReplayAgent::~InspectorReplayAgent):
+ (WebCore::InspectorReplayAgent::sessionState):
+ (WebCore::InspectorReplayAgent::didCreateFrontendAndBackend):
+ (WebCore::InspectorReplayAgent::willDestroyFrontendAndBackend):
+ (WebCore::InspectorReplayAgent::frameNavigated):
+ (WebCore::InspectorReplayAgent::frameDetached):
+ (WebCore::InspectorReplayAgent::sessionCreated):
+ (WebCore::InspectorReplayAgent::sessionModified):
+ (WebCore::InspectorReplayAgent::sessionLoaded):
+ (WebCore::InspectorReplayAgent::segmentCreated):
+ (WebCore::InspectorReplayAgent::segmentCompleted):
+ (WebCore::InspectorReplayAgent::segmentLoaded):
+ (WebCore::InspectorReplayAgent::segmentUnloaded):
+ (WebCore::InspectorReplayAgent::captureStarted):
+ (WebCore::InspectorReplayAgent::captureStopped):
+ (WebCore::InspectorReplayAgent::playbackStarted):
+ (WebCore::InspectorReplayAgent::playbackPaused):
+ (WebCore::InspectorReplayAgent::playbackHitPosition):
+ (WebCore::InspectorReplayAgent::startCapturing):
+ (WebCore::InspectorReplayAgent::stopCapturing):
+ (WebCore::InspectorReplayAgent::replayToPosition):
+ (WebCore::InspectorReplayAgent::replayToCompletion):
+ (WebCore::InspectorReplayAgent::pausePlayback):
+ (WebCore::InspectorReplayAgent::cancelPlayback):
+ (WebCore::InspectorReplayAgent::switchSession):
+ (WebCore::InspectorReplayAgent::insertSessionSegment):
+ (WebCore::InspectorReplayAgent::removeSessionSegment):
+ Provide a public API for modifying sessions. This is the backend support
+ for user editing of replay sessions to add/remove specific segments.
</ins><span class="cx">
</span><del>- Change styleRulesForElement() and pseudoStyleRulesForElement() to return Vectors of StyleRuleBase
- instead of CSSRuleLists. This defers instantiating CSSOM wrappers until they're actually needed
- for exposure to web API.
</del><ins>+ (WebCore::InspectorReplayAgent::findSession):
+ (WebCore::InspectorReplayAgent::findSegment):
+ (WebCore::InspectorReplayAgent::getAvailableSessions):
+ (WebCore::InspectorReplayAgent::getSerializedSession):
+ (WebCore::InspectorReplayAgent::getSerializedSegment):
+ Most of the replay protocol domain speaks in terms of sesssion and
+ segment identifiers. These functions return the actual data associated
+ with these identifiers.
</ins><span class="cx">
</span><del>- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::getMatchedCSSRules):
</del><ins>+ * inspector/InspectorReplayAgent.h: Added.
+ * inspector/InstrumentingAgents.cpp:
+ (WebCore::InstrumentingAgents::InstrumentingAgents):
+ (WebCore::InstrumentingAgents::reset):
+ * inspector/InstrumentingAgents.h:
+ (WebCore::InstrumentingAgents::inspectorReplayAgent): Added.
+ (WebCore::InstrumentingAgents::setInspectorReplayAgent): Added.
+ * inspector/protocol/Replay.json: Added.
</ins><span class="cx">
</span><del>- Create a StaticCSSRuleList and populate it with CSSOM wrappers for the matched rules.
- This is the one place where we expose this functionality to the web.
</del><ins>+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ * page/Page.h:
+ (WebCore::Page::replayController): Added.
+ * platform/Logging.h: Add WebReplay logging channel.
+ * replay/AllReplayInputs.h: Added. Simplifies importing all input definitions.
</ins><span class="cx">
</span><del>- * css/ElementRuleCollector.h:
- * css/ElementRuleCollector.cpp:
- (WebCore::ElementRuleCollector::matchedRuleList):
- (WebCore::ElementRuleCollector::sortAndTransferMatchedRules):
</del><ins>+ * replay/CapturingInputCursor.cpp: Added.
+ (WebCore::CapturingInputCursor::CapturingInputCursor):
+ (WebCore::CapturingInputCursor::~CapturingInputCursor):
+ (WebCore::CapturingInputCursor::create):
+ (WebCore::CapturingInputCursor::storeInput):
+ (WebCore::CapturingInputCursor::loadInput):
+ (WebCore::CapturingInputCursor::uncheckedLoadInput):
+ * replay/CapturingInputCursor.h: Added.
</ins><span class="cx">
</span><del>- Collect internal StyleRuleBase pointers here instead of creating wrappers.
</del><ins>+ * replay/EventLoopInput.h:
+ (WebCore::EventLoopInputBase::EventLoopInputBase):
+ (WebCore::EventLoopInputBase::timestamp):
+ (WebCore::EventLoopInputBase::setTimestamp): Support deserialization.
</ins><span class="cx">
</span><del>- * css/StyleResolver.h:
- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::styleRulesForElement):
- (WebCore::StyleResolver::pseudoStyleRulesForElement):
</del><ins>+ * replay/EventLoopInputDispatcher.cpp: Added. This class encapsulates the timers
+ and measurements used to dispatch event loop inputs during replay.
</ins><span class="cx">
</span><del>- Vend said pointers.
</del><ins>+ (WebCore::EventLoopInputDispatcher::EventLoopInputDispatcher):
+ (WebCore::EventLoopInputDispatcher::run):
+ (WebCore::EventLoopInputDispatcher::pause):
+ (WebCore::EventLoopInputDispatcher::timerFired):
+ (WebCore::EventLoopInputDispatcher::dispatchInputSoon):
+ (WebCore::EventLoopInputDispatcher::dispatchInput):
+ * replay/EventLoopInputDispatcher.h: Added.
+ (WebCore::EventLoopInputDispatcherClient::EventLoopInputDispatcherClient):
+ (WebCore::EventLoopInputDispatcherClient::~EventLoopInputDispatcherClient):
</ins><span class="cx">
</span><del>- * editing/EditingStyle.cpp:
- (WebCore::styleFromMatchedRulesForElement):
</del><ins>+ * replay/FunctorInputCursor.h: Added.
+ (WebCore::FunctorInputCursor::~FunctorInputCursor):
+ (WebCore::FunctorInputCursor::forEachInputInQueue):
+ (WebCore::FunctorInputCursor::FunctorInputCursor):
+ (WebCore::FunctorInputCursor::storeInput):
+ (WebCore::FunctorInputCursor::loadInput):
+ (WebCore::FunctorInputCursor::uncheckedLoadInput):
</ins><span class="cx">
</span><del>- Dodge CSSOM wrapper instantiation (Woop woop!)
</del><ins>+ * replay/ReplayController.cpp: Added.
+ (WebCore::ReplayController::ReplayController):
+ (WebCore::ReplayController::switchSession):
+ (WebCore::ReplayController::createSegment):
+ (WebCore::ReplayController::completeSegment):
+ (WebCore::ReplayController::loadSegment):
+ (WebCore::ReplayController::unloadSegment):
+ (WebCore::ReplayController::startCapturing):
+ (WebCore::ReplayController::stopCapturing):
+ (WebCore::ReplayController::startPlayback):
+ (WebCore::ReplayController::pausePlayback):
+ (WebCore::ReplayController::cancelPlayback):
+ (WebCore::ReplayController::replayToPosition):
+ (WebCore::ReplayController::frameDetached):
+ (WebCore::ReplayController::frameNavigated):
+ (WebCore::ReplayController::loadedSession):
+ (WebCore::ReplayController::loadedSegment):
+ (WebCore::ReplayController::activeInputCursor):
+ (WebCore::ReplayController::dispatcher):
+ (WebCore::ReplayController::willDispatchInput):
+ (WebCore::ReplayController::didDispatchInput):
+ (WebCore::ReplayController::didDispatchFinalInput):
+ * replay/ReplayController.h: Added.
+ (WebCore::ReplayPosition::ReplayPosition):
+ (WebCore::ReplayPosition::operator<):
+ (WebCore::ReplayPosition::operator==):
</ins><span class="cx">
</span><del>- * inspector/InspectorCSSAgent.h:
- * inspector/InspectorCSSAgent.cpp:
- (WebCore::InspectorCSSAgent::buildObjectForRule):
</del><ins>+ * replay/ReplayInputCreationMethods.cpp: Added.
+ Static factory implementations for inputs belong here.
+ (WebCore::InitialNavigation::createFromPage):
</ins><span class="cx">
</span><del>- Split buildObjectForRule() into two versions, one for CSSStyleRule and one for StyleRule.
- The CSSStyleRule one doesn't need a special path for parent-less rules, since those always
- come in through the StyleRule interface instead. This factoring can be improved further
- after this change.
</del><ins>+ * replay/ReplayInputDispatchMethods.cpp: Added.
+ All dispatch() implementations for generated replay inputs belong here.
+ (WebCore::BeginSegmentSentinel::dispatch):
+ (WebCore::EndSegmentSentinel::dispatch):
+ (WebCore::InitialNavigation::dispatch):
</ins><span class="cx">
</span><del>- (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
- (WebCore::InspectorCSSAgent::buildArrayForRuleList):
- (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
</del><ins>+ * replay/ReplayInputTypes.cpp:
+ (WebCore::ReplayInputTypes::ReplayInputTypes):
+ * replay/ReplayInputTypes.h: Define strings for WebCore inputs.
</ins><span class="cx">
</span><del>- Tweaked for changes in StyleResolver API.
</del><ins>+ * replay/ReplaySession.cpp: Added.
+ (WebCore::ReplaySession::create):
+ (WebCore::ReplaySession::ReplaySession):
+ (WebCore::ReplaySession::~ReplaySession):
+ (WebCore::ReplaySession::appendSegment):
+ (WebCore::ReplaySession::insertSegment):
+ (WebCore::ReplaySession::removeSegment):
+ * replay/ReplaySession.h: Added.
+ (WebCore::ReplaySession::identifier):
+ (WebCore::ReplaySession::timestamp):
+ (WebCore::ReplaySession::size):
+ (WebCore::ReplaySession::at):
+ (WebCore::ReplaySession::begin):
+ (WebCore::ReplaySession::end):
</ins><span class="cx">
</span><del>-2013-05-03 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ * replay/ReplaySessionSegment.cpp: Added.
+ (WebCore::ReplaySessionSegment::create):
+ (WebCore::ReplaySessionSegment::ReplaySessionSegment):
+ (WebCore::ReplaySessionSegment::~ReplaySessionSegment):
+ (WebCore::ReplaySessionSegment::createCapturingCursor):
+ (WebCore::ReplaySessionSegment::createReplayingCursor):
+ (WebCore::ReplaySessionSegment::createFunctorCursor):
+ * replay/ReplaySessionSegment.h: Added.
+ (WebCore::ReplaySessionSegment::identifier):
+ (WebCore::ReplaySessionSegment::timestamp):
</ins><span class="cx">
</span><del>- REGRESSION (r145042): Downloading a file sometimes results in could not create
- a sandbox extension Console message and file stays as a .download file
- https://bugs.webkit.org/show_bug.cgi?id=115559
- <rdar://problem/13785101>
</del><ins>+ * replay/ReplayingInputCursor.cpp: Added.
+ (WebCore::ReplayingInputCursor::ReplayingInputCursor):
+ (WebCore::ReplayingInputCursor::~ReplayingInputCursor):
+ (WebCore::ReplayingInputCursor::create):
+ (WebCore::ReplayingInputCursor::storeInput):
+ (WebCore::ReplayingInputCursor::loadInput):
+ (WebCore::ReplayingInputCursor::uncheckedLoadInput):
+ * replay/ReplayingInputCursor.h: Added.
</ins><span class="cx">
</span><ins>+ * replay/SegmentedInputStorage.cpp: Added.
+ (WebCore::queueTypeToLogPrefix):
+ (WebCore::jsonStringForInput):
+ (WebCore::offsetForInputQueue):
+ (WebCore::SegmentedInputStorage::SegmentedInputStorage):
+ (WebCore::SegmentedInputStorage::~SegmentedInputStorage):
+ (WebCore::SegmentedInputStorage::load):
+ (WebCore::SegmentedInputStorage::store):
+ (WebCore::SegmentedInputStorage::queueSize):
+ * replay/SegmentedInputStorage.h: Added.
+
+ * replay/SerializationMethods.cpp: Added.
+ Specializations of EncodingTraits for WebCore types belong here.
+
+ (JSC::EncodingTraits<NondeterministicInputBase>::encodeValue):
+ (JSC::EncodingTraits<NondeterministicInputBase>::decodeValue):
+ (JSC::EncodingTraits<SecurityOrigin>::encodeValue):
+ (JSC::EncodingTraits<SecurityOrigin>::decodeValue):
+ (JSC::EncodingTraits<URL>::encodeValue):
+ (JSC::EncodingTraits<URL>::decodeValue):
+ * replay/SerializationMethods.h: Added.
+ * replay/WebInputs.json: Added.
+ In this inital patch, we define BeginSegmentSentinel,
+ EndSegmentSentinel, and InitialNavigation inputs.
+
+2014-03-03 Antoine Quint <graouts@webkit.org>
+
+ Respect SVG fragment identifiers in <img> src attribute
+ https://bugs.webkit.org/show_bug.cgi?id=129387
+
+ Reviewed by Dirk Schulze.
+
+ Following Dirk Schulze's suggestion, we set the URL on the SVGImage itself and handle the URL's
+ fragment identifier at draw time in the SVGImage itself, which will provide a sounder base for
+ handling of fragment identifier in SVG resource URLs in CSS properties, and should also deal
+ with the crasher reported in http://webkit.org/b/129498 since there is a guaranteed Frame at the
+ time we call SVGImage::draw().
+
+ * svg/graphics/SVGImage.cpp:
+ (WebCore::SVGImage::draw):
+ * svg/graphics/SVGImage.h:
+ * svg/graphics/SVGImageForContainer.cpp:
+ * svg/graphics/SVGImageForContainer.h:
+
+2014-03-03 Laszlo Vidacs <lvidacs.u-szeged@partner.samsung.com>
+
+ Move function calls outside loop in dom
+ https://bugs.webkit.org/show_bug.cgi?id=126525
+
+ Reviewed by Csaba Osztrogonác.
+
+ Store the result of length() in a local variable and use it in each iteration.
+
+ * dom/DOMImplementation.cpp:
+ (WebCore::DOMImplementation::isXMLMIMEType):
+ * dom/ElementData.cpp:
+ (WebCore::UniqueElementData::UniqueElementData):
+ * dom/EventContext.cpp:
+ (WebCore::TouchEventContext::checkReachability):
+
+2014-03-03 Tomas Popela <tpopela@redhat.com>
+
+ [GTK] webkit_dom_range_compare_boundary_points fails when 0 is passed as how parameter
+ https://bugs.webkit.org/show_bug.cgi?id=129145
+
+ Reviewed by Carlos Garcia Campos.
+
+ While generating GObject DOM API the generator should skip non pointer
+ types while generating the g_return_val_if_fail macro.
+ This will avoid the situation when Range.START_TO_START is defined as 0,
+ thus the webkit_dom_range_compare_boundary_points function will fail
+ everytime it is called with 0 as how value.
+
+ * bindings/scripts/CodeGeneratorGObject.pm:
+ (GenerateFunction):
+
+2014-03-03 Jozsef Berta <jberta.u-szeged@partner.samsung.com>
+
+ [cmake] *Names.cpp file should be regenerated after touching StaticString.pm
+ https://bugs.webkit.org/show_bug.cgi?id=129031
+
+ Reviewed by Csaba Osztrogonác.
+
+ * CMakeLists.txt: Added make_names.pl dependencies: bindings/scripts/Hasher.pm and bindings/scripts/StaticString.pm
+
+2014-03-03 Xabier Rodriguez Calvar <calvaris@igalia.com>
+
+ [GTK] Multimedia controls captions icon needs its own metaphor
+ https://bugs.webkit.org/show_bug.cgi?id=129091
+
+ Reviewed by Martin Robinson.
+
+ As we got the new icon created, we used it with a fallback to the
+ old icon to keep run-time compatibility.
+
+ No new tests, current ones suffice.
+
+ * platform/gtk/RenderThemeGtk.cpp:
+ (WebCore::RenderThemeGtk::paintMediaToggleClosedCaptionsButton):
+ Replicated RenderThemeGtk::paintMediaButton to check for the
+ necessary icon first and do the fallback to the old and stock
+ icons.
+ * platform/gtk/RenderThemeGtk2.cpp:
+ (WebCore::getStockIconForWidgetType): Added ASSERT for non-empty
+ icon name.
+ (WebCore::getStockSymbolicIconForWidgetType): Check for non empty
+ icon name before calling getStockIconForWidgetType. Fixed coding
+ style.
+ * platform/gtk/RenderThemeGtk3.cpp:
+ (WebCore::getStockIconForWidgetType): Added ASSERT for non-empty
+ icon name.
+ (WebCore::getStockSymbolicIconForWidgetType): Check for non empty
+ icon name before calling getStockIconForWidgetType. Fixed coding
+ style.
+
+2014-03-02 Benjamin Poulain <benjamin@webkit.org>
+
+ Add a fallback path for compiling the remaining attribute checkers
+ https://bugs.webkit.org/show_bug.cgi?id=129580
+
+ Reviewed by Darin Adler.
+
+ The remaining attribute checkers appear to be less common than the simple value match.
+ This patch adds them to SelectorCompiler for completeness but no attempt is made at optimizing them,
+ they all default to function calls.
+
+ If the assumption that those selectors are not common turn out to be incorrect, we should see
+ the function calls in profiles and optimize them as needed.
+
+ * css/SelectorChecker.cpp:
+ (WebCore::attributeValueMatches):
+ If we get anything but attribute match here, something has gone horribly wrong. Update the code
+ to fail if that were to happen.
+
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::SelectorCodeGenerator):
+ Add the missing match type to the selector fragment.
+
+ Begin, End, Contain cannot match an empty value per specification. We can test that at compile time
+ and fail immediately. See http://www.w3.org/TR/css3-selectors/#attribute-substrings
+
+ List has the extra requirement that a value containing a space does not match anything. It also cannot
+ match with an empty string. See http://www.w3.org/TR/css3-selectors/#attribute-representation
+
+ (WebCore::SelectorCompiler::attributeValueBeginsWith):
+ (WebCore::SelectorCompiler::attributeValueContains):
+ (WebCore::SelectorCompiler::attributeValueEndsWith):
+ (WebCore::SelectorCompiler::attributeValueMatchHyphenRule):
+ (WebCore::SelectorCompiler::attributeValueSpaceSeparetedListContains):
+ The slow fallbacks.
+
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementAttributeValueMatching):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementAttributeFunctionCallValueMatching):
+ A generic code generator making function call to match an attribute value.
+
+2014-02-25 Andreas Kling <akling@apple.com>
+
+ JSDOMWindow::commonVM() should return a reference.
+ <https://webkit.org/b/129293>
+
+ Since this function always returns a VM and never null, make it
+ return a reference instead. There are more VM getters that never
+ return null, but I tried to keep the patch from snowballing.
+
+ Reviewed by Geoff Garen.
+
+2014-03-02 Timothy Hatcher <timothy@apple.com>
+
+ Remove ASSERT in ~IDBRequest since it is firing during legitimate uses in Web Inspector.
+
+ Adding the ASSERT back is tracked by https://webkit.org/b/129593.
+
+ https://bugs.webkit.org/show_bug.cgi?id=129328
+
</ins><span class="cx"> Reviewed by Sam Weinig.
</span><span class="cx">
</span><del>- CString is evil, it has two lengths which can be different - specifically, fileSystemRepresentation()
- creates a string with maximum possible buffer size. This was confusing resolveSymlinksInPath().
</del><ins>+ * Modules/indexeddb/IDBRequest.cpp:
+ (WebCore::IDBRequest::~IDBRequest):
</ins><span class="cx">
</span><del>- * platform/cf/FileSystemCF.cpp: (WebCore::fileSystemRepresentation):
- Change fileSystemRepresentation to be less surprising. Really, we should rip apart
- CString and update callers to use better defined semantics, but this is the one function
- that repeatedly causes problems in practice.
</del><ins>+2014-03-02 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-03 Andreas Kling <akling@apple.com>
</del><ins>+ Unreviewed, rolling out r164961.
+ http://trac.webkit.org/changeset/164961
+ https://bugs.webkit.org/show_bug.cgi?id=129596
</ins><span class="cx">
</span><del>- CSSRule style declarations getters shouldn't be const.
- <http://webkit.org/b/115572>
</del><ins>+ Caused many assertion failures (Requested by ap on #webkit).
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * css/SelectorChecker.cpp:
+ (WebCore::attributeValueMatches):
+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::SelectorCodeGenerator):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementAttributeValueMatching):
</ins><span class="cx">
</span><del>- Accessing the CSSStyleDeclaration for a CSSRule is a potentially mutating operation,
- and should not be const.
</del><ins>+2014-03-02 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- * css/CSSFontFaceRule.cpp:
- (WebCore::CSSFontFaceRule::style):
- * css/CSSFontFaceRule.h:
- * css/CSSPageRule.cpp:
- (WebCore::CSSPageRule::style):
- * css/CSSPageRule.h:
- * css/CSSStyleRule.cpp:
- (WebCore::CSSStyleRule::style):
- * css/CSSStyleRule.h:
- (CSSStyleRule):
- * css/WebKitCSSFilterRule.cpp:
- (WebCore::WebKitCSSFilterRule::style):
- * css/WebKitCSSFilterRule.h:
- * css/WebKitCSSKeyframeRule.cpp:
- (WebCore::WebKitCSSKeyframeRule::style):
- * css/WebKitCSSKeyframeRule.h:
- (WebKitCSSKeyframeRule):
- * css/WebKitCSSViewportRule.cpp:
- (WebCore::WebKitCSSViewportRule::style):
- * css/WebKitCSSViewportRule.h:
</del><ins>+ Streamline use of TextIterator, cutting down includes and use of soon-to-be-deleted functions
+ https://bugs.webkit.org/show_bug.cgi?id=129592
</ins><span class="cx">
</span><del>-2013-05-03 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Use NotNull tag for placement new in WebCore.
- <http://webkit.org/b/115569>
</del><ins>+ * WebCore.exp.in: Re-sorted this file. Not sure how it got unsorted.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::stringForVisiblePositionRange): Call TextIterator::text
+ instead of TextIterator::length. Also removed unneeded special case for empty string
+ and exception code.
+ (WebCore::AccessibilityObject::lengthForVisiblePositionRange): Ditto.
</ins><span class="cx">
</span><del>- Avoid emitting null checks where we use placement new to construct objects into safe locations.
</del><ins>+ * accessibility/AccessibilityObject.h: Include TextIteratorBehavior.h instead of
+ TextIterator.h.
</ins><span class="cx">
</span><del>- * css/StylePropertySet.cpp:
- (WebCore::ImmutableStylePropertySet::create):
- * dom/Element.cpp:
- (WebCore::ShareableElementData::createWithAttributes):
- (WebCore::ShareableElementData::ShareableElementData):
- (WebCore::UniqueElementData::makeShareableCopy):
- * dom/QualifiedName.cpp:
- (WebCore::QualifiedName::init):
- (WebCore::createQualifiedName):
- * dom/make_names.pl:
- (printNamesCppFile):
- * platform/ThreadGlobalData.h:
- (WebCore::threadGlobalData):
- * platform/graphics/GlyphPage.h:
- (WebCore::GlyphPage::createForMixedFontData):
</del><ins>+ * accessibility/AccessibilityRenderObject.cpp: Include TextIterator.h.
</ins><span class="cx">
</span><del>-2013-01-11 Andreas Kling <akling@apple.com>
</del><ins>+ * accessibility/mac/WebAccessibilityObjectWrapperBase.mm: Removed unneeded
+ TextIterator.h include.
</ins><span class="cx">
</span><del>- Simplify CSSSelectorList creation/adoption.
- <http://webkit.org/b/106649>
</del><ins>+ * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+ (-[WebAccessibilityObjectWrapper doAXAttributedStringForTextMarkerRange:]): Call
+ TextIterator::text instead of TextIterator::length.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ * dom/Element.cpp: Include TextIterator.h.
</ins><span class="cx">
</span><del>- Remove the optimization that special-cased construction of CSSSelectorLists with a single entry.
- This is in preparation for changing the way we store the selector lists on style rules.
</del><ins>+ * dom/Node.cpp: Include Range.h.
</ins><span class="cx">
</span><del>- * css/CSSParser.h:
- * css/CSSSelector.h:
</del><ins>+ * dom/Position.cpp:
+ (WebCore::Position::isCandidate): Cast to RenderBlockFlow since that's what the
+ type check above does. Use a return statement instead of an else for better flow.
+ (WebCore::Position::leadingWhitespacePosition): Call
+ deprecatedIsCollapsibleWhitespace by its new name (newly deprecated).
+ (WebCore::Position::trailingWhitespacePosition): Ditto.
</ins><span class="cx">
</span><del>- Remove move(PassOwnPtr<CSSSelector> from, CSSSelector* to), inlining it into
- CSSSelectorList::adoptSelectorVector instead.
</del><ins>+ * dom/Range.cpp:
+ (WebCore::Range::firstNode): Added a FIXME about code that clearly does not
+ belong. This is something we really need to fix.
</ins><span class="cx">
</span><del>- * css/CSSSelectorList.cpp:
- (WebCore::CSSSelectorList::CSSSelectorList):
- (WebCore::CSSSelectorList::deleteSelectors):
</del><ins>+ * editing/AlternativeTextController.cpp: Include TextIterator.h.
+ * editing/ApplyStyleCommand.cpp: Ditto.
</ins><span class="cx">
</span><del>- Handle all selector list lengths the same way.
</del><ins>+ * editing/CompositeEditCommand.cpp:
+ (WebCore::CompositeEditCommand::prepareWhitespaceAtPositionForSplit): Call
+ deprecatedIsCollapsibleWhitespace by its new name (newly deprecated).
</ins><span class="cx">
</span><del>- (WebCore::CSSSelectorList::adoptSelectorVector):
</del><ins>+ * editing/Editor.h: Include TextIteratorBehavior.h instead of TextIterator.h.
</ins><span class="cx">
</span><del>- Merge move() from CSSSelector.h into this code since it was the only call site.
- Also some minor readability cleanups.
</del><ins>+ * editing/HTMLInterchange.cpp:
+ (WebCore::convertHTMLTextToInterchangeFormat): Call
+ deprecatedIsCollapsibleWhitespace by its new name (newly deprecated).
</ins><span class="cx">
</span><del>-2013-05-03 Antti Koivisto <antti@apple.com>
</del><ins>+ * editing/SpellingCorrectionCommand.cpp: Include TextIterator.h.
</ins><span class="cx">
</span><del>- Remove HTMLShadowElement
- https://bugs.webkit.org/show_bug.cgi?id=115555
</del><ins>+ * editing/TextIterator.h: Moved isCollapsibleWhitespace from here into
+ htmlediting.h and renamed it deprecatedIsCollapsibleWhitespace.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * editing/TextIterator.cpp: Call
+ deprecatedIsCollapsibleWhitespace by its new name (newly deprecated).
</ins><span class="cx">
</span><del>- This is not used internally.
</del><ins>+ * editing/TypingCommand.cpp: Include TextIterator.h.
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * DerivedSources.cpp:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
- * WebCore.xcodeproj/project.pbxproj:
- * dom/ComposedShadowTreeWalker.cpp:
- * dom/NodeRenderingContext.cpp:
- * html/HTMLElementsAllInOne.cpp:
- * html/HTMLTagNames.in:
- * html/InputType.cpp:
- (WebCore::InputType::destroyShadowSubtree):
- * html/shadow/ContentDistributor.cpp:
- (WebCore::ContentDistributor::distribute):
- * html/shadow/HTMLShadowElement.cpp: Removed.
- * html/shadow/HTMLShadowElement.h: Removed.
- * html/shadow/HTMLShadowElement.idl: Removed.
- * page/DOMWindow.idl:
</del><ins>+ * editing/VisibleUnits.cpp:
+ (WebCore::previousBoundary): Call TextIterator::text instead of
+ TextIterator::length.
+ (WebCore::nextBoundary): Ditto.
</ins><span class="cx">
</span><del>-2013-05-03 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
</del><ins>+ * editing/htmlediting.cpp: Include TextIterator.h.
</ins><span class="cx">
</span><del>- Remove WTF::ListRefPtr class
- https://bugs.webkit.org/show_bug.cgi?id=115516
</del><ins>+ * editing/htmlediting.h: Removed non-helpful section comments.
+ Added FIXME about isWhitespace. Added deprecatedIsCollapsibleWhitespace,
+ formerly not deprecated and in TextIterator.h.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * editing/markup.cpp: Include TextIterator.h.
</ins><span class="cx">
</span><del>- ListRefPtr was used only by FontFamily class, besides it strongly depended
- on FontFamily class semantics which made it non-generic and inappropriate
- for being present inside WTF.
</del><ins>+ * html/HTMLTextAreaElement.cpp: Include TextIterator.h.
</ins><span class="cx">
</span><del>- This patch removes WTF::ListRefPtr class and moves its the functionality
- into FontFamily class.
</del><ins>+ * page/ContextMenuController.cpp:
+ (WebCore::selectionContainsPossibleWord): Call TextIterator::text
+ instead of TextIterator::length and TextIterator::characterAt.
</ins><span class="cx">
</span><del>- No new tests, no change in the behavior.
</del><ins>+ * page/EventHandler.cpp: Sorted conditional includes alphabetically by condition.
</ins><span class="cx">
</span><del>- * page/FrameTree.h:
- (FrameTree):
- * platform/graphics/FontFamily.h:
- (FontFamily):
- (WebCore::FontFamily::~FontFamily):
- (WebCore):
</del><ins>+ * platform/mac/HTMLConverter.mm:
+ (+[WebHTMLConverter editingAttributedStringFromRange:]): Call TextIterator::text
+ instead of TextIterator::length.
</ins><span class="cx">
</span><del>-2013-05-03 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+2014-03-02 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Crash when calling QWebFrame::evaluateJavaScript
- https://bugs.webkit.org/show_bug.cgi?id=113434
</del><ins>+ Add a fallback path for compiling the remaining attribute checkers
+ https://bugs.webkit.org/show_bug.cgi?id=129580
</ins><span class="cx">
</span><del>- Reviewed by Simon Hausmann.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- We must take the JS API lock before accessing internal JS methods.
</del><ins>+ The remaining attribute checkers appear to be less common than the simple value match.
+ This patch adds them to SelectorCompiler for completeness but no attempt is made at optimizing them,
+ they all default to function calls.
</ins><span class="cx">
</span><del>- * bridge/qt/qt_runtime.cpp:
- (JSC::Bindings::unwrapBoxedPrimitive):
- (JSC::Bindings::getGregorianDateTimeUTC):
- (JSC::Bindings::convertQVariantToValue):
</del><ins>+ If the assumption that those selectors are not common turn out to be incorrect, we should see
+ the function calls in profiles and optimize them as needed.
</ins><span class="cx">
</span><del>-2013-05-02 Xan Lopez <xlopez@igalia.com>
</del><ins>+ * css/SelectorChecker.cpp:
+ (WebCore::attributeValueMatches):
+ If we get anything but attribute match here, something has gone horribly wrong. Update the code
+ to fail if that were to happen.
</ins><span class="cx">
</span><del>- [GTK] Fine tune dependencies for glslang generated files
- https://bugs.webkit.org/show_bug.cgi?id=115537
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::SelectorCodeGenerator):
+ Add the missing match type to the selector fragment.
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ Begin, End, Contain cannot match an empty value per specification. We can test that at compile time
+ and fail immediately. See http://www.w3.org/TR/css3-selectors/#attribute-substrings
</ins><span class="cx">
</span><del>- Make glslang.* explictly depend on glslang_tab.*, since the
- dependency does exist. Otherwise Make might decide to compile
- things ahead of time and fail.
</del><ins>+ List has the extra requirement that a value containing a space does not match anything. It also cannot
+ match with an empty string. See http://www.w3.org/TR/css3-selectors/#attribute-representation
</ins><span class="cx">
</span><del>- * GNUmakefile.am:
</del><ins>+ (WebCore::SelectorCompiler::attributeValueBeginsWith):
+ (WebCore::SelectorCompiler::attributeValueContains):
+ (WebCore::SelectorCompiler::attributeValueEndsWith):
+ (WebCore::SelectorCompiler::attributeValueMatchHyphenRule):
+ (WebCore::SelectorCompiler::attributeValueSpaceSeparetedListContains):
+ The slow fallbacks.
</ins><span class="cx">
</span><del>-2013-05-02 KyungTae Kim <ktf.kim@samsung.com>
</del><ins>+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementAttributeValueMatching):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementAttributeFunctionCallValueMatching):
+ A generic code generator making function call to match an attribute value.
</ins><span class="cx">
</span><del>- Fix build warnings on ResourceHandleClient.h
- https://bugs.webkit.org/show_bug.cgi?id=115540
</del><ins>+2014-03-02 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Fix build for case-sensitive file systems.
</ins><span class="cx">
</span><del>- Comment out the parameter names for 'getOrCreateReadBuffer' to fix -Wunused-parameter build warnings.
</del><ins>+ * platform/UserActivity.h: Runloop -> RunLoop.
</ins><span class="cx">
</span><del>- * platform/network/ResourceHandleClient.h:
- (WebCore::ResourceHandleClient::getOrCreateReadBuffer):
</del><ins>+2014-03-02 Gavin Barraclough <barraclough@apple.com>
</ins><span class="cx">
</span><del>-2013-05-02 Roger Fong <roger_fong@apple.com>
</del><ins>+ HysteresisTimer should use WebCore::Timer
+ https://bugs.webkit.org/show_bug.cgi?id=129587
</ins><span class="cx">
</span><del>- Following r149463, set Path for WebCore makefile as well.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/WebCore.make:
</del><ins>+ * platform/HysteresisActivity.h:
+ (WebCore::HysteresisActivity::HysteresisActivity):
+ (WebCore::HysteresisActivity::hysteresisTimerFired):
+ - RunLoop::Timer -> WebCore::Timer.
+ * platform/UserActivity.h:
</ins><span class="cx">
</span><del>-2013-05-02 Eric Carlson <eric.carlson@apple.com>
</del><ins>+2014-03-02 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- Unreviewed fix for Mac Lion build after r149503.
</del><ins>+ Split TextIteratorBehavior into a separate header
+ https://bugs.webkit.org/show_bug.cgi?id=129578
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h:
- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm:
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>-2013-05-02 David Kilzer <ddkilzer@apple.com>
</del><ins>+ This is in preparation to greatly cut down on includes of TextIterator.h.
</ins><span class="cx">
</span><del>- BUILD FIX: Move Mac-only symbols into the shared symbol list
</del><ins>+ * GNUmakefile.list.am: Added new header.
+ * WebCore.vcxproj/WebCore.vcxproj: Ditto.
+ * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
+ * WebCore.xcodeproj/project.pbxproj: Ditto.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Move symbols.
</del><ins>+ * editing/FindOptions.h: Changed typedef to unsigned char;
+ there is no reason to store these in a 32-bit integer.
</ins><span class="cx">
</span><del>-2013-05-02 Antti Koivisto <antti@apple.com>
</del><ins>+ * editing/TextIterator.h: Added include of TextIteratorBehavior.h
+ and moved comments about the meanings of flag bits to their definition.
</ins><span class="cx">
</span><del>- Shadow DOM removal: Get rid of ContentSelectorQuery
- https://bugs.webkit.org/show_bug.cgi?id=115533
</del><ins>+ * editing/TextIteratorBehavior.h: Added.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * WebCore.exp.in: Updated for type changes.
</ins><span class="cx">
</span><del>- This is only used for Shadow DOM distribution. <details> element works fine without it.
</del><ins>+2014-03-02 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
</del><ins>+ [iOS WebKit2] Form controls handling
+ https://bugs.webkit.org/show_bug.cgi?id=129344
+ <rdar://problem/16053643>
+
+ Reviewed by Simon Fraser.
+
+ Updates localizable strings and adds some exports.
+
+ * English.lproj/Localizable.strings:
+ * WebCore.exp.in:
</ins><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * html/shadow/ContentDistributor.cpp:
- (WebCore::ContentDistributor::distributeSelectionsTo):
- * html/shadow/ContentSelectorQuery.cpp: Removed.
- * html/shadow/ContentSelectorQuery.h: Removed.
- * html/shadow/HTMLContentElement.cpp:
</del><span class="cx">
</span><del>-2013-05-02 Arnaud Renevier <a.renevier@sisa.samsung.com>
</del><ins>+2014-03-02 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- border-radius clipping a canvas does not always clip
- https://bugs.webkit.org/show_bug.cgi?id=113343
</del><ins>+ [iOS][WK2] Pages using tiled compositing layers allocate too many tiles on zoom
+ https://bugs.webkit.org/show_bug.cgi?id=129471
</ins><span class="cx">
</span><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- clipToRect method clip context to clipRect, and then clip to rounded
- rect if clipRect has a radius. But currently, clipToRect exit early if
- clipToRect is equal to paintDirtyRect.
</del><ins>+ A few issues with TileController were causing sublayers of the root layers
+ to tile incorrect surfaces on zoom.
</ins><span class="cx">
</span><del>- This patch allows clipping to rounded corner ever if clipToRect is
- equal to paintDirtyRect.
</del><ins>+ First, the exposedRect API was not updating the sublayers. The layers go correctly
+ into tiling mode, but the tiles cover the full document instead of the visible area.
</ins><span class="cx">
</span><del>- Test: fast/overflow/border-radius-clipping-2.html
</del><ins>+ The other major issue was the margins being applied to the coverage size in document
+ coordinates. Since each margin is 512px, the total coverage size after zoom was
+ gigantic.
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::clipToRect):
</del><ins>+ To solve this, this patch switch from the exposedRect API to the generic concept
+ of VisibleExtentContentRect introduced for iOS WebKit1.
</ins><span class="cx">
</span><del>-2013-05-02 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * platform/ScrollView.h:
+ Define a VisibleExtentContentRect on the scrollview itself when there is no
+ platformWidget().
+ The case with inside frame is untested due to stability issues :(.
+ (see <rdar://problem/16199219>)
</ins><span class="cx">
</span><del>- Caption menu does not include in-band captions
- https://bugs.webkit.org/show_bug.cgi?id=111934
</del><ins>+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::computeTileCoverageRect):
+ Remove the margin from the tile coverage.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ On iOS, m_tileCoverage is always zero at the moment. Previously, the tile coverage
+ was artificially extended by the margins. With the margins removed, I temporarily added
+ a factor of 1.5.
+ ViewUpdateDispatcher has all the information to compute a great tile coverage, I will need
+ a follow up patch to fix that.
</ins><span class="cx">
</span><del>- No new tests, upated existing tests for these changes.
</del><ins>+ * platform/ios/ScrollViewIOS.mm:
+ (WebCore::ScrollView::visibleExtentContentRect):
+ (WebCore::ScrollView::setVisibleExtentContentRect):
</ins><span class="cx">
</span><del>- * WebCore.xcodeproj/project.pbxproj: Add new files.
</del><ins>+2014-03-02 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize m_legacyWebKitClosedCaptionsVisible.
- (WebCore::HTMLMediaElement::loadInternal): Clear the LoadMediaResource from m_pendingActionFlags
- in case there is a pending async load.
- (WebCore::HTMLMediaElement::configureTextTrackGroup): Always log the track score.
- (WebCore::HTMLMediaElement::configureTextTracks): Call configureTextTrackDisplay so
- m_legacyWebKitClosedCaptionsVisible is always updated immediately.
- (WebCore::HTMLMediaElement::setWebkitClosedCaptionsVisible): Use m_legacyWebKitClosedCaptionsVisible.
- (WebCore::HTMLMediaElement::webkitClosedCaptionsVisible): Ditto.
- * html/HTMLMediaElement.h:
</del><ins>+ Sort Mac platform export files so they merge better
+ https://bugs.webkit.org/show_bug.cgi?id=129581
</ins><span class="cx">
</span><del>- * page/CaptionUserPreferences.cpp:
- (WebCore::CaptionUserPreferences::CaptionUserPreferences): Initialize m_displayMode to ForcedOnly
- because it is no longer used for testing only.
- (WebCore::CaptionUserPreferences::notify): Post notifications when not in testing-only mode.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * page/CaptionUserPreferencesMac.h:
- * page/CaptionUserPreferencesMac.mm:
- (WebCore::CaptionUserPreferencesMac::textTrackSelectionScore): Calculate a track score when
- webkitClosedCaptionsVisible has been set.
- (WebCore::CaptionUserPreferencesMac::sortedTrackListForMenu): Don't filter track list when we
- don't have the media accessibility framework. Make logging more informative.
- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
</del><ins>+ * WebCore.exp.in: Ran the new sort-export-file on this.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
</del><ins>+2014-03-02 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h:
- (WebCore::InbandTextTrackPrivateAVFObjC::create): Take a AVFInbandTrackParent instead of a
- MediaPlayerPrivateAVFoundationObjC.
- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm:
- (WebCore::InbandTextTrackPrivateAVFObjC::InbandTextTrackPrivateAVFObjC): Ditto.
</del><ins>+ Add protected casting to FilterOperation classes.
+ https://bugs.webkit.org/show_bug.cgi?id=124062
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h: Added.
- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm: Added.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::cancelLoad): We only have legible output when
- HAVE_AVFOUNDATION_LEGIBLE_OUTPUT_SUPPORT is defined.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerItem): Ditto.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): Create a legacy CC track if
- there are no media selection options and there is a CC AVAssetTrack.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::processLegacyCCTracks): New, process CC tracks.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::processNewAndRemovedTextTracks): New, refactored
- common setup/cleanup code from processMediaSelectionOptions.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::processMediaSelectionOptions): Renamed from
- processTextTracks. Move common setup/cleanup code to processNewAndRemovedTextTracks.
- (WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTrack): Deal with legacy CC tracks.
</del><ins>+ Use the type cast macro generators to produce some toFilterOperation-style
+ functions, and then use them in our PlatformCA filter code.
</ins><span class="cx">
</span><del>-2013-05-02 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Test: css3/filters/animation-from-initial-values-with-color-matrix.html
</ins><span class="cx">
</span><del>- [Mac] caption track menu includes "easy to read" in-band tracks twice
- https://bugs.webkit.org/show_bug.cgi?id=115529
</del><ins>+ * platform/graphics/ca/mac/PlatformCAFiltersMac.mm: Use the toFilterOperation methods, in
+ some cases removing the unnecessary double cast.
+ (PlatformCAFilters::filterValueForOperation):
+ (PlatformCAFilters::colorMatrixValueForFilter):
+ * platform/graphics/filters/FilterOperation.cpp:
+ (WebCore::BasicColorMatrixFilterOperation::blend):
+ (WebCore::BasicColorMatrixFilterOperation::operator==): Move this to the .cpp file so it can use the casting methods.
+ (WebCore::BasicComponentTransferFilterOperation::blend):
+ (WebCore::BasicComponentTransferFilterOperation::operator==): Ditto.
+ * platform/graphics/filters/FilterOperation.h: Add the casting macros.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+2014-03-02 Yoav Weiss <yoav@yoav.ws>
</ins><span class="cx">
</span><del>- * page/CaptionUserPreferencesMac.mm:
- (WebCore::CaptionUserPreferencesMac::sortedTrackListForMenu): Check to see if a track is
- easy-to-read after checking if it is forced only.
</del><ins>+ Fix srcset related bugs
+ https://bugs.webkit.org/show_bug.cgi?id=129539
</ins><span class="cx">
</span><del>-2013-05-02 Antti Koivisto <antti@apple.com>
</del><ins>+ Fixed a bug reported against Blink's srcset implementation at https://code.google.com/p/chromium/issues/detail?id=347998
+ When both src and srcset had only 1x descriptors and the DPR was higher than 1, the src's resource was picked.
</ins><span class="cx">
</span><del>- Remove SiblingTraversalStrategies.h
- https://bugs.webkit.org/show_bug.cgi?id=115532
</del><ins>+ Also fixed the invalid descriptor handling, which wasn't aligned with the spec, and therefore was not as forward compatible as it should be.
+ Invalid descriptors caused the entire resource to be ignored, rather than just the descriptors themselves.
</ins><span class="cx">
</span><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcxproj/WebCore.vcxproj:
- * WebCore.vcxproj/WebCore.vcxproj.filters:
</del><ins>+ Tests: fast/hidpi/image-srcset-invalid-descriptor.html
+ fast/hidpi/image-srcset-src-selection-1x-both.html
+
+ * html/parser/HTMLParserIdioms.cpp:
+ (WebCore::parseDescriptors):
+ (WebCore::parseImagesWithScaleFromSrcsetAttribute):
+ (WebCore::bestFitSourceForImageAttributes):
+
+2014-03-01 Gavin Barraclough <barraclough@apple.com>
+
+ Split UserActivity, simplify PageThrottler
+ https://bugs.webkit.org/show_bug.cgi?id=129551
+
+ Reviewed by Darin Adler.
+
+ The class UserActivity currently implements two things – a hysteresis mechanism, and
+ an abstraction of NSActivity controlled by that mechanism. PageThrottler implements
+ its own hysteresis mechanism, which directly controls DOM timer throttling and also
+ controls a couple of UserActivities, giving a total of 3 separate hysteresis mechanisms,
+ layered two deep.
+
+ Split UserActivity into three, with HysteresisActivity implementing an abstract hysteresis
+ mechanism, UserActivity::Impl controlling the NSActivity, and then UserActivity combining
+ these two back together. The interface to UserActivity is unchanged.
+
+ Remove PageThrottler's bespoke hysteresis, replacing it with a use of HysteresisActivity.
+ Replace the two UserActivities with a single UserActivity::Impl, so there are no longer
+ layered hysteresis mechanisms.
+
+ * WebCore.exp.in:
+ - exports changed.
</ins><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * css/SiblingTraversalStrategies.h: Removed.
</del><ins>+ - added HysteresisActivity.h.
+ * page/PageThrottler.cpp:
+ (WebCore::PageThrottler::PageThrottler):
+ - if the page starts visible, begin activity. If it starts hidden throttle DOM timers.
+ (WebCore::PageThrottler::hiddenPageDOMTimerThrottlingStateChanged):
+ - when the DOM timer throttling setting changes, make sure we update.
+ (WebCore::PageThrottler::incrementActivityCount):
+ (WebCore::PageThrottler::decrementActivityCount):
+ - when m_activityCount changes update the hysteresis state.
+ (WebCore::PageThrottler::updateHysteresis):
+ (WebCore::PageThrottler::setViewState):
+ - when IsVisuallyIdle changes update the hysteresis state.
+ (WebCore::PageThrottler::started):
+ (WebCore::PageThrottler::stopped):
+ - callbacks from HysteresisActivity, these control m_activity and DOM timer throttling.
+ * page/PageThrottler.h:
+ (WebCore::PageThrottler::didReceiveUserInput):
+ (WebCore::PageThrottler::pluginDidEvaluate):
+ - call impulse to temporarily enable the activity.
+ * platform/HysteresisActivity.h: Copied from Source/WebCore/platform/UserActivity.h.
+ (WebCore::HysteresisActivity::HysteresisActivity):
+ - constructor takes a delegate optionally a timeout.
+ (WebCore::HysteresisActivity::start):
+ - start activity immediately. If stopped, call started method on delegate. If in timeout period, cancel the timer.
+ (WebCore::HysteresisActivity::stop):
+ - stop activity after hysteresis. If started, initiate timeout period.
+ (WebCore::HysteresisActivity::impulse):
+ - ensure activity for at least the timeout period.
+ (WebCore::HysteresisActivity::hysteresisTimerFired):
+ - delayed stop - when the timer fires call stopped on the delegate.
+ * platform/UserActivity.cpp:
+ (WebCore::UserActivity::Impl::Impl):
+ (WebCore::UserActivity::Impl::beginActivity):
+ (WebCore::UserActivity::Impl::endActivity):
+ - nop implementation.
+ (WebCore::UserActivity::UserActivity):
+ - UserActivity maintains existing interface with hysteresis.
+ (WebCore::UserActivity::started):
+ (WebCore::UserActivity::stopped):
+ - callbacks from HysteresisTimer; forward to Impl.
+ * platform/UserActivity.h:
+ * platform/mac/UserActivityMac.mm:
+ (WebCore::UserActivity::Impl::Impl):
+ - UserActivity::Impl, abstraction for NSActivity without added hysteresis.
+ (WebCore::UserActivity::Impl::beginActivity):
+ - allocate NSActivity.
+ (WebCore::UserActivity::Impl::endActivity):
+ - release NSActivity.
</ins><span class="cx">
</span><del>-2013-05-02 Antti Koivisto <antti@apple.com>
</del><ins>+2014-03-02 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- Shadow DOM removal: Make SelectorChecker non-generic
- https://bugs.webkit.org/show_bug.cgi?id=115526
</del><ins>+ DocumentLoader should keep maps of ResourceLoaders instead of sets
+ https://bugs.webkit.org/show_bug.cgi?id=129388
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- Without Shadow DOM distribution we don't need SiblingTraversalStrategies anymore.
</del><ins>+ For web replay, we need to be able to pull a ResourceLoader instance by
+ identifier from the DocumentLoader. This is easy to do if we convert
+ ResourceLoaderSet to ResourceLoaderMap, keyed by the loader's identifier.
</ins><span class="cx">
</span><del>- * css/ElementRuleCollector.cpp:
- (WebCore::ElementRuleCollector::ruleMatches):
- * css/SelectorChecker.cpp:
- (WebCore):
- (WebCore::isFirstChildElement):
- (WebCore::isLastChildElement):
- (WebCore::isFirstOfType):
- (WebCore::isLastOfType):
- (WebCore::countElementsBefore):
- (WebCore::countElementsOfTypeBefore):
- (WebCore::countElementsAfter):
- (WebCore::countElementsOfTypeAfter):
- (WebCore::SelectorChecker::match):
- (WebCore::SelectorChecker::checkOne):
- * css/SelectorChecker.h:
- (SelectorChecker):
- * css/SiblingTraversalStrategies.h:
- * css/StyleResolver.h:
- (WebCore::checkRegionSelector):
- * dom/SelectorQuery.cpp:
- (WebCore::SelectorDataList::selectorMatches):
- * html/shadow/ContentSelectorQuery.cpp:
- (WebCore::ContentSelectorDataList::checkContentSelector):
</del><ins>+ Added assertions whenever adding or removing from the map to ensure
+ that we don't try to add duplicates or resources with zero identifiers.
</ins><span class="cx">
</span><del>-2013-05-02 Anders Carlsson <andersca@apple.com>
</del><ins>+ No new tests required. No functionality was added.
</ins><span class="cx">
</span><del>- Simplify WebCoreObjCExtras by using WTF::bind
- https://bugs.webkit.org/show_bug.cgi?id=115524
</del><ins>+ * loader/DocumentLoader.cpp:
+ (WebCore::cancelAll):
+ (WebCore::setAllDefersLoading):
+ (WebCore::areAllLoadersPageCacheAcceptable):
+ (WebCore::DocumentLoader::addSubresourceLoader):
+ (WebCore::DocumentLoader::removeSubresourceLoader):
+ (WebCore::DocumentLoader::addPlugInStreamLoader):
+ (WebCore::DocumentLoader::removePlugInStreamLoader):
+ (WebCore::DocumentLoader::subresourceLoaderFinishedLoadingOnePart):
+ * loader/DocumentLoader.h:
+ * loader/NetscapePlugInStreamLoader.cpp:
+ (WebCore::NetscapePlugInStreamLoader::create): Only add the loader
+ to the document loader's map if it initialized successfully.
+ The old code was probably leaking resource loaders that failed to
+ initialize.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * loader/mac/DocumentLoaderMac.cpp:
+ (WebCore::scheduleAll):
+ (WebCore::unscheduleAll):
</ins><span class="cx">
</span><del>- * platform/mac/WebCoreObjCExtras.mm:
- (deallocCallback):
- (WebCoreObjCScheduleDeallocateOnMainThread):
</del><ins>+2014-03-02 Dirkjan Ochtman <d.ochtman@activevideo.com>
</ins><span class="cx">
</span><del>-2013-05-02 Alexey Proskuryakov <ap@apple.com>
</del><ins>+ Support ENABLE_ENCRYPTED_MEDIA in cmake builds
+ https://bugs.webkit.org/show_bug.cgi?id=129575
</ins><span class="cx">
</span><del>- <rdar://problem/13740375> Non-ASCII downloaded file names are garbled when using NetworkProcess
- https://bugs.webkit.org/show_bug.cgi?id=115520
</del><ins>+ Reviewed by Philippe Normand.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ No new tests, only fixes the build.
</ins><span class="cx">
</span><del>- Covered by existing tests when using NetworkProcess.
</del><ins>+ * CMakeLists.txt:
+ Add support for ENABLE_ENCRYPTED_MEDIA.
+ * Modules/encryptedmedia/MediaKeySession.cpp:
+ (WebCore::MediaKeySession::close):
+ Assign nullptr instead of 0 to OwnPtr to appease gcc-4.7.
</ins><span class="cx">
</span><ins>+2014-03-01 Tim Horton <timothy_horton@apple.com>
+
+ WebKit2 View Gestures (Smart Magnification): Support for iOS
+ https://bugs.webkit.org/show_bug.cgi?id=129146
+ <rdar://problem/16032668>
+
+ Reviewed by Benjamin Poulain.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><del>- * platform/network/ResourceRequestBase.h:
- (WebCore::ResourceRequestBase::responseContentDispositionEncodingFallbackArray):
- Added a getter for encoding fallback array.
</del><ins>+ Add an export.
</ins><span class="cx">
</span><del>- * platform/network/mac/ResourceRequestMac.mm:
- (WebCore::ResourceRequest::doUpdateResourceRequest):
- (WebCore::ResourceRequest::doUpdatePlatformRequest):
- Removed obsolete checks for presence of fallback array methods, they were available
- since 10.6.8.
</del><ins>+2014-03-01 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-01 Enrica Casucci <enrica@apple.com>
</del><ins>+ Unreviewed, rolling out r164929 and r164934.
+ http://trac.webkit.org/changeset/164929
+ http://trac.webkit.org/changeset/164934
+ https://bugs.webkit.org/show_bug.cgi?id=129570
</ins><span class="cx">
</span><del>- text-combine: horizontal does not work properly for some fonts.
- https://bugs.webkit.org/show_bug.cgi?id=115503.
</del><ins>+ Caused assertions on two srcset tests (Requested by ap on
+ #webkit).
</ins><span class="cx">
</span><del>- Reviewed by Dave Hyatt.
</del><ins>+ * html/parser/HTMLParserIdioms.cpp:
+ (WebCore::isHTMLSpaceOrComma):
+ (WebCore::parseImagesWithScaleFromSrcsetAttribute):
+ (WebCore::bestFitSourceForImageAttributes):
</ins><span class="cx">
</span><del>- For some fonts that don't have width variants, we fail to combine glyphs
- because we believe they don't fit. That decision is made comparing the run width
- with the font computed size multiplied by a margin factor.
- I've increased the margin from 10% to 15%.
-
- Test: fast/text/text-combine-different-fonts.html
</del><ins>+2014-03-01 Dan Bernstein <mitz@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderCombineText.cpp:
</del><ins>+ Build fix.
</ins><span class="cx">
</span><del>-2013-05-01 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ * html/parser/HTMLParserIdioms.cpp: Removed an unused function.
</ins><span class="cx">
</span><del>- Null check plugInClient earlier in snapshotting path
- https://bugs.webkit.org/show_bug.cgi?id=115498
</del><ins>+2014-03-01 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><ins>+ Ensure keySplines is valid in SMIL animations
+ <http://webkit.org/b/129547>
+ <rdar://problem/15676128>
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn):
</del><ins>+ Merged from Blink (patch by Philip Rogers):
+ https://src.chromium.org/viewvc/blink?revision=156452&view=revision
+ http://crbug.com/276111
</ins><span class="cx">
</span><del>-2013-05-01 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ This patch fixes a crash in SMIL animations when keySplines are not
+ specified. The SMIL spec is clear on this:
+ http://www.w3.org/TR/2001/REC-smil-animation-20010904/#AnimFuncCalcMode
+ "If there are any errors in the keyTimes specification (bad values,
+ too many or too few values), the animation will have no effect."
</ins><span class="cx">
</span><del>- Web Inspector: Fix check-inspector-strings script and fix localized strings
- https://bugs.webkit.org/show_bug.cgi?id=115495
</del><ins>+ This patch simply checks that keyTimes is not empty. Previously,
+ splinesCount was set to be m_keySplines.size() + 1 in
+ SVGAnimationElement.cpp; this patch changes splinesCount to be equal
+ to m_keySplines.size() to make the logic easier to follow and to
+ match other checks in SVGAnimationElement::startedActiveInterval.
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro.
</del><ins>+ Test: svg/animations/animate-keysplines-crash.html
</ins><span class="cx">
</span><del>- No new tests, because there is no change in behavior.
</del><ins>+ * svg/SVGAnimationElement.cpp:
+ (WebCore::SVGAnimationElement::startedActiveInterval):
</ins><span class="cx">
</span><del>- * English.lproj/localizedStrings.js:
</del><ins>+2014-03-01 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>-2013-05-01 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Tighten minimumRegisterRequirements()
+ https://bugs.webkit.org/show_bug.cgi?id=129538
</ins><span class="cx">
</span><del>- <object data="<some data URL>"> MIME types aren't case-insensitive
- https://bugs.webkit.org/show_bug.cgi?id=115494
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Fix small things that made minimumRegisterRequirements() a little optimistic
+ when dealing with attributes.
</ins><span class="cx">
</span><del>- Test: fast/images/object-data-url-case-insensitivity.html
</del><ins>+ Test: fast/selectors/adjacent-descendant-tail-register-requirement.html
</ins><span class="cx">
</span><del>- MIME types are defined to be case-insensitive, but many places in WebCore
- only compare them against lower-case strings. Most entry points for MIME
- types lower-case them, but mimeTypeFromDataURL doesn't, causing, for example,
- data:image/png;... to work, but data:iMaGe/PNG;... to fail.
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::SelectorCodeGenerator):
+ Attribute Set does not do value matching, the case sensitive value matching is irrelevant
+ The problem is that flag is also used by minimumRegisterRequirements()
+ to find if one more register is needed.
</ins><span class="cx">
</span><del>- To fix this, lower-case the string returned from mimeTypeFromDataURL.
</del><ins>+ Set the flag to case sensitive to avoid reserving one extra register.
</ins><span class="cx">
</span><del>- * platform/KURL.cpp:
- (WebCore::mimeTypeFromDataURL):
</del><ins>+ (WebCore::SelectorCompiler::minimumRegisterRequirements):
+ Use a new backtrackingFlag to know if there is a descendant tail, thus a backtracking register
+ reserved.
+ This is better than using the backtracking action because the backtracking chain could be
+ an adjacent chain inside a descendant chain.
</ins><span class="cx">
</span><del>-2013-05-01 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ The flags are designed for that, just set one for minimumRegisterRequirements().
</ins><span class="cx">
</span><del>- [Mac] Text replacement should use correction indicator
- https://bugs.webkit.org/show_bug.cgi?id=115471
</del><ins>+ The 2 extra registers for the attribute count and address become limited to all attributes
+ except the last one. We don't keep a copy for the last matching, those registers were not needed.
</ins><span class="cx">
</span><ins>+ (WebCore::SelectorCompiler::SelectorCodeGenerator::computeBacktrackingInformation):
+
+2014-03-01 Pratik Solanki <psolanki@apple.com>
+
+ [iOS] selectionImageForcingBlackText should return autoreleased object
+ https://bugs.webkit.org/show_bug.cgi?id=129437
+ <rdar://problem/15810384>
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Support autocorrection panel for text replacements by making AlternativeTextTypeCorrection
- handle text replacements as well as automatic spelling correction.
</del><ins>+ * bindings/objc/DOM.mm:
+ (-[DOMRange renderedImageForcingBlackText:renderedImageForcingBlackText:]):
</ins><span class="cx">
</span><del>- No new tests. Unfortunately this feature is not testable as is. We need to provide some
- internals or testRunner methods to make this feature testable in the long term.
</del><ins>+2014-03-01 Yoav Weiss <yoav@yoav.ws>
</ins><span class="cx">
</span><del>- * editing/AlternativeTextController.cpp:
- (WebCore::AlternativeTextController::timerFired): Trigger both TextCheckingTypeReplacement
- and TextCheckingTypeShowCorrectionPanel.
</del><ins>+ Fix srcset related bugs
+ https://bugs.webkit.org/show_bug.cgi?id=129539
</ins><span class="cx">
</span><del>- * editing/Editor.cpp:
- (WebCore::Editor::markAndReplaceFor): Autocorrection panel maybe used for both
- TextCheckingTypeReplacement and TextCheckingTypeShowCorrectionPanel.
</del><ins>+ Fixed a bug reported against Blink's srcset implementation at https://code.google.com/p/chromium/issues/detail?id=347998
+ When both src and srcset had only 1x descriptors and the DPR was higher than 1, the src's resource was picked.
</ins><span class="cx">
</span><del>-2013-05-01 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Also fixed the invalid descriptor handling, which wasn't aligned with the spec, and therefore was not as forward compatible as it should be.
+ Invalid descriptors caused the entire resource to be ignored, rather than just the descriptors themselves.
</ins><span class="cx">
</span><del>- Move knowledge of PDF/PostScript MIME types into MIMETypeRegistry
- https://bugs.webkit.org/show_bug.cgi?id=115487
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Tests: fast/hidpi/image-srcset-invalid-descriptor.html
+ fast/hidpi/image-srcset-src-selection-1x-both.html
</ins><span class="cx">
</span><del>- No new tests, just a refactoring.
</del><ins>+ * html/parser/HTMLParserIdioms.cpp:
+ (WebCore::parseDescriptors):
+ (WebCore::parseImagesWithScaleFromSrcsetAttribute):
+ (WebCore::bestFitSourceForImageAttributes):
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- Export newly-added isPDFOrPostScriptMIMEType and getPDFAndPostScriptMIMETypes.
</del><ins>+2014-03-01 Darin Adler <darin@apple.com>
</ins><span class="cx">
</span><del>- * dom/DOMImplementation.cpp:
- (WebCore::DOMImplementation::createDocument):
- Adopt MIMETypeRegistry::isPDFOrPostScriptMIMEType instead of duplicating
- the list of MIME types. The previous list did not include PostScript, but
- it seems reasonable to put plugins ahead of built-in support for it in addition to PDF.
</del><ins>+ Improve "bad parent" and "bad child list" assertions in line boxes
+ https://bugs.webkit.org/show_bug.cgi?id=125656
</ins><span class="cx">
</span><del>- * platform/MIMETypeRegistry.cpp:
- (WebCore::initializePDFAndPostScriptMIMETypes): Added.
- (WebCore::initializeMIMETypeRegistry): Call initializePDFAndPostScriptMIMETypes.
- (WebCore::MIMETypeRegistry::isPDFOrPostScriptMIMEType):
- Consult our new HashSet to see if the given MIME type is one of those used for PDF or PS.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- (WebCore::MIMETypeRegistry::getPDFAndPostScriptMIMETypes): Added.
- * platform/MIMETypeRegistry.h:
- (MIMETypeRegistry): Add isPDFOrPostScriptMIMEType and getPDFAndPostScriptMIMETypes.
</del><ins>+ My previous fix for this problem was incomplete. This continuation of that fix addresses
+ the flaw in the original and adds additional lifetime checking so problems can be seen in
+ debug builds without a memory debugger.
</ins><span class="cx">
</span><del>-2013-05-01 Anders Carlsson <andersca@apple.com>
</del><ins>+ * rendering/InlineBox.cpp:
+ (WebCore::InlineBox::assertNotDeleted): Added. Poor man's memory debugging helper.
+ (WebCore::InlineBox::~InlineBox): Refactored body into a new function named
+ invalidateParentChildList. Added code to update the deletion sentinel to record
+ that this object is deleted.
+ (WebCore::InlineBox::setHasBadParent): Moved here from header since this debug-only
+ feature does not need to be inlined. Added a call to assertNotDeleted.
+ (WebCore::InlineBox::invalidateParentChildList): Added. Refactored from the destructor,
+ this is used by RenderTextLineBoxes.
</ins><span class="cx">
</span><del>- Implement LocalStorageDatabase::importItems
- https://bugs.webkit.org/show_bug.cgi?id=115493
</del><ins>+ * rendering/InlineBox.h: Added the deletion sentinel, and called it in the parent
+ function. Also changed the expansion/setExpansion functions to use the type name "int",
+ since we don't use the type name "signed" in the WebKit coding style.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * rendering/InlineFlowBox.cpp:
+ (WebCore::InlineFlowBox::~InlineFlowBox): Call setHasBadChildList rather than doing the
+ setHasBadParent work on children directly, to avoid code duplication.
+ (WebCore::InlineFlowBox::setHasBadChildList): Moved here from header. Added code to set
+ "has bad parent" on all children, something we previously did only on destruction. Also
+ added assertNotDeleted.
+ (WebCore::InlineFlowBox::checkConsistency): Added call to assertNotDeleted. Also tweaked
+ code style and variable names a little bit.
</ins><span class="cx">
</span><del>- Export symbols needed by WebKit2.
</del><ins>+ * rendering/InlineFlowBox.h: Moved setHasBadChildList out of the header when it's on.
+ The empty version for ASSERT_WITH_SECURITY_IMPLICATION_DISABLED is still in the header.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+ * rendering/RenderTextLineBoxes.cpp:
+ (WebCore::RenderTextLineBoxes::invalidateParentChildLists): Call the new
+ InlineBox::invalidateParentChildList function instead of calling setHasBadChildList directly.
+ The new function checks m_hasBadParent, something we couldn't do here.
</ins><span class="cx">
</span><del>-2013-05-01 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-03-01 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Begin work on loading items from the local storage database
- https://bugs.webkit.org/show_bug.cgi?id=115489
</del><ins>+ Optimized querySelector(All) when selector contains #id
+ https://bugs.webkit.org/show_bug.cgi?id=116502
</ins><span class="cx">
</span><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Export symbols and SQLite headers needed.
</del><ins>+ Test: fast/selectors/querySelector-id-filtering.html
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * WebCore.xcodeproj/project.pbxproj:
</del><ins>+ The idea of this patch is to perform querySelector on a subtree
+ rooted at the last element with #id matching. For example, if we have the selector
+ "#foobar div a", we start by looking for the element with ID foobar in the TreeScope
+ cache, and start matching the children from there.
</ins><span class="cx">
</span><del>-2013-05-01 Hans Muller <hmuller@adobe.com>
- [CSS Exclusions] Programmatic layout tests fail when subpixel layout is disabled
- https://bugs.webkit.org/show_bug.cgi?id=115455
</del><ins>+ The idea comes from Rune for
+ https://chromium.googlesource.com/chromium/blink/+/1cd83d3588973a02ab15d94b1b05a28620853624
+ but the code as diverged too much so it had to be reimplemented specifically for WebKit.
</ins><span class="cx">
</span><del>- First round of changes to restore platform/mac exclusion tests that started failing when
- subpixel layout was turned off.
</del><ins>+ * css/CSSSelectorList.cpp:
+ (WebCore::CSSSelectorList::CSSSelectorList):
+ (WebCore::CSSSelectorList::operator=):
+ * css/CSSSelectorList.h:
+ (WebCore::CSSSelectorList::~CSSSelectorList):
+ * css/StyleRule.h:
+ (WebCore::StyleRule::wrapperAdoptSelectorList):
+ (WebCore::StyleRulePage::wrapperAdoptSelectorList):
+ * dom/SelectorQuery.cpp:
+ (WebCore::isSingleTagNameSelector):
+ (WebCore::isSingleClassNameSelector):
+ (WebCore::findIdMatchingType):
+ (WebCore::SelectorDataList::SelectorDataList):
+ (WebCore::filterRootById):
+ (WebCore::SelectorDataList::executeCompiledSimpleSelectorChecker):
+ (WebCore::SelectorDataList::execute):
+ (WebCore::SelectorQuery::SelectorQuery):
+ (WebCore::SelectorQueryCache::add):
+ * dom/SelectorQuery.h:
+ (WebCore::SelectorDataList::SelectorData::SelectorData):
</ins><span class="cx">
</span><del>- Reviewed by Dirk Schulze.
</del><ins>+2014-02-28 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- * rendering/ExclusionPolygon.cpp:
- (WebCore::appendArc): Ensure that the 3rd of 5 added vertices is in the center of the arc.
- (WebCore::ExclusionPolygon::firstIncludedIntervalLogicalTop): Use ceiledLayoutUnit() for downwards-snapping first fit location.
- * rendering/ExclusionRectangle.cpp:
- (WebCore::ExclusionRectangle::firstIncludedIntervalLogicalTop): Ditto.
</del><ins>+ Node::compareDocumentPosition leaks memory structure
+ https://bugs.webkit.org/show_bug.cgi?id=120244
</ins><span class="cx">
</span><del>-2013-05-01 Enrica Casucci <enrica@apple.com>
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>- Incorrect layout for blocks containing ideographs with -webkit-linebox-contain: glyphs, font, inline-box.
- https://bugs.webkit.org/show_bug.cgi?id=115478.
</del><ins>+ * dom/Node.cpp: (WebCore::Node::compareDocumentPosition): Don't do it.
</ins><span class="cx">
</span><del>- Reviewed by Dave Hyatt.
</del><ins>+2014-03-01 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- Test: fast/block/lineboxcontain/block-with-ideographs.xhtml
</del><ins>+ Fix lifetime handling of SVGPropertyTearOffs
+ <http://webkit.org/b/129211>
+ <rdar://problem/15696025>
</ins><span class="cx">
</span><del>- When computing ascent and descent we need to take into account
- the baseline type. RootInlineBox::ascentAndDescentForBox failed
- to do that in few cases.
</del><ins>+ Reviewed by Maciej Stachowiak.
</ins><span class="cx">
</span><del>- * rendering/RootInlineBox.cpp:
- (WebCore::RootInlineBox::ascentAndDescentForBox):
</del><ins>+ Merged from Blink (patch by Ojan Vafai):
+ https://src.chromium.org/viewvc/blink?revision=157801&view=revision
+ http://crbug.com/288771
</ins><span class="cx">
</span><del>-2013-05-01 Anders Carlsson <andersca@apple.com>
</del><ins>+ -Replace SVGStaticPropertyWithParentTearOff with SVGMatrixTearOff
+ since it's only used in that one place. This means we can get rid
+ of the templatizing and the method pointer.
+ -Change SVGPropertyTearOff to keep track of it's child tearoffs
+ and call detachWrapper on its child tearoffs when it's destroyed
+ or when it's wrapper is detached.
+ -Have SVGPropertyTearOff hold WeakPtrs to the child tearoffs
+ to avoid having a cycle.
</ins><span class="cx">
</span><del>- Add LocalStorageDatabase class
- https://bugs.webkit.org/show_bug.cgi?id=115486
</del><ins>+ Test: svg/transforms/svg-matrix-tearoff-crash.html
</ins><span class="cx">
</span><ins>+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (NativeToJSValue):
+ * svg/properties/SVGMatrixTearOff.h: Renamed from Source/WebCore/svg/properties/SVGStaticPropertyWithParentTearOff.h.
+ (WebCore::SVGMatrixTearOff::create):
+ (WebCore::SVGMatrixTearOff::commitChange):
+ (WebCore::SVGMatrixTearOff::SVGMatrixTearOff):
+ * svg/properties/SVGPropertyTearOff.h:
+ (WebCore::SVGPropertyTearOff::addChild):
+ (WebCore::SVGPropertyTearOff::detachChildren):
+
+2014-03-01 Zan Dobersek <zdobersek@igalia.com>
+
+ Unreviewed build fix after r164913.
+
+ * platform/CountedUserActivity.h: Some ports don't (yet) support forwarding headers for WebCore,
+ so UserActivity.h should be included as non-forwarding.
+
+2014-03-01 Gavin Barraclough <barraclough@apple.com>
+
+ Change PageActivityAssertionToken to use a WeakPtr
+ https://bugs.webkit.org/show_bug.cgi?id=129526
+
</ins><span class="cx"> Reviewed by Sam Weinig.
</span><span class="cx">
</span><del>- Export symbols needed by WebKit2.
</del><ins>+ PageThrottler effectively implements a bespoke weak pointer mechanism; remove this & just use WeakPtr.
</ins><span class="cx">
</span><ins>+ * page/PageActivityAssertionToken.cpp:
+ (WebCore::PageActivityAssertionToken::PageActivityAssertionToken):
+ (WebCore::PageActivityAssertionToken::~PageActivityAssertionToken):
+ - addActivityToken->incrementActivityCount, removeActivityToken->decrementActivityCount
+ * page/PageActivityAssertionToken.h:
+ - removed invalidate, made m_throttler a WeakPtr
+ * page/PageThrottler.cpp:
+ (WebCore::PageThrottler::PageThrottler):
+ - initialize m_weakPtrFactory, m_activityCount.
+ (WebCore::PageThrottler::~PageThrottler):
+ - removed called to invalidate.
+ (WebCore::PageThrottler::startThrottleHysteresisTimer):
+ - m_activityTokens.size()->m_activityCount
+ (WebCore::PageThrottler::throttleHysteresisTimerFired):
+ - m_activityTokens.size()->m_activityCount
+ (WebCore::PageThrottler::incrementActivityCount):
+ - m_activityTokens.add->++
+ (WebCore::PageThrottler::decrementActivityCount):
+ - m_activityTokens.remove->--
+ * page/PageThrottler.h:
+ (WebCore::PageThrottler::weakPtr):
+ - replaced HashSet with WeakPtrFactory & count.
+
+2014-03-01 Gavin Barraclough <barraclough@apple.com>
+
+ Split UserActivity/CountedUserActivity
+ https://bugs.webkit.org/show_bug.cgi?id=129520
+
+ Reviewed by Sam Weinig.
+
+ UserActivity currently provides an interface allowing counted, nested calls to enable/disable.
+ In some cases it would be easier to use if it were a simpler boolean enabled/disabled interface.
+
</ins><span class="cx"> * WebCore.exp.in:
</span><ins>+ - beginActivity->start, endActivity->stop.
+ * WebCore.xcodeproj/project.pbxproj:
+ * page/PageThrottler.cpp:
+ (WebCore::PageThrottler::PageThrottler):
+ (WebCore::PageThrottler::~PageThrottler):
+ (WebCore::PageThrottler::throttlePage):
+ (WebCore::PageThrottler::unthrottlePage):
+ (WebCore::PageThrottler::setIsVisuallyIdle):
+ - beginActivity->increment, endActivity->decrement.
+ * page/PageThrottler.h:
+ - UserActivity->CountedUserActivity for m_pageActivity
+ * platform/CountedUserActivity.h: Copied from Source/WebCore/platform/UserActivity.h.
+ (WebCore::CountedUserActivity::CountedUserActivity):
+ (WebCore::CountedUserActivity::increment):
+ (WebCore::CountedUserActivity::decrement):
+ - Added, provides counted interface to UserActivity.
+ * platform/UserActivity.cpp:
+ (WebCore::UserActivity::UserActivity):
+ - m_count removed
+ (WebCore::UserActivity::start):
+ (WebCore::UserActivity::stop):
+ - beginActivity->start, endActivity->stop, implentation now empty.
+ * platform/UserActivity.h:
+ - beginActivity->start, endActivity->stop, m_count moved to HAVE(NS_ACTIVITY)
+ * platform/mac/UserActivityMac.mm:
+ (WebCore::UserActivity::UserActivity):
+ - m_count->m_started
+ (WebCore::UserActivity::isValid):
+ - m_count->m_started
+ (WebCore::UserActivity::start):
+ (WebCore::UserActivity::stop):
+ - beginActivity->start, endActivity->stop, no longer nest
</ins><span class="cx">
</span><del>-2013-05-01 Eric Carlson <eric.carlson@apple.com>
</del><span class="cx">
</span><del>- [Mac Lion] Assertion failure in MediaControlTextTrackContainerElement::updateDisplay()
- https://bugs.webkit.org/show_bug.cgi?id=115289
</del><ins>+2014-02-28 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+ Caller saved registers can be accidentally discarded when clearing the local stack
+ https://bugs.webkit.org/show_bug.cgi?id=129532
</ins><span class="cx">
</span><del>- No new tests, this is a speculative fix for an infrequent assertion.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::textTrackRemoveCue): Mark the cue as inactive when it is removed
- from the active set.
</del><ins>+ Tests: fast/selectors/tree-modifying-case-insensitive-selectors.html
+ fast/selectors/tree-modifying-selectors.html
</ins><span class="cx">
</span><del>-2013-05-01 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ StackAllocator::discard() no longer make sense now that we can use caller saved regsiter.
+ We should instead discard everything up to the beginning of the local stack.
</ins><span class="cx">
</span><del>- TextTrackMenu crashes in ports where MediaElement players are lazily created
- https://bugs.webkit.org/show_bug.cgi?id=115485
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateSelectorChecker):
+ * cssjit/StackAllocator.h:
+ (WebCore::StackAllocator::popAndDiscardUpTo):
</ins><span class="cx">
</span><del>- Null check the player for ports, like iOS, that lazily create the player.
</del><ins>+2014-02-28 Andy Estes <aestes@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ [iOS] FrameLoader has a NULL m_progressTracker when initialized with initForSynthesizedDocument()
+ https://bugs.webkit.org/show_bug.cgi?id=129534
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::platformTextTrackMenu):
- (WebCore::HTMLMediaElement::closeCaptionTracksChanged):
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-01 Anders Carlsson <andersca@apple.com>
</del><ins>+ No new tests because TestWebKitAPI does not yet support iOS. See <http://webkit.org/b/129535>.
</ins><span class="cx">
</span><del>- Add FunctionDispatcher class and make RunLoop derive from it
- https://bugs.webkit.org/show_bug.cgi?id=115480
</del><ins>+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::initForSynthesizedDocument): Create a FrameProgressTracker.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+2014-02-28 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- Change RunLoop to be a subclass of FunctionDispatcher.
</del><ins>+ ASSERT(isMainThread()) hit under platformUserPreferredLanguages() with WebKit1 and WebKit2 in the same process
+ https://bugs.webkit.org/show_bug.cgi?id=129528
</ins><span class="cx">
</span><del>- * platform/RunLoop.h:
- (RunLoop):
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-05-01 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ * platform/mac/Language.mm:
+ (WebCore::preferredLanguagesMutex):
+ (WebCore::preferredLanguages):
+ (+[WebLanguageChangeObserver languagePreferencesDidChange:]):
+ (WebCore::httpStyleLanguageCode):
+ (WebCore::platformUserPreferredLanguages):
+ Add a mutex and do an isolated copy of the strings to allow this function to be called from multiple threads.
</ins><span class="cx">
</span><del>- HTMLMediaElement::updateActiveTextTrackCues can do unnecessary work
- https://bugs.webkit.org/show_bug.cgi?id=81856
</del><ins>+2014-02-28 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Jer Noble.
</del><ins>+ Crash at ebay.com when viewing auction items at com.apple.WebCore: WebCore::GraphicsContext3D::getExtensions + 10
+ https://bugs.webkit.org/show_bug.cgi?id=129523
</ins><span class="cx">
</span><del>- No new tests, covered by existing tests.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * html/HTMLMediaElement.h:
- (WebCore::HTMLMediaElement::ignoreTrackDisplayUpdateRequests): Add an early return when there
- is obviously no work to be done.
</del><ins>+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::getSupportedExtensions): Early return if the
+ context is pending policy resolution.
</ins><span class="cx">
</span><del>-2013-04-30 Jer Noble <jer.noble@apple.com>
</del><ins>+2014-02-28 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Closed caption lines overlap
- https://bugs.webkit.org/show_bug.cgi?id=115438
- <rdar://problem/13351747>
</del><ins>+ Micro-optimize JSNodeOwner::isReachableFromOpaqueRoots().
+ <https://webkit.org/b/129518>
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ Only do image and audio element specific checks for element nodes.
+ Time spent in here goes from 0.8% to 0.5% on DYEB.
</ins><span class="cx">
</span><del>- Take the line-box padding into account when determining line hight by setting
- the -webkit-line-box-contain property to include 'inline-box'.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- * css/mediaControls.css:
- (video::-webkit-media-text-track-container):
</del><ins>+ * bindings/js/JSNodeCustom.cpp:
+ (WebCore::isReachableFromDOM):
</ins><span class="cx">
</span><del>-2013-05-01 David Kilzer <ddkilzer@apple.com>
</del><ins>+2014-02-28 Geoffrey Garen <ggaren@apple.com>
</ins><span class="cx">
</span><del>- BUILD FIX (r149410): CFRunLoopStop() doesn't know what to do with a RetainPtr<CFRunLoopRef>
</del><ins>+ JSC Assertion failure every time I start Safari (r164846)
+ https://bugs.webkit.org/show_bug.cgi?id=129510
</ins><span class="cx">
</span><del>- Fixes the following build failure:
</del><ins>+ Reviewed by Mark Hahnenberg.
</ins><span class="cx">
</span><del>- WebCore/platform/cf/RunLoopCF.cpp:82:5: error: no matching function for call to 'CFRunLoopStop'
- CFRunLoopStop(m_runLoop);
- ^~~~~~~~~~~~~
</del><ins>+ Take the lock before allocating objects because afterward is too late.
</ins><span class="cx">
</span><del>- * platform/cf/RunLoopCF.cpp:
- (WebCore::RunLoop::stop): Call RetainPtr::get().
</del><ins>+ * bindings/js/ScriptController.cpp:
+ (WebCore::ScriptController::evaluateInWorld):
+ (WebCore::ScriptController::windowScriptNPObject):
+ (WebCore::ScriptController::jsObjectForPluginElement):
</ins><span class="cx">
</span><del>-2013-05-01 Per-Erik Brodin <per-erik.brodin@ericsson.com>
</del><ins>+2014-02-28 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- EventSource: Loss of reconnect time precision due to integer division
- https://bugs.webkit.org/show_bug.cgi?id=115358
</del><ins>+ Web Inspector: ASSERT in WebCore::JSDOMWindowBase::supportsRichSourceInfo inspecting iOS
+ https://bugs.webkit.org/show_bug.cgi?id=129512
</ins><span class="cx">
</span><del>- Make sure precision is not lost when converting the reconnect time from milliseconds to seconds.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ * page/PageDebuggable.cpp:
+ (WebCore::PageDebuggable::connect):
+ (WebCore::PageDebuggable::disconnect):
</ins><span class="cx">
</span><del>- Test: http/tests/eventsource/eventsource-retry-precision.html
</del><ins>+2014-02-28 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- * page/EventSource.cpp:
- (WebCore::EventSource::scheduleReconnect):
</del><ins>+ VisitedLinkStore should be able to invalidate link styles for associated pages
+ https://bugs.webkit.org/show_bug.cgi?id=129515
</ins><span class="cx">
</span><del>-2013-05-01 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- REGRESSION(r149287): Assertion failure in fast/frames/flattening/iframe-flattening-crash.html
- <http://webkit.org/b/115386>
- <rdar://problem/13769995>
</del><ins>+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ Add the VisitedLinkStore if we have one.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ (WebCore::Page::~Page):
+ Remove the VisitedLinkStore if we have one.
</ins><span class="cx">
</span><del>- Only send synchronous resize events for the main frame. Subframes change size during layout,
- so it never really makes sense for them to use synchronous dispatch anyway.
</del><ins>+ * page/VisitedLinkStore.cpp:
+ (WebCore::VisitedLinkStore::~VisitedLinkStore):
+ Assert that we don't have any pages.
</ins><span class="cx">
</span><ins>+ (WebCore::VisitedLinkStore::addPage):
+ Add the page to the set.
+
+ (WebCore::VisitedLinkStore::removePage):
+ Remove the page from the set.
+
+ (WebCore::VisitedLinkStore::invalidateStylesForAllLinks):
+ Traverse all the pages and invalidate the style for all links.
+
+ (WebCore::VisitedLinkStore::invalidateStylesForLink):
+ Traverse all the pages and invalidate the style for a given link.
+
+ * page/VisitedLinkStore.h:
+ Add new members.
+
+2014-02-28 Benjamin Poulain <bpoulain@apple.com>
+
+ [iOS][WK2] highlight rects should never big bigger than the view
+ https://bugs.webkit.org/show_bug.cgi?id=129472
+
+ Reviewed by Enrica Casucci.
+
+ * WebCore.exp.in:
+
+2014-02-28 Beth Dakin <bdakin@apple.com>
+
+ Turn off margin tiles on iOS
+ https://bugs.webkit.org/show_bug.cgi?id=129509
+ -and corresponding-
+ <rdar://problem/16200383>
+
+ Reviewed by Simon Fraser.
+
</ins><span class="cx"> * page/FrameView.cpp:
</span><del>- (WebCore::FrameView::dispatchResizeEvent):
</del><ins>+ (WebCore::FrameView::needsExtendedBackgroundRectForPainting):
</ins><span class="cx">
</span><del>-2013-05-01 Csaba Osztrogonác <ossy@webkit.org>
</del><ins>+2014-02-28 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- Unreviewed trivial buildfix after r149432.
</del><ins>+ Subpixel rendering: Add subpixel support to border type of double, groove, ridge, inset and outset.
+ https://bugs.webkit.org/show_bug.cgi?id=129226
</ins><span class="cx">
</span><del>- * testing/Internals.cpp:
- (WebCore):
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>-2013-05-01 Sergio Villar Senin <svillar@igalia.com>
</del><ins>+ This is the conversion of double, inset, outset, groove and ridge border type
+ painting to support device pixel precision width/height.
</ins><span class="cx">
</span><del>- Show a block cursor in overtype mode
- https://bugs.webkit.org/show_bug.cgi?id=114819
</del><ins>+ Regression is covered by existing tests.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::drawLineForBoxSide):
+ * rendering/RenderObject.h:
</ins><span class="cx">
</span><del>- Test: editing/selection/block-cursor-overtype-mode.html
</del><ins>+2014-02-28 Adenilson Cavalcanti <cavalcantii@gmail.com>
</ins><span class="cx">
</span><del>- Overtype mode will use block cursor instead of a caret to
- highlight the next character to be replaced. It will fully cover
- the next character to be replaced (except at the end of a line
- where the usual blinking caret will be shown).
</del><ins>+ Filters should test for area instead of single dimension
+ https://bugs.webkit.org/show_bug.cgi?id=123716
</ins><span class="cx">
</span><del>- This new block cursor is internally implemented as a selection
- (not exposed to JavaScript) because the selection code knows how
- to deal with bidi text.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Export symbols for testing purposes.
- * WebCore.order: Ditto.
- * editing/Editor.cpp:
- (WebCore::Editor::toggleOverwriteModeEnabled): Added a call to
- FrameLoader::setShouldShowBlockCursor.
- (WebCore):
- * editing/Editor.h:
- (Editor):
- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::FrameSelection):
- (WebCore::FrameSelection::updateAppearance): Use a 1-character
- long selection to paint the cursor in overtype mode.
- (WebCore::FrameSelection::setShouldShowBlockCursor):
- (WebCore):
- * editing/FrameSelection.h:
- (WebCore::FrameSelection::shouldShowBlockCursor):
- (FrameSelection):
- * testing/Internals.cpp:
- (WebCore):
- (WebCore::Internals::selectionBounds): Added a new method which
- returns the IntRect issued by FrameSelection::bounds().
- * testing/Internals.h: Ditto.
- * testing/Internals.idl: Ditto.
</del><ins>+ A filtered SVG element with a sigle dimension bigger than 5000
+ (counting the margin/border) will fail to render. So an element
+ with 4000x4000 will render fine, while another with 5000x10
+ won't. This patch instead tests against the total element area,
+ which fixes such cases.
</ins><span class="cx">
</span><del>-2013-04-30 Darin Adler <darin@apple.com>
</del><ins>+ It also fixes some layer violations where FilterEffectRenderer and
+ RenderSVGResourceFilter were directly accessing the maximum filter
+ size in FilterEffect. Since before a somewhat bigger filter would
+ be aborted, it required to change the maximum kernel size
+ for blur filter (some filters are slower to run than others for
+ bigger SVGs).
</ins><span class="cx">
</span><del>- [Mac] Remove adoptNS/retain pairs, since the two cancel each other out
- https://bugs.webkit.org/show_bug.cgi?id=115426
</del><ins>+ Tests: svg/filters/big-height-filter-expected.svg
+ svg/filters/big-height-filter.svg
+ svg/filters/big-width-filter-expected.svg
+ svg/filters/big-width-filter.svg
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * platform/graphics/filters/FEGaussianBlur.cpp:
+ * platform/graphics/filters/FilterEffect.cpp:
+ (WebCore::FilterEffect::maxFilterArea): New function, returns the
+ maximum allowed element area (currently is 4096 x 4096).
+ (WebCore::FilterEffect::isFilterSizeValid): Now it tests for
+ element area instead of a single dimension. This code is reused by
+ FilterEffectRenderer.
+ * platform/graphics/filters/FilterEffect.h:
+ * rendering/FilterEffectRenderer.cpp:
+ (WebCore::FilterEffectRenderer::updateBackingStoreRect): Uses the
+ new function in FilterEffect to test for valid sizes.
+ (WebCore::FilterEffectRendererHelper::beginFilterEffect): Same case.
+ * rendering/svg/RenderSVGResourceFilter.cpp:
+ (WebCore::RenderSVGResourceFilter::fitsInMaximumImageSize): Test
+ for maximum area and properly changes the scale of transformed
+ element to fit.
</ins><span class="cx">
</span><del>- * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
- (PlatformCAAnimation::PlatformCAAnimation):
- * platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
- (PlatformCAFilters::filterValueForOperation):
- * platform/network/mac/ResourceResponseMac.mm:
- (WebCore::ResourceResponse::nsURLResponse):
- Remove adoptNS and release from code that is doing both.
</del><ins>+2014-02-28 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>-2013-04-29 Sam Weinig <sam@webkit.org>
</del><ins>+ [Mac, iOS] Incorrect ordering of construction arguments for out-of-band text elements
+ https://bugs.webkit.org/show_bug.cgi?id=129501
+ <rdar://problem/16198587>
</ins><span class="cx">
</span><del>- Add API to allow WebKit2 banners to get mouse events
- https://bugs.webkit.org/show_bug.cgi?id=115395
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute): Correct order of arguments
+ to PlatformTextTrack.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * platform/ScrollView.cpp:
- (WebCore::ScrollView::rootViewToTotalContents):
- * platform/ScrollView.h:
- Add and expose rootViewToTotalContents().
</del><ins>+2014-02-28 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>-2013-04-30 Anders Carlsson <andersca@apple.com>
</del><ins>+ Properly clear m_logicallyLastRun to remove use-after-free possibility
+ https://bugs.webkit.org/show_bug.cgi?id=129489
</ins><span class="cx">
</span><del>- Make RunLoop ref-counted
- https://bugs.webkit.org/show_bug.cgi?id=115384
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ A use-after-free issue was caught in Blink because m_logicallyLastRun
+ is not cleared when the item it points to is deleted. Clearing it
+ turns the use-after-free into a segfault, and prevents any future
+ use-after-frees from happening.
</ins><span class="cx">
</span><del>- Add a RunLoop::Holder class which creates and holds the ref-counted RunLoop object.
</del><ins>+ * platform/text/BidiRunList.h:
+ (WebCore::BidiRunList<Run>::deleteRuns):
</ins><span class="cx">
</span><del>- * platform/RunLoop.cpp:
- (RunLoop::Holder):
- (WebCore::RunLoop::Holder::Holder):
- (WebCore::RunLoop::Holder::runLoop):
- (WebCore::RunLoop::current):
- * platform/RunLoop.h:
</del><ins>+2014-02-28 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>-2013-04-30 Anders Carlsson <andersca@apple.com>
</del><ins>+ [Mac] Disambiguate calls to [[window contentView] layer] and [... setLayer:]
+ https://bugs.webkit.org/show_bug.cgi?id=129491
</ins><span class="cx">
</span><del>- Clean up RunLoop code
- https://bugs.webkit.org/show_bug.cgi?id=115454
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ -[NSWindow contentView] returns a bare id, leading to ambiguity when calling
+ certain methods, including -layer and -setLayer:. Resolve the ambiguity by
+ explicitly casting the -contentView call to a NSView*.
</ins><span class="cx">
</span><del>- Delete a couple of functions from RunLoopCF.cpp and just use the generic ones in RunLoop.cpp,
- use RetainPtr instead of manual retain/release. Always use an AutoreleasePool when calling performWork or timers.
</del><ins>+ * platform/mac/WebVideoFullscreenController.mm:
+ (-[WebVideoFullscreenController setupVideoOverlay:]):
+ (-[WebVideoFullscreenController windowDidLoad]):
+ (-[WebVideoFullscreenController windowDidExitFullscreen]):
</ins><span class="cx">
</span><del>- * platform/RunLoop.cpp:
- (WebCore::RunLoop::setUseApplicationRunLoopOnMainRunLoop):
- (WebCore):
- * platform/RunLoop.h:
- (TimerBase):
- (RunLoop):
- * platform/cf/RunLoopCF.cpp:
- (WebCore::RunLoop::performWork):
- (WebCore::RunLoop::RunLoop):
- (WebCore::RunLoop::~RunLoop):
- (WebCore::RunLoop::wakeUp):
- (WebCore::RunLoop::TimerBase::timerFired):
- (WebCore::RunLoop::TimerBase::TimerBase):
- (WebCore::RunLoop::TimerBase::start):
- (WebCore::RunLoop::TimerBase::stop):
- (WebCore::RunLoop::TimerBase::isActive):
- * platform/mac/RunLoopMac.mm:
- (WebCore::RunLoop::run):
- (WebCore::RunLoop::stop):
</del><ins>+2014-02-28 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>-2013-04-30 David Hyatt <hyatt@apple.com>
</del><ins>+ MouseEvent.offsetX/Y should just return 0,0 for simulated clicks.
+ <https://webkit.org/b/129477>
</ins><span class="cx">
</span><del>- <button> ignores margin-bottom.
- https://bugs.webkit.org/show_bug.cgi?id=114940
-
- Reviewed by Beth Dakin.
</del><ins>+ There's no need to compute the exact target-relative coordinates for
+ simulated mouse events, e.g those fired by HTMLElement.click().
</ins><span class="cx">
</span><del>- Make sure that the inner block inside the <button> (flexbox) acts like it
- establishes a block formatting context, i.e., it should refuse to collapse
- its margins with its children. This causes margins to stay inside the <button>
- and be honored, adding to the button's overall height.
-
- Basically we have to remove the restriction that anonymous blocks can't be
- BFCs on the bottom margin.
</del><ins>+ The offsetX/Y properties are not supported by Firefox.
</ins><span class="cx">
</span><del>- Added fast/forms/content-with-margins-inside-button.html
</del><ins>+ Test: fast/events/relative-offset-of-simulated-click.html
</ins><span class="cx">
</span><del>- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::handleAfterSideOfBlock):
</del><ins>+ Reviewed by Alexey Proskuryakov.
</ins><span class="cx">
</span><del>-2013-04-30 Andrei Bucur <abucur@adobe.com>
</del><ins>+ * dom/MouseRelatedEvent.cpp:
+ (WebCore::MouseRelatedEvent::offsetX):
+ (WebCore::MouseRelatedEvent::offsetY):
</ins><span class="cx">
</span><del>- Cleanup HTMLOListElement<->RenderListItem bridge
- https://bugs.webkit.org/show_bug.cgi?id=115434
</del><ins>+2014-02-27 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><ins>+ [CSS Grid Layout] Fix positioning grid items using named grid lines/areas
+ https://bugs.webkit.org/show_bug.cgi?id=129372
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Refactor the way HTMLOListElement is accessing its list items. Instead
- of exposing the nextListItem function, wrap the desiredfunctionality
- in static methods on RenderListItem. This should make the code more readable.
- I've also added more constness to some functions in RenderListItem.
</del><ins>+ Our code was assuming that a <custom-ident> in
+ -webkit-grid-{column|row}-{start|end} and
+ -webkit-grid-{column|row} was always a grid area name. That's
+ wrong because the <custom-ident> could be also a explicitly named
+ grid line or the an implicitly named grid line created by a grid
+ area definition.
</ins><span class="cx">
</span><del>- Tests: No new tests, just refactoring.
</del><ins>+ The style resolution code was not correct either. This patch fixes
+ it so it now matches the spec, which means that:
+ - first we try to match any existing grid area.
+ - then if there is a named grid line with the name
+ <custom-ident>-{start|end} for -webkit-grid-{column|row}-{start|end}
+ defined before the grid area then we use it instead of the grid
+ area.
+ - otherwise if there is a named grid line we resolve to the first such line.
+ - otherwise we treat it as 'auto'.
</ins><span class="cx">
</span><del>- * html/HTMLOListElement.cpp:
- (WebCore::HTMLOListElement::updateItemValues): Use updateItemValuesForOrderedList.
- (WebCore::HTMLOListElement::recalculateItemCount): Use itemCountForOrderedList.
- * rendering/RenderListItem.cpp:
- (WebCore::isList): Add more constness.
- (WebCore::nextListItem): Make local to the CPP and add constness.
- (WebCore::previousListItem): Add constness.
- (WebCore::RenderListItem::updateItemValuesForOrderedList): Called by OL elements.
- (WebCore::RenderListItem::itemCountForOrderedList): Called by OL elements.
- (WebCore::previousOrNextItem):
- * rendering/RenderListItem.h: Add updateItemValuesForOrderedList and itemCountForOrderedList.
</del><ins>+ Fixing this uncovered a bug in GridPosition, we were not using the
+ name of the stored grid area to check if two GridPositions were
+ the same.
</ins><span class="cx">
</span><del>-2013-04-30 Anders Carlsson <andersca@apple.com>
</del><ins>+ Tests: fast/css-grid-layout/grid-item-position-changed-dynamic.html
+ fast/css-grid-layout/named-grid-lines-with-named-grid-areas-resolution.html
</ins><span class="cx">
</span><del>- More StorageTracker cleanup
- https://bugs.webkit.org/show_bug.cgi?id=115435
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::gridLineDefinedBeforeGridArea): New function to check if
+ a given named grid line was defined before an implicit named grid
+ line created by a grid area definition.
+ (WebCore::StyleResolver::adjustNamedGridItemPosition): New
+ function that adjusts the position of a GridPosition parsed as a
+ grid area.
+ (WebCore::StyleResolver::adjustGridItemPosition): Use the new
+ function adjustNamedGridItemPosition to adjust the positions of
+ named grid lines.
+ * css/StyleResolver.h:
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::resolveNamedGridLinePositionFromStyle): Use GridPosition:: namespace.
+ (WebCore::RenderGrid::resolveGridPositionFromStyle): Ditto.
+ (WebCore::RenderGrid::resolveRowEndColumnEndNamedGridLinePositionAgainstOppositePosition): Ditto.
+ * rendering/RenderGrid.h:
+ * rendering/style/GridPosition.h:
+ (WebCore::GridPosition::adjustGridPositionForRowEndColumnEndSide): Moved from RenderGrid.cpp.
+ (WebCore::GridPosition::adjustGridPositionForSide): Ditto.
+ (WebCore::GridPosition::operator==): Use the named grid line to check equality.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-02-28 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- Use bind instead of "onMainThread" helper functions.
</del><ins>+ [CSS Shapes] Update line segments for ShapeInside only if the new line is wide enough
+ https://bugs.webkit.org/show_bug.cgi?id=129461
</ins><span class="cx">
</span><del>- * storage/StorageAreaSync.cpp:
- (WebCore::StorageAreaSync::deleteEmptyDatabase):
- * storage/StorageTracker.cpp:
- (WebCore::StorageTracker::syncImportOriginIdentifiers):
- (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
- (WebCore::StorageTracker::deleteOriginWithIdentifier):
- * storage/StorageTracker.h:
- (StorageTracker):
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>-2013-04-30 Geoffrey Garen <ggaren@apple.com>
</del><ins>+ Shape-inside can make a line only narrower than the original line width, thus we don't need
+ to update the line/shape segments in fitBelowFloats for every single line inside shape-inside.
+ This patch adds a helper function, which updates the line segments, furthermore it updates the
+ line segments only when the content would fit without the shape.
</ins><span class="cx">
</span><del>- Objective-C JavaScriptCore API should publicly support bridging to C
- https://bugs.webkit.org/show_bug.cgi?id=115447
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><del>- Reviewed by Mark Hahnenberg.
</del><ins>+ * rendering/line/BreakingContextInlineHeaders.h: Use new helper.
+ (WebCore::updateSegmentsForShapes):
+ * rendering/line/LineWidth.cpp: Use new helper.
+ (WebCore::LineWidth::updateLineSegment): Add new helper.
+ (WebCore::LineWidth::fitBelowFloats):
</ins><span class="cx">
</span><del>- * bindings/js/ScriptControllerMac.mm:
- (WebCore::ScriptController::javaScriptContext):
- * bindings/objc/WebScriptObject.mm:
- (-[WebScriptObject JSValue]):
</del><ins>+2014-02-28 Mario Sanchez Prada <mario.prada@samsung.com>
</ins><span class="cx">
</span><del>-2013-04-30 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ paragraphs with different directionality in textarea with unicode-bidi: plaintext are aligned the same
+ https://bugs.webkit.org/show_bug.cgi?id=71194
</ins><span class="cx">
</span><del>- Fix an issue with JSPerformance.cpp in the WebCore.xcodeproj where
- it was being recognized as a diretory rather than a file, introduced
- in r149359.
-
- * WebCore.xcodeproj/project.pbxproj:
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>-2013-04-30 Beth Dakin <bdakin@apple.com>
</del><ins>+ Merged from Blink r157263 by <igor.o@sisa.samsung.com>
+ <https://src.chromium.org/viewvc/blink?revision=157263&view=revision>
</ins><span class="cx">
</span><del>- Page::pageCount() is inaccurate when we allow the first paint in App Mode
- https://bugs.webkit.org/show_bug.cgi?id=115442
- -and corresponding-
- <rdar://problem/13758445>
</del><ins>+ In the css3-text spec (http://www.w3.org/TR/css3-text/#bidi-linebox):
</ins><span class="cx">
</span><del>- Reviewed by Dave Hyatt.
</del><ins>+ The start and end edges of a line box are determined by the inline
+ base direction of the line box. In most cases, this is given by
+ its containing block's computed ‘direction’. However if its
+ containing block has ‘unicode-bidi: plaintext’, the inline base
+ direction the line box must be determined by the base direction of
+ the bidi paragraph to which it belongs: that is, the bidi
+ paragraph for which the line box holds content.
</ins><span class="cx">
</span><del>- We should set the height here all the time, even if it is the first layout.
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::checkForPaginationLogicalHeightChange):
</del><ins>+ This patch just implements the behavior described above modifying
+ updateLogicalWidthForAlignment and setting the bidi level of the
+ RootInlineBox.
</ins><span class="cx">
</span><del>-2013-04-30 Andreas Kling <akling@apple.com>
</del><ins>+ * rendering/RenderBlockFlow.h:
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlockFlow::updateLogicalWidthForAlignment):
+ (WebCore::RenderBlockFlow::computeInlineDirectionPositionsForSegment):
+ (WebCore::RenderBlockFlow::createLineBoxesFromBidiRuns):
+ (WebCore::RenderBlockFlow::layoutRunsAndFloatsInRange):
+ (WebCore::RenderBlockFlow::deleteEllipsisLineBoxes):
+ (WebCore::RenderBlockFlow::checkLinesForTextOverflow):
+ (WebCore::RenderBlockFlow::startAlignedOffsetForLine):
</ins><span class="cx">
</span><del>- Don't create StyleResolvers just to invalidate them.
- <http://webkit.org/b/115436>
</del><ins>+2014-02-28 Jochen Eisinger <jochen@chromium.org>
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Update meta-referrer behavior for invalid policies
+ https://bugs.webkit.org/show_bug.cgi?id=129475
</ins><span class="cx">
</span><del>- Renamed Document::styleResolver() to ensureStyleResolver() so it's clear that it never returns null.
- Removed a bunch of unnecessary null-checks I spotted while doing this.
</del><ins>+ This patch aligns the behavior with the CSP 1.1 referrer directive,
+ where the fallback for an invalid value is the "never" policy.
</ins><span class="cx">
</span><del>- Also fixed Element::willModifyAttribute() and FrameView::setFrameRect() to not create a StyleResolver
- and immediately invalidate it in some cases.
</del><ins>+ Original patch from Mike West: https://src.chromium.org/viewvc/blink?view=rev&revision=165627
</ins><span class="cx">
</span><del>- * css/FontLoader.cpp:
- (WebCore::FontLoader::loadFont):
- (WebCore::FontLoader::checkFont):
- (WebCore::FontLoader::resolveFontStyle):
- * css/MediaQueryMatcher.cpp:
- (WebCore::MediaQueryMatcher::prepareEvaluator):
- * css/StyleMedia.cpp:
- (WebCore::StyleMedia::matchMedium):
</del><ins>+ Reviewed by Alexey Proskuryakov.
+
+ Test: http/tests/security/referrer-policy-invalid.html
+
</ins><span class="cx"> * dom/Document.cpp:
</span><del>- (WebCore::Document::styleForElementIgnoringPendingStylesheets):
- (WebCore::Document::styleForPage):
- * dom/Document.h:
- (WebCore::Document::ensureStyleResolver):
- * dom/DocumentStyleSheetCollection.cpp:
- (WebCore::DocumentStyleSheetCollection::combineCSSFeatureFlags):
- (WebCore::DocumentStyleSheetCollection::resetCSSFeatureFlags):
- (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
</del><ins>+ (WebCore::Document::processReferrerPolicy):
+
+2014-02-28 Daniel Bates <dabates@apple.com>
+
+ SubresourceLoader::didFinishLoading() should not assert when a decode error occurs
+ https://bugs.webkit.org/show_bug.cgi?id=127029
+
+ Reviewed by Darin Adler.
+
+ SubresourceLoader::didFinishLoading() can be called for a resource (e.g. an image) that
+ failed to be decoded or, in the case of an image, whose estimated decoded size exceeds
+ the maximum decoded size (Settings::maximumDecodedImageSize()).
+
+ Test: fast/images/decoded-size-exceeds-max-decoded-size.html
+
+ * loader/SubresourceLoader.cpp:
+ (WebCore::SubresourceLoader::didFinishLoading):
+
+2014-02-28 Martin Hodovan <mhodovan@inf.u-szeged.hu>
+
+ ASSERTION FAILED: roundedIntPoint(rendererMappedResult) == roundedIntPoint(result) in WebCore::RenderGeometryMap::mapToContainer
+ https://bugs.webkit.org/show_bug.cgi?id=119626
+
+ SVGRenderSupport::mapLocalToContainer() was trying to apply transforms
+ in the incorrect order. Specifically, it would attempt to apply its
+ localToParentTransform before its localToBorderBoxTransform. This
+ was causing an ASSERT to fail when the computed transforms didn't
+ match up to those computed by RenderGeometryMap.
+
+ Backported from Blink: https://codereview.chromium.org/143363004
+
+ Reviewed by Simon Fraser.
+
+ Test: svg/transforms/svg-geometry-crash.html
+
+ * rendering/svg/SVGRenderSupport.cpp:
+ (WebCore::SVGRenderSupport::mapLocalToContainer):
+
+2014-02-28 Mihnea Ovidenie <mihnea@adobe.com>
+
+ [CSSRegions] ASSERTION FAILED: !m_regionsInvalidated in RenderFlowThread::regionAtBlockOffset
+ https://bugs.webkit.org/show_bug.cgi?id=129371
+
+ Reviewed by Andrei Bucur.
+
+ regionAtBlockOffset method is meant to be used after the flow thread validated
+ its region chain, otherwise we cannot rely on regionAtBlockOffset to determine correctly
+ the target region based on the offset in flow thread coordinates.
+
+ When the video element is collected in a named flow and displayed in a region, we ensure
+ that the region's decorations are taken into account to properly position the video.
+ However, we have to do that only if the named flow regions are validated.
+
+ I changed the method cachedRegionForCompositedLayer to check only the "cached" region
+ for a layer and not update the layer to region mappings before returning the region.
+ Because method cachedRegionForCompositedLayer does not update the region - layer mappings,
+ the code does not call regionAtBlockOffset in situations where the region chain is not validated yet.
+
+ Test: compositing/regions/video-in-overflow-region.html
+
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::getLayerListForRegion): Make it a getter that relies on
+ cached information and refrain from updating the mappings. Make it const too.
+ (WebCore::RenderFlowThread::cachedRegionForCompositedLayer):
+ * rendering/RenderFlowThread.h:
+
+2014-02-28 Xabier Rodriguez Calvar <calvaris@igalia.com>
+
+ [GTK] Finetune captions menu as per design team
+ https://bugs.webkit.org/show_bug.cgi?id=129432
+
+ Reviewed by Eric Carlson.
+
+ Some design fine tuning of the captions dialog was required.
+
+ No new tests, current suffice.
+
+ * Modules/mediacontrols/mediaControlsApple.js:
+ Added out class.
+ * Modules/mediacontrols/mediaControlsGtk.js:
+ (ControllerGtk.prototype.buildCaptionMenu): Setting out class when
+ menu is going to show overlap the panel right border.
+ * css/mediaControlsGtk.css:
+ (video::-webkit-media-controls-closed-captions-container.out):
+ Setting all borders to 5px;
+ (video::-webkit-media-controls-closed-captions-container h3):
+ Reduced font size and increasing top padding.
+ (video::-webkit-media-controls-closed-captions-container ul):
+ Increased top padding.
+
+2014-02-27 Ryosuke Niwa <rniwa@webkit.org>
+
+ Element::attributeChanged shouldn't do any work when attribute value didn't change
+ https://bugs.webkit.org/show_bug.cgi?id=129467
+
+ Reviewed by Geoffrey Garen.
+
+ Exit early in childrenChanged when the attribute value didn't change.
+
+ * dom/Attr.cpp:
+ (WebCore::Attr::setValue):
+ (WebCore::Attr::childrenChanged):
</ins><span class="cx"> * dom/Element.cpp:
</span><del>- (WebCore::StyleResolverParentPusher::push):
- (WebCore::StyleResolverParentPusher::~StyleResolverParentPusher):
- (WebCore::Element::styleForRenderer):
- (WebCore::Element::recalcStyle):
- (WebCore::Element::willModifyAttribute):
- * dom/NodeRenderingContext.cpp:
- (WebCore::NodeRenderingContext::createRendererForTextIfNeeded):
- * dom/ShadowRoot.cpp:
- (WebCore::ShadowRoot::recalcStyle):
- (WebCore::ShadowRoot::attach):
- * dom/Text.cpp:
- (WebCore::Text::recalcTextStyle):
- * editing/EditingStyle.cpp:
- (WebCore::styleFromMatchedRulesForElement):
- * html/HTMLCanvasElement.cpp:
- * html/HTMLCanvasElement.h:
</del><ins>+ (WebCore::Element::setAttributeInternal):
+ (WebCore::Element::attributeChanged):
+ (WebCore::Element::parserSetAttributes):
+ (WebCore::Element::removeAttributeInternal):
+ (WebCore::Element::didAddAttribute):
+ (WebCore::Element::didModifyAttribute):
+ (WebCore::Element::didRemoveAttribute):
+ (WebCore::Element::cloneAttributesFromElement):
+ * dom/Element.h:
+ * dom/StyledElement.cpp:
+ (WebCore::StyledElement::attributeChanged):
+ * dom/StyledElement.h:
</ins><span class="cx"> * html/HTMLInputElement.cpp:
</span><del>- (WebCore::HTMLInputElement::customStyleForRenderer):
- * html/HTMLOptGroupElement.cpp:
- (WebCore::HTMLOptGroupElement::updateNonRenderStyle):
- * html/HTMLOptionElement.cpp:
- (WebCore::HTMLOptionElement::updateNonRenderStyle):
- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::customStyleForRenderer):
- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::CanvasRenderingContext2D::setFont):
- * html/shadow/DateTimeEditElement.cpp:
- (WebCore::DateTimeEditElement::customStyleForRenderer):
- * inspector/InspectorCSSAgent.cpp:
- (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::getMatchedCSSRules):
- * page/FrameView.cpp:
- (WebCore::FrameView::setFrameRect):
- * page/animation/KeyframeAnimation.cpp:
- (WebCore::KeyframeAnimation::KeyframeAnimation):
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::updateFromElement):
- (WebCore::RenderListBox::paintItemForeground):
- * rendering/RenderMenuList.cpp:
- (WebCore::RenderMenuList::fontSelector):
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::getUncachedPseudoStyle):
- * rendering/RenderRegion.cpp:
- (WebCore::RenderRegion::checkRegionStyle):
- (WebCore::RenderRegion::computeStyleInRegion):
- * rendering/RenderSearchField.cpp:
- (WebCore::RenderSearchField::fontSelector):
- * rendering/svg/RenderSVGInlineText.cpp:
- (WebCore::RenderSVGInlineText::computeNewScaledFontForStyle):
</del><ins>+ (WebCore::HTMLInputElement::updateType):
+ * mathml/MathMLElement.cpp:
+ (WebCore::MathMLElement::attributeChanged):
+ * mathml/MathMLElement.h:
+ * mathml/MathMLSelectElement.cpp:
+ (WebCore::MathMLSelectElement::attributeChanged):
+ * mathml/MathMLSelectElement.h:
</ins><span class="cx"> * svg/SVGElement.cpp:
</span><del>- (WebCore::SVGElement::customStyleForRenderer):
- * svg/SVGElementRareData.h:
- (WebCore::SVGElementRareData::overrideComputedStyle):
</del><ins>+ (WebCore::SVGElement::attributeChanged):
+ * svg/SVGElement.h:
</ins><span class="cx">
</span><del>-2013-04-30 Simon Fraser <simon.fraser@apple.com>
</del><ins>+2014-02-27 Jinwoo Song <jinwoo7.song@samsung.com>
</ins><span class="cx">
</span><del>- Cap max CALayer tree depth to avoid crashes
- https://bugs.webkit.org/show_bug.cgi?id=115431
- <rdar://problem/13401861>
</del><ins>+ [EFL] Remove duplicated keyboard string key from keyMap
+ https://bugs.webkit.org/show_bug.cgi?id=129469
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
-
- Core Animation can crash if fed deeply nested layer trees.
- Avoid this by capping CALayer tree depth at some empirically-determined
- level.
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- Test: compositing/layer-creation/deep-tree.html
</del><ins>+ "Down" key is duplicated in keyMap().
</ins><span class="cx">
</span><del>- * platform/graphics/ca/GraphicsLayerCA.h:
- (WebCore::GraphicsLayerCA::CommitState::CommitState): Add treeDepth to the CommitState.
- * platform/graphics/ca/GraphicsLayerCA.cpp: Set cMaxLayerTreeDepth to 250
- (WebCore::GraphicsLayerCA::flushCompositingStateForThisLayerOnly): We need a dummy CommitState
- here. It is not expected that flushCompositingStateForThisLayerOnly() will be called for
- a layer in the middle of the hierarchy, only for custom-managed leaf layers, so we don't try
- to compute the correct tree depth.
- (WebCore::GraphicsLayerCA::recursiveCommitChanges): Pass in the commitState. Since this is
- copied for each frame, no need to decrement commitState.treeDepth.
- (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): Increment treeDepth once or
- twice. If we've reached max, be sure to set the ChildrenChanged flag. We delay tree truncation
- until commitLayerChangesAfterSublayers() since ChildrenChanged can be set again when children
- are being processed.
- (WebCore::GraphicsLayerCA::commitLayerChangesAfterSublayers):
- (WebCore::GraphicsLayerCA::updateSublayerList): If we've hit max depth, just set
- empty sublayers.
</del><ins>+ * platform/efl/EflKeyboardUtilities.cpp:
+ (WebCore::createKeyMap):
</ins><span class="cx">
</span><del>-2013-04-30 Darin Adler <darin@apple.com>
</del><ins>+2014-02-27 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- Formatting tweaks
- https://bugs.webkit.org/show_bug.cgi?id=115427
</del><ins>+ Unify the three call sites of SelectorQueryCache
+ https://bugs.webkit.org/show_bug.cgi?id=129249
</ins><span class="cx">
</span><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- * platform/graphics/cg/GraphicsContext3DCG.cpp:
- (WebCore::GraphicsContext3D::ImageExtractor::extractImage): Fixed indenting to match
- normal WebKit style.
</del><ins>+ The three call sites of SelectorQueryCache were doing the exact same thing.
+ That code is mvoed to a new function Document::selectorQueryForString().
</ins><span class="cx">
</span><del>- * platform/mac/ScrollAnimatorMac.mm:
- (WebCore::ScrollAnimatorMac::pinnedInDirection): Removed an excess "+" that is harmless
- but strange.
</del><ins>+ Also use String instead of AtomicString for querySelector() and querySelectorAll().
+ This prevent the call sites from creating AtomicString just for the time of the call.
+ This causes a tiny slow down on microbenchmarks that continuously query the same string
+ but has no negative impact on realistic/good test cases (and the bindings are simplified).
</ins><span class="cx">
</span><del>- * platform/mac/SharedBufferMac.mm: Tweaked blank lines for better paragraphing.
</del><ins>+ * dom/ContainerNode.cpp:
+ (WebCore::ContainerNode::querySelector):
+ (WebCore::ContainerNode::querySelectorAll):
+ * dom/ContainerNode.h:
+ * dom/Document.cpp:
+ (WebCore::Document::selectorQueryForString):
+ * dom/Document.h:
+ * dom/Element.cpp:
+ (WebCore::Element::webkitMatchesSelector):
+ * dom/SelectorQuery.cpp:
+ (WebCore::SelectorQueryCache::add):
+ * dom/SelectorQuery.h:
</ins><span class="cx">
</span><del>-2013-04-30 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+2014-02-27 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Simplify ContainerNode::removeChildren
- https://bugs.webkit.org/show_bug.cgi?id=115398
</del><ins>+ JSC ignores the extra memory cost of HTMLCollection after a major GC
+ https://bugs.webkit.org/show_bug.cgi?id=129450
</ins><span class="cx">
</span><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- Back port https://chromium.googlesource.com/chromium/blink/+/b981f01cd065236b5ff7e3a8446d15b384c1b557
- by Andrei Bucur, which includes both this and his r148754.
</del><ins>+ Report the extra memory cost of HTMLCollection to JSC.
</ins><span class="cx">
</span><del>- * dom/ContainerNode.cpp:
- (WebCore::ContainerNode::removeChildren):
</del><ins>+ Unfortunately, the existing mechanism to report the extra memory cost in toJS is insufficient for
+ HTMLCollection since collection caches are populated later when HTMLCollection is accessed. Also,
+ the extra memory cost reported by Heap::reportExtraMemoryCost will be thrown away after a major GC.
</ins><span class="cx">
</span><del>-2013-04-30 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ To work around this limitation, added a visitor.reportExtraMemoryUsage call inside visitChildren
+ for interfaces with a newly added ReportExtraMemoryCost IDL extension flag to report the extra cost.
</ins><span class="cx">
</span><del>- [SOUP] Move default buffer handling from ResourceHandleClient to ResourceHandlesoup
- https://bugs.webkit.org/show_bug.cgi?id=115364
</del><ins>+ Since we may need to generate visitChildren when this flag is set, we can't automatically detect
+ and generate calls using C++ template as done in r148648.
</ins><span class="cx">
</span><del>- Reviewed by Martin Robinson.
</del><ins>+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * Modules/webaudio/AudioBuffer.idl:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSDOMBinding.h:
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (InstanceNeedsVisitChildren):
+ (GenerateHeader):
+ (GenerateImplementation):
+ * bindings/scripts/IDLAttributes.txt:
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSattribute.cpp:
+ (WebCore::toJS):
+ * bindings/scripts/test/JS/JSreadonly.cpp:
+ (WebCore::toJS):
+ * dom/ChildNodeList.h:
+ * dom/CollectionIndexCache.cpp: Added.
+ (WebCore::reportExtraMemoryCostForCollectionIndexCache):
+ * dom/CollectionIndexCache.h:
+ (WebCore::CollectionIndexCache::memoryCost):
+ (WebCore::NodeType>::CollectionIndexCache):
+ (WebCore::NodeType>::nodeCount):
+ (WebCore::NodeType>::computeNodeCountUpdatingListCache):
+ (WebCore::NodeType>::nodeAt):
+ (WebCore::NodeType>::invalidate):
+ * dom/DOMAllInOne.cpp:
+ * dom/LiveNodeList.cpp:
+ (WebCore::LiveNodeList::memoryCost):
+ * dom/LiveNodeList.h:
+ * dom/NodeList.h:
+ (WebCore::NodeList::memoryCost):
+ * dom/NodeList.idl:
+ * html/HTMLCollection.cpp:
+ (WebCore::HTMLCollection::updateNamedElementCache):
+ * html/HTMLCollection.h:
+ (WebCore::CollectionNamedElementCache::didPopulate):
+ (WebCore::CollectionNamedElementCache::memoryCost):
+ (WebCore::CollectionNamedElementCache::find):
+ (WebCore::HTMLCollection::memoryCost):
+ * html/HTMLCollection.idl:
+ * html/HTMLFormControlsCollection.cpp:
+ (WebCore::HTMLFormControlsCollection::updateNamedElementCache):
</ins><span class="cx">
</span><del>- ResourceHandleClient that is cross-platform file is not the right
- place for the default ResourceHandle read buffer. We can make
- getBuffer return 0 by default and handle it in ResourceHandleSoup,
- creating a default buffer when the client doesn't provide one.
</del><ins>+2014-02-27 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
- (StreamingClient::getOrCreateReadBuffer): Adapt to API change.
- * platform/network/ResourceHandle.h:
- (ResourceHandle): Add ensureReadBuffer().
- * platform/network/ResourceHandleClient.cpp:
- (WebCore::ResourceHandleClient::~ResourceHandleClient): Remove
- soup specific code.
- * platform/network/ResourceHandleClient.h:
- (WebCore::ResourceHandleClient::getOrCreateReadBuffer): Rename
- getBuffer() as getOrCreateReadBuffer() and use a reference for the
- out parameter instead of a pointer.
- (ResourceHandleClient): Remove soup specific code.
- * platform/network/ResourceHandleInternal.h:
- (WebCore::ResourceHandleInternal::ResourceHandleInternal): Rename
- m_buffer and m_bufferSize as m_readBufferPtr and m_readBufferSize
- and add m_readBuffer to be used as default read buffer.
- * platform/network/soup/ResourceHandleSoup.cpp:
- (WebCore::ResourceHandle::ensureReadBuffer): Helper function to
- make usre we have a read buffer before a read operation. It first
- checks if the client provides a buffer and if it doesn't it
- creates or reuses the default buffer.
- (WebCore::redirectSkipCallback): Call ensureReadBuffer() and adapt
- to variable name changes.
- (WebCore::cleanupSoupRequestOperation): Adapt to variable name
- changes.
- (WebCore::nextMultipartResponsePartCallback): Call
- ensureReadBuffer() and adapt to variable name changes.
- (WebCore::sendRequestCallback): Ditto.
- (WebCore::readCallback): Ditto.
</del><ins>+ Compile attribute value matching
+ https://bugs.webkit.org/show_bug.cgi?id=129228
</ins><span class="cx">
</span><del>-2013-04-30 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- REGRESSION(r149287): Assertion failure in fast/frames/flattening/iframe-flattening-crash.html
- <http://webkit.org/b/115386>
- <rdar://problem/13769995>
</del><ins>+ Add support for compiling value matching when matching attributes in Selector.
+ This patch only adds exact matching, the other cases will follow.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ There is a little infrastructure changes since FunctionCall now needs to support
+ calls taking 2 arguments. The fun begins when the arguments are not in the right
+ registers and need to be moved to the right place. Otherwise the code is straightforward.
</ins><span class="cx">
</span><del>- Put the resize event on the Document's event queue if it happens while layout is in progress.
- This avoids re-entering layout while laying out flattened subframes.
</del><ins>+ In SelectorCompiler, it is necessary to handle two different cases of matching: case sensitive
+ and case insensitive. The choice is done in part at compilation time by asking HTMLDocument
+ if the name filter can include case insensitive attribute. The other part is done at runtime
+ by querying the element for its type and document.
</ins><span class="cx">
</span><del>- Also move the little logic for the resize event from EventHandler to FrameView (the only client.)
</del><ins>+ Test: fast/selectors/case-insensitive-value-matching.html
</ins><span class="cx">
</span><del>- * page/EventHandler.cpp:
- * page/EventHandler.h:
- * page/FrameView.cpp:
- (WebCore::FrameView::dispatchResizeEvent):
</del><ins>+ * css/SelectorChecker.cpp:
+ (WebCore::attributeValueMatches): Null values matching should never happen, when an attribute
+ has no value, its value is empty.
</ins><span class="cx">
</span><del>-2013-04-30 Anders Carlsson <andersca@apple.com>
</del><ins>+ * cssjit/FunctionCall.h:
+ (WebCore::FunctionCall::FunctionCall):
+ Add support for calls with two arguments.
+ (WebCore::FunctionCall::setOneArgument):
+ (WebCore::FunctionCall::setTwoArguments):
+ (WebCore::FunctionCall::swapArguments):
+ Here we need to swap two registers, but we cannot allocate a new register (because the context
+ of the function call may have taken all the available registers already).
</ins><span class="cx">
</span><del>- Fix build.
</del><ins>+ On x86, the solution is simple, we can swap the two registers without side effects.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * storage/StorageTracker.h:
- (StorageTracker):
</del><ins>+ On other platforms, it is a little more complex. If there is any available register, we can just
+ use it as a temporary to make the swap.
+ If there are no available registers, we know that all the registers are taken. Since swapArguments()
+ was called after pushing all the arguments on the stack, we can safely trash the value of any of those.
+ We take the first available register that is not a function argument and use it as a temporary.
</ins><span class="cx">
</span><del>-2013-04-30 Anders Carlsson <andersca@apple.com>
</del><ins>+ (WebCore::FunctionCall::prepareAndCall):
+ This is the fun part, we have two registers where the values must go before the function call. The values
+ can be in any combination of the allocated registers. The code here needs to move the two values to
+ their target register while avoiding conflicts.
</ins><span class="cx">
</span><del>- More StorageTracker cleanup
- https://bugs.webkit.org/show_bug.cgi?id=115429
</del><ins>+ * cssjit/SelectorCompiler.cpp:
+ (WebCore::SelectorCompiler::AttributeMatchingInfo::AttributeMatchingInfo):
+ (WebCore::SelectorCompiler::AttributeMatchingInfo::canDefaultToCaseSensitiveValueMatch):
+ (WebCore::SelectorCompiler::AttributeMatchingInfo::selector):
+ The value of HTMLDocument::isCaseSensitiveAttribute is needed at compilation time to compute the number
+ of required registers. As a result, we need to keep it along in the selector fragment.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ (WebCore::SelectorCompiler::SelectorCodeGenerator::SelectorCodeGenerator):
+ (WebCore::SelectorCompiler::attributeNameTestingRequiresNamespaceRegister):
+ (WebCore::SelectorCompiler::attributeValueTestingRequiresExtraRegister):
+ (WebCore::SelectorCompiler::minimumRegisterRequirements):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::markParentElementIfResolvingStyle):
+ (WebCore::SelectorCompiler::canMatchStyleAttribute):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateSynchronizeStyleAttribute):
+ (WebCore::SelectorCompiler::canMatchAnimatableSVGAttribute):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateSynchronizeAllAnimatedSVGAttribute):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementAttributeMatching):
+ The matching code is moved in a local scope. This is done to recover the register of qualifiedNameImpl
+ before doing any value matching. That register can then be used to store the expected value when matching
+ an attribute value.
+ It is unfortunate there is so much register pressure in this part.
</ins><span class="cx">
</span><del>- Make a bunch of member functions private, and remove StorageTracker::syncLocalStorage.
</del><ins>+ Value matching is done outside the loop. The idea is to keep the loop really small since in the vast majority
+ of cases, name matching fails.
+ If the value matching fails, we jump back into the tight loop.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * storage/StorageTracker.cpp:
- * storage/StorageTracker.h:
- (StorageTracker):
</del><ins>+ This is not ideal in all situation. For example trivial name matching with trivial value matching should
+ be done in loop. There is a FIXME to improve those cases later.
</ins><span class="cx">
</span><del>-2013-04-30 Andreas Kling <akling@apple.com>
</del><ins>+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementAttributeValueMatching):
+ (WebCore::SelectorCompiler::testIsHTMLClassOnDocument):
+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementAttributeValueExactMatching):
+ In the case sensitive branch, things are really simple. We have to AtomicStringImpl pointers, if they
+ don't match, it is a failure.
</ins><span class="cx">
</span><del>- REGRESSION(r149313) Crash at WebCore::FrameView::setFrameRect() when navigating back to previous page while find banner is displayed.
- <http://webkit.org/b/115421>
- <rdar://problem/13765739>
</del><ins>+ The case sensitive branch start by comparing the pointers in case the values are equal. This is a common
+ case and it simplifies the cases for SVG, XHTML, etc.
+ If the two values are not equal, we must first find if the context requires case insensitive comparison
+ (HTMLElement in HTMLDocument). If the conditions require case insensitive matching, we then fall back
+ to a function call.
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementFunctionCallTest):
+ * dom/Attribute.h:
+ (WebCore::Attribute::valueMemoryOffset):
+ * dom/Document.h:
+ (WebCore::Document::documentClassesMemoryOffset):
+ (WebCore::Document::isHTMLDocumentClassFlag):
+ * dom/Node.h:
+ (WebCore::Node::treeScopeMemoryOffset):
+ * dom/TreeScope.h:
+ (WebCore::TreeScope::documentScopeMemoryOffset):
</ins><span class="cx">
</span><del>- Add missing null-checks for Document and StyleResolver when re-evaluating media queries due to viewport changes.
</del><ins>+2014-02-27 Ryuan Choi <ryuan.choi@samsung.com>
</ins><span class="cx">
</span><del>- No layout test, since we can't show the find banner from WebCore, and I can't think of another way to
- trigger a back navigation to a Document-less Frame that would also change the FrameView's size.
</del><ins>+ Build break when disabled CSS_GRID_LAYOUT
+ https://bugs.webkit.org/show_bug.cgi?id=129459
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::setFrameRect):
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>-2013-04-30 Glenn Adams <glenn@skynav.com>
</del><ins>+ * css/CSSValue.h: Added guards of CSS_GRID_LAYOUT for GridTemplateAreasClass.
</ins><span class="cx">
</span><del>- The bison grammar for @supports should return 0 in case of an error
- https://bugs.webkit.org/show_bug.cgi?id=115402
</del><ins>+2014-02-17 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><ins>+ text-decoration-skip: ink does not skip over SVG fonts
+ https://bugs.webkit.org/show_bug.cgi?id=128936
+
</ins><span class="cx"> Reviewed by Darin Adler.
</span><span class="cx">
</span><del>- Back ported from https://chromium.googlesource.com/chromium/blink/+/74399c27c8b93286bae03a1d6371735935b34d85.
</del><ins>+ When drawing glyphs in an SVG font, the glyphs are converted to paths and then filled. This patch moves
+ the glyph -> path conversion into a helper class, GlyphToPathTranslator, and creates an implementation
+ for the SVG drawing code. Once this helper class is created, it can be used to trace paths in order
+ to make underlines skip over SVG glyphs. This helper class also has an implementation for non-SVG glyphs,
+ which allows for the glyph tracing code to be paramaterized over the implementation of the helper class
+ rather than if the FontData itself is SVG or not.
</ins><span class="cx">
</span><del>- Test: css3/supports-crash.html
</del><ins>+ Tests: fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-svg.html
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
</del><ins>+ * platform/graphics/Font.h:
+ (WebCore::GlyphToPathTranslator::~GlyphToPathTranslator): Virtual implementation of helper class
+ * platform/graphics/cg/PathCG.cpp:
+ (WebCore::Path::Path): Created constructor that takes a RefPtr<CGMutablePathRef>
+ * platform/graphics/Path.h:
+ * platform/graphics/TextRun.h: Give RenderingContext a factory function to create the helper class
+ instance
+ * platform/graphics/mac/FontMac.mm: Implementation of helper class used for skipping underlines on
+ regular (CoreText) glyphs
+ (WebCore::MacGlyphToPathTranslator::MacGlyphToPathTranslator):
+ (WebCore::MacGlyphToPathTranslator::moveToNextValidGlyph):
+ (WebCore::MacGlyphToPathTranslator::incrementIndex):
+ (WebCore::Font::dashesForIntersectionsWithRect): Call the relevant factory function, and use it
+ to successively generate Paths
+ * rendering/svg/SVGTextRunRenderingContext.cpp: Implementation of helper class used for SVG fonts
+ (WebCore::SVGGlyphToPathTranslator::SVGGlyphToPathTranslator):
+ (WebCore::SVGGlyphToPathTranslator::moveToNextValidGlyph):
+ (WebCore::SVGGlyphToPathTranslator::incrementIndex):
+ (WebCore::SVGTextRunRenderingContext::createGlyphToPathTranslator):
+ (WebCore::SVGTextRunRenderingContext::drawSVGGlyphs): Use the above implementation
+ * rendering/svg/SVGTextRunRenderingContext.h: Factory function declaration
</ins><span class="cx">
</span><del>-2013-04-30 Darin Adler <darin@apple.com>
</del><ins>+2014-02-27 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>- [CG] Over-release in MIME type registry code
- https://bugs.webkit.org/show_bug.cgi?id=115423
</del><ins>+ [WebRTC] Removing MediaConstraints argument from RTCPeerConnection addStream, updateIce methods and constructor
+ https://bugs.webkit.org/show_bug.cgi?id=129449
</ins><span class="cx">
</span><span class="cx"> Reviewed by Eric Carlson.
</span><span class="cx">
</span><del>- Sam Weinig spotted these by code inspection. I don't know how to make a test demonstrating
- the problem, but this is clearly an over-release.
</del><ins>+ According to WebRTC editor's draft, MediaConstraints will no longer be an argument of those methods and
+ constructor.
</ins><span class="cx">
</span><del>- * platform/MIMETypeRegistry.cpp:
- (WebCore::initializeSupportedImageMIMETypes): Removed incorrect adoptCF call on a string we
- are getting from a CFArray.
- (WebCore::initializeSupportedImageMIMETypesForEncoding): Ditto.
</del><ins>+ Existing tests were updated.
</ins><span class="cx">
</span><del>-2013-04-30 Mike Lattanzio <mlattanzio@blackberry.com>
</del><ins>+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::RTCPeerConnection::create):
+ (WebCore::RTCPeerConnection::RTCPeerConnection):
+ (WebCore::RTCPeerConnection::updateIce):
+ (WebCore::RTCPeerConnection::addStream):
+ * Modules/mediastream/RTCPeerConnection.h:
+ * Modules/mediastream/RTCPeerConnection.idl:
+ * bindings/js/JSRTCPeerConnectionCustom.cpp:
+ (WebCore::JSRTCPeerConnectionConstructor::constructJSRTCPeerConnection):
+ * platform/mediastream/RTCPeerConnectionHandler.h:
+ * platform/mock/RTCPeerConnectionHandlerMock.cpp:
+ (WebCore::RTCPeerConnectionHandlerMock::initialize):
+ (WebCore::RTCPeerConnectionHandlerMock::updateIce):
+ (WebCore::RTCPeerConnectionHandlerMock::addStream):
+ * platform/mock/RTCPeerConnectionHandlerMock.h:
</ins><span class="cx">
</span><del>- [BlackBerry] ImageBuffer::copyImage leaking memory
- https://bugs.webkit.org/show_bug.cgi?id=115359
</del><ins>+2014-02-27 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by George Staikos.
</del><ins>+ [CSS Regions] Move named-flow specific method decorationsClipRectForBoxInRegion to RenderNamedFlowThread
+ https://bugs.webkit.org/show_bug.cgi?id=129428
</ins><span class="cx">
</span><del>- Use a WebCore::Vector to ensure the temporary data is destroyed.
- The TiledImage does not take ownership of the data.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/ImageBufferBlackBerry.cpp:
- (WebCore::ImageBuffer::copyImage):
</del><ins>+ Since the decorationsClipRectForBoxInRegion method is a named flow specific method, it makes
+ sense to be in the named flow specific class, RenderNamedFlowThread, instead of the more
+ generic RenderFlowThread.
</ins><span class="cx">
</span><del>-2013-04-30 Noam Rosenthal <noam@webkit.org>
</del><ins>+ No new tests required. No new functionality.
</ins><span class="cx">
</span><del>- [Texmap] Avoid using overlap/non-overlap region in cases where the overhead is bigger than the gain
- https://bugs.webkit.org/show_bug.cgi?id=115226
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::paintObject):
+ * rendering/RenderFlowThread.cpp:
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::decorationsClipRectForBoxInNamedFlowFragment):
+ * rendering/RenderNamedFlowThread.h:
</ins><span class="cx">
</span><del>- Reviewed by Allan Sandfeld Jensen.
</del><ins>+2014-02-27 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- When there are several fragmeneted overlap regions, or when the overlap region is bigger than the
- non-overlap region, it's more efficient to have a single intermediate surface rather than split
- the rendering to overlap/non-overlap.
</del><ins>+ Avoid calling logicalLeftOffsetForLine 2 times in LineWidth::fitBelowFloats
+ https://bugs.webkit.org/show_bug.cgi?id=129433
</ins><span class="cx">
</span><del>- Covered by tests in compositing/overlap-blending.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/TextureMapperLayer.cpp:
- (WebCore::TextureMapperLayer::shouldBlend):
- Readability fix.
</del><ins>+ This change updates fitBelowFloats and its helpers to call RenderBlock::logicalLeftOffsetForLine only once.
</ins><span class="cx">
</span><del>- (WebCore::TextureMapperLayer::paintUsingOverlapRegions):
- Consolidate to one overlap rect when one of the following occurs:
- - The overlap region's area is larger than the non-overlap region area.
- - There are many fragmented overlap regions and no non-overlap regions.
</del><ins>+ No new tests, no behavior change.
</ins><span class="cx">
</span><del>-2013-04-30 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ * rendering/line/LineWidth.cpp:
+ (WebCore::availableWidthAtOffset):
+ (WebCore::LineWidth::updateLineDimension):
+ (WebCore::LineWidth::wrapNextToShapeOutside):
+ (WebCore::LineWidth::fitBelowFloats):
+ * rendering/line/LineWidth.h:
</ins><span class="cx">
</span><del>- Stop using "in" keyword in IDL files
- https://bugs.webkit.org/show_bug.cgi?id=115418
</del><ins>+2014-02-27 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Micro-optimize elementAffectsDirectionality().
+ <https://webkit.org/b/129444>
</ins><span class="cx">
</span><del>- Stop using "in" keyword in IDL files as this is no longer part of the
- Web IDL specification and it brings no additional information.
</del><ins>+ Tweak this function to skip an unnecessary bit check and use
+ fastHasAttribute() instead of hasAttribute() for looking up dirAttr.
</ins><span class="cx">
</span><del>- For now, the IDL parser will still accept the "in" keyword for operation
- argument to not break anything. However, we should remove support for it
- later on.
</del><ins>+ ~1% speedup on DYEB/AngularJS.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>- * Modules/battery/BatteryManager.idl:
- * Modules/encryptedmedia/MediaKeySession.idl:
- * Modules/encryptedmedia/MediaKeys.idl:
- * Modules/filesystem/DOMWindowFileSystem.idl:
- * Modules/filesystem/DirectoryEntry.idl:
- * Modules/filesystem/DirectoryEntrySync.idl:
- * Modules/filesystem/DirectoryReader.idl:
- * Modules/filesystem/EntriesCallback.idl:
- * Modules/filesystem/Entry.idl:
- * Modules/filesystem/EntryArray.idl:
- * Modules/filesystem/EntryArraySync.idl:
- * Modules/filesystem/EntryCallback.idl:
- * Modules/filesystem/EntrySync.idl:
- * Modules/filesystem/ErrorCallback.idl:
- * Modules/filesystem/FileCallback.idl:
- * Modules/filesystem/FileEntry.idl:
- * Modules/filesystem/FileSystemCallback.idl:
- * Modules/filesystem/FileWriter.idl:
- * Modules/filesystem/FileWriterCallback.idl:
- * Modules/filesystem/FileWriterSync.idl:
- * Modules/filesystem/MetadataCallback.idl:
- * Modules/filesystem/WorkerContextFileSystem.idl:
- * Modules/gamepad/GamepadList.idl:
- * Modules/geolocation/Geolocation.idl:
- * Modules/geolocation/PositionCallback.idl:
- * Modules/geolocation/PositionErrorCallback.idl:
- * Modules/indexeddb/IDBCursor.idl:
- * Modules/indexeddb/IDBDatabase.idl:
- * Modules/indexeddb/IDBFactory.idl:
- * Modules/indexeddb/IDBIndex.idl:
- * Modules/indexeddb/IDBKeyRange.idl:
- * Modules/indexeddb/IDBObjectStore.idl:
- * Modules/indexeddb/IDBRequest.idl:
- * Modules/indexeddb/IDBTransaction.idl:
- * Modules/mediasource/MediaSource.idl:
- * Modules/mediasource/SourceBuffer.idl:
- * Modules/mediasource/SourceBufferList.idl:
- * Modules/mediastream/MediaStream.idl:
- * Modules/mediastream/MediaStreamTrack.idl:
- * Modules/mediastream/NavigatorMediaStream.idl:
- * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
- * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
- * Modules/mediastream/RTCDTMFSender.idl:
- * Modules/mediastream/RTCDataChannel.idl:
- * Modules/mediastream/RTCErrorCallback.idl:
- * Modules/mediastream/RTCIceCandidate.idl:
- * Modules/mediastream/RTCPeerConnection.idl:
- * Modules/mediastream/RTCSessionDescription.idl:
- * Modules/mediastream/RTCSessionDescriptionCallback.idl:
- * Modules/mediastream/RTCStatsCallback.idl:
- * Modules/mediastream/RTCStatsReport.idl:
- * Modules/mediastream/RTCStatsResponse.idl:
- * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
- * Modules/networkinfo/NetworkInfoConnection.idl:
- * Modules/notifications/Notification.idl:
- * Modules/notifications/NotificationCenter.idl:
- * Modules/notifications/NotificationPermissionCallback.idl:
- * Modules/quota/StorageErrorCallback.idl:
- * Modules/quota/StorageInfo.idl:
- * Modules/quota/StorageQuota.idl:
- * Modules/quota/StorageQuotaCallback.idl:
- * Modules/quota/StorageUsageCallback.idl:
- * Modules/speech/SpeechGrammarList.idl:
- * Modules/speech/SpeechRecognition.idl:
- * Modules/speech/SpeechRecognitionResult.idl:
- * Modules/speech/SpeechRecognitionResultList.idl:
- * Modules/speech/SpeechSynthesisUtterance.idl:
- * Modules/vibration/NavigatorVibration.idl:
- * Modules/webaudio/AnalyserNode.idl:
- * Modules/webaudio/AudioBuffer.idl:
- * Modules/webaudio/AudioBufferCallback.idl:
- * Modules/webaudio/AudioBufferSourceNode.idl:
- * Modules/webaudio/AudioContext.idl:
- * Modules/webaudio/AudioListener.idl:
- * Modules/webaudio/AudioNode.idl:
- * Modules/webaudio/AudioParam.idl:
- * Modules/webaudio/BiquadFilterNode.idl:
- * Modules/webaudio/OfflineAudioContext.idl:
- * Modules/webaudio/OscillatorNode.idl:
- * Modules/webaudio/PannerNode.idl:
- * Modules/webdatabase/DOMWindowWebDatabase.idl:
- * Modules/webdatabase/Database.idl:
- * Modules/webdatabase/DatabaseCallback.idl:
- * Modules/webdatabase/DatabaseSync.idl:
- * Modules/webdatabase/SQLResultSetRowList.idl:
- * Modules/webdatabase/SQLStatementCallback.idl:
- * Modules/webdatabase/SQLStatementErrorCallback.idl:
- * Modules/webdatabase/SQLTransaction.idl:
- * Modules/webdatabase/SQLTransactionCallback.idl:
- * Modules/webdatabase/SQLTransactionErrorCallback.idl:
- * Modules/webdatabase/SQLTransactionSync.idl:
- * Modules/webdatabase/SQLTransactionSyncCallback.idl:
- * Modules/webdatabase/WorkerContextWebDatabase.idl:
- * Modules/websockets/WebSocket.idl:
- * bindings/scripts/test/TestCallback.idl:
- * bindings/scripts/test/TestCustomNamedGetter.idl:
- * bindings/scripts/test/TestDomainSecurity.idl:
- * bindings/scripts/test/TestEventTarget.idl:
- * bindings/scripts/test/TestInterface.idl:
- * bindings/scripts/test/TestMediaQueryListListener.idl:
- * bindings/scripts/test/TestNamedConstructor.idl:
- * bindings/scripts/test/TestObj.idl:
- * bindings/scripts/test/TestOverloadedConstructors.idl:
- * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
- * bindings/scripts/test/TestSupplemental.idl:
- * bindings/scripts/test/TestTypedArray.idl:
- * bindings/scripts/test/TestTypedefs.idl:
- * css/CSSHostRule.idl:
- * css/CSSMediaRule.idl:
- * css/CSSPrimitiveValue.idl:
- * css/CSSRuleList.idl:
- * css/CSSStyleDeclaration.idl:
- * css/CSSStyleSheet.idl:
- * css/CSSSupportsRule.idl:
- * css/CSSValueList.idl:
- * css/FontLoader.idl:
- * css/MediaList.idl:
- * css/MediaQueryList.idl:
- * css/MediaQueryListListener.idl:
- * css/StyleMedia.idl:
- * css/StyleSheetList.idl:
- * css/WebKitCSSKeyframesRule.idl:
- * css/WebKitCSSMatrix.idl:
- * dom/CharacterData.idl:
- * dom/ClientRectList.idl:
- * dom/Clipboard.idl:
- * dom/CompositionEvent.idl:
- * dom/CustomEvent.idl:
- * dom/DOMImplementation.idl:
- * dom/DOMNamedFlowCollection.idl:
- * dom/DOMStringList.idl:
- * dom/DataTransferItem.idl:
- * dom/DataTransferItemList.idl:
- * dom/DeviceMotionEvent.idl:
- * dom/DeviceOrientationEvent.idl:
- * dom/Document.idl:
- * dom/DocumentFragment.idl:
- * dom/Element.idl:
- * dom/Event.idl:
- * dom/EventListener.idl:
- * dom/EventTarget.idl:
- * dom/HashChangeEvent.idl:
- * dom/KeyboardEvent.idl:
- * dom/MessageEvent.idl:
- * dom/MessagePort.idl:
- * dom/MouseEvent.idl:
- * dom/MutationEvent.idl:
- * dom/MutationObserver.idl:
- * dom/NamedNodeMap.idl:
- * dom/Node.idl:
- * dom/NodeFilter.idl:
- * dom/NodeList.idl:
- * dom/OverflowEvent.idl:
- * dom/PropertyNodeList.idl:
- * dom/Range.idl:
- * dom/RequestAnimationFrameCallback.idl:
- * dom/ShadowRoot.idl:
- * dom/StringCallback.idl:
- * dom/Text.idl:
- * dom/TextEvent.idl:
- * dom/TouchEvent.idl:
- * dom/TouchList.idl:
- * dom/UIEvent.idl:
- * dom/WebKitNamedFlow.idl:
- * dom/WheelEvent.idl:
- * fileapi/Blob.idl:
- * fileapi/FileList.idl:
- * fileapi/FileReader.idl:
- * fileapi/FileReaderSync.idl:
- * html/DOMFormData.idl:
- * html/DOMTokenList.idl:
- * html/DOMURL.idl:
- * html/HTMLAllCollection.idl:
- * html/HTMLAudioElement.idl:
- * html/HTMLButtonElement.idl:
- * html/HTMLCanvasElement.idl:
- * html/HTMLCollection.idl:
- * html/HTMLDocument.idl:
- * html/HTMLElement.idl:
- * html/HTMLFieldSetElement.idl:
- * html/HTMLFormControlsCollection.idl:
- * html/HTMLInputElement.idl:
- * html/HTMLKeygenElement.idl:
- * html/HTMLMediaElement.idl:
- * html/HTMLObjectElement.idl:
- * html/HTMLOptionElement.idl:
- * html/HTMLOptionsCollection.idl:
- * html/HTMLOutputElement.idl:
- * html/HTMLPropertiesCollection.idl:
- * html/HTMLSelectElement.idl:
- * html/HTMLTableElement.idl:
- * html/HTMLTableRowElement.idl:
- * html/HTMLTableSectionElement.idl:
- * html/HTMLTextAreaElement.idl:
- * html/MediaController.idl:
- * html/TimeRanges.idl:
- * html/canvas/ArrayBuffer.idl:
- * html/canvas/CanvasGradient.idl:
- * html/canvas/CanvasRenderingContext2D.idl:
- * html/canvas/DOMPath.idl:
- * html/canvas/DataView.idl:
- * html/canvas/EXTDrawBuffers.idl:
- * html/canvas/Float32Array.idl:
- * html/canvas/Float64Array.idl:
- * html/canvas/Int16Array.idl:
- * html/canvas/Int32Array.idl:
- * html/canvas/Int8Array.idl:
- * html/canvas/OESVertexArrayObject.idl:
- * html/canvas/Uint16Array.idl:
- * html/canvas/Uint32Array.idl:
- * html/canvas/Uint8Array.idl:
- * html/canvas/Uint8ClampedArray.idl:
- * html/canvas/WebGLDebugShaders.idl:
- * html/canvas/WebGLRenderingContext.idl:
- * html/track/AudioTrackList.idl:
- * html/track/TextTrack.idl:
- * html/track/TextTrackCue.idl:
- * html/track/TextTrackCueList.idl:
- * html/track/TextTrackList.idl:
- * html/track/TextTrackRegionList.idl:
- * html/track/VideoTrackList.idl:
- * inspector/InjectedScriptHost.idl:
- * inspector/InspectorFrontendHost.idl:
- * inspector/JavaScriptCallFrame.idl:
- * loader/appcache/DOMApplicationCache.idl:
- * page/Console.idl:
- * page/Crypto.idl:
- * page/DOMSecurityPolicy.idl:
- * page/DOMSelection.idl:
- * page/DOMWindow.idl:
- * page/EventSource.idl:
- * page/History.idl:
- * page/Location.idl:
- * page/PagePopupController.idl:
- * page/Performance.idl:
- * page/PerformanceEntryList.idl:
- * page/SpeechInputResultList.idl:
- * plugins/DOMMimeTypeArray.idl:
- * plugins/DOMPlugin.idl:
- * plugins/DOMPluginArray.idl:
- * storage/Storage.idl:
- * storage/StorageEvent.idl:
- * svg/ElementTimeControl.idl:
- * svg/SVGAngle.idl:
- * svg/SVGColor.idl:
- * svg/SVGDocument.idl:
- * svg/SVGElementInstanceList.idl:
- * svg/SVGFEDropShadowElement.idl:
- * svg/SVGFEGaussianBlurElement.idl:
- * svg/SVGFEMorphologyElement.idl:
- * svg/SVGFilterElement.idl:
- * svg/SVGLength.idl:
- * svg/SVGLengthList.idl:
- * svg/SVGLocatable.idl:
- * svg/SVGMarkerElement.idl:
- * svg/SVGMatrix.idl:
- * svg/SVGNumberList.idl:
- * svg/SVGPaint.idl:
- * svg/SVGPathElement.idl:
- * svg/SVGPathSegList.idl:
- * svg/SVGPoint.idl:
- * svg/SVGPointList.idl:
- * svg/SVGSVGElement.idl:
- * svg/SVGStringList.idl:
- * svg/SVGStyledElement.idl:
- * svg/SVGTests.idl:
- * svg/SVGTextContentElement.idl:
- * svg/SVGTransform.idl:
- * svg/SVGTransformList.idl:
- * testing/InternalSettings.idl:
- * testing/Internals.idl:
- * workers/AbstractWorker.idl:
- * workers/DedicatedWorkerContext.idl:
- * workers/SharedWorker.idl:
- * workers/Worker.idl:
- * workers/WorkerContext.idl:
- * xml/DOMParser.idl:
- * xml/XMLHttpRequest.idl:
- * xml/XMLHttpRequestUpload.idl:
- * xml/XMLSerializer.idl:
- * xml/XPathEvaluator.idl:
- * xml/XPathExpression.idl:
- * xml/XPathNSResolver.idl:
- * xml/XPathResult.idl:
- * xml/XSLTProcessor.idl:
</del><ins>+ * html/HTMLElement.cpp:
+ (WebCore::elementAffectsDirectionality):
</ins><span class="cx">
</span><del>-2013-04-30 Noam Rosenthal <noam@webkit.org>
</del><ins>+2014-02-27 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- [Texmap] Use fewer intermediate surfaces when compositing filters
- https://bugs.webkit.org/show_bug.cgi?id=115224
</del><ins>+ Web Inspector: model tests should use a special Test.html inspector page
+ https://bugs.webkit.org/show_bug.cgi?id=129190
</ins><span class="cx">
</span><del>- Reviewed by Allan Sandfeld Jensen.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Until now, when rendering CSS filters, the filters were applied to the texture
- and then the resulting texture would be composited to the target surface with
- its transform/opacity.
- This requires at least two intermediate surface passes for every filtered layer.
</del><ins>+ Convert InspectorController::isUnderTest() into a flag, and expose an
+ Internals method so it can be set by the test before opening the inspector.
</ins><span class="cx">
</span><del>- This patch makes it so that the last filter pass is applied together with the
- resulting surface's opacity and transform, during composition.
</del><ins>+ Test: inspector/test-harness-trivially-works.html
</ins><span class="cx">
</span><del>- Tested by css3/filters tests, whichn now scroll/zoom a lot faster.
</del><ins>+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::evaluateForTestInFrontend):
+ * inspector/InspectorController.h:
+ * testing/Internals.cpp:
+ (WebCore::Internals::setInspectorIsUnderTest): Added.
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/TextureMapper.h:
- (WebCore::BitmapTexture::applyFilters):
- * platform/graphics/texmap/TextureMapperGL.cpp:
- (WebCore::TextureMapperGLData::TextureMapperGLData):
- (TextureMapperGLData):
- (WebCore):
- (WebCore::optionsForFilterType):
- (WebCore::getPassesRequiredForFilter):
- (WebCore::gauss):
- (WebCore::gaussianKernel):
- (WebCore::prepareFilterProgram):
- (WebCore::TextureMapperGL::drawTexture):
- (WebCore::TextureMapperGL::drawFiltered):
- (WebCore::isCustomFilter):
- * platform/graphics/texmap/TextureMapperGL.h:
- (TextureMapperGL):
- (BitmapTextureGL):
- (FilterInfo):
- * platform/graphics/texmap/TextureMapperImageBuffer.cpp:
- (WebCore::BitmapTextureImageBuffer::applyFilters):
- * platform/graphics/texmap/TextureMapperImageBuffer.h:
- (BitmapTextureImageBuffer):
- (WebCore::BitmapTextureGL::FilterInfo::FilterInfo):
- (WebCore::BitmapTextureGL::filterInfo):
- (WebCore::BitmapTextureGL::applyFilters):
- Modify TextureMapperGL to remember the last filter operation applied
- to a BitmapTexture and apply it when the texture is composited.
</del><ins>+2014-02-27 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/TextureMapperLayer.cpp:
- (WebCore::TextureMapperLayer::paintIntoSurface):
- Simplify the call to applyFilters, since now TextureMapperGL is responsible
- for maintaining the content texture.
</del><ins>+ Unreviewed build fix after r164824.
</ins><span class="cx">
</span><ins>+ Accidentally re-added some code that was removed.
</ins><span class="cx">
</span><del>-2013-04-30 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ * page/ContentSecurityPolicy.cpp:
</ins><span class="cx">
</span><del>- [EFL] Enable scaled cursors
- https://bugs.webkit.org/show_bug.cgi?id=106242
</del><ins>+2014-02-26 Alex Christensen <achristensen@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Gyuyoung Kim.
</del><ins>+ Compile fix when not using TEXTURE_MAPPER_GL.
+ https://bugs.webkit.org/show_bug.cgi?id=129417
</ins><span class="cx">
</span><del>- Correctly copy WebCore::Cursor's m_imageScaleFactor
- member in CursorEfl.cpp when MOUSE_CURSOR_SCALE is
- enabled.
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- No new tests, already covered by existing tests.
</del><ins>+ * platform/graphics/texmap/TextureMapperGL.cpp:
+ Protect platformCreateAccelerated with USE(TEXTURE_MAPPER_GL).
</ins><span class="cx">
</span><del>- * platform/efl/CursorEfl.cpp:
- (WebCore::Cursor::Cursor):
- (WebCore::Cursor::operator=):
</del><ins>+2014-02-27 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>-2013-04-30 Thiago Marcos P. Santos <thiago.santos@intel.com>
</del><ins>+ Web Inspector: JSContext inspection should report exceptions in the console
+ https://bugs.webkit.org/show_bug.cgi?id=128776
</ins><span class="cx">
</span><del>- CSSParser::parseFontFamily should allow the keyword "default" as part of a font name
- https://bugs.webkit.org/show_bug.cgi?id=107231
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Reviewed by Ryosuke Niwa.
</del><ins>+ Include some clean up of ConsoleMessage and ScriptCallStack construction.
</ins><span class="cx">
</span><del>- Make sure that using the keyword "default" as font family doesn't
- invalidate the whole declaration. It is also OK to use a font that
- has "default" as part of a composite name (i.e. "default foo").
- This matches the behavior of Firefox and IE.
</del><ins>+ Covered by existing tests.
</ins><span class="cx">
</span><del>- Test: fast/css/font-family-parse-keyword.html
</del><ins>+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::reportException):
+ Simplify code now that createStackTraceFromException handles it.
</ins><span class="cx">
</span><del>- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseFontFamily):
</del><ins>+ * page/ContentSecurityPolicy.cpp:
+ (WebCore::gatherSecurityPolicyViolationEventData):
+ (WebCore::ContentSecurityPolicy::reportViolation):
+ ScriptCallStack can give us the first non-native callframe.
</ins><span class="cx">
</span><del>-2013-04-30 Zalan Bujtas <zalan@apple.com>
</del><ins>+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::InspectorResourceAgent::buildInitiatorObject):
+ * inspector/PageDebuggerAgent.cpp:
+ (WebCore::PageDebuggerAgent::breakpointActionLog):
+ * inspector/TimelineRecordFactory.cpp:
+ (WebCore::TimelineRecordFactory::createGenericRecord):
+ * page/Console.cpp:
+ (WebCore::internalAddMessage):
+ (WebCore::Console::profile):
+ (WebCore::Console::profileEnd):
+ (WebCore::Console::timeEnd):
+ * page/ContentSecurityPolicy.cpp:
+ (WebCore::gatherSecurityPolicyViolationEventData):
+ (WebCore::ContentSecurityPolicy::reportViolation):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::postMessage):
</ins><span class="cx">
</span><del>- Animations fail to start on http://www.google.com/insidesearch/howsearchworks/thestory/
- https://bugs.webkit.org/show_bug.cgi?id=111244
</del><ins>+2014-02-27 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
-
- Enable performance.now() as a minimal subset of Web Timing API.
- It returns DOMHighResTimeStamp, a monotonically increasing value representing the
- number of milliseconds from the start of the navigation of the current document.
- JS libraries use this API to check against the requestAnimationFrame() timestamp.
</del><ins>+ Remove FeatureObserver.
+ <https://webkit.org/b/129439>
</ins><span class="cx">
</span><del>- Test: fast/dom/Window/web-timing-minimal-performance-now.html
</del><ins>+ This code was only used by the Chromium port and nobody else is
+ making use of it.
</ins><span class="cx">
</span><del>- * Configurations/FeatureDefines.xcconfig:
</del><ins>+ Reviewed by Anders Carlsson.
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
</ins><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * dom/EventTargetFactory.in:
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::~DOMWindow):
- (WebCore::DOMWindow::resetDOMWindowProperties):
- (WebCore):
- * page/DOMWindow.h:
- (DOMWindow):
- * page/DOMWindow.idl:
- * page/Performance.cpp:
- (WebCore):
- * page/Performance.h:
- (Performance):
- * page/Performance.idl:
</del><ins>+ * dom/EventTarget.cpp:
+ (WebCore::EventTarget::fireEventListeners):
+ * dom/EventTarget.h:
+ * html/ColorInputType.cpp:
+ * html/ColorInputType.h:
+ * html/DateInputType.cpp:
+ * html/DateInputType.h:
+ * html/DateTimeInputType.cpp:
+ * html/DateTimeInputType.h:
+ * html/DateTimeLocalInputType.cpp:
+ * html/DateTimeLocalInputType.h:
+ * html/EmailInputType.cpp:
+ * html/EmailInputType.h:
+ * html/HTMLDataListElement.cpp:
+ (WebCore::HTMLDataListElement::create):
+ * html/HTMLFormControlElement.cpp:
+ (WebCore::HTMLFormControlElement::parseAttribute):
+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::parseAttribute):
+ * html/HTMLTextFormControlElement.cpp:
+ (WebCore::HTMLTextFormControlElement::parseAttribute):
+ * html/InputType.cpp:
+ * html/InputType.h:
+ * html/MonthInputType.cpp:
+ * html/MonthInputType.h:
+ * html/NumberInputType.cpp:
+ * html/NumberInputType.h:
+ * html/RangeInputType.cpp:
+ * html/RangeInputType.h:
+ * html/SearchInputType.cpp:
+ * html/SearchInputType.h:
+ * html/TelephoneInputType.cpp:
+ * html/TelephoneInputType.h:
+ * html/TextInputType.cpp:
+ * html/TextInputType.h:
+ * html/TimeInputType.cpp:
+ * html/TimeInputType.h:
+ * html/URLInputType.cpp:
+ * html/URLInputType.h:
+ * html/WeekInputType.cpp:
+ * html/WeekInputType.h:
+ * loader/DocumentLoader.cpp:
+ (WebCore::DocumentLoader::responseReceived):
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):
+ (WebCore::FrameLoader::dispatchDidCommitLoad):
+ * page/ContentSecurityPolicy.cpp:
+ (WebCore::ContentSecurityPolicy::didReceiveHeader):
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::selectCursor):
+ * page/FeatureObserver.cpp: Removed.
+ * page/FeatureObserver.h: Removed.
+ * page/Page.h:
+ * rendering/RenderDeprecatedFlexibleBox.cpp:
+ (WebCore::RenderDeprecatedFlexibleBox::RenderDeprecatedFlexibleBox):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::calculateClipRects):
+ * workers/SharedWorker.cpp:
+ (WebCore::SharedWorker::create):
+ * workers/Worker.cpp:
+ (WebCore::Worker::create):
</ins><span class="cx">
</span><del>-2013-04-30 Commit Queue <rniwa@webkit.org>
</del><ins>+2014-02-27 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- Unreviewed, rolling out r149338.
- http://trac.webkit.org/changeset/149338
- https://bugs.webkit.org/show_bug.cgi?id=115409
</del><ins>+ speechSynthesis.speak of a zero length utterance kills future speech
+ https://bugs.webkit.org/show_bug.cgi?id=129403
</ins><span class="cx">
</span><del>- Broke layout/perf/API tests on non-Mac:
- ThreadSpecific<RefPtr<RunLoop>> does not initialize RunLoop
- (Requested by rakuco on #webkit).
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- * platform/RunLoop.cpp:
- (WebCore::RunLoop::current):
- * platform/RunLoop.h:
- (RunLoop):
- * platform/cf/RunLoopCF.cpp:
- (WebCore::RunLoop::initializeMainRunLoop):
- (WebCore::RunLoop::current):
- (WebCore::RunLoop::~RunLoop):
- * platform/efl/RunLoopEfl.cpp:
- (WebCore::RunLoop::~RunLoop):
- * platform/gtk/RunLoopGtk.cpp:
- (WebCore::RunLoop::~RunLoop):
- * platform/win/RunLoopWin.cpp:
- (WebCore::RunLoop::~RunLoop):
</del><ins>+ Empty length strings may choke a synthesizer and result in didFinishSpeaking not being called.
+ The WebKit code should be proactive about screening out empty length strings.
</ins><span class="cx">
</span><del>-2013-04-30 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ Test: platform/mac/fast/speechsynthesis/speech-synthesis-speak-empty-string.html
</ins><span class="cx">
</span><del>- ImageBufferData: add BlackBerry header
- https://bugs.webkit.org/show_bug.cgi?id=115408
</del><ins>+ * Modules/speech/SpeechSynthesis.cpp:
+ (WebCore::SpeechSynthesis::startSpeakingImmediately):
</ins><span class="cx">
</span><del>- Reviewed by Carlos Garcia Campos.
</del><ins>+2014-02-27 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- * platform/graphics/ImageBufferData.h:
</del><ins>+ Unreviewed, rolling out r164783.
+ http://trac.webkit.org/changeset/164783
+ https://bugs.webkit.org/show_bug.cgi?id=129425
</ins><span class="cx">
</span><del>-2013-04-30 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Broke number of multicol tests (Requested by anttik on
+ #webkit).
</ins><span class="cx">
</span><del>- Replace "Optional" extended attribute by proper Web IDL "optional" keyword
- https://bugs.webkit.org/show_bug.cgi?id=115380
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::containingColumnsBlock):
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+2014-02-27 Antoine Quint <graouts@webkit.org>
</ins><span class="cx">
</span><del>- Replace [Optional] with standard WebIDL optional type prefix:
- http://dev.w3.org/2006/webapi/WebIDL/#dfn-optional-argument
</del><ins>+ Respect SVG fragment identifiers in <img> src attribute
+ https://bugs.webkit.org/show_bug.cgi?id=129387
</ins><span class="cx">
</span><del>- The default behavior now matches WebIDL: [Optional] => optional
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Two cases where WebKit has extended bindings behavior still
- require a non-standard IDL attribute:
- [Optional=DefaultIsNullString] => [Default=NullString] optional
- [Optional=DefaultIsUndefined] => [Default=Undefined] optional
</del><ins>+ Test: svg/css/svg-resource-fragment-identifier-img-src.html
</ins><span class="cx">
</span><del>- Based on corresponding Blink patch from Joshua Bell for compatibility.
</del><ins>+ When providing an SVG image for a given renderer, check that the URL used to load
+ that image is taken into account in case it featured a fragment identifier, ensuring
+ that the CSS :target pseudo-class is correctly handled for SVG resources. This patch
+ is specific to <img> elements, specific support will also need to be added for various
+ CSS properties that support SVG images.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ * svg/graphics/SVGImageCache.cpp:
+ (WebCore::SVGImageCache::imageForRenderer):
+ Check if the provided renderer is attached to an <img> element and, if so, pass the
+ resolved <img> source URL, taking into account srcset, to the SVGImageForContainer.
</ins><span class="cx">
</span><del>- * Modules/battery/BatteryManager.idl:
- * Modules/encryptedmedia/MediaKeySession.idl:
- * Modules/encryptedmedia/MediaKeys.idl:
- * Modules/filesystem/DOMWindowFileSystem.idl:
- * Modules/filesystem/DirectoryEntry.idl:
- * Modules/filesystem/DirectoryReader.idl:
- * Modules/filesystem/Entry.idl:
- * Modules/filesystem/FileEntry.idl:
- * Modules/filesystem/FileWriter.idl:
- * Modules/filesystem/WorkerContextFileSystem.idl:
- * Modules/gamepad/GamepadList.idl:
- * Modules/geolocation/Geolocation.idl:
- * Modules/indexeddb/IDBCursor.idl:
- * Modules/indexeddb/IDBDatabase.idl:
- * Modules/indexeddb/IDBFactory.idl:
- * Modules/indexeddb/IDBIndex.idl:
- * Modules/indexeddb/IDBKeyRange.idl:
- * Modules/indexeddb/IDBObjectStore.idl:
- * Modules/indexeddb/IDBRequest.idl:
- * Modules/indexeddb/IDBTransaction.idl:
- * Modules/mediasource/MediaSource.idl:
- * Modules/mediasource/SourceBufferList.idl:
- * Modules/mediastream/MediaStream.idl:
- * Modules/mediastream/MediaStreamTrack.idl:
- * Modules/mediastream/NavigatorMediaStream.idl:
- * Modules/mediastream/RTCDTMFSender.idl:
- * Modules/mediastream/RTCDataChannel.idl:
- * Modules/mediastream/RTCPeerConnection.idl:
- * Modules/mediastream/RTCStatsResponse.idl:
- * Modules/networkinfo/NetworkInfoConnection.idl:
- * Modules/notifications/Notification.idl:
- * Modules/notifications/NotificationCenter.idl:
- * Modules/quota/StorageInfo.idl:
- * Modules/quota/StorageQuota.idl:
- * Modules/speech/SpeechGrammarList.idl:
- * Modules/speech/SpeechRecognition.idl:
- * Modules/speech/SpeechSynthesisUtterance.idl:
- * Modules/webaudio/AudioContext.idl:
- * Modules/webaudio/AudioNode.idl:
- * Modules/webdatabase/DOMWindowWebDatabase.idl:
- * Modules/webdatabase/Database.idl:
- * Modules/webdatabase/DatabaseSync.idl:
- * Modules/webdatabase/SQLTransaction.idl:
- * Modules/webdatabase/WorkerContextWebDatabase.idl:
- * Modules/websockets/WebSocket.idl:
- * bindings/scripts/CodeGeneratorJS.pm:
- (GetFunctionLength):
- (GenerateFunctionParametersCheck):
- (GenerateArgumentsCountCheck):
- (GenerateParametersCheck):
- (GenerateConstructorDefinition):
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/IDLParser.pm:
- (parseOptionalOrRequiredArgument):
- * bindings/scripts/test/TestEventTarget.idl:
- * bindings/scripts/test/TestInterface.idl:
- * bindings/scripts/test/TestNamedConstructor.idl:
- * bindings/scripts/test/TestObj.idl:
- * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
- * bindings/scripts/test/TestTypedefs.idl: optional cannot be used in a typedef.
- * css/CSSHostRule.idl:
- * css/CSSMediaRule.idl:
- * css/CSSPrimitiveValue.idl:
- * css/CSSRuleList.idl:
- * css/CSSStyleDeclaration.idl:
- * css/CSSStyleSheet.idl:
- * css/CSSSupportsRule.idl:
- * css/CSSValueList.idl:
- * css/FontLoader.idl:
- * css/MediaList.idl:
- * css/MediaQueryList.idl:
- * css/MediaQueryListListener.idl:
- * css/StyleMedia.idl:
- * css/StyleSheetList.idl:
- * css/WebKitCSSKeyframesRule.idl:
- * css/WebKitCSSMatrix.idl:
- * dom/CharacterData.idl:
- * dom/ClientRectList.idl:
- * dom/Clipboard.idl:
- * dom/CompositionEvent.idl:
- * dom/CustomEvent.idl:
- * dom/DOMImplementation.idl:
- * dom/DOMStringList.idl:
- * dom/DataTransferItem.idl:
- * dom/DataTransferItemList.idl:
- * dom/DeviceMotionEvent.idl:
- * dom/DeviceOrientationEvent.idl:
- * dom/Document.idl:
- * dom/Element.idl:
- * dom/Event.idl:
- * dom/EventTarget.idl:
- * dom/HashChangeEvent.idl:
- * dom/KeyboardEvent.idl:
- * dom/MessageEvent.idl:
- * dom/MessagePort.idl:
- * dom/MouseEvent.idl:
- * dom/MutationEvent.idl:
- * dom/NamedNodeMap.idl:
- * dom/Node.idl:
- * dom/NodeFilter.idl:
- * dom/NodeList.idl:
- * dom/OverflowEvent.idl:
- * dom/Range.idl:
- * dom/ShadowRoot.idl:
- * dom/Text.idl:
- * dom/TextEvent.idl:
- * dom/TouchEvent.idl:
- * dom/UIEvent.idl:
- * dom/WebKitNamedFlow.idl:
- * dom/WheelEvent.idl:
- * fileapi/Blob.idl:
- * fileapi/FileReader.idl:
- * fileapi/FileReaderSync.idl:
- * html/DOMFormData.idl:
- * html/DOMTokenList.idl:
- * html/HTMLAllCollection.idl:
- * html/HTMLAudioElement.idl:
- * html/HTMLCanvasElement.idl:
- * html/HTMLCollection.idl:
- * html/HTMLDocument.idl:
- * html/HTMLElement.idl:
- * html/HTMLFormControlsCollection.idl:
- * html/HTMLInputElement.idl:
- * html/HTMLMediaElement.idl:
- * html/HTMLOptionElement.idl:
- * html/HTMLOptionsCollection.idl:
- * html/HTMLSelectElement.idl:
- * html/HTMLTableElement.idl:
- * html/HTMLTableRowElement.idl:
- * html/HTMLTableSectionElement.idl:
- * html/HTMLTextAreaElement.idl:
- * html/MediaController.idl:
- * html/canvas/ArrayBuffer.idl:
- * html/canvas/CanvasGradient.idl:
- * html/canvas/CanvasRenderingContext2D.idl:
- * html/canvas/DOMPath.idl:
- * html/canvas/DataView.idl:
- * html/canvas/Float32Array.idl:
- * html/canvas/Float64Array.idl:
- * html/canvas/Int16Array.idl:
- * html/canvas/Int32Array.idl:
- * html/canvas/Int8Array.idl:
- * html/canvas/OESVertexArrayObject.idl:
- * html/canvas/Uint16Array.idl:
- * html/canvas/Uint32Array.idl:
- * html/canvas/Uint8Array.idl:
- * html/canvas/Uint8ClampedArray.idl:
- * html/track/AudioTrackList.idl:
- * html/track/TextTrack.idl:
- * html/track/TextTrackCue.idl:
- * html/track/TextTrackList.idl:
- * html/track/VideoTrackList.idl:
- * loader/appcache/DOMApplicationCache.idl:
- * page/DOMSelection.idl:
- * page/DOMWindow.idl:
- * page/EventSource.idl:
- * page/History.idl:
- * page/Location.idl:
- * page/Performance.idl:
- * plugins/DOMMimeTypeArray.idl:
- * plugins/DOMPlugin.idl:
- * plugins/DOMPluginArray.idl:
- * storage/StorageEvent.idl:
- * svg/ElementTimeControl.idl:
- * svg/SVGDocument.idl:
- * svg/SVGElementInstanceList.idl:
- * svg/SVGFEDropShadowElement.idl:
- * svg/SVGFEGaussianBlurElement.idl:
- * svg/SVGFEMorphologyElement.idl:
- * svg/SVGFilterElement.idl:
- * svg/SVGLocatable.idl:
- * svg/SVGMarkerElement.idl:
- * svg/SVGPathElement.idl:
- * svg/SVGSVGElement.idl:
- * svg/SVGStyledElement.idl:
- * svg/SVGTests.idl:
- * svg/SVGTextContentElement.idl:
- * testing/Internals.idl:
- * workers/AbstractWorker.idl:
- * workers/DedicatedWorkerContext.idl:
- * workers/SharedWorker.idl:
- * workers/Worker.idl:
- * workers/WorkerContext.idl:
- * xml/DOMParser.idl:
- * xml/XMLHttpRequest.idl:
- * xml/XMLHttpRequestUpload.idl:
- * xml/XMLSerializer.idl:
- * xml/XPathEvaluator.idl:
- * xml/XPathExpression.idl:
- * xml/XPathNSResolver.idl:
- * xml/XPathResult.idl:
- * xml/XSLTProcessor.idl:
</del><ins>+ * svg/graphics/SVGImageForContainer.cpp:
+ (WebCore::SVGImageForContainer::setURL):
+ Trigger the FrameView machinery to ensure that the :target pseudo-class is respected
+ should the provided URL feature a fragment identifier.
</ins><span class="cx">
</span><del>-2013-04-30 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
</del><ins>+ * svg/graphics/SVGImageForContainer.h:
+ Declare the new setURL() method.
</ins><span class="cx">
</span><del>- Fix the USE(3D_GRAPHICS) build with the standard OpenGL on Windows
- https://bugs.webkit.org/show_bug.cgi?id=114684
</del><ins>+2014-02-27 Krzysztof Czech <k.czech@samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Simon Hausmann.
</del><ins>+ [ATK] Fix style errors in enum members
+ https://bugs.webkit.org/show_bug.cgi?id=129421
</ins><span class="cx">
</span><del>- Currently USE(3D_GRAPHICS) is only supported with OpenGLES through ANGLE
- on Windows. Allow building with the stock opengl32.lib on Windows by adding
- missing glCompressedTex* entries in OpenGLShims.
- Those are used in Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
- and will be substituted by the preprocessor.
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- * platform/graphics/OpenGLShims.cpp:
- (WebCore::initializeOpenGLShims):
- * platform/graphics/OpenGLShims.h:
- (_OpenGLFunctionTable):
</del><ins>+ No new tests. No new functionality.
</ins><span class="cx">
</span><del>-2013-04-29 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ Enum members should use InterCaps with an initial capital letter.
</ins><span class="cx">
</span><del>- Remove all remaining Skia code
- https://bugs.webkit.org/show_bug.cgi?id=115263
</del><ins>+ * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
+ (getInterfaceMaskFromObject):
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+2014-02-27 Mihai Tica <mitica@adobe.com>
</ins><span class="cx">
</span><del>- * html/HTMLCanvasElement.cpp:
- (WebCore): Remove the MaxSkiaDim constant, which was a leftover
- from r149193.
- * platform/graphics/harfbuzz/FontHarfBuzz.cpp: Removed.
- * platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp: Removed.
- * platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.h: Removed.
- * platform/graphics/harfbuzz/HarfBuzzFaceSkia.cpp: Removed.
</del><ins>+ [CSS Blending] Parse and implement the -webkit-isolation CSS property.
</ins><span class="cx">
</span><del>-2013-04-29 Anders Carlsson <andersca@apple.com>
</del><ins>+ https://bugs.webkit.org/show_bug.cgi?id=128958
</ins><span class="cx">
</span><del>- Fix build.
</del><ins>+ Reviewed by Dirk Schulze.
</ins><span class="cx">
</span><del>- * platform/graphics/SimpleFontData.cpp:
- (WebCore::SimpleFontData::DerivedFontData::~DerivedFontData):
- * platform/graphics/mac/SimpleFontDataMac.mm:
- (WebCore::SimpleFontData::getCompositeFontReferenceFontData):
</del><ins>+ Parse and implement -webkit-isolation, part of the CSS Blending and Compositing spec.
+ This patch adds functionality for HTML and SVG.
+ -webkit-isolation: isolate restricts any child elements from blending with any of the content outside the isolated parent element.
</ins><span class="cx">
</span><del>-2013-04-29 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ Tests: css3/compositing/isolation-isolate-blended-child.html
+ css3/compositing/isolation-parsing.html
+ css3/compositing/svg-isolation-default.html
+ css3/compositing/svg-isolation-isolated-group.html
+ css3/compositing/svg-isolation-simple.html
</ins><span class="cx">
</span><del>- Don't do CGContext flipping when painting subframes in WebKit1 on post-MountainLion OSes
- https://bugs.webkit.org/show_bug.cgi?id=115392
- <rdar://problem/13421519>
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::ComputedStyleExtractor::propertyValue):
+ * css/CSSParser.cpp:
+ (WebCore::isValidKeywordPropertyAndValue):
+ (WebCore::isKeywordPropertyID):
+ (WebCore::CSSParser::parseValue):
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
+ (WebCore::CSSPrimitiveValue::operator Isolation):
+ * css/CSSPropertyNames.in: Add -webkit-isolation.
+ * css/CSSValueKeywords.in: Add the isolate value.
+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::adjustRenderStyle): Explicitly set isolation:isolate to create a stacking context.
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::changeRequiresLayerRepaint): Changing isolation should trigger a repaint.
+ * rendering/style/RenderStyle.h: Setters and getters for isolation.
+ * rendering/style/RenderStyleConstants.h: Add Isolation enum.
+ * rendering/style/StyleRareNonInheritedData.cpp: Add m_isolation.
+ (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
+ (WebCore::StyleRareNonInheritedData::operator==):
+ * rendering/style/StyleRareNonInheritedData.h:
+ * rendering/svg/SVGRenderingContext.cpp:
+ (WebCore::SVGRenderingContext::prepareToRenderSVGContent): If isolated, paint in a transparency layer.
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+2014-02-27 Krzysztof Czech <k.czech@samsung.com>
</ins><span class="cx">
</span><del>- Sync up with AppKit behavior changes that could cause subviews to be flipped when
- painted.
</del><ins>+ [ATK] Utilize AtkTableCell to expose directly AccessibilityTableCell to AT
+ https://bugs.webkit.org/show_bug.cgi?id=129250
</ins><span class="cx">
</span><del>- * platform/mac/WidgetMac.mm:
- (WebCore::Widget::paint):
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>-2013-04-29 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Test: accessibility/table-scope.html
</ins><span class="cx">
</span><del>- WEB SPEECH: need to identify the default voice per language
- https://bugs.webkit.org/show_bug.cgi?id=115366
</del><ins>+ Exposing AtkTableCell to AT. Implementing possibility to get column headers and row headers
+ as an array of cells.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ * GNUmakefile.list.am:
+ * PlatformEfl.cmake:
+ * accessibility/atk/WebKitAccessibleInterfaceTableCell.cpp: Added.
+ (convertToGPtrArray):
+ (core):
+ (webkitAccessibleTableCellGetColumnHeaderCells):
+ (webkitAccessibleTableCellGetRowHeaderCells):
+ (webkitAccessibleTableCellInterfaceInit):
+ * accessibility/atk/WebKitAccessibleInterfaceTableCell.h: Added.
+ * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
+ (getInterfaceMaskFromObject):
</ins><span class="cx">
</span><del>- Use a WKSystemInterface method to determine which voice per language is the default voice.
</del><ins>+2014-02-27 Renata Hodovan <rhodovan.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- When looking for a voice, there may not be a default at all, so we need to search until we
- find a default.
</del><ins>+ Improving containing column block determination
+ https://bugs.webkit.org/show_bug.cgi?id=125449
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * platform/mac/PlatformSpeechSynthesizerMac.mm:
- (-[WebSpeechSynthesisWrapper speakUtterance:WebCore::]):
- (WebCore::PlatformSpeechSynthesizer::initializeVoiceList):
- * platform/mac/WebCoreSystemInterface.h:
- * platform/mac/WebCoreSystemInterface.mm:
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>-2013-04-29 James Craig <james@cookiecrook.com>
</del><ins>+ Making sure that the containing column block of any elements
+ can not be oneself.
</ins><span class="cx">
</span><del>- Settings.in selectionIncludesAltImageText should default to true, due to update in HTML spec.
- https://bugs.webkit.org/show_bug.cgi?id=115283
</del><ins>+ Test: fast/css/crash-on-column-splitting.html
</ins><span class="cx">
</span><del>- Reviewed by Chris Fleizach.
</del><ins>+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::containingColumnsBlock):
+ (WebCore::RenderBlock::splitFlow):
</ins><span class="cx">
</span><del>- Config change due to this spec update:
- https://www.w3.org/Bugs/Public/show_bug.cgi?id=21403
- http://html5.org/tools/web-apps-tracker?from=7854&to=7855
</del><ins>+2014-02-27 Xabier Rodriguez Calvar <calvaris@igalia.com>
</ins><span class="cx">
</span><del>- Updated existing test coverage.
</del><ins>+ [GTK] Improve JavaScript multimedia controls
+ https://bugs.webkit.org/show_bug.cgi?id=129044
</ins><span class="cx">
</span><del>- * page/Settings.in:
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>-2013-04-29 Anders Carlsson <andersca@apple.com>
</del><ins>+ After webkit.org/b/123097 a follow up was needed to improve
+ accessibily and some other cosmetic problems, like cleaner CSS and
+ new missing baselines.
</ins><span class="cx">
</span><del>- Make RunLoop ref-counted
- https://bugs.webkit.org/show_bug.cgi?id=115384
</del><ins>+ No new tests because of no new functionality.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ * Modules/mediacontrols/mediaControlsApple.js:
+ Added hiding class name.
+ * Modules/mediacontrols/mediaControlsGtk.js:
+ (ControllerGtk.prototype.createControls): Set remaining time as
+ hidden by default and turned volumebox hidden into hiding.
+ (ControllerGtk.prototype.updateTime): Simplified the hiding and
+ showing by removing the show class and using hidden only.
+ (ControllerGtk.prototype.handleMuteButtonMouseOver):
+ (ControllerGtk.prototype.handleVolumeBoxMouseOut): Turned hidden
+ into hiding.
+ (ControllerGtk.prototype.updateReadyState): Changed coding style
+ and added down class for the panel too.
+ (ControllerGtk.prototype.updatePlaying): Change for coding style
+ coherence.
+ (ControllerGtk.prototype.handleCaptionButtonClicked): Call
+ handleCaptionButtonShowMenu.
+ (ControllerGtk.prototype.handleCaptionButtonMouseOver): Call
+ handleCaptionButtonShowMenu.
+ (ControllerGtk.prototype.handleCaptionButtonShowMenu): Created
+ with the former behavior of handleCaptionButtonMouseOver.
+ * css/mediaControlsGtk.css:
+ (.hidden): Set display none for all objects with hidden class.
+ (audio::-webkit-media-controls-panel *:focus):
+ (audio::-webkit-media-controls-panel.down *:focus): Added gradient
+ for the active and focus status.
+ (audio::-webkit-media-controls-time-remaining-display)
+ (video::-webkit-media-controls-time-remaining-display): Set
+ display block.
+ (audio::-webkit-media-controls-volume-slider-container)
+ (video::-webkit-media-controls-volume-slider-container): Set
+ display flex.
+ (video::-webkit-media-controls-volume-slider-container.hiding):
+ Changed from hidden.
+ (video::-webkit-media-controls-panel .hiding.down): Changed from
+ hidden.
+ * platform/gtk/RenderThemeGtk.cpp:
+ (WebCore::RenderThemeGtk::paintMediaButton): Returning true to
+ allow CSS painting the gradient.
</ins><span class="cx">
</span><del>- This is a step towards creating a shared base class that both RunLoop and WorkQueue will derive from.
</del><ins>+2014-02-27 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- * platform/RunLoop.cpp:
- (WebCore::RunLoop::current):
- (WebCore::RunLoop::~RunLoop):
- (WebCore):
- * platform/RunLoop.h:
- (RunLoop):
- * platform/cf/RunLoopCF.cpp:
- (WebCore::RunLoop::initializeMainRunLoop):
- (WebCore::RunLoop::current):
- (WebCore::RunLoop::~RunLoop):
</del><ins>+ Unreviewed. Fixing the GTK build fix after r164757.
</ins><span class="cx">
</span><del>-2013-04-29 Brent Fulgham <bfulgham@webkit.org>
</del><ins>+ * platform/network/NetworkStateNotifier.cpp: r164757 introduced a layering violation by including
+ the Settings.h header. The use of that class is guarded by PLATFORM(IOS), so the header inclusion
+ should be guarded as well.
</ins><span class="cx">
</span><del>- [Windows, WinCairo] Remove link and include directives for pthread.
- https://bugs.webkit.org/show_bug.cgi?id=115381
</del><ins>+2014-02-26 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Extract named items caches in HTMLCollection as a class
+ https://bugs.webkit.org/show_bug.cgi?id=129365
</ins><span class="cx">
</span><del>- Update various VS2005 and VS2010 property sheets to remove
- reference to the pthreads Include path and instructions to
- link to the pthreads library.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- * WebCore.vcproj/QTMovieWinCommon.vsprops:
- * WebCore.vcproj/WebCoreCommon.vsprops:
- * WebCore.vcproj/WebCoreDebug.vsprops:
- * WebCore.vcproj/WebCoreDebugAll.vsprops:
- * WebCore.vcproj/WebCoreProduction.vsprops:
- * WebCore.vcproj/WebCorePthreads.vsprops: Removed.
- * WebCore.vcproj/WebCoreRelease.vsprops:
- * WebCore.vcxproj/WebCoreCommon.props:
- * WebCore.vcxproj/WebCoreDebug.props:
- * WebCore.vcxproj/WebCoreDebugWinCairo.props:
- * WebCore.vcxproj/WebCoreProduction.props:
- * WebCore.vcxproj/WebCorePthreads.props: Removed.
- * WebCore.vcxproj/WebCoreRelease.props:
- * WebCore.vcxproj/WebCoreReleaseWinCairo.props:
</del><ins>+ Extracted CollectionNamedElementCache, like CollectionIndexCache, out of HTMLCollection.
+ We can move more named item related functions into this class in the future.
</ins><span class="cx">
</span><del>-2013-04-29 Benjamin Poulain <benjamin@webkit.org>
</del><ins>+ HTMLCollection's member variables m_isNameCacheValid, m_idCache, and m_nameCache were replaced by
+ a single unique_ptr that holds an instance of CollectionNamedElementCache since this object rarely
+ exists in most HTMLCollections.
</ins><span class="cx">
</span><del>- Do not allocate Static Strings for Notification::permissionString
- https://bugs.webkit.org/show_bug.cgi?id=115316
</del><ins>+ Also removed m_isItemRefElementsCacheValid since it was only used by Microdata API removed in r153772
+ and renamed a whole bunch of member functions and variables for consistency.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::collectionCachedIdNameMap):
+ (WebCore::Document::collectionWillClearIdNameMap):
+ * dom/Document.h:
+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::adoptDocument):
+ * html/HTMLAllCollection.cpp:
+ (WebCore::HTMLAllCollection::namedItemWithIndex):
+ * html/HTMLCollection.cpp:
+ (WebCore::HTMLCollection::HTMLCollection):
+ (WebCore::HTMLCollection::~HTMLCollection):
+ (WebCore::HTMLCollection::invalidateCache):
+ (WebCore::HTMLCollection::invalidateNamedElementCache): Renamed from invalidateIdNameCacheMaps.
+ (WebCore::HTMLCollection::namedItem):
+ (WebCore::HTMLCollection::updateNamedElementCache): Renamed from updateNameCache.
+ (WebCore::HTMLCollection::namedItems):
</ins><span class="cx">
</span><del>- The code is not nearly hot enough to justify keeping this memory around.
</del><ins>+ * html/HTMLCollection.h:
+ (WebCore::CollectionNamedElementCache::findElementsWithId): Renamed from HTMLCollection::idCache.
+ (WebCore::CollectionNamedElementCache::findElementsWithName): Renamed from HTMLCollection::nameCache.
+ (WebCore::CollectionNamedElementCache::appendIdCache): Moved from HTMLCollection.
+ (WebCore::CollectionNamedElementCache::appendNameCache): Ditto.
+ (WebCore::CollectionNamedElementCache::find): Ditto.
+ (WebCore::CollectionNamedElementCache::append): Ditto.
</ins><span class="cx">
</span><del>- * Modules/notifications/Notification.cpp:
- (WebCore::Notification::permission):
- (WebCore::Notification::permissionString):
- * Modules/notifications/Notification.h:
- (Notification):
</del><ins>+ (WebCore::HTMLCollection::invalidateCache):
+ (WebCore::HTMLCollection::hasNamedElementCache): Renamed from hasIdNameCache.
+ (WebCore::HTMLCollection::createNameItemCache): Added.
+ (WebCore::HTMLCollection::namedItemCaches): Added.
</ins><span class="cx">
</span><del>-2013-04-29 Anders Carlsson <andersca@apple.com>
</del><ins>+ * html/HTMLFormControlsCollection.cpp:
+ (WebCore::HTMLFormControlsCollection::updateNamedElementCache):
+ * html/HTMLFormControlsCollection.h:
</ins><span class="cx">
</span><del>- Remove StorageTracker::originsLoaded
- https://bugs.webkit.org/show_bug.cgi?id=115382
</del><ins>+2014-02-26 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Indenting an indented image element resulted in an extra indentation
+ https://bugs.webkit.org/show_bug.cgi?id=129201
</ins><span class="cx">
</span><del>- Remove m_finishedImportingOriginIdentifiers.
</del><ins>+ Reviewed by Enrica Casucci.
</ins><span class="cx">
</span><del>- * storage/StorageTracker.cpp:
- (WebCore::StorageTracker::StorageTracker):
- (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
- * storage/StorageTracker.h:
- (StorageTracker):
</del><ins>+ The bug was caused by endOfParagraph returning a position at the beginning of a block when the position
+ passed into the function was at the beginning of the block. Consider the following DOM:
+ <blockquote><img></blockquote>
</ins><span class="cx">
</span><del>-2013-04-29 Anders Carlsson <andersca@apple.com>
</del><ins>+ When endOfParagraph is called on (blockquote, 0), the condition r->isBR() || isBlock(n) in endOfParagraph
+ matches immediately on startNode and it returns (blockquote, 0) again.
</ins><span class="cx">
</span><del>- Get rid of StorageTracker::setClient
- https://bugs.webkit.org/show_bug.cgi?id=115376
</del><ins>+ This resulted in moveParagraphWithClones invoked by indentIntoBlockquote to erroneously clone the inner
+ blockquote. Worked around this bug in ApplyBlockElementCommand::formatSelection by checking this specific
+ condition and moving the position to the end of the block. Unfortunately, a lot of existing code depends
+ on the current behavior of endOfParagraph so fixing the function itself was not possible.
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ There was another bug in indentIntoBlockquote to incorrectly insert a new blockquote into the existing
+ blockquote due to the code introduced in r99594 to avoid inserting before the root editable element.
+ Since this happens only if outerBlock is the root editable element, which is nodeToSplitTo or an ancestor
+ of nodeToSplitTo, explicitly look for this condition.
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * storage/StorageTracker.cpp:
- * storage/StorageTracker.h:
- (StorageTracker):
</del><ins>+ Test: editing/execCommand/indent-img-twice.html
</ins><span class="cx">
</span><del>-2013-04-22 Jeffrey Pfau <jpfau@apple.com>
</del><ins>+ * editing/ApplyBlockElementCommand.cpp:
+ (WebCore::ApplyBlockElementCommand::formatSelection):
+ (WebCore::isNewLineAtPosition):
+ * editing/IndentOutdentCommand.cpp:
+ (WebCore::IndentOutdentCommand::indentIntoBlockquote):
+ * editing/VisibleUnits.cpp:
+ (WebCore::endOfParagraph): Added a FIXME.
</ins><span class="cx">
</span><del>- Change approach to third-party blocking for LocalStorage
- https://bugs.webkit.org/show_bug.cgi?id=115004
</del><ins>+2014-02-26 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Maciej Stachowiak.
</del><ins>+ Fix two assertions/crashes in compositing code
+ https://bugs.webkit.org/show_bug.cgi?id=129414
</ins><span class="cx">
</span><del>- Instead of outright blocking LocalStorage that's used in a third-party
- context, silently partition it based on the origin of the top context.
- These partitions are then discarded when the page group is unloaded.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- No new tests; modified existing tests to account for changes.
</del><ins>+ Fix two issues introduced in r164759.
</ins><span class="cx">
</span><del>- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::localStorage):
- * page/PageGroup.cpp:
- (WebCore::PageGroup::localStorage):
- (WebCore):
- (WebCore::PageGroup::transientLocalStorage):
- * page/PageGroup.h:
- (PageGroup):
- * page/SecurityOrigin.cpp:
- (WebCore::SecurityOrigin::canAccessStorage):
</del><ins>+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::removeFromScrollCoordinatedLayers): Don't call
+ ourselves recursively!
+ (WebCore::RenderLayerCompositor::detachScrollCoordinatedLayer): We call this
+ function unconditionally on layer teardown, so this assertion is bogus.
</ins><span class="cx">
</span><del>-2013-04-29 Yi Shen <max.hong.shen@gmail.com>
</del><ins>+2014-02-26 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- HTML Editing: Insertion point jumps when using link detection
- https://bugs.webkit.org/show_bug.cgi?id=82198
</del><ins>+ Fix the build with some compiler configurations.
</ins><span class="cx">
</span><ins>+ * platform/mac/ScrollAnimatorMac.mm:
+ (WebCore::ScrollAnimatorMac::ScrollAnimatorMac):
+ (WebCore::ScrollAnimatorMac::didAddVerticalScrollbar):
+ (WebCore::ScrollAnimatorMac::didAddHorizontalScrollbar):
+
+2014-02-26 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Ranges given to createMarkupInternal might not be canonicalized
+ https://bugs.webkit.org/show_bug.cgi?id=129408
+
</ins><span class="cx"> Reviewed by Ryosuke Niwa.
</span><span class="cx">
</span><del>- Add links should be done only when typing a word separator (e.g. space or dot) which
- breaks the text into two parts - the link and the rest of the text. Reflected in
- code, we should only add link when the caret position is at the right end location of
- TextChecking result. Otherwise, the text on the right of a word separator could be
- highlighted as a link and the insertion point jumps unexpectedly.
</del><ins>+ When WebKit clients (such as Mail) call WKWebArchiveCreateFromRange() with a range,
+ that range is not necessarily canonicalized. Therefore, comparing it for equality
+ with a canonicalized range might return a false negative. Instead, we should compare
+ canonicalized ranges.
</ins><span class="cx">
</span><del>- Tests: update editing/inserting/typing-space-to-trigger-smart-link.html
</del><ins>+ No new tests because this codepath will only be reached via SPI.
</ins><span class="cx">
</span><del>- * editing/Editor.cpp:
- (WebCore::Editor::markAndReplaceFor):
</del><ins>+ * editing/markup.cpp:
+ (WebCore::createMarkupInternal):
</ins><span class="cx">
</span><del>-2013-04-29 Beth Dakin <bdakin@apple.com>
</del><ins>+2014-02-26 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- Need a LayoutMilestone to fire when we have done our first paint after suppressing
- incremental layout
- https://bugs.webkit.org/show_bug.cgi?id=115330
- -and corresponding-
- <rdar://problem/12722365>
</del><ins>+ [iOS WebKit2] Form controls handling: implement date and time controls.
+ https://bugs.webkit.org/show_bug.cgi?id=129344
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Reviewed by Simon Fraser and Joseph Pecoraro.
</ins><span class="cx">
</span><del>- To meet the needs of all of our clients, we really need two milestones. One
- indicating that a layout has happened after setVisualUpdatesAllowed(true), and
- another indicating that painting has happened.
</del><ins>+ Adding one localizable string.
</ins><span class="cx">
</span><del>- If layout is needed when setVisualUpdatesAllowed(true) is called, we need to
- update it so that we can guarantee the first paint is really happening at this
- time. Also fire the DidFirstLayoutAfterSuppressedIncrementalRendering milestone,
- and call add DidFirstPaintAfterSuppressedIncrementalRendering to the FrameView's
- pending paint milestones.
- up the painting milestone.
- * dom/Document.cpp:
- (WebCore::Document::setVisualUpdatesAllowed):
</del><ins>+ * English.lproj/Localizable.strings:
</ins><span class="cx">
</span><del>- FrameView now stores m_milestonesPendingPaint. We'll send and clear them once we
- have painted.
- * page/FrameView.cpp:
- (WebCore::FrameView::FrameView):
- (WebCore::FrameView::paintContents):
- (WebCore::FrameView::addPaintPendingMilestones):
- (WebCore::FrameView::firePaintRelatedMilestones):
- * page/FrameView.h:
- (WebCore::FrameView::milestonesPendingPaint):
</del><ins>+2014-02-26 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- Two new milestones.
- * page/LayoutMilestones.h:
- (WebCore):
</del><ins>+ Prepare for overflow scrolling nodes in the scrolling tree
+ https://bugs.webkit.org/show_bug.cgi?id=129398
</ins><span class="cx">
</span><del>- We don't need m_headerLayerAwaitingFirstFlush anymore since we can use FrameView's
- pending paint milestones instead.
</del><ins>+ Reviewed by Tim Horton.
+
+ Lay some groundwork for overflow:scrolling nodes in the scrolling tree.
+ Change terminology to refer to "scroll-coordinatored" layers now, not just viewport-constrained
+ layers.
+
+ A given layer can be both viewport-constrained and overflow-scrolling (e.g. position:fixed,
+ overflow:scroll), so handle that in RenderLayerBacking, and use some "reason" flags
+ in RenderLayerCompositor.
+
+ * page/FrameView.cpp:
+ (WebCore::FrameView::scrollLayerID): Rename
+ * page/scrolling/ScrollingStateTree.cpp:
+ (WebCore::ScrollingStateTree::attachNode): Remove invalid assertion.
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::RenderLayerBacking):
+ (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
+ (WebCore::RenderLayerBacking::updateScrollingLayers): Simplify the logic with
+ an early return.
+ (WebCore::RenderLayerBacking::detachFromScrollingCoordinator):
+ Allow a layer to play both viewport-constrained and scrolling roles
+ in the scrolling tree.
+ * rendering/RenderLayerBacking.h:
+ (WebCore::RenderLayerBacking::viewportConstrainedNodeID):
+ (WebCore::RenderLayerBacking::setViewportConstrainedNodeID):
+ (WebCore::RenderLayerBacking::scrollingNodeID):
+ (WebCore::RenderLayerBacking::setScrollingNodeID):
+ (WebCore::RenderLayerBacking::scrollingNodeIDForChildren):
</ins><span class="cx"> * rendering/RenderLayerCompositor.cpp:
</span><del>- (WebCore::RenderLayerCompositor::RenderLayerCompositor):
</del><span class="cx"> (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
</span><del>- (WebCore::RenderLayerCompositor::updateLayerForHeader):
</del><ins>+ (WebCore::RenderLayerCompositor::didFlushChangesForLayer):
+ (WebCore::RenderLayerCompositor::updateBacking):
+ (WebCore::RenderLayerCompositor::layerWillBeRemoved):
+ (WebCore::RenderLayerCompositor::fixedRootBackgroundLayerChanged):
+ (WebCore::RenderLayerCompositor::clearBackingForLayerIncludingDescendants):
+ (WebCore::RenderLayerCompositor::requiresCompositingLayer):
+ (WebCore::RenderLayerCompositor::requiresOwnBackingStore):
+ (WebCore::RenderLayerCompositor::reasonsForCompositing):
+ (WebCore::RenderLayerCompositor::requiresCompositingForScrolling):
+ (WebCore::isViewportConstrainedFixedOrStickyLayer):
+ (WebCore::isMainFrameScrollingOrOverflowScrolling):
+ (WebCore::RenderLayerCompositor::rootLayerAttachmentChanged):
+ (WebCore::RenderLayerCompositor::updateScrollCoordinatedStatus):
+ (WebCore::RenderLayerCompositor::removeFromScrollCoordinatedLayers):
+ (WebCore::nearestScrollCoordinatedAncestor):
+ (WebCore::RenderLayerCompositor::updateScrollCoordinatedLayer):
+ (WebCore::RenderLayerCompositor::detachScrollCoordinatedLayer):
+ (WebCore::RenderLayerCompositor::registerAllViewportConstrainedLayers):
+ (WebCore::RenderLayerCompositor::willRemoveScrollingLayer):
+ (WebCore::RenderLayerCompositor::didAddScrollingLayer):
</ins><span class="cx"> * rendering/RenderLayerCompositor.h:
</span><del>- (RenderLayerCompositor):
</del><span class="cx">
</span><del>-2013-04-29 David Hyatt <hyatt@apple.com>
</del><ins>+2014-02-26 Andy Estes <aestes@apple.com>
</ins><span class="cx">
</span><del>- [Mac] Links can't be hovered or clicked with overlay scrollbars hidden.
- https://bugs.webkit.org/show_bug.cgi?id=99379
-
- This is also <rdar://problem/10929565> Overlay scrollbars prevent hit-testing on
- content underneath them, even when hidden
</del><ins>+ [iOS] Support network state notification using CPNetworkObserver
+ https://bugs.webkit.org/show_bug.cgi?id=129358
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::verticalScrollbarWidth):
- (WebCore::RenderLayer::horizontalScrollbarHeight):
</del><ins>+ Add iOS support for navigator.onLine and online/offline events. Since
+ it can be expensive to query CPNetworkObserver, wait to do so until
+ someone calls NetworkStateObserver::onLine() or
+ NetworkStateObserver::addNetworkStateChangeListener(). For clients that
+ don't wish to observe network reachability at all, add a global opt-out.
+ These clients will only pay the cost of CPNetworkObserver if they load
+ a page that explicitly accesses navigator.onLine.
</ins><span class="cx">
</span><del>-2013-04-29 Anders Carlsson <andersca@apple.com>
</del><ins>+ No new tests. Covered by existing tests.
</ins><span class="cx">
</span><del>- Begin cleaning up StorageTracker
- https://bugs.webkit.org/show_bug.cgi?id=115373
</del><ins>+ * WebCore.exp.in: Stopped exporting NetworkStateNotifier::setIsOnLine()
+ and started exporting Settings::gShouldOptOutOfNetworkStateObservation.
+ * WebCore.xcodeproj/project.pbxproj: Renamed NetworkStateNotifierIOS.cpp
+ to NetworkStateNotifierIOS.mm.
+ * page/Settings.cpp: Defaulted gShouldOptOutOfNetworkStateObservation
+ to false.
+ * page/Settings.h:
+ (WebCore::Settings::setShouldOptOutOfNetworkStateObservation):
+ (WebCore::Settings::shouldOptOutOfNetworkStateObservation):
+ * platform/network/NetworkStateNotifier.cpp:
+ (WebCore::NetworkStateNotifier::addNetworkStateChangeListener): Ignored
+ the listener if Settings::shouldOptOutOfNetworkStateObservation().
+ Called registerObserverIfNecessary() and added the listener otherwise.
+ (WebCore::NetworkStateNotifier::notifyNetworkStateChange): Const qualified.
+ * platform/network/NetworkStateNotifier.h
+ (NetworkStateNotifier::onLine):
+ * platform/network/ios/NetworkStateNotifierIOS.cpp: Removed.
+ * platform/network/ios/NetworkStateNotifierIOS.mm: Added.
+ (-[NetworkStateObserver initWithNotifier:WebCore::]): Registered self
+ as a network reachable observer on CPNetworkObserver.
+ (-[NetworkStateObserver dealloc]): Removed self as a network reachable
+ observer.
+ (-[NetworkStateObserver networkStateChanged:]): Called setOnLine() on
+ the web thread, passing the reachability value from the notification.
+ (WebCore::NetworkStateNotifier::NetworkStateNotifier):
+ (WebCore::NetworkStateNotifier::~NetworkStateNotifier): Cleared
+ m_observer's pointer back to us.
+ (WebCore::NetworkStateNotifier::registerObserverIfNecessary): Initialized
+ m_observer if necessary.
+ (WebCore::NetworkStateNotifier::onLine): Called
+ registerObserverIfNecessary() and set an initial value for m_isOnLine
+ if m_isOnLineInitialized is false. Returned m_isOnLine.
+ (WebCore::setOnLine): Set m_isOnLine and called
+ notifyNetworkStateChange() if needed. Unconditionally set
+ m_isOnLineInitialized to true.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+2014-02-26 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- Rename Mutexes to use "Mutex" and not "Guard".
- Don't use static locals for ".localstorage" and "*.localstorage" strings.
- Put end iterator declarations together with begin declarations.
</del><ins>+ Unreviewed build fix for !ENABLE(CONTEXT_MENUS).
</ins><span class="cx">
</span><del>- * storage/StorageTracker.cpp:
- (WebCore::StorageTracker::setDatabaseDirectoryPath):
- (WebCore::StorageTracker::trackerDatabasePath):
- (WebCore::StorageTracker::openTrackerDatabase):
- (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
- (WebCore::StorageTracker::syncImportOriginIdentifiers):
- (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
- (WebCore::StorageTracker::setOriginDetails):
- (WebCore::StorageTracker::syncSetOriginDetails):
- (WebCore::StorageTracker::origins):
- (WebCore::StorageTracker::deleteAllOrigins):
- (WebCore::StorageTracker::syncDeleteAllOrigins):
- (WebCore::StorageTracker::deleteOrigin):
- (WebCore::StorageTracker::syncDeleteOrigin):
- (WebCore::StorageTracker::willDeleteAllOrigins):
- (WebCore::StorageTracker::willDeleteOrigin):
- (WebCore::StorageTracker::canDeleteOrigin):
- (WebCore::StorageTracker::cancelDeletingOrigin):
- (WebCore::StorageTracker::setClient):
- (WebCore::StorageTracker::databasePathForOrigin):
- (WebCore::StorageTracker::diskUsageForOrigin):
- * storage/StorageTracker.h:
- (StorageTracker):
</del><ins>+ I forgot to add guards to handleContextMenuEvent().
</ins><span class="cx">
</span><del>-2013-04-29 Andreas Kling <akling@apple.com>
</del><ins>+ * replay/UserInputBridge.cpp:
+ * replay/UserInputBridge.h:
</ins><span class="cx">
</span><del>- Don't check for @media rules affected by viewport changes in every layout.
- <http://webkit.org/b/115370>
- <rdar://problem/13765739>
</del><ins>+2014-02-26 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ [WebGL] Only skip context error retrieval if a pending context
+ https://bugs.webkit.org/show_bug.cgi?id=129397
</ins><span class="cx">
</span><del>- Move the logic that checks if any @media rules are affected by a change in the viewport
- size to FrameView::setFrameRect(). This way it's no longer necessary to do the style
- recalc synchronously, which allows us to coalesce multiple updates in some cases.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::setFrameRect):
- (WebCore::FrameView::layout):
</del><ins>+ A lost context should still ask the GC3D what the error is. Only
+ a pending context should return early.
</ins><span class="cx">
</span><del>-2013-04-29 Anders Carlsson <andersca@apple.com>
</del><ins>+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::getError):
</ins><span class="cx">
</span><del>- Remove the last StorageSyncManager function
- https://bugs.webkit.org/show_bug.cgi?id=115371
</del><ins>+2014-02-26 Brian Burg <bburg@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Sam Weinig.
</del><ins>+ Web Replay: route through UserInputBridge when delivering user inputs to WebCore
+ https://bugs.webkit.org/show_bug.cgi?id=128150
</ins><span class="cx">
</span><del>- Move the import scheduling to the StorageAreaSync constructor. Remove code to set m_importComplete to true
- since that could only happen if the StorageSyncManager's thread is null which doesn't make any sense.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- * storage/StorageAreaSync.cpp:
- (WebCore::StorageAreaSync::StorageAreaSync):
- (WebCore::StorageAreaSync::create):
- * storage/StorageSyncManager.cpp:
- * storage/StorageSyncManager.h:
- (StorageSyncManager):
</del><ins>+ Add an UserInputBridge instance to each Page. WebKit2 routes a page's user inputs through
+ the WebCore page's user input bridge so that the inputs can be selectively captured, filtered,
+ and replayed using instrumentation inside the UserInputBridge.
</ins><span class="cx">
</span><del>-2013-04-29 Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
</del><ins>+ For now, the routing methods of UserInputBridge have no replay-specific code paths, and just
+ put the input delivery code inside WebCore rather than its external clients. Replay-specific
+ code paths will be added once https://bugs.webkit.org/show_bug.cgi?id=128782 is fixed. However,
+ once complete the code will work as follows:
</ins><span class="cx">
</span><del>- Remove unused method RenderMeter::valueRatio()
- https://bugs.webkit.org/show_bug.cgi?id=115266
</del><ins>+ - When neither capturing or replaying, behavior is unchanged.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ - When capturing user inputs, each external input is saved into a replay log as it crosses
+ the bridge from outside WebCore.
</ins><span class="cx">
</span><del>- The removed method is not used anywhere.
- No new tests are required.
</del><ins>+ - When replaying, the bridge closes and user inputs from WebKit2 are not accepted. Instead,
+ the saved inputs from the replay log are re-dispatched as if they had crossed the bridge.
</ins><span class="cx">
</span><del>- * rendering/RenderMeter.cpp:
- * rendering/RenderMeter.h:
- (RenderMeter):
</del><ins>+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * GNUmakefile.list.am:
+ * WebCore.exp.in: Add symbols for input routing methods.
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * page/Page.cpp:
+ (WebCore::Page::Page): Initialize the owned UserInputBridge in the Page constructor.
+ * page/Page.h:
+ (WebCore::Page::inputBridge): Added a by-reference getter.
+ * replay/UserInputBridge.cpp: Added.
+ (WebCore::UserInputBridge::UserInputBridge):
+ (WebCore::UserInputBridge::~UserInputBridge):
+ (WebCore::UserInputBridge::handleContextMenuEvent):
+ (WebCore::UserInputBridge::handleMousePressEvent):
+ (WebCore::UserInputBridge::handleMouseReleaseEvent):
+ (WebCore::UserInputBridge::handleMouseMoveEvent):
+ (WebCore::UserInputBridge::handleMouseMoveOnScrollbarEvent):
+ (WebCore::UserInputBridge::handleKeyEvent):
+ (WebCore::UserInputBridge::handleAccessKeyEvent):
+ (WebCore::UserInputBridge::handleWheelEvent):
+ (WebCore::UserInputBridge::focusSetActive):
+ (WebCore::UserInputBridge::focusSetFocused):
+ (WebCore::UserInputBridge::scrollRecursively):
+ (WebCore::UserInputBridge::logicalScrollRecursively):
+ (WebCore::UserInputBridge::loadRequest):
+ (WebCore::UserInputBridge::reloadFrame):
+ (WebCore::UserInputBridge::stopLoadingFrame):
+ (WebCore::UserInputBridge::tryClosePage):
+ * replay/UserInputBridge.h: Added.
</ins><span class="cx">
</span><del>-2013-04-29 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-02-26 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Remove two more StorageSyncManager wrapper functions
- https://bugs.webkit.org/show_bug.cgi?id=115367
</del><ins>+ [WebGL] Protect more WebGL entry points for pending contexts
+ https://bugs.webkit.org/show_bug.cgi?id=129386
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * storage/StorageAreaSync.cpp:
- (WebCore::StorageAreaSync::scheduleFinalSync):
- (WebCore::StorageAreaSync::syncTimerFired):
- * storage/StorageSyncManager.cpp:
- * storage/StorageSyncManager.h:
</del><ins>+ There are entry points into a WebGLRenderingContext that don't
+ come from the web-exposed API directly, such as drawImage with
+ the WebGL canvas. Protect these by returning early if we're
+ a pending context.
</ins><span class="cx">
</span><del>-2013-04-29 Stephen Chenney <schenney@chromium.org>
</del><ins>+ Also a bunch of drive-by 0 -> nullptr changes.
</ins><span class="cx">
</span><del>- SVGElement destructor can use invalid iterator
- https://bugs.webkit.org/show_bug.cgi?id=115361
</del><ins>+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::markLayerComposited):
+ (WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas):
+ (WebCore::WebGLRenderingContext::paintRenderingResultsToImageData):
+ (WebCore::WebGLRenderingContext::reshape):
+ (WebCore::WebGLRenderingContext::createBuffer):
+ (WebCore::WebGLRenderingContext::createFramebuffer):
+ (WebCore::WebGLRenderingContext::createTexture):
+ (WebCore::WebGLRenderingContext::createProgram):
+ (WebCore::WebGLRenderingContext::createRenderbuffer):
+ (WebCore::WebGLRenderingContext::createShader):
+ (WebCore::WebGLRenderingContext::getActiveAttrib):
+ (WebCore::WebGLRenderingContext::getActiveUniform):
+ (WebCore::WebGLRenderingContext::getContextAttributes):
+ (WebCore::WebGLRenderingContext::getError):
+ (WebCore::WebGLRenderingContext::getExtension):
+ (WebCore::WebGLRenderingContext::getShaderPrecisionFormat):
+ (WebCore::WebGLRenderingContext::getUniformLocation):
+ (WebCore::WebGLRenderingContext::drawImageIntoBuffer):
+ (WebCore::WebGLRenderingContext::videoFrameToImage):
+ (WebCore::WebGLRenderingContext::validateBufferDataParameters):
+ (WebCore::WebGLRenderingContext::LRUImageBufferCache::imageBuffer):
</ins><span class="cx">
</span><del>- Reviewed by Philip Rogers.
</del><ins>+2014-02-26 Bem Jones-Bey <bjonesbe@adobe.com>
</ins><span class="cx">
</span><del>- When an SVGElement object has rare data, its destructor gets a
- hash map iterator for the rare data, uses it to clear resources,
- then uses the iterator to delete the rare data. However, the resource
- cleanup can delete other SVG elements, thus modifying the hash map
- from which the iterator came and hence invalidating the iterator
- itself.
</del><ins>+ [CSS Shapes] inset and inset-rectangle trigger assert with replaced element and large percentage dimension
+ https://bugs.webkit.org/show_bug.cgi?id=129060
</ins><span class="cx">
</span><del>- The fix is to re-get the iterator before deleting the rare data.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Test: svg/custom/svg-element-destructor-iteration-crash.html
</del><ins>+ A bounds check was omitted when computing the width and height for inset
+ rectangles, making it possible for the width or height to end up being
+ negative. This patch adds in that check for both. It seems that only
+ replaced elements like iframe and img trigger this problem.
</ins><span class="cx">
</span><del>- * svg/SVGElement.cpp:
- (WebCore::SVGElement::~SVGElement): Get a new iterator after clearing rare data.
</del><ins>+ Tests: fast/shapes/shape-outside-floats/shape-outside-floats-img-inset-negative-width-crash.html
+ fast/shapes/shape-outside-floats/shape-outside-floats-img-inset-rectangle-negative-width-crash.html
</ins><span class="cx">
</span><del>-2013-04-29 Brady Eidson <beidson@apple.com>
</del><ins>+ * rendering/shapes/Shape.cpp:
+ (WebCore::Shape::createShape):
</ins><span class="cx">
</span><del>- REGRESSION: We see authentication challenge sheets for favicon requests.
- <rdar://problem/13753470> and https://bugs.webkit.org/show_bug.cgi?id=115288
</del><ins>+2014-02-26 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Underlines are too thick when zoomed in
+ https://bugs.webkit.org/show_bug.cgi?id=129352
</ins><span class="cx">
</span><del>- No new tests (Not in a tested config, might fix existing test).
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Rename ClientCrossOriginCredentialPolicy to ClientCredentialPolicy, make it be three options.
- and move it to ResourceHandleTypes where it belongs:
- * loader/ResourceLoaderOptions.h:
- * platform/network/ResourceHandleTypes.h:
</del><ins>+ The input to the underline drawing code is in user-space, not device-space.
+ The underlines were getting scaled twice, once in InlineTextBox and the other
+ in GraphicsContext.
</ins><span class="cx">
</span><del>- Expose the ClientCredentialPolicy the ResourceLoader was created with:
- * loader/ResourceLoader.h:
- (WebCore::ResourceLoader::clientCredentialPolicy):
</del><ins>+ Test: fast/css3-text/css3-text-decoration/text-decoration-scaled.html
</ins><span class="cx">
</span><del>- Rework the “should ask client” clause for the new values of ClientCredentialPolicy:
- * loader/ResourceLoader.cpp:
- (WebCore::ResourceLoader::didReceiveAuthenticationChallenge):
</del><ins>+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::paintDecoration):
</ins><span class="cx">
</span><del>- Rework loadResourceSynchronously() to include a ClientCredentialPolicy argument:
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::loadResourceSynchronously):
- * loader/FrameLoader.h:
- * loader/LoaderStrategy.cpp:
- (WebCore::LoaderStrategy::loadResourceSynchronously):
- * loader/LoaderStrategy.h:
</del><ins>+2014-02-26 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Never ask the client for credentials for icon loads:
- * loader/icon/IconLoader.cpp:
- (WebCore::IconLoader::startLoading):
</del><ins>+ Remove unused InspectorCounters.
+ <https://webkit.org/b/129367>
</ins><span class="cx">
</span><del>- Update all other users of ClientCredentialPolicy to the appropriate new value,
- and update all users of loadResourceSynchronously to the new function signature:
- * inspector/InspectorFrontendHost.cpp:
- (WebCore::InspectorFrontendHost::loadResourceSynchronously):
- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::startLoadingMainResource):
- * loader/DocumentThreadableLoader.cpp:
- (WebCore::DocumentThreadableLoader::loadRequest):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::loadResourceSynchronously):
- * loader/FrameLoader.h:
- (FrameLoader):
- * loader/LoaderStrategy.cpp:
- (WebCore::LoaderStrategy::loadResourceSynchronously):
- * loader/LoaderStrategy.h:
- (LoaderStrategy):
- * loader/NetscapePlugInStreamLoader.cpp:
- (WebCore::NetscapePlugInStreamLoader::NetscapePlugInStreamLoader):
- * loader/cache/CachedResourceLoader.cpp:
- (WebCore::CachedResourceLoader::requestUserCSSStyleSheet):
- (WebCore::CachedResourceLoader::defaultCachedResourceOptions):
- * xml/XSLTProcessorLibxslt.cpp:
- (WebCore::docLoaderFunc):
- * xml/parser/XMLDocumentParserLibxml2.cpp:
- (WebCore::openFunc):
</del><ins>+ The InspectorCounters code was only used to implement two layout test
+ APIs (window.internals.numberOfLive{Nodes,Documents}) yet it had hooks
+ in crazy places like Node construction and destruction.
</ins><span class="cx">
</span><ins>+ Rewrote the internals APIs to iterate over all live Documents instead,
+ totaling up their referencing Node count. Added a process-global
+ Document::allDocuments() HashSet to make this whole thing possible.
+
+ Reviewed by Sam Weinig.
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
</ins><span class="cx"> * WebCore.exp.in:
</span><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSEventListener.cpp:
+ * dom/Document.cpp:
+ (WebCore::Document::allDocuments):
+ (WebCore::Document::Document):
+ (WebCore::Document::~Document):
+ * dom/Document.h:
+ (WebCore::Node::Node):
+ * dom/Node.cpp:
+ (WebCore::Node::~Node):
+ * inspector/InspectorAllInOne.cpp:
+ * inspector/InspectorCounters.cpp: Removed.
+ * inspector/InspectorCounters.h: Removed.
+ * inspector/InspectorTimelineAgent.cpp:
+ (WebCore::InspectorTimelineAgent::start):
+ (WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):
+ (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
+ * inspector/InspectorTimelineAgent.h:
+ * inspector/protocol/Timeline.json:
+ * platform/ThreadGlobalData.cpp:
+ * testing/Internals.cpp:
+ (WebCore::Internals::numberOfLiveNodes):
+ (WebCore::Internals::numberOfLiveDocuments):
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>-2013-04-29 Anders Carlsson <andersca@apple.com>
</del><ins>+2014-02-26 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- Add a StorageSyncManager::dispatch helper function
- https://bugs.webkit.org/show_bug.cgi?id=115365
</del><ins>+ Web Inspector: Remove console.profiles from window.console API
+ https://bugs.webkit.org/show_bug.cgi?id=116883
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- * storage/StorageSyncManager.cpp:
- (WebCore::StorageSyncManager::dispatch):
- (WebCore):
- (WebCore::StorageSyncManager::close):
- (WebCore::StorageSyncManager::scheduleImport):
- (WebCore::StorageSyncManager::scheduleSync):
- (WebCore::StorageSyncManager::scheduleDeleteEmptyDatabase):
- * storage/StorageSyncManager.h:
- (StorageSyncManager):
</del><ins>+ console.profiles has been removed or never implemented by other
+ browsers. We should remove it as well. However, since tests
+ rely on it, keep it as window.internals.consoleProfiles.
</ins><span class="cx">
</span><del>-2013-04-29 Anders Carlsson <andersca@apple.com>
</del><ins>+ * WebCore.exp.in:
+ * page/Console.idl:
+ * testing/Internals.cpp:
+ (WebCore::Internals::consoleProfiles):
+ * testing/Internals.h:
+ * testing/Internals.idl:
</ins><span class="cx">
</span><del>- Re-indent StorageSyncManager and remove SecurityOrigin forward declaration.
</del><ins>+2014-02-26 Martin Hock <mhock@apple.com>
</ins><span class="cx">
</span><del>- Rubber-stamped by Andreas Kling.
</del><ins>+ Create SessionID value-style class for session IDs.
+ https://bugs.webkit.org/show_bug.cgi?id=129141
</ins><span class="cx">
</span><del>- * storage/StorageSyncManager.h:
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>-2013-04-27 Anders Carlsson <andersca@apple.com>
</del><ins>+ * GNUmakefile.list.am:
+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * page/Page.cpp: Add SessionID member.
+ (WebCore::Page::Page):
+ (WebCore::Page::sessionID): Retrieve sessionID or use settings if not set.
+ * page/Page.h:
+ (WebCore::Page::isSessionIDSet):
+ (WebCore::Page::setSessionID):
+ * page/SessionID.h: Session ID class consisting solely of its uint64_t session ID.
+ (WebCore::SessionID::SessionID):
+ (WebCore::SessionID::isValid): Not empty.
+ (WebCore::SessionID::isEphemeral):
+ (WebCore::SessionID::sessionID):
+ (WebCore::SessionID::operator==): Value-based equality.
+ (WebCore::SessionID::operator!=):
+ (WebCore::SessionID::emptySessionID): Zero value also used for HashTraits emptyValue.
+ (WebCore::SessionID::defaultSessionID):
+ (WebCore::SessionID::legacyPrivateSessionID):
+ * page/SessionIDHash.h:
+ (WTF::SessionIDHash::hash): Just the casted session ID (low order bytes)
+ (WTF::SessionIDHash::equal):
+ (WTF::HashTraits<WebCore::SessionID>::emptyValue): Equal to emptySessionID.
+ (WTF::HashTraits<WebCore::SessionID>::constructDeletedValue): -1 value.
+ (WTF::HashTraits<WebCore::SessionID>::isDeletedValue):
</ins><span class="cx">
</span><del>- Get rid of StorageTask
- https://bugs.webkit.org/show_bug.cgi?id=115313
</del><ins>+2014-02-26 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Fix builds that don't define IMAGE_CONTROLS.
</ins><span class="cx">
</span><ins>+ * page/ContextMenuContext.cpp:
+ (WebCore::ContextMenuContext::ContextMenuContext):
+
+2014-02-26 Eric Carlson <eric.carlson@apple.com>
+
+ Build fix for OS X after r164720.
+
+ * page/ContextMenuContext.cpp:
+
+2014-02-26 Brady Eidson <beidson@apple.com>
+
+ Pipe experimental image controls menu up to WebKit2
+ https://bugs.webkit.org/show_bug.cgi?id=129339
+
+ Reviewed by Simon Fraser.
+
+ Handle events for the image control, starting down the context menu code path if appropriate:
+ * html/shadow/mac/ImageControlsRootElementMac.cpp:
+ (WebCore::ImageControlsRootElementMac::defaultEventHandler):
+ * html/shadow/mac/ImageControlsRootElementMac.h:
+
+ Add a class to hold a HitTestResult and addition info about the current ContextMenu invocation:
+ * page/ContextMenuContext.cpp: Added.
+ (WebCore::ContextMenuContext::ContextMenuContext):
+ * page/ContextMenuContext.h: Added.
+ (WebCore::ContextMenuContext::hitTestResult):
+ (WebCore::ContextMenuContext::isImageControl):
+
+ Update ContextMenuController to work with ContextMenuContext instead of HitTestResult directly:
+ * page/ContextMenuController.cpp:
+ (WebCore::ContextMenuController::showContextMenu):
+ (WebCore::ContextMenuController::createContextMenu):
+ (WebCore::ContextMenuController::contextMenuItemSelected):
+ (WebCore::ContextMenuController::populate):
+ (WebCore::ContextMenuController::addInspectElementItem):
+ (WebCore::ContextMenuController::checkOrEnableIfNeeded):
+ (WebCore::ContextMenuController::showImageControlsMenu):
+ * page/ContextMenuController.h:
+ (WebCore::ContextMenuController::contextMenu):
+ (WebCore::ContextMenuController::setContextMenuContext):
+ (WebCore::ContextMenuController::context):
+ (WebCore::ContextMenuController::hitTestResult):
+
</ins><span class="cx"> * CMakeLists.txt:
</span><span class="cx"> * GNUmakefile.list.am:
</span><del>- * Target.pri:
- * WebCore.vcproj/WebCore.vcproj:
</del><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj:
</span><del>- * WebCore.vcxproj/WebCore.vcxproj.filters:
</del><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * storage/StorageSyncManager.cpp:
- * storage/StorageTask.cpp: Removed.
- * storage/StorageTask.h: Removed.
- * storage/StorageThread.cpp:
- (WebCore::StorageThread::threadEntryPoint):
- (WebCore::StorageThread::dispatch):
- (WebCore::StorageThread::terminate):
- * storage/StorageThread.h:
- (StorageThread):
- * storage/StorageTracker.cpp:
</del><span class="cx">
</span><del>-2013-04-29 Andreas Kling <akling@apple.com>
</del><ins>+2014-02-26 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- Add branch-prediction hint to FAST_RETURN_IF_NO_FRONTENDS.
- <http://webkit.org/b/115357>
</del><ins>+ REGRESSION(r162947): Document::topDocument() returns an incorrect reference for cached Documents
+ https://bugs.webkit.org/show_bug.cgi?id=128175
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Reviewed by Antti Koivisto.
</ins><span class="cx">
</span><del>- Since this macro is used in some very hot code paths, give the compiler an extra hint
- to try and minimize the impact it has when the inspector is not active.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::topDocument): Fall back to pre-r162947 way of determining the top document
+ when the Document is in page cache or is in the middle of having its render tree destroyed.
+ In the first case, the determined top document is actually the document currently loaded in the
+ Frame to which the cached document is still connected, which is obviously not desired. In the
+ second case the top document is similarly incorrectly deduced, leading to non-deletion of the
+ proper top document's AXObjectCache. Because of this AccessibilityRenderObjects are not detached
+ which results in assertions in RenderObject destructor where the objects are found to be still
+ flagged as in use by the AX cache.
</ins><span class="cx">
</span><del>- * inspector/InspectorInstrumentation.h:
</del><ins>+2014-02-26 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>-2013-04-29 Patrick Gansterer <paroga@webkit.org>
</del><ins>+ [CSSRegions] Remove unused method RenderFlowThread::updateLayerToRegionMappings()
+ https://bugs.webkit.org/show_bug.cgi?id=129368
</ins><span class="cx">
</span><del>- [WIN] Add WTF_USE_IMLANG_FONT_LINK2
- https://bugs.webkit.org/show_bug.cgi?id=115198
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Remove unused code, no new tests.
</ins><span class="cx">
</span><del>- Add this new define to have a central place for switching
- the IMLangFontLinkType and adop all usages of the type.
- This makes the usage of the code easier on desktop pcs.
</del><ins>+ * rendering/RenderFlowThread.h:
</ins><span class="cx">
</span><del>- * platform/graphics/FontCache.h:
- (WebCore):
- * platform/graphics/wince/FontCacheWinCE.cpp:
- (WebCore::currentFontContainsCharacter):
- (WebCore::createMLangFont):
- (WebCore::FontCache::getFontDataForCharacters):
- * platform/graphics/wince/SimpleFontDataWinCE.cpp:
- (WebCore::SimpleFontData::containsCharacters):
</del><ins>+2014-02-26 Xabier Rodriguez Calvar <calvaris@igalia.com>
</ins><span class="cx">
</span><del>-2013-04-29 Noam Rosenthal <noam@webkit.org>
</del><ins>+ [GTK] Regression when showing the captions menu
+ https://bugs.webkit.org/show_bug.cgi?id=129106
</ins><span class="cx">
</span><del>- Get rid of "non-composited contents" in CoordinatedLayerTreeHost
- https://bugs.webkit.org/show_bug.cgi?id=110355
</del><ins>+ Reviewed by Martin Robinson.
</ins><span class="cx">
</span><del>- Reviewed by Jocelyn Turcotte.
</del><ins>+ In some cases, when clicking the captions button the menu was not
+ shown.
</ins><span class="cx">
</span><del>- When in force compositing mode, always assume that the main layer needs
- a backing store. Make setVisibleContentRectTrajectoryVector and accumulatedCoverRect
- recursive so that they don't rely on a specialized layer.
</del><ins>+ Updated test: media/video-controls-captions-trackmenu.html
</ins><span class="cx">
</span><del>- No new testable behavior, changes to coverRect and trajectory vector only
- affect tiling latency in rare cases that are not trivial to test.
</del><ins>+ * Modules/mediacontrols/mediaControlsGtk.js:
+ (ControllerGtk.prototype.buildCaptionMenu):
+ (ControllerGtk.prototype.showCaptionMenu): Specify sizes in
+ pixels.
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
- (WebCore::CoordinatedGraphicsLayer:setVisibleContentRectTrajectoryVector):
- Make the trajectory vector recursive, though limited only to layers with
- translate/identity. This allows us to keep the trajectory vector while removing
- the non-composited contents specialization.
</del><ins>+2014-02-26 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- (WebCore::CoordinatedGraphicsLayer::accumulatedCoverRect):
- Added accumulatedCoverRect, so that the coverRect calculations for the UI process
- are not bound to the non-composited contents layer.
</del><ins>+ Avoid unnecessary HTML Collection invalidations for id and name attribute changes
+ https://bugs.webkit.org/show_bug.cgi?id=129361
</ins><span class="cx">
</span><del>- (WebCore::CoordinatedGraphicsLayer::findDescendantWithContentsRecursively):
- Instead of saving a reference to the non-composited contents layer, we assume that
- the first layer we found recursively which has contents is the one to be used for
- coverRect/trajectory calculations.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- (WebCore):
- * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
- (CoordinatedGraphicsLayer):
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::paintsIntoWindow):
- Always create a layer for the non-composited contents when in forceCompositing mode.
</del><ins>+ Before this patch, setting id and name attributes resulted in traversing all the ancestors to invalidate
+ HTML collections on those nodes whenever we had more than one HTMLCollection alive.
</ins><span class="cx">
</span><del>-2013-04-29 Dirk Schulze <krit@webkit.org>
</del><ins>+ Avoid the traversal when HTMLCollections don't have any valid id and name map caches by making each
+ HTMLCollection explicitly call collectionCachedIdNameMap and collectionWillClearIdNameMap when it caches
+ or clears the id and name map.
</ins><span class="cx">
</span><del>- Animate clip rect() between different Length types
- https://bugs.webkit.org/show_bug.cgi?id=115336
</del><ins>+ Inspired by https://chromium.googlesource.com/chromium/blink/+/5b06b91b79098f7d42e480f85be32198315d2440
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::registerCollection): Takes a boolean to indicate whether collection has a valid cache
+ for the id and name map.
+ (WebCore::Document::unregisterCollection): Ditto.
+ (WebCore::Document::collectionCachedIdNameMap): Added.
+ (WebCore::Document::collectionWillClearIdNameMap): Added.
+ * dom/Document.h:
</ins><span class="cx">
</span><del>- At the moment the animation for the 'clip' property
- has an early return if the type of two Length values
- does not match. This patch removes this early return.
</del><ins>+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::adoptDocument): Call invalidateCache on HTML collections after, not before,
+ calling unregisterCollection and registerCollection since collections' owner nodes have already been
+ moved to the new document here and invalidateCache uses owner node's document to call
+ collectionWillClearIdNameMap. So calling invalidateCache before calling unregister/registerCollection
+ would result in collectionWillClearIdNameMap getting called on a wrong document.
</ins><span class="cx">
</span><del>- Modified existing tests to cover the changes.
</del><ins>+ * html/HTMLCollection.cpp:
+ (WebCore::HTMLCollection::HTMLCollection):
+ (WebCore::HTMLCollection::~HTMLCollection):
+ (WebCore::HTMLCollection::invalidateCache):
+ (WebCore::HTMLCollection::invalidateIdNameCacheMaps): Added the code to uncount itself from the number
+ of live node lists and HTML collections that need to be invalidated upon id and name attribute changes.
+ (WebCore::HTMLCollection::updateNameCache):
</ins><span class="cx">
</span><del>- * page/animation/CSSPropertyAnimation.cpp:
- (WebCore::blendFunc):
</del><ins>+ * html/HTMLCollection.h:
+ (WebCore::HTMLCollection::invalidateCache):
+ (WebCore::HTMLCollection::hasIdNameCache): Renamed from hasNameCache.
+ (WebCore::HTMLCollection::setHasIdNameCache): Renamed from setHasIdNameCache.
</ins><span class="cx">
</span><del>-2013-04-29 Andreas Kling <akling@apple.com>
</del><ins>+ * html/HTMLFormControlsCollection.cpp:
+ (WebCore::HTMLFormControlsCollection::updateNameCache):
</ins><span class="cx">
</span><del>- When updating geometry, send JavaScript resize before before layout/paint.
- <http://webkit.org/b/115199>
- <rdar://problem/13735535>
</del><ins>+2014-02-25 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Add support for minsize/maxsize attributes.
+ https://bugs.webkit.org/show_bug.cgi?id=122567
</ins><span class="cx">
</span><del>- Make the "resize" event synchronous and dispatch it before doing any automatic
- resize-induced layout. This avoids unnecessary work in cases where an event handler
- does something that dirties style.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- It also avoids a kind of JS-side FOUC that happens if we drop out to the runloop
- and paint before the resize event handler runs; for example, when viewing a popup
- on <http://lokeshdhakar.com/projects/lightbox2/> and resizing the window, the dark
- overlay sometimes resizes out of sync with the web view, since a paint may happen
- between automatic layout and the resize event.
</del><ins>+ This change implements the minsize/maxsize attributes of the mo element.
+ We also switch stretch sizes from int to LayoutUnit to improve accuracy.
</ins><span class="cx">
</span><del>- * page/EventHandler.h:
- * page/EventHandler.cpp:
- (WebCore::EventHandler::dispatchResizeEvent):
- * page/FrameView.h:
</del><ins>+ Tests: mathml/presentation/stretchy-minsize-maxsize-dynamic.html
+ mathml/presentation/stretchy-minsize-maxsize.html
+
+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::SetOperatorProperties):
+ (WebCore::RenderMathMLOperator::stretchTo):
+ * rendering/mathml/RenderMathMLOperator.h:
+ * rendering/mathml/RenderMathMLRow.cpp:
+ (WebCore::RenderMathMLRow::layout):
+
+2014-02-25 Mihnea Ovidenie <mihnea@adobe.com>
+
+ [CSSRegions] Small clean-up of flow threads accelerated compositing code
+ https://bugs.webkit.org/show_bug.cgi?id=129312
+
+ Reviewed by Andrei Bucur.
+
+ Some clean-up for the code used for regions in accelerated compositing functionality:
+ 1. Rename updateRenderFlowThreadLayersIfNeeded -> updateFlowThreadsLayerToRegionMappingsIfNeeded
+ as the function updates the mapping between the flow threads layers and their corresponding regions
+ 2. Remove RenderLayerCompositor::updateRenderFlowThreadLayersIfNeeded and move the code in place
+ at call site since the function body does not require a dedicated function.
+
+ No new functionality, no new tests.
+
+ * rendering/FlowThreadController.cpp:
+ (WebCore::FlowThreadController::updateFlowThreadsLayerToRegionMappingsIfNeeded):
+ Now that the regions are always layers, we do not need to iterate backwards.
+ * rendering/FlowThreadController.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::updateCompositingLayers):
+ * rendering/RenderLayerCompositor.h:
+
+2014-02-25 Zalan Bujtas <zalan@apple.com>
+
+ Subpixel rendering: Ensure consistent border painting width.
+ https://bugs.webkit.org/show_bug.cgi?id=129259
+
+ Reviewed by Simon Fraser.
+
+ Border edges are painted as (semi)independent rectangles. When snapping an edge rectangle
+ to device pixels, its painted dimensions depend on its size and its fractional position.
+ Specific combination of position and border width can result in painting edges sized differently.
+ Using device snapped border width to calculate inner/outer rectangles helps to maintain
+ uniform border width.
+
+ Currently not testable.
+
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::BorderEdge::BorderEdge):
+ (WebCore::BorderEdge::shouldRender):
+ (WebCore::BorderEdge::presentButInvisible):
+ (WebCore::BorderEdge::widthForPainting):
+ (WebCore::BorderEdge::getDoubleBorderStripeWidths):
+ (WebCore::RenderBoxModelObject::paintOneBorderSide):
+ (WebCore::calculateSideRect):
+ (WebCore::RenderBoxModelObject::paintBorderSides):
+ (WebCore::RenderBoxModelObject::paintBorder):
+ (WebCore::RenderBoxModelObject::drawBoxSideFromPath):
+ (WebCore::calculateSideRectIncludingInner):
+
+2014-02-25 Zalan Bujtas <zalan@apple.com>
+
+ Subpixel layout: Remove explicit static_cast<LayoutUnit> conversions.
+ https://bugs.webkit.org/show_bug.cgi?id=129359
+
+ Reviewed by Simon Fraser.
+
+ No testable change in behavior.
+
+ * css/LengthFunctions.cpp:
+ (WebCore::minimumValueForLength):
</ins><span class="cx"> * page/FrameView.cpp:
</span><del>- (WebCore::FrameView::dispatchResizeEvent):
</del><ins>+ (WebCore::FrameView::forceLayoutForPagination):
+ * rendering/InlineFlowBox.cpp:
+ (WebCore::InlineFlowBox::paintFillLayer):
+ * rendering/InlineFlowBox.h:
+ (WebCore::InlineFlowBox::logicalLeftVisualOverflow):
+ (WebCore::InlineFlowBox::logicalRightVisualOverflow):
+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::isSelected):
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::computeColumnCountAndWidth):
+ (WebCore::getBPMWidth):
+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::adjustForBorderFit):
+ * rendering/RenderDeprecatedFlexibleBox.cpp:
+ (WebCore::RenderDeprecatedFlexibleBox::layoutVerticalBox):
+ * rendering/RenderFieldset.cpp:
+ (WebCore::RenderFieldset::paintBoxDecorations):
+ * rendering/RenderTable.h:
+ (WebCore::RenderTable::borderSpacingInRowDirection):
+ * rendering/RenderTextControlMultiLine.cpp:
+ (WebCore::RenderTextControlMultiLine::preferredContentLogicalWidth):
+ * rendering/RenderTextControlSingleLine.cpp:
+ (WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth):
+ * rendering/RootInlineBox.cpp:
+ (WebCore::RootInlineBox::beforeAnnotationsAdjustment):
+ (WebCore::RootInlineBox::ascentAndDescentForBox):
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::resolveLengthAttributeForSVG):
</ins><span class="cx">
</span><del>- Renamed sendResizeEvent() to dispatchResizeEvent() and made it dispatch the event
- synchronously instead of adding it to the DocumentEventQueue.
</del><ins>+2014-02-25 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- (WebCore::FrameView::performPostLayoutTasks):
- (WebCore::FrameView::setFrameRect):
</del><ins>+ Build fixes.
</ins><span class="cx">
</span><del>- Dispatch the "resize" event right when the new frame rect is set.
</del><ins>+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
</ins><span class="cx">
</span><del>-2013-04-29 Patrick Gansterer <paroga@webkit.org>
</del><ins>+2014-02-25 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Remove OS(WINCE) from (Render|Scrollbar)ThemeWin.cpp
- https://bugs.webkit.org/show_bug.cgi?id=115348
</del><ins>+ Build fix for OS X after r164690
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- Compile DIBPixelData.cpp on Windows CE too, which allows us
- to get rid of a few #if OS(WINCE) in other code parts.
</del><ins>+2014-02-25 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- * PlatformWinCE.cmake:
- * platform/graphics/win/DIBPixelData.cpp:
- (WebCore::DIBPixelData::setRGBABitmapAlpha):
- * platform/win/ScrollbarThemeWin.cpp:
- (WebCore::ScrollbarThemeWin::paintTrackPiece):
- (WebCore::ScrollbarThemeWin::paintButton):
- (WebCore::ScrollbarThemeWin::paintThumb):
- * rendering/RenderThemeWin.cpp:
- (WebCore::drawControl):
</del><ins>+ Rename WebCore::VisitedLinkProvider to WebCore::VisitedLinkStore
+ https://bugs.webkit.org/show_bug.cgi?id=129357
</ins><span class="cx">
</span><del>-2013-04-29 Eli Fidler <efidler@blackberry.com>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- [BlackBerry] Fake-bold monospace fonts need to use non-fake-bold advances
- https://bugs.webkit.org/show_bug.cgi?id=115280
</del><ins>+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * dom/VisitedLinkState.cpp:
+ (WebCore::VisitedLinkState::determineLinkStateSlowCase):
+ * loader/HistoryController.cpp:
+ (WebCore::addVisitedLink):
+ * page/DefaultVisitedLinkStore.cpp: Renamed from Source/WebCore/page/DefaultVisitedLinkProvider.cpp.
+ (WebCore::DefaultVisitedLinkStore::create):
+ (WebCore::DefaultVisitedLinkStore::DefaultVisitedLinkStore):
+ (WebCore::DefaultVisitedLinkStore::~DefaultVisitedLinkStore):
+ (WebCore::DefaultVisitedLinkStore::isLinkVisited):
+ (WebCore::DefaultVisitedLinkStore::addVisitedLink):
+ * page/DefaultVisitedLinkStore.h: Renamed from Source/WebCore/page/DefaultVisitedLinkProvider.h.
+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ (WebCore::Page::visitedLinkStore):
+ * page/Page.h:
+ * page/PageGroup.cpp:
+ (WebCore::PageGroup::visitedLinkStore):
+ * page/PageGroup.h:
+ * page/VisitedLinkStore.cpp: Renamed from Source/WebCore/page/VisitedLinkProvider.cpp.
+ (WebCore::VisitedLinkStore::VisitedLinkStore):
+ (WebCore::VisitedLinkStore::~VisitedLinkStore):
+ * page/VisitedLinkStore.h: Renamed from Source/WebCore/page/VisitedLinkProvider.h.
</ins><span class="cx">
</span><del>- Reviewed by George Staikos.
</del><ins>+2014-02-25 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- BlackBerry PR 330864
</del><ins>+ [WebKit2] Form controls handling.
+ https://bugs.webkit.org/show_bug.cgi?id=129344
+ <rdar://problem/16053643>
</ins><span class="cx">
</span><del>- Tested by fast/css/css3-ch-unit.html
</del><ins>+ Reviewed by Simon Fraser and Joseph Pecoraro.
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/FontPlatformDataBlackBerry.cpp:
- (WebCore::FontPlatformData::applyState):
- (WebCore::FontPlatformData::isFixedPitch):
- * platform/graphics/blackberry/ITypeUtils.h:
- * platform/graphics/blackberry/SimpleFontDataBlackBerry.cpp:
- (WebCore::SimpleFontData::platformWidthForGlyph):
</del><ins>+ Adding some exports.
+
+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>-2013-04-29 ChangSeok Oh <changseok.oh@collabora.com>
</del><ins>+2014-02-25 Samuel White <samuel_white@apple.com>
</ins><span class="cx">
</span><del>- [GTK][AC] Clean up code related with the children management stuff for clutter based AC
- https://bugs.webkit.org/show_bug.cgi?id=114260
</del><ins>+ Add accessibility search predicate support for AXOutlines
+ https://bugs.webkit.org/show_bug.cgi?id=123748
</ins><span class="cx">
</span><del>- Reviewed by Gustavo Noronha Silva.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Remove unused or usless code for children management stuff.
</del><ins>+ Added new AXOutlineSearchKey to support finding elements with aria role=tree.
</ins><span class="cx">
</span><del>- No new tests since no functionality changed.
</del><ins>+ No new tests, updated existing search-predicate.html test to cover AXOutlineSearchKey.
</ins><span class="cx">
</span><del>- * platform/graphics/clutter/GraphicsLayerActor.cpp:
- (_GraphicsLayerActorPrivate):
- (graphics_layer_actor_class_init):
- (graphicsLayerActorAllocate):
- (graphicsLayerActorDraw):
- (graphicsLayerActorNew):
- (graphicsLayerActorSetSublayers):
- * platform/graphics/clutter/GraphicsLayerActor.h:
- * platform/graphics/clutter/GraphicsLayerClutter.cpp:
- (WebCore::idleDestroy):
- (WebCore::GraphicsLayerClutter::ensureStructuralLayer):
- (WebCore::GraphicsLayerClutter::updateLayerDrawsContent):
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::isAccessibilityObjectSearchMatchAtIndex):
+ * accessibility/AccessibilityObject.h:
+ * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+ (createAccessibilitySearchKeyMap):
</ins><span class="cx">
</span><del>-2013-04-29 Patrick Gansterer <paroga@webkit.org>
</del><ins>+2014-02-25 Mark Lam <mark.lam@apple.com>
</ins><span class="cx">
</span><del>- [WIN] Guard cfHDropFormat() with USE(CF) instead of OS(WINCE)
- https://bugs.webkit.org/show_bug.cgi?id=115195
</del><ins>+ Need to initialize VM stack data even when the VM is on an exclusive thread.
+ <https://webkit.org/b/129265>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Not reviewed.
</ins><span class="cx">
</span><del>- USE(CF) is the correct guard, which works on desktop pcs too.
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- * platform/win/ClipboardWin.cpp:
- (WebCore::ClipboardWin::files):
- * platform/win/DragDataWin.cpp:
- (WebCore::DragData::containsFiles):
- (WebCore::DragData::numberOfFiles):
- (WebCore::DragData::asFilenames):
</del><ins>+ Relanding r164627 now that <https://webkit.org/b/129341> is fixed.
</ins><span class="cx">
</span><del>-2013-04-29 Carlos Garcia Campos <cgarcia@igalia.com>
</del><ins>+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::reportException):
+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::commonVM):
</ins><span class="cx">
</span><del>- Unreviewed. Fix make distcheck.
</del><ins>+2014-02-25 Mark Lam <mark.lam@apple.com>
</ins><span class="cx">
</span><del>- * GNUmakefile.am: Add missing scripts to EXTRA_DIST.
- * GNUmakefile.list.am: Add missing files to compilation.
</del><ins>+ JSDOMPromise methods should acquire VM lock before calling into JS.
+ <https://webkit.org/b/129341>
</ins><span class="cx">
</span><del>-2013-04-29 Noam Rosenthal <noam@webkit.org>
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- [Qt] fast/canvas/webgl/webgl-composite-modes.html broken after r148433.
- https://bugs.webkit.org/show_bug.cgi?id=115243
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- Reviewed by Jocelyn Turcotte.
</del><ins>+ * bindings/js/JSDOMPromise.h:
+ (WebCore::DeferredWrapper::resolve):
+ (WebCore::DeferredWrapper::reject):
+ (WebCore::DeferredWrapper::resolve<String>):
+ (WebCore::DeferredWrapper::resolve<bool>):
+ (WebCore::char>>):
+ (WebCore::DeferredWrapper::reject<String>):
</ins><span class="cx">
</span><del>- When compositing a layer with a canvas or directly composited image, it is
- wrong to use TextureMapperLayer::setBackingStore. Instead, setContentsLayer
- should be used, which allows for the layer to have both a backing store and
- a contents layer.
</del><ins>+2014-02-25 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/texmap/TextureMapperLayer.cpp:
- (WebCore::TextureMapperLayer::paintSelf):
- * platform/graphics/texmap/TextureMapperLayer.h:
- (State):
- (WebCore::TextureMapperLayer::State::State):
- * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
- (WebCore::CoordinatedGraphicsScene::createCanvasIfNeeded):
- (WebCore::CoordinatedGraphicsScene::destroyCanvasIfNeeded):
- (WebCore::CoordinatedGraphicsScene::assignImageBackingToLayer):
</del><ins>+ Simplify visited link style invalidation
+ https://bugs.webkit.org/show_bug.cgi?id=129340
</ins><span class="cx">
</span><del>-2013-04-29 Patrick Gansterer <paroga@webkit.org>
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- Unreviewed build fix.
</del><ins>+ Get rid of the static Page::allVisitedStateChanged and Page::visitedStateChanged
+ member functions and add functions to invalidate all styles on a single page or the style
+ for a single link hash on a single page.
</ins><span class="cx">
</span><del>- * bindings/js/WorkerScriptDebugServer.cpp: Added missing header.
</del><ins>+ * WebCore.exp.in:
+ * page/Page.cpp:
+ (WebCore::Page::invalidateStylesForAllLinks):
+ (WebCore::Page::invalidateStylesForLink):
+ * page/Page.h:
+ * page/PageGroup.cpp:
+ (WebCore::PageGroup::addVisitedLink):
+ (WebCore::PageGroup::removeVisitedLink):
+ (WebCore::PageGroup::removeVisitedLinks):
</ins><span class="cx">
</span><del>-2013-04-29 Patrick Gansterer <paroga@webkit.org>
</del><ins>+2014-02-25 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- Unreviewed build fix.
</del><ins>+ Remove unused ThreadSpecificInspectorCounters.
+ <https://webkit.org/b/129337>
</ins><span class="cx">
</span><del>- * platform/graphics/wince/FontWinCE.cpp:
- (WebCore::generateComponents):
</del><ins>+ We were keeping count of all the JS event listeners in every thread
+ to support an old Chromium feature that's no longer relevant.
</ins><span class="cx">
</span><del>-2013-04-29 Patrick Gansterer <paroga@webkit.org>
</del><ins>+ Removing this gets rid of expensive thread-local storage lookups.
</ins><span class="cx">
</span><del>- Remove OS(WINCE) from HTMLSelectElement.cpp
- https://bugs.webkit.org/show_bug.cgi?id=115194
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * bindings/js/JSEventListener.cpp:
+ (WebCore::JSEventListener::JSEventListener):
+ (WebCore::JSEventListener::~JSEventListener):
+ * inspector/InspectorCounters.cpp:
+ * inspector/InspectorCounters.h:
+ * inspector/InspectorTimelineAgent.cpp:
+ (WebCore::InspectorTimelineAgent::setDOMCounters):
+ * inspector/protocol/Timeline.json:
+ * platform/ThreadGlobalData.cpp:
+ (WebCore::ThreadGlobalData::ThreadGlobalData):
+ (WebCore::ThreadGlobalData::destroy):
+ * platform/ThreadGlobalData.h:
</ins><span class="cx">
</span><del>- Use the same files like the the other PLATFORM(WIN) ports use.
</del><ins>+2014-02-25 Laszlo Vidacs <lvidacs.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- * PlatformWinCE.cmake:
- * html/HTMLSelectElement.cpp:
- (WebCore):
</del><ins>+ display:table with padding and/or borders in border-box calculates height incorrectly
+ https://bugs.webkit.org/show_bug.cgi?id=126576
</ins><span class="cx">
</span><del>-2013-04-25 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- StaticHashSetNodeList is unnecessary
- https://bugs.webkit.org/show_bug.cgi?id=115219
</del><ins>+ Based on blink issue https://codereview.chromium.org/25206002/
</ins><span class="cx">
</span><del>- Reviewed by Antonio Gomes.
</del><ins>+ Tests: fast/box-sizing/css-table-collapse.html
+ fast/box-sizing/css-table-no-collapse.html
+ fast/box-sizing/table-collapse.html
+ fast/box-sizing/table-no-collapse.html
</ins><span class="cx">
</span><del>- Moved Document::nodesFromRect into Internals::nodesFromRect per
- https://chromium.googlesource.com/chromium/blink/+/78207c5c34383fbb807bb9347deb67168f09bb04.
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::computePositionedLogicalHeightUsing):
</ins><span class="cx">
</span><del>- Also made TouchAdjustment functions use HashListSet directly instead of wrapping it inside
- a StaticHashSetNodeList since there was no need to use the latter.
</del><ins>+2014-02-25 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- With these two changes, I deleted StaticHashSetNodeList.
</del><ins>+ Get rid of VisitedLinkStrategy
+ https://bugs.webkit.org/show_bug.cgi?id=129324
</ins><span class="cx">
</span><ins>+ Reviewed by Dan Bernstein.
+
</ins><span class="cx"> * GNUmakefile.list.am:
</span><del>- * Target.pri:
- * WebCore.exp.in:
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
</ins><span class="cx"> * WebCore.xcodeproj/project.pbxproj:
</span><del>- * dom/Document.cpp:
- (WebCore):
- * dom/Document.h:
- (Document):
- * dom/StaticHashSetNodeList.cpp: Removed.
- * dom/StaticHashSetNodeList.h: Removed.
- * page/EventHandler.cpp:
- (WebCore::EventHandler::bestClickableNodeForTouchPoint):
- (WebCore::EventHandler::bestContextMenuNodeForTouchPoint):
- (WebCore::EventHandler::bestZoomableAreaForTouchPoint):
- * page/TouchAdjustment.cpp:
- (WebCore::TouchAdjustment::compileSubtargetList):
- (WebCore::TouchAdjustment::compileZoomableSubtargets):
- (WebCore::findBestClickableCandidate):
- (WebCore::findBestContextMenuCandidate):
- (WebCore::findBestZoomableArea):
- * page/TouchAdjustment.h:
- (WebCore):
- * testing/Internals.cpp:
- (WebCore::Internals::nodesFromRect):
</del><ins>+ * platform/PlatformStrategies.h:
+ (WebCore::PlatformStrategies::PlatformStrategies):
+ * platform/VisitedLinkStrategy.h: Removed.
</ins><span class="cx">
</span><del>-2013-04-28 Dean Jackson <dino@apple.com>
</del><ins>+2014-02-25 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- [Mac] Disable canvas backing store scaling (HIGH_DPI_CANVAS)
- https://bugs.webkit.org/show_bug.cgi?id=115310
</del><ins>+ Rolling out http://trac.webkit.org/changeset/164611, because it broke
+ WebKit2.PrivateBrowsingPushStateNoHistoryCallback API test
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ The change was for:
</ins><span class="cx">
</span><del>- Disable the automatic pixel doubling in canvas backing stores on high
- dpi devices. This will potentially make canvases look worse of high dpi
- displays, but only if they were ignoring devicePixelRatio. Since the
- majority of high dpi displays *do not* auto-double (including mobile
- devices and other desktop browsers), this provides consistency and less
- chance of unnecessary memory use.
</del><ins>+ https://bugs.webkit.org/show_bug.cgi?id=129141
+ Create SessionID class
</ins><span class="cx">
</span><del>- * Configurations/FeatureDefines.xcconfig: Remove ENABLE_HIGH_DPI_CANVAS_macosx.
</del><ins>+2014-02-25 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>-2013-04-28 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Unreviewed, rolling out r164627.
+ http://trac.webkit.org/changeset/164627
+ https://bugs.webkit.org/show_bug.cgi?id=129325
</ins><span class="cx">
</span><del>- Get rid of [Callback] IDL extended attribute for parameters
- https://bugs.webkit.org/show_bug.cgi?id=115250
</del><ins>+ Broke SubtleCrypto tests (Requested by ap on #webkit).
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::reportException):
+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::commonVM):
</ins><span class="cx">
</span><del>- Remove the WebKit-specific [Callback] extended attribute and make the bindings
- generator smart enough to know when a parameter is of callback type on its
- own.
</del><ins>+2014-02-25 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ DefaultVisitedLinkProvider can just call into the page group directly
+ https://bugs.webkit.org/show_bug.cgi?id=129320
</ins><span class="cx">
</span><del>- * DerivedSources.make: Use WebCore/Modules as IDL include path instead of using
- subdirs. The generator will search recursively anyway and the list of subdirs was
- incomplete.
- * Modules/filesystem/DOMWindowFileSystem.idl:
- * Modules/filesystem/DirectoryEntry.idl:
- * Modules/filesystem/DirectoryReader.idl:
- * Modules/filesystem/Entry.idl:
- * Modules/filesystem/FileEntry.idl:
- * Modules/filesystem/WorkerContextFileSystem.idl:
- * Modules/mediastream/NavigatorMediaStream.idl:
- * Modules/mediastream/RTCPeerConnection.idl:
- * Modules/notifications/Notification.idl:
- * Modules/notifications/NotificationCenter.idl:
- * Modules/quota/StorageInfo.idl:
- * Modules/quota/StorageQuota.idl:
- * Modules/webaudio/AudioContext.idl:
- * Modules/webdatabase/DOMWindowWebDatabase.idl:
- * Modules/webdatabase/Database.idl:
- * Modules/webdatabase/DatabaseSync.idl:
- * Modules/webdatabase/SQLTransaction.idl:
- * Modules/webdatabase/WorkerContextWebDatabase.idl:
- * bindings/gobject/GNUmakefile.am: Add missing IDL include dirs.
- * bindings/scripts/CodeGenerator.pm:
- (IsWrapperType):
- (IsCallbackInterface):
- * bindings/scripts/CodeGeneratorGObject.pm:
- (SkipFunction):
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateParametersCheckExpression):
- (GenerateParametersCheck):
- * bindings/scripts/IDLAttributes.txt: Remove "Callback" extended attribute.
- * bindings/scripts/test/CPP/WebDOMTestCallback.cpp:
- (WebDOMTestCallback::callbackWithArrayParam):
- (WebDOMTestCallback::callbackWithSerializedScriptValueParam):
- (WebDOMTestCallback::callbackWithNonBoolReturnType):
- (WebDOMTestCallback::callbackRequiresThisToPass):
- * bindings/scripts/test/CPP/WebDOMTestCallback.h:
- (WebDOMTestCallback):
- * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
- (WebDOMTestObj::convert1):
- (WebDOMTestObj::convert2):
- (WebDOMTestObj::convert4):
- (WebDOMTestObj::convert5):
- * bindings/scripts/test/CPP/WebDOMTestObj.h:
- * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp:
- (WebDOMTestSerializedScriptValueInterface::acceptTransferList):
- (WebDOMTestSerializedScriptValueInterface::multiTransferList):
- * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h:
- (WebDOMTestSerializedScriptValueInterface):
- * bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp:
- (WebDOMTestTypedefs::multiTransferList):
- * bindings/scripts/test/CPP/WebDOMTestTypedefs.h:
- (WebDOMTestTypedefs):
- * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
- (webkit_dom_test_callback_callback_with_array_param):
- (webkit_dom_test_callback_callback_with_serialized_script_value_param):
- (webkit_dom_test_callback_callback_with_non_bool_return_type):
- (webkit_dom_test_callback_callback_requires_this_to_pass):
- * bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
- * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
- (webkit_dom_test_obj_convert1):
- (webkit_dom_test_obj_convert2):
- (webkit_dom_test_obj_convert4):
- (webkit_dom_test_obj_convert5):
- * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
- * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:
- (webkit_dom_test_serialized_script_value_interface_accept_transfer_list):
- (webkit_dom_test_serialized_script_value_interface_multi_transfer_list):
- * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:
- * bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp:
- (webkit_dom_test_typedefs_multi_transfer_list):
- * bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h:
- * bindings/scripts/test/JS/JSTestCallback.cpp:
- (WebCore::JSTestCallback::callbackWithArrayParam):
- (WebCore::JSTestCallback::callbackWithSerializedScriptValueParam):
- (WebCore::JSTestCallback::callbackRequiresThisToPass):
- * bindings/scripts/test/JS/JSTestCallback.h:
- (JSTestCallback):
- * bindings/scripts/test/JS/JSTestObj.cpp:
- (WebCore::jsTestObjPrototypeFunctionConvert1):
- (WebCore::jsTestObjPrototypeFunctionConvert2):
- (WebCore::jsTestObjPrototypeFunctionConvert4):
- (WebCore::jsTestObjPrototypeFunctionConvert5):
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
- (WebCore::JSTestSerializedScriptValueInterfaceConstructor::constructJSTestSerializedScriptValueInterface):
- (WebCore::jsTestSerializedScriptValueInterfacePrototypeFunctionAcceptTransferList):
- (WebCore::jsTestSerializedScriptValueInterfacePrototypeFunctionMultiTransferList):
- * bindings/scripts/test/JS/JSTestTypedefs.cpp:
- (WebCore::jsTestTypedefsPrototypeFunctionMultiTransferList):
- * bindings/scripts/test/ObjC/DOMTestCallback.h:
- * bindings/scripts/test/ObjC/DOMTestCallback.mm:
- (-[DOMTestCallback callbackWithArrayParam:]):
- (-[DOMTestCallback callbackWithSerializedScriptValueParam:strArg:]):
- (-[DOMTestCallback callbackWithNonBoolReturnType:]):
- (-[DOMTestCallback callbackRequiresThisToPass:testNodeParam:]):
- * bindings/scripts/test/ObjC/DOMTestObj.h:
- * bindings/scripts/test/ObjC/DOMTestObj.mm:
- (-[DOMTestObj convert1:]):
- (-[DOMTestObj convert2:]):
- (-[DOMTestObj convert4:]):
- (-[DOMTestObj convert5:]):
- * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h:
- * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm:
- (-[DOMTestSerializedScriptValueInterface acceptTransferList:transferList:]):
- (-[DOMTestSerializedScriptValueInterface multiTransferList:tx:second:txx:]):
- * bindings/scripts/test/ObjC/DOMTestTypedefs.h:
- * bindings/scripts/test/ObjC/DOMTestTypedefs.mm:
- (-[DOMTestTypedefs multiTransferList:tx:second:txx:]):
- * bindings/scripts/test/TestCallback.idl: Use valid types instead of Class1, Class2, ...
- so that the bindings generator does not complain about not being able to resolve
- them.
- * bindings/scripts/test/TestObj.idl: Use valid parameter types instead of 'a', 'b', 'd', 'e'
- so that the bindings generator does not complain about them.
- * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
- * bindings/scripts/test/TestTypedefs.idl:
- * css/FontLoader.idl:
- * dom/DataTransferItem.idl:
- * page/DOMWindow.idl:
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>-2013-04-27 Darin Adler <darin@apple.com>
</del><ins>+ * page/DefaultVisitedLinkProvider.cpp:
+ (WebCore::DefaultVisitedLinkProvider::isLinkVisited):
+ (WebCore::DefaultVisitedLinkProvider::addVisitedLink):
</ins><span class="cx">
</span><del>- Move from constructor and member function adoptCF/NS to free function adoptCF/NS.
- https://bugs.webkit.org/show_bug.cgi?id=115307
</del><ins>+2014-02-25 Commit Queue <commit-queue@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Unreviewed, rolling out r164638.
+ http://trac.webkit.org/changeset/164638
+ https://bugs.webkit.org/show_bug.cgi?id=129321
</ins><span class="cx">
</span><del>- This change was done by a global replace followed by compiling and inspecting for
- cases that needed to be tweaked by hand.
</del><ins>+ Broke Windows build. (Requested by bfulgham on #webkit).
</ins><span class="cx">
</span><del>- * accessibility/ios/AXObjectCacheIOS.mm:
- (WebCore::AXObjectCache::attachWrapper):
- * accessibility/mac/AXObjectCacheMac.mm:
- (WebCore::AXObjectCache::attachWrapper):
- * bridge/objc/objc_class.mm:
- (JSC::Bindings::ObjcClass::methodNamed):
- (JSC::Bindings::ObjcClass::fieldNamed):
- * bridge/objc/objc_runtime.mm:
- (JSC::Bindings::ObjcField::ObjcField):
- * editing/mac/EditorMac.mm:
- (WebCore::Editor::fontAttributesForSelectionStart):
- * history/cf/HistoryPropertyList.cpp:
- (WebCore::HistoryPropertyListWriter::releaseData):
</del><ins>+ * dom/ContainerNode.h:
+ (WebCore::ChildNodesLazySnapshot::takeSnapshot):
+ (WebCore::ChildNodesLazySnapshot::hasSnapshot):
+ * dom/Element.cpp:
+ (WebCore::ensureAttrNodeListForElement):
+ (WebCore::Element::attributes):
+ * dom/ElementIteratorAssertions.h:
+ (WebCore::ElementIteratorAssertions::ElementIteratorAssertions):
+ * dom/ElementRareData.h:
+ (WebCore::ElementRareData::create):
+ (WebCore::ElementRareData::setAttributeMap):
+ * dom/MutationObserverRegistration.cpp:
+ (WebCore::MutationObserverRegistration::create):
+ (WebCore::MutationObserverRegistration::observedSubtreeNodeWillDetach):
+ (WebCore::MutationObserverRegistration::clearTransientRegistrations):
+ (WebCore::MutationObserverRegistration::addRegistrationNodesToSet):
+ * dom/MutationObserverRegistration.h:
+ * dom/NamedNodeMap.h:
+ (WebCore::NamedNodeMap::create):
+ (WebCore::NamedNodeMap::NamedNodeMap):
+ * dom/Node.cpp:
+ (WebCore::Node::ensureRareData):
+ (WebCore::Node::didMoveToNewDocument):
+ (WebCore::Node::ensureEventTargetData):
+ (WebCore::Node::mutationObserverRegistry):
+ (WebCore::Node::registerMutationObserver):
+ (WebCore::Node::unregisterMutationObserver):
+ (WebCore::Node::notifyMutationObserversNodeWillDetach):
+ * dom/Node.h:
+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::create):
+ (WebCore::NodeListsNodeData::NodeListsNodeData):
+ (WebCore::NodeMutationObserverData::create):
+ (WebCore::NodeMutationObserverData::NodeMutationObserverData):
+ (WebCore::NodeRareData::create):
+ (WebCore::NodeRareData::clearNodeLists):
+ (WebCore::NodeRareData::ensureNodeLists):
+ (WebCore::NodeRareData::ensureMutationObserverData):
+ (WebCore::NodeRareData::NodeRareData):
+ * dom/StyledElement.cpp:
+ (WebCore::StyledElement::rebuildPresentationAttributeStyle):
+
+2014-02-25 Eric Carlson <eric.carlson@apple.com>
+
+ [iOS] Show status image when playing video to external device
+ https://bugs.webkit.org/show_bug.cgi?id=129277
+
+ Reviewed by Jer Noble.
+
+ * Modules/mediacontrols/mediaControlsApple.js:
+ (Controller.prototype.handleEvent): Restructure the code so it is possible to handle events
+ that target the video element which aren't in the HandledVideoEvents array.
+
+ * Modules/mediacontrols/mediaControlsiOS.js:
+ (ControllerIOS.prototype.currentPlaybackTargetIsWireless): webkitCurrentPlaybackTargetIsWireless
+ is an attribute, not a function.
+ (ControllerIOS.prototype.updateWirelessPlaybackStatus): Fix style.
+ (ControllerIOS.prototype.updateWirelessTargetAvailable): Ditto.
+ (ControllerIOS.prototype.updateProgress): Ditto.
+ (ControllerIOS.prototype.handleWrapperTouchStart): Show the controls if the wireless status
+ display is touched.
+ (ControllerIOS.prototype.handleFullscreenButtonClicked): Fix style
+ (ControllerIOS.prototype.handleWirelessPlaybackChange): Ditto.
+ (ControllerIOS.prototype.handleWirelessTargetAvailableChange):
+ (ControllerIOS.prototype.handleWirelessPickerButtonClicked): Ditto. Stop even propagation.
+
+ Move "playback target" logic into HTMLMediaSession.
</ins><span class="cx"> * html/HTMLMediaElement.cpp:
</span><del>- (WebCore::createFileURLForApplicationCacheResource):
- * loader/archive/cf/LegacyWebArchive.cpp:
- (WebCore::LegacyWebArchive::createPropertyListRepresentation):
- (WebCore::LegacyWebArchive::create):
- (WebCore::LegacyWebArchive::rawDataRepresentation):
- * loader/archive/cf/LegacyWebArchiveMac.mm:
- (WebCore::LegacyWebArchive::createPropertyListRepresentation):
- * loader/mac/ResourceLoaderMac.mm:
- (WebCore::ResourceLoader::willCacheResponse):
- * page/CaptionUserPreferencesMac.mm:
- (WebCore::CaptionUserPreferencesMac::userPrefersCaptions):
- (WebCore::CaptionUserPreferencesMac::userPrefersSubtitles):
- (WebCore::CaptionUserPreferencesMac::captionsWindowCSS):
- (WebCore::CaptionUserPreferencesMac::captionsBackgroundCSS):
- (WebCore::CaptionUserPreferencesMac::captionsTextColor):
- (WebCore::CaptionUserPreferencesMac::captionsDefaultFontCSS):
- (WebCore::CaptionUserPreferencesMac::preferredLanguages):
- (WebCore::trackDisplayName):
- * platform/Language.cpp:
- (WebCore::displayNameForLanguageLocale):
- * platform/LocalizedStrings.cpp:
- (WebCore::contextMenuItemTagSearchWeb):
- (WebCore::imageTitle):
- * platform/MIMETypeRegistry.cpp:
- (WebCore::initializeSupportedImageMIMETypes):
- (WebCore::initializeSupportedImageMIMETypesForEncoding):
- * platform/audio/mac/AudioFileReaderMac.cpp:
- (WebCore::AudioFileReader::AudioFileReader):
- * platform/cf/KURLCFNet.cpp:
- (WebCore::KURL::fileSystemPath):
- * platform/cf/SharedBufferCF.cpp:
- (WebCore::SharedBuffer::maybeTransferPlatformData):
- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC):
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoLayer):
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL):
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer):
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerItem):
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoOutput):
- (WebCore::MediaPlayerPrivateAVFoundationObjC::paintWithVideoOutput):
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::setContentsToImage):
- * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp:
- (WebCore::LayerFlushScheduler::schedule):
- * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
- (PlatformCAAnimation::PlatformCAAnimation):
- * platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
- (PlatformCAFilters::filterValueForOperation):
- * platform/graphics/ca/mac/PlatformCALayerMac.mm:
- (PlatformCALayer::PlatformCALayer):
- (PlatformCALayer::addAnimationForKey):
- (PlatformCALayer::setBackgroundColor):
- (PlatformCALayer::setBorderColor):
- * platform/graphics/cg/BitmapImageCG.cpp:
- (WebCore::BitmapImage::checkForSolidColor):
- (WebCore::BitmapImage::getCGImageArray):
- * platform/graphics/cg/ColorCG.cpp:
- (WebCore::cachedCGColor):
- * platform/graphics/cg/GraphicsContext3DCG.cpp:
- (WebCore::GraphicsContext3D::ImageExtractor::extractImage):
- * platform/graphics/cg/GraphicsContextCG.cpp:
- (WebCore::GraphicsContext::applyStrokePattern):
- (WebCore::GraphicsContext::applyFillPattern):
- (WebCore::GraphicsContext::setURLForRect):
- * platform/graphics/cg/ImageBufferCG.cpp:
- (WebCore::createIOSurface):
- (WebCore::ImageBuffer::ImageBuffer):
- (WebCore::ImageBuffer::copyImage):
- (WebCore::ImageBuffer::draw):
- (WebCore::ImageBuffer::clip):
- (WebCore::ImageBuffer::putByteArray):
- (WebCore::CGImageEncodeToData):
- (WebCore::CGImageToDataURL):
- (WebCore::ImageBuffer::toDataURL):
- (WebCore::ImageDataToDataURL):
- * platform/graphics/cg/ImageBufferDataCG.cpp:
- (WebCore::ImageBufferData::getData):
- (WebCore::ImageBufferData::putData):
- * platform/graphics/cg/ImageCG.cpp:
- (WebCore::Image::imageWithColorSpace):
- (WebCore::Image::drawPattern):
- * platform/graphics/cg/ImageSourceCG.cpp:
- (WebCore::ImageSource::setData):
- (WebCore::ImageSource::isSizeAvailable):
- (WebCore::ImageSource::frameSizeAtIndex):
- (WebCore::ImageSource::orientationAtIndex):
- (WebCore::ImageSource::getHotSpot):
- (WebCore::ImageSource::repetitionCount):
- (WebCore::ImageSource::createFrameAtIndex):
- (WebCore::ImageSource::frameDurationAtIndex):
- * platform/graphics/cg/PDFDocumentImage.cpp:
- (WebCore::PDFDocumentImage::dataChanged):
- * platform/graphics/cg/PathCG.cpp:
- (WebCore::createScratchContext):
- (WebCore::Path::contains):
- * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
- (WebCore::FontPlatformData::FontPlatformData):
- (WebCore::FontPlatformData::setFont):
- (WebCore::createFeatureSettingDictionary):
- (WebCore::cascadeToLastResortFontDescriptor):
- (WebCore::cascadeToLastResortAndDisableSwashesFontDescriptor):
- (WebCore::FontPlatformData::ctFont):
- (WebCore::FontPlatformData::description):
- * platform/graphics/gpu/mac/DrawingBufferMac.mm:
- (WebCore::DrawingBuffer::DrawingBuffer):
- * platform/graphics/mac/ComplexTextControllerCoreText.mm:
- (-[WebCascadeList objectAtIndex:]):
- (WebCore::ComplexTextController::collectComplexTextRunsForCharacters):
- * platform/graphics/mac/FontCustomPlatformData.cpp:
- (WebCore::createFontCustomPlatformData):
- * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
- (WebCore::GlyphPage::fill):
- * platform/graphics/mac/GraphicsContext3DMac.mm:
- (WebCore::GraphicsContext3D::GraphicsContext3D):
- * platform/graphics/mac/GraphicsContextMac.mm:
- (WebCore::GraphicsContext::drawFocusRing):
- (WebCore::linearRGBColorSpaceRef):
- * platform/graphics/mac/ImageMac.mm:
- (WebCore::BitmapImage::getTIFFRepresentation):
- (WebCore::BitmapImage::getNSImage):
- * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
- (WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit):
- (WebCore::MediaPlayerPrivateQTKit::createQTMovie):
- (WebCore::MediaPlayerPrivateQTKit::createQTMovieView):
- (WebCore::MediaPlayerPrivateQTKit::createQTVideoRenderer):
- (WebCore::MediaPlayerPrivateQTKit::createQTMovieLayer):
- (WebCore::MediaPlayerPrivateQTKit::setPreservesPitch):
- (WebCore::addFileTypesToCache):
- * platform/graphics/mac/SimpleFontDataCoreText.cpp:
- (WebCore::SimpleFontData::getCFStringAttributes):
- * platform/graphics/mac/SimpleFontDataMac.mm:
- (WebCore::fontHasVerticalGlyphs):
- (WebCore::SimpleFontData::getCompositeFontReferenceFontData):
- (WebCore::SimpleFontData::platformCharWidthInit):
- (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
- * platform/graphics/mac/WebGLLayer.mm:
- (-[WebGLLayer copyImageSnapshotWithColorSpace:]):
- * platform/mac/ContentFilterMac.mm:
- (WebCore::ContentFilter::ContentFilter):
- * platform/mac/ContextMenuItemMac.mm:
- (WebCore::ContextMenuItem::ContextMenuItem):
- * platform/mac/CursorMac.mm:
- (WebCore::createCustomCursor):
- (WebCore::createNamedCursor):
- * platform/mac/DisplaySleepDisabler.cpp:
- (WebCore::DisplaySleepDisabler::DisplaySleepDisabler):
- * platform/mac/DragImageMac.mm:
- (WebCore::dissolveDragImageToFraction):
- (WebCore::createDragImageFromImage):
- * platform/mac/HTMLConverter.mm:
- (+[WebHTMLConverter editingAttributedStringFromRange:]):
- * platform/mac/Language.mm:
- (WebCore::httpStyleLanguageCode):
- (WebCore::platformUserPreferredLanguages):
- * platform/mac/LocalizedStringsMac.cpp:
- (WebCore::localizedString):
- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::getDataSelection):
- (WebCore::Pasteboard::writeSelectionForTypes):
- (WebCore::fragmentFromWebArchive):
- * platform/mac/PlatformClockCM.mm:
- (PlatformClockCM::PlatformClockCM):
- (PlatformClockCM::initializeWithTimingSource):
- * platform/mac/PlatformPasteboardMac.mm:
- (WebCore::PlatformPasteboard::addTypes):
- (WebCore::PlatformPasteboard::setTypes):
- (WebCore::PlatformPasteboard::setPathnamesForType):
- * platform/mac/PlatformSpeechSynthesizerMac.mm:
- (WebCore::PlatformSpeechSynthesizer::speak):
- * platform/mac/PopupMenuMac.mm:
- (WebCore::PopupMenuMac::populate):
- (WebCore::PopupMenuMac::show):
- * platform/mac/ScrollAnimatorMac.mm:
- (-[WebScrollbarPainterDelegate setUpAlphaAnimation:scrollerPainter:part:WebCore::animateAlphaTo:duration:]):
- (-[WebScrollbarPainterDelegate scrollerImp:animateUIStateTransitionWithDuration:]):
- (-[WebScrollbarPainterDelegate scrollerImp:animateExpansionTransitionWithDuration:]):
- (WebCore::ScrollAnimatorMac::ScrollAnimatorMac):
- (WebCore::ScrollAnimatorMac::didAddVerticalScrollbar):
- (WebCore::ScrollAnimatorMac::didAddHorizontalScrollbar):
- * platform/mac/SharedBufferMac.mm:
- (WebCore::SharedBuffer::createCFData):
- * platform/mac/WebCoreNSStringExtras.mm:
- (stringEncodingForResource):
- * platform/network/ProtectionSpace.cpp:
- (WebCore::ProtectionSpace::receivesCredentialSecurely):
- * platform/network/SynchronousLoaderClient.cpp:
- (WebCore::SynchronousLoaderClient::platformBadResponseError):
- * platform/network/cf/CredentialStorageCFNet.cpp:
- (WebCore::CredentialStorage::getFromPersistentStorage):
- * platform/network/cf/DNSCFNet.cpp:
- (WebCore::DNSResolveQueue::platformProxyIsEnabledInSystemPreferences):
- * platform/network/cf/FormDataStreamCFNet.cpp:
- (WebCore::advanceCurrentStream):
- * platform/network/cf/NetworkStorageSessionCFNet.cpp:
- (WebCore::overrideCookieStorage):
- * platform/network/cf/ProxyServerCFNet.cpp:
- (WebCore::proxyAutoConfigurationResultCallback):
- (WebCore::processProxyServers):
- (WebCore::addProxyServersForURL):
- * platform/network/cf/ResourceErrorCF.cpp:
- (WebCore::ResourceError::platformLazyInit):
- (WebCore::ResourceError::cfError):
- * platform/network/cf/ResourceHandleCFNet.cpp:
- (WebCore::willSendRequest):
- (WebCore::ResourceHandle::createCFURLConnection):
- (WebCore::ResourceHandle::didReceiveAuthenticationChallenge):
- (WebCore::ResourceHandle::receivedCredential):
- (WebCore::ResourceHandle::handleDataArray):
- * platform/network/cf/ResourceRequestCFNet.cpp:
- (WebCore::setHeaderFields):
- (WebCore::ResourceRequest::doUpdatePlatformRequest):
- (WebCore::ResourceRequest::doUpdatePlatformHTTPBody):
- (WebCore::ResourceRequest::doUpdateResourceRequest):
- (WebCore::ResourceRequest::setStorageSession):
- * platform/network/cf/ResourceResponseCFNet.cpp:
- (WebCore::ResourceResponse::cfURLResponse):
- (WebCore::ResourceResponse::platformLazyInit):
- * platform/network/cf/SocketStreamHandleCFNet.cpp:
- (WebCore::SocketStreamHandle::SocketStreamHandle):
- (WebCore::SocketStreamHandle::executePACFileURL):
- (WebCore::SocketStreamHandle::chooseProxy):
- (WebCore::SocketStreamHandle::createStreams):
- (WebCore::SocketStreamHandle::addCONNECTCredentials):
- (WebCore::SocketStreamHandle::readStreamCallback):
- (WebCore::SocketStreamHandle::writeStreamCallback):
- (WebCore::SocketStreamHandle::reportErrorToClient):
- * platform/network/mac/AuthenticationMac.mm:
- (WebCore::mac):
- (WebCore::AuthenticationChallenge::setAuthenticationClient):
- * platform/network/mac/CookieJarMac.mm:
- (WebCore::filterCookies):
- * platform/network/mac/NetworkStateNotifierMac.cpp:
- (WebCore::NetworkStateNotifier::updateState):
- (WebCore::NetworkStateNotifier::NetworkStateNotifier):
- * platform/network/mac/ResourceErrorMac.mm:
- (WebCore::createNSErrorFromResourceErrorBase):
- (WebCore::ResourceError::nsError):
- * platform/network/mac/ResourceHandleMac.mm:
- (WebCore::ResourceHandle::createNSURLConnection):
- * platform/network/mac/ResourceRequestMac.mm:
- (WebCore::ResourceRequest::updateNSURLRequest):
- (WebCore::ResourceRequest::doUpdatePlatformRequest):
- (WebCore::ResourceRequest::doUpdatePlatformHTTPBody):
- (WebCore::ResourceRequest::setStorageSession):
- * platform/network/mac/ResourceResponseMac.mm:
- (WebCore::ResourceResponse::initNSURLResponse):
- (WebCore::ResourceResponse::nsURLResponse):
- (WebCore::ResourceResponse::platformLazyInit):
- * platform/network/mac/UTIUtilities.mm:
- (WebCore::mimeTypeFromUTITree):
- * platform/network/mac/WebCoreURLResponse.mm:
- (WebCore::adjustMIMETypeIfNecessary):
- * platform/text/cf/HyphenationCF.cpp:
- (WebCore::::createValueForNullKey):
- (WebCore::lastHyphenLocation):
- * platform/text/mac/HyphenationMac.mm:
- (WebCore::::createValueForKey):
- (WebCore::lastHyphenLocation):
- * platform/text/mac/LocaleMac.mm:
- (WebCore::determineLocale):
- (WebCore::LocaleMac::LocaleMac):
- (WebCore::LocaleMac::initializeLocaleData):
- * platform/text/mac/TextBreakIteratorInternalICUMac.mm:
- (WebCore::textBreakLocalePreference):
- (WebCore::canonicalLanguageIdentifier):
- * rendering/RenderThemeMac.mm:
- (WebCore::RenderThemeMac::RenderThemeMac):
- (WebCore::RenderThemeMac::levelIndicatorFor):
- (WebCore::RenderThemeMac::paintMenuListButtonGradients):
- (WebCore::RenderThemeMac::paintSliderTrack):
- (WebCore::RenderThemeMac::popupButton):
- (WebCore::RenderThemeMac::search):
- (WebCore::RenderThemeMac::searchMenuTemplate):
- (WebCore::RenderThemeMac::sliderThumbHorizontal):
- (WebCore::RenderThemeMac::sliderThumbVertical):
- (WebCore::RenderThemeMac::textField):
- Use adoptNS and adoptCF free functions.
</del><ins>+ (WebCore::HTMLMediaElement::~HTMLMediaElement): Call media session.
+ (WebCore::HTMLMediaElement::loadResource): Tell media session to apply media player
+ restrictions now that it has a url.
+ (WebCore::HTMLMediaElement::invalidateCachedTime): Only log when cached time is not
+ already invalie.
+ (WebCore::HTMLMediaElement::webkitShowPlaybackTargetPicker): Call media session.
+ (WebCore::HTMLMediaElement::webkitCurrentPlaybackTargetIsWireless): Ditto.
+ (WebCore::HTMLMediaElement::mediaPlayerCurrentPlaybackTargetIsWirelessChanged): Ditto.
+ (WebCore::HTMLMediaElement::addEventListener): Ditto.
+ (WebCore::HTMLMediaElement::removeEventListen): Ditto.
+ (WebCore::HTMLMediaElement::enqueuePlaybackTargetAvailabilityChangedEvent): Ditto.
+ (WebCore::HTMLMediaElement::createMediaPlayer): Ditto.
</ins><span class="cx">
</span><del>-2013-04-27 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * html/HTMLMediaSession.cpp:
+ (WebCore::restrictionName): Log new WirelessVideoPlaybackDisabled restriction.
+ (WebCore::HTMLMediaSession::showingPlaybackTargetPickerPermitted): Return false if there
+ is no page, or if wireless playback is disabled.
+ (WebCore::HTMLMediaSession::currentPlaybackTargetIsWireless): New, logic from HTMLMediaElement.
+ (WebCore::HTMLMediaSession::showPlaybackTargetPicker): Ditto.
+ (WebCore::HTMLMediaSession::hasWirelessPlaybackTargets): Ditto.
+ (WebCore::HTMLMediaSession::wirelessVideoPlaybackDisabled): Ditto.
+ (WebCore::HTMLMediaSession::setWirelessVideoPlaybackDisabled): Ditto.
+ (WebCore::HTMLMediaSession::setHasPlaybackTargetAvailabilityListeners): Ditto.
+ (WebCore::HTMLMediaSession::applyMediaPlayerRestrictions): New, apply media player specific
+ restriction.
+ * html/HTMLMediaSession.h:
</ins><span class="cx">
</span><del>- Pressing mouse button inside a dragstart event causes a crash
- https://bugs.webkit.org/show_bug.cgi?id=115296
</del><ins>+ Move "playback target" logic into HTMLMediaSession.
+ * html/HTMLVideoElement.cpp:
+ (WebCore::HTMLVideoElement::parseAttribute): Call media session.
+ (WebCore::HTMLVideoElement::webkitWirelessVideoPlaybackDisabled): Call media session.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ * platform/audio/MediaSessionManager.h:
+ (WebCore::MediaSessionManager::showPlaybackTargetPicker): New method, does nothing in base class.
</ins><span class="cx">
</span><del>- Add a missing null pointer check. We should better encapsulate the states in DragState in the long term
- but this is good enough for now.
</del><ins>+ * platform/audio/ios/MediaSessionManagerIOS.h:
+ * platform/audio/ios/MediaSessionManagerIOS.mm:
+ (WebCore::MediaSessionManageriOS::showPlaybackTargetPicker): Add non-functional stub.
</ins><span class="cx">
</span><del>- Test: fast/events/mousedown-inside-dragstart-should-not-cause-crash.html
</del><ins>+ Implement wireless playback control and status API.
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification): Dispatch TargetIsWirelessChanged.
+ (WebCore::MediaPlayerPrivateAVFoundation::playbackTargetIsWirelessChanged): Pass through to
+ media element.
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
</ins><span class="cx">
</span><del>- * page/EventHandler.cpp:
- (WebCore::EventHandler::handleDrag):
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC): Initialize
+ m_allowsWirelessVideoPlayback.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::cancelLoad): Remove "externalPlaybackActive" observer.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::destroyVideoLayer): Fix broken logging.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): Add "externalPlaybackActive" observer,
+ set initial wireless playback.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createPixelBuffer): Fix broken logging.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::languageOfPrimaryAudioTrack): Ditto.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::isCurrentPlaybackTargetWireless): New.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessVideoPlaybackDisabled): New.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::setWirelessVideoPlaybackDisabled): New.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::playbackTargetIsWirelessDidChange): New.
+ (-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]): Deal with
+ externalPlaybackActive.
</ins><span class="cx">
</span><del>-2013-04-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</del><ins>+2014-02-24 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- Unreviewed build fix when disabling video and video-track.
</del><ins>+ [Win] Gracefully recover from missing 'naturalSize' parameter for media
+ https://bugs.webkit.org/show_bug.cgi?id=129278
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-04-27 Geoffrey Garen <ggaren@apple.com>
</del><ins>+ * platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h: Add declaration for
+ missing function call.
+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundationCF::assetStatus): Don't treat missing 'naturalSize'
+ as a fatal error.
+ (WebCore::MediaPlayerPrivateAVFoundationCF::tracksChanged): Handle case of asset track
+ not being available yet.
+ (WebCore::MediaPlayerPrivateAVFoundationCF::sizeChanged): If the 'naturalSize' is empty,
+ use the Player Item's 'presentationSize' instead.
+ (WebCore::AVFWrapper::processNotification): Add missing handler for duration changed.
</ins><span class="cx">
</span><del>- WebGL shouldn't allocate a "length" Identifier just to move some numbers around
- https://bugs.webkit.org/show_bug.cgi?id=115317
</del><ins>+2014-02-25 Sergio Villar Senin <svillar@igalia.com>
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ [CSS Grid Layout] Add ENABLE flag
+ https://bugs.webkit.org/show_bug.cgi?id=129153
</ins><span class="cx">
</span><del>- Saw this while debugging an ammo.js bug.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * bindings/js/JSArrayBufferViewHelper.h:
- (WebCore::setWebGLArrayWithTypedArrayArgument):
- (WebCore::setWebGLArrayHelper):
- (WebCore::constructArrayBufferViewWithTypedArrayArgument):
- (WebCore::constructArrayBufferView):
- * bindings/js/JSWebGLRenderingContextCustom.cpp:
- (WebCore::toVector): Use the pre-computed "length" identifier instead of
- allocating a new one for each vector operation. There are lots more
- optimizations we could do here. This is a start.
</del><ins>+ Added ENABLE_CSS_GRID_LAYOUT feature flag.
</ins><span class="cx">
</span><del>-2013-04-27 Anders Carlsson <andersca@apple.com>
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::isLayoutDependent):
+ (WebCore::ComputedStyleExtractor::propertyValue):
+ * css/CSSGridTemplateAreasValue.cpp:
+ * css/CSSGridTemplateAreasValue.h:
+ * css/CSSParser.cpp:
+ (WebCore::CSSParserContext::CSSParserContext):
+ (WebCore::operator==):
+ (WebCore::isValidKeywordPropertyAndValue):
+ (WebCore::isKeywordPropertyID):
+ (WebCore::CSSParser::parseValue):
+ * css/CSSParser.h:
+ * css/CSSParserMode.h:
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
+ * css/CSSPropertyNames.in:
+ * css/CSSValue.cpp:
+ (WebCore::CSSValue::equals):
+ (WebCore::CSSValue::cssText):
+ (WebCore::CSSValue::destroy):
+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
+ * css/StyleProperties.cpp:
+ (WebCore::StyleProperties::getPropertyValue):
+ * css/StylePropertyShorthand.cpp:
+ (WebCore::shorthandForProperty):
+ (WebCore::matchingShorthandsForLonghand):
+ * css/StyleResolver.cpp:
+ (WebCore::equivalentBlockDisplay):
+ (WebCore::StyleResolver::adjustRenderStyle):
+ (WebCore::StyleResolver::applyProperty):
+ * css/StyleResolver.h:
+ * dom/Document.cpp:
+ * dom/Document.h:
+ * rendering/RenderElement.cpp:
+ (WebCore::RenderElement::createFor):
+ * rendering/RenderGrid.cpp:
+ * rendering/RenderGrid.h:
+ * rendering/style/GridCoordinate.h:
+ * rendering/style/GridLength.h:
+ * rendering/style/GridPosition.h:
+ * rendering/style/GridTrackSize.h:
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::changeRequiresLayout):
+ * rendering/style/RenderStyle.h:
+ * rendering/style/RenderStyleConstants.h:
+ * rendering/style/StyleAllInOne.cpp:
+ * rendering/style/StyleGridData.cpp:
+ * rendering/style/StyleGridData.h:
+ * rendering/style/StyleGridItemData.cpp:
+ * rendering/style/StyleGridItemData.h:
+ * rendering/style/StyleRareNonInheritedData.cpp:
+ (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
+ (WebCore::StyleRareNonInheritedData::operator==):
+ * rendering/style/StyleRareNonInheritedData.h:
</ins><span class="cx">
</span><del>- Remove two more StorageTask types
- https://bugs.webkit.org/show_bug.cgi?id=115312
</del><ins>+2014-02-25 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ [EME][Mac] Fix a few issues in CDMSessionMediaSourceAVFObjC.
+ https://bugs.webkit.org/show_bug.cgi?id=129310
</ins><span class="cx">
</span><del>- * storage/StorageTask.cpp:
- (WebCore::StorageTask::performTask):
- * storage/StorageTask.h:
- * storage/StorageTracker.cpp:
- (WebCore::StorageTracker::setOriginDetails):
- (WebCore::StorageTracker::deleteOrigin):
- * storage/StorageTracker.h:
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>-2013-04-27 Anders Carlsson <andersca@apple.com>
</del><ins>+ Only send a 'keyerror' event if an actual error code was returned, not just
+ when no key was added:
+ * Modules/encryptedmedia/MediaKeySession.cpp:
+ (WebCore::MediaKeySession::addKeyTimerFired):
</ins><span class="cx">
</span><del>- Get rid of more uses of StorageTask
- https://bugs.webkit.org/show_bug.cgi?id=115311
</del><ins>+ The 'length' parameter to a typed ArrayBufferView is the number of entries
+ in the array, not the byte length:
+ * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm:
+ (WebCore::CDMSessionMediaSourceAVFObjC::generateKeyRequest):
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ The return value of streamingContentKeyRequestDataForApp:contentIdentifier:trackId:options:error
+ is autoreleased; do not wrap it in an adoptNS:
+ * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm:
+ (WebCore::CDMSessionMediaSourceAVFObjC::update):
</ins><span class="cx">
</span><del>- Make StorageAreaSync derive from ThreadSafeRefCounted as well, since it's passed between threads.
</del><ins>+2014-02-25 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>- * storage/StorageAreaSync.h:
- * storage/StorageSyncManager.cpp:
- (WebCore::StorageSyncManager::scheduleImport):
- (WebCore::StorageSyncManager::scheduleSync):
- (WebCore::StorageSyncManager::scheduleDeleteEmptyDatabase):
- * storage/StorageTask.cpp:
- (WebCore::StorageTask::StorageTask):
- (WebCore::StorageTask::performTask):
- * storage/StorageTask.h:
- (StorageTask):
</del><ins>+ [MediaStream] Adding mock implementation of UserMediaClient
+ https://bugs.webkit.org/show_bug.cgi?id=129274
</ins><span class="cx">
</span><del>-2013-04-27 Anders Carlsson <andersca@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Indent StorageAreaSync to match the style guidelines.
</del><ins>+ * platform/mock/UserMediaClientMock.h: Added.
+ (WebCore::UserMediaClientRequestNotifier::UserMediaClientRequestNotifier):
+ * testing/Internals.cpp:
+ (WebCore::Internals::Internals):
</ins><span class="cx">
</span><del>- Rubber-stamped by Andreas Kling.
</del><ins>+2014-02-25 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- * storage/StorageAreaSync.h:
</del><ins>+ Tighten bitfields in live NodeLists and HTMLCollections
+ https://bugs.webkit.org/show_bug.cgi?id=129300
</ins><span class="cx">
</span><del>-2013-04-27 Anders Carlsson <andersca@apple.com>
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>- Replace uses of StorageTask with StorageThread::dispatch and WTF::bind
- https://bugs.webkit.org/show_bug.cgi?id=115309
</del><ins>+ Reduce the number of bits used for m_rootType and m_type in LiveNodeList.
+ Also use enum class for LiveNodeList types. We keep "Type" suffix not to
+ confuse old-ish compilers.
</ins><span class="cx">
</span><ins>+ * dom/ClassNodeList.cpp:
+ (WebCore::ClassNodeList::ClassNodeList):
+ * dom/ContainerNode.cpp:
+ (WebCore::ContainerNode::getElementsByTagName):
+ (WebCore::ContainerNode::getElementsByName):
+ (WebCore::ContainerNode::getElementsByClassName):
+ (WebCore::ContainerNode::radioNodeList):
+ * dom/LiveNodeList.cpp:
+ (WebCore::LiveNodeList::collectionFirst):
+ (WebCore::LiveNodeList::collectionTraverseForward):
+ * dom/LiveNodeList.h:
+ (WebCore::LiveNodeList::LiveNodeList):
+ * dom/NameNodeList.cpp:
+ (WebCore::NameNodeList::NameNodeList):
+ * dom/NameNodeList.h:
+ (WebCore::NameNodeList::create):
+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::namedNodeListKey):
+ * dom/TagNodeList.cpp:
+ (WebCore::HTMLTagNodeList::HTMLTagNodeList):
+ * dom/TagNodeList.h:
+ (WebCore::TagNodeList::create):
+ (WebCore::HTMLTagNodeList::create):
+ * html/HTMLCollection.h:
+ * html/LabelableElement.cpp:
+ (WebCore::LabelableElement::labels):
+ * html/LabelsNodeList.cpp:
+ (WebCore::LabelsNodeList::LabelsNodeList):
+ * html/LabelsNodeList.h:
+ * html/RadioNodeList.cpp:
+ (WebCore::RadioNodeList::RadioNodeList):
+ * html/RadioNodeList.h:
+ (WebCore::RadioNodeList::create):
+
+2014-02-24 Anders Carlsson <andersca@apple.com>
+
+ Make it possible to set the visited link provider on a per page basis
+ https://bugs.webkit.org/show_bug.cgi?id=129288
+
</ins><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><del>- * storage/StorageTask.cpp:
- (WebCore::StorageTask::StorageTask):
- (WebCore::StorageTask::performTask):
- * storage/StorageTask.h:
- * storage/StorageThread.cpp:
- (WebCore::StorageThread::terminate):
- (WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThreads):
- * storage/StorageThread.h:
- * storage/StorageTracker.cpp:
- (WebCore::StorageTracker::importOriginIdentifiers):
- (WebCore::StorageTracker::deleteAllOrigins):
</del><ins>+ * WebCore.exp.in:
+ Export symbols needed by WebKit2.
</ins><span class="cx">
</span><del>-2013-04-27 Anders Carlsson <andersca@apple.com>
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ Make VisitedLinkProvider a private header.
</ins><span class="cx">
</span><del>- Add StorageThread::dispatch
- https://bugs.webkit.org/show_bug.cgi?id=115308
</del><ins>+ * page/Page.cpp:
+ (WebCore::Page::Page):
+ Take the visited link provider from the PageClients object.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ (WebCore::Page::visitedLinkProvider):
+ If the page has a visited link provider set, return it.
</ins><span class="cx">
</span><del>- StorageThread::dispatch takes a Function<void ()> and runs it on the storage thread. This will be used to eventually get rid of StorageTask.
</del><ins>+ * page/Page.h:
+ Add VisitedLinkProvider to Page and PageClients.
</ins><span class="cx">
</span><del>- * storage/StorageTask.cpp:
- (WebCore::StorageTask::StorageTask):
- (WebCore::StorageTask::performTask):
- * storage/StorageTask.h:
- (WebCore::StorageTask::createDispatch):
- * storage/StorageThread.cpp:
- (WebCore::StorageThread::dispatch):
- * storage/StorageThread.h:
- (StorageThread):
</del><ins>+2014-02-25 Morten Stenshorne <mstensho@opera.com>
</ins><span class="cx">
</span><del>-2013-04-27 Jer Noble <jer.noble@apple.com>
</del><ins>+ [New Multicolumn] -webkit-column-break-inside:avoid doesn't work
+ https://bugs.webkit.org/show_bug.cgi?id=129299
</ins><span class="cx">
</span><del>- REGRESSION (r147261): Audio controls background not displayed after loading audio file
- https://bugs.webkit.org/show_bug.cgi?id=115221
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ adjustForUnsplittableChild() simply forgot to check whether we
+ were inside flow thread based multicol.
</ins><span class="cx">
</span><del>- As in r147261, set a flex-shrink: 0 to avoid shrinking the media controls panel
- below the specified height.
</del><ins>+ Test: fast/multicol/newmulticol/avoid-column-break-inside.html
</ins><span class="cx">
</span><del>- No new tests; fixes the media/media-document-audio-repaint.html test.
</del><ins>+ * rendering/RenderBlockFlow.cpp:
+ (WebCore::RenderBlockFlow::adjustForUnsplittableChild):
</ins><span class="cx">
</span><del>- * css/mediaControlsQuickTime.css:
- (audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel):
</del><ins>+2014-02-25 Mihnea Ovidenie <mihnea@adobe.com>
</ins><span class="cx">
</span><del>-2013-04-26 Jer Noble <jer.noble@apple.com>
</del><ins>+ [CSSRegions] Remove unused function RenderFlowThread::regionForCompositedLayer
+ https://bugs.webkit.org/show_bug.cgi?id=129303
</ins><span class="cx">
</span><del>- Video playback has corruption on the edges of the video
- https://bugs.webkit.org/show_bug.cgi?id=115216
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ Cleanup, no funtionality change, no new tests.
</ins><span class="cx">
</span><del>- Test: media/video-poster-background.html
</del><ins>+ * rendering/RenderFlowThread.h:
</ins><span class="cx">
</span><del>- RenderImage correctly answers foregroundIsKnownToBeOpaqueInRect() method
- when a poster image is displayed, but once the video begins playing and
- the poster image is no longer displayed, RenderImage will continue to
- answer 'true' even when the video does not occupy the entire render box.
- Override foregroundIsKnownToBeOpaqueInRect() in order to more correctly
- answer the question for the video layer.
</del><ins>+2014-02-25 Mihai Tica <mitica@adobe.com>
</ins><span class="cx">
</span><del>- * rendering/RenderImage.h: Make foregroundIsKnownToBeOpaqueInRect() protected
- (vs. private).
- * rendering/RenderVideo.cpp:
- (WebCore::RenderVideo::foregroundIsKnownToBeOpaqueInRect): Added. Return
- true if the rect parameter is entirely contained by the video box.
- * rendering/RenderVideo.h:
</del><ins>+ [CSS Blending] -webkit-mix-blend-mode should force transform-style: flat.
+ https://bugs.webkit.org/show_bug.cgi?id=126158
</ins><span class="cx">
</span><del>-2013-04-26 Hans Muller <hmuller@adobe.com>
</del><ins>+ Reviewed by Mihnea Ovidenie.
</ins><span class="cx">
</span><del>- [CSS Exclusions] ExclusionShape bounding box methods should return LayoutRects
- https://bugs.webkit.org/show_bug.cgi?id=115117
</del><ins>+ As stated in the http://www.w3.org/TR/css3-transforms/#propdef-transform-style, an element with blending
+ should force transform-style: flat.
</ins><span class="cx">
</span><del>- Reviewed by Dirk Schulze.
</del><ins>+ Test: css3/compositing/blend-mode-transform-style.html
</ins><span class="cx">
</span><del>- Redefined the ExclusionShape API in terms of LayoutUnits, instead of floats: all of the
- ExclusionShape methods now have LayoutUnit parameters and return LayoutUnit values.
- This is more natural, since the callers work exclusively in LayoutUnits.
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::adjustRenderStyle): If blending is detected, set transform-style to flat.
</ins><span class="cx">
</span><del>- This is strictly a refactoring, no new tests were needed.
</del><ins>+2014-02-25 Zan Dobersek <zdobersek@igalia.com>
</ins><span class="cx">
</span><del>- * rendering/ExclusionPolygon.cpp:
- (WebCore::ExclusionPolygon::getExcludedIntervals):
- (WebCore::ExclusionPolygon::getIncludedIntervals):
- (WebCore::ExclusionPolygon::firstIncludedIntervalLogicalTop):
- * rendering/ExclusionPolygon.h:
- * rendering/ExclusionRectangle.cpp:
- (WebCore::ExclusionRectangle::getExcludedIntervals):
- (WebCore::ExclusionRectangle::getIncludedIntervals):
- (WebCore::ExclusionRectangle::firstIncludedIntervalLogicalTop):
- * rendering/ExclusionRectangle.h:
- * rendering/ExclusionShape.cpp:
- (WebCore::ExclusionShape::createExclusionShape):
- * rendering/ExclusionShape.h:
- (LineSegment):
- (ExclusionShape):
- * rendering/ExclusionShapeInfo.cpp:
- (WebCore):
- (WebCore::::computedShape):
- * rendering/ExclusionShapeInfo.h:
- (WebCore):
- (WebCore::ExclusionShapeInfo::shapeLogicalTop):
- (WebCore::ExclusionShapeInfo::shapeLogicalBottom):
- (ExclusionShapeInfo):
- * rendering/ExclusionShapeInsideInfo.cpp:
- (WebCore::ExclusionShapeInsideInfo::adjustLogicalLineTop):
- * rendering/ExclusionShapeInsideInfo.h:
- * rendering/ExclusionShapeOutsideInfo.h:
</del><ins>+ Move to using std::unique_ptr for Element, Node and related classes
+ https://bugs.webkit.org/show_bug.cgi?id=129058
</ins><span class="cx">
</span><del>-2013-04-26 Jer Noble <jer.noble@apple.com>
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Nil-check the results of -[AVPlayerItemVideoOutput copyPixelBufferForItemTime:itemTimeForDisplay:].
- https://bugs.webkit.org/show_bug.cgi?id=115265
</del><ins>+ Replace uses of OwnPtr and PassOwnPtr in Element, Node and the related
+ classes with std::unique_ptr and move semantics.
</ins><span class="cx">
</span><del>- Reviewed by Eric Carlson.
</del><ins>+ * dom/ContainerNode.h:
+ (WebCore::ChildNodesLazySnapshot::takeSnapshot):
+ (WebCore::ChildNodesLazySnapshot::hasSnapshot):
+ * dom/Element.cpp:
+ (WebCore::ensureAttrNodeListForElement):
+ (WebCore::Element::attributes):
+ * dom/ElementIteratorAssertions.h:
+ (WebCore::ElementIteratorAssertions::ElementIteratorAssertions):
+ * dom/ElementRareData.h:
+ (WebCore::ElementRareData::setAttributeMap):
+ * dom/MutationObserverRegistration.cpp:
+ (WebCore::MutationObserverRegistration::observedSubtreeNodeWillDetach):
+ (WebCore::MutationObserverRegistration::clearTransientRegistrations):
+ (WebCore::MutationObserverRegistration::addRegistrationNodesToSet):
+ * dom/MutationObserverRegistration.h:
+ * dom/NamedNodeMap.h:
+ (WebCore::NamedNodeMap::NamedNodeMap):
+ * dom/Node.cpp:
+ (WebCore::Node::ensureRareData):
+ (WebCore::Node::didMoveToNewDocument):
+ (WebCore::Node::ensureEventTargetData):
+ (WebCore::Node::mutationObserverRegistry):
+ (WebCore::Node::registerMutationObserver):
+ (WebCore::Node::unregisterMutationObserver):
+ (WebCore::Node::notifyMutationObserversNodeWillDetach):
+ * dom/Node.h:
+ * dom/NodeRareData.h:
+ (WebCore::NodeListsNodeData::NodeListsNodeData):
+ (WebCore::NodeRareData::NodeRareData):
+ (WebCore::NodeRareData::clearNodeLists):
+ (WebCore::NodeRareData::ensureNodeLists):
+ (WebCore::NodeRareData::ensureMutationObserverData):
+ * dom/StyledElement.cpp:
+ (WebCore::StyledElement::rebuildPresentationAttributeStyle):
</ins><span class="cx">
</span><del>- copyPixelBufferForItemTime:itemTimeForDisplay: can return nil, even
- when hasNewPixelBufferForItemTime: returns YES. Check the results
- before passing the buffer on to VTPixelTransferSessionTransferImage()
- which does not NULL-check its parameters.
</del><ins>+2014-02-25 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createPixelBuffer):
</del><ins>+ Prune dead code for Web Inspector memory instrumentation.
+ <https://webkit.org/b/129286>
</ins><span class="cx">
</span><del>-2013-04-26 Roger Fong <roger_fong@apple.com>
</del><ins>+ This was leftover code from Chromium's inspector. It's not used by
+ today's WebKit inspector.
</ins><span class="cx">
</span><del>- Uninflate caret rect.
- http://bugs.webkit.org/show_bug.cgi?id=114997.
- <rdar://problem/12629007>.
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Reviewed by Timothy Horton.
</del><ins>+ * CMakeLists.txt:
+ * DerivedSources.make:
+ * GNUmakefile.am:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * inspector/InspectorAllInOne.cpp:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::InspectorController):
+ * inspector/InspectorController.h:
+ * inspector/InspectorMemoryAgent.cpp: Removed.
+ * inspector/InspectorMemoryAgent.h: Removed.
+ * inspector/InspectorTimelineAgent.cpp:
+ (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
+ * inspector/InspectorTimelineAgent.h:
+ * inspector/WorkerInspectorController.cpp:
+ (WebCore::WorkerInspectorController::WorkerInspectorController):
+ * inspector/protocol/Memory.json: Removed.
</ins><span class="cx">
</span><del>- Inflation was causing painting errors with focus rings.
- It is no longer needed after disabling subpixel layout.
</del><ins>+2014-02-24 Chris Fleizach <cfleizach@apple.com>
</ins><span class="cx">
</span><del>- * editing/FrameSelection.cpp:
- (WebCore::repaintCaretForLocalRect):
</del><ins>+ AX: Support abbr, acronym
+ https://bugs.webkit.org/show_bug.cgi?id=128860
</ins><span class="cx">
</span><del>-2013-04-26 Roger Fong <roger_fong@apple.com>
</del><ins>+ Reviewed by Mario Sanchez Prada.
</ins><span class="cx">
</span><del>- Unreviewed build fix.
</del><ins>+ Expose the data in <abbr>, <acronym> and <th abbr=""> as an
+ alternateTextValue() parameter.
</ins><span class="cx">
</span><del>- * platform/LayoutUnit.h:
- (WebCore::LayoutUnit::LayoutUnit):
</del><ins>+ Test: platform/mac/accessibility/abbr-acronym-tags.html
</ins><span class="cx">
</span><del>-2013-04-26 Michael Saboff <msaboff@apple.com>
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::hasTagName):
+ * accessibility/AccessibilityObject.h:
+ (WebCore::AccessibilityObject::alternateTextValue):
+ (WebCore::AccessibilityObject::supportsAlternateTextValue):
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::alternateTextValue):
+ (WebCore::AccessibilityRenderObject::supportsAlternateTextValue):
+ * accessibility/AccessibilityRenderObject.h:
+ * accessibility/AccessibilityTableCell.cpp:
+ (WebCore::AccessibilityTableCell::alternateTextValue):
+ (WebCore::AccessibilityTableCell::supportsAlternateTextValue):
+ * accessibility/AccessibilityTableCell.h:
+ * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+ (AXAttributeStringSetAlternateTextValue):
+ (AXAttributedStringAppendText):
+ (-[WebAccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
+ (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
</ins><span class="cx">
</span><del>- WebCore ObjC bridge is missing support for bool type
- https://bugs.webkit.org/show_bug.cgi?id=115276
</del><ins>+2014-02-24 Martin Robinson <mrobinson@igalia.com>
</ins><span class="cx">
</span><ins>+ [GTK] generate-gtkdoc should not generate documentation for source files for unbuilt source files
+ https://bugs.webkit.org/show_bug.cgi?id=128417
+
+ Reviewed by Carlos Garcia Campos.
+
+ * bindings/gobject/GNUmakefile.am: Generate a config file for webkitdom documentation generation.
+
+2014-02-24 Mark Lam <mark.lam@apple.com>
+
+ Need to initialize VM stack data even when the VM is on an exclusive thread.
+ <https://webkit.org/b/129265>
+
</ins><span class="cx"> Reviewed by Geoffrey Garen.
</span><span class="cx">
</span><del>- Added code to handle conversion between ObjC and JS booleans.
</del><ins>+ No new tests.
</ins><span class="cx">
</span><del>- * bridge/objc/objc_instance.mm:
- (ObjcInstance::invokeObjcMethod):
- * bridge/objc/objc_utility.h:
- * bridge/objc/objc_utility.mm:
- (JSC::Bindings::convertValueToObjcValue):
- (JSC::Bindings::convertObjcValueToValue):
- (JSC::Bindings::objcValueTypeForType):
</del><ins>+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::reportException):
+ - Added an assertion to ensure that we are holding the JSLock.
+ * bindings/js/JSDOMWindowBase.cpp:
+ (WebCore::JSDOMWindowBase::commonVM):
+ - Updated to use the new VM::setExclusiveThread().
</ins><span class="cx">
</span><del>-2013-04-26 Roger Fong <roger_fong@apple.com>
</del><ins>+2014-02-24 Anders Carlsson <andersca@apple.com>
</ins><span class="cx">
</span><del>- Make Apple Windows VS2010 build results into and get dependencies from __32 suffixed folders.
- Make the DebugSuffix configuration use _debug dependencies.
</del><ins>+ Add a DefaultVisitedLinkProvider and route visited link actions through it
+ https://bugs.webkit.org/show_bug.cgi?id=129285
</ins><span class="cx">
</span><del>- * WebCore.vcxproj/QTMovieWin/QTMovieWin.vcxproj:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinCairoDebug.props:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinCairoRelease.props:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinCommon.props:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinDebug.props:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinPostBuild.cmd:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinProduction.props:
- * WebCore.vcxproj/QTMovieWin/QTMovieWinRelease.props:
- * WebCore.vcxproj/WebCore.make:
</del><ins>+ Reviewed by Dan Bernstein.
+
+ DefaultVisitedLinkProvider currently just forwards everything to the visited link strategy,
+ but will soon take over the responsibilities of visited link handling from PageGroup.
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
</ins><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj:
</span><span class="cx"> * WebCore.vcxproj/WebCore.vcxproj.filters:
</span><del>- * WebCore.vcxproj/WebCoreCommon.props:
- * WebCore.vcxproj/WebCoreDebug.props:
- * WebCore.vcxproj/WebCoreDebugWinCairo.props:
- * WebCore.vcxproj/WebCoreGenerated.make:
- * WebCore.vcxproj/WebCoreGenerated.vcxproj:
- * WebCore.vcxproj/WebCoreGeneratedCommon.props:
- * WebCore.vcxproj/WebCoreGeneratedDebug.props:
- * WebCore.vcxproj/WebCoreGeneratedDebugWinCairo.props:
- * WebCore.vcxproj/WebCoreGeneratedProduction.props:
- * WebCore.vcxproj/WebCoreGeneratedRelease.props:
- * WebCore.vcxproj/WebCoreGeneratedReleaseWinCairo.props:
- * WebCore.vcxproj/WebCoreProduction.props:
- * WebCore.vcxproj/WebCoreRelease.props:
- * WebCore.vcxproj/WebCoreReleaseWinCairo.props:
- * WebCore.vcxproj/WebCoreTestSupport.vcxproj:
- * WebCore.vcxproj/build-generated-files.sh:
- * WebCore.vcxproj/copyForwardingHeaders.cmd:
- * WebCore.vcxproj/copyWebCoreResourceFiles.cmd:
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ * dom/VisitedLinkState.cpp:
+ (WebCore::VisitedLinkState::determineLinkStateSlowCase):
+ * loader/HistoryController.cpp:
+ (WebCore::addVisitedLink):
+ (WebCore::HistoryController::updateForStandardLoad):
+ (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList):
+ (WebCore::HistoryController::updateForClientRedirect):
+ (WebCore::HistoryController::updateForSameDocumentNavigation):
+ (WebCore::HistoryController::pushState):
+ (WebCore::HistoryController::replaceState):
+ * page/DefaultVisitedLinkProvider.cpp: Copied from Source/WebCore/page/VisitedLinkProvider.h.
+ (WebCore::DefaultVisitedLinkProvider::create):
+ (WebCore::DefaultVisitedLinkProvider::DefaultVisitedLinkProvider):
+ (WebCore::DefaultVisitedLinkProvider::~DefaultVisitedLinkProvider):
+ (WebCore::DefaultVisitedLinkProvider::isLinkVisited):
+ (WebCore::DefaultVisitedLinkProvider::addVisitedLink):
+ * page/DefaultVisitedLinkProvider.h: Copied from Source/WebCore/page/VisitedLinkProvider.h.
+ * page/Page.cpp:
+ (WebCore::Page::visitedLinkProvider):
+ * page/Page.h:
+ * page/PageGroup.cpp:
+ (WebCore::PageGroup::PageGroup):
+ (WebCore::PageGroup::visitedLinkProvider):
+ * page/PageGroup.h:
+ * page/VisitedLinkProvider.h:
</ins><span class="cx">
</span><del>-2013-04-26 Roger Fong <roger_fong@apple.com>
</del><ins>+2014-02-24 Jeremy Jones <jeremyj@apple.com>
</ins><span class="cx">
</span><del>- Disable sub-pixel layout on mac.
- https://bugs.webkit.org/show_bug.cgi?id=114999.
</del><ins>+ WK2 AVKit fullscreen doesn't display video.
+ https://bugs.webkit.org/show_bug.cgi?id=128564
</ins><span class="cx">
</span><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- * Configurations/FeatureDefines.xcconfig:
- * WebCore.exp.in:
- Export symbol needed to be added for IntRect(const LayoutRect&) constructor,
- which is now being used in pixelSnappedIntRect(const LayoutRect&) in LayoutRect.h after disabling sub-pixel layout.
</del><ins>+ * WebCore.exp.in:
+ Export WebCore::PlatformCALayer::platformCALayer()
</ins><span class="cx">
</span><del>-2013-04-26 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ * platform/ios/WebVideoFullscreenInterface.h:
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+ Remove SetVideoLayerID().
</ins><span class="cx">
</span><del>- Layer-backed WebViews don't repaint content outside the visible area
- https://bugs.webkit.org/show_bug.cgi?id=115275
</del><ins>+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (WebVideoFullscreenInterfaceAVKit::setVideoLayer):
+ Wrap make video layer look like an AVAVPlayerLayer with WebAVPlayerLayer
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ * platform/ios/WebVideoFullscreenModelMediaElement.mm:
+ (WebVideoFullscreenModelMediaElement::setMediaElement):
+ Pass along the videoLayer before borrowing it so the interface will be ready to
+ catch the transaction that removes it.
</ins><span class="cx">
</span><del>- Export ScrollView::setPaintsEntireContents(bool).
</del><ins>+2014-02-24 Samuel White <samuel_white@apple.com>
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
</del><ins>+ AX: AccessibilityObject::findMatchingObjects should never include 'this' in results.
+ https://bugs.webkit.org/show_bug.cgi?id=129243
</ins><span class="cx">
</span><del>-2013-04-26 Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Change RenderMeter::valueRatio() visibility to public
- https://bugs.webkit.org/show_bug.cgi?id=115266
</del><ins>+ Fix removes the container object from the search results when searching backwards. This
+ makes backwards & forwards search results consistent with each other.
</ins><span class="cx">
</span><del>- This function is currently unused.
- However, it is necessary to implement a RenderTheme capable of rendering Meter elements.
</del><ins>+ Test: platform/mac/accessibility/search-predicate-container-not-included.html
</ins><span class="cx">
</span><del>- Reviewed by Alexis Menard.
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::findMatchingObjects):
</ins><span class="cx">
</span><del>- No new tests, because no behaviour is changed.
</del><ins>+2014-02-24 Samuel White <samuel_white@apple.com>
</ins><span class="cx">
</span><del>- * rendering/RenderMeter.h:
- (RenderMeter):
</del><ins>+ AX: findMatchingObjects backwards start position inconsistent with forwards start position when startObject == nullptr.
+ https://bugs.webkit.org/show_bug.cgi?id=129266
</ins><span class="cx">
</span><del>-2013-04-26 Timothy Hatcher <timothy@apple.com>
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Add Runtime.parse to the Inspector protocol.
</del><ins>+ When searching forward with no start object, the first thing considered is the first child of
+ the container. However, when searching backwards with no start object nothing in the container
+ is considered; this basically negates the search. This patch makes backwards searching without
+ a start object start from the last child of the container to match forward search expectations.
</ins><span class="cx">
</span><del>- This will be used to parse console expressions for errors
- before evaluating them fully.
</del><ins>+ Test: platform/mac/accessibility/search-predicate-start-not-specified.html
</ins><span class="cx">
</span><del>- https://webkit.org/b/115242
</del><ins>+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::findMatchingObjects):
</ins><span class="cx">
</span><del>- Reviewed by Oliver Hunt.
</del><ins>+2014-02-24 Andreas Kling <akling@apple.com>
</ins><span class="cx">
</span><del>- * ForwardingHeaders/parser/ParserError.h: Added.
- * inspector/Inspector.json:
- * inspector/InspectorRuntimeAgent.cpp:
- (WebCore::InspectorRuntimeAgent::parse):
- * inspector/InspectorRuntimeAgent.h:
- (InspectorRuntimeAgent):
</del><ins>+ Prune dead code for Web Inspector canvas instrumentation.
+ <https://webkit.org/b/129269>
</ins><span class="cx">
</span><del>-2013-04-26 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+ This was leftover code from Chromium's inspector. It's not used by
+ today's WebKit inspector.
</ins><span class="cx">
</span><del>- Fix the copyright years after r149057
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- * page/DiagnosticLoggingKeys.cpp: I accidentally removed a year from
- the copyright in r149057.
</del><ins>+ * CMakeLists.txt:
+ * DerivedSources.make:
+ * GNUmakefile.am:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSHTMLCanvasElementCustom.cpp:
+ (WebCore::JSHTMLCanvasElement::getContext):
+ * inspector/InjectedScriptCanvasModule.cpp: Removed.
+ * inspector/InjectedScriptCanvasModule.h: Removed.
+ * inspector/InspectorAllInOne.cpp:
+ * inspector/InspectorCanvasAgent.cpp: Removed.
+ * inspector/InspectorCanvasAgent.h: Removed.
+ * inspector/InspectorCanvasInstrumentation.h: Removed.
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::InspectorController):
+ (WebCore::InspectorController::didBeginFrame):
+ * inspector/InspectorInstrumentation.cpp:
+ (WebCore::InspectorInstrumentation::frameDetachedFromParentImpl):
+ (WebCore::InspectorInstrumentation::didCommitLoadImpl):
+ * inspector/InspectorInstrumentation.h:
+ * inspector/InstrumentingAgents.cpp:
+ (WebCore::InstrumentingAgents::InstrumentingAgents):
+ (WebCore::InstrumentingAgents::reset):
+ * inspector/InstrumentingAgents.h:
</ins><span class="cx">
</span><del>-2013-04-26 Konrad Piascik <kpiascik@blackberry.com>
</del><ins>+2014-02-24 Zoltan Horvath <zoltan@webkit.org>
</ins><span class="cx">
</span><del>- Web Inspector: Crash due to null items from getDOMStorageItems
- https://bugs.webkit.org/show_bug.cgi?id=115176
</del><ins>+ [CSS Shapes] Adjust lineTop position to the next available wrapping location at shape-outsides
+ https://bugs.webkit.org/show_bug.cgi?id=128693
</ins><span class="cx">
</span><del>- Reviewed by Joseph Pecoraro.
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- findStorageArea was returning a null storageArea causing the items
- input paramater to not be set. This was happening without any error
- being set at all. Set an error to prevent a crash when we try to
- convert the result to a JSON string.
</del><ins>+ When we don't have space next to the floating container, but we have space inside the floating-container next
+ to the defined shape-outside, we should wrap around the shape-outside. This patch fixes the behavior both for
+ cases when there is no space to fit at the first line, and for the additional lines cases.
</ins><span class="cx">
</span><del>- Added tests to check if session and local storage are empty that
- they are still functional.
</del><ins>+ Test: fast/shapes/shape-outside-floats/shape-outside-floats-linetop-adjustment.html
</ins><span class="cx">
</span><del>- * inspector/InspectorDOMStorageAgent.cpp:
- (WebCore::InspectorDOMStorageAgent::getDOMStorageItems):
</del><ins>+ * rendering/line/BreakingContextInlineHeaders.h:
+ (WebCore::BreakingContext::handleText):
+ (WebCore::BreakingContext::commitAndUpdateLineBreakIfNeeded):
+ * rendering/line/LineWidth.cpp:
+ (WebCore::availableWidthAtOffset):
+ (WebCore::LineWidth::updateLineDimension): Added new helper.
+ (WebCore::isWholeLineFit): Added new helper.
+ (WebCore::LineWidth::wrapNextToShapeOutside): Added new helper.
+ (WebCore::LineWidth::fitBelowFloats): Add optional parameter for the function.
+ * rendering/line/LineWidth.h:
</ins><span class="cx">
</span><del>-2013-04-26 Martin Robinson <mrobinson@igalia.com>
</del><ins>+2014-02-24 Martin Hock <mhock@apple.com>
</ins><span class="cx">
</span><del>- Remove the remaining Skia #ifdefs
- https://bugs.webkit.org/show_bug.cgi?id=114886
</del><ins>+ Create SessionID value-style class for session IDs.
+ https://bugs.webkit.org/show_bug.cgi?id=129141
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Reviewed by Brady Eidson.
</ins><span class="cx">
</span><del>- * html/HTMLCanvasElement.cpp: Remove Skia #ifdef references.
- * platform/graphics/BitmapImage.cpp: Ditto.
- * platform/graphics/FloatPoint.h: Ditto.
- * platform/graphics/FloatRect.h: Ditto.
- * platform/graphics/FontCache.h: Ditto.
- * platform/graphics/Gradient.cpp: Ditto.
- * platform/graphics/Gradient.h: Ditto.
- * platform/graphics/GraphicsContext.cpp: Ditto.
- * platform/graphics/GraphicsContext.h: Ditto.
- * platform/graphics/GraphicsContext3D.h: Ditto.
- * platform/graphics/ImageBuffer.cpp: Ditto.
- * platform/graphics/ImageBuffer.h: Ditto.
- * platform/graphics/ImageBufferData.h: Ditto.
- * platform/graphics/IntPoint.h: Ditto.
- * platform/graphics/IntRect.h: Ditto.
- * platform/graphics/NativeImagePtr.h: Ditto.
- * platform/graphics/Path.h: Ditto.
- * platform/graphics/Pattern.cpp: Ditto.
- * platform/graphics/Pattern.h: Ditto.
- * platform/graphics/filters/FEBlend.h: Ditto.
- * platform/graphics/filters/FEColorMatrix.h: Ditto.
- * platform/graphics/filters/FEComponentTransfer.h: Ditto.
- * platform/graphics/filters/FEComposite.h: Ditto.
- * platform/graphics/filters/FEConvolveMatrix.h: Ditto.
- * platform/graphics/filters/FEDisplacementMap.h: Ditto.
- * platform/graphics/filters/FEGaussianBlur.h: Ditto.
- * platform/graphics/filters/FELighting.h: Ditto.
- * platform/graphics/filters/FEMorphology.h: Ditto.
- * platform/graphics/filters/FEOffset.h: Ditto.
- * platform/graphics/filters/FilterEffect.cpp: Ditto.
- * platform/graphics/filters/FilterEffect.h: Ditto.
- * platform/graphics/transforms/AffineTransform.h: Ditto.
- * platform/graphics/transforms/TransformationMatrix.h: Ditto.
- * platform/image-decoders/ImageDecoder.cpp: Ditto.
- * platform/image-decoders/ImageDecoder.h: Ditto.
- * platform/image-decoders/jpeg/JPEGImageDecoder.cpp: Ditto.
- * platform/image-decoders/webp/WEBPImageDecoder.cpp: Ditto.
- * platform/mac/LocalCurrentGraphicsContext.h: Ditto.
- * platform/mac/LocalCurrentGraphicsContext.mm: Ditto.
- * rendering/svg/RenderSVGResourceSolidColor.cpp: Ditto.
- * svg/graphics/SVGImage.cpp: Ditto.
- * svg/graphics/SVGImage.h: Ditto.
</del><ins>+ * GNUmakefile.list.am:
+ * WebCore.exp.in:
+ * WebCore.xcodeproj/project.pbxproj:
+ * page/Page.cpp: Add SessionID member.
+ (WebCore::Page::Page):
+ (WebCore::Page::sessionID): Retrieve sessionID or use settings if not set.
+ * page/Page.h:
+ (WebCore::Page::setSessionID):
+ * page/SessionID.h: Session ID class consisting solely of its uint64_t session ID.
+ (WebCore::SessionID::SessionID):
+ (WebCore::SessionID::isValid): Not empty.
+ (WebCore::SessionID::isEphemeral):
+ (WebCore::SessionID::sessionID):
+ (WebCore::SessionID::operator==): Value-based equality.
+ (WebCore::SessionID::operator!=):
+ (WebCore::SessionID::emptySessionID): Zero value also used for HashTraits emptyValue.
+ (WebCore::SessionID::defaultSessionID):
+ (WebCore::SessionID::legacyPrivateSessionID):
+ * page/SessionIDHash.h:
+ (WTF::SessionIDHash::hash): Just the casted session ID (low order bytes)
+ (WTF::SessionIDHash::equal):
+ (WTF::HashTraits<WebCore::SessionID>::emptyValue): Equal to emptySessionID.
+ (WTF::HashTraits<WebCore::SessionID>::constructDeletedValue): -1 value.
+ (WTF::HashTraits<WebCore::SessionID>::isDeletedValue):
</ins><span class="cx">
</span><del>-2013-04-26 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+2014-02-24 Javier Fernandez <jfernandez@igalia.com>
</ins><span class="cx">
</span><del>- Assert in JSC::Heap::unprotect when closing facebook.com web site
- https://bugs.webkit.org/show_bug.cgi?id=115058
</del><ins>+ [CSS Grid Layout] handle undefined RemainingSpace in computeUsedBreadthOfGridTracks algorithm
+ https://bugs.webkit.org/show_bug.cgi?id=128372
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- Grab a JSLock before calling RootObject::invalidate().
</del><ins>+ From Blink r165692 by <svillar@igalia.com>
</ins><span class="cx">
</span><del>- * bindings/js/ScriptController.cpp:
- (WebCore::ScriptController::~ScriptController):
</del><ins>+ The spec defines a different code path for the computeUsedBreadthOfGridTracks algorithm
+ http://dev.w3.org/csswg/css-grid/#function-ComputeUsedBreadthOfGridTracks.
</ins><span class="cx">
</span><del>-2013-04-26 Eric Carlson <eric.carlson@apple.com>
</del><ins>+ Basically the track breadth is different when the available size is undefined and thus,
+ cannot be taken into account during the computations.
+ The available size is undefined whenever the height is auto or the grid element has a
+ shrink-to-fit behavior.
</ins><span class="cx">
</span><del>- [Mac] in-band cues sometimes have incorrect duration
- https://bugs.webkit.org/show_bug.cgi?id=115200
</del><ins>+ It was also renamed the function to match the specs so the function name starts with
+ 'compute' instead of 'computed'.
</ins><span class="cx">
</span><ins>+ No new tests, but added new cases to some of them.
+
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::computeIntrinsicLogicalWidths):
+ (WebCore::RenderGrid::computeUsedBreadthOfGridTracks):
+ (WebCore::gridElementIsShrinkToFit):
+ (WebCore::RenderGrid::computeNormalizedFractionBreadth):
+ (WebCore::RenderGrid::layoutGridItems):
+ * rendering/RenderGrid.h:
+
+2014-02-24 Roger Fong <roger_fong@apple.com>
+
+ [Windows] Unreviewed pre-emptive build fix.
+
+ * WebCore.vcxproj/WebCoreCommon.props: Add replay directory to include path.
+
+2014-02-24 Brady Eidson <beidson@apple.com>
+
+ Break out ImageControls style into an external stylesheet
+ https://bugs.webkit.org/show_bug.cgi?id=129273
+
</ins><span class="cx"> Reviewed by Jer Noble.
</span><span class="cx">
</span><del>- No new tests, this is not possible to test in DRT.
</del><ins>+ * DerivedSources.make:
+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- * html/track/InbandTextTrack.cpp:
- (WebCore::InbandTextTrack::addGenericCue): Don't add completed cues to the map.
- (WebCore::InbandTextTrack::removeGenericCue): Log when a cue is removed from the track.
</del><ins>+ * css/CSSDefaultStyleSheets.cpp:
+ (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
+ * css/CSSDefaultStyleSheets.h:
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
- (WebCore::InbandTextTrackPrivateAVF::InbandTextTrackPrivateAVF): Initialize m_pendingCueStatus.
- (WebCore::InbandTextTrackPrivateAVF::processCue): Never call update() on a cue that is delivered
- while seeking.
- (WebCore::InbandTextTrackPrivateAVF::beginSeeking): Flush all incomplete cues, remember that
- we are seeking.
- (WebCore::InbandTextTrackPrivateAVF::resetCueValues):
- * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
</del><ins>+ * html/shadow/mac/ImageControlsRootElementMac.cpp:
+ (WebCore::ImageControlsRootElementMac::maybeCreate):
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- (WebCore::MediaPlayerPrivateAVFoundation::seek): Call track->beginSeeking() instead of resetCueValues().
- (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted): Call track->endSeeking().
</del><ins>+ * html/shadow/mac/imageControlsMac.css:
+ (.x-webkit-imagemenu):
+ (.x-webkit-imagemenu:hover):
</ins><span class="cx">
</span><del>- * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm:
- (WebCore::InbandTextTrackPrivateAVFObjC::kind): Include class name in Kind enum values to
- avoid compile error.
</del><ins>+ * rendering/RenderTheme.h:
+ (WebCore::RenderTheme::mediaControlsScript):
+ (WebCore::RenderTheme::imageControlsStyleSheet):
+ * rendering/RenderThemeMac.h:
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::imageControlsStyleSheet):
</ins><span class="cx">
</span><del>-2013-04-26 Andreas Kling <akling@apple.com>
</del><ins>+2014-02-24 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
</ins><span class="cx">
</span><del>- Remove wxWebKit from WebCore.
- <http://webkit.org/b/115255>
</del><ins>+ [WebRTC] Validating RTCConfiguration according to the spec
+ https://bugs.webkit.org/show_bug.cgi?id=129182
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * DerivedSources.make:
- * WebCorePrefix.h:
- * bindings/js/JSInspectorFrontendHostCustom.cpp:
- (WebCore::JSInspectorFrontendHost::port):
- * config.h:
- * html/HTMLFormElement.cpp:
- * platform/ContextMenu.h:
- (ContextMenu):
- * platform/ContextMenuItem.h:
- * platform/Cursor.h:
- * platform/DragData.h:
- * platform/DragImage.h:
- * platform/FileSystem.h:
- * platform/PlatformExportMacros.h:
- * platform/PlatformKeyboardEvent.h:
- (PlatformKeyboardEvent):
- * platform/PlatformMenuDescription.h:
- * platform/PlatformMouseEvent.h:
- (PlatformMouseEvent):
- * platform/PlatformWheelEvent.h:
- (PlatformWheelEvent):
- * platform/ScrollView.cpp:
- * platform/ScrollView.h:
- (ScrollView):
- * platform/Widget.h:
- * platform/win/SharedTimerWin.cpp:
</del><ins>+ Spec states that:
+ - iceServers should not be an empty list
+ - the entry in the configuration dictionary is "urls", instead of "url"
+ - urls can be either a list or a string
+ Fixing all that in RTCConfiguration validation when creating a RTCPeerConnection
</ins><span class="cx">
</span><del>-2013-04-26 Zalan Bujtas <zalan@apple.com>
</del><ins>+ Existing tests were updated.
</ins><span class="cx">
</span><del>- use-after-free removing a frame from its parent in a beforeload event of an OBJECT element
- https://bugs.webkit.org/show_bug.cgi?id=113964
</del><ins>+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::appendIceServer): Added.
+ (WebCore::processIceServer): Added.
+ (WebCore::RTCPeerConnection::parseConfiguration):
</ins><span class="cx">
</span><del>- Object elements have the tendecny to modify or even fully remove
- the containing Document inside beforeload callback. While Document is removed,
- RenderArena gets destroyed. Retained RenderWidgets fails to function with NULL arena.
-
- Protect RendereArena from getting wiped out, when Document is removed
- during FrameView::updateWidget().
</del><ins>+2014-02-24 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><ins>+ [CSS Regions] Relative positioned elements overflowing the region do not get painted into the next tile
+ https://bugs.webkit.org/show_bug.cgi?id=129254
+
</ins><span class="cx"> Reviewed by Antti Koivisto.
</span><span class="cx">
</span><del>- Test: fast/frames/crash-remove-iframe-during-object-beforeload.html
</del><ins>+ The painting of the region's layer should not be aborted so early if the region's fragment shouldn't be painted
+ because that would prevent all the layer's children from being painted.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::attach):
- * dom/Document.h:
- (Document):
</del><ins>+ Another problem this patch addresses is that clipping should also be performed when the clip rect is empty,
+ which is what happens when painting in a tile in which the flowed element would normally be painted
+ if it wasn't clipped by the region.
+
+ Test: fast/regions/content-relative-next-tile.html
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paintFlowThreadIfRegionForFragments):
+
+2014-02-24 Renata Hodovan <rhodovan.u-szeged@partner.samsung.com>
+
+ Get rid of the unused 'immediate' parameters from repaint related functions
+ https://bugs.webkit.org/show_bug.cgi?id=129111
+
+ Reviewed by Simon Fraser.
+
+ Removing the 'immediate' parameters from repaint related functions - accoring
+ to the FIXME in RenderView::repaintViewRectangle() - since they have no effect.
+
+ No new tests are necessary because there is no behavior change
+
+ * dom/Element.cpp:
+ (WebCore::Element::setActive):
+ * loader/EmptyClients.h:
+ * page/Chrome.cpp:
+ (WebCore::Chrome::invalidateRootView):
+ (WebCore::Chrome::invalidateContentsAndRootView):
+ (WebCore::Chrome::invalidateContentsForSlowScroll):
+ * page/Chrome.h:
+ * page/ChromeClient.h:
+ * page/Frame.cpp:
+ (WebCore::Frame::tiledBackingStorePaintEnd):
</ins><span class="cx"> * page/FrameView.cpp:
</span><del>- (WebCore::FrameView::updateWidgets):
- * rendering/RenderArena.h:
- (RenderArena):
- (WebCore::RenderArena::create):
</del><ins>+ (WebCore::FrameView::invalidateRect):
+ (WebCore::FrameView::scrollContentsFastPath):
+ (WebCore::FrameView::repaintContentRectangle):
+ (WebCore::FrameView::shouldUpdate):
+ * page/FrameView.h:
+ * platform/HostWindow.h:
+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::scrollContents):
+ (WebCore::ScrollView::scrollContentsSlowPath):
+ (WebCore::ScrollView::repaintContentRectangle):
+ (WebCore::ScrollView::updateOverhangAreas):
+ (WebCore::ScrollView::addPanScrollIcon):
+ (WebCore::ScrollView::removePanScrollIcon):
+ (WebCore::ScrollView::platformRepaintContentRectangle):
+ * platform/ScrollView.h:
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::repaintLayerRectsForImage):
+ * rendering/RenderFlowThread.cpp:
+ (WebCore::RenderFlowThread::repaintRectangleInRegions):
+ * rendering/RenderFlowThread.h:
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::setFilterBackendNeedsRepaintingInRect):
+ * rendering/RenderLayer.h:
+ * rendering/RenderMultiColumnSet.cpp:
+ (WebCore::RenderMultiColumnSet::repaintFlowThreadContent):
+ * rendering/RenderMultiColumnSet.h:
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::repaintUsingContainer):
+ (WebCore::RenderObject::repaint):
+ (WebCore::RenderObject::repaintRectangle):
+ (WebCore::RenderObject::repaintSlowRepaintObject):
+ * rendering/RenderObject.h:
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::repaintFlowThreadContent):
+ (WebCore::RenderRegion::repaintFlowThreadContentRectangle):
+ * rendering/RenderRegion.h:
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::repaintViewRectangle):
+ (WebCore::RenderView::flushAccumulatedRepaintRegion):
+ (WebCore::RenderView::repaintRectangleInViewAndCompositedLayers):
+ * rendering/RenderView.h:
+ * svg/graphics/SVGImageChromeClient.h:
</ins><span class="cx">
</span><del>-2013-04-26 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-02-24 Tamas Gergely <tgergely.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>- Optimize function and interface object length computation in bindings generator
- https://bugs.webkit.org/show_bug.cgi?id=115247
</del><ins>+ Code cleanup: remove leftover ENABLE(WORKERS) macros and support.
+ https://bugs.webkit.org/show_bug.cgi?id=129255
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Reviewed by Csaba Osztrogonác.
</ins><span class="cx">
</span><del>- Introduce new GetFunctionLength() function that efficiently compute the length
- of a function (i.e. its number of mandatory parameters).
</del><ins>+ ENABLE_WORKERS macro was removed in r159679, but r161589 added back some occurrences.
+ Support is now also removed from xcconfig files.
</ins><span class="cx">
</span><del>- We now call GetFunctionLength() instead of GenerateFunctionParametersCheck()
- whenever we care only interested in the function length and not the actual
- expression for checking the parameters. This is much more efficient as
- GenerateFunctionParametersCheck() does a lot more processing than we need in
- this case.
</del><ins>+ No new tests needed.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
+ * platform/ThreadGlobalData.cpp:
+ * platform/ThreadGlobalData.h:
+ * platform/Timer.h:
+ (WebCore::TimerBase::isActive):
+ * platform/ios/wak/WebCoreThread.mm:
+ (RunWebThread):
+ (StartWebThread):
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGeneratorJS.pm:
- (GetFunctionLength):
- (GenerateImplementation):
- (GenerateConstructorHelperMethods):
</del><ins>+2014-02-24 Tibor Meszaros <tmeszaros.u-szeged@partner.samsung.com>
</ins><span class="cx">
</span><del>-2013-04-26 Andreas Kling <akling@apple.com>
</del><ins>+ [CMake] Get rid of "FIXME: The Blackberry port ..." from WebCore/CmakeLists.txt
+ https://bugs.webkit.org/show_bug.cgi?id=129152
</ins><span class="cx">
</span><del>- Web Audio: Remove reduplicative addInput() in AnalyserNode.
- <http://webkit.org/b/115244>
</del><ins>+ Reviewed by Gyuyoung Kim.
</ins><span class="cx">
</span><del>- From Blink r149155 by <james.wei@intel.com>:
</del><ins>+ * CMakeLists.txt:
</ins><span class="cx">
</span><del>- The parent class BasicInspectorNode already called addInput() and addOutput().
- So it is reduplicative to call them in AnalyserNode.
</del><ins>+2014-02-24 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- * Modules/webaudio/AnalyserNode.cpp:
- (WebCore::AnalyserNode::AnalyserNode):
- * Modules/webaudio/AudioBasicInspectorNode.cpp:
- (WebCore::AudioBasicInspectorNode::AudioBasicInspectorNode):
- * Modules/webaudio/AudioBasicInspectorNode.h:
- (AudioBasicInspectorNode):
- * Modules/webaudio/MediaStreamAudioDestinationNode.cpp:
- (WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode):
</del><ins>+ Remove redundant setting in FeatureDefines.xcconfig
</ins><span class="cx">
</span><del>-2013-04-26 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
</ins><span class="cx">
</span><del>- Mouseenter and mouseleave events not supported
- https://bugs.webkit.org/show_bug.cgi?id=18930
</del><ins>+2014-02-24 Mihai Tica <mitica@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ [CSS Blending] An element having -webkit-mix-blend-mode should only blend with the contents of the parent stacking context
+ https://bugs.webkit.org/show_bug.cgi?id=129154
</ins><span class="cx">
</span><del>- Implements mouseenter and mouseleave events from W3C DOM Level 3 Events.
- These event are already supported by all other major browsers.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- To avoid performance regressions the new events are only dispatched when
- there are event listeners for them.
</del><ins>+ The blending operation of an element having -webkit-mix-blend-mode should be restricted to the parent stacking context.
+ This change isolates blending, preventing it from blending with other underlying elements besides the parent stacking context.
</ins><span class="cx">
</span><del>- Tests: fast/events/mouseenter-mouseleave-capture.html
- fast/events/mouseenter-mouseleave.html
</del><ins>+ Tests: css3/compositing/blend-mode-isolated-group-1.html
+ css3/compositing/blend-mode-isolated-group-2.html
+ css3/compositing/blend-mode-isolated-group-3.html
</ins><span class="cx">
</span><del>- * bindings/scripts/CodeGenerator.pm:
- * dom/Document.cpp:
- (WebCore::Document::prepareMouseEvent):
- (WebCore::Document::updateHoverActiveState):
- * dom/Document.h:
- (Document):
- * dom/Document.idl:
- * dom/Element.h:
- (Element):
- * dom/Element.idl:
- * dom/EventListenerMap.cpp:
- (WebCore::EventListenerMap::containsCapturing):
- * dom/EventListenerMap.h:
- (EventListenerMap):
- * dom/EventNames.h:
- * dom/EventTarget.h:
- (EventTarget):
- (WebCore::EventTarget::hasCapturingEventListeners):
- * dom/MouseEvent.cpp:
- (WebCore::MouseEvent::create):
- (WebCore::MouseEvent::toElement):
- (WebCore::MouseEvent::fromElement):
- * html/HTMLAttributeNames.in:
- * html/HTMLElement.cpp:
- (WebCore::HTMLElement::eventNameForAttributeName):
- * page/DOMWindow.h:
- (DOMWindow):
- * page/DOMWindow.idl:
- * svg/SVGElement.cpp:
- (WebCore::SVGElement::parseAttribute):
- * svg/SVGElementInstance.h:
- (SVGElementInstance):
- * svg/SVGElementInstance.idl:
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::RenderLayer): Initialize added members to false.
+ (WebCore::RenderLayer::updateBlendMode): Check if a blend mode was set or unset. If so, set the m_updateParentStackingContextShouldIsolateBlendingDirty to true.
+ (WebCore::RenderLayer::updateParentStackingContextShouldIsolateBlending): Traverse to the parent stacking context and update the
+ m_isolatesBlending member accordingly.
+ * rendering/RenderLayer.h:
+ - Add isolatesBlending() as a condition for creating a transparency layer in the paintsWithTransparency method.
+ - Add m_updateParentStackingContextShouldIsolateBlendingDirty member.
+ - Add m_isolatesBlending member and getter.
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::computeCompositingRequirements): Call updateParentStackingContextShouldIsolateBlending.
</ins><span class="cx">
</span><del>-2013-04-26 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+2014-02-24 Krzysztof Czech <k.czech@samsung.com>
</ins><span class="cx">
</span><del>- Add support for Web IDL partial interfaces to the bindings generator
- https://bugs.webkit.org/show_bug.cgi?id=115228
</del><ins>+ [ATK] Wrong selected element at a given index in a list box.
+ https://bugs.webkit.org/show_bug.cgi?id=129039
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Add support for Web IDL partial interfaces to the bindings generator:
- http://dev.w3.org/2006/webapi/WebIDL/#dfn-partial-interface
</del><ins>+ Test: accessibility/select-element-at-index.html
</ins><span class="cx">
</span><del>- Also drop support for the the WebKit-specific [Supplemental] extended
- attribute and use partial interfaces instead in existing IDL files.
</del><ins>+ The selected element at a given index was wrong. One should be considered among the
+ all children of a list box, not only selected ones.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ * accessibility/atk/WebKitAccessibleInterfaceSelection.cpp:
+ (core):
+ (listObjectForSelection):
+ (optionFromList):
+ (optionFromSelection):
+ (webkitAccessibleSelectionRefSelection):
</ins><span class="cx">
</span><del>- * Modules/battery/NavigatorBattery.idl:
- * Modules/filesystem/DOMWindowFileSystem.idl:
- * Modules/filesystem/DataTransferItemFileSystem.idl:
- * Modules/filesystem/HTMLInputElementFileSystem.idl:
- * Modules/filesystem/WorkerContextFileSystem.idl:
- * Modules/gamepad/NavigatorGamepad.idl:
- * Modules/geolocation/NavigatorGeolocation.idl:
- * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
- * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
- * Modules/mediastream/DOMWindowMediaStream.idl:
- * Modules/mediastream/NavigatorMediaStream.idl:
- * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
- * Modules/networkinfo/NavigatorNetworkInfoConnection.idl:
- * Modules/notifications/DOMWindowNotifications.idl:
- * Modules/notifications/WorkerContextNotifications.idl:
- * Modules/quota/DOMWindowQuota.idl:
- * Modules/quota/NavigatorStorageQuota.idl:
- * Modules/quota/WorkerNavigatorStorageQuota.idl:
- * Modules/speech/DOMWindowSpeech.idl:
- * Modules/speech/DOMWindowSpeechSynthesis.idl:
- * Modules/vibration/NavigatorVibration.idl:
- * Modules/webaudio/DOMWindowWebAudio.idl:
- * Modules/webdatabase/DOMWindowWebDatabase.idl:
- * Modules/webdatabase/WorkerContextWebDatabase.idl:
- * Modules/websockets/DOMWindowWebSocket.idl:
- * Modules/websockets/WorkerContextWebSocket.idl:
- * bindings/scripts/IDLAttributes.txt:
- * bindings/scripts/IDLParser.pm:
- (parsePartialDefinition):
- * bindings/scripts/generate-bindings.pl:
- * bindings/scripts/preprocess-idls.pl:
- (getPartialInterfaceNameFromIDLFile):
- * bindings/scripts/test/TestSupplemental.idl:
- * page/DOMWindowPagePopup.idl:
</del><ins>+2014-02-23 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>-2013-04-25 Mihnea Ovidenie <mihnea@adobe.com>
</del><ins>+ [WebGL] Allow ANGLE to initialize unused varyings
+ https://bugs.webkit.org/show_bug.cgi?id=129240
+ <rdar://problem/15203342>
</ins><span class="cx">
</span><del>- [CSS Regions] Hit testing is broken for absolutely positioned regions that have overflow: hidden
- https://bugs.webkit.org/show_bug.cgi?id=113874
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- Reviewed by David Hyatt.
</del><ins>+ Covered by: conformance/glsl/misc/shaders-with-varyings.html
</ins><span class="cx">
</span><del>- Test: fast/regions/hit-test-abspos-overflow-region.html
</del><ins>+ * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
+ (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
+ Add SH_INIT_VARYINGS_WITHOUT_STATIC_USE to compiler flags.
</ins><span class="cx">
</span><del>- When a region is an out-of-flow positioned object with an overflow clip, we need
- to make sure that hit testing works also for cases other than foreground (content)
- hit testing. This patch moves the previous hit testing code, that delegated foreground
- hit testing to the region's flow thread hit testing, into the hitTestContent method,
- now that RenderRegion is RenderBlock based.
</del><ins>+2014-02-23 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- * rendering/RenderRegion.cpp:
- (WebCore::RenderRegion::hitTestContents):
- * rendering/RenderRegion.h:
- (RenderRegion):
</del><ins>+ Update FeatureDefines.xcconfig
</ins><span class="cx">
</span><del>-2013-04-25 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Rubber-stamped by Anders Carlsson.
</ins><span class="cx">
</span><del>- Copy and paste can strip !important CSS rules due to a bug in mergeStyleFromRules
- https://bugs.webkit.org/show_bug.cgi?id=115217
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+2014-02-23 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- The bug was caused by mergeStyleFromRules overriding "important" style rules with "unimportant" inline styles.
- Fixed the bug by using addParsedProperty, which respects !important, in MutableStylePropertySet's
- mergeAndOverrideOnConflict, which was only used in editing code. Now that we've fixed this function, we can use
- it in ViewportStyleResolver::addViewportRule as well.
</del><ins>+ Sort the project file with sort-Xcode-project-file.
</ins><span class="cx">
</span><del>- Test: editing/pasteboard/copy-paste-with-important-rules.html
</del><ins>+ Rubber-stamped by Sam Weinig.
</ins><span class="cx">
</span><del>- * css/StylePropertySet.cpp:
- (WebCore::MutableStylePropertySet::mergeAndOverrideOnConflict): Fixed to respect !important.
- * css/ViewportStyleResolver.cpp:
- (WebCore::ViewportStyleResolver::addViewportRule): Use mergeAndOverrideOnConflict now that the code is identical.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>-2013-04-25 Andreas Kling <akling@apple.com>
</del><ins>+2014-02-23 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- StylePropertySet::getPropertyShorthand() should return a String.
- <http://webkit.org/b/115213>
</del><ins>+ Fix incorrectly commented out code.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * platform/TelephoneNumberDetector.h:
</ins><span class="cx">
</span><del>- Return a String directly from getPropertyShorthand() instead of forcing clients
- to call getPropertyNameString().
</del><ins>+2014-02-23 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- * css/PropertySetCSSStyleDeclaration.cpp:
- (WebCore::PropertySetCSSStyleDeclaration::getPropertyShorthand):
- * css/StylePropertySet.cpp:
- (WebCore::StylePropertySet::getPropertyShorthand):
- * css/StylePropertySet.h:
- (StylePropertySet):
</del><ins>+ Extract platform specific parts of telephone number detection
+ https://bugs.webkit.org/show_bug.cgi?id=129238
</ins><span class="cx">
</span><del>-2013-04-25 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- WEB SPEECH: language support does not work as expected
- https://bugs.webkit.org/show_bug.cgi?id=115119
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ Add new files.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ * html/parser/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::linkifyPhoneNumbers):
+ (WebCore::HTMLTreeBuilder::processCharacterBufferForInBody):
+ * platform/TelephoneNumberDetector.h: Added.
+ * platform/cocoa/TelephoneNumberDetectorCocoa.cpp: Added.
+ (WebCore::TelephoneNumberDetector::phoneNumbersScanner):
+ (WebCore::TelephoneNumberDetector::isSupported):
+ (WebCore::TelephoneNumberDetector::find):
+ Move code to TelephoneNumberDetector.
</ins><span class="cx">
</span><del>- Make the Mac platform synthesizer have access to all the voices installed on the system.
</del><ins>+2014-02-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- * WebCore.exp.in:
- * platform/mac/PlatformSpeechSynthesizerMac.mm:
- (WebCore::PlatformSpeechSynthesizer::initializeVoiceList):
- * platform/mac/WebCoreSystemInterface.h:
- * platform/mac/WebCoreSystemInterface.mm:
</del><ins>+ Change a url parameter type with URL in NavigatorContentUtils
+ https://bugs.webkit.org/show_bug.cgi?id=129202
</ins><span class="cx">
</span><del>-2013-04-25 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- <meter> element not exposed to accessibility
- https://bugs.webkit.org/show_bug.cgi?id=109023
- rdar://problem/13658964
</del><ins>+ It would be good if we use *URL* for url parameters instead of using String.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ Merge from blink. https://src.chromium.org/viewvc/blink?view=rev&revision=165458.
</ins><span class="cx">
</span><del>- Makes the <meter> element appear in the AX tree by reusing the
- AccessibilityProgressIndicator element to handle either progress or meter
- elements.
</del><ins>+ * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
+ (WebCore::verifyCustomHandlerURL):
+ (WebCore::NavigatorContentUtils::registerProtocolHandler):
+ (WebCore::NavigatorContentUtils::isProtocolHandlerRegistered):
+ (WebCore::NavigatorContentUtils::unregisterProtocolHandler):
+ * Modules/navigatorcontentutils/NavigatorContentUtilsClient.h:
</ins><span class="cx">
</span><del>- Test: accessibility/meter-element.html
</del><ins>+2014-02-23 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- * accessibility/AXObjectCache.cpp:
- (WebCore::createFromRenderer):
- (WebCore::AXObjectCache::getOrCreate):
- * accessibility/AccessibilityNodeObject.cpp:
- (WebCore::AccessibilityNodeObject::canHaveChildren):
- (WebCore::AccessibilityNodeObject::visibleText):
- * accessibility/AccessibilityProgressIndicator.cpp:
- (WebCore::AccessibilityProgressIndicator::AccessibilityProgressIndicator):
- (WebCore::AccessibilityProgressIndicator::create):
- (WebCore::AccessibilityProgressIndicator::valueForRange):
- (WebCore::AccessibilityProgressIndicator::maxValueForRange):
- (WebCore::AccessibilityProgressIndicator::minValueForRange):
- (WebCore::AccessibilityProgressIndicator::progressElement):
- (WebCore::AccessibilityProgressIndicator::meterElement):
- * accessibility/AccessibilityProgressIndicator.h:
- (AccessibilityProgressIndicator):
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::firstChild):
- (WebCore::AccessibilityRenderObject::lastChild):
- These methods are modified to handle when there is no rendered children, but there are Node
- children. The node children are desired when calculating text within a node, for example.
</del><ins>+ Update ANGLE to 836bd2176e5607b14846cf1fbc5932dbc91318f4
+ https://bugs.webkit.org/show_bug.cgi?id=129232
</ins><span class="cx">
</span><del>-2013-04-25 Qiankun Miao <qiankun.miao@intel.com>
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- [CSS Shaders] Remove the meshType from the CustomFilterOperation
- https://bugs.webkit.org/show_bug.cgi?id=102529
</del><ins>+ New files added, derived sources compiled directly, and generated
+ steps removed for both EFL and GTK, with much-needed help from
+ Sergio Correia.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ * CMakeLists.txt:
+ * GNUMakefile.am:
</ins><span class="cx">
</span><del>- No new tests, no new functionality.
</del><ins>+2014-02-23 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- MeshType can be accessed from program, so remove the m_meshType
- related code in CustomFilterOperation.
</del><ins>+ Move RenderMathMLMenclose.h/cpp to the right place in the Xcode project and sort.
</ins><span class="cx">
</span><del>- * css/StyleResolver.cpp:
- (WebCore::StyleResolver::createCustomFilterOperationWithInlineSyntax):
- * platform/graphics/filters/CustomFilterOperation.cpp:
- (WebCore::CustomFilterOperation::CustomFilterOperation):
- (WebCore::CustomFilterOperation::blend):
- * platform/graphics/filters/CustomFilterOperation.h:
- (WebCore::CustomFilterOperation::create):
- (WebCore::CustomFilterOperation::meshType):
- (CustomFilterOperation):
- (WebCore::CustomFilterOperation::operator==):
- * platform/graphics/texmap/coordinated/CoordinatedCustomFilterOperation.h:
- (WebCore::CoordinatedCustomFilterOperation::CoordinatedCustomFilterOperation):
</del><ins>+ Rubber-stamped by Anders Carlsson.
</ins><span class="cx">
</span><del>-2013-04-25 Kent Tamura <tkent@chromium.org>
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- Ignore invalid regular expressions for input[pattern].
- https://bugs.webkit.org/show_bug.cgi?id=115204
</del><ins>+2014-02-23 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Darin Adler.
</del><ins>+ Move telephone number detection behind its own ENABLE macro
+ https://bugs.webkit.org/show_bug.cgi?id=129236
</ins><span class="cx">
</span><del>- According to the specification, we should not proceed regular expression
- matching if a pattern attribute value is an invalid regular
- expression. We had a bug that invalid expressions such as
- pattern=")foo(" made RegularExpression objects successfully.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#the-pattern-attribute
- > If an input element has a pattern attribute specified, and the
- > attribute's value, when compiled as a JavaScript regular expression with
- > the global, ignoreCase, and multiline flags disabled (see ECMA262
- > Edition 5, sections 15.10.7.2 through 15.10.7.4), compiles successfully,
- > then the resulting regular expression is the element's compiled pattern
- > regular expression. If the element has no such attribute, or if the
- > value doesn't compile successfully, then the element has no compiled
- > pattern regular expression.
</del><ins>+ * Configurations/FeatureDefines.xcconfig:
+ Add ENABLE_TELEPHONE_NUMBER_DETECTION.
</ins><span class="cx">
</span><del>- This imports a part of Blink r148951.
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::Document):
+ * dom/Document.h:
+ * html/parser/HTMLConstructionSite.h:
+ * html/parser/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::processCharacterBufferForInBody):
+ * html/parser/HTMLTreeBuilder.h:
+ Use ENABLE(TELEPHONE_NUMBER_DETECTION).
</ins><span class="cx">
</span><del>- Tests: Update fast/forms/ValidityState-patternMismatch.html
</del><ins>+ * platform/mac/SoftLinking.h:
+ Remove PLATOFORM(IOS) from SOFT_LINK_PRIVATE_FRAMEWORK_OPTIONAL, it is not iOS specific.
</ins><span class="cx">
</span><del>- * html/BaseTextInputType.cpp:
- (WebCore::BaseTextInputType::patternMismatch):
- Check correctness of pattern attribute value before wrapping with parentheses.
- * platform/text/RegularExpression.cpp:
- (WebCore::RegularExpression::isValid): Added.
- * platform/text/RegularExpression.h:
- (RegularExpression): Declare isValid.
</del><ins>+2014-02-23 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>-2013-04-25 Antoine Quint <graouts@apple.com>
</del><ins>+ Subpixel rendering: Fix bleed avoidance subpixel calculation.
+ https://bugs.webkit.org/show_bug.cgi?id=129225
</ins><span class="cx">
</span><del>- Glyphs may fail to render when using SVG font
- https://bugs.webkit.org/show_bug.cgi?id=115193
</del><ins>+ Reviewed by Simon Fraser.
+
+ static_cast<LayoutUnit>(int value) only produces the desired result when subpixel is off.
</ins><span class="cx">
</span><ins>+ Currently not testable.
+
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::getBackgroundRoundedRect):
+ (WebCore::shrinkRectByOneDevicePixel):
+ (WebCore::RenderBoxModelObject::borderInnerRectAdjustedForBleedAvoidance):
+ (WebCore::RenderBoxModelObject::backgroundRoundedRectAdjustedForBleedAvoidance):
+ (WebCore::RenderBoxModelObject::paintFillLayerExtended):
+ * rendering/RenderBoxModelObject.h:
+
+2014-02-23 Zalan Bujtas <zalan@apple.com>
+
+ Subpixel rendering: Add devicepixel based computation to BorderEdge class.
+ https://bugs.webkit.org/show_bug.cgi?id=129224
+
</ins><span class="cx"> Reviewed by Simon Fraser.
</span><span class="cx">
</span><del>- Calling SimpleFontData::applyTransforms() when the font used is
- an SVG font makes little sense since Core Text doesn’t know or
- understand SVG fonts and would be passed some other, unrelated
- platform font.
</del><ins>+ To produce correct width (and type) results, BorderEdge class needs to take device pixel ratio into account.
</ins><span class="cx">
</span><del>- * platform/graphics/SimpleFontData.h:
- (WebCore::SimpleFontData::applyTransforms):
</del><ins>+ Currently not testable.
</ins><span class="cx">
</span><del>-2013-04-25 Jer Noble <jer.noble@apple.com>
</del><ins>+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::BorderEdge::BorderEdge):
+ (WebCore::BorderEdge::obscuresBackgroundEdge):
+ (WebCore::BorderEdge::getDoubleBorderStripeWidths): this does not always produce the same
+ result as before, but the sum of inner and outer is not different.
+ (WebCore::BorderEdge::borderWidthInDevicePixel):
+ (WebCore::RenderBoxModelObject::getBorderEdgeInfo):
</ins><span class="cx">
</span><del>- Media elements shouldn't resume playback when a page is restored from the back/forward cache if the WKView isn't in a window
- https://bugs.webkit.org/show_bug.cgi?id=115191
</del><ins>+2014-02-22 Dan Bernstein <mitz@apple.com>
</ins><span class="cx">
</span><ins>+ REGRESSION (r164507): Crash beneath JSGlobalObjectInspectorController::reportAPIException at facebook.com, twitter.com, youtube.com
+ https://bugs.webkit.org/show_bug.cgi?id=129227
+
</ins><span class="cx"> Reviewed by Eric Carlson.
</span><span class="cx">
</span><del>- If a page is suspended, then resumed when its WebView or WKView has been removed from a window,
- the page's media elements will unpause. Check whether media is allowed to start during resume()
- via Page::canMediaStart() and if not, register for mediaCanStart notifications. Then, in
- mediaCanStart() if the media is force-paused, unpause it.
</del><ins>+ Reverted r164507.
</ins><span class="cx">
</span><ins>+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::reportException):
+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::InspectorResourceAgent::buildInitiatorObject):
+ * inspector/PageDebuggerAgent.cpp:
+ (WebCore::PageDebuggerAgent::breakpointActionLog):
+ * inspector/TimelineRecordFactory.cpp:
+ (WebCore::TimelineRecordFactory::createGenericRecord):
+ * page/Console.cpp:
+ (WebCore::internalAddMessage):
+ (WebCore::Console::profile):
+ (WebCore::Console::profileEnd):
+ (WebCore::Console::timeEnd):
+ * page/ContentSecurityPolicy.cpp:
+ (WebCore::gatherSecurityPolicyViolationEventData):
+ (WebCore::ContentSecurityPolicy::reportViolation):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::postMessage):
+
+2014-02-22 Joseph Pecoraro <pecoraro@apple.com>
+
+ Remove some unreachable code (-Wunreachable-code)
+ https://bugs.webkit.org/show_bug.cgi?id=129220
+
+ Reviewed by Eric Carlson.
+
+ * html/parser/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::processCharacterBuffer):
+ (WebCore::HTMLTreeBuilder::processEndTag):
+ The only tricky case. Here there was a break inside the
+ #if, but not the #else, and a break after the #endif.
+ Remove the break inside the #if, and always use the
+ break after the #endif.
+
+ * Modules/indexeddb/IDBTransaction.cpp:
+ (WebCore::IDBTransaction::modeToString):
+ * bindings/js/JSTrackCustom.cpp:
+ (WebCore::toJS):
+ * bindings/js/JSWebGLRenderingContextCustom.cpp:
+ (WebCore::functionForUniform):
+ * css/SelectorChecker.cpp:
+ (WebCore::SelectorChecker::checkOne):
</ins><span class="cx"> * html/HTMLMediaElement.cpp:
</span><del>- (WebCore::HTMLMediaElement::suspend):
- (WebCore::HTMLMediaElement::resume):
- (WebCore::HTMLMediaElement::mediaCanStart):
- * html/HTMLMediaElement.h:
- (WebCore::HTMLMediaElement::pageConsentRequiredForResume):
</del><ins>+ (WebCore::HTMLMediaElement::parseAttribute):
+ * page/CaptionUserPreferencesMediaAF.cpp:
+ (WebCore::CaptionUserPreferencesMediaAF::captionDisplayMode):
</ins><span class="cx">
</span><del>-2013-04-25 Andreas Kling <akling@apple.com>
</del><ins>+2014-02-22 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- Remove ENABLE(PARSED_STYLE_SHEET_CACHING) and make it always-on.
</del><ins>+ Letterpress effect disabled for synthetic italic
+ https://bugs.webkit.org/show_bug.cgi?id=129218
+ <rdar://problem/15997846>
</ins><span class="cx">
</span><del>- Rubber-stamped by Anders Koivisto.
</del><ins>+ Reviewed by Dan Bernstein.
</ins><span class="cx">
</span><del>- * PlatformWinCE.cmake:
- * accessibility/AccessibilityObject.h:
- * html/HTMLLinkElement.cpp:
- (WebCore::HTMLLinkElement::setCSSStyleSheet):
</del><ins>+ There was no need to guard against synthetic italics and letterpress.
</ins><span class="cx">
</span><del>-2013-04-25 Patrick Gansterer <paroga@webkit.org>
</del><ins>+ * platform/graphics/mac/FontMac.mm:
+ (WebCore::Font::drawGlyphs): Remove !useLetterpressEffect from conditional.
</ins><span class="cx">
</span><del>- Remove OS(WINCE) from AccessibilityObject.h
- https://bugs.webkit.org/show_bug.cgi?id=115192
</del><ins>+2014-02-21 Sam Weinig <sam@webkit.org>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Expose phase and momentum phase as SPI on DOMWheelEvent
+ <rdar://problem/16110871>
+ https://bugs.webkit.org/show_bug.cgi?id=129184
</ins><span class="cx">
</span><del>- Use the same files like the the other PLATFORM(WIN) ports use.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * PlatformWinCE.cmake:
- * accessibility/AccessibilityObject.h:
- (AccessibilityObject):
</del><ins>+ * WebCore.exp.in:
+ Export core(DOMWheelEvent).
</ins><span class="cx">
</span><del>-2013-04-25 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
+ Make DOMWheelEventInternal.h available in WebKit.
</ins><span class="cx">
</span><del>- Add definition of GlyphBufferGlyph for BlackBerry
- https://bugs.webkit.org/show_bug.cgi?id=115183
</del><ins>+ * dom/Element.cpp:
+ (WebCore::Element::dispatchWheelEvent):
+ * dom/WheelEvent.cpp:
+ (WebCore::determineDeltaMode):
+ (WebCore::WheelEvent::WheelEvent):
+ (WebCore::WheelEvent::initWheelEvent):
+ (WebCore::WheelEvent::initWebKitWheelEvent):
+ Move PlatformWheelEvent -> DOMWheelEvent conversion to DOMWheelEvent.
</ins><span class="cx">
</span><del>- Reviewed by Xan Lopez.
</del><ins>+ * dom/WheelEvent.h:
+ (WebCore::WheelEvent::create):
+ (WebCore::WheelEvent::phase):
+ (WebCore::WheelEvent::momentumPhase):
+ Store phase and momentumPhase on the WheelEvent.
</ins><span class="cx">
</span><del>- BlackBerry uses an unsigned int.
</del><ins>+2014-02-22 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>- * platform/graphics/GlyphBuffer.h:
- (WebCore):
</del><ins>+ Rename JWK key_ops values from wrap/unwrap to wrapKey/unwrapKey
+ https://bugs.webkit.org/show_bug.cgi?id=129121
</ins><span class="cx">
</span><del>-2013-04-25 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ Reviewed by Sam Weinig.
</ins><span class="cx">
</span><del>- ScriptExecutionContext log exception should include a column number
- https://bugs.webkit.org/show_bug.cgi?id=114315
</del><ins>+ * bindings/js/JSCryptoKeySerializationJWK.cpp:
+ (WebCore::JSCryptoKeySerializationJWK::reconcileUsages): Updated to newer names.
+ (WebCore::addUsagesToJSON): Ditto.
+ (WebCore::JSCryptoKeySerializationJWK::serialize): rsa-oaep-key-manipulation test
+ started ot fail, because RSA-OAEP with 2048 bit key and sha-1 can only encrypt
+ 214 bytes, and the new longer names made JSON serialization slightly longer.
+ Compensate by not doing any indentation in JSON.
</ins><span class="cx">
</span><del>- Reviewed by Oliver Hunt.
</del><ins>+2014-02-22 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- Test: inspector/console/console-exception-stack-traces.html
</del><ins>+ Only skip stretchy operators when determining the stretch height.
+ https://bugs.webkit.org/show_bug.cgi?id=126842
</ins><span class="cx">
</span><del>- * bindings/js/ScriptCallStackFactory.h:
- * bindings/js/ScriptCallStackFactory.cpp:
- (WebCore::createScriptCallStackFromException):
- Generate a ScriptCallStack from an exception. Use the vm.exceptionStack
- if available, and fallback to the exception object where needed.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- * bindings/js/JSDOMBinding.cpp:
- (WebCore::reportException):
- Always include a non-empty call stack with exceptions.
- Where not provided, fallback to the exception object.
</del><ins>+ The MathML code only takes into account non-mo children for the computation of the stretch size. This change includes non-stretchy mo in that computation. A new test is added into mathml/presentation/stretchy-depth-height.html.
</ins><span class="cx">
</span><del>- * dom/Document.h:
- * dom/Document.cpp:
- (WebCore::Document::logExceptionToConsole):
- * dom/ScriptExecutionContext.h:
- * dom/ScriptExecutionContext.cpp:
- (WebCore::ScriptExecutionContext::PendingException::PendingException):
- (ScriptExecutionContext::PendingException):
- (WebCore::ScriptExecutionContext::reportException):
- * workers/DefaultSharedWorkerRepository.cpp:
- * workers/SharedWorkerContext.cpp:
- (WebCore::SharedWorkerContext::logExceptionToConsole):
- * workers/SharedWorkerContext.h:
- * workers/WorkerContext.cpp:
- (WebCore::WorkerContext::logExceptionToConsole):
- * workers/WorkerContext.h:
- * workers/WorkerMessagingProxy.cpp:
- (WebCore::WorkerExceptionTask::performTask):
- Plumb columnNumber through as needed.
</del><ins>+ * rendering/mathml/RenderMathMLRow.cpp:
+ (WebCore::RenderMathMLRow::layout):
</ins><span class="cx">
</span><del>-2013-04-25 Gregg Tavares <gman@chromium.org>
</del><ins>+2014-02-22 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- Fix build files so WebGLDebugXXX extensions can be used if enabled.
- https://bugs.webkit.org/show_bug.cgi?id=113976
</del><ins>+ Implement asymmetric/symmetric stretching of vertical operators.
+ https://bugs.webkit.org/show_bug.cgi?id=124827.
</ins><span class="cx">
</span><del>- Reviewed by Dean Jackson.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- No new tests as no new functionality.
</del><ins>+ The MathML code stretches vertical operators asymmetrically by default. This patch takes into account the symmetric attribute or the symmetric property of the operator dictionary to stretch operators symmetrically.
</ins><span class="cx">
</span><del>- * DerivedSources.make:
- * GNUmakefile.list.am:
- * WebCore.xcodeproj/project.pbxproj:
- * bindings/js/JSWebGLRenderingContextCustom.cpp:
</del><ins>+ Test: mathml/presentation/stretchy-depth-height-symmetric.html
</ins><span class="cx">
</span><del>-2013-04-25 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::stretchTo):
+ (WebCore::RenderMathMLOperator::updateFromElement):
+ (WebCore::RenderMathMLOperator::updateStyle):
</ins><span class="cx">
</span><del>- cloneChildNodes looks for deleteButtonController in each level of recursion
- https://bugs.webkit.org/show_bug.cgi?id=115146
</del><ins>+2014-02-22 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Bug 119043 - Large stretch size error for MathML operators.
+ https://bugs.webkit.org/show_bug.cgi?id=119043
</ins><span class="cx">
</span><del>- Obtain the delete button controller upfront, and shallow copy descendents of each child
- so that we don't look for the delete button controller inside cloneNode called on each child.
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Performance Tests: DOM/CloneNodes.html
</del><ins>+ The MathML code used some arbitrary gOperatorExpansion factor for the
+ stretch size and 2/3 1/2 constants for the baseline. This change tries
+ to consider height/depth of siblings of the stretchy operator so that
+ the stretchy operator now matches its target.
</ins><span class="cx">
</span><del>- * dom/ContainerNode.cpp:
- (WebCore::cloneChildNodesAvoidingDeleteButon): Extracted.
- (WebCore::ContainerNode::cloneChildNodes):
</del><ins>+ Test: mathml/presentation/stretchy-depth-height.html
</ins><span class="cx">
</span><del>-2013-04-25 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * rendering/RenderObject.h:
+ (WebCore::RenderObject::isRenderMathMLTable):
+ * rendering/mathml/RenderMathMLBlock.h:
+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::RenderMathMLOperator):
+ (WebCore::RenderMathMLOperator::stretchTo):
+ (WebCore::RenderMathMLOperator::findAcceptableStretchyCharacter):
+ (WebCore::RenderMathMLOperator::updateStyle):
+ (WebCore::RenderMathMLOperator::firstLineBaseline):
+ (WebCore::RenderMathMLOperator::computeLogicalHeight):
+ * rendering/mathml/RenderMathMLOperator.h:
+ * rendering/mathml/RenderMathMLRow.cpp:
+ (WebCore::RenderMathMLRow::layout):
</ins><span class="cx">
</span><del>- HTMLOptionsCollection's namedItem and name getter should return the first item
- https://bugs.webkit.org/show_bug.cgi?id=115150
</del><ins>+2014-02-22 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Unreviewed, rolling out r164534.
+ http://trac.webkit.org/changeset/164534
+ https://bugs.webkit.org/show_bug.cgi?id=119043
</ins><span class="cx">
</span><del>- Following the resolution in http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-December/038355.html,
- the spefication has been updated to only return the first item when there are multiple items of the same name
- in HTMLOptionsCollection; this new behavior matches that of Firefox and Opera (Presto).
</del><ins>+ missing tests
</ins><span class="cx">
</span><del>- Implement this new behavior to remove the custom binding code and use the fast path in namedItem and name
- getter of HTMLOptionsCollection. (Obtaining all items for a given name is expensive!).
</del><ins>+ * rendering/RenderObject.h:
+ * rendering/mathml/RenderMathMLBlock.h:
+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::RenderMathMLOperator):
+ (WebCore::RenderMathMLOperator::expandedStretchHeight):
+ (WebCore::RenderMathMLOperator::stretchToHeight):
+ (WebCore::RenderMathMLOperator::findAcceptableStretchyCharacter):
+ (WebCore::RenderMathMLOperator::updateStyle):
+ (WebCore::RenderMathMLOperator::firstLineBaseline):
+ (WebCore::RenderMathMLOperator::computeLogicalHeight):
+ * rendering/mathml/RenderMathMLOperator.h:
+ * rendering/mathml/RenderMathMLRow.cpp:
+ (WebCore::RenderMathMLRow::layout):
</ins><span class="cx">
</span><del>- Tests: fast/dom/HTMLSelectElement/named-options.html
- fast/dom/html-collections-named-getter.html
</del><ins>+2014-02-22 Frédéric Wang <fred.wang@free.fr>
</ins><span class="cx">
</span><del>- * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
- (WebCore): Removed the custom bindings for name getter and namedItem.
- * html/HTMLOptionsCollection.idl:
</del><ins>+ Bug 119043 - Large stretch size error for MathML operators.
+ https://bugs.webkit.org/show_bug.cgi?id=119043
</ins><span class="cx">
</span><del>-2013-04-25 Joseph Pecoraro <pecoraro@apple.com>
</del><ins>+ Reviewed by Chris Fleizach.
</ins><span class="cx">
</span><del>- Web Inspector: ConsoleMessage should include line and column number where possible
- https://bugs.webkit.org/show_bug.cgi?id=114929
</del><ins>+ The MathML code used some arbitrary gOperatorExpansion factor for the
+ stretch size and 2/3 1/2 constants for the baseline. This change tries
+ to consider height/depth of siblings of the stretchy operator so that
+ the stretchy operator now matches its target.
</ins><span class="cx">
</span><del>- - adds "m_column" to WebCore::ConsoleMessage
- - adds "column" to Console.ConsoleMessage in the inspector protocol
- - set the column number for console.* functions (Console.cpp)
- - set the column number for XSLT errors (XSLTProcessor)
- - plumb columnNumber everywhere else it is needed, set it to 0 and file
- bugs for all cases missing columnNumber that could provide it.
</del><ins>+ Test: mathml/presentation/stretchy-depth-height.html
</ins><span class="cx">
</span><del>- Reviewed by Timothy Hatcher.
</del><ins>+ * rendering/RenderObject.h:
+ (WebCore::RenderObject::isRenderMathMLTable):
+ * rendering/mathml/RenderMathMLBlock.h:
+ * rendering/mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::RenderMathMLOperator):
+ (WebCore::RenderMathMLOperator::stretchTo):
+ (WebCore::RenderMathMLOperator::findAcceptableStretchyCharacter):
+ (WebCore::RenderMathMLOperator::updateStyle):
+ (WebCore::RenderMathMLOperator::firstLineBaseline):
+ (WebCore::RenderMathMLOperator::computeLogicalHeight):
+ * rendering/mathml/RenderMathMLOperator.h:
+ * rendering/mathml/RenderMathMLRow.cpp:
+ (WebCore::RenderMathMLRow::layout):
</ins><span class="cx">
</span><del>- Test: inspector/console/console-url-line-column.html
- inspector/console/console-messages-stack-traces.html
</del><ins>+2014-02-21 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>- * inspector/ConsoleMessage.h:
- * inspector/ConsoleMessage.cpp:
- (WebCore::ConsoleMessage::ConsoleMessage):
- (WebCore::ConsoleMessage::autogenerateMetadata):
- (WebCore::ConsoleMessage::addToFrontend):
- (WebCore::ConsoleMessage::isEqual):
- Add m_column and set it where appropriate.
</del><ins>+ REGRESSION(r164412): Pixel cracks when zooming in to any web content.
+ https://bugs.webkit.org/show_bug.cgi?id=129195
</ins><span class="cx">
</span><del>- * inspector/Inspector.json:
- Add column property to Console.ConsoleMessage.
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- * page/Console.cpp:
- (WebCore::internalAddMessage):
- (WebCore::Console::profile):
- Set columnNumber like lineNumber from the last stack frame.
- (WebCore::Console::groupEnd):
- Line and column are unused in this message type, set both to 0.
</del><ins>+ Integral clipping of the repaint rect was prematurely removed in RenderLayerBacking::paintContents().
+ Repaint rects needs a uniform, device pixel precise clipping across the painting flow including RenderLayer,
+ RenderView and TileController.
</ins><span class="cx">
</span><del>- * xml/XSLTProcessorLibxslt.cpp:
- (WebCore::XSLTProcessor::parseErrorFunc):
- * xml/XSLTProcessorQt.cpp:
- (WebCore::XSLTMessageHandler::handleMessage):
- Add real column numbers, the XSLT handlers already had it available.
</del><ins>+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::paintContents):
+ (WebCore::RenderLayerBacking::compositedBoundsIncludingMargin):
</ins><span class="cx">
</span><del>- * bindings/js/JSCustomXPathNSResolver.cpp:
- (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
- * css/CSSParser.cpp:
- (WebCore::CSSParser::logError):
- * dom/ScriptExecutionContext.h:
- * dom/ScriptExecutionContext.cpp:
- (WebCore::ScriptExecutionContext::addConsoleMessage):
- * dom/Document.cpp:
- (WebCore::Document::logExceptionToConsole):
- (WebCore::Document::addMessage):
- * dom/Document.h:
- * inspector/InspectorConsoleAgent.cpp:
- (WebCore::InspectorConsoleAgent::addMessageToConsole):
- (WebCore::InspectorConsoleAgent::stopTiming):
- (WebCore::InspectorConsoleAgent::didFinishXHRLoading):
- (WebCore::InspectorConsoleAgent::didReceiveResponse):
- (WebCore::InspectorConsoleAgent::didFailLoading):
- * inspector/InspectorConsoleAgent.h:
- * inspector/InspectorConsoleInstrumentation.h:
- (WebCore::InspectorInstrumentation::addMessageToConsole):
- (WebCore::InspectorInstrumentation::addStartProfilingMessageToConsole):
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::addMessageToConsoleImpl):
- (WebCore::InspectorInstrumentation::addStartProfilingMessageToConsoleImpl):
- (WebCore::InspectorInstrumentation::addProfileImpl):
- * inspector/InspectorInstrumentation.h:
- (InspectorInstrumentation):
- * inspector/InspectorProfilerAgent.cpp:
- (WebCore::InspectorProfilerAgent::addProfile):
- (WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole):
- (WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole):
- (WebCore::InspectorProfilerAgent::start):
- (WebCore::InspectorProfilerAgent::stop):
- * inspector/InspectorProfilerAgent.h:
- (InspectorProfilerAgent):
- * loader/EmptyClients.h:
- (WebCore::EmptyChromeClient::addMessageToConsole):
- * page/ChromeClient.h:
- (WebCore::ChromeClient::addMessageToConsole):
- * page/ContentSecurityPolicy.cpp:
- (WebCore::ContentSecurityPolicy::logToConsole):
- * page/PageConsole.cpp:
- (WebCore::PageConsole::addMessage):
- * page/PageConsole.h:
- * workers/DefaultSharedWorkerRepository.cpp:
- (SharedWorkerProxy):
- (WebCore::postExceptionTask):
- (WebCore::SharedWorkerProxy::postExceptionToWorkerObject):
- (WebCore::postConsoleMessageTask):
- (WebCore::SharedWorkerProxy::postConsoleMessageToWorkerObject):
- * workers/SharedWorkerContext.cpp:
- (WebCore::SharedWorkerContext::logExceptionToConsole):
- * workers/WorkerContext.cpp:
- (WebCore::WorkerContext::logExceptionToConsole):
- (WebCore::WorkerContext::addConsoleMessage):
- (WebCore::WorkerContext::addMessage):
- (WebCore::WorkerContext::addMessageToWorkerConsole):
- * workers/WorkerContext.h:
- * workers/WorkerMessagingProxy.cpp:
- (WebCore::WorkerExceptionTask::create):
- (WebCore::WorkerExceptionTask::WorkerExceptionTask):
- (WebCore::WorkerExceptionTask::performTask):
- (WorkerExceptionTask):
- (WebCore::WorkerMessagingProxy::postExceptionToWorkerObject):
- (WebCore::postConsoleMessageTask):
- (WebCore::WorkerMessagingProxy::postConsoleMessageToWorkerObject):
- * workers/WorkerMessagingProxy.h:
- (WorkerMessagingProxy):
- * workers/WorkerReportingProxy.h:
- (WorkerReportingProxy):
- Plumb columnNumber through where appropriate. File bugs where missing.
</del><ins>+2014-02-21 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>-2013-04-25 Allan Sandfeld Jensen <allan.jensen@digia.com>
</del><ins>+ Unreviewed Mac build fix after r164529.
</ins><span class="cx">
</span><del>- [Qt] Animated opacity does not trigger accelerated compositing
- https://bugs.webkit.org/show_bug.cgi?id=115107
</del><ins>+ Replace the string-to-array algorithm with a archictecture-independant
+ one.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm:
+ (WebCore::CDMSessionMediaSourceAVFObjC::generateKeyRequest):
</ins><span class="cx">
</span><del>- Add extra option to also trigger compositing on animated opacity.
</del><ins>+2014-02-21 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- * page/ChromeClient.h:
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::requiresCompositingForAnimation):
</del><ins>+ [EME] Add a CDMSession for MediaPlayerPrivateMediaSourceAVFObjC
+ https://bugs.webkit.org/show_bug.cgi?id=129166
</ins><span class="cx">
</span><del>-2013-04-25 Lamarque V. Souza <Lamarque.Souza@basyskom.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Sec-WebSocket-Extensions header field must not appear more than once in an HTTP response.
- https://bugs.webkit.org/show_bug.cgi?id=115128
</del><ins>+ Add a new CDMSession, cerated by MediaPlayerPrivateMediaSourceAVFObjC allowing
+ media-source-backed media elements to play protected content.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Add a new CDMSessionMediaSourceAVFObjC class:
+ * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.h: Added.
+ (WebCore::CDMSessionMediaSourceAVFObjC::~CDMSessionMediaSourceAVFObjC):
+ * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm: Added.
+ (WebCore::CDMSessionMediaSourceAVFObjC::CDMSessionMediaSourceAVFObjC):
+ (WebCore::CDMSessionMediaSourceAVFObjC::generateKeyRequest): Do not actually generate a
+ key request until the certificate data has been added via update();
+ (WebCore::CDMSessionMediaSourceAVFObjC::releaseKeys): No-op.
+ (WebCore::CDMSessionMediaSourceAVFObjC::update): If no certificate data has yet been
+ added, assume the incoming message contains it.
</ins><span class="cx">
</span><del>- According to WebSocket specification Sec-WebSocket-Extensions header field
- must not appear more than once in an HTTP response. It is ok if it appears
- more than once in client request. Also add a check for invalid UTF-8
- characters when parsing Sec-WebSocket-Extensions quoted string.
</del><ins>+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::registerMediaEngine): Add supportsKeySystem.
+ (WebCore::keySystemIsSupported): Use "com.apple.fps.2_0" to distinguish from the not-media-source scheme.
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::supportsType): Check the keySystem type.
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::supportsKeySystem): Added.
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::createSession): Added, pass through to MediaSourcePrivate.
+ * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
+ * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
+ (WebCore::MediaSourcePrivateAVFObjC::createSession): Added.
+ (WebCore::MediaSourcePrivateAVFObjC::sourceBufferKeyNeeded): Pass through to MediaPlayer.
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ (-[WebAVStreamDataParserListener streamDataParser:didProvideContentKeyRequestInitializationData:forTrackID:]):
+ Added, pass through to SourceBufferPrivate.
+ (WebCore::SourceBufferPrivateAVFObjC::SourceBufferPrivateAVFObjC):
+ (WebCore::SourceBufferPrivateAVFObjC::didProvideContentKeyRequestInitializationDataForTrackID): Remember
+ which track is requesting the key, and pass the request to MediaSourcePrivate.
</ins><span class="cx">
</span><del>- Test: http/tests/websocket/tests/hybi/handshake-fail-by-more-extensions-header.html
</del><ins>+ Add new files to the project.
+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- * Modules/websockets/WebSocketExtensionParser.cpp:
- (WebCore::WebSocketExtensionParser::consumeQuotedString): Return false if there is
- invalid character in the quoted string being parsed.
- * Modules/websockets/WebSocketHandshake.cpp:
- (WebCore::WebSocketHandshake::readHTTPHeaders): Check if Sec-WebSocket-Extensions
- appears more than once in header response. Abort handshake if it does.
</del><ins>+2014-02-21 Alexey Proskuryakov <ap@apple.com>
</ins><span class="cx">
</span><del>-2013-04-25 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
</del><ins>+ CryptoAlgorithmRSASSA_PKCS1_v1_5::platformVerify contains seemingly accidental unreachable code
+ https://bugs.webkit.org/show_bug.cgi?id=129193
</ins><span class="cx">
</span><del>- REGRESSION(r148758): Remove WTFLogAlways call from IconLoader.
- https://bugs.webkit.org/show_bug.cgi?id=115182
</del><ins>+ Reviewed by Joseph Pecoraro.
</ins><span class="cx">
</span><del>- Reviewed by Dan Bernstein.
</del><ins>+ * crypto/mac/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp:
+ (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformVerify): Fix the accidental code.
</ins><span class="cx">
</span><del>- The call added in r148758 was apparently a leftover from some debugging
- session, and it makes the Interactive/window-resize.html performance
- test randomly fail on Qt and EFL due to WTFLogAlways writing to stderr.
</del><ins>+2014-02-21 Brent Fulgham <bfulgham@apple.com>
</ins><span class="cx">
</span><del>- * loader/icon/IconLoader.cpp:
- (WebCore::IconLoader::notifyFinished):
</del><ins>+ Extend media support for WebVTT sources
+ https://bugs.webkit.org/show_bug.cgi?id=129156
</ins><span class="cx">
</span><del>-2013-04-25 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- Add support for Web IDL callback interfaces to the bindings generator
- https://bugs.webkit.org/show_bug.cgi?id=115179
</del><ins>+ * Configurations/FeatureDefines.xcconfig: Add new feature define for AVF_CAPTIONS
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::outOfBandTrackSources): Added.
+ * html/HTMLMediaElement.h:
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::outOfBandTrackSources): Added.
+ * platform/graphics/MediaPlayer.h:
+ (WebCore::MediaPlayerClient::outOfBandTrackSources): Added.
+ * platform/graphics/PlatformTextTrack.h:
+ (WebCore::PlatformTextTrack::create): Update for new constructor signature.
+ (WebCore::PlatformTextTrack::createOutOfBand): Added.
+ (WebCore::PlatformTextTrack::url): Added.
+ (WebCore::PlatformTextTrack::isDefault): Added.
+ (WebCore::PlatformTextTrack::PlatformTextTrack): Revised to take new URL and
+ 'isDefault' arguments.
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::mediaDescriptionForKind): Added.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): Tell AVFoundation about any
+ WebVTT tracks supplied by the web page.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::processMediaSelectionOptions): Filter out any out-of-band
+ WebVTT tracks returned by the media engine to avoid double-counting tracks.
</ins><span class="cx">
</span><del>- Reviewed by Kentaro Hara.
</del><ins>+2014-02-21 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Add support in the bindings generator for Web IDL callback interfaces:
- http://dev.w3.org/2006/webapi/WebIDL/#dfn-callback-interface
</del><ins>+ Inner text element should not use -webkit-user-modify
+ https://bugs.webkit.org/show_bug.cgi?id=129035
</ins><span class="cx">
</span><del>- Drop support for the WebKit-specific [Callback] extended attributes
- on Web IDL interfaces and update existing IDL files to use proper
- callback interfaces instead.
</del><ins>+ Reviewed by Andreas Kling.
</ins><span class="cx">
</span><del>- No new tests, no behavior change.
</del><ins>+ To eliminate the internal use of -webkit-user-modify, use contenteditable attribute in the inner text elements
+ instead of manually inspecting disabled-ness and readonly-ness in RenderTextControl.
</ins><span class="cx">
</span><del>- * Modules/filesystem/EntriesCallback.idl:
- * Modules/filesystem/EntryCallback.idl:
- * Modules/filesystem/ErrorCallback.idl:
- * Modules/filesystem/FileCallback.idl:
- * Modules/filesystem/FileSystemCallback.idl:
- * Modules/filesystem/FileWriterCallback.idl:
- * Modules/filesystem/MetadataCallback.idl:
- * Modules/geolocation/PositionCallback.idl:
- * Modules/geolocation/PositionErrorCallback.idl:
- * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
- * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
- * Modules/mediastream/RTCErrorCallback.idl:
- * Modules/mediastream/RTCSessionDescriptionCallback.idl:
- * Modules/mediastream/RTCStatsCallback.idl:
- * Modules/notifications/NotificationPermissionCallback.idl:
- * Modules/quota/StorageErrorCallback.idl:
- * Modules/quota/StorageQuotaCallback.idl:
- * Modules/quota/StorageUsageCallback.idl:
- * Modules/webaudio/AudioBufferCallback.idl:
- * Modules/webdatabase/DatabaseCallback.idl:
- * Modules/webdatabase/SQLStatementCallback.idl:
- * Modules/webdatabase/SQLStatementErrorCallback.idl:
- * Modules/webdatabase/SQLTransactionCallback.idl:
- * Modules/webdatabase/SQLTransactionErrorCallback.idl:
- * Modules/webdatabase/SQLTransactionSyncCallback.idl:
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateInterface):
- * bindings/scripts/IDLParser.pm:
- (parseCallbackRestOrInterface):
- * bindings/scripts/test/TestCallback.idl:
- * dom/RequestAnimationFrameCallback.idl:
- * dom/StringCallback.idl:
- * html/VoidCallback.idl:
</del><ins>+ Unfortunately, we still have to manually set UserModify value in RenderTextControl::adjustInnerTextStyle since
+ RenderTextControl::styleDidChange creates RenderStyle for its inner text from scratch via createInnerTextStyle.
</ins><span class="cx">
</span><del>-2013-04-25 Adrian Perez de Castro <aperez@igalia.com>
</del><ins>+ * html/HTMLFieldSetElement.cpp:
+ (WebCore::HTMLFieldSetElement::disabledStateChanged): Don't use childrenOfType iterator which asserts that DOM
+ isn't mutated during the traversal since we now set contenteditable attribute inside disabledStateChanged via
+ updateFromControlElementsAncestorDisabledStateUnder.
</ins><span class="cx">
</span><del>- [GStreamer] Add audio/speex MIME type as supported
- https://bugs.webkit.org/show_bug.cgi?id=115032
</del><ins>+ * html/HTMLFormControlElement.cpp:
+ (WebCore::HTMLFormControlElement::parseAttribute): Extracted readOnlyAttributeChanged out of this function so
+ that HTMLTextFormControl could override it to call updateInnerTextElementEditability.
+ (WebCore::HTMLFormControlElement::readOnlyAttributeChanged): Ditto.
+ * html/HTMLFormControlElement.h:
</ins><span class="cx">
</span><del>- Reviewed by Philippe Normand.
</del><ins>+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::didAddUserAgentShadowRoot): Call updateInnerTextElementEditability after creating
+ shadow DOM for the current input type.
+ (WebCore::HTMLInputElement::updateType): Ditto.
+ (WebCore::HTMLInputElement::parseAttribute): Ditto.
</ins><span class="cx">
</span><del>- GStreamer has support for the Speex codec (http://www.speex.org).
- Speex streams may be embedded in a Ogg container, or standalone.
- The case of the Ogg container is already covered by the "*/ogg"
- MIME types declared as supported by the GStreamer media playing
- code, but for standalone streams to work, "audio/speex" has to
- be added.
</del><ins>+ * html/HTMLTextAreaElement.cpp:
+ (WebCore::HTMLTextAreaElement::didAddUserAgentShadowRoot): Call updateInnerTextElementEditability.
</ins><span class="cx">
</span><del>- With this, and the needed GStreamer plugin installed, the GTK+
- launcher is able to correctly play Speex streams served with
- "Content-type: audio/speex".
</del><ins>+ * html/HTMLTextFormControlElement.cpp:
+ (WebCore::HTMLTextFormControlElement::disabledStateChanged): Added to update contenteditable attribute since
+ the editability of the inner text element depends on disabled-ness of the element.
+ (WebCore::HTMLTextFormControlElement::readOnlyAttributeChanged): Ditto for the readonly-ness of the element.
+ (WebCore::HTMLTextFormControlElement::updateInnerTextElementEditability): Added.
+ * html/HTMLTextFormControlElement.h:
</ins><span class="cx">
</span><del>- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
</del><ins>+ * rendering/RenderTextControl.cpp:
+ (WebCore::RenderTextControl::adjustInnerTextStyle): Use the inner text element's presentationAttributeStyle() to
+ compute the appropriate EUserModify value instead of hard-coding it here.
+ * rendering/RenderTextControl.h:
</ins><span class="cx">
</span><del>-2013-04-25 Andreas Kling <akling@apple.com>
</del><ins>+2014-02-21 ChangSeok Oh <changseok.oh@collabora.com>
</ins><span class="cx">
</span><del>- Add FINAL decorators to the InlineBox class hierarchy.
- <http://webkit.org/b/115177>
</del><ins>+ [GTK] Support WEBGL_draw_buffers extension.
+ https://bugs.webkit.org/show_bug.cgi?id=129143
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- From Blink r148628 by <cevans@chromium.org>:
</del><ins>+ Support the WEBGL_draw_buffers WebGL extension for gtk port. Relevant opengl APIs
+ are exposed for WebGLRenderingContext to access them properly.
</ins><span class="cx">
</span><del>- FINAL is a macro in wtf/Compiler.h that does the correct thing if the compiler does not support "final")
- The approach used is as simple as possible whilst being thorough.
- So, leaf classes have FINAL applied to the whole class whereas intermediary classes have FINAL applied to relevant methods.
</del><ins>+ Covered by fast/canvas/webgl/webgl-draw-buffers.html
</ins><span class="cx">
</span><del>- FINAL allows a compiler to devirtualize call sites and turn them into direct calls. As you might expect, this is perf positive:
- (clang on Linux):
- - line_layout.html goes from 120 runs/s -> 123 runs/2, +2.5%
- - html5-full-render.html goes from 3176ms -> 3162ms, +0.4%
</del><ins>+ * platform/graphics/OpenGLShims.cpp:
+ (WebCore::initializeOpenGLShims):
+ * platform/graphics/OpenGLShims.h:
+ * platform/graphics/opengl/Extensions3DOpenGL.cpp:
+ (WebCore::Extensions3DOpenGL::supportsExtension):
+ (WebCore::Extensions3DOpenGL::drawBuffersEXT):
</ins><span class="cx">
</span><del>- I have confidence that the former result is statistically significant (as the numbers are very very stable) but not the latter.
</del><ins>+2014-02-21 ChangSeok Oh <changseok.oh@collabora.com>
</ins><span class="cx">
</span><del>- * rendering/EllipsisBox.h:
- * rendering/InlineFlowBox.h:
- * rendering/InlineTextBox.h:
- * rendering/RootInlineBox.h:
- * rendering/TrailingFloatsRootInlineBox.h:
- * rendering/svg/SVGInlineFlowBox.h:
- * rendering/svg/SVGInlineTextBox.h:
- * rendering/svg/SVGRootInlineBox.h:
</del><ins>+ Mac port uses ANGLE_instanced_arrays related apis through those in GraphicsContext3DCommon.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=128803
</ins><span class="cx">
</span><del>-2013-04-25 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- CSS parser: Add error recovery while parsing @-webkit-keyframes key values.
- <http://webkit.org/b/115175>
</del><ins>+ Merge mac port implementation of ANGLE_instanced_arrays into common code.
</ins><span class="cx">
</span><del>- From Blink r148714 by <apavlov@chromium.org>:
</del><ins>+ No new tests, no functionality changed.
</ins><span class="cx">
</span><del>- If not a percentage, "from", or "to" value is used in a key list, the rule is erroneous,
- and due to the absense of recovery, the parser skips the following, valid CSS rule.
</del><ins>+ * platform/graphics/mac/GraphicsContext3DMac.mm:
+ * platform/graphics/opengl/Extensions3DOpenGL.cpp:
+ (WebCore::Extensions3DOpenGL::drawArraysInstanced):
+ (WebCore::Extensions3DOpenGL::drawElementsInstanced):
+ (WebCore::Extensions3DOpenGL::vertexAttribDivisor):
+ * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
+ (WebCore::GraphicsContext3D::vertexAttribDivisor):
</ins><span class="cx">
</span><del>- On a related note, keyframes, whose selectors contain invalid keys, should be discarded
- altogether, according to <http://www.w3.org/TR/css3-animations/#keyframes>
</del><ins>+2014-02-21 Myles C. Maxfield <mmaxfield@apple.com>
</ins><span class="cx">
</span><del>- Tests: animations/keyframes-invalid-keys.html
- fast/css/webkit-keyframes-errors.html
</del><ins>+ After copy and paste, cursor may appear to be above the bottom of content
+ https://bugs.webkit.org/show_bug.cgi?id=129167
</ins><span class="cx">
</span><del>- * css/CSSGrammar.y.in:
- * css/CSSParser.cpp:
- (WebCore::CSSParser::rewriteSpecifiers):
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>-2013-04-25 Antti Koivisto <antti@apple.com>
</del><ins>+ Adding a clear:both to the end of content.
</ins><span class="cx">
</span><del>- REGRESSION (r147797): Animations slideshows of images on www.thesuperficial.com are slow
- https://bugs.webkit.org/show_bug.cgi?id=115172
</del><ins>+ I can't handle the case of the cursor appearing above the bottom of
+ absolutely positioned divs (of the case of floats inside absolutely
+ positioned divs) because you can't know where the bottom of a div
+ will end up being rendered (it is affected by things like browser
+ window width and text size settings). Therefore, the only case I
+ can handle is the case where there is a floating div in the same
+ level as the document itself.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Test: editing/pasteboard/copy-paste-inserts-clearing-div.html
</ins><span class="cx">
</span><del>- On this page ads dynamically loaded to subframes on slideshow navigation switch us to state where we throttle layer flushes.
-
- Fix by ignoring any subframe-originated loads when determining throttling.
</del><ins>+ * editing/EditingStyle.cpp:
+ (WebCore::EditingStyle::isFloating):
+ * editing/EditingStyle.h:
+ * editing/markup.cpp:
+ (WebCore::StyledMarkupAccumulator::StyledMarkupAccumulator):
+ (WebCore::StyledMarkupAccumulator::appendElement):
+ (WebCore::createMarkupInternal):
</ins><span class="cx">
</span><del>- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::loadProgressingStatusChanged):
- * loader/ProgressTracker.cpp:
- (WebCore::ProgressTracker::isMainLoadProgressing):
-
- Rename, ignore subframe originated loads. Subframe loads that are initiated during the main load still count.
</del><ins>+2014-02-21 Dean Jackson <dino@apple.com>
</ins><span class="cx">
</span><del>- * loader/ProgressTracker.h:
- (ProgressTracker):
- * page/FrameView.cpp:
- (WebCore::FrameView::updateLayerFlushThrottlingInAllFrames):
- * page/FrameView.h:
- (FrameView):
- * rendering/RenderLayerBacking.cpp:
- (WebCore::computeTileCoverage):
</del><ins>+ [iOS Media] Wireless target UI
+ https://bugs.webkit.org/show_bug.cgi?id=129189
+ <rdar://problem/15349928>
+ <rdar://problem/16100060>
</ins><span class="cx">
</span><del>-2013-04-25 Andreas Kling <akling@apple.com>
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- SVG: Fix viewBox animations on shapes with non-scaling-stroke.
- <http://webkit.org/b/115173>
</del><ins>+ Implement a prototype UI for wireless playback targets. The UI
+ doesn't currently work, but can be simulated via a class variable
+ in ControllerIOS.
</ins><span class="cx">
</span><del>- From Blink r149058 by <pdr@chromium.org>:
</del><ins>+ * Modules/mediacontrols/mediaControlsiOS.css:
+ (audio::-webkit-media-controls-panel button): Reset the default style of
+ button elements, to avoid getting a border.
+ (audio::-webkit-media-controls-wireless-playback-status): Holds the UI showing
+ the user that the media is playing on another target.
+ (audio::-webkit-media-controls-wireless-playback-status.hidden):
+ (audio::-webkit-media-controls-wireless-playback-picker-button): The button to
+ trigger selection of targets.
+ (audio::-webkit-media-controls-wireless-playback-picker-button.active):
+ (audio::-webkit-media-controls-panel): This needs to be position absolute for
+ the wireless playback status to fill the viewport.
+ * Modules/mediacontrols/mediaControlsiOS.js:
+ (ControllerIOS): Check for targets.
+ (ControllerIOS.prototype.addVideoListeners):
+ (ControllerIOS.prototype.removeVideoListeners):
+ (ControllerIOS.prototype.UIString): New method to return localized strings (with
+ a FIXME).
+ (ControllerIOS.prototype.shouldHaveAnyUI): Needs to display if there is a wireless
+ target.
+ (ControllerIOS.prototype.currentPlaybackTargetIsWireless):
+ (ControllerIOS.prototype.updateWirelessPlaybackStatus): Create the status content,
+ replacing the device name if it is available.
+ (ControllerIOS.prototype.updateWirelessTargetAvailable):
+ (ControllerIOS.prototype.createControls):
+ (ControllerIOS.prototype.configureInlineControls):
+ (ControllerIOS.prototype.handleWirelessPlaybackChange):
+ (ControllerIOS.prototype.handleWirelessTargetAvailableChange):
+ (ControllerIOS.prototype.handleWirelessPickerButtonClicked):
</ins><span class="cx">
</span><del>- Previously hasAttribute() to determine if a viewBox was set in the transform
- code for non-scaling-strokes. hasAttribute() should not be used in this case,
- as it will return false if the attribute is not set but the value is animating.
</del><ins>+2014-02-21 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- This patch switches to checking if the viewBox is empty instead of checking for
- the presence of the attribute.
</del><ins>+ Make a generic CDMPrivateMediaPlayer and move its CDMSession into platform/.
+ https://bugs.webkit.org/show_bug.cgi?id=129164
</ins><span class="cx">
</span><del>- Test: svg/stroke/animated-non-scaling-stroke.html
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * svg/SVGSVGElement.cpp:
- (WebCore::SVGSVGElement::localCoordinateSpaceTransform):
- * svg/SVGSVGElement.h:
- (WebCore::SVGSVGElement::hasEmptyViewBox):
</del><ins>+ Move the session created by CDMPrivateAVFoundation into platform, and rename
+ CDMPrivateAVFoundation to CDMPrivateMediaPlayer. Future media engines who want
+ to support a keysystem from within the media engine can create their own
+ CDMSession as part of the MediaPlayerPrivate interface.
</ins><span class="cx">
</span><del>-2013-04-25 Andreas Kling <akling@apple.com>
</del><ins>+ * Modules/encryptedmedia/CDM.cpp:
+ (WebCore::installedCDMFactories):
+ (WebCore::CDM::createSession):
+ * Modules/encryptedmedia/CDM.h:
+ * Modules/encryptedmedia/CDMPrivate.h:
+ * Modules/encryptedmedia/MediaKeySession.cpp:
+ * Modules/encryptedmedia/MediaKeySession.h:
+ * Modules/encryptedmedia/CDMPrivateAVFoundation.mm: Removed.
+ * Modules/encryptedmedia/CDMPrivateMediaPlayer.cpp: Renamed from Source/WebCore/Modules/encryptedmedia/CDMPrivateAVFoundation.cpp.
+ (WebCore::CDMPrivateMediaPlayer::supportsKeySystem):
+ (WebCore::CDMPrivateMediaPlayer::supportsKeySystemAndMimeType):
+ (WebCore::CDMPrivateMediaPlayer::supportsMIMEType):
+ (WebCore::CDMPrivateMediaPlayer::createSession):
+ * Modules/encryptedmedia/CDMPrivateMediaPlayer.h: Renamed from Source/WebCore/Modules/encryptedmedia/CDMPrivateAVFoundation.h.
+ (WebCore::CDMPrivateMediaPlayer::create):
+ (WebCore::CDMPrivateMediaPlayer::~CDMPrivateMediaPlayer):
+ (WebCore::CDMPrivateMediaPlayer::cdm):
+ (WebCore::CDMPrivateMediaPlayer::CDMPrivateMediaPlayer):
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/graphics/CDMSession.h: Extracted from CDMPrivateAVFoundation.h.
+ (WebCore::CDMSessionClient::~CDMSessionClient):
+ (WebCore::CDMSession::CDMSession):
+ (WebCore::CDMSession::~CDMSession):
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::createSession):
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
+ (WebCore::MediaPlayerPrivateInterface::createSession):
+ * platform/graphics/avfoundation/objc/CDMSessionAVFoundationObjC.h: Renamed from Source/WebCore/Modules/encryptedmedia/CDMPrivateAVFoundation.h.
+ (WebCore::CDMSessionAVFoundationObjC::~CDMSessionAVFoundationObjC):
+ * platform/graphics/avfoundation/objc/CDMSessionAVFoundationObjC.mm: Renamed from Source/WebCore/Modules/encryptedmedia/CDMPrivateAVFoundation.mm.
+ (WebCore::CDMSessionAVFoundationObjC::CDMSessionAVFoundationObjC):
+ (WebCore::CDMSessionAVFoundationObjC::generateKeyRequest):
+ (WebCore::CDMSessionAVFoundationObjC::releaseKeys):
+ (WebCore::CDMSessionAVFoundationObjC::update):
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createSession):
+ * testing/MockCDM.cpp:
+ (WebCore::MockCDMSession::setClient):
+ (WebCore::MockCDM::createSession):
+ * testing/MockCDM.h:
</ins><span class="cx">
</span><del>- Remove isPluginElement hack in Document::setFocusedNode()
- <http://webkit.org/b/115171>
</del><ins>+2014-02-21 Jer Noble <jer.noble@apple.com>
</ins><span class="cx">
</span><del>- From Blink r148800 by <tkent@chromium.org>:
</del><ins>+ Add a supportsKeySystem media engine factory parameter.
+ https://bugs.webkit.org/show_bug.cgi?id=129161
</ins><span class="cx">
</span><del>- This hack is no longer necessary because r147591 made isFocusable for plugin
- elements work correctly.
</del><ins>+ Reviewed by Eric Carlson.
</ins><span class="cx">
</span><del>- * dom/Document.cpp:
- (WebCore::Document::setFocusedNode):
</del><ins>+ Add a new parameter to the MediaPlayerFactory to allow registered media
+ engines to be queried for keySystem support:
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayerFactory::MediaPlayerFactory):
+ (WebCore::MediaPlayer::supportsKeySystem):
+ * platform/graphics/MediaPlayer.h:
</ins><span class="cx">
</span><del>-2013-04-25 Per-Erik Brodin <per-erik.brodin@ericsson.com>
</del><ins>+ Support this new field in MediaPlayerPrivateAVFoundationObjC:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::registerMediaEngine):
+ (WebCore::keySystemIsSupported):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::supportsKeySystem):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForLoadingOfResource):
</ins><span class="cx">
</span><del>- EventSource: Synchronous loader callback not handled properly
- https://bugs.webkit.org/show_bug.cgi?id=115104
</del><ins>+ Add an empty field for SupportsKeySystem to the remaining media engines:
+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundationCF::registerMediaEngine):
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::registerMediaEngine):
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::registerMediaEngine):
+ * platform/graphics/ios/MediaPlayerPrivateIOS.mm:
+ (WebCore::MediaPlayerPrivateIOS::registerMediaEngine):
+ * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
+ (WebCore::MediaPlayerPrivateQTKit::registerMediaEngine):
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
+ (WebCore::MediaPlayerPrivateQuickTimeVisualContext::registerMediaEngine):
+ * platform/mock/mediasource/MockMediaPlayerMediaSource.cpp:
+ (WebCore::MockMediaPlayerMediaSource::registerMediaEngine):
</ins><span class="cx">
</span><del>- When attempting a cross-origin request towards a non-HTTP URL, an early verification
- of the protocol scheme will cause didFailAccessControlCheck to be called synchronously
- before the loader has even finished being created. This special case was not handled
- properly, since we tried to cancel a non-existing loader, which resulted in a crash.
- In addition to checking whether a request is in flight before trying to cancel it,
- this change also schedules the initial creation of the loader to happen asynchronously
- when an EventSource is constructed, so that a script can register for the error event
- before it is dispatched (as a result of passing a non-HTTP URL to the constructor).
</del><ins>+2014-02-21 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ Fix WebCore's internals after r164505
</ins><span class="cx">
</span><del>- Test: http/tests/eventsource/eventsource-cors-non-http.html
</del><ins>+ * testing/Internals.cpp:
+ (WebCore::Internals::findEditingDeleteButton): The call became ambiguous after r164505.
</ins><span class="cx">
</span><del>- * page/EventSource.cpp:
- (WebCore::EventSource::EventSource):
- (WebCore::EventSource::create):
- (WebCore::EventSource::scheduleInitialConnect):
- (WebCore):
- (WebCore::EventSource::scheduleReconnect):
- (WebCore::EventSource::connectTimerFired):
- (WebCore::EventSource::close):
- (WebCore::EventSource::abortConnectionAttempt):
- * page/EventSource.h:
- (EventSource):
</del><ins>+2014-02-21 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>-2013-04-25 Patrick Gansterer <paroga@webkit.org>
</del><ins>+ Web Inspector: JSContext inspection should report exceptions in the console
+ https://bugs.webkit.org/show_bug.cgi?id=128776
</ins><span class="cx">
</span><del>- Unreviewed WinCE build fix after r148545.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- * page/wince/FrameWinCE.cpp:
</del><ins>+ Include some clean up of ConsoleMessage and ScriptCallStack construction.
</ins><span class="cx">
</span><del>-2013-04-24 Kent Tamura <tkent@chromium.org>
</del><ins>+ Covered by existing tests.
</ins><span class="cx">
</span><del>- Back references don't work in pattern attribute
- https://bugs.webkit.org/show_bug.cgi?id=105875
</del><ins>+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::reportException):
+ Simplify code now that createStackTraceFromException handles it.
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ * page/ContentSecurityPolicy.cpp:
+ (WebCore::gatherSecurityPolicyViolationEventData):
+ (WebCore::ContentSecurityPolicy::reportViolation):
+ ScriptCallStack can give us the first non-native callframe.
</ins><span class="cx">
</span><del>- This imports a part of Blink r148951.
</del><ins>+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::InspectorResourceAgent::buildInitiatorObject):
+ * inspector/PageDebuggerAgent.cpp:
+ (WebCore::PageDebuggerAgent::breakpointActionLog):
+ * inspector/TimelineRecordFactory.cpp:
+ (WebCore::TimelineRecordFactory::createGenericRecord):
+ * page/Console.cpp:
+ (WebCore::internalAddMessage):
+ (WebCore::Console::profile):
+ (WebCore::Console::profileEnd):
+ (WebCore::Console::timeEnd):
+ * page/ContentSecurityPolicy.cpp:
+ (WebCore::gatherSecurityPolicyViolationEventData):
+ (WebCore::ContentSecurityPolicy::reportViolation):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::postMessage):
</ins><span class="cx">
</span><del>- Tests: Update fast/forms/ValidityState-patternMismatch.html
</del><ins>+2014-02-21 Benjamin Poulain <benjamin@webkit.org>
</ins><span class="cx">
</span><del>- * html/BaseTextInputType.cpp:
- (WebCore::BaseTextInputType::patternMismatch):
- Don't use capturing parentheses. They affected back references in
- pattern attribute values.
</del><ins>+ jsDocumentPrototypeFunctionGetElementById should not create an AtomicString for the function argument
+ https://bugs.webkit.org/show_bug.cgi?id=128893
</ins><span class="cx">
</span><del>-2013-04-24 Tim Horton <timothy_horton@apple.com>
</del><ins>+ Reviewed by Darin Adler.
</ins><span class="cx">
</span><del>- PDFPlugin: Cursor should become an i-beam when over selectable text
- https://bugs.webkit.org/show_bug.cgi?id=115018
- <rdar://problem/12645012>
</del><ins>+ The declaration of TreeScope::getElementById() was taking an AtomicString as the parameter.
+ Because of this, all the call sites manipulating String were creating and keeping alive an AtomicString
+ to make the call.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ This had two negative consequences:
+ -The call sites were ref-ing the ID's atomic string for no reason.
+ -When there is no ID associated with the input string, an atomic string was created for the sole
+ purpose of failing the query. Since IDs are stored as AtomicString, if there is not an existing
+ AtomicString for the input, there is no reason to query anything.
</ins><span class="cx">
</span><del>- * WebCore.exp.in: Export the I-beam and arrow cursors.
</del><ins>+ * WebCore.exp.in:
+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::findAtomicString): Update this after the rename.
</ins><span class="cx">
</span><del>-2013-04-24 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ * bindings/scripts/CodeGeneratorObjC.pm:
+ (GenerateImplementation):
+ * bindings/scripts/IDLAttributes.txt:
+ Now that there are two overloads for TreeScope::getElementById(), the conversion from NSString*
+ is ambiguous. I add the keyword ObjCExplicitAtomicString to force an explicit conversion to AtomicString.
</ins><span class="cx">
</span><del>- Garbage at the top of http://www.technologyreview.com after scrolling
- https://bugs.webkit.org/show_bug.cgi?id=114825
</del><ins>+ * dom/Document.idl:
+ * dom/TreeScope.cpp:
+ (WebCore::TreeScope::getElementById):
+ When getting an AtomicString, the case of a empty string is not important, use isNull() instead.
+ When getting a String, get the corresponding AtomicString if any and use that for getting the element.
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ * dom/TreeScope.h:
+ * html/FTPDirectoryDocument.cpp:
+ (WebCore::FTPDirectoryDocumentParser::loadDocumentTemplate):
+ Solve the ambiguous call.
</ins><span class="cx">
</span><del>- Garbage pixels are caused by GraphicsLayerCA setting a layer to be opaque,
- but then not painting anything into it. On this page, the element is
- toggled to be visibility:hidden on scrolling, but RenderLayer::backgroundIsKnownToBeOpaqueInRect()
- failed to consider that as something that can cause backgrounds not to be opaque.
-
- For the bug to happen, some subtle interactions with r142012 come into play
- for the layer to remain visible, hence the slightly complex testcase.
-
- Test: compositing/contents-opaque/visibility-hidden.html
</del><ins>+ * svg/SVGAElement.cpp:
+ (WebCore::SVGAElement::defaultEventHandler):
+ This is a wonderful candidate for substringSharingImpl. The substring does not survive the call since
+ the new getElementById never create any AtomicString.
</ins><span class="cx">
</span><del>- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::backgroundIsKnownToBeOpaqueInRect):
</del><ins>+ * svg/SVGSVGElement.cpp:
+ (WebCore::SVGSVGElement::getElementById):
+ It looks like there are opportunities to get faster here, Ryosuke should have a look.
</ins><span class="cx">
</span><del>-2013-04-24 Simon Fraser <simon.fraser@apple.com>
</del><ins>+ * svg/SVGSVGElement.h:
+ * xml/XMLTreeViewer.cpp:
+ (WebCore::XMLTreeViewer::transformDocumentToTreeView):
+ Unrelated cleanup: noStyleMessage was useless.
</ins><span class="cx">
</span><del>- Dump layer opaqueness in the Compositing log output
- https://bugs.webkit.org/show_bug.cgi?id=115132
</del><ins>+2014-02-21 Daniel Bates <dabates@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Tim Horton.
</del><ins>+ COL element in table has 0 for offsetWidth
+ https://bugs.webkit.org/show_bug.cgi?id=15277
</ins><span class="cx">
</span><del>- It's useful to see whether we consider layers to be opaque in the Compositing
- log channel output, so dump it.
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::logLayerInfo):
</del><ins>+ Implements offset{Left, Top, Width, Height} for table columns and column groups
+ per section Extensions to the HTMLElement Interface of the CSSOM View spec,
+ <http://www.w3.org/TR/cssom-view/#extensions-to-the-htmlelement-interface> (Draft 17 December 2013).
</ins><span class="cx">
</span><del>-2013-04-24 Seokju Kwon <seokju.kwon@gmail.com>
</del><ins>+ For now, we fail almost all of the offset{Height, Top} sub-tests in the included test
+ for the separate border model as we need to fix <https://bugs.webkit.org/show_bug.cgi?id=128988>.
</ins><span class="cx">
</span><del>- Add efl to JSInspectorFrontendHost::port()
- https://bugs.webkit.org/show_bug.cgi?id=115137
</del><ins>+ Test: fast/table/col-and-colgroup-offsets.html
</ins><span class="cx">
</span><del>- Reviewed by Timothy Hatcher.
</del><ins>+ * rendering/RenderTable.cpp:
+ (WebCore::RenderTable::RenderTable): Initialize cached column offset top and offset height.
+ We cache these offsets since they are the same for all columns in the table.
+ (WebCore::RenderTable::invalidateCachedColumns): Clear cached effective column index map.
+ (WebCore::RenderTable::invalidateCachedColumnOffsets): Added.
+ (WebCore::RenderTable::layout): Invalidate cached column offsets as the location or height
+ of one or more sections may have changed.
+ (WebCore::RenderTable::updateColumnCache): Modified to build effective column index map.
+ (WebCore::RenderTable::effectiveIndexOfColumn): Added.
+ (WebCore::RenderTable::offsetTopForColumn): Added.
+ (WebCore::RenderTable::offsetLeftForColumn): Added.
+ (WebCore::RenderTable::offsetWidthForColumn): Added.
+ (WebCore::RenderTable::offsetHeightForColumn): Added.
+ * rendering/RenderTable.h: Make isTableColumnGroupWithColumnChildren() const.
+ * rendering/RenderTableCol.cpp:
+ (WebCore::RenderTableCol::offsetLeft): Added; turns around and calls RenderTable::offsetLeftForColumn().
+ (WebCore::RenderTableCol::offsetTop): Added; turns around and calls RenderTable::offsetTopForColumn().
+ (WebCore::RenderTableCol::offsetWidth): Added; turns around and calls RenderTable::offsetWidthForColumn().
+ (WebCore::RenderTableCol::offsetHeight): Added; turns around and calls RenderTable::offsetHeightForColumn().
+ * rendering/RenderTableCol.h:
</ins><span class="cx">
</span><del>- No new tests, because there is no change in behavior.
</del><ins>+2014-02-21 Enrica Casucci <enrica@apple.com>
</ins><span class="cx">
</span><del>- * bindings/js/JSInspectorFrontendHostCustom.cpp:
- (WebCore::JSInspectorFrontendHost::port):
</del><ins>+ Build fix for iOS after r164498.
</ins><span class="cx">
</span><del>-2013-04-24 Kangil Han <kangil.han@samsung.com>
</del><ins>+ Unreviewed.
</ins><span class="cx">
</span><del>- Function parameter quotePair can be passed by reference
- https://bugs.webkit.org/show_bug.cgi?id=115089
</del><ins>+ * platform/graphics/ios/MediaPlayerPrivateIOS.mm:
+ (WebCore::MediaPlayerPrivateIOS::buffered):
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+2014-02-21 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Minor performance patch.
</del><ins>+ Disallow the use of -webkit-user-modify on shadow pseudo elements
+ https://bugs.webkit.org/show_bug.cgi?id=129144
</ins><span class="cx">
</span><del>- * rendering/style/QuotesData.cpp:
- (WebCore::QuotesData::addPair):
- * rendering/style/QuotesData.h:
- (QuotesData):
</del><ins>+ Reviewed by Geoffrey Garen.
</ins><span class="cx">
</span><del>-2013-04-24 Brady Eidson <beidson@apple.com>
</del><ins>+ Completely disallow -webkit-user-modify on user agent (builtin) pseudo elements.
</ins><span class="cx">
</span><del>- Implementors of CachedResource subclasses should be forced to decide if encoded data can be replaced.
- https://bugs.webkit.org/show_bug.cgi?id=115140
</del><ins>+ We've already had rules to do this in html.css but just hard code it into the engine
+ in order to eliminate the all uses of -webkit-user-modify in html.css.
</ins><span class="cx">
</span><del>- Reviewed by Beth Dakin.
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::adjustRenderStyle):
+ * css/html.css:
+ (input::-webkit-textfield-decoration-container):
+ (input::-webkit-clear-button):
+ (input[type="search"]::-webkit-search-cancel-button):
+ (input[type="search"]::-webkit-search-decoration):
+ (input[type="search"]::-webkit-search-results-decoration):
+ (input[type="search"]::-webkit-search-results-button):
+ (input::-webkit-inner-spin-button):
+ (input::-webkit-input-speech-button):
+ (input::-webkit-input-placeholder, isindex::-webkit-input-placeholder):
+ (input[type="file"]::-webkit-file-upload-button):
+ (input[type="range"]::-webkit-slider-container, input[type="range"]::-webkit-media-slider-container):
+ (input[type="range"]::-webkit-slider-runnable-track):
+ (input[type="range"]::-webkit-slider-thumb, input[type="range"]::-webkit-media-slider-thumb):
+ (input[type="color"]::-webkit-color-swatch-wrapper):
+ (input[type="color"]::-webkit-color-swatch):
+ (::-webkit-validation-bubble):
+ (::-webkit-validation-bubble-message):
+ (::-webkit-validation-bubble-text-block):
+ (::-webkit-validation-bubble-heading):
+ (::-webkit-validation-bubble-arrow):
+ (::-webkit-validation-bubble-arrow-clipper):
+ (meter::-webkit-meter-inner-element):
+ (meter::-webkit-meter-bar):
+ (meter::-webkit-meter-optimum-value):
+ (meter::-webkit-meter-suboptimum-value):
+ (meter::-webkit-meter-even-less-good-value):
+ (progress::-webkit-progress-inner-element):
+ (progress::-webkit-progress-bar):
+ (progress::-webkit-progress-value):
</ins><span class="cx">
</span><del>- No new tests (No behavior change).
</del><ins>+2014-02-21 Eric Carlson <eric.carlson@apple.com>
</ins><span class="cx">
</span><del>- This makes mayTryReplaceEncodedData() return false in CachedResource, but overrides to true
- in all CachedResource subclasses besides CachedFont (which already has an implementation).
</del><ins>+ Fix TimeRanges layering violations
+ https://bugs.webkit.org/show_bug.cgi?id=128717
</ins><span class="cx">
</span><del>- * loader/cache/CachedCSSStyleSheet.h:
- * loader/cache/CachedImage.h:
- * loader/cache/CachedRawResource.h:
- * loader/cache/CachedResource.h:
- * loader/cache/CachedSVGDocument.h:
- * loader/cache/CachedScript.h:
- * loader/cache/CachedShader.h:
- * loader/cache/CachedTextTrack.h:
- * loader/cache/CachedXSLStyleSheet.h:
</del><ins>+ Reviewed by Jer Noble.
</ins><span class="cx">
</span><del>-2013-04-24 Brady Eidson <beidson@apple.com>
</del><ins>+ No new tests, no functionality changed.
</ins><span class="cx">
</span><del>- Once a custom font is cached to disk, it starts failing to render until the page is refreshed.
- <rdar://problem/13622998> and https://bugs.webkit.org/show_bug.cgi?id=115131
</del><ins>+ * CMakeLists.txt:
+ * GNUmakefile.list.am: Add PlatformTimeRanges.
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+ * Modules/mediasource/MediaSource.cpp:
+ (WebCore::MediaSource::buffered): TimeRanges -> PlatformTimeRanges.
+ * Modules/mediasource/MediaSource.h:
</ins><span class="cx">
</span><del>- No new tests (Not a tested config, nor are disk cache issues currently testable).
</del><ins>+ * Modules/mediasource/SourceBuffer.cpp:
+ (WebCore::SourceBuffer::sourceBufferPrivateDidReceiveSample): TimeRanges* -> TimeRanges&.
</ins><span class="cx">
</span><del>- * loader/cache/CachedResource.h:
- (WebCore::CachedResource:: mayTryReplaceEncodedData): Allow subclasses to refuse encoded data replacement.
</del><ins>+ * WebCore.exp.in: Update for signature changes.
</ins><span class="cx">
</span><del>- * loader/cache/CachedResource.cpp:
- (WebCore::CachedResource::tryReplaceEncodedData): Only try if shouldTryReplaceEncodedData() is true.
</del><ins>+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj: Add PlatformTimeRanges.
</ins><span class="cx">
</span><del>- * loader/cache/CachedFont.cpp:
- (WebCore::CachedFont::CachedFont):
- (WebCore::CachedFont::ensureCustomFontData):
- (WebCore::CachedFont::mayTryReplaceEncodedData): Return false if the custom font data has ever been created.
- * loader/cache/CachedFont.h:
</del><ins>+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::percentLoaded): Create TimeRanges from PlatformTimeRanges.
+ (WebCore::HTMLMediaElement::buffered): Ditto.
+ (WebCore::HTMLMediaElement::seekable): Ditto.
</ins><span class="cx">
</span><del>-2013-04-24 Beth Dakin <bdakin@apple.com>
</del><ins>+ * html/MediaController.cpp:
+ (MediaController::buffered): TimeRanges* -> TimeRanges&.
+ (MediaController::seekable): Ditto.
+ (MediaController::played): Ditto.
</ins><span class="cx">
</span><del>- Vertical overlay scrollbar in iframes fades in and out rapidly when you scroll in
- a circle
- https://bugs.webkit.org/show_bug.cgi?id=115124
- -and corresponding-
- <rdar://problem/13168957>
</del><ins>+ Move all of the logic into PlatformTimeRanges. Change API to take TimeRanges& instead of TimeRanges*.
+ * html/TimeRanges.cpp:
+ (WebCore::TimeRanges::create): Move to .cpp from .h.
+ (WebCore::TimeRanges::TimeRanges): Initialize the PlatformTimeRanges member variable.
+ (WebCore::TimeRanges::start): Passthrough to PlatformTimeRanges.
+ (WebCore::TimeRanges::end): Ditto.
+ (WebCore::TimeRanges::invert): Ditto.
+ (WebCore::TimeRanges::copy): Ditto.
+ (WebCore::TimeRanges::intersectWith): Ditto.
+ (WebCore::TimeRanges::unionWith): Ditto.
+ (WebCore::TimeRanges::length): Ditto.
+ (WebCore::TimeRanges::add): Ditto.
+ (WebCore::TimeRanges::contain): Ditto.
+ (WebCore::TimeRanges::find): Ditto.
+ (WebCore::TimeRanges::nearest): Ditto.
+ (WebCore::TimeRanges::totalDuration): Ditto.
+ * html/TimeRanges.h:
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::NullMediaPlayerPrivate::buffered): TimeRanges -> PlatformTimeRanges.
+ (WebCore::MediaPlayer::buffered): Ditto.
+ (WebCore::MediaPlayer::seekable): Ditto.
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
</ins><span class="cx">
</span><del>- With http://trac.webkit.org/changeset/119834 we started calling
- ScrollbarPainterController's contentAreaScrolled/contentAreaScrolledInDirection
- API on a zero-delay timer instead of calling it right away. This prevented some
- crashes that we saw whenever this was called during a layout. However, that delay,
- combined with the particulars of contentAreaScrolledInDirection cause this bug
- where sometimes the scrollbars in an iframe will fade out very noticeably when
- scrolling in a circle.
</del><ins>+ * platform/graphics/MediaSourcePrivateClient.h:
</ins><span class="cx">
</span><del>- This change makes it so we will only use the zero-delay timer if the
- ScrollableArea is not currently handling a wheel event. If it IS handling a wheel
- event, then we will send the notifications to AppKit right away. I confirmed that
- this change did not reintroduce the old crashes.
</del><ins>+ * platform/graphics/PlatformTimeRanges.cpp: Added.
+ * platform/graphics/PlatformTimeRanges.h: Added.
</ins><span class="cx">
</span><del>- Keep track of whether we are currently handling a wheel event with the new member
- variable m_isHandlingWheelEvent.
</del><ins>+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundation::buffered): TimeRanges -> PlatformTimeRanges.
+ (WebCore::MediaPlayerPrivateAVFoundation::loadedTimeRangesChanged): Drive-by fix to log
+ FunctionType notifications. ASSERT when passed an unknown notification.
+
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundationCF::platformBufferedTimeRanges): TimeRanges -> PlatformTimeRanges.
+ * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::currentTime): Ditto.
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::platformBufferedTimeRanges): Ditto.
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::seekable): Ditto.
+ (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::buffered): Ditto.
+
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::buffered): Ditto.
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
+
+ * platform/graphics/ios/MediaPlayerPrivateIOS.h:
+ * platform/graphics/ios/MediaPlayerPrivateIOS.mm:
+ (WebCore::MediaPlayerPrivateIOS::buffered): Ditto.
+
+ * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
+ * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
+ (WebCore::MediaPlayerPrivateQTKit::buffered): Ditto.
+
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
+ (WebCore::MediaPlayerPrivateQuickTimeVisualContext::buffered): Ditto.
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
+
+ * platform/graphics/wince/MediaPlayerPrivateWinCE.h:
+
+ * platform/mock/mediasource/MockMediaPlayerMediaSource.cpp:
+ (WebCore::MockMediaPlayerMediaSource::buffered): Ditto.
+ (WebCore::MockMediaPlayerMediaSource::advanceCurrentTime): Ditto.
+ * platform/mock/mediasource/MockMediaPlayerMediaSource.h:
+
+2014-02-21 Enrica Casucci <enrica@apple.com>
+
+ Support WebSelections in WK2 on iOS.
+ https://bugs.webkit.org/show_bug.cgi?id=127015
+ <rdar://problem/15211964>
+
+ Reviewed by Benjamin Poulain.
+
+ Adding some exports.
+
+ * WebCore.exp.in:
+
+2014-02-21 Benjamin Poulain <bpoulain@apple.com>
+
+ 'mouseenter' mouse compat event not fired when listeners for touch events
+ https://bugs.webkit.org/show_bug.cgi?id=128534
+
+ Reviewed by Andreas Kling.
+
+ The code dispatching mouseenter and mouseleave events was making the assumption that
+ only mouse move would cause Document::updateHoverActiveState.
+
+ This is not true in some cases. In the case of this bug, the first touch handler sets
+ the hover state. From there, the code handling enter/leave is in an inconsistent state.
+
+ This patch changes the delivery of mouse enter/leave events to be done through the regular
+ processing of mouse events. The update is done with the mouseover and mouseout events.
+
+ * dom/Document.cpp:
+ (WebCore::Document::prepareMouseEvent):
+ (WebCore::Document::updateHoverActiveState):
+ * dom/Document.h:
</ins><span class="cx"> * page/EventHandler.cpp:
</span><del>- (WebCore::EventHandler::EventHandler):
- (WebCore::EventHandler::handleWheelEvent):
- * page/EventHandler.h:
- (WebCore::EventHandler::isHandlingWheelEvent):
- (EventHandler):
</del><ins>+ (WebCore::nearestCommonHoverAncestor):
+ (WebCore::hierarchyHasCapturingEventListeners):
+ (WebCore::EventHandler::updateMouseEventTargetNode):
</ins><span class="cx">
</span><del>- To prevent layering violations, the ScrollableArea sub-classes will have to access
- this information from the EventHandler.
- * page/FrameView.cpp:
- (WebCore::FrameView::isHandlingWheelEvent):
- * page/FrameView.h:
- * platform/ScrollableArea.h:
- (WebCore::ScrollableArea::isHandlingWheelEvent):
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::isHandlingWheelEvent):
- * rendering/RenderLayer.h:
- (RenderLayer):
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::isHandlingWheelEvent):
- * rendering/RenderListBox.h:
</del><ins>+2014-02-21 Jon Honeycutt <jhoneycutt@apple.com>
</ins><span class="cx">
</span><del>- sendContentAreaScrolledSoon() can be private. Also add new function
- sendContentAreaScrolled().
- * platform/mac/ScrollAnimatorMac.h:
- (ScrollAnimatorMac):
</del><ins>+ Crash reloading page with position: fixed content
+ https://bugs.webkit.org/show_bug.cgi?id=129119
+ <rdar://problem/16127090>
</ins><span class="cx">
</span><del>- If the ScrollableArea is handling a wheel event, call
- sendContentAreaScrolled(), otherwise call sendContentAreaScrolledSoon()
- * platform/mac/ScrollAnimatorMac.mm:
- (WebCore::ScrollAnimatorMac::notifyContentAreaScrolled):
- (WebCore::ScrollAnimatorMac::sendContentAreaScrolled):
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- Re-factored to use sendContentAreaScrolled()
- (WebCore::ScrollAnimatorMac::sendContentAreaScrolledTimerFired):
</del><ins>+ Test: platform/mac-wk2/tiled-drawing/crash-reloading-with-position-fixed-content.html
</ins><span class="cx">
</span><del>-2013-04-24 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::removeDestroyedNodes):
+ Check the node's ID against the latched node's ID before the node is
+ removed from the tree.
</ins><span class="cx">
</span><del>- Fix a merge error in r149007 (was missing a null check added in r148777).
</del><ins>+2014-02-21 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>- * rendering/LogicalSelectionOffsetCaches.h:
- (WebCore::containingBlockForAbsolutePosition):
</del><ins>+ Revert r164486, causing a number of test failures.
</ins><span class="cx">
</span><del>-2013-04-24 Otto Derek Cheung <otcheung@rim.com>
</del><ins>+ Unreviewed rollout.
</ins><span class="cx">
</span><del>- Battery API won't return updated battery status until client calls didChangeBatteryStatus
- https://bugs.webkit.org/show_bug.cgi?id=114891
</del><ins>+2014-02-21 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis.
</del><ins>+ StyleResolver::loadPendingImage() should take a reference to StylePendingImage
+ <http://webkit.org/b/129021>
</ins><span class="cx">
</span><del>- The BatteryStatus object in BatteryManager won't get updated until BatteryClient calls
- didChangeBatteryStatus in BatteryController. Any attempts to call webkitBattery.charged()
- or other get functions will always return the default values until the next battery status
- change object gets passed to the controller.
</del><ins>+ Reviewed by Brent Fulgham.
</ins><span class="cx">
</span><del>- We need to update the manager when we attach it to the controller, and update all
- existing managers when the controller receives it's first battery status object.
</del><ins>+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::loadPendingImage): Change pendingImage
+ parameter to a reference.
+ (WebCore::StyleResolver::loadPendingShapeImage): Update to use
+ references.
+ (WebCore::StyleResolver::loadPendingImages): Ditto.
+ * css/StyleResolver.h:
+ (WebCore::StyleResolver::loadPendingImage): Change pendingImage
+ parameter to a reference.
</ins><span class="cx">
</span><del>- * Modules/battery/BatteryController.cpp:
- (WebCore::BatteryController::addListener):
- (WebCore::BatteryController::updateBatteryStatus):
- * Modules/battery/BatteryManager.cpp:
- (WebCore::BatteryManager::didChangeBatteryStatus):
- (WebCore::BatteryManager::updateBatteryStatus):
- (WebCore):
- * Modules/battery/BatteryManager.h:
- (BatteryManager):
</del><ins>+2014-02-21 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>-2013-04-24 Jacky Jiang <zhajiang@blackberry.com>
</del><ins>+ Web Inspector: JSContext inspection should report exceptions in the console
+ https://bugs.webkit.org/show_bug.cgi?id=128776
</ins><span class="cx">
</span><del>- Clean up unused code in ViewportArguments.h
- https://bugs.webkit.org/show_bug.cgi?id=115121
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Include some clean up of ConsoleMessage and ScriptCallStack construction.
</ins><span class="cx">
</span><del>- The target-densityDPI emulation implementation has been removed by
- r147893, so clean up the remaining code as well.
</del><ins>+ Covered by existing tests.
</ins><span class="cx">
</span><del>- * dom/ViewportArguments.h:
</del><ins>+ * bindings/js/JSDOMBinding.cpp:
+ (WebCore::reportException):
+ Simplify code now that createStackTraceFromException handles it.
</ins><span class="cx">
</span><del>-2013-04-24 Andreas Kling <akling@apple.com>
</del><ins>+ * page/ContentSecurityPolicy.cpp:
+ (WebCore::gatherSecurityPolicyViolationEventData):
+ (WebCore::ContentSecurityPolicy::reportViolation):
+ ScriptCallStack can give us the first non-native callframe.
</ins><span class="cx">
</span><del>- ElementData should use 'unsigned' attribute indices.
- <http://webkit.org/b/115103>
</del><ins>+ * inspector/InspectorResourceAgent.cpp:
+ (WebCore::InspectorResourceAgent::buildInitiatorObject):
+ * inspector/PageDebuggerAgent.cpp:
+ (WebCore::PageDebuggerAgent::breakpointActionLog):
+ * inspector/TimelineRecordFactory.cpp:
+ (WebCore::TimelineRecordFactory::createGenericRecord):
+ * page/Console.cpp:
+ (WebCore::internalAddMessage):
+ (WebCore::Console::profile):
+ (WebCore::Console::profileEnd):
+ (WebCore::Console::timeEnd):
+ * page/ContentSecurityPolicy.cpp:
+ (WebCore::gatherSecurityPolicyViolationEventData):
+ (WebCore::ContentSecurityPolicy::reportViolation):
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::postMessage):
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+2014-02-21 Martin Hodovan <mhodovan@inf.u-szeged.hu>
</ins><span class="cx">
</span><del>- Switch to using 'unsigned' for attribute indices. This gives consistent behavior
- on 32/64-bit, and the underlying storage is already limited by Vector's 32-bit capacity.
</del><ins>+ Fixing the !ENABLE(SVG_FONTS) build
+ https://bugs.webkit.org/show_bug.cgi?id=129150
</ins><span class="cx">
</span><del>- Added an ElementData::attributeNotFound constant (-1) since we can't use WTF::notFound.
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::detachAttribute):
- (WebCore::Element::removeAttribute):
- (WebCore::Element::setAttribute):
- (WebCore::Element::setSynchronizedLazyAttribute):
- (WebCore::Element::setAttributeInternal):
- (WebCore::Element::setAttributeNode):
- (WebCore::Element::removeAttributeNode):
- (WebCore::Element::removeAttributeInternal):
- (WebCore::UniqueElementData::removeAttribute):
- (WebCore::ElementData::getAttributeItemIndexSlowCase):
- * dom/Element.h:
- (ElementData):
- (UniqueElementData):
- (Element):
- (WebCore::Element::getAttributeItemIndex):
- (WebCore::Element::attributeCount):
- (WebCore::ElementData::length):
- (WebCore::ElementData::getAttributeItem):
- (WebCore::ElementData::getAttributeItemIndex):
- * dom/NamedNodeMap.cpp:
- (WebCore::NamedNodeMap::removeNamedItem):
- (WebCore::NamedNodeMap::removeNamedItemNS):
- (WebCore::NamedNodeMap::length):
- * dom/NamedNodeMap.h:
- (NamedNodeMap):
</del><ins>+ No new tests required.
</ins><span class="cx">
</span><del>-2013-04-24 Andreas Kling <akling@apple.com>
</del><ins>+ * svg/SVGAltGlyphElement.cpp:
+ * svg/SVGAltGlyphElement.h:
+ * svg/svgtags.in:
</ins><span class="cx">
</span><del>- ElementData::attributeItem() should bounds-check the index.
- <http://webkit.org/b/115076>
</del><ins>+2014-02-21 Radu Stavila <stavila@adobe.com>
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ [CSS Regions] Use the named-flow-specific object RenderNamedFlowFragment instead of the generic RenderRegion whenever possible
+ https://bugs.webkit.org/show_bug.cgi?id=128599
</ins><span class="cx">
</span><del>- Switch the ASSERT_WITH_SECURITY_IMPLICATION to a RELEASE_ASSERT.
</del><ins>+ Reviewed by Andrei Bucur.
</ins><span class="cx">
</span><ins>+ Use the named flow specific RenderNamedFlowFragment instead of the generic RenderRegion, whenever possible.
+ Move named flow specific methods from RenderRegion to RenderNamedFlowFragment.
+
+ No new tests required.
+
+ * dom/Element.cpp:
+ (WebCore::Element::renderNamedFlowFragment):
+ (WebCore::Element::webkitRegionOverset):
+ (WebCore::Element::webkitGetRegionFlowRanges):
</ins><span class="cx"> * dom/Element.h:
</span><del>- (WebCore::ElementData::attributeItem):
</del><ins>+ * inspector/InspectorCSSAgent.cpp:
+ (WebCore::InspectorCSSAgent::buildArrayForRegions):
+ * rendering/PaintInfo.h:
+ (WebCore::PaintInfo::PaintInfo):
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::paint):
+ (WebCore::RenderBlock::paintObject):
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::paintBoxDecorations):
+ (WebCore::RenderBox::pushContentsClip):
+ (WebCore::RenderBox::layoutOverflowRectForPropagation):
+ * rendering/RenderBox.h:
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintMaskForTextFillBox):
+ (WebCore::RenderBoxModelObject::paintFillLayerExtended):
+ * rendering/RenderBoxModelObject.h:
+ * rendering/RenderInline.h:
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paint):
+ (WebCore::RenderLayer::paintLayer):
+ (WebCore::RenderLayer::paintLayerContents):
+ (WebCore::RenderLayer::paintLayerByApplyingTransform):
+ (WebCore::RenderLayer::updatePaintingInfoForFragments):
+ (WebCore::RenderLayer::paintTransformedLayerIntoFragments):
+ (WebCore::RenderLayer::paintBackgroundForFragments):
+ (WebCore::RenderLayer::paintForegroundForFragmentsWithPhase):
+ (WebCore::RenderLayer::paintOutlineForFragments):
+ (WebCore::RenderLayer::paintMaskForFragments):
+ (WebCore::RenderLayer::mapLayerClipRectsToFragmentationLayer):
+ (WebCore::RenderLayer::calculateClipRects):
+ * rendering/RenderLayer.h:
+ * rendering/RenderNamedFlowFragment.cpp:
+ (WebCore::RenderNamedFlowFragment::getRanges):
+ * rendering/RenderNamedFlowFragment.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::updateWritingMode):
+ (WebCore::compareRenderNamedFlowFragments):
+ (WebCore::addFragmentToList):
+ (WebCore::RenderNamedFlowThread::addFragmentToNamedFlowThread):
+ (WebCore::RenderNamedFlowThread::addRegionToThread):
+ (WebCore::RenderNamedFlowThread::removeRegionFromThread):
+ (WebCore::RenderNamedFlowThread::computeOversetStateForRegions):
+ (WebCore::RenderNamedFlowThread::checkInvalidRegions):
+ (WebCore::RenderNamedFlowThread::getRanges):
+ (WebCore::RenderNamedFlowThread::checkRegionsWithStyling):
+ (WebCore::RenderNamedFlowThread::clearRenderObjectCustomStyle):
+ * rendering/RenderNamedFlowThread.h:
+ * rendering/RenderRegion.cpp:
+ * rendering/RenderRegion.h:
+ * rendering/RenderReplaced.cpp:
+ (WebCore::RenderReplaced::shouldPaint):
+ * rendering/RenderReplica.cpp:
+ (WebCore::RenderReplica::paint):
+ * rendering/RootInlineBox.cpp:
+ (WebCore::RootInlineBox::paint):
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::paintReplaced):
</ins><span class="cx">
</span><del>-2013-04-23 Andreas Kling <akling@apple.com>
</del><ins>+2014-02-21 Andrei Bucur <abucur@adobe.com>
</ins><span class="cx">
</span><del>- Setting an inline style property to "" shouldn't cause style recalc unless the property was present.
- <http://webkit.org/b/115122>
</del><ins>+ [CSS Regions] Regions don't paint correctly in new-multicol elements
+ https://bugs.webkit.org/show_bug.cgi?id=120711
</ins><span class="cx">
</span><del>- Reviewed by Antti Koivisto.
</del><ins>+ Reviewed by David Hyatt.
</ins><span class="cx">
</span><del>- StylePropertySet::setProperty() handles empty strings by removing the property entirely.
- If there was no property to remove, it shouldn't claim that it changed something, as that
- will cause the CSSOM wrapper to mark the element for style recalc.
</del><ins>+ This patch implements basic support for regions inside multi-column elements.
+ Currently, the painting and hit-testing logic of CSS Regions is not aware of
+ enclosing multi-column elements. The change is integrated at a layer level by
+ making use of the pre-computed layer fragments during the painting and hit-testing
+ phases for regions.
</ins><span class="cx">
</span><del>- A common idiom that triggers this is excessive use of { element.style.display = ''; }
</del><ins>+ There are limitations such that self painting layers found inside the named flow
+ thread layer will not be correctly processed because they don't go through the
+ layer fragment collection step. This is not trivial to implement because the enclosing
+ pagination layer provided by the multi-column element is not visibile from inside
+ the named flow thread layer and they reside in different coordinate systems.
</ins><span class="cx">
</span><del>- * css/StylePropertySet.cpp:
- (WebCore::MutableStylePropertySet::setProperty):
</del><ins>+ A side effect of this patch is the fix of regions incorrect clipping in certain
+ cases (when both a region and its container clip their overflow, the region's
+ content is visible outside the container).
</ins><span class="cx">
</span><del>-2013-04-23 Ryosuke Niwa <rniwa@webkit.org>
</del><ins>+ Tests: fast/regions/region-clipping.html
+ fast/regions/regions-in-multicol-bt.html
+ fast/regions/regions-in-multicol-hover-overflow.html
+ fast/regions/regions-in-multicol-hover.html
+ fast/regions/regions-in-multicol-lr.html
+ fast/regions/regions-in-multicol-rl.html
+ fast/regions/regions-in-multicol.html
</ins><span class="cx">
</span><del>- Moving word boundaries backwards fails when there is a text node starting with an apostrophe
- https://bugs.webkit.org/show_bug.cgi?id=115070
</del><ins>+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paintLayerContents):
+ (WebCore::RenderLayer::hitTestLayer):
+ (WebCore::RenderLayer::paintFlowThreadIfRegionForFragments):
+ (WebCore::RenderLayer::hitTestFlowThreadIfRegionForFragments):
+ * rendering/RenderLayer.h:
</ins><span class="cx">
</span><del>- Reviewed by Alexey Proskuryakov.
</del><ins>+2014-02-21 Mihai Tica <mitica@adobe.com>
</ins><span class="cx">
</span><del>- The bug was caused by previousBoundary erroneously assuming that we don't need any more context if a word
- boundary is found at the beginning of a string. For example, when "I'll" is split into two text nodes,
- "I" and "'ll", there is a word boundary between "'" and "ll" in "'ll" so we need to examine the whole "I'll".
</del><ins>+ [CSS Blending] Refactor -webkit-blend-mode to -webkit-mix-blend-mode
+ https://bugs.webkit.org/show_bug.cgi?id=128805
</ins><span class="cx">
</span><del>- Fixed the bug by obtaining more context when the character starts exactly at offset 1 in a text node to
- work around this bug. In the long term, we probably need to provide Foundation of the entire context since in
- languages like Hebrew and some of European languages, there could be many accents and combining characters
- between split into multiple text nodes as one variant is seen in the newly added test case.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- Test: editing/selection/previous-word-boundary-across-text-nodes.html
</del><ins>+ The spec defines the mix-blend-mode property. This means that the
+ prefixed version should be -webkit-mix-blend-mode, instead of
+ -webkit-blend-mode.
</ins><span class="cx">
</span><del>- * editing/VisibleUnits.cpp:
- (WebCore::previousBoundary):
</del><ins>+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::ComputedStyleExtractor::propertyValue):
+ * css/CSSParser.cpp:
+ (WebCore::isValidKeywordPropertyAndValue):
+ (WebCore::isKeywordPropertyID):
+ (WebCore::CSSParser::parseValue):
+ * css/CSSPropertyNames.in:
+ * css/DeprecatedStyleBuilder.cpp:
+ (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
</ins><span class="cx">
</span><del>-2013-04-24 Benjamin Poulain <bpoulain@apple.com>
</del><ins>+2014-02-21 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Do not use static string in DiagnosticLoggingKeys
- https://bugs.webkit.org/show_bug.cgi?id=115093
</del><ins>+ Bindings tests rebaseline after r164473.
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ * bindings/scripts/test/ObjC/DOMTestObj.mm:
+ (-[DOMTestObj mutablePoint]):
+ (-[DOMTestObj immutablePoint]):
+ (-[DOMTestObj mutablePointFunction]):
+ (-[DOMTestObj immutablePointFunction]):
+ * bindings/scripts/test/ObjC/DOMTestTypedefs.mm:
+ (-[DOMTestTypedefs immutablePointFunction]):
</ins><span class="cx">
</span><del>- The code is not hot enough to justify keeping the memory around.
- This removes 3kb from the binary on x86_64.
</del><ins>+2014-02-21 Tim Horton <timothy_horton@apple.com>
</ins><span class="cx">
</span><del>- * page/DiagnosticLoggingKeys.cpp:
- (WebCore::DiagnosticLoggingKeys::mediaLoadedKey):
- (WebCore::DiagnosticLoggingKeys::mediaLoadingFailedKey):
- (WebCore::DiagnosticLoggingKeys::pluginLoadedKey):
- (WebCore::DiagnosticLoggingKeys::pluginLoadingFailedKey):
- (WebCore::DiagnosticLoggingKeys::pageContainsPluginKey):
- (WebCore::DiagnosticLoggingKeys::pageContainsAtLeastOnePluginKey):
- (WebCore::DiagnosticLoggingKeys::pageContainsMediaEngineKey):
- (WebCore::DiagnosticLoggingKeys::pageContainsAtLeastOneMediaEngineKey):
- (WebCore::DiagnosticLoggingKeys::passKey):
- (WebCore::DiagnosticLoggingKeys::failKey):
- (WebCore::DiagnosticLoggingKeys::noopKey):
- * page/DiagnosticLoggingKeys.h:
- (DiagnosticLoggingKeys):
</del><ins>+ Remove removed symbol from exports list.
</ins><span class="cx">
</span><del>-2013-04-24 Benjamin Poulain <benjamin@webkit.org>
</del><ins>+ * WebCore.exp.in:
</ins><span class="cx">
</span><del>- Remove wxWebKit #ifdefs from WebCore/platform/graphics
- https://bugs.webkit.org/show_bug.cgi?id=115081
</del><ins>+2014-02-20 ChangSeok Oh <changseok.oh@collabora.com>
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Rename EXT_draw_buffers to WEBGL_draw_buffers
+ https://bugs.webkit.org/show_bug.cgi?id=128894
</ins><span class="cx">
</span><del>- * platform/graphics/BitmapImage.h:
- (BitmapImage):
- * platform/graphics/Color.h:
- (Color):
- * platform/graphics/FloatRect.h:
- (FloatRect):
- * platform/graphics/FloatSize.h:
- (FloatSize):
- * platform/graphics/FontPlatformData.h:
- * platform/graphics/GlyphBuffer.h:
- (WebCore):
- (WebCore::GlyphBuffer::glyphAt):
- (WebCore::GlyphBuffer::add):
- * platform/graphics/Gradient.h:
- * platform/graphics/GraphicsContext.h:
- (GraphicsContext):
- * platform/graphics/Image.cpp:
- (WebCore::Image::drawTiled):
- * platform/graphics/ImageBufferData.h:
- * platform/graphics/IntPoint.h:
- (IntPoint):
- * platform/graphics/IntRect.h:
- * platform/graphics/IntSize.h:
- (IntSize):
- * platform/graphics/NativeImagePtr.h:
- (WebCore):
- * platform/graphics/Path.h:
- * platform/graphics/Pattern.h:
- * platform/graphics/SimpleFontData.h:
- (SimpleFontData):
- (WebCore::SimpleFontData::widthForGlyph):
- * platform/graphics/mac/ComplexTextController.cpp:
- (WebCore::ComplexTextController::collectComplexTextRuns):
- * platform/graphics/mac/ComplexTextControllerCoreText.mm:
- (WebCore::ComplexTextController::collectComplexTextRunsForCharacters):
- * platform/graphics/transforms/AffineTransform.h:
- (AffineTransform):
- * platform/graphics/transforms/TransformationMatrix.h:
- (TransformationMatrix):
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>-2013-04-24 Benjamin Poulain <benjamin@webkit.org>
</del><ins>+ I noticed the related spec has changed. Accordingly chromium also changed its implementation
+ to meet the spec. So here I'd like to apply it to webkit as well.
</ins><span class="cx">
</span><del>- Remove wxWebKit #ifdefs from WebCore/plugins
- https://bugs.webkit.org/show_bug.cgi?id=115080
</del><ins>+ Merged from Blink (patch by bajones):
+ https://src.chromium.org/viewvc/blink?revision=152065&view=revision
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Test: fast/canvas/webgl/webgl-draw-buffers.html
</ins><span class="cx">
</span><del>- * plugins/PluginView.h:
- (PluginView):
- * plugins/mac/PluginViewMac.mm:
- (WebCore::nativeWindowFor):
- (WebCore::cgHandleFor):
- (WebCore::topLevelOffsetFor):
- (WebCore::PluginView::platformStart):
- * plugins/win/PluginViewWin.cpp:
- (windowHandleForPageClient):
- (WebCore::PluginView::handleMouseEvent):
- (WebCore::PluginView::platformStart):
- (WebCore::PluginView::snapshot):
</del><ins>+ * CMakeLists.txt:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSWebGLRenderingContextCustom.cpp:
+ (WebCore::toJS):
+ * html/canvas/EXTDrawBuffers.idl: Removed.
+ * html/canvas/WebGLDrawBuffers.cpp: Renamed from Source/WebCore/html/canvas/EXTDrawBuffers.cpp.
+ (WebCore::WebGLDrawBuffers::WebGLDrawBuffers):
+ (WebCore::WebGLDrawBuffers::~WebGLDrawBuffers):
+ (WebCore::WebGLDrawBuffers::getName):
+ (WebCore::WebGLDrawBuffers::create):
+ (WebCore::WebGLDrawBuffers::supported):
+ (WebCore::WebGLDrawBuffers::drawBuffersWEBGL):
+ (WebCore::WebGLDrawBuffers::satisfiesWebGLRequirements):
+ * html/canvas/WebGLDrawBuffers.h: Renamed from Source/WebCore/html/canvas/EXTDrawBuffers.h.
+ * html/canvas/WebGLDrawBuffers.idl: Added.
+ * html/canvas/WebGLExtension.h:
+ * html/canvas/WebGLFramebuffer.cpp:
+ (WebCore::WebGLFramebuffer::drawBuffersIfNecessary):
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::getExtension):
+ (WebCore::WebGLRenderingContext::getParameter):
+ (WebCore::WebGLRenderingContext::getSupportedExtensions):
+ (WebCore::WebGLRenderingContext::validateFramebufferFuncParameters):
+ (WebCore::WebGLRenderingContext::supportsDrawBuffers):
+ * html/canvas/WebGLRenderingContext.h:
</ins><span class="cx">
</span><del>-2013-04-24 Benjamin Poulain <benjamin@webkit.org>
</del><ins>+2014-02-20 Ryosuke Niwa <rniwa@webkit.org>
</ins><span class="cx">
</span><del>- Remove wxWebKit #ifdefs from WebCore/page
- https://bugs.webkit.org/show_bug.cgi?id=115079
</del><ins>+ m_ancestorDisabledState should never be unknown
+ https://bugs.webkit.org/show_bug.cgi?id=129084
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+ Reviewed by Benjamin Poulain.
</ins><span class="cx">
</span><del>- * page/FrameView.cpp:
- (WebCore::FrameView::wheelEvent):
- * page/Settings.cpp:
- (WebCore):
- * page/Settings.h:
- (Settings):
</del><ins>+ In order to resolve the bug 129035, a text form control elements needs to synchronously change
+ its inner text element's editability by setting or unsetting contenteditable content attribute.
+ Before this patch, we could not do this because editability of a text form control dependent on
+ its disabled-ness which was only computed lazily via updateAncestorDisabledState().
</ins><span class="cx">
</span><del>-2013-04-24 Chris Fleizach <cfleizach@apple.com>
</del><ins>+ This patch makes HTMLFieldSetElement and HTMLFormControlElement update this state synchronously.
+ To avoid O(k) DOM traversal, where k is the depth of the tree, in insertedInto and removedFrom of
+ HTMLFormControlElement on most pages, a new document-level flag, m_disabledFieldsetElementsCount,
+ has been added to indicate whether the document contains any disabled fieldset or not.
</ins><span class="cx">
</span><del>- AX: WAI-ARIA landmarks no longer speak type of landmark on iOS
- https://bugs.webkit.org/show_bug.cgi?id=114547
</del><ins>+ Also renamed the misleadingly named disabledAttributeChanged to disabledStateChanged, and added
+ new function of the same name (disabledAttributeChanged) to be used by HTMLFieldSetElement
+ for keeping the document-level flag up-to-date upon disabled attribute changes.
</ins><span class="cx">
</span><del>- Reviewed by David Kilzer.
</del><ins>+ Tests: fast/forms/fieldset/fieldset-disabled-2.html
</ins><span class="cx">
</span><del>- We want iOS to speak the landmark type.
- I've moved the landmark role description to the base Mac class and exposed
- these localized strings to iOS (the ones used to return landmark descriptions).
</del><ins>+ * dom/Document.cpp:
+ (WebCore::Document::Document): Initializes newly added m_disabledFieldsetElementsCount.
+ (WebCore::Document::~Document): Assert that we've done house keeping right.
+ * dom/Document.h:
+ (WebCore::Document::hasDisabledFieldsetElement): Added.
+ (WebCore::Document::addDisabledFieldsetElement): Added.
+ (WebCore::Document::removeDisabledFieldsetElement): Added.
</ins><span class="cx">
</span><del>- I've also updated the accessibilityLabel to account for landmark type, but also
- handle multiple label sources more gracefully by appending commas, which changed a few
- tests in minor ways.
</del><ins>+ * html/HTMLFieldSetElement.cpp:
+ (WebCore::HTMLFieldSetElement::~HTMLFieldSetElement): Removes itself from the owner document.
</ins><span class="cx">
</span><del>- Test: platform/iphone-simulator/accessibility/landmark-type.html
</del><ins>+ (WebCore::updateFromControlElementsAncestorDisabledStateUnder): Added. Updates startNode and
+ its descendants' ancestor disabled flag. We don't update controls under another disabled
+ fieldset element since disabled-ness of those controls aren't affected by startNode.
</ins><span class="cx">
</span><del>- * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
- (-[WebAccessibilityObjectWrapper accessibilityLabel]):
- * accessibility/mac/WebAccessibilityObjectWrapperBase.h:
- * accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
- (-[WebAccessibilityObjectWrapperBase ariaLandmarkRoleDescription]):
- * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
- (-[WebAccessibilityObjectWrapper roleDescription]):
- * platform/LocalizedStrings.cpp:
- (WebCore):
- (WebCore::AXButtonActionVerb):
- (WebCore::AXRadioButtonActionVerb):
- (WebCore::AXTextFieldActionVerb):
- (WebCore::AXCheckedCheckBoxActionVerb):
- (WebCore::AXUncheckedCheckBoxActionVerb):
- (WebCore::AXLinkActionVerb):
- (WebCore::AXMenuListPopupActionVerb):
- (WebCore::AXMenuListActionVerb):
- * platform/LocalizedStrings.h:
- (WebCore):
</del><ins>+ (WebCore::HTMLFieldSetElement::disabledAttributeChanged): Call addDisabledFieldsetElement and
+ removeDisabledFieldsetElement to update the owner document's flag.
</ins><span class="cx">
</span><del>-2013-04-24 Andreas Kling <akling@apple.com>
</del><ins>+ (WebCore::HTMLFieldSetElement::disabledStateChanged): Renamed from disabledAttributeChanged.
+ Enable form control elements under the first legend element and disable or enable other
+ descendent form controls in accordance with the presence of disabled content attribute.
</ins><span class="cx">
</span><del>- CSS attribute selectors cause unnecessary style recalc when setting attribute to same value.
- <http://webkit.org/b/115116>
- <rdar://problem/13727709>
</del><ins>+ (WebCore::HTMLFieldSetElement::childrenChanged): Update disabled-ness of form controls under
+ child legend elements because controls aren't disabled in the first legend element, and adding
+ or removing child elements may have changed the first legend element.
</ins><span class="cx">
</span><del>- Reviewed by Simon Fraser.
</del><ins>+ (WebCore::HTMLFieldSetElement::didMoveToNewDocument): Update the flag on the owner document.
+ * html/HTMLFieldSetElement.h:
</ins><span class="cx">
</span><del>- The logic that dirties the style if there's a relevant attribute selector in the document
- shouldn't run if the attribute is being overwritten with an identical value.
- Move this into willModifyAttribute() instead, since we need access to both the old and the new value.
</del><ins>+ * html/HTMLFormControlElement.cpp:
+ (WebCore::HTMLFormControlElement::HTMLFormControlElement):
+ (WebCore::HTMLFormControlElement::computeIsDisabledByFieldsetAncestor): Returns boolean instead of
+ updating m_ancestorDisabledState internally. Also renamed from updateAncestorDisabledState.
</ins><span class="cx">
</span><del>- This reduces unnecessary style recalculation in Mac App Store content.
</del><ins>+ (WebCore::HTMLFormControlElement::setAncestorDisabled): Replaced ancestorDisabledStateWasChanged.
+ This function updates m_disabledByAncestorFieldset and calls disabledAttributeChanged as needed.
</ins><span class="cx">
</span><del>- * dom/Element.cpp:
- (WebCore::Element::attributeChanged):
- (WebCore::Element::willModifyAttribute):
</del><ins>+ (WebCore::HTMLFormControlElement::disabledAttributeChanged): Added. Calls disabledStateChanged.
+ (WebCore::HTMLFormControlElement::disabledStateChanged): Renamed from disabledAttributeChanged.
</ins><span class="cx">
</span><del>-2013-04-24 Jonathan Feldstein <jfeldstein@blackberry.com>
</del><ins>+ (WebCore::HTMLFormControlElement::insertedInto): Update m_disabledByAncestorFieldset if there is
+ a possibility (i.e. the document contains any disabled fieldset element) that this form control
+ is inserted under a disabled fieldset element.
</ins><span class="cx">
</span><del>- [BlackBerry] Fixes the San Angeles demo on khronos.org
- https://bugs.webkit.org/show_bug.cgi?id=115106
</del><ins>+ (WebCore::HTMLFormControlElement::removedFrom): If this form control element is not disabled by
+ a fieldset ancestor, then there is nothing to do. If it is, then check to see if the element is
+ still disabled now that we've lost some ancestors.
</ins><span class="cx">
</span><del>- Reviewed by Rob Buis
- Internally Reviewed by Jeremy Nicholl and Arvid Nilsson
</del><ins>+ (WebCore::HTMLFormControlElement::isDisabledFormControl): No longer updates m_ancestorDisabledState
+ lazily since m_disabledByAncestorFieldset is never ambiguous now.
</ins><span class="cx">
</span><del>- Fixes a bug in which the currently bound vertex array object's vertex array
- state was being modified as opposed to the default vertex array state.
</del><ins>+ * html/HTMLFormControlElement.h:
+ (WebCore::HTMLFormControlElement::disabledByAncestorFieldset): Added.
</ins><span class="cx">
</span><del>- * platform/graphics/blackberry/EGLImageLayerWebKitThread.cpp:
- (EGLImageLayerWebKitThread::blitToFrontBuffer):
</del><ins>+2014-02-20 Zalan Bujtas <zalan@apple.com>
</ins><span class="cx">
</span><del>-2013-04-24 Nico Weber <thakis@chromium.org>
</del><ins>+ Remove redundant deviceScaleFactor() functions and make callers use Document::deviceScaleFactor() when accessible.
+ https://bugs.webkit.org/show_bug.cgi?id=129137
</ins><span class="cx">
</span><del>- Fold RenderThemeMacShared into RenderThemeMac
- https://bugs.webkit.org/show_bug.cgi?id=115086
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Anders Carlsson.
</del><ins>+ No change in behavior.
</ins><span class="cx">
</span><del>- No intended functionality change.
-
- * WebCore.xcodeproj/project.pbxproj:
- * rendering/RenderThemeMac.h:
- (RenderThemeMac):
- (WebCore::RenderThemeMac::supportsControlTints):
- (WebCore::RenderThemeMac::scrollbarControlSizeForPart):
- (WebCore::RenderThemeMac::supportsSelectionForegroundColors):
- (WebCore::RenderThemeMac::supportsClosedCaptioning):
- (WebCore::RenderThemeMac::updateActiveState):
</del><ins>+ * editing/DeleteButtonController.cpp:
+ (WebCore::DeleteButtonController::createDeletionUI):
+ * page/Page.cpp:
+ * page/Page.h:
+ * platform/graphics/GraphicsContext.cpp:
+ (WebCore::GraphicsContext::GraphicsContext):
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/cg/GraphicsContextCG.cpp:
+ (WebCore::GraphicsContext::platformInit):
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::paintFillLayerExtended):
+ (WebCore::RenderBoxModelObject::drawBoxSideFromPath):
+ * rendering/RenderImage.cpp:
+ (WebCore::RenderImage::imageSizeForError):
+ (WebCore::RenderImage::paintReplaced):
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::drawPlatformResizerImage):
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::drawLineForBoxSide):
</ins><span class="cx"> * rendering/RenderThemeMac.mm:
</span><del>- (-[WebCoreRenderThemeNotificationObserver initWithTheme:WebCore::]):
- (-[WebCoreRenderThemeNotificationObserver systemColorsDidChange:]):
- (-[WebCoreTextFieldCell _coreUIDrawOptionsWithFrame:inView:includeFocus:]):
- (WebCore::RenderThemeMac::RenderThemeMac):
- (WebCore::RenderThemeMac::~RenderThemeMac):
- (WebCore::RenderThemeMac::platformActiveSelectionBackgroundColor):
- (WebCore):
- (WebCore::RenderThemeMac::platformInactiveSelectionBackgroundColor):
- (WebCore::RenderThemeMac::platformActiveListBoxSelectionBackgroundColor):
- (WebCore::RenderThemeMac::platformActiveListBoxSelectionForegroundColor):
- (WebCore::RenderThemeMac::platformInactiveListBoxSelectionForegroundColor):
- (WebCore::RenderThemeMac::platformFocusRingColor):
- (WebCore::RenderThemeMac::platformInactiveListBoxSelectionBackgroundColor):
- (WebCore::toFontWeight):
- (WebCore::RenderThemeMac::systemFont):
- (WebCore::convertNSColorToColor):
- (WebCore::menuBackgroundColor):
- (WebCore::RenderThemeMac::platformColorsDidChange):
- (WebCore::RenderThemeMac::systemColor):
- (WebCore::RenderThemeMac::usesTestModeFocusRingColor):
- (WebCore::RenderThemeMac::isControlStyled):
- (WebCore::RenderThemeMac::adjustRepaintRect):
- (WebCore::RenderThemeMac::inflateRect):
- (WebCore::RenderThemeMac::convertToPaintingRect):
- (WebCore::RenderThemeMac::updateCheckedState):
- (WebCore::RenderThemeMac::updateEnabledState):
- (WebCore::RenderThemeMac::updateFocusedState):
- (WebCore::RenderThemeMac::updatePressedState):
- (WebCore::RenderThemeMac::controlSupportsTints):
- (WebCore::RenderThemeMac::controlSizeForFont):
- (WebCore::RenderThemeMac::setControlSize):
- (WebCore::RenderThemeMac::sizeForFont):
- (WebCore::RenderThemeMac::sizeForSystemFont):
- (WebCore::RenderThemeMac::setSizeFromFont):
- (WebCore::RenderThemeMac::setFontFromControlSize):
- (WebCore::RenderThemeMac::controlSizeForSystemFont):
- (WebCore::RenderThemeMac::paintTextField):
- (WebCore::RenderThemeMac::adjustTextFieldStyle):
- (WebCore::RenderThemeMac::paintCapsLockIndicator):
- (WebCore::RenderThemeMac::paintTextArea):
- (WebCore::RenderThemeMac::adjustTextAreaStyle):
- (WebCore::RenderThemeMac::popupButtonMargins):
- (WebCore::RenderThemeMac::popupButtonSizes):
- (WebCore::RenderThemeMac::popupButtonPadding):
- (WebCore::RenderThemeMac::paintMenuList):
- (WebCore::RenderThemeMac::meterSizeForBounds):
- (WebCore::RenderThemeMac::paintMeter):
- (WebCore::RenderThemeMac::supportsMeter):
- (WebCore::RenderThemeMac::levelIndicatorStyleFor):
- (WebCore::RenderThemeMac::levelIndicatorFor):
- (WebCore::RenderThemeMac::progressBarSizes):
- (WebCore::RenderThemeMac::progressBarMargins):
- (WebCore::RenderThemeMac::minimumProgressBarHeight):
- (WebCore::RenderThemeMac::animationRepeatIntervalForProgressBar):
- (WebCore::RenderThemeMac::animationDurationForProgressBar):
- (WebCore::RenderThemeMac::adjustProgressBarStyle):
</del><span class="cx"> (WebCore::RenderThemeMac::paintProgressBar):
</span><del>- (WebCore::TopGradientInterpolate):
- (WebCore::BottomGradientInterpolate):
- (WebCore::MainGradientInterpolate):
- (WebCore::TrackGradientInterpolate):
- (WebCore::RenderThemeMac::paintMenuListButtonGradients):
- (WebCore::RenderThemeMac::paintMenuListButton):
- (WebCore::menuListButtonSizes):
- (WebCore::RenderThemeMac::adjustMenuListStyle):
- (WebCore::RenderThemeMac::popupInternalPaddingLeft):
- (WebCore::RenderThemeMac::popupInternalPaddingRight):
- (WebCore::RenderThemeMac::popupInternalPaddingTop):
- (WebCore::RenderThemeMac::popupInternalPaddingBottom):
- (WebCore::RenderThemeMac::adjustMenuListButtonStyle):
- (WebCore::RenderThemeMac::setPopupButtonCellState):
- (WebCore::RenderThemeMac::menuListSizes):
- (WebCore::RenderThemeMac::minimumMenuListSize):
- (WebCore::RenderThemeMac::adjustSliderTrackStyle):
- (WebCore::RenderThemeMac::paintSliderTrack):
- (WebCore::RenderThemeMac::adjustSliderThumbStyle):
- (WebCore::RenderThemeMac::paintSliderThumb):
- (WebCore::RenderThemeMac::paintSearchField):
- (WebCore::RenderThemeMac::setSearchCellState):
- (WebCore::RenderThemeMac::searchFieldSizes):
- (WebCore::RenderThemeMac::setSearchFieldSize):
- (WebCore::RenderThemeMac::adjustSearchFieldStyle):
- (WebCore::RenderThemeMac::paintSearchFieldCancelButton):
- (WebCore::RenderThemeMac::cancelButtonSizes):
- (WebCore::RenderThemeMac::adjustSearchFieldCancelButtonStyle):
- (WebCore::RenderThemeMac::resultsButtonSizes):
- (WebCore::RenderThemeMac::adjustSearchFieldDecorationStyle):
- (WebCore::RenderThemeMac::paintSearchFieldDecoration):
- (WebCore::RenderThemeMac::adjustSearchFieldResultsDecorationStyle):
- (WebCore::RenderThemeMac::paintSearchFieldResultsDecoration):
- (WebCore::RenderThemeMac::adjustSearchFieldResultsButtonStyle):
- (WebCore::RenderThemeMac::paintSearchFieldResultsButton):
- (WebCore::RenderThemeMac::paintSnapshottedPluginOverlay):
- (WebCore::RenderThemeMac::sliderTickSize):
- (WebCore::RenderThemeMac::sliderTickOffsetFromTrackCenter):
- (WebCore::RenderThemeMac::adjustSliderThumbSize):
- (WebCore::RenderThemeMac::shouldShowPlaceholderWhenFocused):
- (WebCore::RenderThemeMac::popupButton):
- (WebCore::RenderThemeMac::search):
- (WebCore::RenderThemeMac::searchMenuTemplate):
- (WebCore::RenderThemeMac::sliderThumbHorizontal):
- (WebCore::RenderThemeMac::sliderThumbVertical):
- (WebCore::RenderThemeMac::textField):
- (WebCore::RenderThemeMac::fileListNameForWidth):
- * rendering/RenderThemeMacShared.h: Removed.
- * rendering/RenderThemeMacShared.mm: Removed.
</del><ins>+ * rendering/svg/SVGRenderingContext.cpp:
+ (WebCore::SVGRenderingContext::calculateTransformationToOutermostCoordinateSystem):
</ins><span class="cx">
</span><del>-2013-04-24 ChangSeok Oh <changseok.oh@collabora.com>
</del><ins>+2014-02-20 David Kilzer <ddkilzer@apple.com>
</ins><span class="cx">
</span><del>- [GTK][AC] Visible rect doesn't update after resizing a window.
- https://bugs.webkit.org/show_bug.cgi?id=115096
</del><ins>+ Stop generating Objective-C bindings for the SVG DOM
+ <http://webkit.org/b/129107>
</ins><span class="cx">
</span><del>- Reviewed by Gustavo Noronha Silva.
</del><ins>+ Reviewed by Timothy Hatcher.
</ins><span class="cx">
</span><del>- Once we set actor's a clip rect, we should update the rect when resizing the actor.
</del><ins>+ Bug 114076 stopped compiling the Objective-C bindings for the
+ SVG DOM, but we continued to generate the header and source
+ files after that landed in r147822. This patch also stops
+ generating the unused header and source files.
</ins><span class="cx">
</span><del>- No new tests since no new functionality.
</del><ins>+ * DerivedSources.make:
+ - Split BINDING_IDLS into NON_SVG_BINDING_IDLS and
+ SVG_BINDING_IDLS so that they may operated on separately.
+ - Define BINDING_IDLS again as the full list of IDL files.
+ - Rename DOM_CLASSES to JS_DOM_CLASSES so that JavaScript
+ bindings are still generated for all IDL files.
+ - Add OBJC_DOM_CLASSES so that Objective-C bindings are only
+ generated for non-SVG IDL files.
</ins><span class="cx">
</span><del>- * platform/graphics/clutter/GraphicsLayerClutter.cpp:
- (WebCore::GraphicsLayerClutter::setSize):
</del><ins>+ * bindings/scripts/CodeGeneratorObjC.pm:
+ (GetBaseClass):
+ (GetPropertyAttributes):
+ (AddIncludesForType):
+ (GenerateHeader):
+ (GenerateImplementation):
+ - Remove support for SVG classes.
</ins><span class="cx">
</span><del>-2013-04-24 ChangSeok Oh <changseok.oh@collabora.com>
</del><ins>+2014-02-20 Simon Fraser <simon.fraser@apple.com>
</ins><span class="cx">
</span><del>- [GTK][AC] Fix unexpected clear of ClutterContent.
- https://bugs.webkit.org/show_bug.cgi?id=115099
</del><ins>+ RenderBox::updateShapeOutsideInfoAfterStyleChange shows up on profiles
+ https://bugs.webkit.org/show_bug.cgi?id=129075
</ins><span class="cx">
</span><del>- Reviewed by Gustavo Noronha Silva.
</del><ins>+ Reviewed by Dean Jackson.
</ins><span class="cx">
</span><del>- adoptGRef doesn't increase a reference count. So if a actor has a valid ClutterContent,
- it would be cleared unexpectedly by smart pointer when escaping a function.
</del><ins>+ updateShapeOutsideInfoAfterStyleChange() showed up on profiles in content
+ with no shapes. Avoid calling this if no style has shapeOutside().
</ins><span class="cx">
</span><del>- No new tests, no functionality changed.
</del><ins>+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::styleDidChange):
</ins><span class="cx">
</span><del>- * platform/graphics/clutter/GraphicsLayerActor.cpp:
- (graphicsLayerActorUpdateTexture):
</del><ins>+2014-02-20 ChangSeok Oh <changseok.oh@collabora.com>
</ins><span class="cx">
</span><del>-2013-04-24 Alberto Garcia <agarcia@igalia.com>
</del><ins>+ Remove unused chromium stuff in Extensions3D
+ https://bugs.webkit.org/show_bug.cgi?id=129086
</ins><span class="cx">
</span><del>- DOMFileSystemBase: fix multiple definitions in the BlackBerry port
- https://bugs.webkit.org/show_bug.cgi?id=114950
</del><ins>+ Reviewed by Anders Carlsson.
</ins><span class="cx">
</span><del>- Reviewed by Xan Lopez.
</del><ins>+ Remove GL_CHROMIUM_copy_texture and GL_CHROMIUM_flipy interfaces since they are used nowhere.
</ins><span class="cx">
</span><del>- The following methods are already defined in DOMFileSystemBlackBerry.cpp:
</del><ins>+ No new tests since no functionality changed.
</ins><span class="cx">
</span><del>- crackFileSystemURL()
- createFileSystemURL()
- isValidType()
- supportsToURL()
</del><ins>+ * platform/graphics/Extensions3D.h:
+ * platform/graphics/opengl/Extensions3DOpenGL.cpp:
+ * platform/graphics/opengl/Extensions3DOpenGL.h:
+ * platform/graphics/opengl/Extensions3DOpenGLES.cpp:
+ * platform/graphics/opengl/Extensions3DOpenGLES.h:
</ins><span class="cx">
</span><del>- * Modules/filesystem/DOMFileSystemBase.cpp:
- (WebCore):
</del><ins>+2014-02-20 Joseph Pecoraro <pecoraro@apple.com>
</ins><span class="cx">
</span><del>-2013-04-24 George Staikos <gstaikos@rim.com>
</del><ins>+ [iOS] Assert / crash trying to draw empty checked input
+ https://bugs.webkit.org/show_bug.cgi?id=129138
</ins><span class="cx">
</span><del>- [BlackBerry] Add support for JPEG image quality during encoding.
- https://bugs.webkit.org/show_bug.cgi?id=105773
</del><ins>+ Reviewed by Simon Fraser.
</ins><span class="cx">
</span><del>- Reviewed by Xan Lopez.
</del><ins>+ Test: fast/forms/checkbox-empty-size.html
</ins><span class="cx">
</span><del>- PR 271611
- Internally reviewed by Liam Quinn.
</del><ins>+ * rendering/RenderThemeIOS.mm:
+ (WebCore::shortened):
+ Avoid a divide by 0, but checking for the condition upfront.
</ins><span class="cx">
</span><del>- Pass the quality flag into the encoder, with a default of 65
</del><ins>+2014-02-20 Benjamin Poulain <bpoulain@apple.com>
</ins><span class="cx">
</span><del>- Covered by existing tests.
</del><ins>+ Start fixing the view states driven by the WKScrollView
+ https://bugs.webkit.org/show_bug.cgi?id=129140
</ins><span class="cx">
</span><del>- * platform/image-encoders/JPEGImageEncoder.cpp:
- (WebCore::compressRGBABigEndianToJPEG):
- * platform/image-encoders/JPEGImageEncoder.h:
- (WebCore):
</del><ins>+ Reviewed by Tim Horton and Simon Fraser.
</ins><span class="cx">
</span><del>-2013-04-24 Csaba Osztrogonác <ossy@webkit.org>
</del><ins>+ * platform/graphics/ca/mac/TileController.mm:
+ (WebCore::TileController::scaledExposedRect):
+ That comment was more confusing than helping. FrameView-relative coordinates should not need
+ scaling.
</ins><span class="cx">
</span><del>- Fix cast-align WebCore/platform/graphics/GraphicsContext3D.cpp on ARM
- https://bugs.webkit.org/show_bug.cgi?id=115036
</del><ins>+2014-02-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</ins><span class="cx">
</span><del>- Reviewed by Benjamin Poulain.
</del><ins>+ Start to use std::unique_ptr for DragImageLoader
+ https://bugs.webkit.org/show_bug.cgi?id=129078
</ins><span class="cx">
</span><del>- * platform/graphics/GraphicsContext3D.cpp:
- (WebCore):
</del><ins>+ Reviewed by Ryosuke Niwa.
</ins><span class="cx">
</span><del>-2013-04-24 Andreas Kling <akling@apple.com>
</del><ins>+ As a step to use std::unique_ptr, this patch replace uses of OwnPtr and PassOwnPtr
+ in the DragImageLoader class with std::unique_ptr. Besides DragImageLoader is set to
+ non-copyable class.
</ins><span class="cx">
</span><del>- Remove unnecessary MutableStylePropertySet casts.
- <http://webkit.org/b/115075>
</del><ins>+ * dom/Clipboard.cpp:
+ (WebCore::Clipboard::setDragImage):
+ * dom/Clipboard.h:
</ins><span class="cx">
</span><del>- Reviewed by Geoffrey Garen.
</del><ins>+2014-02-20 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- Get rid of some now-unneeded static_casts that were left from the StylePropertySet
- refactoring last weekend.
</del><ins>+ Move the image controls setting to Settings.in
+ https://bugs.webkit.org/show_bug.cgi?id=129126
</ins><span class="cx">
</span><del>- * css/StylePropertySet.cpp:
- (WebCore::MutableStylePropertySet::setProperty):
- * editing/EditingStyle.cpp:
- (WebCore::EditingStyle::triStateOfStyle):
- (WebCore::EditingStyle::removeStyleFromRulesAndContext):
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>-2013-04-24 Kangil Han <kangil.han@samsung.com>
</del><ins>+ * page/Settings.cpp:
+ (WebCore::Settings::Settings):
+ * page/Settings.h:
+ * page/Settings.in:
</ins><span class="cx">
</span><del>- [Minor code cleanup] Remove duplicated condition check
- https://bugs.webkit.org/show_bug.cgi?id=115082
</del><ins>+2014-02-20 Brady Eidson <beidson@apple.com>
</ins><span class="cx">
</span><del>- Reviewed by Andreas Kling.
</del><ins>+ Add very basic image control rendering
+ https://bugs.webkit.org/show_bug.cgi?id=129080
</ins><span class="cx">
</span><del>- areRectsPartiallyAligned() has duplicated condition check, so remove it.
</del><ins>+ Reviewed by Tim Horton.
</ins><span class="cx">
</span><del>- * page/SpatialNavigation.cpp:
- (WebCore::areRectsPartiallyAligned):
</del><ins>+ Test: fast/images/image-controls-basic.html
</ins><span class="cx">
</span><del>-2013-04-24 Krzysztof Wolanski <k.wolanski@samsung.com>
</del><ins>+ This patch is groundwork that adds a very basic image control that can render on top of images.
</ins><span class="cx">
</span><del>- [EFL] Fix build warnings caused by missing images attributes for default buttons
- https://bugs.webkit.org/show_bug.cgi?id=114955
</del><ins>+ * dom/Node.h:
+ (WebCore::Node:: isImageControlsRootElement): Returns false, unless you are an ImageControls object.
+ * html/HTMLAttributeNames.in:
</ins><span class="cx">
</span><del>- Reviewed by Gyuyoung Kim.
</del><ins>+ Teach HTMLImageElement how to understand an experimental attribute to install controls,
+ how to actually build the DOM to attach to the shadow root, how to tear that DOM down,
+ and how to make sure that Renderers are created for that DOM:
+ * html/HTMLImageElement.cpp:
+ (WebCore::HTMLImageElement::HTMLImageElement):
+ (WebCore::HTMLImageElement::parseAttribute):
+ (WebCore::HTMLImageElement::didAttachRenderers):
+ (WebCore::HTMLImageElement::updateImageControls):
+ (WebCore::HTMLImageElement::createImageControls):
+ (WebCore::HTMLImageElement::destroyImageControls):
+ (WebCore::HTMLImageElement::hasImageControls):
+ (WebCore::HTMLImageElement::childShouldCreateRenderer):
+ * html/HTMLImageElement.h:
+ (WebCore::HTMLImageElement::hasShadowControls): For RenderImage to query when it is constructed.
</ins><span class="cx">
</span><del>- Added default image for each button from mediacontrol catalog.
</del><ins>+ Add a generic, platform independent ImageControls root element that does nothing:
+ * html/shadow/ImageControlsRootElement.cpp: Added.
+ (WebCore::ImageControlsRootElement::maybeCreate):
+ (WebCore::ImageControlsRootElement::ImageControlsRootElement):
+ (WebCore::ImageControlsRootElement::~ImageControlsRootElement):
+ * html/shadow/ImageControlsRootElement.h: Added.
</ins><span class="cx">
</span><del>- No new tests, because there is no change in behavior.
</del><ins>+ Add a Mac-specific ImageControls root element that renders a 20x20 red box (for now):
+ * html/shadow/mac/ImageControlsRootElementMac.cpp: Added.
+ (WebCore::ImageControlsRootElementMac::ImageControlsRootElementMac):
+ (WebCore::ImageControlsRootElementMac::~ImageControlsRootElementMac):
+ (WebCore::ImageControlsRootElement::maybeCreate):
+ (WebCore::ImageControlsRootElementMac::maybeCreate):
+ * html/shadow/mac/ImageControlsRootElementMac.h: Added.
</ins><span class="cx">
</span><del>- * platform/efl/DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc:
- * platform/efl/DefaultTheme/widget/mediacontrol/mutebutton/mute_button.edc:
- * platform/efl/DefaultTheme/widget/mediacontrol/playpausebutton/playpause_button.edc:
- * platform/efl/DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackward_button.edc:
- * platform/efl/DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforward_button.edc:
- * platform/efl/DefaultTheme/widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc:
</del><ins>+ Since much of the RenderMedia::layout() method is now required for RenderImage as well,
+ move the logic to RenderImage. The extra work is controlled by a bool flag that will always
+ be set for RenderMedias but will only be set for certain RenderImages:
+ * rendering/RenderImage.cpp:
+ (WebCore::RenderImage::RenderImage):
+ (WebCore::RenderImage::canHaveChildren):
+ (WebCore::RenderImage::layout):
+ (WebCore::RenderImage::layoutShadowControls):
+ * rendering/RenderImage.h:
+ (WebCore::RenderImage::setHasShadowControls):
+ (WebCore::RenderImage::shadowControlsNeedCustomLayoutMetrics):
</ins><span class="cx">
</span><del>-2013-04-24 Christophe Dumez <ch.dumez@sisa.samsung.com>
</del><ins>+ * rendering/RenderMedia.cpp:
+ (WebCore::RenderMedia::RenderMedia):
+ * rendering/RenderMedia.h:
+ (WebCore::RenderMedia::shadowControlsNeedCustomLayoutMetrics):
</ins><span class="cx">
</span><del>- Unreviewed build fix with gstreamer 0.10.x after r147555.
</del><ins>+ * WebCore.xcodeproj/project.pbxproj:
</ins><span class="cx">
</span><del>- * platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
- (webKitWebAudioSrcLoop):
-
-== Rolled over to ChangeLog-2013-04-24 ==
</del><ins>+== Rolled over to ChangeLog-2014-02-20 ==
</ins></span></pre></div>
<a id="branchessafari53778branchSourceWebCoreWebCoreexpin"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/WebCore.exp.in (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/WebCore.exp.in        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/WebCore.exp.in        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1085,7 +1085,7 @@
</span><span class="cx"> __ZN7WebCore8Document26didRemoveWheelEventHandlerEv
</span><span class="cx"> __ZN7WebCore8Document26pageSizeAndMarginsInPixelsEiRNS_7IntSizeERiS3_S3_S3_
</span><span class="cx"> __ZN7WebCore8Document27removeMediaCanStartListenerEPNS_21MediaCanStartListenerE
</span><del>-__ZN7WebCore8Document36updateLayoutIgnorePendingStylesheetsEv
</del><ins>+__ZN7WebCore8Document36updateLayoutIgnorePendingStylesheetsENS0_18RunPostLayoutTasksE
</ins><span class="cx"> __ZN7WebCore8Document4headEv
</span><span class="cx"> __ZN7WebCore8Document8iconURLsEi
</span><span class="cx"> __ZN7WebCore8FormData28removeGeneratedFilesIfNeededEv
</span><span class="lines">@@ -1534,6 +1534,7 @@
</span><span class="cx"> __ZNK7WebCore20ResourceResponseBase8mimeTypeEv
</span><span class="cx"> __ZNK7WebCore21BackForwardController12forwardCountEv
</span><span class="cx"> __ZNK7WebCore21BackForwardController9backCountEv
</span><ins>+__ZNK7WebCore21HTMLFrameOwnerElement15contentDocumentEv
</ins><span class="cx"> __ZNK7WebCore21NetworkStorageSession13cookieStorageEv
</span><span class="cx"> __ZNK7WebCore21RenderLayerCompositor11scrollLayerEv
</span><span class="cx"> __ZNK7WebCore21RenderLayerCompositor15rootRenderLayerEv
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/dom/Document.cpp (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/dom/Document.cpp        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/dom/Document.cpp        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1895,10 +1895,10 @@
</span><span class="cx"> // stylesheets are loaded. Doing a layout ignoring the pending stylesheets
</span><span class="cx"> // lets us get reasonable answers. The long term solution to this problem is
</span><span class="cx"> // to instead suspend JavaScript execution.
</span><del>-void Document::updateLayoutIgnorePendingStylesheets()
</del><ins>+void Document::updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasks runPostLayoutTasks)
</ins><span class="cx"> {
</span><span class="cx"> bool oldIgnore = m_ignorePendingStylesheets;
</span><del>-
</del><ins>+
</ins><span class="cx"> if (!haveStylesheetsLoaded()) {
</span><span class="cx"> m_ignorePendingStylesheets = true;
</span><span class="cx"> // FIXME: We are willing to attempt to suppress painting with outdated style info only once. Our assumption is that it would be
</span><span class="lines">@@ -1920,6 +1920,9 @@
</span><span class="cx">
</span><span class="cx"> updateLayout();
</span><span class="cx">
</span><ins>+ if (runPostLayoutTasks == RunPostLayoutTasksSynchronously && view())
+ view()->flushAnyPendingPostLayoutTasks();
+
</ins><span class="cx"> m_ignorePendingStylesheets = oldIgnore;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCoredomDocumenth"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/dom/Document.h (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/dom/Document.h        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/dom/Document.h        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -515,7 +515,11 @@
</span><span class="cx"> bool childNeedsAndNotInStyleRecalc();
</span><span class="cx"> void updateStyleIfNeeded();
</span><span class="cx"> void updateLayout();
</span><del>- void updateLayoutIgnorePendingStylesheets();
</del><ins>+ enum RunPostLayoutTasks {
+ RunPostLayoutTasksAsynchronously,
+ RunPostLayoutTasksSynchronously,
+ };
+ void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayoutTasksAsynchronously);
</ins><span class="cx"> PassRefPtr<RenderStyle> styleForElementIgnoringPendingStylesheets(Element*);
</span><span class="cx"> PassRefPtr<RenderStyle> styleForPage(int pageIndex);
</span><span class="cx">
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCorehtmlHTMLAppletElementcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/html/HTMLAppletElement.cpp (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/html/HTMLAppletElement.cpp        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/html/HTMLAppletElement.cpp        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -87,7 +87,10 @@
</span><span class="cx"> if (!canEmbedJava())
</span><span class="cx"> return 0;
</span><span class="cx">
</span><del>- document()->updateLayoutIgnorePendingStylesheets();
</del><ins>+ // Needs to load the plugin immediatedly because this function is called
+ // when JavaScript code accesses the plugin.
+ // FIXME: <rdar://16893708> Check if dispatching events here is safe.
+ document()->updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously);
</ins><span class="cx"> return renderPart();
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCorehtmlHTMLEmbedElementcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/html/HTMLEmbedElement.cpp (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/html/HTMLEmbedElement.cpp        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/html/HTMLEmbedElement.cpp        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> #include "DocumentLoader.h"
</span><span class="cx"> #include "Frame.h"
</span><span class="cx"> #include "FrameLoader.h"
</span><ins>+#include "FrameView.h"
</ins><span class="cx"> #include "HTMLDocument.h"
</span><span class="cx"> #include "HTMLImageLoader.h"
</span><span class="cx"> #include "HTMLNames.h"
</span><span class="lines">@@ -70,7 +71,13 @@
</span><span class="cx">
</span><span class="cx"> RenderWidget* HTMLEmbedElement::renderWidgetForJSBindings() const
</span><span class="cx"> {
</span><del>- document()->updateLayoutIgnorePendingStylesheets();
</del><ins>+ FrameView* view = document()->view();
+ if (!view || (!view->isInLayout() && !view->isPainting())) {
+ // Needs to load the plugin immediatedly because this function is called
+ // when JavaScript code accesses the plugin.
+ // FIXME: <rdar://16893708> Check if dispatching events here is safe.
+ document()->updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously);
+ }
</ins><span class="cx"> return findWidgetRenderer(this);
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCorehtmlHTMLObjectElementcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/html/HTMLObjectElement.cpp (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/html/HTMLObjectElement.cpp        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/html/HTMLObjectElement.cpp        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -77,7 +77,10 @@
</span><span class="cx">
</span><span class="cx"> RenderWidget* HTMLObjectElement::renderWidgetForJSBindings() const
</span><span class="cx"> {
</span><del>- document()->updateLayoutIgnorePendingStylesheets();
</del><ins>+ // Needs to load the plugin immediatedly because this function is called
+ // when JavaScript code accesses the plugin.
+ // FIXME: <rdar://16893708> Check if dispatching events here is safe.
+ document()->updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously);
</ins><span class="cx"> return renderPart(); // This will return 0 if the renderer is not a RenderPart.
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCorepageFrameViewcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/page/FrameView.cpp (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/page/FrameView.cpp        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/page/FrameView.cpp        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -175,6 +175,7 @@
</span><span class="cx"> , m_layoutRoot(0)
</span><span class="cx"> , m_inSynchronousPostLayout(false)
</span><span class="cx"> , m_postLayoutTasksTimer(this, &FrameView::postLayoutTimerFired)
</span><ins>+ , m_updateEmbeddedObjectsTimer(this, &FrameView::updateEmbeddedObjectsTimerFired)
</ins><span class="cx"> , m_isTransparent(false)
</span><span class="cx"> , m_baseBackgroundColor(Color::white)
</span><span class="cx"> , m_mediaType("screen")
</span><span class="lines">@@ -277,6 +278,7 @@
</span><span class="cx"> m_layoutCount = 0;
</span><span class="cx"> m_nestedLayoutCount = 0;
</span><span class="cx"> m_postLayoutTasksTimer.stop();
</span><ins>+ m_updateEmbeddedObjectsTimer.stop();
</ins><span class="cx"> m_firstLayout = true;
</span><span class="cx"> m_firstLayoutCallbackPending = false;
</span><span class="cx"> m_wasScrolledByUser = false;
</span><span class="lines">@@ -2703,16 +2705,28 @@
</span><span class="cx"> return m_widgetUpdateSet->isEmpty();
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void FrameView::updateEmbeddedObjectsTimerFired(Timer<FrameView>*)
+{
+ RefPtr<FrameView> protect(this);
+ m_updateEmbeddedObjectsTimer.stop();
+ for (unsigned i = 0; i < maxUpdateWidgetsIterations; i++) {
+ if (updateWidgets())
+ break;
+ }
+}
+
</ins><span class="cx"> void FrameView::flushAnyPendingPostLayoutTasks()
</span><span class="cx"> {
</span><del>- if (!m_postLayoutTasksTimer.isActive())
- return;
-
- performPostLayoutTasks();
</del><ins>+ if (m_postLayoutTasksTimer.isActive())
+ performPostLayoutTasks();
+ if (m_updateEmbeddedObjectsTimer.isActive())
+ updateEmbeddedObjectsTimerFired(nullptr);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void FrameView::performPostLayoutTasks()
</span><span class="cx"> {
</span><ins>+ // FIXME: We should not run any JavaScript code in this function.
+
</ins><span class="cx"> m_postLayoutTasksTimer.stop();
</span><span class="cx">
</span><span class="cx"> m_frame->selection()->setCaretRectNeedsUpdate();
</span><span class="lines">@@ -2764,11 +2778,9 @@
</span><span class="cx">
</span><span class="cx"> // layout() protects FrameView, but it still can get destroyed when updateWidgets()
</span><span class="cx"> // is called through the post layout timer.
</span><ins>+
</ins><span class="cx"> RefPtr<FrameView> protector(this);
</span><del>- for (unsigned i = 0; i < maxUpdateWidgetsIterations; i++) {
- if (updateWidgets())
- break;
- }
</del><ins>+ m_updateEmbeddedObjectsTimer.startOneShot(0);
</ins><span class="cx">
</span><span class="cx"> if (page) {
</span><span class="cx"> if (ScrollingCoordinator* scrollingCoordinator = page->scrollingCoordinator())
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCorepageFrameViewh"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/page/FrameView.h (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/page/FrameView.h        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/page/FrameView.h        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -520,6 +520,7 @@
</span><span class="cx">
</span><span class="cx"> bool updateWidgets();
</span><span class="cx"> void updateWidget(RenderObject*);
</span><ins>+ void updateEmbeddedObjectsTimerFired(Timer<FrameView>*);
</ins><span class="cx"> void scrollToAnchor();
</span><span class="cx"> void scrollPositionChanged();
</span><span class="cx">
</span><span class="lines">@@ -567,6 +568,7 @@
</span><span class="cx"> int m_layoutCount;
</span><span class="cx"> unsigned m_nestedLayoutCount;
</span><span class="cx"> Timer<FrameView> m_postLayoutTasksTimer;
</span><ins>+ Timer<FrameView> m_updateEmbeddedObjectsTimer;
</ins><span class="cx"> bool m_firstLayoutCallbackPending;
</span><span class="cx">
</span><span class="cx"> bool m_firstLayout;
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCoretestingInternalscpp"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/testing/Internals.cpp (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/testing/Internals.cpp        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/testing/Internals.cpp        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -52,6 +52,7 @@
</span><span class="cx"> #include "FrameLoader.h"
</span><span class="cx"> #include "FrameView.h"
</span><span class="cx"> #include "HTMLContentElement.h"
</span><ins>+#include "HTMLIFrameElement.h"
</ins><span class="cx"> #include "HTMLInputElement.h"
</span><span class="cx"> #include "HTMLNames.h"
</span><span class="cx"> #include "HTMLSelectElement.h"
</span><span class="lines">@@ -1897,6 +1898,28 @@
</span><span class="cx"> frameView->setTracksRepaints(false);
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void Internals::updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(ExceptionCode& ec)
+{
+ updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(nullptr, ec);
+}
+
+void Internals::updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(Node* node, ExceptionCode& ec)
+{
+ Document* document;
+ if (!node)
+ document = contextDocument();
+ else if (node->isDocumentNode())
+ document = toDocument(node);
+ else if (node->hasTagName(HTMLNames::iframeTag))
+ document = toHTMLIFrameElement(node)->contentDocument();
+ else {
+ ec = TypeError;
+ return;
+ }
+
+ document->updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously);
+}
+
</ins><span class="cx"> #if USE(LAZY_NATIVE_CURSOR)
</span><span class="cx"> static const char* cursorTypeToString(Cursor::Type cursorType)
</span><span class="cx"> {
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCoretestingInternalsh"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/testing/Internals.h (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/testing/Internals.h        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/testing/Internals.h        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -281,6 +281,8 @@
</span><span class="cx">
</span><span class="cx"> void startTrackingRepaints(Document*, ExceptionCode&);
</span><span class="cx"> void stopTrackingRepaints(Document*, ExceptionCode&);
</span><ins>+ void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(ExceptionCode&);
+ void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(Node*, ExceptionCode&);
</ins><span class="cx">
</span><span class="cx"> PassRefPtr<ArrayBuffer> serializeObject(PassRefPtr<SerializedScriptValue>) const;
</span><span class="cx"> PassRefPtr<SerializedScriptValue> deserializeBuffer(PassRefPtr<ArrayBuffer>) const;
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebCoretestingInternalsidl"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebCore/testing/Internals.idl (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebCore/testing/Internals.idl        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebCore/testing/Internals.idl        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -241,6 +241,11 @@
</span><span class="cx"> [RaisesException] void startTrackingRepaints(Document document);
</span><span class="cx"> [RaisesException] void stopTrackingRepaints(Document document);
</span><span class="cx">
</span><ins>+ // |node| should be Document, HTMLIFrameElement, or unspecified.
+ // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is
+ // specified without security checks. Unspecified means this document.
+ [RaisesException] void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(optional Node node);
+
</ins><span class="cx"> // Returns a string with information about the mouse cursor used at the specified client location.
</span><span class="cx"> [RaisesException] DOMString getCurrentCursorInfo(Document document);
</span><span class="cx">
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebKit/ChangeLog (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebKit/ChangeLog        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebKit/ChangeLog        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2014-07-22 Dana Burkart <dburkart@apple.com>
+
+ Merge r169475
+
+ 2014-05-28 Jon Honeycutt <jhoneycutt@apple.com>
+
+ Roll r168668 back in.
+
+ <https://bugs.webkit.org/show_bug.cgi?id=132621>
+
+ Reviewed by Brent Fulgham.
+
+ * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
+
</ins><span class="cx"> 2014-05-19 Lucas Forschler <lforschler@apple.com>
</span><span class="cx">
</span><span class="cx"> Merge r169098
</span></span></pre></div>
<a id="branchessafari53778branchSourceWebKitWebKitvcxprojWebKitExportGeneratorWebKitExportsdefin"></a>
<div class="modfile"><h4>Modified: branches/safari-537.78-branch/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in (171376 => 171377)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-537.78-branch/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in        2014-07-23 00:36:13 UTC (rev 171376)
+++ branches/safari-537.78-branch/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in        2014-07-23 00:41:02 UTC (rev 171377)
</span><span class="lines">@@ -186,6 +186,7 @@
</span><span class="cx"> symbolWithPointer(?cacheDOMStructure@WebCore@@YAPAVStructure@JSC@@PAVJSDOMGlobalObject@1@PAV23@PBUClassInfo@3@@Z, ?cacheDOMStructure@WebCore@@YAPEAVStructure@JSC@@PEAVJSDOMGlobalObject@1@PEAV23@PEBUClassInfo@3@@Z)
</span><span class="cx"> symbolWithPointer(?childItemWithTarget@HistoryItem@WebCore@@QBEPAV12@ABVString@WTF@@@Z, ?childItemWithTarget@HistoryItem@WebCore@@QEBAPEAV12@AEBVString@WTF@@@Z)
</span><span class="cx"> symbolWithPointer(?create@Range@WebCore@@SA?AV?$PassRefPtr@VRange@WebCore@@@WTF@@V?$PassRefPtr@VDocument@WebCore@@@4@V?$PassRefPtr@VNode@WebCore@@@4@H1H@Z, ?create@Range@WebCore@@SA?AV?$PassRefPtr@VRange@WebCore@@@WTF@@V?$PassRefPtr@VDocument@WebCore@@@4@V?$PassRefPtr@VNode@WebCore@@@4@H1H@Z)
</span><ins>+ symbolWithPointer(?contentDocument@HTMLFrameOwnerElement@WebCore@@QBEPAVDocument@2@XZ, ?contentDocument@HTMLFrameOwnerElement@WebCore@@QEBAPEAVDocument@2@XZ)
</ins><span class="cx"> #if USE(CF)
</span><span class="cx"> symbolWithPointer(?createCFString@String@WTF@@QBE?AV?$RetainPtr@PBU__CFString@@@2@XZ, ?createCFString@String@WTF@@QEBA?AV?$RetainPtr@PEBU__CFString@@@2@XZ)
</span><span class="cx"> #endif
</span><span class="lines">@@ -209,6 +210,7 @@
</span><span class="cx"> symbolWithPointer(?getLocationAndLengthFromRange@TextIterator@WebCore@@SA_NPAVNode@2@PBVRange@2@AAI2@Z, ?getLocationAndLengthFromRange@TextIterator@WebCore@@SA_NPEAVNode@2@PEBVRange@2@AEA_K2@Z)
</span><span class="cx"> symbolWithPointer(?hitTest@RenderView@WebCore@@QAE_NABVHitTestRequest@2@AAVHitTestResult@2@@Z, ?hitTest@RenderView@WebCore@@QEAA_NAEBVHitTestRequest@2@AEAVHitTestResult@2@@Z)
</span><span class="cx"> ?inputTag@HTMLNames@WebCore@@3VQualifiedName@2@B
</span><ins>+                symbolWithPointer(?iframeTag@HTMLNames@WebCore@@3VHTMLQualifiedName@2@B,?iframeTag@HTMLNames@WebCore@@3VHTMLQualifiedName@2@B)
</ins><span class="cx"> symbolWithPointer(?intersects@IntRect@WebCore@@QBE_NABV12@@Z, ?intersects@IntRect@WebCore@@QEBA_NAEBV12@@Z)
</span><span class="cx"> symbolWithPointer(?item@StaticNodeList@WebCore@@UBEPAVNode@2@I@Z, ?item@StaticNodeList@WebCore@@UEBAPEAVNode@2@I@Z)
</span><span class="cx"> ?selectTag@HTMLNames@WebCore@@3VQualifiedName@2@B
</span><span class="lines">@@ -320,7 +322,7 @@
</span><span class="cx"> symbolWithPointer(?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVNodeList@1@@Z, ?toJS@WebCore@@YA?AVJSValue@JSC@@PEAVExecState@3@PEAVJSDOMGlobalObject@1@PEAVNodeList@1@@Z)
</span><span class="cx"> symbolWithPointer(?toRange@WebCore@@YAPAVRange@1@VJSValue@JSC@@@Z, ?toRange@WebCore@@YAPEAVRange@1@VJSValue@JSC@@@Z)
</span><span class="cx"> symbolWithPointer(?isTreeScope@Node@WebCore@@QBE_NXZ, ?isTreeScope@Node@WebCore@@QEBA_NXZ)
</span><del>- symbolWithPointer(?updateLayoutIgnorePendingStylesheets@Document@WebCore@@QAEXXZ, ?updateLayoutIgnorePendingStylesheets@Document@WebCore@@QEAAXXZ)
</del><ins>+ symbolWithPointer(?updateLayoutIgnorePendingStylesheets@Document@WebCore@@QAEXW4RunPostLayoutTasks@12@@Z, ?updateLayoutIgnorePendingStylesheets@Document@WebCore@@QEAAXW4RunPostLayoutTasks@12@@Z)
</ins><span class="cx"> symbolWithPointer(?view@Document@WebCore@@QBEPAVFrameView@2@XZ, ?view@Document@WebCore@@QEBAPEAVFrameView@2@XZ)
</span><span class="cx"> symbolWithPointer(??1ContextDestructionObserver@WebCore@@MAE@XZ, ??1ContextDestructionObserver@WebCore@@MEAA@XZ)
</span><span class="cx"> symbolWithPointer(?contextDestroyed@ContextDestructionObserver@WebCore@@UAEXXZ, ?contextDestroyed@ContextDestructionObserver@WebCore@@UEAAXXZ)
</span></span></pre>
</div>
</div>
</body>
</html>