Robert O'Callahan
148452d80d
Bug 480345. Handle painting of background images on pages which have no in-flow content. r+sr=dbaron
2009-03-18 13:33:03 +13:00
Boris Zbarsky
fdcc20ad56
Bug 481769. Treat ib special inline siblings as continuations for purposes of background painting. r+sr=roc
2009-03-06 15:32:20 -05:00
Zack Weinberg
a370347326
Bug 479156. Fix unit scale factors in border-image drawing. r+sr=roc
2009-02-24 21:31:22 +13:00
L. David Baron
baa53e65cc
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 21:29:21 -08:00
Zack Weinberg
6d448a1bf7
Bug 477732: fix scaling of border-image side tiles with 'repeat'. r+sr=roc
2009-02-20 16:33:30 +13:00
L. David Baron
3d8a852124
Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related.
2009-02-19 13:51:46 -08:00
L. David Baron
60747c305a
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 12:33:09 -08:00
L. David Baron
424982a20c
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-19 11:03:28 -08:00
L. David Baron
56c33cf7b8
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
766bd91820
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
c189908f1f
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-19 07:29:27 -08:00
L. David Baron
204c9f0ed9
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
eaa0c627dd
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-18 17:13:25 -08:00
L. David Baron
34ef6a8cb0
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-18 17:13:24 -08:00
Zack Weinberg
c6de6120b4
Bug 476557. Update view manager cache of page background color in PresShell::Paint, not nsCSSRendering::PaintBackground; permits a small API cleanup. r+sr=roc
2009-02-16 14:11:34 +13:00
Zack Weinberg
eaa912e3c1
Bug 455364. Use nsLayoutUtils::DrawImage helpers to draw border-images, fixing rounding issues. r+sr=roc
2009-02-16 14:04:03 +13:00
Michael Ventnor
87dd7633de
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13:00
Bernd
baf1f33cfe
fix a pence post error in painting of dotted border collapse borders r/sr=roc bug 126540
2009-02-08 17:42:01 +01:00
Robert O'Callahan
dfeb0ba2d1
Backed out changeset a142df653655
2009-02-07 23:37:23 +13:00
Zack Weinberg
a2fa3dc9f5
Bug 455364. Make border-image drawing use nsLayoutUtils::DrawImage and friends so we get the right pixel-snapping behaviour. r+sr=roc
2009-02-07 21:35:54 +13:00
Daniel Holbert
461095eba1
Bug 472769: Use snapToPixels when redrawing dirty background rectangles, to fix painting error in widgets at fractional positions. r+sr=roc
2009-02-05 17:39:25 -08:00
Jim Mathies
7208db0b2b
Bug 450322 - Fix broken windows animation in Vista Aero. r+sr=roc.
2009-02-04 21:05:48 -06:00
Zack Weinberg
250dd2eead
Bug 475548. Don't let the view manager's DefaultBackgroundColor be translucent. r+sr=roc
2009-01-30 20:07:30 +13:00
Michael Ventnor
17fe3f3c52
Bug 475197. -moz-box-shadow needs to be hooked up to buttons and fieldsets since they have custom background painting code. r+sr=roc
2009-01-28 22:28:14 +13:00
Zack Weinberg
0dbf2bd062
Bug 474201: always set the view manager's default background in nsCSSRendering::PaintBackground, use only the prescontext's default background in PresShell::Paint. r+sr=roc
2009-01-22 17:18:59 +13:00
Zack Weinberg
100bdb81b8
Bug 473398. nsCSSRendering::PaintBackground should not try to fix up the canvas background color to be opaque. r+sr=roc
2009-01-16 21:15:29 +13:00
Jeremy Lea
3e1e90f73a
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
0f95227641
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
2009-01-12 14:20:59 -05:00
L. David Baron
514df2d048
Address my own review comment: Restore IsTransparent() check, which should restore old behavior for background-images when printing backgrounds is disabled. (Bug 456219) r=zwol
2009-01-10 08:37:01 -08:00
Benjamin Smedberg
7a084ac404
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
991a16d8bc
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Michael Ventnor
8d8b00c8e5
Bug 472410. Don't adjust selection colors if the background is a -moz-appearance that we can't know anything about. r+sr=roc
2009-01-09 13:29:38 +13:00
Zack Weinberg
0cc7758a9f
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
2009-01-09 13:28:32 +13:00
Robert O'Callahan
fb7d95f1e9
Backed out changeset 5041ce453104
2009-01-08 23:19:21 +13:00
Zack Weinberg
440b3cac59
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
2009-01-08 21:10:21 +13:00
Michael Ventnor
da9e4d7b4b
Bug 445741. Round rects consistently to avoid a gap between an element and its shadow. r+sr=roc
2009-01-05 13:41:01 +13:00
Michael Ventnor
81bf6790df
Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir
2008-12-06 19:54:36 +01:00
Michael Ventnor
8325d1cfe2
Bug 458031. Take dirty rect into account to limit box-shadow computation. r+sr=roc
2008-12-03 10:16:22 +13:00
Robert O'Callahan
0946f729ee
Bug 463952. Expand destArea according to CSS background-repeat *before* intersecting with bgClipArea, instead of after. r+sr=dbaron
2008-11-26 11:19:34 +13:00
Robert O'Callahan
2ad201e3df
Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron
2008-11-04 14:01:21 -08:00
Zack Weinberg
4f543d7ed0
Bug 455105 - IsSolidBorderEdge in nsCSSRendering.cpp ignores foreground borders; r=vladimir, sr=roc
2008-10-30 12:54:58 +03:30
L. David Baron
e7ff044de6
Merge backout of changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:36:44 -07:00
L. David Baron
3d410b3fa9
Backed out changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:36:17 -07:00
Masayuki Nakano
77680216ee
Bug 461512 nsCSSColorUtils doesn't support alpha color (border color is always solid color if the border-style is groove, ridge, inset, outset) r+sr=roc
2008-10-28 11:05:38 +09:00
L. David Baron
34a4887a9b
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2008-10-11 20:49:42 -04:00
L. David Baron
ef8e61306f
Fix glitches in border-image drawing. (Bug 449647) r=robarnold, sr=vlad
2008-10-07 15:10:19 -07:00
Zack Weinberg
a0a9cf6229
Bug 450652 – Style system changes to support CSS3 border-radius – data structures for elliptical borders (part 1) [r+sr=dbaron]
2008-10-01 00:50:52 -05:00
Zack Weinberg
4a88677c9a
Bug 457617 - Remove one unused function and one vestigial function declaration from nsCSSRendering.cpp [r+sr=roc]
2008-10-01 00:43:02 -05:00
Robert O'Callahan
247c01e3bb
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
32d2314112
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc
2008-09-28 20:38:34 +13:00