Commit Graph

2984 Commits

Author SHA1 Message Date
aaronleventhal%moonset.net
6633e19456 Bug 280916. Update DHTML accessibility role and state namespaces to location of RDF files on w3.org. r+sr=jst 2005-02-07 19:29:56 +00:00
bzbarsky%mit.edu
e1a5653cce Fix the HTML serializer to not do fancy linebreaking when "raw" output is
requested.  Use this in innerHTML.  Bug 89780, r+sr=peterv
2005-02-07 17:24:05 +00:00
bzbarsky%mit.edu
764eac7201 Add OOM checks on some GetDOMSlots() calls. Bug 280771, patch by Daniel de
Wildt <mozilla3q04@dewildt.de>, r+sr=jst
2005-02-04 18:04:02 +00:00
cvshook%sicking.cc
d7ac968468 Bug 280921: Kill nsCheapStringBufferUtils
r/sr=darin
2005-02-03 23:49:13 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
jst%mozilla.jstenback.com
03f7b5677f Fixing bug 279945. Prevent drag n' drop of images whose extensions don't map to image mimetypes. r=caillon@gmail.com, sr=dveditz@cruzio.com 2005-02-03 17:23:35 +00:00
bzbarsky%mit.edu
1baff00980 Add a default namespace for DOM-added nodes when creating context for
createContextualFragment.  Bug 280496, r=steve.swanson@mackichan.com, sr=jst
2005-02-03 04:53:26 +00:00
bryner%brianryner.com
851143fbec Remove unneeded nsIContentList interface (bug 280746). r+sr=jst. 2005-02-02 23:16:02 +00:00
darin%meer.net
b56006c95b landing content patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=sicking sr=jst 2005-02-02 22:58:01 +00:00
neil%parkwaycc.co.uk
75726d224b Backing out patch to bug 278443, it didn't improve Txul or Ts and is probably responsible for some new crash bugs 2005-01-31 16:18:31 +00:00
mozilla.mano%sent.com
4ddcb38789 Bug 277516 - Add a hidden pref to follow accessibility.tabfocus for xul elements; default to true on mac, false everywhere else. r=aaronlev sr=bzbarksky 2005-01-29 23:47:35 +00:00
mrbkap%gmail.com
c49cf66e74 bug 279939: Remove a bogus assertion and fix up the plaintext serializer's handling of <li>s with no preceeding <ul> or <ol>. r=akkana sr=jst 2005-01-29 02:50:21 +00:00
cvshook%sicking.cc
c3c6872cf6 Bug 278443: Use an Arena to allocate nsNodeInfos. Patch by smaug@welho.com.
r=sicking sr=peterv
2005-01-28 22:58:37 +00:00
aaronleventhal%moonset.net
63a278237e Bug 249998. Support DHTML accessibility plan, including roles, states and events for state changes. r=pkw, sr=jst 2005-01-28 02:35:26 +00:00
bzbarsky%mit.edu
e9647ed503 Add a "safe" way to unblock the parser, to protect against CSSLoader
stupidity.  Bug 220542, patch by Blake Kaplan <mrbkap@gmail.com>, r=jst,
sr=bzbarsky
2005-01-27 19:28:22 +00:00
bzbarsky%mit.edu
90ac9d05d6 Make kNameSpaceID_None a static const int so it won't cast to pointer types.
Bug 279806, r+sr=jst
2005-01-26 23:13:01 +00:00
vladimir%pobox.com
c6e2ea87cf b=279306, update canvas API to reflect latest standard spec; r=stuart,sr=shaver 2005-01-26 02:08:35 +00:00
bzbarsky%mit.edu
7bd15cde9c Make content state restoration flush out the content sink (but not content
notifications!) before we try to generate the state key.  Remove bogus assert.
Bug 139568, r+sr=jst
2005-01-25 04:22:09 +00:00
cvshook%sicking.cc
e2081a89e6 Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
r=bz sr=jst
2005-01-25 00:02:58 +00:00
cvshook%sicking.cc
7a6a1045f0 missed to change one comment in patch for bug 279155.
rs=jst
2005-01-24 23:20:39 +00:00
cvshook%sicking.cc
626506b46d Bug 266406: nsAttrValue has too big default boundries when parsing integers.
r+sr=jst
2005-01-24 10:43:14 +00:00
aaronleventhal%moonset.net
3bc5cf665e Bug 256003. Remove -moz-user-focus from html.css, forms.css, ua.css. It's been deprecated from use in HTML. Patch by Martijn Wargers. r=bryner, sr=roc 2005-01-23 03:48:00 +00:00
bzbarsky%mit.edu
510e8f371c Make property table actually store and use destructor funcs instead of crashing
when they are needed.  Bug 275574, r=bryner, sr=jst
2005-01-21 17:00:07 +00:00
aaronleventhal%moonset.net
e991e62f67 Bug 259385. Expose h1-h6, q, blockquote in MSAA as well as elements with a defined xhtml2:role attribute. r=pkw, sr=jst 2005-01-21 03:50:26 +00:00
bugzilla%arlen.demon.co.uk
e44634c3c3 Bug 278702 Init method of nsIDocumentEncoder does not reset member variables
p=david.gardiner@unisa.edu.au r=dean_tessman sr=jst
2005-01-20 23:20:59 +00:00
timeless%mozdev.org
1f8b801a07 Bug 254252 nsCRT::BufferHashCode has two variants, and only one user, HashCodeAsUTF8 has no users
patch by mikael@parknert.se r=darin sr=bz
2005-01-20 21:39:23 +00:00
alex%croczilla.com
09b407c7c5 Bug#274925: Fix SVG attribute leaks. r=sicking, sr=jst. SVG only - not part of default builds. 2005-01-20 12:19:16 +00:00
neil%parkwaycc.co.uk
a3392e7e6c Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner 2005-01-18 23:46:59 +00:00
peterv%propagandism.org
64275ef3d5 Remove obsolete function declarations. 2005-01-17 16:45:37 +00:00
peterv%propagandism.org
603ae79c1b Fix for bug 278505 (Trivial content cleanup). r/sr=jst. 2005-01-17 09:38:03 +00:00
peterv%propagandism.org
11fc8babff Fix for bug 227003 (add ::IsContentOfType to txXPathNode, txNameTest, txNodeTypeTest). r=sicking, sr=bz. 2005-01-15 19:20:23 +00:00
bzbarsky%mit.edu
1d87c3297f Include the part number inside a multipart document in the state key, so that
state restoration works correctly on each part.  Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js
2005-01-15 17:47:23 +00:00
jst%mozilla.jstenback.com
6b7d6cec73 Landing fix for bug 198533. Patch by smaug@welho.com. Making nsXULElement inherit nsGenericElement. r=bugmail@sicking.cc, sr=jst@mozilla.org 2005-01-14 19:30:55 +00:00
allan%beaufour.dk
8129c9789b bug 278153, patch by smaug@welho.com, r+sr=bzbarsky 2005-01-13 15:32:41 +00:00
bryner%brianryner.com
f5935fad8b remove parts of patch for bug 276959 that were not intended to be checked in. 2005-01-12 23:27:05 +00:00
bryner%brianryner.com
a8073f18a3 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu
9f634851d3 Remove a bogus +1 that was causing us to reference negative array indices. Bug
224643, r+sr=jst
2005-01-12 17:53:16 +00:00
bzbarsky%mit.edu
38e3d448d9 Make DocumentViewerImpl::CopyImageContents also put the image URI on the
clipboard in the text flavor; a big step toward having a single "copy image"
command that puts it on the clipboard in all relevant flavors in a meaningful
way.  Bug 135300, patch by O. Atsushi (Torisugari) <torisugari@gmail.com>,
r=bzbarsky, sr=jst
2005-01-12 04:11:26 +00:00
bzbarsky%mit.edu
8b54631a06 Keep track of whether a title has been set in the document, not in the sink.
This way we can notice all ways of setting it.  Bug 271996, r=sicking, sr=neil
2005-01-12 02:47:53 +00:00
dbaron%dbaron.org
6b09070f72 CVS remove files that were not part of the build for long (due to performance regression). 2005-01-11 22:51:55 +00:00
timeless%mozdev.org
0f16244b59 Bug 187508 Follow "full keyboard access" setting in System Preferences for tabbing navigation
patch by bugs.mano@mail-central.com r=aaronl sr=neil a=asa
2005-01-06 23:41:52 +00:00
brendan%mozilla.org
13d811077b Support ;e4x=1 MIME parameter after application/x-javascript or text/javascript to enable E4X (270553, r+sr=jst). 2005-01-05 07:25:29 +00:00
bzbarsky%mit.edu
3ed123a486 Use GetOwnerDoc in GetTextContent, since this makes sense for nodes not
currently in the DOM tree.  Bug 276880, r+sr=peterv
2005-01-03 23:37:25 +00:00
bzbarsky%mit.edu
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
mrbkap%gmail.com
b0dd3a51e4 bug 254989: assertion in htmlparser because the serializer doesn't collect skipped content. r=peterv sr=jst 2005-01-03 21:48:53 +00:00
neil%parkwaycc.co.uk
08b341aca4 Bug 51444 Make xbl:inherits work with namespaced attributes p=smaug@welho.com r+sr=bz 2005-01-01 18:02:03 +00:00
bugzilla%arlen.demon.co.uk
70482809ca Bug 113580 switch uses of getAttribute to hasAttributeValue whenever possible
p=bugmail@q1n.org r=dbaron sr=bzbarsky
2004-12-31 00:41:58 +00:00
bmlk%gmx.de
2fef94292c document.implementation.hasFeature('XHTML', '2.0') should return true, bug 255610, p=Vidar Braut Haarr <bugmail@q1n.org>, r=bzbarsky, sr=jst 2004-12-27 11:31:49 +00:00
brendan%mozilla.org
62e4a4e45f Whitespace cleanup (diff -w shows no changes). 2004-12-27 03:23:01 +00:00
dbaron%dbaron.org
972b29f4a1 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner 2004-12-17 20:40:48 +00:00
peterv%propagandism.org
26bb2f4e91 Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst. 2004-12-17 09:17:35 +00:00
peterv%propagandism.org
a7ac96fea9 Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst. 2004-12-15 15:37:23 +00:00
bsmedberg%covad.net
60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
bryner%brianryner.com
6d1dd410b1 Move nsIContent::GetClassAttributeName() onto nsIStyledContent (bug 274402). r+sr=jst. 2004-12-14 03:54:01 +00:00
bryner%brianryner.com
076b2a64a6 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
neil%parkwaycc.co.uk
b76fa9c2de Bug 273741 Plain text copy suffering HTML conversion (regression from bug 244685) p=david.gardiner@unisa.edu.au r=dean_tessman sr=me 2004-12-09 12:59:29 +00:00
dbaron%dbaron.org
f70d9a3c2f Bug 272151: reorganize files within layout, r+sr=roc: cvs removing files that were copied to new locations in the repository 2004-12-08 19:45:40 +00:00
dbaron%dbaron.org
9db368a6af Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00
dbaron%dbaron.org
a4c1ec9f2a Bug 272151: reorganize files within layout, r+sr=roc: readd files that were previously at their new locations without repository-copies. See content/shared/{src,public} for intermediate revision history. 2004-12-08 01:50:33 +00:00
neil%parkwaycc.co.uk
c4c3378210 Bug 244685 Implement SourceURL for CF_HTML clipboard copy/drag'n'drop p=david.gardiner@unisa.edu.au r=dean_tessman sr=me 2004-12-07 14:13:54 +00:00
dbaron%dbaron.org
615caad017 Remove unneeded include. b=272151 2004-12-07 02:49:12 +00:00
dbaron%dbaron.org
468d2b70e8 Remove unneeded include. b=272151 2004-12-07 02:28:38 +00:00
bzbarsky%mit.edu
6b0b8501f3 Make setting innerHTML in XHTML not crash on malformed content and throw an
exception instead.  Bug 272011, patch by steve.swanson@mackichan.com,
r+sr=bzbarsky
2004-12-04 17:51:12 +00:00
bzbarsky%mit.edu
ae0b5be2a3 Be a little more conservative about dirtying function-based content lists when
a node's attribute changes and they match it (check whether the node is already
in the list first).  Bug 271709, r+sr=jst
2004-12-02 02:28:35 +00:00
bzbarsky%mit.edu
669e9a9a9f This wasn't supposed to land... 2004-12-02 02:17:54 +00:00
dbaron%dbaron.org
9643fc6c04 Back out 252703 due to Txul / Ts regression. 2004-12-02 01:26:20 +00:00
bzbarsky%mit.edu
eb7dd859c2 Refix copy/paste of XHTML to treat it like it does XML -- as plaintext-only
content, since we can't actually copy/paste XML usefully.  Bug 270145, r+sr=jst
2004-12-01 22:43:56 +00:00
dbaron%dbaron.org
21dccaeace Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky 2004-12-01 22:39:17 +00:00
bzbarsky%mit.edu
5d84790d77 Put an update view batch around zoom-setting so we don't get drawing
artifacts.  Bug 270032, r+sr=roc
2004-12-01 03:28:44 +00:00
dbaron%dbaron.org
c21915db9d Remove unused iscoord parameter from CSS_PROP_* macros. b=205790 r+sr=bzbarsky 2004-11-30 19:24:34 +00:00
bzbarsky%mit.edu
da145480c7 Fix asserts by making sure that border-spacing is always computed to coord
values.  Bug 270325, r+sr=dbaron
2004-11-30 18:30:58 +00:00
dbaron%dbaron.org
e2aa2edb92 Use preprocessor instead of separate files for platform-specific parts of forms.css. b=272151 r+sr=bryner 2004-11-30 06:04:04 +00:00
mvl%exedo.nl
524ad594d5 Implement DOM 3 isDefaultNamespace()
bug 270640, patch by smaug@welho.com, r+sr=jst
2004-11-28 10:57:22 +00:00
roc+%cs.cmu.edu
c59dda520c Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron 2004-11-26 18:40:58 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
dbaron%dbaron.org
4b47c345dd Make page up and page down leave at most two lines in common between pages. b=175380 r+sr=roc 2004-11-24 22:05:36 +00:00
bzbarsky%mit.edu
095f0fe791 Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
bzbarsky%mit.edu
6b78bd4a5e deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
atom).  Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2004-11-23 17:21:37 +00:00
bzbarsky%mit.edu
4425275728 Expose the content-disposition header on documents (via nsIWindowUtils), and
use it for save as.  Bug 263697, r=biesi, sr=jst, a=asa
2004-11-18 20:50:16 +00:00
shaver%mozilla.org
af61b217ff Bug 267352: make sure frame construction events are flushed before starting
to print, to fix regression (form inputs print blank) from 228557. r=darin,
sr=jst, a=roc.
2004-11-17 16:38:01 +00:00
tor%cs.brown.edu
a4fd23d276 Bug 269891 - crash in stroke-dasharray sharing. r+sr=bzbarsky 2004-11-15 04:43:11 +00:00
timeless%mozdev.org
fb483e6b15 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
bryner%brianryner.com
d37af99b29 Add a beginAddingChildren notification to XTF (bug 268691). r+sr=jst 2004-11-09 23:59:24 +00:00
tor%cs.brown.edu
4dc9eba112 Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz 2004-11-09 18:19:28 +00:00
neil%parkwaycc.co.uk
2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
jst%mozilla.jstenback.com
6784b07eea Landing workaround for bug 124750. Don't let DOM calls focus elements in hidden tabs. r+sr=bryner@brianryner.com 2004-11-04 01:24:05 +00:00
bryner%brianryner.com
501e430b34 Reduce string copying from nsGenericHTMLElement::GetHrefURIForAnchors (bug 267506). r+sr=jst. 2004-11-03 19:44:59 +00:00
bzbarsky%mit.edu
7fd8feb31d Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
jst%mozilla.jstenback.com
05e17f4cd7 Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org 2004-11-02 19:52:32 +00:00
dbaron%dbaron.org
976fc758a4 Remove nsIStyleRule::GetStyleSheet (and move it to nsICSSRule). b=266991 r+sr=bzbarsky 2004-10-31 17:33:50 +00:00
bzbarsky%mit.edu
e7cc653157 Make it possible to use the string input stream without heap-allocating a
string.  Bug 263973, r=darin, sr=dbaron
2004-10-27 02:19:43 +00:00
aaronleventhal%moonset.net
99ef95d12f Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
bzbarsky%mit.edu
a2afb45863 "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia
2004-10-24 18:34:50 +00:00
bzbarsky%mit.edu
4f7fb2d525 Make setting attributes via attribute nodes in HTML correctly lowercase the
attr name.  Bug 264644, r=sicking, sr=peterv
2004-10-24 17:18:27 +00:00
bzbarsky%mit.edu
2895167f89 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky
2004-10-24 17:10:32 +00:00
dbaron%dbaron.org
23bc4069c3 Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:43:49 +00:00
dbaron%dbaron.org
52771912ef Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:32:21 +00:00
daniel%glazman.org
458fe99083 fixes inconsistent selection schemes in HTML tables; b=261385, r=Neil, sr=roc 2004-10-20 15:24:11 +00:00
jst%mozilla.jstenback.com
10a929d4cb Backing out the fix for bug 73605 now that bug 17003 is fixed (was fixed quite some time ago). r=jonas@sicking.cc, sr=jst@mozilla.org. 2004-10-19 22:56:30 +00:00
peterv%propagandism.org
9bf7cae37a Fix for bug 239873 (DOMStringList interface not matching DOM Level 3). r/sr=jst. 2004-10-19 17:20:14 +00:00
peterv%propagandism.org
ca1bfd6167 Protect against a crash, part of bug 261450 (Mozilla crashes when changing DOM Nodes [@ nsRange::TextOwnerChanged]). r/sr=bz. 2004-10-19 15:16:51 +00:00
jst%mozilla.jstenback.com
08b3a16535 Re-enabling the fix for bug 69070 and optimizing some string code in caps that was for sure part of the reason for the Tp regression, and use CheckLoadURIWithPrincipal() to be more correct. r+sr=bzbarsky@mit.edu 2004-10-15 16:34:58 +00:00
peterv%propagandism.org
1716f47e5d Fix for bug 264309 (Consolidate CloneNode implementation macros). r/sr=jst 2004-10-15 14:42:14 +00:00
tor%cs.brown.edu
1d8fcac4c6 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.
2004-10-14 23:02:53 +00:00
jst%mozilla.jstenback.com
96cd535991 Disable the security check in nsContentUtils::CanLoadImage() to see if that's what costs us 2% per yesterday. 2004-10-14 22:24:07 +00:00
jst%mozilla.jstenback.com
bc60433e87 Fixing bug 69070. Don't allow loading of images from file: URIs from web content. r+sr=bzbarsky@mit.edu 2004-10-13 23:16:58 +00:00
dbaron%dbaron.org
dc1efc09e8 Store the visible area so other callers of InitialReflow use the right size rather than 0x0. b=227361 r+sr=roc 2004-10-13 21:59:26 +00:00
bzbarsky%mit.edu
65b5f30c68 Fix XML serializer to use default namespaces when possible instead of outputing
unneeded namespace prefixes.  Also fix possible correctness issues with the
prefixes it generates.  Bug 263225, r=peterv, sr=rbs
2004-10-13 01:16:06 +00:00
aaronleventhal%moonset.net
ca0cd1c767 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs 2004-10-13 01:12:14 +00:00
bzbarsky%mit.edu
204153db3a Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
r+sr=peterv.
2004-10-11 16:29:42 +00:00
bzbarsky%mit.edu
976f8eab47 Fix up uses of GetOwnerDoc/GetCurrentDoc to use the right one, with an eye
towards general sanity on the one hand and sXBL/XBL2 on the other.  Bug 263200,
r+sr=peterv
2004-10-11 16:14:27 +00:00
aaronleventhal%moonset.net
b81f44f034 Nit - fixing comment for checkin to bug 24676 2004-10-10 02:50:43 +00:00
aaronleventhal%moonset.net
a65d784429 Bug 24676. Support -moz-outline-radius. r=bzbarsky, sr=roc 2004-10-10 00:51:42 +00:00
bzbarsky%mit.edu
9e0265ff6d Fix spelling in comment. 2004-10-09 21:37:57 +00:00
bzbarsky%mit.edu
67e81a846a Fix ComparePoints() to be faster (helps with things like innerHTML). Bug
262764, r+sr=peterv
2004-10-09 21:02:16 +00:00
roc+%cs.cmu.edu
6c4ebb2c18 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky 2004-10-09 01:39:21 +00:00
alex%croczilla.com
f877ee870e Wrap GetXTFServiceWeakRef in #ifdef MOZ_XTF to fix non-xtf builds. 2004-10-07 21:23:52 +00:00
alex%croczilla.com
1fce2c4058 Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
ae19bafe08 Don't go through presshells to get to our window; just use the global object.
This fixes various issues that could bite display:none iframes, in particular
bug 262998.  r+sr=jst
2004-10-06 20:24:18 +00:00
bzbarsky%mit.edu
8266fddc46 Fix "normal" and "-moz-initial" values for "content" to do the right thing.
Bug 262624, r+sr=dbaron
2004-10-06 00:45:42 +00:00
mats.palmgren%bredband.net
fab37c78b3 Fallback to using the ID attribute when NAME is empty for XUL iframes. b=254284 r=neil.parkwaycc.co.uk sr=bzbarsky 2004-10-01 18:32:18 +00:00
bzbarsky%mit.edu
432e6d1817 Add debug MaxDifference() function to style structs and add some asserts in
style context code to catch structs that are returning unexpected or bogus
hints.  Bug 258910, r+sr=dbaron
2004-10-01 03:33:05 +00:00
bzbarsky%mit.edu
e2c56f9785 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
jst%mozilla.jstenback.com
03052a2f27 Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org 2004-09-23 23:39:16 +00:00
bsmedberg%covad.net
7561fa5d5b Merge bug 246014 from the aviary branch, splitting nsIXULChromeRegistry into a separate piece for seamonkey-only methods. Original Firefox patch r=bryner sr=ben seamonkey merge r+sr=jst 2004-09-21 20:19:48 +00:00
dbaron%dbaron.org
feb3d9aee8 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc 2004-09-21 04:41:08 +00:00
db48x%yahoo.com
aa17b33cca fixes bug 260293: TreeWalker root (currentNode) with no visible descendants goes astray
patch by Alex "WeirdAl" Vincent <ajvincent@gmail.com>, r=sicking, sr=bz
2004-09-21 04:13:52 +00:00
neil%parkwaycc.co.uk
6a4f37de6b Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc 2004-09-20 22:25:07 +00:00
neil%parkwaycc.co.uk
52fee980c1 Fix regression from previous checkin, CloneContent needs to be virtual so that nsTextNode can override it r+sr=jst over irc, no bug 2004-09-16 21:45:38 +00:00
jst%mozilla.jstenback.com
fc931b93e2 Fixing bug 259206. Force local documents to always be loaded as XML to fix problem with XML prettyprinting not working if the system incorrectly sets bogus mimetypes for .xsl files (as Fedora Core 2 happens to do). r+sr=peterv@propagandism.org 2004-09-16 19:18:51 +00:00
cbiesinger%web.de
62572e7531 forgot to check this in as part of Bug 258411 2004-09-16 14:20:54 +00:00
cbiesinger%web.de
f3e06d119c Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
r+sr=roc
2004-09-16 13:02:54 +00:00
peterv%propagandism.org
1a88732b51 Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2004-09-16 12:39:49 +00:00
dbaron%dbaron.org
a0bf92722f Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc 2004-09-15 19:16:43 +00:00
dbaron%dbaron.org
5f62984111 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky 2004-09-14 17:26:35 +00:00
bzbarsky%mit.edu
15ac643742 Make sure to addref out param. Bugs 258121 and 247712, r+sr=peterv 2004-09-14 15:06:56 +00:00
bryner%brianryner.com
2c7c1c9fb0 Support properties on documents (bug 253888). r+sr=jst. 2004-09-14 04:21:29 +00:00
roc+%cs.cmu.edu
44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
mats.palmgren%bredband.net
d42ee7d038 Use the ID attribute (and not NAME) for FRAME/IFRAME/OBJECT in XHTML. b=183683 r+sr=bzbarsky 2004-09-12 23:34:00 +00:00
bmlk%gmx.de
002c0c28fc changing the border-collapse mode needs to cause a reframe as we have two different types of cellframes depending on the mode, bug 254053 idea=bz, r/sr=dbaron 2004-09-11 06:13:47 +00:00
dbaron%dbaron.org
1e28ab3636 Use sheet URI instead of base URI. b=258708 r+sr=bzbarsky 2004-09-10 19:01:04 +00:00
dbaron%dbaron.org
96c0e36f4e Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu
df42e726bc Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
bzbarsky%mit.edu
a8a6ecf161 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00
dbaron%dbaron.org
9e2cdf2204 Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky 2004-09-09 17:32:35 +00:00
bryner%brianryner.com
708eab16dc Bustage fix for HPUX (bug 239465) - |explicit| may only be used for converting constructors. r=dbaron. 2004-09-05 19:13:25 +00:00
dbaron%dbaron.org
3827991ce7 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
9984902fd6 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc 2004-09-04 19:51:21 +00:00
cbiesinger%web.de
6fef9f4542 Bug 250342 Views should not inherit from nsISupports
r+sr=roc
2004-09-04 15:49:20 +00:00
dbaron%dbaron.org
ee55fda1f1 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
31bf95ea38 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc 2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
8b8587dcc0 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc 2004-09-03 21:58:39 +00:00
bryner%brianryner.com
dc76c57a2c deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
bryner%brianryner.com
e14abad4f9 Restoring previous failure code, follow-up to bug 257596 2004-09-01 18:02:04 +00:00
mvl%exedo.nl
a6b86054b1 fix third-party checks for images loaded as source of an iframe, by making sure there is a requestingLocation
bug 254510, r=jst, sr=bz
2004-09-01 17:12:18 +00:00
jst%mozilla.jstenback.com
bc321b52bc Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu 2004-09-01 16:50:12 +00:00
neil%parkwaycc.co.uk
52912b39d2 Bug 135928 Range.surroundContents doesn't work on a single text node p=kin r=jfrancis sr=jst extracted from the otherwise bitrotted patch in bug 58974 2004-09-01 16:18:31 +00:00
aaronleventhal%moonset.net
1f5edcb856 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
bryner%brianryner.com
4c15468e7d Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bryner%brianryner.com
d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org
c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
c1681a238f Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
00a887382c Fix debug bustage. b=72747 2004-08-26 19:12:05 +00:00
dbaron%dbaron.org
5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
peterv%propagandism.org
f000eed21d Fix for bug 256514 (Links don't work in documents created via XSLT). r/sr=jst. 2004-08-25 14:17:40 +00:00
bryner%brianryner.com
69a0c87bd1 Trying to fix AIX bustage by making nsIDocument dtor non-virtual. r=dbaron. 2004-08-25 00:30:47 +00:00
bryner%brianryner.com
b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
tor%cs.brown.edu
0c326e84e7 Bug 216563 - implement <svg:switch>.
Patch by scootermorris@comcast.net, r=afri, sr=dbaron
2004-08-23 21:10:39 +00:00
bryner%brianryner.com
0c08074b27 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner%brianryner.com
8c24cc7e63 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
timeless%mozdev.org
872e808fe6 Bug 238773 Separating nsDOMEvent into separate classes
patch by mozilla-bugzilla@future.shiny.co.il r=bryner sr=jst
2004-08-20 18:09:19 +00:00
peterv%propagandism.org
68a084b8c7 Fix for bug 244392 (Removing lines form a Bullet list using the [ back arrow ] or [Delete] keys results in <> and </> tags embedded in code when in Normal Mode). r=brade, sr=jst. 2004-08-19 12:45:47 +00:00
neil%parkwaycc.co.uk
6f47653428 Bug 255929 Can't drag scrollbar in Print Preview r+sr=roc 2004-08-18 19:17:13 +00:00
vladimir%pobox.com
cfcb233cb8 Initial landing of cairo-related stuff, nothing built by default, all code is in ifdefs. r=bryner,a=brendan 2004-08-14 01:01:16 +00:00
bzbarsky%mit.edu
e9215e4304 Fix bug 255236 (composer confused by broken nextSibling on textnodes). Patch
by Peter Van der Beken <peterv@propagandism.org>, r+sr=bzbarsky, a=shaver
2004-08-12 19:46:54 +00:00
peterv%propagandism.org
6226b16caf Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r+sr=bz 2004-08-10 20:37:26 +00:00
peterv%propagandism.org
8d23023aab Backout part of the fix for bug 27382 to try to undo Tp regression. 2004-08-10 16:16:58 +00:00
tor%cs.brown.edu
8b7a521e30 Bug 254771 - Remove AssertNoCSSRules(lastPresHintRN, lastAgentRN) from
nsStyleSet::FileRules.  Patch by jonathan.watt@strath.ac.uk, r=bz, sr=dbaron
2004-08-10 15:59:30 +00:00
peterv%propagandism.org
45682cc199 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst. 2004-08-10 10:22:36 +00:00
bzbarsky%mit.edu
fd1f9b32e8 Remove unneeded nsChangeHint include. Bug 254790, r+sr=dbaron 2004-08-08 20:29:12 +00:00
peterv%propagandism.org
b792afe1f1 Add comment to explain the fix for bug 243392. 2004-08-07 17:25:56 +00:00
mats.palmgren%bredband.net
2ec5e837c2 Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron 2004-08-06 15:55:17 +00:00
peterv%propagandism.org
f0d5139d7d Fix for bug 252589 (Textbox attribute "multiline" seems broken). r+sr=jst. 2004-08-06 11:56:46 +00:00
dbaron%dbaron.org
d35f39cc02 Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky 2004-08-05 18:26:14 +00:00
neil%parkwaycc.co.uk
a33872e9fe Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
bzbarsky%mit.edu
91a0c731f4 nsImageBoxFrame and nsTreeBodyFrame should use nsContentUtils::LoadImage (and
CanLoadImage).  Bug 253627, r+sr=dbaron
2004-08-04 19:48:55 +00:00
cbiesinger%web.de
9b72dd5b6f Bug 254278 remove some *WithConversion in layout/content
r+sr=bz
2004-08-04 17:33:30 +00:00
dbaron%dbaron.org
e7216e4d86 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-08-04 03:23:37 +00:00
bryner%brianryner.com
6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
1236bd859f Back out 236889 due to 253755. 2004-07-31 07:42:12 +00:00
bzbarsky%mit.edu
d341a177a5 Make sure to return something from this method so callers don't see garbage
return values.  Followup to bug 251775.
2004-07-30 16:07:07 +00:00
aaronleventhal%moonset.net
bf49c01782 Bug 253391. Any element with tabindex explicity specified can be focused via .focus(). r=bryner, sr=jst 2004-07-30 13:00:36 +00:00
bzbarsky%mit.edu
e628e82cc1 Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
shared code into utility methods in nsContentUtils.  Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs.  Bug 251775 and bug 244859, r=biesi, sr=jst
2004-07-30 06:04:57 +00:00
dbaron%dbaron.org
ca843bb250 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-29 20:07:25 +00:00
bryner%brianryner.com
0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron%dbaron.org
2faa2566a0 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00