367 Commits

Author SHA1 Message Date
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
dbaron%dbaron.org
a833dcf5fb 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
git-svn-id: svn://10.0.0.236/trunk@220833 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 17:52:09 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
dbaron%dbaron.org
cbdde83088 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
git-svn-id: svn://10.0.0.236/trunk@219306 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 02:45:55 +00:00
dbaron%dbaron.org
cebfff8cef Fix handling of background-clip and background-origin to honor GetSkipSides. b=368020 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219230 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:21:05 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
50334acdc0 Be consistent about what percentage border-radius is a percentage of. Bug
364861, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@217559 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:23:51 +00:00
masayuki%d-toybox.com
fa284ddafc Bug 287624 ? round CSS border widths to nearest pixel r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217460 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:21:43 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
866a194991 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216965 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:04:57 +00:00
bzbarsky%mit.edu
48639c6889 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.


git-svn-id: svn://10.0.0.236/trunk@216109 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 21:58:13 +00:00
roc+%cs.cmu.edu
fb4c6fb984 Bug 130078. Reverting fix because of regressions. We'll have to come back to this again :-(.
git-svn-id: svn://10.0.0.236/trunk@215729 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:12:52 +00:00
roc+%cs.cmu.edu
eb99fed591 Bug 130078. Integrate view hierarchies, watching for perf results. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215232 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 22:59:14 +00:00
roc+%cs.cmu.edu
2cdafb8452 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
git-svn-id: svn://10.0.0.236/trunk@212028 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 22:05:33 +00:00
mats.palmgren%bredband.net
b79e54c4a3 Null check the page content frame, just in case. b=294836 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203240 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 09:41:01 +00:00
sharparrow1%yahoo.com
fa177be505 Bug 334555: Fix printing of translucent background on root. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@199933 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:17:06 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
roc+%cs.cmu.edu
b060f2988a Bug 130078. Backing out now that I have perf. numbers
git-svn-id: svn://10.0.0.236/trunk@195952 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu
7137e91d6a Bug 130078. Test checkin of patch to unify view manager hierarchy. We need to see how this affects performance metrics. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195951 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 03:46:19 +00:00
masayuki%d-toybox.com
b2f32dc37e Bug 335474 Crash in [@ nsCSSRendering::DrawDashedSides] r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195696 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 23:21:01 +00:00
masayuki%d-toybox.com
bcfb1979b7 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
git-svn-id: svn://10.0.0.236/trunk@195345 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 09:19:29 +00:00
vladimir%pobox.com
5685cdafbd b=328241, antialiasing problem with joining borders, temporary diable-aa fix for non-rounded borders, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@195081 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 17:52:05 +00:00
bzbarsky%mit.edu
bcc16c3ae5 Treat background images more like background colors when printing. Bug 311526,
r=roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@195026 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:57:47 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
dbaron%dbaron.org
8cfdd67955 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
git-svn-id: svn://10.0.0.236/trunk@192422 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 16:55:19 +00:00
dbaron%dbaron.org
c256ad5ef8 Don't convert to floating point and back when we don't need to. b=326040 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@189290 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 06:05:00 +00:00
dbaron%dbaron.org
213a922499 Fix regression of background positioning for inline elements. b=324960 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@188977 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-05 21:58:46 +00:00
masayuki%d-toybox.com
d98e11f5cd 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
git-svn-id: svn://10.0.0.236/trunk@188837 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 09:45:28 +00:00
roc+%cs.cmu.edu
df8627e29b 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
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
bmlk%gmx.de
0284cfcc93 remove some prescontexts bug 321907 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@187958 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 09:20:04 +00:00
masayuki%d-toybox.com
0d749aaa2f Bug 310124 Double border is incorrectly compressed when rendered; regression. original idea by Takeshi Ichimaru <ayakawa.m@gmail.com> r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185438 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 13:26:34 +00:00
masayuki%d-toybox.com
4cbb72cb3b Oops, currently the Tree is closed, backing out previous check-in. b=310124
git-svn-id: svn://10.0.0.236/trunk@185366 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 05:52:19 +00:00
masayuki%d-toybox.com
e6ed7ec283 Bug 310124 Double border is incorrectly compressed when rendered; regression. original idea by Takeshi Ichimaru <ayakawa.m@gmail.com> r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185362 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 05:33:59 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bmlk%gmx.de
630e2ffe42 fix oversight, the function can be called with a null pointer, bug 316821 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@184853 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-17 21:24:05 +00:00