9597 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
10a3e31964 Fix bug 168737 -- two-byte-encoded pages got no syntax highlighting.
r=caillon, sr=rbs, a=asa.


git-svn-id: svn://10.0.0.236/trunk@131844 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 23:46:11 +00:00
seawood%netscape.com
bb81de2d15 mach-o builds define both XP_UNIX *and* XP_MACOSX so we need to add a !XP_MACOSX to the XP_UNIX ifdef to avoid repeating a chunk of code twice and crashing.
Bug #173695 r=pavlov sr=alecf a=tor


git-svn-id: svn://10.0.0.236/trunk@131833 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 22:31:43 +00:00
bzbarsky%mit.edu
6a7cda2ae1 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


git-svn-id: svn://10.0.0.236/trunk@131573 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 04:51:59 +00:00
rods%netscape.com
f472c6c25f adding some new testcases
git-svn-id: svn://10.0.0.236/trunk@131562 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 03:45:01 +00:00
rods%netscape.com
c3cd3f0f68 adding some test cases
git-svn-id: svn://10.0.0.236/trunk@131560 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 03:44:20 +00:00
bzbarsky%mit.edu
a70a392a2c Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
karnaze%netscape.com
7e2beae782 bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone
git-svn-id: svn://10.0.0.236/trunk@131456 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:35:26 +00:00
caillon%returnzero.com
0f7366d6d0 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


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
jkeiser%netscape.com
eeef82662c Backing out bug 107291 due to OS/2 having a crappy compiler.
git-svn-id: svn://10.0.0.236/trunk@131418 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 09:30:40 +00:00
jkeiser%netscape.com
f2519f9d84 Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@131406 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 06:19:10 +00:00
roc+%cs.cmu.edu
e0d103b8be Bug 172227. Fix rendering garbage by removing a bogus optimization in nsContainerFrame::SyncFrameViewAfterReflow --- we *always* need to update the view transparency in case FRAME_OUTSIDE_CHILDREN changed. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@131386 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 04:09:38 +00:00
dbaron%fas.harvard.edu
cd7f730327 Don't resolve the positive and negative parts of collapsing margins too early when collapsing through empty blocks. A few bits of other cleanup. b=172892 sr=bzbarsky r=kin
git-svn-id: svn://10.0.0.236/trunk@131355 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 01:52:34 +00:00
shanjian%netscape.com
e96dcbdf3f #54467 punctuation mark in the :first-letter pseudo-element does not cover all the Unicode punctuation marks
check more punctual mark for first-letter pseudo-element.
r=pierre, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@131336 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 22:16:57 +00:00
darin%netscape.com
b0d1215484 fixes bug 157135 "nsIFileURL need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@131256 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 02:20:35 +00:00
bryner%netscape.com
6e21d6290d Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls.
git-svn-id: svn://10.0.0.236/trunk@131219 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 02:49:02 +00:00
dcone%netscape.com
1b3e519f6c b=143046 r=rods sr=boris API change so we can create different depth nsImages
git-svn-id: svn://10.0.0.236/trunk@131135 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 03:32:26 +00:00
karnaze%netscape.com
89daafee46 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@131080 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 16:30:51 +00:00
karnaze%netscape.com
cc81dbe612 bug 165772 - rewrite of SplitSpanningCells and most of SplitRowGroup to better handle splitting of rowspan cells. sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@131076 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 14:33:23 +00:00
blakeross%telocity.com
d0aadb952f 171994 - crash resizing using splitter btwn download panels. patch by roc, r=me sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@130935 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 22:53:43 +00:00
rods%netscape.com
46588097c3 printing tests
git-svn-id: svn://10.0.0.236/trunk@130924 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 21:48:17 +00:00
roc+%cs.cmu.edu
91eaac234c Bug 171802. Make sure views are initialized with the right properties! r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130921 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 21:45:33 +00:00
rbs%maths.uq.edu.au
22f904d76a fix typo, b=40721, r=karnaze, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130907 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 19:40:28 +00:00
rods%netscape.com
ea176b505c no longer cache the scrollbar width that is used to also calculate the btn width.
Bug 167032 r=jkeiser sr=alecf


git-svn-id: svn://10.0.0.236/trunk@130883 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 14:24:15 +00:00
timeless%mac.com
7e323a21bd Bug 171328 Build warning caused by checkin for bug 168961
patch by walk84@yahoo.com r=Roland.Mainz@informatik.med.uni-giessen.de sr=jag


