Commit Graph

869 Commits

Author SHA1 Message Date
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
7e0ba269bb Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep 2008-02-19 08:46:29 -08:00
3142e26930 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
01fdcf7983 Bug 359568 - "Radius of border corner does not cut off contents of box" (Undo the hack to fallback to non-rounded fill when mBorder.colors is set) [p=alfredkayser@gmail.com (Alfred Kayser) r=vlad sr=roc a1.9=schrep] 2008-02-07 01:44:18 -08:00
f7d18f2873 Adjust for viewport scrollbars when positioning a fixed background. b=402807 r+sr=roc a=blocking1.9 2008-02-06 10:22:24 -08:00
1ede91a80e Reverting fix for bug 412093 due to bustage. Sorry 2008-01-22 12:57:35 -08:00
d97bb02d69 For continuous background inlines, apply the background image to bidi continuations in visual order, and for RTL blocks, in RTL order. bug=412093 r+sr+a1.9=roc 2008-01-22 12:37:49 -08:00
2539f6db18 b=397303, thebes rendering of inset/outset borders slow, bandaid; r+sr=roc 2008-01-14 14:36:30 -08:00
df436be47e b=406782, double rendering of bullets on wikimo, r+sr=roc 2008-01-10 14:10:38 -08:00
59d73d13b3 Look at all continuations, not just in-flows, when tracking frames sharing a background image. bug=411046, r+sr=roc 2008-01-09 11:19:49 -08:00
5cde2134e9 Don't try to draw 'border-style:hidden' borders. b=389196 r+sr+a=vladimir 2008-01-04 10:11:10 -08:00
3e225b627a bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons 2007-12-19 11:40:18 -08:00
0d2a47ea90 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart 2007-12-18 15:01:15 -08:00
5fbfef5e9a b=24998, background images spill beyond rounded borders; r+sr=roc 2007-12-18 12:59:48 -08:00
6aa9b580c3 Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -08:00
dfe9790c0b Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron 2007-12-02 22:51:57 -08:00
2927dedce8 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
6630863c56 Bug 381735 - "reenable antialiased border drawing on Linux" [p=dao r+sr=dbaron r=vlad a=blocking1.9+] 2007-10-08 14:09:45 -07:00
ca5c1e5f90 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 08:27:26 -07:00
6dcbc76640 Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 04:03:49 -07:00
e31f98164b Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 04:01:48 -07:00
f5d4190bff Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc 2007-08-06 01:15:00 -07:00
3ae0eeba01 b=382613, moz-border-radius of background color isn't clamped to 50%, r+sr=roc 2007-07-18 07:14:53 -07:00
f9f7ef27d2 Bug 384576 - adding -moz-border-radius to an element causes the background to be drawn without dpi scaling
r=sharparrow1, sr=roc
2007-07-11 21:04:33 -07:00