include/HTMLRenderer/BoxHierarchy.hpp File Reference

#include "../HTMLParser/DOM.hpp"
#include "../Containers/Container.hpp"
#include "../CSS/CSSUnit.hpp"

Go to the source code of this file.

Namespaces

namespace  HTML
namespace  HTML::Renderer
namespace  Tests

Classes

class  HTML::Renderer::BoxHierarchy
 This class is used as a virtual "stack" in order to store the position of the given box in DOM hierarchy The idea is :
  • Each time the DOM iterator enters a child level, it push the element specific information (tag name, ID, class) on this object
  • When the iterator leaves a child level, the element specific information is popped from this object
  • When the iterator goes to the next sibling element, the last part is swap to the new element information
CSS engine will then be feed with these objects to give the right CSS style properties (using the parsed selector / rules to match the right styles). More...


(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is