bzbarsky%mit.edu
d14d1f2475
Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
...
changes, sr=jst
git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
cvshook%sicking.cc
b26f9f52fb
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
53c329523d
Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
...
to it. Bug 313343, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
cvshook%sicking.cc
4c3b0d8f16
Fix buildbustage due to bad merge conflict. Hail to nsDerivedSafe!
...
git-svn-id: svn://10.0.0.236/trunk@182700 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:59:13 +00:00
cvshook%sicking.cc
f95c92ff95
Bug 311785: Simplify the nsIHTMLContentSink interface
...
r=mrbkap sr=peterv
git-svn-id: svn://10.0.0.236/trunk@182699 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:39:06 +00:00
bzbarsky%mit.edu
011ce4236b
Make sure to only treat the outermost frameset as body-like. Bug 312942, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@182570 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 02:12:20 +00:00
roc+%cs.cmu.edu
3aa042c0b4
Bug 309020. SVG content references in XBL anonymous content should reference content copied from the binding document. This is a partial fix. We also refactor some code to make it shareable in nsContentUtils. r=biesi,tor sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@182487 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 20:33:35 +00:00
bzbarsky%mit.edu
1c8be4844e
Make sure to notify for frameset like we do for body. Bug 312097, r=sicking, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@182272 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 21:48:33 +00:00
peterv%propagandism.org
8c33ea74e1
Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
cvshook%sicking.cc
103f17eb41
Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
...
r/sr=bryner
git-svn-id: svn://10.0.0.236/trunk@181785 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 20:20:52 +00:00
bzbarsky%mit.edu
5615bc55af
Make nsDocument::InsertBefore and nsDocument::ReplaceChild do the right thing
...
as far as removing kids from their old parent, working with document fragments,
etc. Mostly just makes nsDocument and nsGenericElement share code. Bug
278472, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@181315 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 20:06:33 +00:00
dveditz%cruzio.com
1608acdf38
locationless windows need hostname in titlebar (match 1.0x -- bug 304388) r=mconnor/jruderman, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@181295 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 18:51:46 +00:00
bzbarsky%mit.edu
cbda596f93
Make sure to flush out the content model before processing restyles; otherwise
...
we can end up with odd content duplication. Bug 309986, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180938 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 01:27:42 +00:00
peterv%propagandism.org
86ac4d2e8f
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
cbiesinger%web.de
90e318b6fe
bug 309702 handle a missing presshell gracefully (happens for display:none
...
iframes)
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@180870 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 17:35:08 +00:00
mrbkap%gmail.com
af75b509d1
bug 306909: Protect against a null mScriptLoader so that we don't crash if we haven't been properly initialized and we're asked to document.write(). r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@180834 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 23:01:33 +00:00
bzbarsky%mit.edu
33eede8798
Pass a boolean indicating whether we've sent a ContentInserted or
...
ContentAppended notification to DoneAddingChildren. Bug 309534, r=mrbkap,
sr=jst
git-svn-id: svn://10.0.0.236/trunk@180787 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 02:33:36 +00:00
cbiesinger%web.de
054912c09e
bug 1156
...
- Make object frames have no children
- Make the frame constructor construct a subdocumentframe, object frame or
image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly
NOTE: This checkin will break the plugin finder. This will be fixed soon.
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@180762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 19:14:30 +00:00
mrbkap%gmail.com
9d34c156e2
bug 308140: Make sure to match open and close head calls in the fragment sink, so that other elements don't get closed too early. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@180756 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 18:11:05 +00:00
mrbkap%gmail.com
8845072107
bug 264811: Only null out mParser when we're sure that we're not going to be handling any more document.writes(). r=jst sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@180340 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 00:19:14 +00:00
timeless%mozdev.org
cb6d168fcc
Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
...
patch by b.jacques@planet.nl r=darin sr=darin
git-svn-id: svn://10.0.0.236/trunk@180324 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 23:17:17 +00:00
peterv%propagandism.org
b64b04886f
Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
mrbkap%gmail.com
4045b60295
bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@179916 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 18:03:47 +00:00
bzbarsky%mit.edu
0b6167cb4d
Fix brendan's nit for bug 299689, r+sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@179857 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-08 18:39:12 +00:00
bzbarsky%mit.edu
8c2d114c59
Once we've had enough ID lookup misses, make the ID table completely live. Bug
...
299689, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@179801 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 17:04:34 +00:00
bzbarsky%mit.edu
bcd2bcaa21
Make addition or removal of frames in a frameset actually change the
...
rendering. Bug 306660, r=jst, sr=roc
git-svn-id: svn://10.0.0.236/trunk@179676 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 02:14:36 +00:00
bob%bclary.com
5a13630914
Bug 303502 - make DOM Don't call me! asserts more meaningful, r=peterv,sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@179629 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 18:16:58 +00:00
peterv%propagandism.org
f5f85d2946
Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@179553 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 18:02:51 +00:00
bzbarsky%mit.edu
049e52625b
Fix comment per my review comments. Bug 305640.
...
git-svn-id: svn://10.0.0.236/trunk@179124 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-27 05:16:06 +00:00
vladimir%pobox.com
f561d566b0
b=304561, firefox unsuitable for browsing high-res image galleries due to preview on tab icon, r=mconnor,sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@178982 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 20:05:24 +00:00
peterv%propagandism.org
bcd5fc4014
Fix for bug 301490 (Rich text editor property useCSS changed meaning). r=brade, sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@178929 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 11:51:04 +00:00
jst%mozilla.jstenback.com
b4ac0c9234
Fixing bug 305640. Make document.getElementById() work correctly when the hash changes when flushing. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@178909 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 05:17:06 +00:00
bzbarsky%mit.edu
a8c7d445d5
Make sure that a reflow flush on the document makes the sink start layout if
...
needed. Bug 253951, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178851 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 20:56:58 +00:00
bzbarsky%mit.edu
d1afb179ba
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
cst%andrew.cmu.edu
0e0b27bf8a
Bug 305215 Fix crash going back while loading an image [@ ImageListener::OnStopRequest] (regression from bug 292503)
...
patch by Frank Wein <bugzilla@mcsmurf.de>, r=biesi sr=jst
git-svn-id: svn://10.0.0.236/trunk@178522 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 22:47:10 +00:00
bzbarsky%mit.edu
e79cce1c42
Allow passing a cached nsIContentPolicy service pointer to
...
NS_CheckContent*Policy if the caller has one. Bug 304845, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178242 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 15:00:01 +00:00
cst%andrew.cmu.edu
88c4924d49
Bug 292503 Working images should not have alt text that says there is an error
...
r=biesi sr=jst
git-svn-id: svn://10.0.0.236/trunk@177926 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 02:49:47 +00:00
bzbarsky%mit.edu
ed6b561eb2
Make sure to set base tag info on the leaf forms we create when HTML is
...
misnested. Bug 73818, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@177916 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:57:11 +00:00
mrbkap%gmail.com
1990895d08
bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@177765 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:16:42 +00:00
mrbkap%gmail.com
674ac13620
Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained.
...
git-svn-id: svn://10.0.0.236/trunk@177687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 03:54:29 +00:00
mrbkap%gmail.com
7d07d878fd
bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078.
...
git-svn-id: svn://10.0.0.236/trunk@177684 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 00:53:39 +00:00
dbaron%dbaron.org
f5fb8ddaff
Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@177663 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 22:53:22 +00:00
jst%mozilla.jstenback.com
a9f668bc25
Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
rbs%maths.uq.edu.au
5c823e99f8
Fallback to about:blank to fix bustage of document.open() in consumers such as View MathML Source, b=289363 r+sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@177303 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 03:15:56 +00:00
mats.palmgren%bredband.net
2bf311b23d
Prefer a MAP that has AREAs over an empty one with the same name (in quirks mode). b=264624 r+sr=bzbarsky a=benjamin
...
git-svn-id: svn://10.0.0.236/trunk@176584 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 23:37:56 +00:00
bzbarsky%mit.edu
e5932bc9f9
Don't flush our parent if we're not safe to flush. Bug 281922, r+sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176094 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 16:13:09 +00:00
darin%meer.net
00b6268419
fixes bug 295544 "Expose more designMode options to web apps" r=brade sr=jst a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@175101 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 17:18:27 +00:00
jst%mozilla.jstenback.com
fecaf7f5b3
Fixing bug 296830. Use the principal of the calling code in document.open(), not that of the calling window. r=dveditz@cruzio.com, sr=brendan@mozilla.org, a=dveditz@cruzio.com
...
git-svn-id: svn://10.0.0.236/trunk@174851 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 16:18:35 +00:00
mrbkap%gmail.com
f2a332e8d4
bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174716 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 18:59:59 +00:00
peterv%propagandism.org
aac2b47f2a
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00