diff --git a/src/attrs.c b/src/attrs.c index 8783248..04fbc49 100644 --- a/src/attrs.c +++ b/src/attrs.c @@ -1763,6 +1763,9 @@ void CheckNumber( TidyDocImpl* doc, Node *node, AttVal *attval) /* font size may be preceded by + or - */ if ( nodeIsFONT(node) && (*p == '+' || *p == '-') ) ++p; + /* tabindex may be preceeded by - */ + if (attval->attribute && (strcmp(attval->attribute,"tabindex") == 0) && (*p == '-')) + ++p; while (*p) {