]> git.saurik.com Git - wxWidgets.git/commitdiff
Recognize background-color style in wxHtmlWindow.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Dec 2011 01:21:29 +0000 (01:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Dec 2011 01:21:29 +0000 (01:21 +0000)
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

src/html/htmltag.cpp

index fdc71fe1710063e3212f899891ceaddb31a95973..7bf1fa8d2e302317e3ecc08e46600f9f6ca57517 100644 (file)
@@ -464,6 +464,7 @@ wxHtmlTag::wxHtmlTag(wxHtmlTag *parent,
         { "width",              "WIDTH"         },
         { "vertical-align",     "VALIGN"        },
         { "background",         "BGCOLOR"       },
+        { "background-color",   "BGCOLOR"       },
     };
 
     wxHtmlStyleParams styleParams(*this);