gtk2/testsuite/reftests/border-corner-zero-width-rendering.css
Benjamin Otte 7e5ac3a58d roundedbox: Treat path segments differently
If a side of the box is 0px wide, make the corners owned by the adjacent
sides. This avoids spilling over of unwanted colors from the 0-width
side into the corner.

New test for this case is included.
2015-01-22 16:25:54 +01:00

34 lines
395 B
CSS

* {
all: unset;
}
.background {
background-color: khaki;
color: purple;
}
.button {
border-radius: 10px;
padding: 5px;
}
.top {
border-top: 5px solid khaki;
padding-top: 0px;
}
.right {
border-right: 5px solid khaki;
padding-right: 0px;
}
.bottom {
border-bottom: 5px solid khaki;
padding-bottom: 0px;
}
.left {
border-left: 5px solid khaki;
padding-left: 0px;
}