252 Commits

Author SHA1 Message Date
tor%cs.brown.edu
ffb291f8fb Bug 155939 - frames not replaced correctly on bordered animated gif.
Patch by paper@animecity.nu, r=bzbarsky, sr=tor


git-svn-id: svn://10.0.0.236/trunk@133184 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 20:44:51 +00:00
dbaron%fas.harvard.edu
7c66f307dd Miscellaneous performance improvements, mostly related to image loads. Cache a copy of the IO service on the Pres Context for use in starting image loads. b=170116 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@133149 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 12:58:05 +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
rpotts%netscape.com
5d90e7c567 bug #145579 (r=darin, sr=jst) send the correct referrer for images...
git-svn-id: svn://10.0.0.236/trunk@129799 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 18:59:41 +00:00
cbiesinger%web.de
281964d562 bug 151983 patch by bernd.mielke@snafu.de r=paper sr=tor
ASSERTION: imgLoader::LoadImage -- NULL URI pointer: 'aURI'


git-svn-id: svn://10.0.0.236/trunk@128754 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:49:51 +00:00
pete.zha%sun.com
f1830c00be Reproducible crash when printing page [@nsFloaterCacheList::~nsFloaterCacheList()] (bug=149074)
r=karnaze@netscape.com sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@128412 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 01:44:15 +00:00
aaronl%netscape.com
6ec7265fbf Bug 132158. Active Accessibility: expose correct bounds information and accessible value for HTML areas. r=saari, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@127523 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 01:46:58 +00:00
cbiesinger%web.de
bbae640797 bug 147938 patch by paper r=dbaron sr=waterson
Don't Invalidate nsImageFrame area if it's hidden


git-svn-id: svn://10.0.0.236/trunk@124409 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 18:17:35 +00:00
alexsavulov%netscape.com
0027d9c146 patch for bug 148199 - Images that are "broken" during document editing
don't redisplay using broken image icon.
added a request proxy removal from the mLoads to get the broken icon
when paint.
r=glazman, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@123524 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 21:28:53 +00:00
karnaze%netscape.com
49e0a9f4cb bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
shanjian%netscape.com
a9c700ad59 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@122131 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 20:11:14 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
jst%netscape.com
7b7411c3ef Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
mjudge%netscape.com
5707942d3f fix from 9.8 added to 9.9 and 1.0 branches. moving to trunk as well. small fix for image display
git-svn-id: svn://10.0.0.236/trunk@118696 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:11:23 +00:00
cbiesinger%web.de
5acc5ee9c8 bug 136382 r=rjesup@wgate.com sr=tor
preference to disable image placeholders


git-svn-id: svn://10.0.0.236/trunk@118626 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:45:05 +00:00
dbaron%fas.harvard.edu
ba46223ec2 Paint image background and border in the correct paint layer, depending on whether the image is block or inline, rather than always as if it were block. b=61217 r=pavlov sr=waterson a=asa
git-svn-id: svn://10.0.0.236/trunk@118512 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 01:16:48 +00:00
attinasi%netscape.com
dbe40cd4b1 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@117496 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:14:05 +00:00
dbaron%fas.harvard.edu
4d91361814 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
karnaze%netscape.com
4cedce858a bug 124637 - when figuring available width for HRs subtract out both margins. a=asa, sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@116999 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:14:27 +00:00
pavlov%netscape.com
c04a410905 fixing bug 131231 r=valeski sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@116703 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 05:46:26 +00:00
nhotta%netscape.com
d0aa14c5a0 For IMAGE SRC/FRAME SRC, set a charset from the document and pass it to NS_NewURI,
bug 127282, r=attinasi, sr=darin, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116435 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:26:11 +00:00
karnaze%netscape.com
1c08f43c69 bug 105742 - paint the outline of an image after the image content. a=roc, sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@116407 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:35:52 +00:00
mkaply%us.ibm.com
ba959ec54e #41924
r=timeless, sr=attinasi, a=asa
Display alt text if the user has blocked all images.


