diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /khtml/DESIGN.html | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/DESIGN.html')
-rw-r--r-- | khtml/DESIGN.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/khtml/DESIGN.html b/khtml/DESIGN.html index c14170ec4..00af13045 100644 --- a/khtml/DESIGN.html +++ b/khtml/DESIGN.html @@ -9,7 +9,7 @@ dt { font-weight: bold; } <p> This document tries to give a short overview about the internal design of the khtml -library. I've written this, because the lib has gotten quite big, and it is hard at first to tqfind your +library. I've written this, because the lib has gotten quite big, and it is hard at first to find your way in the source code. This doesn't mean that you'll understand khtml after reading this document, but it'll hopefully make it easier for you to read the source code. </p> @@ -84,7 +84,7 @@ in a tree like structure. Imagine some html like In the following I'll show how this input will be processed step by step to generate the visible output you will finally see on your screen. I'm describing the things as if they happen one after the other, to make the principle more clear. In reality, to get visible output on the screen as soon as possible, -all these things (from tokenization to the build up and tqlayouting of the rendering tree) happen +all these things (from tokenization to the build up and layouting of the rendering tree) happen more or less in parallel. <h2>Tokenizer and parser</h2> @@ -168,7 +168,7 @@ explicit sharing of the DOM specs. Another advantage is, that (as the implementation classes are not exported) it gives us a lot more freedom to make changes in the implementation without breaking binary compatibility. <p> -You will tqfind almost a one to one correspondence between the interface classes and the implementation +You will find almost a one to one correspondence between the interface classes and the implementation classes. In the implementation classes we have added a few more intermediate classes, that can not be seen from the outside for various reasons (make implementation of shared features easier or to reduce memory consumption). @@ -258,9 +258,9 @@ RenderRoot* </pre> <p> -A call to of <a href="rendering/render_root.cpp">tqlayout()</a> on the +A call to of <a href="rendering/render_root.cpp">layout()</a> on the <a href="rendering/render_root.h">RenderRoot </a> (the root of the rendering tree) -object causes the rendering tree to tqlayout itself into the available space +object causes the rendering tree to layout itself into the available space (width) given by the the KHTMLView. After that, the drawContents() method of KHTMLView can call RenderRoot->print() with appropriate parameters to actually paint the document. This is not 100% correct, when parsing incrementally, but @@ -291,10 +291,10 @@ that defines the DTD to use for HTML (used mainly in the parser). <dd>Java related stuff. <dt><a href="misc/">misc:</a> <dd>Some misc stuff needed in khtml. Contains the image loader, some misc definitions and the -decoder class that converts the incoming stream to tqunicode. +decoder class that converts the incoming stream to unicode. <dt><a href="rendering">rendering:</a> <dd>Everything thats related to bringing a DOM tree with CSS declarations to the screen. Contains -the definition of the objects used in the rendering tree, the tqlayouting code, and the RenderStyle objects. +the definition of the objects used in the rendering tree, the layouting code, and the RenderStyle objects. <dt><a href="xml/">xml:</a> <dd>The XML part of the DOM implementation, the xml tokenizer. </dl> @@ -309,7 +309,7 @@ is part of dom/* checks for this flag and throws the exception. <p> All the above is to give you a quick introduction into the way khtml brings an HTML/XML file to the screen. It is by no way complete or even 100% correct. I left out many problems, I will perhaps add either on request -or when I tqfind some time to do so. Let me name some of the missing things: +or when I find some time to do so. Let me name some of the missing things: <ul> <li>The decoder to convert the incoming stream to Unicode <li>interaction with konqueror/applications @@ -329,7 +329,7 @@ if you don't immediately understand how it works. On the other hand, it is by no get used a lot, that probably has the biggest number of remaining bugs (even though it's sometimes hard to know if some behavior is really a bug). <blockquote> -Some parts of it's code are however <b>extremely touchy</b> (especially the tqlayouting algorithms), +Some parts of it's code are however <b>extremely touchy</b> (especially the layouting algorithms), and making changes there (that might fix a bug on one web page) might introduce severe bugs. All the people developing khtml have already spend huge amounts of time searching for such bugs, that only showed up on some web pages, and thus were found only a week after the change that |