351 Commits

Author SHA1 Message Date
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
vladimir%pobox.com
78df8839f7 b=379505, content overflows border with -moz-border-radius: a.k.a. death to QBCurve; r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@227227 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 08:37:30 +00:00
vladimir%pobox.com
9dd6bbf887 b=368247, new border rendering approach, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@227211 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 02:46:54 +00:00
dbaron%dbaron.org
6b86b28d36 Disable antialiasing of borders again, for Linux only, to avoid the performance penalty of pushing/popping groups. b=380473 r=vlad
git-svn-id: svn://10.0.0.236/trunk@226880 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 15:56:15 +00:00
vladimir%pobox.com
3267386636 b=380561, missing borders when dashed and dotted border-style is used, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@226687 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-20 22:49:20 +00:00
vladimir%pobox.com
f00acd618e b=379419, bogus assertion in border code with NS_STYLE_BORDER_RULES_MARKER, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226684 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-20 22:44:45 +00:00
vladimir%pobox.com
15cb385331 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@226683 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-20 22:41:21 +00:00
vladimir%pobox.com
dfd838553c b=379474, borders render incorrectly when using moz-border-radius (also 379446, hr noshade renders incorrectly); r=dbaron
git-svn-id: svn://10.0.0.236/trunk@226124 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 17:40:08 +00:00
vladimir%pobox.com
fe4c4a3356 b=379328, focus outline rendering regression fix
git-svn-id: svn://10.0.0.236/trunk@225324 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 04:58:44 +00:00
vladimir%pobox.com
8443976b1a b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@225319 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 03:31:25 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
roc+%cs.cmu.edu
a683548fea Bug 375917. Pass appunits-per-CSS-pixel ratio to DrawSolidBorderSegment instead of some meaningless boolean. patch by Jeremy Lea, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222621 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 02:53:45 +00:00
sharparrow1%yahoo.com
ef6b113983 Bug 375508: Outline drawing broken when outline doesn't overflow. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@222527 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-28 05:53:29 +00:00
dbaron%dbaron.org
e81955cfa2 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222053 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 00:58:20 +00:00
masayuki%d-toybox.com
7aac338174 Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221918 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 16:16:20 +00:00
joshmoz%gmail.com
c74127ff75 don't rely on language features to construct/destruct instance of InlineBackgroundData. b=373305 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221889 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 19:48:51 +00:00
sharparrow1%yahoo.com
ac106dc516 Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220852 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 00:23:42 +00:00