5161 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
bd68061f3c Bug 331432. Split nsSVGForeignObjectFrame into a pure SVG frame containing an anonymous block child, to avoid state bit collisions and simplify things. Also fixes configure.in so that foreignObject is really enabled by default in cairo builds. r=tor,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199164 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 23:13:15 +00:00
roc+%cs.cmu.edu
2e8a699503 Bug 334765. Don't include scroll offsets in DOM element offset calculations. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199159 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 22:31:17 +00:00
mats.palmgren%bredband.net
8d31a6d824 Don't warn (in a debug build) when ALT attr is missing in markup. b=339281 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198955 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 19:24:05 +00:00
mats.palmgren%bredband.net
5c531dec73 Use memmove() instead of memcpy() for potential overlapping regions. b=337896 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@198935 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 14:19:21 +00:00
dbaron%dbaron.org
7be4b9c543 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
tor%cs.brown.edu
d6bae5d8e3 Bug 338301 - cleanup of svg container frame inheritance and code
duplication, plus removal of nsISVGContainerFrame.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@198800 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 15:31:15 +00:00
uriber%gmail.com
513d992a17 Bug 339699: Reduce number of calls to nsLineBox::Contains from nsBidiPresUtils::Resolve. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198727 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 10:21:34 +00:00
leon.sha%sun.com
7f760d6e5f Bugzilla Bug 336999 Crash involving XUL menus, position: fixed, position: absolute [@ nsIFrame::GetNextSibling] [@ nsCSSFrameConstructor::FindFrameWithContent].
Patch by alfred.peng@sun.com.
neil: review+
bzbarsky: superreview+


git-svn-id: svn://10.0.0.236/trunk@198370 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 03:52:52 +00:00
Olli.Pettay%helsinki.fi
b80a1908db Bug 336978, Crash when window gets destroyed on pagehide event, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@198348 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 20:31:59 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
cvshook%sicking.cc
805a3ca029 Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196676 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 15:50:47 +00:00
Olli.Pettay%helsinki.fi
8c8d5effa7 Bug 337586, Crash [@ PresShell::InitialReflow] when window gets destroyed duren beforeunload event handler, pressing reload, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@196551 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:51:35 +00:00
Olli.Pettay%helsinki.fi
96ff6036c2 oops, this part was for other bug
git-svn-id: svn://10.0.0.236/trunk@196546 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:38:33 +00:00
Olli.Pettay%helsinki.fi
289afcdea9 Bug 337219, onfocus=window.close() in body of popup causes crash [@ nsXULElement::vftable], r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@196540 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:18:59 +00:00
bmlk%gmx.de
0676c7f78f remove crash prone from hack from frame construction and replace it with a hardcoded style rule bug 285727 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@196481 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-14 13:34:32 +00:00
bzbarsky%mit.edu
572b6ceade Fix the way we do notifications so we don't notify twice for <head>. Bug
332644, r=mrbkap, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@196410 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 20:36:39 +00:00
bzbarsky%mit.edu
ab719a0d0d Fix crash bug 336582. ESM changes by me and Martijn Wargers
<martijn.martijn@gmail.com>, r+sr=roc.  Presshell changes by Mats Palmgren
<mats.palmgren@bredband.net>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@196371 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 03:49:38 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
bzbarsky%mit.edu
2fbb2aa13c Restoring timeless' comment that was removed (with no review, too).
git-svn-id: svn://10.0.0.236/trunk@196125 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 23:44:09 +00:00
timeless%mozdev.org
ee3eb59f05 Bug 334295 status is used uninitialized in DocumentViewerImpl::DumpContentToPPM if fopen fails
r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@196117 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 21:56:37 +00:00
dbaron%dbaron.org
bda27d7d7b Convert one other assertion to a warning. b=310985
git-svn-id: svn://10.0.0.236/trunk@196031 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 16:31:59 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bmlk%gmx.de
fb4e51f10f use a pseudoframe as a parent only when it has children, bug 336291 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195977 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 18:26:43 +00:00
roc+%cs.cmu.edu
b060f2988a Bug 130078. Backing out now that I have perf. numbers
git-svn-id: svn://10.0.0.236/trunk@195952 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu
7137e91d6a Bug 130078. Test checkin of patch to unify view manager hierarchy. We need to see how this affects performance metrics. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195951 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 03:46:19 +00:00
mrbkap%gmail.com
2f57fc6f5e Only recalculate the caret's rect when we're not currently drawn in an attempt to avoid caret turds when we're being notified of the caret movement after the frame has already been marked dirty. bug 335834, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195947 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 00:05:22 +00:00
vladimir%pobox.com
db2bdb63a3 missed file for checkin
git-svn-id: svn://10.0.0.236/trunk@195875 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 01:33:51 +00:00
masayuki%d-toybox.com
b2f32dc37e Bug 335474 Crash in [@ nsCSSRendering::DrawDashedSides] r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195696 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 23:21:01 +00:00
mrbkap%gmail.com
64f5c8e34a Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195632 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 04:33:41 +00:00
roc+%cs.cmu.edu
1f8c8f9667 Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@195507 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:45:03 +00:00
roc+%cs.cmu.edu
cf55a52a05 Bug 334942. ExplodeAnonymousChildLists before sorting table parts. r=bernd
git-svn-id: svn://10.0.0.236/trunk@195504 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:25:23 +00:00
roc+%cs.cmu.edu
02b50c231a Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00
roc+%cs.cmu.edu
0efb95265d Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195411 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:57:22 +00:00
masayuki%d-toybox.com
bcfb1979b7 Bug 326550 The dots in the focus outline do not match trunk builds(draw focus using something other than XOR). This is for comment 8 problem (the outline always drawn black) r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195345 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 09:19:29 +00:00
leon.sha%sun.com
ca47f5992a Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+


