From: Vadim Zeitlin Date: Tue, 27 Dec 2011 01:21:29 +0000 (+0000) Subject: Recognize background-color style in wxHtmlWindow. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c7155388f5e7ba68d3c50c9234348c7012220c9e Recognize background-color style in wxHtmlWindow. Just treat it as a synonym for "background" i.e. the same as HTML3 BGCOLOR. Closes #13173. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/htmltag.cpp b/src/html/htmltag.cpp index fdc71fe171..7bf1fa8d2e 100644 --- a/src/html/htmltag.cpp +++ b/src/html/htmltag.cpp @@ -464,6 +464,7 @@ wxHtmlTag::wxHtmlTag(wxHtmlTag *parent, { "width", "WIDTH" }, { "vertical-align", "VALIGN" }, { "background", "BGCOLOR" }, + { "background-color", "BGCOLOR" }, }; wxHtmlStyleParams styleParams(*this);