Commit Graph

2130 Commits

Author SHA1 Message Date
dbaron%dbaron.org
20ae0c288c No more experiments. Back to plain old macros. r+sr=roc b=196603 2003-03-16 04:51:56 +00:00
dbaron%dbaron.org
5966b88a27 Well, the OS/2 compiler does not like the cool way of doing this, so on to the ugly way... b=197277 2003-03-16 01:34:48 +00:00
dbaron%dbaron.org
c4811e9e52 Ensure that CalcStyleDifference populates the new context with all of the structs present on the old context to ensure that the PeekStyleData optimization is valid. Avoid copy-and-pasted code. b=196603 r+sr=roc 2003-03-16 00:20:21 +00:00
bzbarsky%mit.edu
b55d3bdb7f Remove some style-data-clearing functions that no one uses and that don't do
the right thing anyway.  Bug 169989, r+sr=dbaron
2003-03-13 18:58:54 +00:00
dbaron%dbaron.org
3069e2548c Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky 2003-03-13 15:29:36 +00:00
roc+%cs.cmu.edu
210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
roc+%cs.cmu.edu
84b91a597c Bug 195883. %-values are not valid for '-moz-opacity'. 2003-03-08 03:08:25 +00:00
heikki%netscape.com
dadc4b1160 Bug 191327, make internalSubset not include delimiting brackets (was not defined in DOM 2 but is now defined in DOM 3 drafts). Also fix bug 191482, external entity definitions should be included in internal subset. r=harishd, jst, sr=peterv. 2003-03-07 23:40:51 +00:00
aaronl%netscape.com
20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
dbaron%dbaron.org
10878a0640 Remove unused variable (fix warning). b=171830 2003-03-06 21:01:52 +00:00
dbaron%dbaron.org
2c149384ef Fix for bustage on older gcc. b=117316 2003-03-06 20:16:35 +00:00
dbaron%dbaron.org
c3fb353790 Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky 2003-03-06 19:14:17 +00:00
dbaron%dbaron.org
636a18962f Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830 2003-03-06 19:07:22 +00:00
peterv%netscape.com
bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
sicking%bigfoot.com
9ed65880ca Bug 184159: Make scripts with for- and event-attributes not lock up the xml-contentsink.
r=peterv sr=jst
2003-03-04 12:12:48 +00:00
sfraser%netscape.com
395413772f Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
jst%netscape.com
1f6f27bce8 Fixing bug 182700. Make 'Copy Image Location' work for <input type=image> elements. r=timeless@myrealbox.com, sr=peterv@netscape.com 2003-02-27 01:38:20 +00:00
jst%netscape.com
819f27dd06 Fixing bug 191579. Make <script for='window' event='onload'> execute as inline script like it used to. r=bzbarsky@mit.edu, sr=peterv@netscape.com 2003-02-27 00:49:36 +00:00
ere%atp.fi
0658c7676a Bug 193929: HTML sanitizer ("simple html") should allow attached images
r=ducarroz, sr=jst
2003-02-26 13:47:36 +00:00
bzbarsky%mit.edu
6a0073db73 Sync up observer notifications between nsDocument and nsXULDocument. Bug
192130, r=dbaron, sr=jst
2003-02-23 18:49:45 +00:00
dbaron%dbaron.org
e341c5f706 Make ProbePseudoStyleFor return null whenever :before and :after aren't displayed so that we don't try to reframe constantly in certain cases, preventing link clicking from working. b=188525 r+sr=bzbarsky 2003-02-23 17:28:25 +00:00
timeless%mozdev.org
c6fb3f4dda Bug 193824 Remove unused globals from nsDocumentViewer.cpp
r=smontagu sr=alecf
2003-02-23 07:03:09 +00:00
bzbarsky%mit.edu
a47e2fa451 Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
(parent sheet, parent rule, owning node, document).  Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
roc+%cs.cmu.edu
67a197918a 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
1c6c3011c3 Bug 180921. Make nsDocumentViewer::Show call nsDocumentViewer::MakeWindow instead of duplicating code. Fixes a bug where subdoc view linkage was added to MakeWindow but not Show. r=jkeiser,sr=jst 2003-02-22 21:48:39 +00:00
bzbarsky%mit.edu
494a5203ff Removing nsIDocumentContainer -- it's unused and not planning to be used. Bug
193543, r=sicking, sr=jst
2003-02-22 19:54:11 +00:00
dbaron%dbaron.org
d733f493e4 Fix Windows bustage. (Why doesn't gcc enforce correct const-ness?) 2003-02-22 17:51:47 +00:00
dbaron%dbaron.org
4b4f8625f1 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org
ea93b55cc8 Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +00:00
dbaron%dbaron.org
6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
jkeiser%netscape.com
bd4cc85eeb Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2003-02-22 08:10:46 +00:00
bryner%netscape.com
e43f5a49fd 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
sicking%bigfoot.com
dcc6361443 Bug 174713: Make XPath on HTML documents behave consistently and HTML-ish. This makes the XPath-functions name() and local-name() return upper-case names and makes nametests case-insensitive.
r=peterv sr=jst a=asa
2003-02-14 00:59:40 +00:00
dbaron%dbaron.org
2ce5068759 Backing out half of previous changes, since they're not necessary to fix the crash and I think they cause problems. 2003-02-07 03:21:27 +00:00
dbaron%dbaron.org
e6b505fb3d Make observer notification in nsDocument and nsXULDocument happen in the same order (that of nsXULDocument), and make nsXULDocument more resistant to observer removal during notification in an attempt to fix crashes. b=192130 Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=jst a=asa 2003-02-07 03:15:41 +00:00
bzbarsky%mit.edu
4e17c8c0d3 Try to more gracefully handle unexpected destruction of stylesheet linking
nodes.  Bug 185808 (just fixes the crash, not the real problem).  r=sicking,
sr=jst, a=dbaron
2003-02-04 04:45:58 +00:00
bzbarsky%mit.edu
982224a610 Fix crash bug 191588. r=sicking, sr=jst, a=dbaron 2003-02-04 04:19:05 +00:00
bzbarsky%mit.edu
593090f503 Relanding 189384 since it seems Not Guilty. Still r=sicking/sr=jst/a=asa 2003-01-31 23:21:22 +00:00
bzbarsky%mit.edu
0ec80cf1ba Backing out 189384 to see whether this caused the Tp jump. 2003-01-31 14:28:50 +00:00
bzbarsky%mit.edu
0a5dfa0dba Make getElementsByTagName(NS) in XUL use content lists (perf, etc). Bug
189384, r=sicking, sr=jst, a=asa
2003-01-31 06:28:14 +00:00
blizzard%redhat.com
a999059dd4 Bug #190079. Crasher. Check length of string before calling |Last| on it. r=jkeiser,sr=scc,a=roc 2003-01-23 04:12:58 +00:00
paper%animecity.nu
a275d707af Fix for blocker Bug 190124 & Bug 190121. r=jkeiser, sr=blizzard, a=roc+moz. Send Pixel Units to GetPixelValue, not GetIntValue 2003-01-22 22:33:27 +00:00
pkw%us.ibm.com
dc7050147a Bug 189859 - Checkin for Bug 173388 broke 64-bit builds on AIX.
r=harishd@netscape.com, sr=jst@netscape.com
2003-01-22 04:29:43 +00:00
peterv%netscape.com
c1e3bc0d5e Fix for bug 186538 (Touching the ownerElement of an attribute through XPath generates a security error.). r=sicking, sr=jst. 2003-01-22 03:25:51 +00:00
jkeiser%netscape.com
d73be72429 Move HTMLValue parsing methods to HTMLValue (bug 159757), r=bugmail@sicking.cc, sr=jst@netscape.com 2003-01-21 21:24:16 +00:00
dbaron%dbaron.org
03366794e8 Fix crash (and refix other crashes in a cleaner way) by making UndisplayedMap own references to content nodes, just like frames do. b=161304 r+sr=bzbarsky 2003-01-21 00:47:14 +00:00
caillon%returnzero.com
0ab3beee78 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron
2003-01-19 02:36:04 +00:00
dbaron%dbaron.org
faa9a5b9f9 Reduce duplication of code between handling of top/right/bottom/left margin, border, and padding. b=189537 r+sr=bzbarsky 2003-01-18 15:58:49 +00:00
dbaron%dbaron.org
973f5e4a90 Fix inheritance of 'border-color' when the value inherited came from 'color' (the default). b=189402 r+sr=bzbarsky 2003-01-17 23:41:20 +00:00
cbiesinger%web.de
b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00