5464 Commits

Author SHA1 Message Date
dbaron%dbaron.org
4dd01a645e Fixing asymmetry between what timeless landed for bug 394114 and what he backed out.
git-svn-id: svn://10.0.0.236/trunk@248211 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 22:05:05 +00:00
timeless%mozdev.org
cb247b3213 reverting, wrong patch, missing AMBIGUOUS
git-svn-id: svn://10.0.0.236/trunk@248210 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 21:55:28 +00:00
dholbert%cs.stanford.edu
a4fe313ff2 Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) Orig Patch: [r=ventron sr=roc] Updates: [r=ventron r+sr=vlad] a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@248195 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 20:51:44 +00:00
jst%mozilla.org
ad7807e9a3 Fixing bug 422926 (and also bugs 420886 and 423260). Don't do delayed stops of plugins unless we're deleting the frame, as some plugins apparently can't handle that. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@248181 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 19:43:10 +00:00
jwatt%jwatt.org
184b34addf Bug 423436. Elements embedding SVG by reference don't resize if they depend on intrinsic percentage width/height. r+sr=dbaron@mozilla.com, blocking1.9=me
git-svn-id: svn://10.0.0.236/trunk@248157 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 00:11:01 +00:00
roc+%cs.cmu.edu
09eb2d69ee Bug 422394. Fix tab width calculation so we never fail to advance. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@248039 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 01:48:22 +00:00
bzbarsky%mit.edu
8a048f6b78 Invalidate tables a little harder. Bug 421632, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@247942 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-16 20:32:48 +00:00
jruderman%hmc.edu
d420895db4 Add crashtest
git-svn-id: svn://10.0.0.236/trunk@247907 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-15 11:14:04 +00:00
jonas%sicking.cc
546ba272ce Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@247875 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 23:08:59 +00:00
dholbert%cs.stanford.edu
4f78efb0fa Backing out Bug 417356, due to pagination reftest failures.
git-svn-id: svn://10.0.0.236/trunk@247807 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 08:50:15 +00:00
roc+%cs.cmu.edu
0bc07a5e0f Bug 404140. Avoid assertions about comparing line iterators from different lists by comparing nsLineBox* pointers. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@247805 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 08:12:26 +00:00
dholbert%cs.stanford.edu
d1e031e4f4 Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) r=ventron sr=roc a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@247802 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 07:48:07 +00:00
dholbert%cs.stanford.edu
17fcef59bf Bug 421239: Remove broken/brittle optimization of guessing (incorrectly) whether a line might be empty, when we're determining whether we need to mark next line's margin as dirty. r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@247801 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 07:21:20 +00:00
jst%mozilla.org
b0bfab1a72 Fixing bug 416953. Do plugin destruction off of an event whenever possible (which is pretty much always). r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@247792 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 03:31:35 +00:00
dbaron%dbaron.org
e61348def1 Don't make overflow:-moz-hidden-unscrollable affect layout. b=411213 r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247736 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 15:23:27 +00:00
roc+%cs.cmu.edu
f86284ab1a Backing out 413027 again.
git-svn-id: svn://10.0.0.236/trunk@247721 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 09:14:17 +00:00
roc+%cs.cmu.edu
87c7eadcee Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with additional XUL box layout fix to increase the frame size to the minimum size required by children even if they don't change size during layout, and a fix to scrollframes so they don't depend on being able to set a size for scrollbars less than their minimum size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@247719 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 08:40:44 +00:00
masayuki%d-toybox.com
2b55622b55 Bug 417014 Need blacklist system for underline offset adjusting of CJK fonts which have wrong underline offset r=roc+stuart, sr=roc, b1.9=stuart
git-svn-id: svn://10.0.0.236/trunk@247704 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 02:37:00 +00:00
dbaron%dbaron.org
7dc00af66f Don't let the pres context's visible area get permanently set to an unconstrained height when we call ResizeReflow with an unconstrained height during SizeToContent. b=371508 r+sr=roc a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@247685 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 22:04:45 +00:00
smontagu%smontagu.org
038b929dd8 Enable bidi processing if there are right-to-left characters in print headers or footers. Bug 421690, r+sr=roc, blocking1.9=damon
git-svn-id: svn://10.0.0.236/trunk@247608 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 07:56:38 +00:00
roc+%cs.cmu.edu
2087436450 Bug 413027 backed out again
git-svn-id: svn://10.0.0.236/trunk@247603 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 02:01:17 +00:00
roc+%cs.cmu.edu
1f9f6e93cb Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with extra instrumentation in the strangely-failing mochitest test_bug199692.xul
git-svn-id: svn://10.0.0.236/trunk@247602 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 01:05:26 +00:00
roc+%cs.cmu.edu
4f37a24822 Bug 420351. Don't let empty list-bullets make a line non-empty. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@247598 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 00:46:18 +00:00
jruderman%hmc.edu
6573b55f02 Add crashtest
git-svn-id: svn://10.0.0.236/trunk@247597 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 00:44:46 +00:00
uriber%gmail.com
ef1494d9f7 Don't reserve space for start (end) margin on the first- (last-) in-flow if it has a previous (next) bidi continuation. bug=421419 r+sr=dbaron a1.9=dsicore
git-svn-id: svn://10.0.0.236/trunk@247574 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 21:54:35 +00:00
roc+%cs.cmu.edu
4556299cf1 Backing out 420351
git-svn-id: svn://10.0.0.236/trunk@247541 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 10:44:32 +00:00
roc+%cs.cmu.edu
09a7cb12fb Backing out bug 413027
git-svn-id: svn://10.0.0.236/trunk@247536 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 08:36:03 +00:00
roc+%cs.cmu.edu
b560f9cc23 Bug 413027. The XUL min-size and pref-size for a CSS block should just be its height when reflowed at its preferred width --- NOT the height of the tallest line, that is insane. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@247526 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 07:38:26 +00:00
roc+%cs.cmu.edu
9279545699 Bug 420351. Empty bullets cannot make a line non-empty. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@247525 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 07:36:04 +00:00
jonas%sicking.cc
fbfd1bd5fa Back out due to failed mochitest
git-svn-id: svn://10.0.0.236/trunk@247519 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 02:18:16 +00:00
jonas%sicking.cc
99b2e4ecd5 Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst.
git-svn-id: svn://10.0.0.236/trunk@247516 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:49:20 +00:00
mozilla%weilbacher.org
d72cdfbda2 [OS/2] Bug 369791: adapt plugin code to compile with cairo-os2, this in principle allows plugin content to be printed and windowless plugins to display, r=mkaply, a1.9+=damons
git-svn-id: svn://10.0.0.236/trunk@247512 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:10:56 +00:00
jst%mozilla.org
fa71152ded Followup fix for bug 393845, fixing minor issue found by jag, no functional change.
git-svn-id: svn://10.0.0.236/trunk@247410 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 19:04:40 +00:00
reed%reedloden.com
dd9d5afa58 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@247364 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 09:44:43 +00:00
bmlk%gmx.de
aa6eb68cc2 There is no height greater than unconstrained height, bug 402872, r/sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247360 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 09:12:30 +00:00
vladimir%pobox.com
b4c27d922a b=418882, crash on www.rhein-zeitung.de, potential fix; r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@247349 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 00:58:57 +00:00
jst%mozilla.org
8e6e9af6cc Fixing bug 393845. Crash with Windows Media Player 10 plugin when stopping plugin. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@247331 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 21:32:49 +00:00
bzbarsky%mit.edu
68a7a257fb Make sure to do saturating adds on possibly-unconstrained nscoords. Bug
421404, r=dholbert, sr=roc, a=beltzner


