mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Don't try to draw 'border-style:hidden' borders. b=389196 r+sr+a=vladimir
This commit is contained in:
parent
6d87e55ac2
commit
d2972d0a1e
@ -2539,7 +2539,9 @@ DrawBorders(gfxContext *ctx,
|
||||
sideBits = SIDE_BITS_ALL;
|
||||
}
|
||||
|
||||
if (borderStyles[side] != NS_STYLE_BORDER_STYLE_NONE) {
|
||||
const PRUint8 style = borderStyles[side];
|
||||
if (style != NS_STYLE_BORDER_STYLE_NONE &&
|
||||
style != NS_STYLE_BORDER_STYLE_HIDDEN) {
|
||||
// Draw the whole border. If we're not drawing multiple passes,
|
||||
// then sides are identical and no clip was set -- this will draw
|
||||
// the entire border. Otherwise, this will still draw the entire
|
||||
@ -2549,7 +2551,7 @@ DrawBorders(gfxContext *ctx,
|
||||
DrawBorderSides(ctx,
|
||||
borderWidths,
|
||||
sideBits,
|
||||
borderStyles[side],
|
||||
style,
|
||||
oRect, iRect,
|
||||
borderColors[side],
|
||||
compositeColors[side],
|
||||
|
Loading…
Reference in New Issue
Block a user