20066 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
fb4e268f6f Bug 384836. Avoid using a stale gfxContext, by not holding onto one in nsTransformedTextRun, passing in a gfxContext when required instead. r=pavlov,smontagu
git-svn-id: svn://10.0.0.236/trunk@228740 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 04:25:01 +00:00
mrbkap%gmail.com
1d33ba9743 Don't depend on undefined behavior (sign extension on right shift). bug 385259, r=mats.palmgren sr=jst
git-svn-id: svn://10.0.0.236/trunk@228721 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 21:53:21 +00:00
dbaron%dbaron.org
c3db895c79 Remove a few Windows newlines that snuck in recently.
git-svn-id: svn://10.0.0.236/trunk@228709 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 20:35:17 +00:00
dbaron%dbaron.org
e5b45d8c95 Only do special height reflows for percentage-height children of table cells when there is a specified height on the table, row group, row, or cell in the row. b=370525 Patch by Daniel Holbert <dholbert@mozilla.com>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228708 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 20:34:48 +00:00
tor%cs.brown.edu
5871f22020 Bug 305859 - em and ex units not implemented for SVGLength.
Patch by taken.spc@gmail.com, r=longsonr, sr=tor


git-svn-id: svn://10.0.0.236/trunk@228688 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 16:12:36 +00:00
jwatt%jwatt.org
5e579b9285 Fixing bug 385246. Negative width attribute on <svg:foreignObject> causes "ASSERTION: reflow state made child wrong size" and more. r=tor@acm.org, sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@228675 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 08:31:31 +00:00
roc+%cs.cmu.edu
3158edcc6d Bug 385344. Always reconstruct textruns for next-in-flows of firstline/firstletter frames. Also, be more careful looping over text in AddInlinePrefWidthForFlow. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@228666 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 03:41:07 +00:00
kherron%fmailbox.com
5d9db892c1 Back out patch for bug 381361 due to ref test failures on Windows.
git-svn-id: svn://10.0.0.236/trunk@228654 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-24 15:13:25 +00:00
kherron%fmailbox.com
4fe07f006f Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@228649 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-24 11:20:35 +00:00
smontagu%smontagu.org
ed0b8a7cc4 Remove unused argument 'aAttribute' in nsCSSFrameConstructor::StyleChangeReflow. Bug 382244, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228645 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-24 09:35:23 +00:00
bmlk%gmx.de
ed5676920e reducing timeout to make reftest for bug 363370 pass
git-svn-id: svn://10.0.0.236/trunk@228636 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-23 17:35:47 +00:00
bmlk%gmx.de
022b053f4d figuring first out why 363370 fails
git-svn-id: svn://10.0.0.236/trunk@228634 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-23 16:53:20 +00:00
bmlk%gmx.de
3fa9bb31ee reftests for bugs 363370, 364318, 368651 369975
git-svn-id: svn://10.0.0.236/trunk@228633 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-23 16:25:04 +00:00
mats.palmgren%bredband.net
2e741a3325 Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228623 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-23 07:39:40 +00:00
jwatt%jwatt.org
ea6b33caf7 Commit reminder comments that I need to follow up on so they don't get in the way of my current patch juggling.
git-svn-id: svn://10.0.0.236/trunk@228614 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-23 02:06:07 +00:00
roc+%cs.cmu.edu
82c06fab3c Bug 385234. Iterate through textframe continuations properly in AddInlinePref/MinWidth. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@228561 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 00:17:30 +00:00
roc+%cs.cmu.edu
f174142813 Bug 382105. Clean up PeekOffsetWord to exit early without setting *aOffset if there is nowhere to go in the requested direction. Also, ignore *aSawBeforeType when we're checking for punctuation. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@228560 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 00:13:05 +00:00
jwatt%jwatt.org
c28bb872b1 Fixing bug 384591. Make nsSVGForeignObjectFrame.cpp easier to understand. r+sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@228551 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 23:01:10 +00:00
dbaron%dbaron.org
0d1163f232 Add reftest for bug 368155 from Ryan VanderMeulen <ryanvm@gmail.com>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228549 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 22:34:27 +00:00
dbaron%dbaron.org
cd6e9c2d37 Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228548 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 22:33:10 +00:00
tor%cs.brown.edu
292051be4e Bug 384391 - maks sure outer svg is constructed only for svg:svg. r=bz, sr=roc
git-svn-id: svn://10.0.0.236/trunk@228428 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 15:05:05 +00:00
tor%cs.brown.edu
c0a418c24e Bug 382333 - update filter invalidation region before use. r=longsonr, sr=roc
git-svn-id: svn://10.0.0.236/trunk@228427 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 15:03:30 +00:00
longsonr%gmail.com
dc21b3e759 Bug 384637 - Self-referencing svg:mask causes stack overflow crash. r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@228424 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 11:01:41 +00:00
neil%parkwaycc.co.uk
ae8e1ed1de Bug 384874 Fix regression from previous patch for bug 382746 r=Enn sr=bz
git-svn-id: svn://10.0.0.236/trunk@228423 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 10:25:07 +00:00
Olli.Pettay%helsinki.fi
fb65e34019 Bug 384491, remove assertion when <xul:listboxbody style='overflow: hidden' />, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228421 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 09:35:41 +00:00
sharparrow1%yahoo.com
a39f849a48 Mark passing testcases as such on mac (caused by checkin for bug 382092)
git-svn-id: svn://10.0.0.236/trunk@228418 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 06:09:32 +00:00
jwatt%jwatt.org
7b75c6c09f Fixing bug 385218. Remove nsISVGSVGElement. r+sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@228404 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 21:56:03 +00:00
roc+%cs.cmu.edu
f526f9ee50 Bug 385234. Marking test as failure so we can reopen the tree after new-textframe landing.
git-svn-id: svn://10.0.0.236/trunk@228401 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 21:31:13 +00:00
roc+%cs.cmu.edu
eab2fd3300 Bug 367177. (Re)enabling new-textframe.
git-svn-id: svn://10.0.0.236/trunk@228396 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 19:49:46 +00:00
jwalden%mit.edu
f42533923d C++ and/or gcc sucks for not allowing commas at the end of enums; this compiled in Visual Studio.
git-svn-id: svn://10.0.0.236/trunk@228364 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 05:24:09 +00:00
jwalden%mit.edu
d6e7fed8d4 Move frame bit #defines into an anonymous enum, to aid debuggers in determining their values, since the two I've used can't do so, at least not with the default build options. rs=roc
git-svn-id: svn://10.0.0.236/trunk@228360 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 05:12:35 +00:00
dbaron%dbaron.org
bff55d4e1d Mac-only, probably.
git-svn-id: svn://10.0.0.236/trunk@228276 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:53:06 +00:00
dbaron%dbaron.org
ed5d82906c Mark test as random for now.
git-svn-id: svn://10.0.0.236/trunk@228275 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:50:58 +00:00
dbaron%dbaron.org
5d738bf573 Back out patch to make mousethrough attribute apply to all elements. b=380094 a=roc
git-svn-id: svn://10.0.0.236/trunk@228273 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:22:46 +00:00
dbaron%dbaron.org
af7b36eed3 Make marquee work again when direction is rtl, by working around changes to range of offsetLeft. b=336736 Patch by Daniel Holbert <dholbert@mozilla.com>. r=martijn sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228272 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:22:09 +00:00
dbaron%dbaron.org
1405ac4ac0 Reftest for bug 381507. Patch by Daniel Holbert <dholbert@mozilla.com>. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@228270 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:20:41 +00:00
dbaron%dbaron.org
26a84c5172 Handle the vertical resizing in the first pass reflow correctly when we've previously done a special height reflow. b=381507 r=dholbert sr=roc
git-svn-id: svn://10.0.0.236/trunk@228269 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:19:39 +00:00
bzbarsky%mit.edu
f4fdf5a825 Don't tear down part of the content tree while there are still frames
referencing it.  Bug 384728, r+sr=tor


