mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 03:47:31 +09:00
Fix CSS border rounding and currentcolor clipping
This commit is contained in:
parent
6c7e6095b5
commit
84b9b77335
10 changed files with 147 additions and 21 deletions
|
|
@ -8352,7 +8352,9 @@ nsRuleNode::ComputeOutlineData(void* aStartStruct,
|
|||
SETCOORD_LH | SETCOORD_INITIAL_ZERO | SETCOORD_CALC_LENGTH_ONLY |
|
||||
SETCOORD_UNSET_INITIAL,
|
||||
aContext, mPresContext, conditions)) {
|
||||
outline->mOutlineOffset = tempCoord.GetCoordValue();
|
||||
outline->mOutlineOffset =
|
||||
NS_ROUND_OFFSET_TO_PIXELS(tempCoord.GetCoordValue(),
|
||||
mPresContext->AppUnitsPerDevPixel());
|
||||
} else {
|
||||
NS_ASSERTION(outlineOffsetValue->GetUnit() == eCSSUnit_Null,
|
||||
"unexpected unit");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue