[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

dglazkov at chromium.org dglazkov at chromium.org
Wed Dec 22 11:23:35 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit cdb37c9b96151e28d2402064ef7e8bdad8b03179
Author: dglazkov at chromium.org <dglazkov at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jul 21 17:30:53 2010 +0000

    2010-07-21  Dimitri Glazkov  <dglazkov at chromium.org>
    
            Reviewed by Darin Adler.
    
            Add a diagram explaining how a DOM element is attached to the site.
            https://bugs.webkit.org/show_bug.cgi?id=42763
    
            * coding/dom-element-attach.html: Added.
            * coding/images/dom-element-attach-large.png: Added.
            * coding/images/dom-element-attach-small.png: Added.
            * coding/images/dom-element-attach.graffle: Added.
            * coding/technical-articles.html: Added a link to the page with the diragram.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63838 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitSite/ChangeLog b/WebKitSite/ChangeLog
index 9a3c64f..0ddb5e7 100644
--- a/WebKitSite/ChangeLog
+++ b/WebKitSite/ChangeLog
@@ -1,3 +1,16 @@
+2010-07-21  Dimitri Glazkov  <dglazkov at chromium.org>
+
+        Reviewed by Darin Adler.
+
+        Add a diagram explaining how a DOM element is attached to the site.
+        https://bugs.webkit.org/show_bug.cgi?id=42763
+
+        * coding/dom-element-attach.html: Added.
+        * coding/images/dom-element-attach-large.png: Added.
+        * coding/images/dom-element-attach-small.png: Added.
+        * coding/images/dom-element-attach.graffle: Added.
+        * coding/technical-articles.html: Added a link to the page with the diragram.
+
 2010-06-16  Jeremy Moskovich  <jeremy at chromium.org>
 
         Reviewed by Darin Adler.
diff --git a/WebKitSite/coding/dom-element-attach.html b/WebKitSite/coding/dom-element-attach.html
new file mode 100644
index 0000000..1a17334
--- /dev/null
+++ b/WebKitSite/coding/dom-element-attach.html
@@ -0,0 +1,14 @@
+<?php
+    $title="How a DOM Element is Attached";
+    include("../header.inc");
+?>
+<h2>
+  How a DOM Element is Attached
+</h2>
+<br>
+<p>The implementation of <kbd>Node::attach()</kbd> is just a recursive depth-first traversal. However, <kbd>Element::attach()</kbd> does a bit more, also creating a renderer (if necessary) and resolving style for the element.
+<p>This diagram illustrates how it happens, showing relationships between the objects involved. 
+<p><a href="images/dom-element-attach-large.png"><img src="images/dom-element-attach-small.png"></a>
+<?php
+    include("../footer.inc");
+?>
diff --git a/WebKitSite/coding/images/dom-element-attach-large.png b/WebKitSite/coding/images/dom-element-attach-large.png
new file mode 100644
index 0000000..9928e1f
Binary files /dev/null and b/WebKitSite/coding/images/dom-element-attach-large.png differ
diff --git a/WebKitSite/coding/images/dom-element-attach-small.png b/WebKitSite/coding/images/dom-element-attach-small.png
new file mode 100644
index 0000000..21e4b54
Binary files /dev/null and b/WebKitSite/coding/images/dom-element-attach-small.png differ
diff --git a/WebKitSite/coding/images/dom-element-attach.graffle b/WebKitSite/coding/images/dom-element-attach.graffle
new file mode 100644
index 0000000..9c3d05d
Binary files /dev/null and b/WebKitSite/coding/images/dom-element-attach.graffle differ
diff --git a/WebKitSite/coding/technical-articles.html b/WebKitSite/coding/technical-articles.html
index 834cbc2..8f05c16 100644
--- a/WebKitSite/coding/technical-articles.html
+++ b/WebKitSite/coding/technical-articles.html
@@ -39,6 +39,8 @@
       </li>
       <li>WebKit Page Cache - <a href="http://webkit.org/blog/427/webkit-page-cache-i-the-basics/">Part 1</a> &amp; <a href="http://webkit.org/blog/516/webkit-page-cache-ii-the-unload-event/">Part 2</a>
       </li>
+      <li><a href="dom-element-attach.html">How a DOM Element is Attached</a>
+      </li>
     </ul>
   </li>
 </ul>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list