This commit is contained in:
Jim Derry 2015-02-01 18:09:17 +08:00
parent de97628f8f
commit 5897b66e1e

View file

@ -1242,6 +1242,7 @@ Bool FindCSSSpanEq( Node *node, ctmbstr *s, Bool deprecatedOnly )
static Bool CanApplyBlockStyle( Node *node )
{
if (TY_(nodeHasCM)(node,CM_BLOCK | CM_LIST | CM_DEFLIST | CM_TABLE)
&& !nodeIsDIV(node) && !nodeIsP(node)
&& !nodeIsTABLE(node) && !nodeIsTR(node) && !nodeIsLI(node) )
{
return yes;