Commit Graph

692 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
6b21f29cf0 Use DrawImage instaed of DrawTile when drawing a background and the entire
rect to be painted fits inside a single tile (either because we're no-repeat or
because the dirty rect is small enough).  Bug 359392, r=vlad, sr=roc, a=vlad
for 1.9a1 landing.
2006-11-29 21:58:13 +00:00
roc+@cs.cmu.edu
78bc2cf1de Bug 130078. Reverting fix because of regressions. We'll have to come back to this again :-(. 2006-11-23 01:12:52 +00:00
roc+@cs.cmu.edu
27ff2c29d3 Bug 130078. Integrate view hierarchies, watching for perf results. r+sr=dbaron 2006-11-13 22:59:14 +00:00
roc+@cs.cmu.edu
220cb21f8e Bug 350148. Improve scrolling of large documents generally by only searching descendants of the moving frame for position-varying graphics when we know we've actually painted position-varying graphics in this prescontext. r+sr=dbaron 2006-09-19 22:05:33 +00:00
mats.palmgren@bredband.net
8b976e39f4 Null check the page content frame, just in case. b=294836 r+sr=bzbarsky 2006-07-20 09:41:01 +00:00
sharparrow1@yahoo.com
183f48eb6a Bug 334555: Fix printing of translucent background on root. r+sr=roc. 2006-06-15 03:17:06 +00:00
cvshook@sicking.cc
5df20de104 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
roc+@cs.cmu.edu
687190427e Bug 130078. Backing out now that I have perf. numbers 2006-05-04 05:36:53 +00:00
roc+@cs.cmu.edu
f25062a08f Bug 130078. Test checkin of patch to unify view manager hierarchy. We need to see how this affects performance metrics. r+sr=dbaron 2006-05-04 03:46:19 +00:00
masayuki@d-toybox.com
29cc4eedee Bug 335474 Crash in [@ nsCSSRendering::DrawDashedSides] r+sr=roc 2006-04-28 23:21:01 +00:00
masayuki@d-toybox.com
8e22258966 Bug 326550 The dots in the focus outline do not match trunk builds(draw focus using something other than XOR). This is for comment 8 problem (the outline always drawn black) r+sr=roc 2006-04-25 09:19:29 +00:00
vladimir@pobox.com
32f77bbfa3 b=328241, antialiasing problem with joining borders, temporary diable-aa fix for non-rounded borders, r=dbaron 2006-04-21 17:52:05 +00:00
bzbarsky@mit.edu
1465e46908 Treat background images more like background colors when printing. Bug 311526,
r=roc, sr=dbaron
2006-04-21 01:57:47 +00:00
dbaron@dbaron.org
2441f6a36b One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
dbaron@dbaron.org
1512413601 Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc 2006-03-15 16:55:19 +00:00
dbaron@dbaron.org
c537422dfe Don't convert to floating point and back when we don't need to. b=326040 r+sr=roc 2006-02-07 06:05:00 +00:00
dbaron@dbaron.org
348561f6f4 Fix regression of background positioning for inline elements. b=324960 r+sr=roc 2006-02-05 21:58:46 +00:00
masayuki@d-toybox.com
245ca3931b Bug 161179 background image (no-repeat, repeat-x and repeat-y) size reduced when printing page (print preview is ok, scaling only happens in the repeat direction) r+sr=roc 2006-02-03 09:45:28 +00:00
roc+@cs.cmu.edu
a1b6a30f14 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
bmlk@gmx.de
09a9757479 remove some prescontexts bug 321907 r/sr=roc 2006-01-21 09:20:04 +00:00
masayuki@d-toybox.com
6ca05a006f Bug 310124 Double border is incorrectly compressed when rendered; regression. original idea by Takeshi Ichimaru <ayakawa.m@gmail.com> r+sr=roc 2005-11-30 13:26:34 +00:00
masayuki@d-toybox.com
05dcdfd341 Oops, currently the Tree is closed, backing out previous check-in. b=310124 2005-11-29 05:52:19 +00:00
masayuki@d-toybox.com
3d229e2355 Bug 310124 Double border is incorrectly compressed when rendered; regression. original idea by Takeshi Ichimaru <ayakawa.m@gmail.com> r+sr=roc 2005-11-29 05:33:59 +00:00
timeless@mozdev.org
71ed8bc863 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bmlk@gmx.de
0393e88860 fix oversight, the function can be called with a null pointer, bug 316821 r/sr=roc 2005-11-17 21:24:05 +00:00
dbaron@dbaron.org
b9f9cd450d Only ignore the body background that's actually propagated to the canvas. b=314998 r+sr=bzbarsky 2005-11-03 23:06:54 +00:00
bmlk@gmx.de
536750e87a array boundary protection, second round, bug 265736 r/sr=roc 2005-11-01 05:15:10 +00:00
bmlk@gmx.de
500b3befe0 array boundary protection, initial idea Ben Fowler, bug 265736 r/sr=roc 2005-10-29 13:40:38 +00:00
mats.palmgren@bredband.net
007958b572 Don't go below BODY in search for a background color (Print only bug). b=294836 r+sr=bzbarsky 2005-08-29 04:39:31 +00:00
bzbarsky@mit.edu
93240998ef Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
dbaron@dbaron.org
e87bb15cec Prevent background propagation code from trying to operate on pseudo-elements. b=302040 r+sr=roc a=bsmedberg 2005-08-02 20:11:09 +00:00
gavin@gavinsharp.com
64e5717362 Bug 298545: border-style: double displayed as solid, patch by gandalf@aviary.pl, r+sr=roc, a=asa 2005-07-22 20:57:36 +00:00
gandalf@firefox.pl
e73bf0e1a4 Bug 1781: 1px double border invisible; r+sr=roc,a=asa 2005-06-08 14:34:16 +00:00
bzbarsky@mit.edu
9d506b60da Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
dbaron@dbaron.org
8a322e925e Fix coverity uninitialized variable warnings in layout. b=288092 r=bernd sr=roc 2005-03-30 01:50:56 +00:00
mats.palmgren@bredband.net
acd42ad508 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
2005-03-27 11:36:08 +00:00
paper@animecity.nu
ada9f7edb1 Bug 274244: Display more broken GIFs. r=stuart sr=tor 2005-03-08 03:44:28 +00:00
bzbarsky@mit.edu
3058450426 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
aaronleventhal@moonset.net
83234e98f1 Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
bzbarsky@mit.edu
62c1530684 Put back missing QI. Bug 264987, patch by Bernard Alleysson
<balleysson@bigfoot.com>, r+sr=bzbarsky
2004-10-19 00:35:46 +00:00
bzbarsky@mit.edu
431986d80d Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
r+sr=peterv.
2004-10-11 16:29:42 +00:00
roc+@cs.cmu.edu
f6d4272f10 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
bryner@brianryner.com
314059c81d deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
roc+@cs.cmu.edu
14d7c872ee Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
bryner@brianryner.com
8fc0179c66 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner@brianryner.com
15745b0b06 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
aaronleventhal@moonset.net
2664407e1c Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
aaronleventhal@moonset.net
4626431d47 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
aaronleventhal@moonset.net
d511850eee Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00