Commit Graph

358 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
b85eb999a0 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
roc+@cs.cmu.edu
17ebdab033 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu
2c9f274033 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
vladimir@pobox.com
e2505e6b8d b=417246, wrong border size rendering in some cases ; r=roc 2008-03-05 23:58:58 -08:00
dbaron@dbaron.org
0d8b560733 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
masayuki@d-toybox.com
fa4e17f0c5 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
roc+@cs.cmu.edu
d5b5fd63c2 Backing out 403181 again 2008-03-04 01:36:07 -08:00
roc+@cs.cmu.edu
ffb68f7a15 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
roc+@cs.cmu.edu
67c8b1e808 Bug 403181 backout 2008-03-02 18:38:19 -08:00
roc+@cs.cmu.edu
8e907ad002 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
roc+@cs.cmu.edu
942db0b981 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
mozilla@weilbacher.org
7ed1ca89ae 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
dbaron@dbaron.org
655d0e3e4a 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
dbaron@dbaron.org
4192bf8c4a 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
dbaron@dbaron.org
33c8af3660 Back out for now, until I have a chance to fix reftests depending on old behavior. 2008-02-19 09:28:00 -08:00
dbaron@dbaron.org
f68cc8299a 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
dbaron@dbaron.org
18987947d2 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
masayuki@d-toybox.com
6e2677d193 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
reed@reedloden.com
55a346a6ff 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
mats.palmgren@bredband.net
f1d078e293 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
uriber@gmail.com
2dc07bdf52 Reverting fix for bug 412093 due to bustage. Sorry 2008-01-22 12:57:35 -08:00
uriber@gmail.com
813f71e3d4 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
vladimir@pobox.com
656968149f b=397303, thebes rendering of inset/outset borders slow, bandaid; r+sr=roc 2008-01-14 14:36:30 -08:00
vladimir@pobox.com
0e5dc50bdf b=406782, double rendering of bullets on wikimo, r+sr=roc 2008-01-10 14:10:38 -08:00
uriber@gmail.com
db8f1e5d62 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
mats.palmgren@bredband.net
8b6f3e40e4 Don't try to draw 'border-style:hidden' borders. b=389196 r+sr+a=vladimir 2008-01-04 10:11:10 -08:00
hwaara@gmail.com
410476baa7 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
vladimir@pobox.com
2e94f56ef2 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
vladimir@pobox.com
f486de3a54 b=24998, background images spill beyond rounded borders; r+sr=roc 2007-12-18 12:59:48 -08:00
dmose@mozilla.org
4ef13d4907 Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -08:00
masayuki@d-toybox.com
7fc09046f2 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron 2007-12-02 22:51:57 -08:00
tglek@mozilla.com
8cf3fb1c90 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
reed@reedloden.com
0fb996cf1c 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
masayuki@d-toybox.com
a0327f6605 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 08:27:26 -07:00
masayuki@d-toybox.com
7d3f26907c Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 04:03:49 -07:00
masayuki@d-toybox.com
6b49b8c852 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 04:01:48 -07:00
masayuki@d-toybox.com
9affd989eb Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc 2007-08-06 01:15:00 -07:00
vladimir@pobox.com
66b946a260 b=382613, moz-border-radius of background color isn't clamped to 50%, r+sr=roc 2007-07-18 07:14:53 -07:00
db48x@yahoo.com
6b4d9b9fb0 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
mats.palmgren@bredband.net
8f7ef470bb Make the viewport area that of the root frame, or in paginated contexts, the page content frame. b=380816 r=sharparrow1 sr=roc 2007-07-03 18:13:07 -07:00
sharparrow1@yahoo.com
5a332b3718 Bug 386108: remove nsIDrawingSurface. rs=pavlov 2007-06-27 14:53:34 -07:00
vladimir@pobox.com
a756340730 b=379505, content overflows border with -moz-border-radius: a.k.a. death to QBCurve; r+sr=roc 2007-05-30 01:37:30 -07:00
vladimir@pobox.com
4a82ffd916 b=368247, new border rendering approach, r+sr=roc 2007-05-29 19:46:54 -07:00
dbaron@dbaron.org
986ae83b29 Disable antialiasing of borders again, for Linux only, to avoid the performance penalty of pushing/popping groups. b=380473 r=vlad 2007-05-23 08:56:15 -07:00
vladimir@pobox.com
7178d6300b b=380561, missing borders when dashed and dotted border-style is used, r=dbaron 2007-05-20 15:49:20 -07:00
vladimir@pobox.com
b754ef153a b=379419, bogus assertion in border code with NS_STYLE_BORDER_RULES_MARKER, r+sr=dbaron 2007-05-20 15:44:45 -07:00
vladimir@pobox.com
221b96d8f0 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron 2007-05-20 15:41:21 -07:00
vladimir@pobox.com
1947a97271 b=379474, borders render incorrectly when using moz-border-radius (also 379446, hr noshade renders incorrectly); r=dbaron 2007-05-08 10:40:08 -07:00
vladimir@pobox.com
0169470291 b=379328, focus outline rendering regression fix 2007-04-30 21:58:44 -07:00
vladimir@pobox.com
ba88c35259 b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron 2007-04-30 20:31:25 -07:00