dbaron@dbaron.org
dc5aab6795
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
c14535a073
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
188201d8ea
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
af764be12e
b=379436, borders on elements > 2^15px drawn backwards, r=dbaron
2007-05-20 15:41:21 -07:00
vladimir@pobox.com
76c488cada
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
757d39c345
b=379328, focus outline rendering regression fix
2007-04-30 21:58:44 -07:00
vladimir@pobox.com
8d704ce7c4
b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron
2007-04-30 20:31:25 -07:00
bzbarsky@mit.edu
bf5ea77d39
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 14:11:41 -07:00
roc+@cs.cmu.edu
eb3615bb6e
Bug 375917. Pass appunits-per-CSS-pixel ratio to DrawSolidBorderSegment instead of some meaningless boolean. patch by Jeremy Lea, r+sr=roc
2007-03-29 19:53:45 -07:00
sharparrow1@yahoo.com
e0d29aa0f8
Bug 375508: Outline drawing broken when outline doesn't overflow. r+sr=roc.
2007-03-27 22:53:29 -07:00
roc+@cs.cmu.edu
0054412272
Bug 374866. Reftests for text-transform. r=dbaron
2007-03-22 16:01:14 -07:00
dbaron%dbaron.org
8812062bf4
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
2008-07-01 03:44:17 +00:00
vladimir%pobox.com
610fdca826
Back out patch for bug 397303 due to serious perf regressions; r/sr=roc
2008-04-20 05:31:30 +00:00
roc+%cs.cmu.edu
03c69ba009
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-15 01:41:14 +00:00
masayuki%d-toybox.com
801a8169c8
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 23:57:13 +00:00
smontagu%smontagu.org
15af49433b
Correct the coordinates for selection decoration in right-to-left text. Bug 421042, r+sr=roc, a=beltzner
2008-04-06 08:12:09 +00:00
roc+%cs.cmu.edu
78d8b667de
Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad
2008-03-31 09:40:56 +00:00
reed%reedloden.com
7df66b0c02
Back out Robert O'Callahan's patch from bug 421885 due to reftest failure.
2008-03-28 09:32:04 +00:00
reed%reedloden.com
0549aba8b0
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 08:40:04 +00:00
roc+%cs.cmu.edu
828350aa11
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 21:55:08 +00:00
roc+%cs.cmu.edu
d3935a6a58
Backing out Bug 403181. JPEG encoding test failure :-(
2008-03-07 09:28:36 +00:00
roc+%cs.cmu.edu
3888bf4b3a
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 08:34:14 +00:00
vladimir%pobox.com
413e9f17d3
b=417246, wrong border size rendering in some cases ; r=roc
2008-03-06 07:59:01 +00:00
dbaron%dbaron.org
ac702fa597
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-06 00:05:29 +00:00
masayuki%d-toybox.com
5676469c78
Bug 405308 [text-decoration] Link underline disappears (or is misaligned 1px) when scrolling r+sr=roc, a1.9=beltzner
2008-03-05 19:24:44 +00:00
roc+%cs.cmu.edu
46ae1fb918
Backing out 403181 again
2008-03-04 09:36:09 +00:00
roc+%cs.cmu.edu
bdd10f1c8f
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 08:21:36 +00:00
roc+%cs.cmu.edu
ce5dffc93a
Bug 403181 backout
2008-03-03 02:38:21 +00:00
roc+%cs.cmu.edu
8ab3849de1
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-03 01:03:54 +00:00
roc+%cs.cmu.edu
21aaf44ca9
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 10:46:29 +00:00
mozilla%weilbacher.org
0a0ea027c4
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 08:37:30 +00:00
dbaron%dbaron.org
6e03664483
Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
2008-02-19 18:47:35 +00:00
dbaron%dbaron.org
71f78b8dc1
Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep
2008-02-19 18:46:21 +00:00
dbaron%dbaron.org
0039567d47
Back out for now, until I have a chance to fix reftests depending on old behavior.
2008-02-19 17:28:00 +00:00
dbaron%dbaron.org
c0178a617a
Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
2008-02-19 16:48:09 +00:00
dbaron%dbaron.org
b6f581ea9c
Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep
2008-02-19 16:47:12 +00:00
masayuki%d-toybox.com
79efc4821f
Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron
2008-02-16 15:31:33 +00:00
reed%reedloden.com
dcade0fc44
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 09:44:18 +00:00
mats.palmgren%bredband.net
af8fae6ff3
Adjust for viewport scrollbars when positioning a fixed background. b=402807 r+sr=roc a=blocking1.9
2008-02-06 18:22:24 +00:00
uriber%gmail.com
729457e526
Reverting fix for bug 412093 due to bustage. Sorry
2008-01-22 20:57:35 +00:00
uriber%gmail.com
85125d46e2
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 20:37:49 +00:00
vladimir%pobox.com
846e5ffd93
b=397303, thebes rendering of inset/outset borders slow, bandaid; r+sr=roc
2008-01-14 22:36:30 +00:00
vladimir%pobox.com
609a568f25
b=406782, double rendering of bullets on wikimo, r+sr=roc
2008-01-10 22:10:38 +00:00
uriber%gmail.com
a63b687ff0
Look at all continuations, not just in-flows, when tracking frames sharing a background image. bug=411046, r+sr=roc
2008-01-09 19:19:49 +00:00
mats.palmgren%bredband.net
e8061f7e50
Don't try to draw 'border-style:hidden' borders. b=389196 r+sr+a=vladimir
2008-01-04 18:11:10 +00:00
hwaara%gmail.com
fa19e7bfb0
bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons
2007-12-19 19:40:20 +00:00
vladimir%pobox.com
96ae47bdfb
b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
2007-12-18 23:01:18 +00:00
vladimir%pobox.com
c8e533ed6e
b=24998, background images spill beyond rounded borders; r+sr=roc
2007-12-18 20:59:49 +00:00
dmose%mozilla.org
9eaf60c3ff
Backing out fix for bug 392785 as per roc + mconnor.
2007-12-04 23:32:09 +00:00
masayuki%d-toybox.com
5f5dc6431b
Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron
2007-12-03 06:51:59 +00:00
tglek%mozilla.com
fef81552e6
Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron
2007-10-10 00:00:06 +00:00
reed%reedloden.com
0ef54684da
Bug 381735 - "reenable antialiased border drawing on Linux" [p=dao r+sr=dbaron r=vlad a=blocking1.9+]
2007-10-08 21:09:45 +00:00
masayuki%d-toybox.com
8c920b846f
Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc
2007-09-03 15:27:27 +00:00
masayuki%d-toybox.com
323bfa713f
Oops, backing-out previous checked-in, because tinderbox has RED.
2007-09-03 11:03:50 +00:00
masayuki%d-toybox.com
faceb0991f
Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc
2007-09-03 11:01:49 +00:00
masayuki%d-toybox.com
4a880d7637
Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc
2007-08-06 08:15:02 +00:00
vladimir%pobox.com
f57ffa04a4
b=382613, moz-border-radius of background color isn't clamped to 50%, r+sr=roc
2007-07-18 14:14:53 +00:00
db48x%yahoo.com
ca71fe70de
Bug 384576 ��� adding -moz-border-radius to an element causes the background to be drawn without dpi scaling
...
r=sharparrow1, sr=roc
2007-07-12 04:04:33 +00:00
mats.palmgren%bredband.net
2688b10ee8
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-04 01:13:07 +00:00
sharparrow1%yahoo.com
48a96484b3
Bug 386108: remove nsIDrawingSurface. rs=pavlov
2007-06-27 21:53:35 +00:00
vladimir%pobox.com
5185bcbe3c
b=379505, content overflows border with -moz-border-radius: a.k.a. death to QBCurve; r+sr=roc
2007-05-30 08:37:30 +00:00
vladimir%pobox.com
df9864d5ba
b=368247, new border rendering approach, r+sr=roc
2007-05-30 02:46:54 +00:00
dbaron%dbaron.org
c237ca03f5
Disable antialiasing of borders again, for Linux only, to avoid the performance penalty of pushing/popping groups. b=380473 r=vlad
2007-05-23 15:56:15 +00:00
vladimir%pobox.com
eef30541f9
b=380561, missing borders when dashed and dotted border-style is used, r=dbaron
2007-05-20 22:49:20 +00:00
vladimir%pobox.com
9530088267
b=379419, bogus assertion in border code with NS_STYLE_BORDER_RULES_MARKER, r+sr=dbaron
2007-05-20 22:44:45 +00:00
vladimir%pobox.com
2c0c44d995
b=379436, borders on elements > 2^15px drawn backwards, r=dbaron
2007-05-20 22:41:21 +00:00
vladimir%pobox.com
be1d225ff1
b=379474, borders render incorrectly when using moz-border-radius (also 379446, hr noshade renders incorrectly); r=dbaron
2007-05-08 17:40:08 +00:00
vladimir%pobox.com
b05b4b2e35
b=379328, focus outline rendering regression fix
2007-05-01 04:58:44 +00:00
vladimir%pobox.com
5dedab3707
b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron
2007-05-01 03:31:25 +00:00
bzbarsky%mit.edu
d9f302946b
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
...
Taras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 21:11:47 +00:00
roc+%cs.cmu.edu
d05bf153cd
Bug 375917. Pass appunits-per-CSS-pixel ratio to DrawSolidBorderSegment instead of some meaningless boolean. patch by Jeremy Lea, r+sr=roc
2007-03-30 02:53:45 +00:00
sharparrow1%yahoo.com
0112321c33
Bug 375508: Outline drawing broken when outline doesn't overflow. r+sr=roc.
2007-03-28 05:53:29 +00:00
dbaron%dbaron.org
260b595874
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
2007-03-20 00:58:20 +00:00
masayuki%d-toybox.com
fa8fb4715b
Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron
2007-03-15 16:16:20 +00:00
joshmoz%gmail.com
276d61a3b4
don't rely on language features to construct/destruct instance of InlineBackgroundData. b=373305 r/sr=dbaron
2007-03-14 19:48:51 +00:00
sharparrow1%yahoo.com
199d4d164d
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.
2007-02-24 00:23:42 +00:00
dbaron%dbaron.org
f86df24f0b
Disable antialiasing for border-collapse borders too, and fix a build warning by not passing what is now an integer through a float parameter. b=371182 r=vlad
2007-02-23 17:52:09 +00:00
sharparrow1%yahoo.com
c78720aa24
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
dbaron%dbaron.org
fb391ac9cd
Make default table and hr border colors be gray rather than special values that depend on the background color, and remove the special values that depend on the background. b=84307 Patch by fantasai <fantasai.bugs@inkedblade.net>. r=bzbarsky sr=dbaron
2007-02-01 02:45:55 +00:00
dbaron%dbaron.org
9f9adcd2cd
Fix handling of background-clip and background-origin to honor GetSkipSides. b=368020 r+sr=roc
2007-01-31 05:21:05 +00:00
cvshook%sicking.cc
0c24c4a4c3
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
de284c1d33
Be consistent about what percentage border-radius is a percentage of. Bug
...
364861, r+sr=roc
2006-12-30 05:23:51 +00:00
masayuki%d-toybox.com
1d4c9172b7
Bug 287624 ? round CSS border widths to nearest pixel r+sr=dbaron
2006-12-27 14:21:43 +00:00
timeless%mozdev.org
abc256e3da
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
992a8cce12
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
2006-12-13 23:04:57 +00:00
bzbarsky%mit.edu
24e9128a00
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
0aa728d839
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
b56e490687
Bug 130078. Integrate view hierarchies, watching for perf results. r+sr=dbaron
2006-11-13 22:59:14 +00:00
roc+%cs.cmu.edu
b721f7a2be
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
718cf7e906
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
d65645f29d
Bug 334555: Fix printing of translucent background on root. r+sr=roc.
2006-06-15 03:17:06 +00:00
cvshook%sicking.cc
36f352636c
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
2006-05-05 06:52:21 +00:00
roc+%cs.cmu.edu
c577ddef7d
Bug 130078. Backing out now that I have perf. numbers
2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu
f3a912e6c7
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
b19bfd5948
Bug 335474 Crash in [@ nsCSSRendering::DrawDashedSides] r+sr=roc
2006-04-28 23:21:01 +00:00
masayuki%d-toybox.com
433e1d0790
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
70cecebab0
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
220e313656
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
8b90a8ebf4
One-line descriptions of files, partly because they show up in LXR.
2006-03-30 05:56:38 +00:00
dbaron%dbaron.org
1eb1c55661
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
391b30756c
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
4f60ef2277
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
ce029f5ba5
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
5451e97878
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
e632e0a349
remove some prescontexts bug 321907 r/sr=roc
2006-01-21 09:20:04 +00:00
masayuki%d-toybox.com
a8bc0820ed
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
ffd0008144
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
eaa2ec493c
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
b20620f6ab
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
b77296cb53
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
cd5823b45f
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
977fa17537
array boundary protection, second round, bug 265736 r/sr=roc
2005-11-01 05:15:10 +00:00
bmlk%gmx.de
30b5af54f9
array boundary protection, initial idea Ben Fowler, bug 265736 r/sr=roc
2005-10-29 13:40:38 +00:00
mats.palmgren%bredband.net
56b6cbabbe
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
692c9e00f2
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
65e63c3002
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
85e6e3f506
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
86b79c531a
Bug 1781: 1px double border invisible; r+sr=roc,a=asa
2005-06-08 14:34:16 +00:00
bzbarsky%mit.edu
0597971698
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
6780d77208
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
78343a58c1
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
d541f29d90
Bug 274244: Display more broken GIFs. r=stuart sr=tor
2005-03-08 03:44:28 +00:00
bzbarsky%mit.edu
683944da62
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
b8351a14b5
Bug 251498. Implement outline-offset. r+sr=roc
2004-10-26 12:57:15 +00:00
bzbarsky%mit.edu
1066ad179b
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
65033a43f8
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
6146e49d29
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
4de1e631ea
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
7494eafa7b
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
18fa617572
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
cc807b07b1
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
88f80381e3
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
1ebd6baf37
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
ccbc55e0d0
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
78fcf72fc2
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
roc+%cs.cmu.edu
f1f89a9129
Backing out 233441.
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
e508d2a0ad
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
2004-05-06 03:17:14 +00:00
tor%cs.brown.edu
30915451be
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
2004-04-23 16:13:26 +00:00
tor%cs.brown.edu
44fbbcc21b
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
gerv%gerv.net
85ce8c146b
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
6fa1005b53
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
2004-04-18 13:55:11 +00:00
tor%cs.brown.edu
bd2796f514
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
2004-04-18 13:13:35 +00:00
bzbarsky%mit.edu
c5ca106f7b
Fix assert. Bug 236921, r+sr=dbaron, a=chofmann
2004-03-31 03:13:54 +00:00
bmlk%gmx.de
b149d43c9a
implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
2004-03-09 06:48:35 +00:00
bryner%brianryner.com
6252896efc
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
bzbarsky%mit.edu
1996189441
Position fixed backgrounds with respect to the viewport, not "nearest
...
scrollframe or viewport". Bug 235768, r+sr=roc
2004-02-27 05:40:16 +00:00
bryner%brianryner.com
41c3b9355c
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu
af7fa0750d
Remove bogus method that makes backgrounds on the canvas unhappy. Bug 219302,
...
r+sr=roc
2004-02-20 00:39:09 +00:00
bryner%brianryner.com
b26298f7c2
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
dbaron%dbaron.org
bca84fc946
Remove NS_STYLE_BORDER_STYLE_BLANK. r+sr=bzbarsky
2004-02-11 04:34:12 +00:00
bryner%brianryner.com
0ea3c127ae
Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.
2004-01-31 22:41:40 +00:00
tor%cs.brown.edu
40912d05d5
Bug 113561 - handle tiling of images where the frame is smaller
...
than the container. r=pavlov, sr=bryner
2004-01-16 23:28:51 +00:00
roc+%cs.cmu.edu
c70c9c9de3
Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner
2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu
2a50602bc0
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
5aeafaa8a6
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
7264501b7b
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
dbaron%dbaron.org
cd013628a9
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
2003-11-24 19:46:25 +00:00
jst%mozilla.jstenback.com
6380d7fd12
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
uid502
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
a0e219b348
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
ad85b8e859
More bug 214969 -- HTML nodes lie about their namespace, so check the
...
document's case-sensitivity instead. r+sr=tor
2003-10-15 05:54:46 +00:00
bzbarsky%mit.edu
8fcc59fcaf
Only propagate the body background to the canvas in HTML documents; don't do it
...
for XHTML. Bug 214969, r+sr=dbaron
2003-10-15 02:48:25 +00:00
dbaron%dbaron.org
19a12727ec
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
2003-10-01 22:53:56 +00:00
caillon%returnzero.com
7e9f601322
Fixing bustage
2003-07-30 09:09:30 +00:00
caillon%returnzero.com
422dde1351
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
1c89273d3a
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
roc+%cs.cmu.edu
fd9155e0a0
Ongoing deCOMtamination. r+sr=dbaron
2003-07-05 15:04:34 +00:00
dbaron%dbaron.org
42b06cc4f5
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
caillon%returnzero.com
ba75de772b
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
smontagu%netscape.com
e03a31c002
Fix rounding issue in DrawTile() and remove a bogus assertion. Bug 194791, Author=paper@animecity.nu, r=smontagu, sr=roc+moz
2003-05-29 23:29:37 +00:00
dbaron%dbaron.org
a15b9f2cf4
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
roc+%cs.cmu.edu
0800459251
Bug 199897. Fix regression by being smarter about how we clip border painting to the dirty rect. r=bernd,sr=dbaron,a=asa
2003-05-14 00:44:38 +00:00
roc+%cs.cmu.edu
513d28330f
Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky
2003-04-06 02:49:40 +00:00
darin%netscape.com
fbab8a3edd
backing out roc+%cs.cmu.edu check-in for bug 113232
2003-03-25 00:07:00 +00:00
bmlk%gmx.de
eada4dbcaa
dont clip composite borders, bug 197086 r/sr=roc+moz
2003-03-24 10:17:25 +00:00
roc+%cs.cmu.edu
4826fbd1c4
Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky
2003-03-24 04:57:22 +00:00
bmlk%gmx.de
79a60cddf3
clip the border at the dirty rectangle, bug 86249 r+sr=roc+moz
2003-03-11 15:15:08 +00:00
paper%animecity.nu
bd21cb55b0
Bug 194108 Don't PaintBackgroundColor when tiled image is opaque and fully covering. r=caillon sr=roc+moz
2003-03-05 23:34:48 +00:00
roc+%cs.cmu.edu
77e5c960ef
Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
35fe4b6f27
Bug 189723. Fix valgrind warning on uninitialized value when GetPenMode isn't implemented. r+sr=bzbarsky
2003-02-22 22:27:45 +00:00
bryner%netscape.com
cc390fbe51
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
caillon%returnzero.com
6134063f7b
189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
...
r+sr=dbaron
2003-01-19 02:36:04 +00:00
caillon%returnzero.com
d339c650c4
Fix build bustage. OS/2 and Sun Workshop won't do implicit type conversions (like .get() on an nsCOMPtr) while trying to match a template.
...
See also revision 3.188 of this file.
2003-01-17 12:16:36 +00:00
caillon%returnzero.com
ead3cd7ea8
Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
...
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
bzbarsky%mit.edu
d3b3d716a0
Change the algorithm used to darken text when printing a tad to produce better
...
results. Bug 141232, r/sr=roc+moz
2003-01-05 04:52:27 +00:00
caillon%returnzero.com
df3d2eb90a
186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron
2002-12-28 00:03:33 +00:00
caillon%returnzero.com
27c6aebd18
Bug 186752 - Crash during background painting when there is no scrollable frame. Add a null check.
...
r+sr=dbaron
2002-12-27 07:32:17 +00:00
caillon%returnzero.com
65cab10d50
Bug 46814 - Fixed attachment background images should not be positioned underneath scrollbars, when positioning on a side which has scrollbars.
...
r=dbaron sr=bzbarsky
2002-12-23 22:08:04 +00:00
cbiesinger%web.de
4b1cd1bb3f
186158 r+sr=dbaron unused function TileImage in nsCSSRendering.cpp
2002-12-21 10:33:38 +00:00
bzbarsky%mit.edu
e20a728a09
Fix build bustage. OS/2 and Sun Workshop won't do implicit type
...
conversions (like .get() on an nsCOMPtr) while trying to match a
template, apparently... r=cls
2002-10-09 04:51:59 +00:00
bzbarsky%mit.edu
a272a96238
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
caillon%returnzero.com
7871a3af0d
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
hyatt%netscape.com
369f0ad4fd
Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
2002-09-21 01:03:38 +00:00
alecf%netscape.com
bab99a09b0
fix for bug 163736 - consolidate gfx2 into gfx, and remove the gfx2 DLL from the build.
...
r=pavlov, sr=rbs
includes creating a new "Shared" library which shares gfx code between all platforms
2002-09-12 04:43:31 +00:00
caillon%returnzero.com
65a253728b
Bug 45557 - Rounded transparent borders are not transparent.
...
r=bzbarsky sr=jag
2002-08-30 06:39:34 +00:00
dcone%netscape.com
65198a0ce9
b=148598 r=mcclusky,sr=kin Speed up scrolling
2002-08-18 00:46:00 +00:00
dbaron%fas.harvard.edu
bc1f6b8829
Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky
2002-08-11 17:56:15 +00:00
dcone%netscape.com
b9cb9bdc9b
Backing out changes for the background speedup.. it broke some hoovering code.. on a web page.
...
I want to investigate this before I leave the patch in.
2002-08-02 18:21:33 +00:00
dcone%netscape.com
02d54e7d21
b=148598 r=peterl sr=kin a=asa. This speeds up scrolling with very large backgrounds.
2002-07-31 17:13:25 +00:00
dcone%netscape.com
a3a82d4549
Backing out changes. Something is interacting wrong with scroll bars.. so I will investigate.
2002-07-29 17:48:22 +00:00
dcone%netscape.com
27d67ea5ba
b=148598 Very Slow scrolling. r=rods sr=kin a=asa. Fixed the update area for the background images. Improves scrolling 100%
2002-07-29 13:28:32 +00:00
dbaron%fas.harvard.edu
e2c874a108
Replace assertion with a comment explaining why we need to null-check the result of |nsIDOMHTMLDocument::GetBody|. b=119351 r=kin sr=waterson
2002-05-08 19:27:40 +00:00
pinkerton%netscape.com
b261cc325c
fix build bustage
2002-04-12 15:26:05 +00:00
dcone%netscape.com
cca077575f
b=135208 r=kmcclusk@netscape.com sr=attinasi a=asa Fixed printing of color text when we dont
...
have a background.
2002-04-12 14:30:00 +00:00
karnaze%netscape.com
d925e1ae94
bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin
2002-04-06 22:28:39 +00:00
kmcclusk%netscape.com
66ae49ae82
suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa
2002-03-23 04:33:37 +00:00
bzbarsky%mit.edu
0ce51c8d44
Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
...
faster. Bug 129079, r=rjesup@wgate.com , sr=jst, a=asa
2002-03-05 23:17:32 +00:00
bzbarsky%mit.edu
b03db67fd2
Make <body> backgrounds draw in XHTML as XML. Bug 127374, r=dbaron,
...
sr=attinasi, a=shaver
2002-02-25 22:18:26 +00:00
pinkerton%netscape.com
25ef5fbbc5
fix crash where we could dereference a null reference. shuffle some code around to ensure that can't happen anymore. r=ben/sr=blake/a=thesteve for smoketest blocker bug 126770
2002-02-20 21:51:25 +00:00
pinkerton%netscape.com
a718639cf9
don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736
2002-02-20 02:14:18 +00:00
roc+%cs.cmu.edu
18ecdfc4e9
Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
2002-02-19 21:33:26 +00:00
karnaze%netscape.com
1fcd9538d3
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
2002-02-19 15:48:28 +00:00
dcone%netscape.com
2e4309e538
b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
2002-02-15 14:48:12 +00:00
dcone%netscape.com
cfa801748a
Fix print preview. r=rods sr = attinasi bug =117072. Only control backgrounds painting for printing.
2002-01-15 22:37:15 +00:00
dbaron%fas.harvard.edu
4be3a1d46e
Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
2002-01-14 15:00:30 +00:00
dbaron%fas.harvard.edu
c771dc3b80
Fix background painting as the default color while leaving a page. b=118867 r=sfraser sr=jst
2002-01-11 19:38:21 +00:00
dbaron%fas.harvard.edu
5f67a2f0fd
Fix crash on certain pages. b=118829 r=jag sr=waterson
2002-01-09 02:36:49 +00:00
dbaron%fas.harvard.edu
4a85fe1a91
Remove unused and incorrect code, clean up some other similar code. b=116301 r=jag sr=jst
2002-01-08 15:13:02 +00:00
dbaron%fas.harvard.edu
9c472dbbf2
Remove bogus/noisy assertion. b=118676 / 116161
2002-01-08 04:11:25 +00:00
dbaron%fas.harvard.edu
1db5b984db
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
2002-01-07 23:46:07 +00:00
pinkerton%netscape.com
653ebd16c4
Fix infinite loop when |shrinkage| goes below zero. Blocker for mach-o
...
build. r=dbaron/sr=blake. bug#116240
2001-12-20 18:02:43 +00:00
hyatt%netscape.com
d4065d8e54
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
2001-12-17 22:51:39 +00:00
hewitt%netscape.com
d8bda5634d
113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt
2001-12-11 11:13:16 +00:00
dcone%netscape.com
783f0fd8ff
bug=96870 Add methods onto the nsIPresContext for setting and getting the background painting
...
boolean so printing can turn on and off backgrounds. r=peterl sr=attinasi
2001-12-11 05:57:37 +00:00
dbaron%fas.harvard.edu
4c3f787bbd
Tweaking XP_MACOSX ifdefs in a few more places, including a fix for background image clipping. b=111795 r=pinkerton sr=sfraser
2001-12-06 00:09:21 +00:00
hyatt%netscape.com
1704f7364f
Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988
2001-12-05 08:35:05 +00:00
roc+%cs.cmu.edu
544c375270
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
2001-12-01 14:31:45 +00:00
dcone%netscape.com
436e0d3c93
Put in a check so backgrounds are not printed. This is temporary until 96870 is fixed. r=rods sr=attinasi
2001-11-27 14:50:35 +00:00
roc+%cs.cmu.edu
563ec66cf4
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
38a0f22173
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +00:00
hyatt%netscape.com
0214ac3fdb
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
attinasi%netscape.com
3fbccabcde
Improvements for invert outline colors (Mac and Linux work now). b=73884 r=kmcclusk sr=kin
2001-10-03 00:08:25 +00:00
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu
a775a09966
Null check to fix topcrash bug 97226. r=hixie sr=waterson
2001-09-10 19:36:59 +00:00
dcone%netscape.com
9a2b63ff04
b=73884 r=peterl sr=attinasi invert mode support added
2001-08-21 22:37:17 +00:00
ian%hixie.ch
233517873e
Make the canvas background use the root element's frame's origin instead of the canvas frame's origin. Bug 46446; r=dcone, sr=attinasi
2001-08-17 23:26:29 +00:00
pavlov%netscape.com
4388affb61
fixing 94933 r=jst sr=hyatt
2001-08-15 05:24:29 +00:00
pavlov%netscape.com
b72c324af1
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
dbaron%fas.harvard.edu
688519fb0c
Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
2001-06-20 03:27:48 +00:00
hyatt%netscape.com
2bf7260d28
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
dcone%netscape.com
352fe42dcd
bug 79477 r=kmmclusk sr=attinasi
2001-05-10 14:19:58 +00:00
dcone%netscape.com
064b6b9275
r=kmmclusk sr=attinasi b=62245. clamp the border size.
2001-04-16 13:14:40 +00:00
pinkerton%netscape.com
b07d0890dc
don't re-create 1000 element array's of nsPoints every time the routine is called. r=dcone/sr=sfraser. bug 69101.
2001-02-20 01:14:03 +00:00
disttsc%bart.nl
f7b1fbb963
``background-position not relative to padding edge when background-repeat is not 'no-repeat' [BG]''. bug=7039, author=Hixie,jag, r=jag,Hixie,dcone, moa=dcone, sr=buster
2001-02-15 03:25:22 +00:00
pierre%netscape.com
ad19cf4c81
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00
mcafee%netscape.com
2a02bb78fd
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
531ba68b54
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
rods%netscape.com
c81b2c3b26
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
koehler%mythrium.com
7771e3b6b1
Bug 59528 - BeOS: images are drawn outside of its bounding box - r=cls
2000-12-22 23:19:04 +00:00
warren%netscape.com
4189314fdb
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
6e35f97e31
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
rods%netscape.com
a10394a6b8
adding comments to the fix that already got checked in.
...
a=waterson r=attinasi
2000-09-20 14:47:18 +00:00
bienvenu%netscape.com
602c25371d
fix crash replying to outlook message with dashed frame 52130 r=buster,waterson
2000-09-20 04:02:20 +00:00
sfraser%netscape.com
1d6f955c39
Part of the fix for 20743, add flag to tell us if a drawing surface is short-lived, so we can allocate in temp mem (on Mac). r=pavlov
2000-09-13 07:02:30 +00:00
jst%netscape.com
0eb491f041
Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com
2000-09-01 07:05:08 +00:00
rods%netscape.com
316dba6bd7
Temporarily changed outline to be mozoutline, this will enable us to get links
...
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi
2000-08-24 13:45:48 +00:00
pierre%netscape.com
d20945fafd
49550: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener)
2000-08-23 03:57:13 +00:00
pierre%netscape.com
18790408b4
49154: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener)
2000-08-17 08:26:53 +00:00
attinasi%netscape.com
4cf78ca378
Part of fix to allow background on BODY element to be inherited. b=47127 r=pierre
2000-08-04 20:44:08 +00:00
pierre%netscape.com
6e24fffcd7
#42139 "background-position misinterpreted with fixed backgrounds". Fixed a regression introduced during the last checkin. r=attinasi.
2000-06-16 00:50:56 +00:00
dbaron%fas.harvard.edu
82f00f4213
Fix leak of nsImageGTK (or equivalent on other platforms). r=waterson@netscape.com
2000-06-15 02:15:36 +00:00
attinasi%netscape.com
242fddb720
Fixed crash when a textarea control has fixed-backgrounfd attachment. b=40118 r=kmcclusk
2000-06-07 23:06:41 +00:00
dcone%netscape.com
72a7587f19
Fixed background color under border. b=13934. R=Attinasi
2000-06-05 13:58:05 +00:00
dcone%netscape.com
2661ee567e
Fixed double drawing lines for buttons
2000-05-15 04:55:49 +00:00
bryner%uiuc.edu
9b93a8bfc6
New and improved background tiling code for GTK. We take an offset into
...
the image as a parameter so we avoid drawing the whole tile if it's not
all needed. Also, we can avoid setting any clip regions at all this
way, and avoid trips to the X server. Fixes several background rendering
problems. Also fix a signedness problem in the compositing code
(r=tor). r=pavlov.
2000-05-12 06:29:37 +00:00
dcone%netscape.com
a16b3d9c62
Fixed the curve drawing to use floating point.. corrects rounding problems
2000-05-11 03:59:43 +00:00
attinasi%netscape.com
16337d3999
Fixed problem where continuation frames were repeating the background image even when no-repeat was set. b=38764 r=buster
2000-05-10 23:24:08 +00:00
attinasi%netscape.com
085f939010
Fixed a problem where background images on the BODY were not getting painted properly the first time they were loaded. b=36811 r=kmcklusk@netscape.com
2000-05-09 00:53:51 +00:00
dcone%netscape.com
6e3ff0c510
Put in the Tiling call from the RenderingContextImpl.
2000-04-24 04:36:05 +00:00
jst%netscape.com
3169f26b01
Backing out dcones last changes since they made linux tinderbox go orange, and the toolbar wasn't properly drawn with the changes.
2000-04-20 16:22:10 +00:00
dcone%netscape.com
0d23b505e9
Turned on the Fast Background Rendering.
2000-04-20 14:00:22 +00:00
pnunn%netscape.com
5048ba70dc
bug#34444: blocker bug. Backing out changes for dcone. pnunn.
2000-04-04 20:04:40 +00:00
dcone%netscape.com
5bec8cffbd
Took out the code to do the Tiling.. a method in nsRenderingContext will now do this. This gives each platform
...
the option of tiling.. and optimizing for speed. Windows will now be very fast for small tiles that are transparent.
2000-04-04 13:38:36 +00:00
attinasi%netscape.com
fb87ca8ace
Fixed warning from Mac compiler: no prototype for local static function.
2000-03-30 07:20:16 +00:00
attinasi%netscape.com
f1d1b4fc28
Background color for border style -moz-bg-inset and -moz-bg-outset is now obtained from the HTML element instead of nearest ancestor with non-transparent bgcolor (only in Quirks Mode). r=rods b=8524
2000-03-30 06:27:32 +00:00
rods%netscape.com
bec6539714
Added aIsOutline to arg to RenderSize so it can do the right thing when
...
drawing outlines. Also got rounded outlines to work (not dashed)
Added #if for PaintOuline to control whether it paints on the inside or outside
of the frame.
b=18579 r=dcone
2000-03-18 14:41:00 +00:00
dbaron%fas.harvard.edu
2a01a6ed63
Fix a leak of a device context. r=dcone@netscape.com
2000-03-16 01:21:58 +00:00
troy%netscape.com
add95c59d5
b=29893. Pollmann had added code to keep us from crashing. I made sure
...
that the correct tiling behavior happened in the case where the viewport
isn't scrollable
2000-03-14 04:55:42 +00:00
pollmann%netscape.com
95bc28d7d0
Bug 30317: Crash fix for scrolling=no, background-attachment: fixed pages r=evaughan, a=rickg
2000-03-09 05:54:58 +00:00
attinasi%netscape.com
4dca3d4376
PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524
2000-02-11 01:23:04 +00:00
attinasi%netscape.com
983c960bc3
backout of accidental checkin...
2000-02-10 20:21:29 +00:00
attinasi%netscape.com
720dc524d2
PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524
2000-02-10 19:22:00 +00:00
pavlov%netscape.com
06e8dc9d3b
aww, I fixed my favorite bug. The "interesting" toolbar contest is now over. (bug 20496) r=mcafee,large_penguin
2000-02-04 23:14:38 +00:00
dcone%netscape.com
c878887012
fixed backgrounds. r=rods
2000-02-01 16:03:13 +00:00
dcone%netscape.com
bee947629d
Fixed some problems with rounded borders. r=rods
2000-01-14 14:43:05 +00:00
dcone%netscape.com
6d2eebb5b7
Small error in background rendering that index is 0 instead if i. r=rods. b=23704
2000-01-12 15:36:24 +00:00
sspitzer%netscape.com
1ff7f19198
fix warnings.
1999-12-28 19:37:29 +00:00
dcone%netscape.com
ecb660aeaf
Added support for selected rounded corners...can now round individual corners. r=rods
1999-12-23 20:48:07 +00:00
pierre%netscape.com
0aaa5d3390
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
The (small) changes in nsCSSRendering.cpp are temporary. It's just to reflect the changes made elsewhere in the style context. The code that actually draws the RoundRect with a different radius for each corner will be implemented later today.
1999-12-22 11:30:22 +00:00
kmcclusk%netscape.com
85e3c0493a
Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
1999-12-03 00:06:32 +00:00
dcone%netscape.com
1ec73e897c
Took out the clip for backgrounds.. not needed r=rods. bug=16685
1999-12-01 14:45:59 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
dcone%netscape.com
f48210cd80
Thickness of side is now checked. Fixed bug 14944. r=rods
1999-11-18 16:03:45 +00:00
dcone%netscape.com
665d39ad6c
Move the dotted and dashed rouned corner code to fall into solid until it is supported by code
...
r=rods. Bug fixed 13944
1999-11-18 15:09:02 +00:00
dcone%netscape.com
66a4aa2ef1
DrawDashedSides now used the correct height and width for the right and bottom
1999-11-15 15:33:25 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
sfraser%netscape.com
f2b385f475
Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann.
1999-11-04 22:26:57 +00:00
dcone%netscape.com
9afa584921
Fixed a divide by zero crasher, and cleaned up borders. r=buster
1999-11-03 05:46:01 +00:00
dcone%netscape.com
610d17b6f7
Added a clip for the borders and fixed how they are rendered. r=karnaze
...
bugs:10311,8737,14566
1999-10-26 14:34:17 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
dcone%netscape.com
32f1e6a663
Fixed warning.
1999-10-22 13:29:06 +00:00
dcone%netscape.com
f7a59c1299
Fixed the rounded border rendering code to obey solid, and none style types.
...
Also bumped all the rounded rects onto pixel boundaries before rendering.
1999-10-20 14:46:27 +00:00
dcone%netscape.com
b06e2be4db
Fixed some warnings
1999-10-07 20:40:00 +00:00
dcone%netscape.com
7a407f8887
Turned on the background tiling optimization.. Reviewed By rods
1999-10-07 14:57:32 +00:00
dcone%netscape.com
36f6d2f011
added background fix.. commented out for now until other platforms are tested
1999-10-01 14:35:20 +00:00
rods%netscape.com
459973caae
Added extra parameters so PaintBorder can be used to draw borders with a size that
...
is passed in instead of get the size from style.
1999-09-03 14:12:09 +00:00
troy%netscape.com
dece5e9739
Fix for bug #12751 . Optimized PaintBorder() so if the dirty rect is completely
...
inside of the border rect, then we don't paint anything. This speed up
incremental painting
1999-08-29 03:25:56 +00:00
dcone%netscape.com
ccd44a6d7a
removed a debug printf
1999-08-27 20:58:37 +00:00
dcone%netscape.com
d86481a9bb
Added a rounding parameter so rounded rects can be used as cirles if the radius is large enough
1999-08-27 14:37:47 +00:00
rods%netscape.com
3c471b8d63
removed some unused variables to get rid of some warnings
1999-08-25 13:39:41 +00:00
troy%netscape.com
68d280876e
Changed PaintBackground() so it doesn't always render the background color when
...
there's a background image that doesn't tile the entire bounds
1999-08-25 05:05:04 +00:00
ramiro%netscape.com
8019781335
#ifdef out annoying printf.
1999-08-25 04:01:57 +00:00
troy%netscape.com
33fe4ff50e
Added case selectors for NS_STYLE_BORDER_STYLE_HIDDEN. Treated just like
...
NS_STYLE_BORDER_STYLE_NONE
1999-08-24 21:47:55 +00:00
dcone%netscape.com
c09714a046
Fixed some warnings, and some roundoff for the curves
1999-08-24 14:51:16 +00:00
rods%netscape.com
a27b00a445
Added a new method PaintOutline, and added a new parameter to PaintBorder to tell whether to get the style and color information from the border info or the outline info
1999-08-19 14:22:47 +00:00
harishd%netscape.com
f9e3db93d7
Changing the order in which borders are painted for compatibility.
...
Used to be TOP,LEFT,BOTTOM,RIGHT, and now it's
BOTTOM,LEFT,TOP,RIGHT. Fix for bug#11022
1999-08-10 18:13:50 +00:00
troy%netscape.com
7e4e30d0c4
Added failure check for call to nsStyleData::GetBorder()
1999-07-28 04:48:34 +00:00
kmcclusk%netscape.com
18b946cc00
bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
...
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
troy%netscape.com
92b8b51c95
Fix for bug #10563 where we were triggering a post condition assertion. Changed
...
ComputeBackgroundAnchorPoint() to correctly calculate tile offset that is a
multiple of the tile
1999-07-27 14:13:09 +00:00
dcone%netscape.com
0647572e19
Fixed background rendering
1999-07-27 06:41:34 +00:00
dcone%netscape.com
3ecfa6e7ee
fixed background tile clipping bug.
1999-07-19 14:37:36 +00:00
dcone%netscape.com
f80c513c88
Fixed printing to make sure all URL's are loaded before print.
...
Fixed the background tile render'er to save and restore clip.
1999-07-15 14:23:40 +00:00
troy%netscape.com
377f6463aa
Fixed some compiler warnings
1999-07-02 22:39:32 +00:00
dcone%netscape.com
bd5a448110
background Image speed up
...
Commented out the box around the printout until Troy returns
1999-06-11 14:43:14 +00:00
troy%netscape.com
0598079d33
Fix for bug #5680 . Re-arranged some assertion checking code
1999-04-29 18:29:56 +00:00
troy%netscape.com
59a6ccb468
Fixed a comment
1999-04-25 04:14:06 +00:00
troy%netscape.com
f846be63bd
Added support for fixed background attachment
1999-04-25 02:43:50 +00:00
dcone%netscape.com
ea93f4c0c8
Updated with the background painting and anti-aliasing
1999-04-21 14:23:49 +00:00
dcone%netscape.com
c7b3f22dd8
added the rounded rectangle code for style
1999-04-19 05:27:55 +00:00
kipp%netscape.com
9257cd81c3
Updated to use new image loading apis
1999-04-13 21:52:19 +00:00
peterl%netscape.com
7bbff892c5
added transparent border support
1999-03-28 04:30:28 +00:00
kipp%netscape.com
12d20bad4e
Remove dead global-variable nonsense
1999-03-05 19:23:52 +00:00
kipp%netscape.com
32bc677513
Pass in default image size when loading image
1999-02-26 17:12:05 +00:00
kipp%netscape.com
5a554d526e
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy%netscape.com
d98c1338c9
Work-in-progress for replaced elements that can't be rendered
1999-02-04 17:03:46 +00:00
harishd%netscape.com
a973395eb0
Changing the variable aElementColor to aBorderColor in Painborder(),
...
PaintBorderEdge(), DrawSide(), and MakeBevelColor().
The computed colors for all the border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:31:47 +00:00
harishd%netscape.com
3019a40b16
Got stylecontext info into PaintBorder() for displaying
...
CSS borders.
1999-01-22 22:24:05 +00:00
troy%netscape.com
5284506712
Fix for bug #1998 . Now we render the background image over the padding area and not over the border area
1999-01-15 18:25:58 +00:00
buster%netscape.com
c83d96fa2c
comments, so many comments!
1999-01-03 19:23:21 +00:00
buster%netscape.com
37053ab3e7
right dashed borders now work
...
dashed borders along a span now mostly work
1998-12-30 22:39:49 +00:00
buster%netscape.com
960726938f
CSS2 table collapsing border rendering
1998-12-30 06:47:26 +00:00
buster%netscape.com
1e931216c4
DrawBorderEdge fixes
1998-12-23 15:48:50 +00:00
buster%netscape.com
b941d8cf21
fixes for PaintBorderEdges
1998-12-21 06:37:10 +00:00
buster%netscape.com
3a13de1bc7
added PainBorderSegments
1998-12-17 22:58:51 +00:00
kipp%netscape.com
996f7901ae
Repaired the background image rendering code to properly factor in the dirty-rect with background-position handling (bug #912 )
1998-12-12 03:06:02 +00:00
kipp%netscape.com
f749c4a62d
Fixed border drawing to not draw zero sized borders
1998-12-10 17:50:11 +00:00
harishd%netscape.com
2c4898f5b1
Changed code that previously accessed mBorderStyle and mBorderColor
...
with new methods added in nsStyleSpacing
1998-12-07 19:02:13 +00:00
michaelp%netscape.com
f186598ef5
changes for pixel scaling/printing.
1998-11-14 01:52:27 +00:00
michaelp%netscape.com
10921d7b0b
changes to support nsIRenderingContext that conforms to COM conventions.
1998-10-30 02:08:25 +00:00
kipp%netscape.com
c4f9d7e673
Reworked background rendering to properly handle the background-position properties
1998-10-27 16:50:19 +00:00