Commit Graph

692 Commits

Author SHA1 Message Date
Robert O'Callahan
9d5b5ae49a Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron 2009-09-07 12:35:14 +12:00
Michael Ventnor
1ee05e263e Bug 514670 - -moz-box-shadow should follow radius only on corners with radius. r=roc 2009-09-24 08:46:39 +02:00
Michael Ventnor
9a468033db Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc 2009-09-18 20:18:35 +02:00
Mats Palmgren
f82eedba5a Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Bobby Holley
684e46c218 Bug 435296 - Sync decode handling for decode-on-draw. r=roc 2009-09-12 16:44:18 -06:00
Bobby Holley
464b4712e3 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Dão Gottwald
77730b0314 Backed out changeset 1e6d52401dd2 2009-09-04 15:32:17 +02:00
Michael Ventnor
b40db5e2d3 Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc 2009-09-04 14:24:26 +02:00
Jeff Walden
02d78fdb67 Bug 508325 - Fix a second instance of the core problem fixed in the first push; also change NSCoordSaturatingMultiply into two separate functions, one of which requires the scale to be non-negative and one which doesn't. r=roc 2009-08-06 00:36:54 -07:00
Michael Ventnor
18752f0a52 Use the correct area for computing the gradient image for 'background-position: fixed' gradients. (Bug 509681) r=roc 2009-08-22 10:10:12 -07:00
Ryo Kawaguchi
877947a93e Implement background-image: -moz-image-rect(), which allows a region of an image to be used as a background image. (Bug 113577) r=roc, dbaron 2009-08-21 13:39:25 -07:00
Robert O'Callahan
28656073a1 Bug 507334, part 1: Remove nsDisplaySummary optimization, since it introduces extra display items that would disable the optimizations in part 2. r=dbaron 2009-08-13 19:09:50 -07:00
Michael Ventnor
b08d62114b Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron 2009-08-01 08:53:40 -07:00
Dão Gottwald
199fb785b6 Backed out changeset c086fca6fc55 2009-07-31 14:35:48 +02:00
Michael Ventnor
251c35256e Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc 2009-07-31 13:32:32 +02:00
Jeff Walden
e64e15befa Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz 2009-05-28 11:09:05 -07:00
Robert O'Callahan
f299999f2b Bug 505184. Remove unused aBorder parameter to PaintBackgroundLayout. r=dbaron 2009-07-22 12:44:50 +12:00
Joe Drew
2919d8a083 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc 2009-07-20 18:50:15 -07:00
Timothy Nikkel
9ed46b25ee Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc 2009-07-04 21:30:59 +12:00
Masayuki Nakano
efb019dbac Bug 486778 Spell checker's wavy line is sometimes drawn through misspelled words r+sr=roc 2009-07-01 01:52:16 +09:00
L. David Baron
6ab0590b2a Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Robert O'Callahan
0d073a71fe Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner 2009-05-28 17:01:42 +12:00
Arpad Borsos
471e3e73c0 Bug 492531 - Optimize some CSS and Reflow classes for memory usage; r+sr=dbaron 2009-05-13 10:26:48 +02:00
Michael Ventnor
3d37129f61 Bug 483533. Don't change shadow shape due to spread. r=roc 2009-05-13 21:42:39 +12:00
tn
1223893e4b Bug 485275. Display fallback background color for non-root documents as necessary. r+sr=roc 2009-04-25 20:19:23 +12:00
Michael Ventnor
157a84772c Bug 489319 - Box shadow's OptimizeVisibility() should take border radii into account. r+sr=roc 2009-04-24 11:24:44 +02:00
Dão Gottwald
e2cf35ea6a Backout bug 485275 (changeset 996c11579453) because of test failures 2009-04-18 10:53:27 +02:00
tn
26562bff79 Bug 485275 - trunk displays svg transformed foreign object html differently then 1.9. r+sr=roc 2009-04-18 09:11:29 +02:00
Boris Zbarsky
f88c99090f This should be a bit-check, not a boolean check. No bug, r+sr=dbaron 2009-04-14 16:53:29 -04:00
Robert Longson
fb792f097f Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc 2009-04-10 14:41:59 +01:00
Boris Zbarsky
bad370bcd0 Backed out changeset 86c8e18f20eb (bug 486933) due to landing on orange tree. 2009-04-09 11:54:43 -04:00
Robert Longson
07726db65b Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc 2009-04-09 13:17:50 +01:00
Robert Longson
ad93eabf2c Backout Bug 486933 on suspicion of causing reftest machine issues 2009-04-07 00:57:50 +01:00
Robert Longson
3ec7467838 Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc 2009-04-07 00:45:54 +01:00
Robert Longson
39b38430e3 Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc 2009-04-06 22:00:29 +01:00
Masayuki Nakano
3c52796fc8 Bug 486708 Should lift up selection underline as far as possible if it overflows from the descent space r+sr=roc 2009-04-06 14:53:00 +09:00
Robert O'Callahan
e5c398d437 Bug 476062. Don't suppress box-shadows on elements with -moz-appearance in chrome documents. r+sr=dbaron 2009-04-06 11:35:53 +12:00
Robert Longson
3c5ebb451f Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc 2009-04-05 10:52:14 +01:00
Masayuki Nakano
202351fbc8 Bug 338209 Make spellchecker use thicker wavy underlines instead of dotted underlines r+sr=roc 2009-04-03 16:26:28 +09:00
Robert O'Callahan
13bebc3327 Bug 476062. Instead of turning off -moz-appearance when an element has a box-shadow, just ignore the box-shadow. r+sr=dbaron 2009-04-01 14:07:18 +13:00
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