git-svn-id: svn://10.0.0.236/trunk@247329 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 21:20:03 +00:00
vladimir%pobox.com
d0582015b5 b=418915, plugin print rendering coordinates incorrect on win32; r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@247180 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 07:06:46 +00:00
dbaron%dbaron.org
365d3bef72 Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247146 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 00:05:29 +00:00
joshmoz%gmail.com
f03ec9b0e1 take key modifiers from the current event not the current hardware state. b=320746 r=smichaud sr=roc
git-svn-id: svn://10.0.0.236/trunk@247019 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 17:58:53 +00:00
roc+%cs.cmu.edu
bf8d1cd760 Bug 392809. Fix word-based caret movement around punctuation and whitespace. r=smontagu,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246910 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 08:37:35 +00:00
dholbert%cs.stanford.edu
55f9f46a79 Bug 418766: Use width, not height, as a quick proxy for whether a line is empty. r+sr=roc, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246810 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 21:45:43 +00:00
jst%mozilla.org
ed52909cca Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@246771 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 02:06:00 +00:00
dbaron%dbaron.org
21ab0dc965 Fix bug under some valid types of optimization where we cross margin and padding. b=420069 r+sr=roc a1.9b4=damons a-sheriff=sayrer
git-svn-id: svn://10.0.0.236/trunk@246768 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 01:52:06 +00:00
roc+%cs.cmu.edu
9467183c9f Bug 405952. Add scrollbar width to pref and min widths for overflow:scroll elements but for no other overflow values. r+sr=bzbarsky,dbaron,dholbert, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246753 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 20:37:06 +00:00
masayuki%d-toybox.com
1b098bf39a Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner
git-svn-id: svn://10.0.0.236/trunk@246727 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 15:28:40 +00:00
masayuki%d-toybox.com
dde4ffc7c2 backing out the previous patch, becaused qm-centos5-01 dep unit test is orange
git-svn-id: svn://10.0.0.236/trunk@246723 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 13:59:28 +00:00
masayuki%d-toybox.com
2d6679113d Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner
git-svn-id: svn://10.0.0.236/trunk@246719 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 11:01:59 +00:00
roc+%cs.cmu.edu
228ea44f31 Bug 400057. Make nsBlockInFlowLineIterator useful for finding the line containing a frame, searching across block continuations and their overflow lines. Use it in various places, especially in textrun construction. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246660 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:53:48 +00:00