git-svn-id: svn://10.0.0.236/trunk@130872 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 03:42:07 +00:00
roc+%cs.cmu.edu
ace40a9fff Bug 145212. Fix overflow:auto on auto-height elements. r=hyatt,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130864 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 01:23:47 +00:00
dbaron%fas.harvard.edu
6bf02d19fa Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227
git-svn-id: svn://10.0.0.236/trunk@130798 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:46:56 +00:00
roc+%cs.cmu.edu
e25496d35f Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
jkeiser%netscape.com
f2d14853a0 Back out bug 167236 due to regressions 171214 and 171465
git-svn-id: svn://10.0.0.236/trunk@130791 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 10:22:06 +00:00
jkeiser%netscape.com
8697a6f032 Make buttons line up correctly with textboxes again (bzbarsky's patch, bug 171214), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@130707 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-29 02:55:24 +00:00
kyle.yuan%sun.com
d743efbefd Bug 161449 Non-ASCII shortcuts for select elements in html forms
r=aaronl, sr=alecf
fix nsCRT::ToLower/ToUpper bugs and use |ToLowerCase()| instead of |nsCRT::ToLower()| in nsListControlFrame


git-svn-id: svn://10.0.0.236/trunk@130701 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-29 01:42:07 +00:00
jkeiser%netscape.com
4b3dc6b474 Don't crash on pages with font-size: 1px (Rick.Ju@sun.com's patch, bug 170225), r=jkeiser@netscape.com, sr=bryner@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130575 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 07:50:39 +00:00
jkeiser%netscape.com
d59bc1b4f8 Align input type=text/radio/checkbox/button so that text is on baseline (bzbarsky's patch, bug 167236), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@130554 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 00:04:22 +00:00
jkeiser%netscape.com
bbbc1f29b9 Fix crash on fixed position selects (Rick.Ju@sun.com's patch, bug 166750), r=dbaron@fas.harvard.edu, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130551 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 23:51:23 +00:00
rods%netscape.com
f7e07db9b7 This partially backs out the previous patch. We no longer need to set/get anything in the nsIPrintOptions.
What this does is:
1) Reflows the first time constrained and remembers mOverflowArea.XMost() of
the HTML frame and then later uses that for the calculation of the ratio.
2) Renames some variables
3) This also changes the the maximum STF ratio from 0.5 to 0.3 to match the
dropdown in PP
Bug 168961 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@130520 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 11:25:04 +00:00
jkeiser%netscape.com
c5b034aaae Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130511 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 07:41:53 +00:00
av%netscape.com
945a20c30b Fixing 132759 -- 100% CPU with Flash, r=peterl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@130492 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 02:53:27 +00:00
radha%netscape.com
d98fdec7b0 Fix for bug 156312. onScroll events fire when scroll doesn't happen. r=saari sr=jst.
git-svn-id: svn://10.0.0.236/trunk@130443 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 21:29:33 +00:00
karnaze%netscape.com
57d7acbbf5 bug 167915 - remove 2nd patch of bug 138725 and install the 1st. sr=kin, r=jkeiser.
git-svn-id: svn://10.0.0.236/trunk@130421 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 13:56:40 +00:00
bryner%netscape.com
7de2339127 Fix regression where select dropdowns would not draw on Linux if native theme support was enabled (bug 170672). Only call WidgetStateChanged() if the theme claims to support the widget in question; fix an incorrect frame being passed to WidgetStateChanged. r=hewitt, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@130416 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 10:07:40 +00:00
karnaze%netscape.com
35e78f4c8c bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@130380 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 22:13:20 +00:00
karnaze%netscape.com
b70e7f9f22 bug 169620 - don't pass in negative avail widths, don't add/subtract from NS_UNCONSTRAINEDSIZE, make HR's desired width at least as big as its me width. sr=kin, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@130371 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 21:02:20 +00:00
jdunn%netscape.com
e457f74458 AIX requires symbols to be resolved at link time:
resolving NS_NewTransformMediator
# 136401
r=cls@seawood.org


git-svn-id: svn://10.0.0.236/trunk@130355 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 14:36:18 +00:00
pete.zha%sun.com
1fcff5a387 Browser crash when close print preview in a page has fixed DIV
bug=163800, this patch is to backout previou checkin for this bug to reslove layout regression
r=rods@netscape.com sr=roc+moz@cs.cmu.edu


git-svn-id: svn://10.0.0.236/trunk@130342 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 11:53:20 +00:00
roc+%cs.cmu.edu
fe441abc3a Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130340 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 11:43:48 +00:00
glazman%netscape.com
2d08e4ac57 Add support for :-moz-selection CSS3 pseudo-element. See test case in bug. Should become ::selection once support for '::' parsing is implemented; b=167068, r=mjudge, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130333 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 08:13:05 +00:00
jkeiser%netscape.com
b6c4cce5ef Make input type=text width bigger (Rick.Ju@sun.com's patch, bug 92980), r=jkeiser@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130274 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 19:43:48 +00:00
hyatt%netscape.com
f4af415247 More 169373 goodness.
git-svn-id: svn://10.0.0.236/trunk@130232 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 05:38:30 +00:00
hyatt%netscape.com
231ada71e5 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
dougt%netscape.com
b087ce39fc Fixes non idle timers. This is fixes a regression caused by the last timer changes. r=rpotts@netscape.com, sr-darin@netscape.com, b=167841.
git-svn-id: svn://10.0.0.236/trunk@130183 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 22:32:32 +00:00
pinkerton%netscape.com
b5a217a980 make sure |increment| attribute change notification is sent for horiz scrollbars too. oops ;) (bug 161365, r=bryner/sr=sfraser).
git-svn-id: svn://10.0.0.236/trunk@130152 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 14:50:43 +00:00