bzbarsky%mit.edu
26af641d58
Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
...
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds. Bug 11011, r=biesi and roc, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
bzbarsky%mit.edu
c3d2c5e7a2
Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
...
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179800 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 16:49:21 +00:00
roc+%cs.cmu.edu
906863a0f9
Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr.
...
git-svn-id: svn://10.0.0.236/trunk@179728 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 21:34:50 +00:00
cbiesinger%web.de
30cd5b3f3a
293384 implement nsImageFrame::GetFrameName for easier debugging
...
r+sr=bz a=asa
git-svn-id: svn://10.0.0.236/trunk@173213 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-09 17:46:06 +00:00
bzbarsky%mit.edu
54df69c399
Use the content policy REJECT reason as a basis for our "whether to show alt
...
text" decision instead of reading prefs ourselves. Bug 202906, r=mvl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@170075 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 04:05:12 +00:00
bugzilla%arlen.demon.co.uk
e4daffa10a
Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
...
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 01:13:27 +00:00
cbiesinger%web.de
a8dbace73d
38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
...
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +00:00
bmlk%gmx.de
e547c59f49
remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
bryner%brianryner.com
21406015bf
Extend invalidated region by one source row in each direction so that we fully cover the rows in a scaled image which may be drawn using a given source row. This fixes the "white lines" problem with scaled images (bug 222901). r=pavlov, sr=tor.
...
git-svn-id: svn://10.0.0.236/trunk@161441 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-28 23:59:15 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
jst%mozilla.jstenback.com
74089032ff
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
dbaron%dbaron.org
e5ad15e520
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
cbiesinger%web.de
8f5b033ffb
Bug 233587 small nsImageFrame cleanup - use nsILink to get a link href.
...
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152597 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 16:57:00 +00:00
dbaron%dbaron.org
76dd720050
Clean up code related to broken / loading image icons and make it observe pref changes. b=180620 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152237 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 20:30:02 +00:00
bryner%brianryner.com
70bf134ff4
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
dbaron%dbaron.org
593f58592d
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu
50802bdf22
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
alecf%flett.org
71e5d724e5
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
bzbarsky%mit.edu
9861b52663
Make sure that Init() failures for image frames don't mean no alt text. Also
...
fixes a crasher when reframing fixed-pos frames.
This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED). This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.
Bug 202506, r=rbs, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@141552 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:57:47 +00:00
bzbarsky%mit.edu
67db3288d0
"Backing" changes back in since tree has reopened.
...
git-svn-id: svn://10.0.0.236/trunk@140538 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu
94a9f714fa
Backing all this out, since tree is closed.
...
git-svn-id: svn://10.0.0.236/trunk@140536 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu
3943474ad6
Make the IconLoad hold a ref to the image listener. Fixes race to a crash.
...
Bug 199021, r=pavlov, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140533 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 01:35:20 +00:00
dbaron%dbaron.org
ba985f2ca8
Correct fix for OS/2 bustage (and make it apply to all platforms), since the OS/2 compiler is correct according to C++ 11.8, clause 1, which says "The members of a nested class have no special access to members of an enclosing class...". b=83774
...
git-svn-id: svn://10.0.0.236/trunk@139772 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 15:37:58 +00:00
mkaply%us.ibm.com
ac0756b181
OS/2 bustage - yes our compiler sucks, but on a brighter note, it will be gone very soon and we can remove every XP_OS2_VACPP in the code
...
git-svn-id: svn://10.0.0.236/trunk@139767 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 14:51:53 +00:00
bzbarsky%mit.edu
4fc824c491
Try to fix OS/2 bustage yet again..
...
git-svn-id: svn://10.0.0.236/trunk@139759 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 08:34:47 +00:00
bzbarsky%mit.edu
247c66a53a
Another attempt to fix OS/2 bustage.
...
git-svn-id: svn://10.0.0.236/trunk@139756 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 07:10:57 +00:00
bzbarsky%mit.edu
7b319b420a
More OS/2 bustage... bug 83774
...
git-svn-id: svn://10.0.0.236/trunk@139750 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 06:15:38 +00:00
bzbarsky%mit.edu
2fbc7d38bb
Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
...
type="image"> into the content nodes and out of nsImageFrame. r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@139743 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 03:47:09 +00:00
bzbarsky%mit.edu
6c1ec16a83
Make imgRequestProxy hold a weak ref to its listener, to prevent reference
...
cycles. Bug 196797, r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@139608 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 16:09:02 +00:00
bzbarsky%mit.edu
617629aaf0
Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
...
and do not hold a ref to them. Bug 190475, r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@138515 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 05:51:32 +00:00
heikki%netscape.com
8c3595f3d1
Bug 189077, make nsImageFrame smaller by using frame state bits, r=paper@animecity.nu, sr=roc+moz@cs.cmu.edu.
...
git-svn-id: svn://10.0.0.236/trunk@138382 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 22:20:26 +00:00
dbaron%dbaron.org
e6a2b29ebf
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bryner%netscape.com
c44337949a
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.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
dbaron%fas.harvard.edu
2644fbd1b6
Remove unneeded stubs for code to support Navigator 4.x-only suppress attribute. b=182554 r=biesi (who noticed the problem) sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@134581 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 23:02:31 +00:00
bzbarsky%mit.edu
f6b3b3afb9
Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +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
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
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
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
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
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
sfraser%netscape.com
d35e1fa18c
Fix for bug 115162 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110496 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:13:08 +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
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
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
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