]> git.saurik.com Git - wxWidgets.git/blame - src/html/m_style.cpp
avoid setting initial position if it was not specified, broken in r70734
[wxWidgets.git] / src / html / m_style.cpp
CommitLineData
c44fdc94 1/////////////////////////////////////////////////////////////////////////////
93763ad5 2// Name: src/html/m_style.cpp
c44fdc94
VS
3// Purpose: wxHtml module for parsing <style> tag
4// Author: Vaclav Slavik
c44fdc94 5// Copyright: (c) 2002 Vaclav Slavik
65571936 6// Licence: wxWindows licence
c44fdc94
VS
7/////////////////////////////////////////////////////////////////////////////
8
c44fdc94
VS
9#include "wx/wxprec.h"
10
2b5f62a0 11#ifdef __BORLANDC__
93763ad5 12 #pragma hdrstop
c44fdc94
VS
13#endif
14
93763ad5
WS
15#if wxUSE_HTML && wxUSE_STREAMS
16
b4f4d3dd 17#ifndef WX_PRECOMP
c44fdc94
VS
18#endif
19
20#include "wx/html/forcelnk.h"
21#include "wx/html/m_templ.h"
22
23FORCE_LINK_ME(m_style)
24
25
26TAG_HANDLER_BEGIN(STYLE, "STYLE")
fc7a2a60 27 TAG_HANDLER_CONSTR(STYLE) { }
c44fdc94 28
574c939e 29 TAG_HANDLER_PROC(WXUNUSED(tag))
c44fdc94
VS
30 {
31 // VS: Ignore styles for now. We must have this handler present,
32 // because CSS style text would be rendered verbatim otherwise
d1da8872 33 return true;
c44fdc94
VS
34 }
35
36TAG_HANDLER_END(STYLE)
37
38
39TAGS_MODULE_BEGIN(StyleTag)
40
41 TAGS_MODULE_ADD(STYLE)
42
43TAGS_MODULE_END(StyleTag)
44
45#endif