Revision 761089

Go back to digest for 20th January 2008

Bug Fixes in KDE Base

Maks Orlovich committed changes in /branches/KDE/4.0/kdelibs/khtml:

Move object loading to the DOM from the renderer, fixing the long-standing major bug that hidden iframes couldn't be interacted with.

The basic overview here is that a new DOM base class, HTMLPartContainerElementImpl is created, that manages the interaction with KHTMLPart when it comes to loading child parts.

KHTMLPart now keeps tracks of those per ChildFrame (along the way removing the confusion of having 2 m_frames in close quarters talking about different things); and the DOM objects for iframe/object/embed/frame/etc. request the loading themselves as needed.

The renderer "just" displays the part widget set from the DOM.

File Changes

Modified 12 files
  • /branches/KDE/4.0/kdelibs/khtml
  •   /khtml_part.cpp
  •   /khtml_part.h
  •   /khtmlpart_p.h
  •   /ecma/kjs_html.cpp
  •   /ecma/kjs_window.cpp
  •   /html/html_baseimpl.cpp
  •   /html/html_baseimpl.h
  •   /html/html_objectimpl.cpp
  •   /html/html_objectimpl.h
  •   /rendering/render_frames.cpp
  •   /rendering/render_frames.h
  •   /xml/dom_docimpl.cpp
12 files changed in total