зеркало из https://github.com/mozilla/gecko-dev.git
b=379419, bogus assertion in border code with NS_STYLE_BORDER_RULES_MARKER, r+sr=dbaron
This commit is contained in:
Родитель
221b96d8f0
Коммит
b754ef153a
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче