5276 Commits

Author SHA1 Message Date
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
roc+%cs.cmu.edu
bcd6b5373f Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246659 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:46:23 +00:00
roc+%cs.cmu.edu
203a6597a3 Bug 419531. Don't wipe out stored tab widths during text intrinsic size calculation. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246655 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:29:46 +00:00
reed%reedloden.com
9281d34cc8 Back out Smaug's patch from bug 395609 due to a Txul regression.
git-svn-id: svn://10.0.0.236/trunk@246619 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:51:01 +00:00
dbaron%dbaron.org
8e179f4102 Prevent margin expansion from interfering with table caption position. Based on patch by Mats Palmgren. b=363248 r+sr=roc a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@246603 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:02:50 +00:00
dougt%meer.net
a89c64d0d4 use of max(a,b) is confusing windows mobile compiler. b=419653, r=dbaron, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246599 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 01:51:57 +00:00
Olli.Pettay%helsinki.fi
a792fa277b Bug 395609, r=roc, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246579 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 23:48:50 +00:00
mats.palmgren%bredband.net
d78e39744b Fix a compile warning. b=417895 r+sr=roc a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@246533 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 15:04:33 +00:00
mats.palmgren%bredband.net
bc73169b88 Make nsTypedSelection ctors initialize all members (fixes an UMR) and reorder members to save space. b=417895 r+sr=roc a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@246532 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 15:04:14 +00:00
reed%reedloden.com
5d85092e88 Bug 410114 - "Simplify nsTransform2D" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=roc a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@246514 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 09:42:36 +00:00
roc+%cs.cmu.edu
f5bbb511ad Bug 408898. Aggressively SetWindow when paining on Mac with CG to prevent plugins drawing in the wrong place. patch by Matthew Gregan, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@246512 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 09:09:05 +00:00
dbaron%dbaron.org
4aa09c3482 Fix handling of 'right'-derived static positions (mostly for RTL) when containing block has asymmetric border. b=419072 r+sr=roc a=damons
git-svn-id: svn://10.0.0.236/trunk@246466 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 21:16:21 +00:00
roc+%cs.cmu.edu
0838e693a1 Bug 416752. Use the scrollbar min-height/min-width to establish the minimum scrollport size, not the pref-height/pref-width. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246424 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 01:21:08 +00:00
dbaron%dbaron.org
0e1ade3385 Fix regression handling auto margins on absolutely positioned elements. b=419060 r+sr=roc a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@246417 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 18:29:11 +00:00
fantasai.cvs%inkedblade.net
cfb0969dfb fixed positioned elements print only on first and last pages b=417676 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@246412 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 12:19:18 +00:00
reed%reedloden.com
5245ccb22e Bug 383267 - "When fontHeight is very large, pagescroll height(pageincrement value) is too small" [p=masa141421356@gmail.com (Masahiro Yamada) r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@246397 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 07:35:08 +00:00
reed%reedloden.com
9e393157c2 Bug 391559 - "Incorrect ordered-list numbering within -moz-column-* (and/or numbering changes when clicked)" [p=craig.topper@gmail.com (Craig Topper) r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@246395 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 07:31:30 +00:00
uriber%gmail.com
dcdb49841e Add a comment and assertion to the fix for bug 370174. r+sr=roc on the original patch. blocking1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@246364 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-23 10:54:29 +00:00
roc+%cs.cmu.edu
78603720e9 Bug 407095. Reflow in more situations where horizontal scrollbar appears or disappears. May hurt Tp, let's watch. r+sr=dbaron,a=damon
git-svn-id: svn://10.0.0.236/trunk@246355 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-23 10:16:00 +00:00
uriber%gmail.com
31501ac213 Don't crash on triple-clicking when there's an orphan content somewhere. bug=370174 r+sr=roc blocking1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@246323 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 21:21:15 +00:00
uriber%gmail.com
7526660bf7 When all three of 'left', 'width', and 'right' of an absolutely-positioned elemnt are 'auto', use the direction of the static-position containing block (rather than the actual containing block) to decide whether to set 'left' or 'right' to the static position. bug=403328 r+sr=dbaron b1.9=mtschrep
git-svn-id: svn://10.0.0.236/trunk@246308 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 13:44:08 +00:00
roc+%cs.cmu.edu
157557ef49 Bug 157546. 'Delete' key should delete entire cluster. patch by Theppitak Karoonboonyanan, r+sr=roc,a=schrep
git-svn-id: svn://10.0.0.236/trunk@246267 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 02:24:05 +00:00
roc+%cs.cmu.edu
37e652dcfa Bug 393490. When subsuming an interval, we need to merge its beginning into the current interval as well as its end, because it might start before the current interval. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246252 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 01:02:52 +00:00
dholbert%cs.stanford.edu
126cb94996 Bug 402629: Fix percent-height updates in nested tables by checking if containing block depends on an ancestor cell's height, rather than just checking if it's a cell. r+sr=dbaron, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@246229 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 21:02:07 +00:00
reed%reedloden.com
568d86b4a5 Bug 395983 - "Duplicated Flash menus using r60(+) of Flash player" (do native drawing instead) [p=kinetik@flim.org (Matthew Gregan) r=vlad sr=roc a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@246079 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 11:33:29 +00:00
reed%reedloden.com
088f0a4ab1 Back out patch from Theppitak Karoonboonyanan in bug 157546 due to test failures.
git-svn-id: svn://10.0.0.236/trunk@246075 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 11:10:17 +00:00
reed%reedloden.com
479a331f94 Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@246071 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 10:20:05 +00:00
fantasai.cvs%inkedblade.net
573c3c24fb switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@246042 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 07:08:56 +00:00
roc+%cs.cmu.edu
23a169e1f0 Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep
git-svn-id: svn://10.0.0.236/trunk@246025 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 02:07:50 +00:00
mozilla%weilbacher.org
95608dbe4b Bug 415686: remove FONT_LEADING_APIS_V2 ifdefs which are no longer useful for cairo builds. Also remove related functions and tests. r/sr=dbaron, r=pavlov, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246001 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 19:41:57 +00:00
dbaron%dbaron.org
a9c7cec63e Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
git-svn-id: svn://10.0.0.236/trunk@245996 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 18:47:35 +00:00
dbaron%dbaron.org
991e9997f2 Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep
git-svn-id: svn://10.0.0.236/trunk@245994 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 18:46:21 +00:00
bzbarsky%mit.edu
4ff049a250 Make sure that <frame>s don't fall through to nsLeafFrame sizing, unlike
<iframe>s.  Bug 414322, r+sr=dbaron, a=schrep.


git-svn-id: svn://10.0.0.236/trunk@245988 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 17:53:46 +00:00
dbaron%dbaron.org
90cff3a274 Back out for now, until I have a chance to fix reftests depending on old behavior.
git-svn-id: svn://10.0.0.236/trunk@245983 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 17:28:00 +00:00
dbaron%dbaron.org
d26fe6695b Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
git-svn-id: svn://10.0.0.236/trunk@245980 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 16:48:09 +00:00
dbaron%dbaron.org
408f7c7143 Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep
git-svn-id: svn://10.0.0.236/trunk@245979 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 16:47:12 +00:00
jag%tty.nl
66730e483a Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245954 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 07:36:52 +00:00
jag%tty.nl
bc91d919a7 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
git-svn-id: svn://10.0.0.236/trunk@245897 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-18 08:50:33 +00:00
mats.palmgren%bredband.net
2efcf10391 Avoid divide by zero and make negative values for -moz-column-gap/width invalid. b=416088 r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@245862 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 04:45:59 +00:00