aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r--src/styleengine.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 9a78869b..3bed02bf 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -108,6 +108,12 @@ class StyleEngine {
v.strVal = dStrdup(value);
setNonCssHint (name, type, v);
}
+ inline void setNonCssHint(CssPropertyName name, CssValueType type,
+ CssLength value) {
+ CssPropertyValue v;
+ v.lenVal = value;
+ setNonCssHint (name, type, v);
+ }
void inheritNonCssHints ();
void clearNonCssHints ();
void restyle (BrowserWindow *bw);