367 Commits

Author SHA1 Message Date
dbaron%dbaron.org
f19ad614de Wallpaper around crash. (Bug 421203) r+sr=roc a1.9.0.8=dveditz
git-svn-id: svn://10.0.0.236/trunk@256485 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-08 19:15:27 +00:00
dbaron%dbaron.org
50c9694814 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 a=beltzner
git-svn-id: svn://10.0.0.236/trunk@252719 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-01 03:44:17 +00:00
vladimir%pobox.com
9e4e4aa795 Back out patch for bug 397303 due to serious perf regressions; r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@250509 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-20 05:31:30 +00:00
roc+%cs.cmu.edu
e21b808a8f 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
git-svn-id: svn://10.0.0.236/trunk@250239 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-15 01:41:14 +00:00
masayuki%d-toybox.com
7a49595f7c Bug 427420 selection decoration lines (spell checker's underline and IME composing string underline) are not displayed r+sr+b1.9=roc
git-svn-id: svn://10.0.0.236/trunk@249754 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-07 23:57:13 +00:00
smontagu%smontagu.org
a64cd011a7 Correct the coordinates for selection decoration in right-to-left text. Bug 421042, r+sr=roc, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@249680 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-06 08:12:09 +00:00
roc+%cs.cmu.edu
a637e95fe3 Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad
git-svn-id: svn://10.0.0.236/trunk@248879 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-31 09:40:56 +00:00
reed%reedloden.com
ae08195e84 Back out Robert O'Callahan's patch from bug 421885 due to reftest failure.
git-svn-id: svn://10.0.0.236/trunk@248761 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-28 09:32:04 +00:00
reed%reedloden.com
e94a58dbee 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+]
git-svn-id: svn://10.0.0.236/trunk@248752 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-28 08:40:04 +00:00
roc+%cs.cmu.edu
16d1fe338a 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
git-svn-id: svn://10.0.0.236/trunk@247448 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 21:55:08 +00:00
roc+%cs.cmu.edu
29d568ceb9 Backing out Bug 403181. JPEG encoding test failure :-(
git-svn-id: svn://10.0.0.236/trunk@247295 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 09:28:36 +00:00
roc+%cs.cmu.edu
51477fde2d 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
git-svn-id: svn://10.0.0.236/trunk@247294 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 08:34:14 +00:00
vladimir%pobox.com
d8ab00f761 b=417246, wrong border size rendering in some cases ; r=roc
git-svn-id: svn://10.0.0.236/trunk@247182 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 07:59:01 +00:00
dbaron%dbaron.org
365d3bef72 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
git-svn-id: svn://10.0.0.236/trunk@247146 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 00:05:29 +00:00
masayuki%d-toybox.com
a14093c5dd Bug 405308 [text-decoration] Link underline disappears (or is misaligned 1px) when scrolling r+sr=roc, a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@247113 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 19:24:44 +00:00
roc+%cs.cmu.edu
3541027b94 Backing out 403181 again
git-svn-id: svn://10.0.0.236/trunk@246987 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 09:36:09 +00:00
roc+%cs.cmu.edu
1fcc1c8c17 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
git-svn-id: svn://10.0.0.236/trunk@246985 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 08:21:36 +00:00
roc+%cs.cmu.edu
7a0c37ad37 Bug 403181 backout
git-svn-id: svn://10.0.0.236/trunk@246891 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 02:38:21 +00:00
roc+%cs.cmu.edu
9e7fc92f64 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
git-svn-id: svn://10.0.0.236/trunk@246889 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 01:03:54 +00:00
roc+%cs.cmu.edu
7a98a7e3db Bug 412093. Fix background images on bidi-split inlines to show the chunks in visual order. patch by Uri Bernstein, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@246665 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 10:46:29 +00:00
mozilla%weilbacher.org
ff10632a73 Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246159 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 08:37:30 +00:00
dbaron%dbaron.org
a9c7cec63e Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
git-svn-id: svn://10.0.0.236/trunk@245996 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 18:47:35 +00:00
dbaron%dbaron.org
991e9997f2 Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep
git-svn-id: svn://10.0.0.236/trunk@245994 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 18:46:21 +00:00
dbaron%dbaron.org
90cff3a274 Back out for now, until I have a chance to fix reftests depending on old behavior.
git-svn-id: svn://10.0.0.236/trunk@245983 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 17:28:00 +00:00
dbaron%dbaron.org
d26fe6695b Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
git-svn-id: svn://10.0.0.236/trunk@245980 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 16:48:09 +00:00
dbaron%dbaron.org
408f7c7143 Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep
git-svn-id: svn://10.0.0.236/trunk@245979 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 16:47:12 +00:00
masayuki%d-toybox.com
d5d7f20c6e Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@245831 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 15:31:33 +00:00
reed%reedloden.com
4b276d412c 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]
git-svn-id: svn://10.0.0.236/trunk@245121 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 09:44:18 +00:00
mats.palmgren%bredband.net
513db3c268 Adjust for viewport scrollbars when positioning a fixed background. b=402807 r+sr=roc a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@245013 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-06 18:22:24 +00:00
uriber%gmail.com
90257435d9 Reverting fix for bug 412093 due to bustage. Sorry
git-svn-id: svn://10.0.0.236/trunk@243753 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-22 20:57:35 +00:00
uriber%gmail.com
ced3849031 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
git-svn-id: svn://10.0.0.236/trunk@243751 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-22 20:37:49 +00:00
vladimir%pobox.com
5784c86ee2 b=397303, thebes rendering of inset/outset borders slow, bandaid; r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@243074 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-14 22:36:30 +00:00
vladimir%pobox.com
f3e0041e79 b=406782, double rendering of bullets on wikimo, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@242860 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 22:10:38 +00:00
uriber%gmail.com
2fde2159de Look at all continuations, not just in-flows, when tracking frames sharing a background image. bug=411046, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@242742 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 19:19:49 +00:00
mats.palmgren%bredband.net
6c6c865690 Don't try to draw 'border-style:hidden' borders. b=389196 r+sr+a=vladimir
git-svn-id: svn://10.0.0.236/trunk@242365 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 18:11:10 +00:00
hwaara%gmail.com
8f36d2f127 bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons
git-svn-id: svn://10.0.0.236/trunk@241781 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 19:40:20 +00:00
vladimir%pobox.com
7525088701 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
git-svn-id: svn://10.0.0.236/trunk@241704 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 23:01:18 +00:00
vladimir%pobox.com
a5ababaf5c b=24998, background images spill beyond rounded borders; r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@241687 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 20:59:49 +00:00
dmose%mozilla.org
0714b46c51 Backing out fix for bug 392785 as per roc + mconnor.
git-svn-id: svn://10.0.0.236/trunk@240455 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 23:32:09 +00:00
masayuki%d-toybox.com
425bca40e0 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@240281 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 06:51:59 +00:00
tglek%mozilla.com
1b2f5bc689 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237496 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 00:00:06 +00:00
reed%reedloden.com
538466d811 Bug 381735 - "reenable antialiased border drawing on Linux" [p=dao r+sr=dbaron r=vlad a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@237418 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 21:09:45 +00:00
masayuki%d-toybox.com
5263a3cd1b Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233801 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 15:27:27 +00:00
masayuki%d-toybox.com
e43217ff03 Oops, backing-out previous checked-in, because tinderbox has RED.
git-svn-id: svn://10.0.0.236/trunk@233792 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 11:03:50 +00:00
masayuki%d-toybox.com
b045413a4f Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233791 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 11:01:49 +00:00
masayuki%d-toybox.com
a8014a587a Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@231524 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 08:15:02 +00:00
vladimir%pobox.com
652c247e96 b=382613, moz-border-radius of background color isn't clamped to 50%, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@230183 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 14:14:53 +00:00
db48x%yahoo.com
525634874e Bug 384576 – adding -moz-border-radius to an element causes the background to be drawn without dpi scaling
r=sharparrow1, sr=roc


git-svn-id: svn://10.0.0.236/trunk@229788 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 04:04:33 +00:00
mats.palmgren%bredband.net
d16cd27e96 Make the viewport area that of the root frame, or in paginated contexts, the page content frame. b=380816 r=sharparrow1 sr=roc
git-svn-id: svn://10.0.0.236/trunk@229300 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 01:13:07 +00:00
sharparrow1%yahoo.com
826e43bb05 Bug 386108: remove nsIDrawingSurface. rs=pavlov
git-svn-id: svn://10.0.0.236/trunk@228887 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 21:53:35 +00:00