Bug 477504 - Snap to device pixels any CSS border edges that are painted as a polygon. r=mats

This commit is contained in:
Jonathan Watt 2014-10-22 10:48:37 +01:00
Родитель 5b66e21f11
Коммит b3b5a2204e
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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