git-svn-id: svn://10.0.0.236/trunk@116259 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-09 05:31:35 +00:00
pavlov%netscape.com
a970af6da5 fixing 76177. r=cmanske sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@115990 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:45:55 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
morse%netscape.com
c30bfac365 bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
git-svn-id: svn://10.0.0.236/trunk@115625 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:26:49 +00:00
karnaze%netscape.com
a1c3edffaf bug 124041 - prevent infinite splitting of images due to 0 avail height. sr=attinasi, r=alexsavulov, a=asa
git-svn-id: svn://10.0.0.236/trunk@115309 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 14:42:12 +00:00
tor%cs.brown.edu
98278b1663 Bug 125837 - mIntrinsicSize setup missing pixel->twip conversion.
r=pavlov, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@114735 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 15:31:24 +00:00
attinasi%netscape.com
95bad745a0 Loading and Broken image icons will no longer be drawn if the image size is smaller than the icon size. This fixes a problem where garbage was being left on the screen after the image loaded, because the Linux RenderingContext does not corectly clip image drawing. b=109418, r=pavlov, sr=blizzard, a=blizard on behalf of drivers
git-svn-id: svn://10.0.0.236/trunk@112467 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 22:17:12 +00:00
attinasi%netscape.com
ecb20fc642 Fixed problem with images splitting when they should not be. b=111255 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111948 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:32:55 +00:00
brade%netscape.com
0137943f93 remove unused static kIOServiceCID saving 16 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111694 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:39:24 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 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
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
mjudge%netscape.com
20a1185b2b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not
git-svn-id: svn://10.0.0.236/trunk@110680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:29:49 +00:00
dbaron%fas.harvard.edu
f5dc1089af Fix implementation of {min,max}-{width,height} on images. b=18477 r=pavlov sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@110207 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 03:21:13 +00:00
hyatt%netscape.com
6c6f01e32e 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
git-svn-id: svn://10.0.0.236/trunk@109734 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 08:35:05 +00:00
attinasi%netscape.com
c34413af37 Blocked images will no longer show the broken image icon, nor will they show ALT text. Repairs alleged 'regression' from previous ALT text fixes. b=109090 r=alexsavulov sr=kin
git-svn-id: svn://10.0.0.236/trunk@109371 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:47:06 +00:00
attinasi%netscape.com
e41d8f0647 Moving loading and broken image icons to /res for embedding. b=110384 r=adamlock,sfraser sr=sfraser,waterson
git-svn-id: svn://10.0.0.236/trunk@108627 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 22:21:14 +00:00
rods%netscape.com
4b3f973350 Added image animation mode constants to imgIContainer.IDL,
Changed the animation mode enum to PRUint16 (removed the enum) in nsIPresContext so we could use the constants
from imgIContainer. (change from dcone's review comments)
Bug 2586 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@108057 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:59:08 +00:00
karnaze%netscape.com
65fe290a5b bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
attinasi%netscape.com
f06a7c002e New image for loading and broken images icons. b=108799 r=kmcclusk sr=waterson a=blizzard/drivers
git-svn-id: svn://10.0.0.236/trunk@107691 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 21:43:54 +00:00
attinasi%netscape.com
9e73b286fe Due to popular demand, broken images are now getting an icon and a sized-box if they have width and height and are in QuirksMode documents (see bug for pref to override). b=102281 r=kmcclusk sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107568 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 05:02:42 +00:00
attinasi%netscape.com
11481ea927 Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@107407 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:44:20 +00:00
karnaze%netscape.com
b1771999ca bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106966 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:31:13 +00:00
bryner%netscape.com
9f640c7836 Debug-only change to print out the img src when the frame tree is dumped. r=pavlov, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@106808 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 04:43:48 +00:00
rbs%maths.uq.edu.au
410c9e51f2 bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:58:00 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
pavlov%netscape.com
3fb5ffef03 fix for bug 105257 r=dbaron sr=mscott
git-svn-id: svn://10.0.0.236/trunk@105890 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 00:12:53 +00:00
pavlov%netscape.com
eff7407871 removing lowsrc support. bug 92453. r=jag sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105378 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 01:17:08 +00:00
pavlov%netscape.com
6befe588de fix for bug 103477 r=jag sr=hyatt (not bug 103536 as previously stated)
git-svn-id: svn://10.0.0.236/trunk@104768 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 18:02:13 +00:00
pavlov%netscape.com
3b6f9233b7 adding null check to fix orangeness.
git-svn-id: svn://10.0.0.236/trunk@104732 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 08:19:44 +00:00