diff --git a/Common/3dParty/html/css/src/CCompiledStyle.cpp b/Common/3dParty/html/css/src/CCompiledStyle.cpp
index a88d6fcda5..45af11794c 100644
--- a/Common/3dParty/html/css/src/CCompiledStyle.cpp
+++ b/Common/3dParty/html/css/src/CCompiledStyle.cpp
@@ -362,6 +362,7 @@ namespace NSCSS
}
//PADDING
CASE(L"padding"):
+ CASE(L"mso-padding-alt"):
{
if (bIsThereBorder)
break;
@@ -385,6 +386,7 @@ namespace NSCSS
break;
}
CASE(L"padding-top"):
+ CASE(L"mso-padding-top-alt"):
{
if (bIsThereBorder)
break;
@@ -408,6 +410,7 @@ namespace NSCSS
break;
}
CASE(L"padding-right"):
+ CASE(L"mso-padding-right-alt"):
{
if (bIsThereBorder)
break;
@@ -432,6 +435,7 @@ namespace NSCSS
break;
}
CASE(L"padding-bottom"):
+ CASE(L"mso-padding-bottom-alt"):
{
if (bIsThereBorder)
break;
@@ -455,6 +459,7 @@ namespace NSCSS
break;
}
CASE(L"padding-left"):
+ CASE(L"mso-padding-left-alt"):
{
if (bIsThereBorder)
break;
diff --git a/Common/3dParty/html/css/src/CCssCalculator_Private.cpp b/Common/3dParty/html/css/src/CCssCalculator_Private.cpp
index 61e0aafbdd..0b56159c1f 100644
--- a/Common/3dParty/html/css/src/CCssCalculator_Private.cpp
+++ b/Common/3dParty/html/css/src/CCssCalculator_Private.cpp
@@ -502,6 +502,8 @@ namespace NSCSS
});
}
+ pStyle->AddStyle(arSelectors[i].m_mAttrs, i + 1);
+
for (const CElement* oElement : arFindElements)
pStyle->AddStyle(oElement->GetStyle(), i + 1);
diff --git a/Common/3dParty/html/css/src/CNode.h b/Common/3dParty/html/css/src/CNode.h
index 89df5b80a6..15efe58fdb 100644
--- a/Common/3dParty/html/css/src/CNode.h
+++ b/Common/3dParty/html/css/src/CNode.h
@@ -3,7 +3,7 @@
#include
#include
-//#include