зеркало из https://github.com/mozilla/gecko-dev.git
Bug 477504 - Snap to device pixels any CSS border edges that are painted as a polygon. r=mats
This commit is contained in:
Родитель
5b66e21f11
Коммит
b3b5a2204e
|
@ -3614,7 +3614,7 @@ DrawSolidBorderSegment(nsRenderingContext& aContext,
|
|||
else {
|
||||
// polygon with beveling
|
||||
Point poly[4];
|
||||
SetPoly(NSRectToRect(aRect, aAppUnitsPerDevPixel), poly);
|
||||
SetPoly(NSRectToRect(aRect, aAppUnitsPerDevPixel, *drawTarget), poly);
|
||||
|
||||
Float startBevelOffset =
|
||||
NSAppUnitsToFloatPixels(aStartBevelOffset, aAppUnitsPerDevPixel);
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
== bc_dyn_table2.html bc_dyn_table2_ref.html
|
||||
== bc_dyn_table3.html bc_dyn_table3_ref.html
|
||||
== bc_borderoffset1.html bc_borderoffset1_ref.html
|
||||
fails-if(cocoaWidget) == bc_borderoffset2.html bc_borderoffset2_ref.html # bug 477504
|
||||
== bc_borderoffset2.html bc_borderoffset2_ref.html
|
||||
== frame_above_rules_all.html frame_above_rules_all_ref.html
|
||||
== frame_above_rules_cols.html frame_above_rules_cols_ref.html
|
||||
== frame_above_rules_groups.html frame_above_rules_groups_ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче