Skip to content

Commit

Permalink
backout Bug 456147
Browse files Browse the repository at this point in the history
  • Loading branch information
Olli Pettay authored and Olli Pettay committed Sep 20, 2008
1 parent 898fd2b commit 789b700
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 27 deletions.
12 changes: 0 additions & 12 deletions layout/reftests/bugs/colored-strike-ref.html

This file was deleted.

13 changes: 0 additions & 13 deletions layout/reftests/bugs/colored-strike.xul

This file was deleted.

2 changes: 1 addition & 1 deletion layout/reftests/bugs/reftest.list
Original file line number Diff line number Diff line change
Expand Up @@ -916,4 +916,4 @@ fails == 441259-2.html 441259-2-ref.html # bug 441400
== 451168-1.html 451168-1-ref.html
== 454361.html about:blank
== 455280-1.xhtml 455280-1-ref.xhtml
== colored-strike.xul colored-strike-ref.html

2 changes: 1 addition & 1 deletion layout/xul/base/src/nsTextBoxFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ nsTextBoxFrame::PaintTitle(nsIRenderingContext& aRenderingContext,
fontMet->GetStrikeout(offset, size);
gfxFloat offsetPixel = presContext->AppUnitsToGfxUnits(offset);
gfxFloat sizePixel = presContext->AppUnitsToGfxUnits(size);
nsCSSRendering::PaintDecorationLine(ctx, strikeColor,
nsCSSRendering::PaintDecorationLine(ctx, underColor,
pt, gfxSize(width, sizePixel),
ascentPixel, offsetPixel,
NS_STYLE_TEXT_DECORATION_LINE_THROUGH,
Expand Down

0 comments on commit 789b700

Please sign in to comment.