git-svn-id: svn://10.0.0.236/trunk@228236 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 15:30:57 +00:00
m_kato%ga2.so-net.ne.jp
c18f24ebf5 bug 328547 support mozilla/layout on WinXP x64 build. r=cbiesinger/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228201 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-17 14:00:30 +00:00
sharparrow1%yahoo.com
b12e3b26ae Bug 381385: get rid of unneeded members of nsFloatCache (saves about 50 bytes footprint per float). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@228176 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 20:27:46 +00:00
bzbarsky%mit.edu
758ef87df4 We don't have to blow away intrinsic widths on ancestors when kids are appended
to an already-dirty reflow root.  Bug 383992, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@228165 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 05:12:58 +00:00
bzbarsky%mit.edu
120bd0f922 Fix parent style context warnings by being consistent about parent contexts.
Bug 380116, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@228164 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 05:11:20 +00:00
bzbarsky%mit.edu
d5faca0640 Don't apply user stylesheets to descendants of native anonymous subtrees. Bug
285140, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@228160 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 05:09:51 +00:00
jwalden%mit.edu
ea4c6420a5 Add an omitted word to a comment.
git-svn-id: svn://10.0.0.236/trunk@228140 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 21:37:03 +00:00
Olli.Pettay%helsinki.fi
85080fe2c2 Bug 383837, Crash [@ nsXULTooltipListener::LaunchTooltip], r=enn, sr=neil
git-svn-id: svn://10.0.0.236/trunk@228132 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 18:53:42 +00:00
roc+%cs.cmu.edu
b34fb6b766 Bug 382105. Yet another word caret movement fix to ensure we stop at punctuation.
git-svn-id: svn://10.0.0.236/trunk@228109 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 05:37:08 +00:00
jwatt%jwatt.org
be7c9eb5de Comment out optimization to fix reftest failures.
git-svn-id: svn://10.0.0.236/trunk@228077 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 21:24:16 +00:00
jwatt%jwatt.org
18de0ce933 Fixing bug 384046. nsSVGOuterSVGFrame::Reflow should not call NotifyViewportChange unconditionally. r+sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@228076 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 20:51:42 +00:00
bzbarsky%mit.edu
88726097d1 Mathml inlines are still bidi containers. Bug 371481, r=uriber, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@228058 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 17:36:27 +00:00
aaronleventhal%moonset.net
19e7b69cf6 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@228047 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 13:47:23 +00:00