b=379419, bogus assertion in border code with NS_STYLE_BORDER_RULES_MARKER, r+sr=dbaron

This commit is contained in:
vladimir@pobox.com 2007-05-20 15:44:45 -07:00
Родитель 221b96d8f0
Коммит b754ef153a
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -1618,6 +1618,11 @@ DrawBorderSides(gfxContext *ctx,
radiiPtr = &radii[0];
}
// if this got through, and it shouldn't have (see bug 379419),
// just ignore this.
if (borderRenderStyle & NS_STYLE_BORDER_STYLE_RULES_MARKER)
return;
// disable pretty drawing of dotted/dashed borders if
// we have a border radius
if (radiiPtr)