git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
bmlk%gmx.de
7743dac288 make pseudo rowgroups and colgroups only siblings if their parent is not a pseudo bug 333493 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195151 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 10:53:20 +00:00
bmlk%gmx.de
25c1481a47 pseudo rowgroups might be wrapped in a scrollframe, bug 331679 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195149 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 10:28:13 +00:00
bzbarsky%mit.edu
9c6c9e84c3 Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195125 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 00:06:30 +00:00
mrbkap%gmail.com
07437f7122 Make the caret paint in the same color as the foreground so it's not always painted black. bug 334635, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195087 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 19:13:58 +00:00
vladimir%pobox.com
5685cdafbd b=328241, antialiasing problem with joining borders, temporary diable-aa fix for non-rounded borders, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@195081 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 17:52:05 +00:00
jag%tty.nl
8897e07fdd Bug 334829: FindFrameWithContent() can't find certain frames
If the hint frame's location in the frame tree doesn't match its element's location in the content tree, the hint is useless, and we don't correctly reboot the search without the hint. Add a flag to make the reboot work.
Patch courtesy of Danger Inc., r=dbaron, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@195051 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 11:13:41 +00:00
bzbarsky%mit.edu
bcc16c3ae5 Treat background images more like background colors when printing. Bug 311526,
r=roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@195026 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:57:47 +00:00
sharparrow1%yahoo.com
a3720e22e4 Bug 334547: get rid of scrollframe code which never executes. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@194756 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:22:48 +00:00
dbaron%dbaron.org
c41de8cf6d Initialize rv. b=334655 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194708 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 21:14:57 +00:00
bzbarsky%mit.edu
b83ab3e969 Only parse those XUL display styles that we can actually construct. Bug
312120, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194677 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 15:10:50 +00:00
bzbarsky%mit.edu
673234f805 Remove the layout.reflow.async.duringDocLoad pref -- setting it to false just
makes us buggy.  Bug 334543, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194676 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 15:08:44 +00:00
bzbarsky%mit.edu
144aa50acf By the time we're processing reflow callbacks, reflow is done. Bug 334518,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194632 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 21:48:12 +00:00
sharparrow1%yahoo.com
6febafd105 Bug 334416: Misc view usage cleanups. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@194582 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 06:05:24 +00:00
dbaron%dbaron.org
3a99a82178 Add assertions to verify no-reentry invariants in layout. b=310985 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194581 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 05:44:02 +00:00
mrbkap%gmail.com
3c487a18f8 Fixing bustage from bug 287813.
git-svn-id: svn://10.0.0.236/trunk@194568 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 00:17:42 +00:00