diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-10-14 09:04:52 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-10-14 09:04:52 +0200 |
commit | 725c6dab378eab3716d41606ee23cacf17c39d8f (patch) | |
tree | def1dc58e461b19533514a279d85987ecea91178 /src/styleengine.cc | |
parent | d38e92bed2f63a33e37ce134bde5f103f3027982 (diff) |
inline setNonCssHint()
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index 6784314c..790f1bd1 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -135,20 +135,6 @@ void StyleEngine::setStyle (const char *styleAttr) { }; /** - * \brief set properties that were definded using (mostly deprecated) HTML - * attributes (e.g. bgColor). - */ -void StyleEngine::setNonCssHint (CssPropertyName name, CssValueType type, - CssPropertyValue value) { - Node *n = stack->getRef (stack->size () - 1); - - if (!n->nonCssProperties) - n->nonCssProperties = new CssPropertyList (true); - - n->nonCssProperties->set(name, type, value); -} - -/** * \brief Instruct StyleEngine to use the nonCssHints from parent element * This is only used for tables where nonCssHints on the TABLE-element * (e.g. border=1) also affect child elements like TD. |