Merge branch 'master' of git://git.netsurf-browser.org/netsurf

This commit is contained in:
Michael Drake 2013-01-02 14:12:08 +00:00
commit 3f33f5327e

View File

@ -2516,20 +2516,17 @@ node_presentational_hint_width(nscss_select_ctx *ctx,
}
if ((width == NULL) ||
dom_string_lwc_isequal(width,
dom_string_caseless_lwc_isequal(width,
corestring_lwc_text) ||
dom_string_lwc_isequal(width,
dom_string_caseless_lwc_isequal(width,
corestring_lwc_search) ||
dom_string_lwc_isequal(width,
dom_string_caseless_lwc_isequal(width,
corestring_lwc_file) ||
dom_string_lwc_isequal(width,
dom_string_caseless_lwc_isequal(width,
corestring_lwc_password)) {
hint->data.length.unit = CSS_UNIT_EX;
}
dom_string_unref(width);
}
return CSS_OK;