diff --git a/khtml/ChangeLog b/khtml/ChangeLog
index 4e56fb2be1..e7feb903a1 100644
--- a/khtml/ChangeLog
+++ b/khtml/ChangeLog
@@ -1,2513 +1,2520 @@
+2004-12-29 Allan Sandfeld Jensen
+
+ Add :enabled and :disabled pseudo-classes
+
+ * css/css_base.{h,cpp}: Parse new pseudoclases
+ * css/cssstyleselector.cpp: Implement new selectors
+
2004-12-08 Allan Sandfeld Jensen
Merge encoding detection from WebCore
* misc/decoder.{h,cpp}: Detect XML-encoding, comments in headers and other merges
* khtml_part.cpp: Frames inherits parents encoding as their default
2004-12-08 Allan Sandfeld Jensen
Merge :target pseudo-class from WebCore
* css/cssstyleselector.cpp: Uncomment :target handling
* xml/dom_docimpl.{h,cpp}: Add (set)cssTarget.
* khtml_part.cpp: Call setCssTarget on anchors
2004-12-07 Allan Sandfeld Jensen
Implement/merge CSS2-3 text-shadow property
* css/*: Merge values and parsing from WebCore
* render/render_style.{h,cpp}: Merge CSS3Inherited and ShadowData classes
* render/render_text.{h,cpp}: Implement new paintShadow function
2004-12-06 Allan Sandfeld Jensen
* rendering/bidi.cpp: Layout arabic numbers with a separator correctly.
2004-12-02 Allan Sandfeld Jensen
Implement remaining CSS2 list-style-types and a few CSS3
* rendering/render_list.cpp: New algorithms for hiragana, katakana,
armenian, georgian and decimal-leading-zero.
Also fix greek and latin list-styles for larger values.
* css/cssvalues.cpp: Parse box, -khtml-diamond, -khtml-arabic-indic,
-khtml-persian, -khtml-urdu and -khtml-upper-greek
* rendering/render_style.h: Expand list-style enum
2004-11-30 Germain Garand
* css/cssstyleselector.{cpp,h}: fontSizes array now uses a QValueVector;
made "font-size: smaller/bigger" follow the standard font scale
when possible.
* css/html4.css: made / use font-size: bigger/smaller (#82657)
2004-11-29 Allan Sandfeld Jensen
* css/cssstyleselector.cpp: Handle :lang selector
2004-11-27 Germain Garand
merge WebCore differences in logic for Auto table layout
* rendering/table_layout.cpp (calcEffectiveWidth/layout):
distribute remaining width starting with fixed rather than percent (#88104).
2004-11-26 Germain Garand
merge zero deep-copy TokenizerString class from WebCore
* html/htmltokenizer.{cpp,h}
* misc/stringit.{cpp,h}
* xml/xml_tokenizer.{cpp,h}
2004-11-23 Allan Sandfeld Jensen
Implement the structual pseudo-selectors of CSS3.
* css/tokenizer.flex: Add nth and NOTFUNCTION tokens.
The later because the not-function is unique in its parsing.
* css/tokenizer.cpp: Manually merge output from flex :(
* css/parser.y: Update parsing of pseudo-functions.
Also enables correct parsing of :lang and :contains.
* css/css_base.{h,cpp}: Add new pseudoselectors
* css/cssstyleselector.cpp: Implement new selectors
2004-11-22 Germain Garand
* rendering/bidi.cpp (layoutInlineChildren): for elements with some kind of
scrolling overflow and a variable height, include the scrollbar height in
calculations to avoid masking content (#89136).
* rendering/render_block.cpp (layoutBlock/layoutBlockChildren): ditto.
* rendering/render_box.cpp (contentWidth/contentHeight): subtract scrollbars
height/width when applicable.
2004-11-22 Allan Sandfeld Jensen
Implement CSS border on form-widgets
* css/cssvalues.in: Add -khtml-native
* css/cssparser.cpp: Accept -khtml-native as a border-type
* css/cssstyleselector.cpp: BNATIVE and not BNONE is now lowest border-style
* css/html4.css: Make -khtml-native default border-style for form-widgets
* render/render_style.h: Add BNATIVE
* render/render_object.cpp: Treat BNATIVE like BNONE
* render/render_replaced.cpp: Remove native, and paint CSS border when allowed
2004-11-21 Germain Garand
float and flowAroundFloat fixes.
* css/html4.css: make fieldset -khtml-around-floats (#92979)
* rendering/render_block.cpp (layoutBlockChildren): cleanup float/flowAroundFloats
logic. Merges: add better RTL layouting of fAFs.
(lineWidth): guard against negative values
(clearFloats): don't copy floats if element defines a new block
formatting context (#93511)
(markAllDescendantsWithFloatsForLayout): add missing argument to
recursive call
(getClearDelta): merge
(InlineMinMaxIterator::next): exclude positioned elements
(calcInlineMinMaxWidth): merge float clearing adjustments
(calcBlockMinMaxWidth): ditto
* rendering/render_box.cpp (calcWidth): use containingBlockWidth
* rendering/render_object.cpp (isHR): new. Evil but useful for quirkmode (cf. usesLineWidth).
(flowAroundFloats): add replaced and overflowClip elements
(usesLineWidth): adapt to above.
* rendering/render_table.cpp (calcWidth): style()->flowAroundFloats => flowAroundFloats()
2004-11-19 Stephan Kulow
* rendering/render_form.cpp (updateFromElement): restore scrolling position in case of a change
in text and do not trigger the update code more often than necessary
2004-11-17 Allan Sandfeld Jensen
* render/render_table.{h,cpp}: Improve distribution of excess height
2004-11-17 Allan Sandfeld Jensen
* render/render_table.cpp: Respect margins when calculating width to be distributed.
2004-11-16 Germain Garand
* rendering/render_replaced.{cpp,h} (cancelPendingResize): allow
canceling of scheduled widget resizes, to avoid flicker when we
had to perform temporary layouts.
* rendering/render_table.cpp (calcRowHeight): displace resetting layout of cells with
percent children here and mark those dirty, or we might get zero-height widgets on resize
(cf. map24.com)
(layout): ditto.
(layoutRows): cancel widget resizes from temporary layouts.
2004-11-16 Stephan Kulow
* rendering/break_lines.cpp (khtml): adding patch by Otto Pattara to support
libthai for correct line breaks
2004-11-15 Allan Sandfeld Jensen
Fix odd spacing in gmail-composer and zeg-shop.de
* render/render_box.h: Change auxillary box-size functions to protected
* render/render_table.cpp: Calculate percentage heights based on containing box
rather than viewport, by merging code with renderBox.
2004-11-09 Germain Garand
fix globeandmail.com famlily of crashes (#65715)
* rendering/render_box.cpp (createAnonymousBlock): moved from RenderFlow
(restructureParentFlow): check soundness of parent's flow structure with regard to
the child's new display. Adapted from WebCore.
(setStyle): check parent if floats or positioned objects become in-flow
and thus affects flow structure.
* rendering/render_flow.cpp (createAnonymousBlock): moved.
* rendering/render_inline.cpp (splitInlines): use addChildToFlow
rather than appendChildNode
* rendering/render_line.cpp: display COMPACT cleanups
* rendering/render_object.cpp: ditto.
2004-11-06 Allan Sandfeld Jensen
Implement CSS3 property box-sizing to match MacIE, Opera and Mozilla
* css/css*.in: Add new property and primitive values
* css/cssparser.cpp: Detect content-box and border-box as primitives
* css/cssstyleselector.cpp: Parse box-sizing
* render/render_style.h: Add box-sizing to non-inherited values
* render/render_box.cpp: Consult box-sizing before adding padding and
border to width and height
2004-11-05 Germain Garand
* khtml_part.cpp (closeURL/slotData/restoreState): avoid triggering
full repaints of the view before the first layout is done.
2004-11-05 Germain Garand
* css/cssstyleselector.cpp (computeFontSizes): add compensated font scale
from Todd Fahrner's "Toward a standard font size interval system"
article for 12ppem and below (suggested by Bert Bos )
2004-11-04 Stephan Kulow
* rendering/bidi.cpp (bidiReorderLine): applying patch by Mitz Pettel
to fix neutral types at beginning of context
2004-11-03 Germain Garand
* khtmlview.cpp (slotScrollBarMoved): make sure we are layouted before
scrolling if we are still loading (#51473)
2004-11-02 Stephan Kulow
* rendering/render_replaced.cpp (setStyle): set hidden widgets to invisible
* xml/dom_docimpl.cpp (recalcStyleSelector): avoid invalid casts on XML documents
2004-11-02 Germain Garand
* css/cssstyleselector.cpp (adjustRenderStyle):
ignore relative positioning on table sections. CSS 2.1 does not
define that, but it is a consensus amongst all major browsers.
2004-11-01 Sandro Giessl
* rendering/render_replaced.cpp (copyWidget): don't fill the
background of QFrames. they paint their own background now
2004-10-30 Stephan Kulow
* html/html_formimpl.cpp (parseAttribute): ignore height element
for input elements that are not image
2004-10-28 Stephan Kulow
* html/html_documentimpl.cpp (determineParseMode): adding a fixed list of
doctypes to enable quirks mode on (derived from Webcore, but majorly revised)
* enable strict CSS parsing also for transitional doctypes
2004-10-27 Germain Garand
make font-sizes CSS2.1 compliant.
* css/cssstyleselector.cpp (computeFontSizes): use standard ratios
from CSS 2.1 15.7.
(applyRule): don't apply zoom factor to ems/exs relative values (#91228).
* css/html4.css: Hx elements - margin ratios are now 1.1/corresponding ratio.
Switch to absolute sizes from CSS 2.1 15.7
2004-10-27 Stephan Kulow
* css/cssstyleselector.cpp (checkOneSelector): match exact matches case sensitive
only in XHTML - HTML attributes are all case insensitive
2004-10-26 Stephan Kulow
* html/html_elementimpl.cpp (addCSSProperty): don't add all css properties in
lower case but select those those where it matters
2004-10-26 Allan Sandfeld Jensen
* rendering/bidi.{h,cpp}: Merge bidi-changes from WebCore
2004-10-26 David Faure
* khtml_part.cpp (urlSelected): Only call recursiveFrameRequest if target is
different from _self, _top, _blank and _parent. See tests/frames/target/*.
2004-10-25 David Faure
* khtml_part.cpp (processObjectRequest): connect to completed(bool) for