Page Speed Optimization Libraries
1.6.29.3
|
#include "scan_filter.h"
Public Member Functions | |
ScanFilter (RewriteDriver *driver) | |
virtual void | StartDocument () |
virtual void | StartElement (HtmlElement *element) |
virtual void | Cdata (HtmlCdataNode *cdata) |
virtual void | Comment (HtmlCommentNode *comment) |
virtual void | IEDirective (HtmlIEDirectiveNode *directive) |
virtual void | Characters (HtmlCharactersNode *characters) |
virtual void | Directive (HtmlDirectiveNode *directive) |
virtual void | Flush () |
virtual const char * | Name () const |
Filter that is run before any other, to help track base-tag usage and changes to help identify and deal conservatively with situation where HTML files update the base-tag more than once or use the base-tag prior to it being changed. Such situations are not well-defined and what we want to do is avoid rewriting any resources whose interpretation might be hard to predict due to browser differences.