Skip to content

Commit

Permalink
Backed out changeset 9b0b2391485c due to linker errors related to nsS…
Browse files Browse the repository at this point in the history
…tyleStructInlines.h not being included enough.
  • Loading branch information
dbaron committed Jul 17, 2008
1 parent 8ef9b02 commit 0d1a0dc
Show file tree
Hide file tree
Showing 73 changed files with 125 additions and 1,993 deletions.
4 changes: 2 additions & 2 deletions content/html/content/src/nsGenericHTMLElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,8 @@ nsGenericHTMLElement::GetOffsetRect(nsRect& aRect, nsIContent** aOffsetParent)
if (parent &&
parent->GetStylePosition()->mBoxSizing != NS_STYLE_BOX_SIZING_BORDER) {
const nsStyleBorder* border = parent->GetStyleBorder();
origin.x -= border->GetActualBorderWidth(NS_SIDE_LEFT);
origin.y -= border->GetActualBorderWidth(NS_SIDE_TOP);
origin.x -= border->GetBorderWidth(NS_SIDE_LEFT);
origin.y -= border->GetBorderWidth(NS_SIDE_TOP);
}

// XXX We should really consider subtracting out padding for
Expand Down
2 changes: 1 addition & 1 deletion content/html/document/src/nsImageDocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ nsImageDocument::CheckOverflowing(PRBool changeState)
nsMargin m;
if (styleContext->GetStyleMargin()->GetMargin(m))
visibleArea.Deflate(m);
m = styleContext->GetStyleBorder()->GetActualBorder();
m = styleContext->GetStyleBorder()->GetBorder();
visibleArea.Deflate(m);
if (styleContext->GetStylePadding()->GetPadding(m))
visibleArea.Deflate(m);
Expand Down
6 changes: 1 addition & 5 deletions dom/public/idl/css/nsIDOMCSS2Properties.idl
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ interface nsIDOMCSS2Properties : nsISupports
// raises(DOMException) on setting
};

[scriptable, uuid(f1781ae4-00e6-4751-8698-2925f925fd76)]
[scriptable, uuid(816581b0-3d89-11dd-ae16-0800200c9a66)]
interface nsIDOMNSCSS2Properties : nsIDOMCSS2Properties
{
/* Non-DOM 2 extensions */
Expand Down Expand Up @@ -596,8 +596,4 @@ interface nsIDOMNSCSS2Properties : nsIDOMCSS2Properties

attribute DOMString MozBoxShadow;
// raises(DOMException) on setting

attribute DOMString MozBorderImage;
// raises(DOMException) on setting

};
3 changes: 1 addition & 2 deletions gfx/thebes/public/gfxContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,7 @@ class THEBES_API gfxContext {
* Uses a surface for drawing. This is a shorthand for creating a
* pattern and setting it.
*
* @param offset from the source surface, to use only part of it.
* May need to make it negative.
* @param offset ?
*/
void SetSource(gfxASurface *surface, const gfxPoint& offset = gfxPoint(0.0, 0.0));

Expand Down
Loading

0 comments on commit 0d1a0dc

Please sign in to comment.