Commit Graph

692 Commits

Author SHA1 Message Date
L. David Baron
5604eb1d12 Convert outline offset storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
Zack Weinberg
10783b33d6 Bug 453566 - HTML element with rgba(0,0,0,0) background produces garbage on screen. r+sr=roc 2008-09-12 08:36:53 -07:00
Zack Weinberg
c0d565ccfa Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron 2008-09-12 08:35:53 -07:00
Robert O'Callahan
ca815c8c3b Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats 2008-09-11 12:24:16 +12:00
Robert O'Callahan
77f1eeb281 Bug 450350. Don't let the tiled vs single-image drawing path choice depend on the dirty area, since the rendering results can differ. r+sr=dbaron 2008-08-25 21:05:15 +12:00
Michael Ventnor
98ac1a87a4 Bug 447044 – First -moz-box-shadow not drawn when second one has large blur value. r=roc 2008-08-13 08:27:47 +02:00
Robert O'Callahan
4ae29503f5 Bug 449324. When an element has a solid border, clip background painting to the padding-rect so we don't bother trying to tile a repeating background under the border area. r+sr=vlad 2008-08-13 15:11:35 +12:00
Rob Arnold
5e2a617c8a Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
Robert O'Callahan
5104514d8f Bug 438987. Propagate background color correctly when the root element is a table. Relanding with a crash fix. r+sr=dbaron 2008-08-08 20:21:13 +12:00
Robert O'Callahan
11f74adf1a Bug 438987, backing out 2008-08-08 15:34:43 +12:00
Robert O'Callahan
3de083aee1 Bug 438987. Propagate background color correctly when the root element is a table. r+sr=dbaron 2008-08-08 13:52:41 +12:00
Zack Weinberg
a293f973ab Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad 2008-08-06 12:33:18 +02:00
Michael Ventnor
4feadbb042 Bug 448903. Fix bounds checking in blur code. r+sr=roc 2008-08-04 14:18:46 +12:00
Markus Stange
5ca403efdf Bug 446463 - DrawWidgetBackground can't snap to pixels properly, remove translation. r+sr=roc. 2008-07-27 18:08:51 +02:00
Vladimir Vukicevic
5c476f5935 b=424423, border rendering is slow: Part 1; r+sr=roc 2008-07-23 10:25:23 -07:00
Andrew Smith
925ffa073b Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
f51a50d4ed Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith
97a13b7ef1 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Michael Ventnor
3ad3493d50 Bug 444925 – Crash [@ nsContextBoxBlur::BoxBlurHorizontal] with mathml:munderover and text-shadow. r+sr=roc 2008-07-14 12:35:15 +02:00
Michael Ventnor
43852934f9 Bug 439343 - "Crash [@ _moz_cairo_surface_set_device_offset ] with text-shadow, large text-indent, font-size and letter-spacing" [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=roc] 2008-07-08 00:43:00 -05:00
Michael Ventnor
1bcc5dc078 Bug 212633 - "Add support for CSS3 box-shadow" (rendering support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=roc] 2008-07-07 19:57:47 -05:00
Michael Ventnor
150c4b66e1 Implement text-shadow rendering (bug 10713). r+sr=roc. Relanding with fixes to make tests pass on Mac 2008-06-13 10:02:32 +12:00
cd6776c3e4 Backing out text-shadow due to Mac issues 2008-06-12 17:32:31 +12:00
Michael Ventnor
0783f3a97a Implement text-shadow rendering. 2008-06-12 14:34:40 +12:00
L. David Baron
7bc5975758 Snap background origin and clip areas to device pixels to prevent tiling from varying for subpixel position changes that don't change the box's visible position at all. Tests by roc (433640-*) and me (background-image-tiling-*). b=433640 r+sr=roc 2008-06-03 15:25:31 -07:00
L. David Baron
0a538a162d Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc 2008-06-03 15:25:31 -07:00
L. David Baron
7cda9ed6f4 Make outlines on inlines containing blocks outline the blocks. b=424236,270191 r+sr=roc 2008-06-02 15:52:25 -07:00
50ee86464c Back out patch for bug 397303 due to serious perf regressions; r/sr=roc 2008-04-19 22:31:30 -07:00
782f501f04 Bug 399258. nsCSSRendering::PaintBorder should not try to optimize away the case where the dirty rectangle is inside the element's padding-rect, because border-radius can make the border appear inside the padding-rect. nsDisplayBorder::OptimizeVisibility does this optimization correctly already so just remove it from PaintBorder. r+sr=vlad, a=damon 2008-04-14 18:41:12 -07:00
41f0a264ce Bug 427420 selection decoration lines (spell checker's underline and IME composing string underline) are not displayed r+sr+b1.9=roc 2008-04-07 16:57:13 -07:00
f034354436 Correct the coordinates for selection decoration in right-to-left text. Bug 421042, r+sr=roc, a=beltzner 2008-04-06 01:12:09 -07:00
fba88e6022 Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad 2008-03-31 02:40:53 -07:00
93e158ca25 Back out Robert O'Callahan's patch from bug 421885 due to reftest failure. 2008-03-28 02:32:03 -07:00
3e3f2c84d4 Bug 421885 - "Google reader search results have strange red line and broken border around them" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=vlad a=blocking1.9+] 2008-03-28 01:40:02 -07:00
1597ec2574 Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron 2008-03-09 14:55:05 -07:00
fc840b4df7 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
417a05ef5a Bug 403181. Various fixes to image rendering. Most importantly, we track the desired subimage of a CSS background image and ensure we don't sample outside it. r=vlad,sr=dbaron 2008-03-07 00:34:12 -08:00
6b7b9b14de b=417246, wrong border size rendering in some cases ; r=roc 2008-03-05 23:58:58 -08:00
1d87302e3a Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner 2008-03-05 16:05:26 -08:00
3f1708934f Bug 405308 [text-decoration] Link underline disappears (or is misaligned 1px) when scrolling r+sr=roc, a1.9=beltzner 2008-03-05 11:24:44 -08:00
7e1be3e802 Backing out 403181 again 2008-03-04 01:36:07 -08:00
882d7c97a3 Bug 403181. Track which subimage of an image we want to draw and copy it to a temporary surface if necessary to prevent sampling of pixels outside the subimage when zooming. Also, enable EXTEND_PAD or SetFilter(0) if the context has a transformation that's not a simple translation, since that might induce cairo to sample pixels outside the source (sub)image. r=vlad,sr=dbaron 2008-03-04 00:21:34 -08:00
7fe1ef2c9d Bug 403181 backout 2008-03-02 18:38:19 -08:00
3847dc9f22 Bug 403181. Use a temporary surface to prevent sampling of pixels outside the intended source rectangle when zooming the image in some cases. r=vlad,sr=dbaron,a=beltzner 2008-03-02 17:01:14 -08:00
6dbb3d6f09 Bug 412093. Fix background images on bidi-split inlines to show the chunks in visual order. patch by Uri Bernstein, r+sr=roc 2008-02-27 02:46:29 -08:00
1c65821da4 Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner 2008-02-21 00:37:27 -08:00
cfe95cccf7 Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep 2008-02-19 10:47:34 -08:00
4cb5209c6c Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep 2008-02-19 10:46:21 -08:00
a1a8870827 Back out for now, until I have a chance to fix reftests depending on old behavior. 2008-02-19 09:28:00 -08:00
c3608b0309 Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep 2008-02-19 08:48:09 -08:00