Commit Graph

771 Commits

Author SHA1 Message Date
Olli.Pettay@helsinki.fi
8ef915d47c Bug 395609, r=roc+sicking, sr=sicking, a=beltzner 2008-03-21 04:18:10 -07:00
dbaron@dbaron.org
f31447da64 Fixing asymmetry between what timeless landed for bug 394114 and what he backed out. 2008-03-19 15:05:04 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
dholbert@cs.stanford.edu
203b5735e3 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+ 2008-03-19 13:51:42 -07:00
jst@mozilla.org
d1dd3d9620 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 2008-03-19 12:43:10 -07:00
jwatt@jwatt.org
9f26d651b3 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 2008-03-18 17:11:01 -07:00
roc+@cs.cmu.edu
8dc31a31ac Bug 422394. Fix tab width calculation so we never fail to advance. r=smontagu 2008-03-17 18:48:22 -07:00
bzbarsky@mit.edu
b607f1de90 Invalidate tables a little harder. Bug 421632, r+sr=roc 2008-03-16 13:32:48 -07:00
jruderman@hmc.edu
5300fa0e04 Add crashtest 2008-03-15 04:14:04 -07:00
jonas@sicking.cc
da4cab3b75 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 2008-03-14 16:08:57 -07:00
dholbert@cs.stanford.edu
dfa358c900 Backing out Bug 417356, due to pagination reftest failures. 2008-03-14 01:50:13 -07:00
roc+@cs.cmu.edu
43eb2ffe91 Bug 404140. Avoid assertions about comparing line iterators from different lists by comparing nsLineBox* pointers. r+sr=dbaron 2008-03-14 01:12:25 -07:00
dholbert@cs.stanford.edu
b847cc90cc 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+ 2008-03-14 00:48:04 -07:00
dholbert@cs.stanford.edu
52a3ff9796 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+ 2008-03-14 00:21:15 -07:00
jst@mozilla.org
a5b6672d1f Fixing bug 416953. Do plugin destruction off of an event whenever possible (which is pretty much always). r+sr=jonas@sicking.cc 2008-03-13 20:31:35 -07:00
dbaron@dbaron.org
950ba556ce Don't make overflow:-moz-hidden-unscrollable affect layout. b=411213 r+sr=roc a=beltzner 2008-03-13 08:23:27 -07:00
roc+@cs.cmu.edu
a5d01c093e Backing out 413027 again. 2008-03-13 02:14:16 -07:00
roc+@cs.cmu.edu
69064e9603 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 2008-03-13 01:40:43 -07:00
masayuki@d-toybox.com
821cf1156c 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 2008-03-12 19:36:58 -07:00
dbaron@dbaron.org
4f711db346 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+ 2008-03-12 15:04:45 -07:00
smontagu@smontagu.org
479ae9823b Enable bidi processing if there are right-to-left characters in print headers or footers. Bug 421690, r+sr=roc, blocking1.9=damon 2008-03-12 00:56:38 -07:00
roc+@cs.cmu.edu
60d05a4f07 Bug 413027 backed out again 2008-03-11 19:01:17 -07:00
roc+@cs.cmu.edu
ea712ce519 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 2008-03-11 18:05:26 -07:00
roc+@cs.cmu.edu
8dfb75f0cd Bug 420351. Don't let empty list-bullets make a line non-empty. r+sr=dbaron 2008-03-11 17:46:18 -07:00
jruderman@hmc.edu
736a43a02c Add crashtest 2008-03-11 17:44:46 -07:00
uriber@gmail.com
dce1edd834 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 2008-03-11 14:54:34 -07:00
roc+@cs.cmu.edu
b099594232 Backing out 420351 2008-03-11 03:44:32 -07:00
roc+@cs.cmu.edu
8a3b8b1390 Backing out bug 413027 2008-03-11 01:36:01 -07:00
roc+@cs.cmu.edu
7464d60332 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 2008-03-11 00:38:26 -07:00
roc+@cs.cmu.edu
65180d9a75 Bug 420351. Empty bullets cannot make a line non-empty. r+sr=dbaron 2008-03-11 00:36:03 -07:00
jonas@sicking.cc
47a2cff0da Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a 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. 2008-03-10 17:49:19 -07:00
mozilla@weilbacher.org
8aea370edc [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 2008-03-10 17:10:55 -07:00
jst@mozilla.org
69dc88b93a Followup fix for bug 393845, fixing minor issue found by jag, no functional change. 2008-03-08 11:04:40 -08:00
reed@reedloden.com
5e3b4d1415 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner] 2008-03-08 01:44:35 -08:00
bmlk@gmx.de
a9dad73560 There is no height greater than unconstrained height, bug 402872, r/sr=roc a=beltzner 2008-03-08 01:12:30 -08:00
vladimir@pobox.com
7799aa92fb b=418882, crash on www.rhein-zeitung.de, potential fix; r+sr=roc 2008-03-07 16:58:57 -08:00
jst@mozilla.org
cb76f98a7a Fixing bug 393845. Crash with Windows Media Player 10 plugin when stopping plugin. r+sr=bzbarsky@mit.edu 2008-03-07 13:32:49 -08:00
bzbarsky@mit.edu
9a9b16c7e5 Make sure to do saturating adds on possibly-unconstrained nscoords. Bug 421404, r=dholbert, sr=roc, a=beltzner 2008-03-07 13:20:03 -08:00
vladimir@pobox.com
8ee725091d b=418915, plugin print rendering coordinates incorrect on win32; r+sr=roc 2008-03-05 23:06:46 -08:00
dbaron@dbaron.org
7003061847 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 2008-03-05 16:05:26 -08:00
joshmoz@gmail.com
df3cd329a5 take key modifiers from the current event not the current hardware state. b=320746 r=smichaud sr=roc 2008-03-04 09:58:52 -08:00
roc+@cs.cmu.edu
cfdcd1fbe2 Bug 392809. Fix word-based caret movement around punctuation and whitespace. r=smontagu,a=beltzner 2008-03-03 00:37:34 -08:00
dholbert@cs.stanford.edu
65a3300338 Bug 418766: Use width, not height, as a quick proxy for whether a line is empty. r+sr=roc, a=beltzner 2008-02-29 13:45:43 -08:00
jst@mozilla.org
16e1932c1a 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 2008-02-28 18:06:00 -08:00
dbaron@dbaron.org
38ba81cbd4 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 2008-02-28 17:52:06 -08:00
roc+@cs.cmu.edu
76c8339f01 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 2008-02-28 12:37:06 -08:00
masayuki@d-toybox.com
3dcfbbf7fc Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner 2008-02-28 07:28:37 -08:00
masayuki@d-toybox.com
f6e10b8d70 backing out the previous patch, becaused qm-centos5-01 dep unit test is orange 2008-02-28 05:59:25 -08:00
masayuki@d-toybox.com
22b844e897 Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner 2008-02-28 03:01:56 -08:00
roc+@cs.cmu.edu
bc1e698534 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 2008-02-27 01:53:48 -08:00
roc+@cs.cmu.edu
705c2058b7 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 2008-02-27 01:46:22 -08:00
roc+@cs.cmu.edu
e29a1f3193 Bug 419531. Don't wipe out stored tab widths during text intrinsic size calculation. r+sr=dbaron 2008-02-27 01:29:46 -08:00
reed@reedloden.com
ad47a157a8 Back out Smaug's patch from bug 395609 due to a Txul regression. 2008-02-26 19:51:00 -08:00
dbaron@dbaron.org
bef42eb600 Prevent margin expansion from interfering with table caption position. Based on patch by Mats Palmgren. b=363248 r+sr=roc a=blocking1.9+ 2008-02-26 18:02:50 -08:00
dougt@meer.net
47947ce309 use of max(a,b) is confusing windows mobile compiler. b=419653, r=dbaron, a=beltzner 2008-02-26 17:51:57 -08:00
Olli.Pettay@helsinki.fi
9d20321d7a Bug 395609, r=roc, sr=sicking 2008-02-26 15:48:49 -08:00
mats.palmgren@bredband.net
a907d70ffb Fix a compile warning. b=417895 r+sr=roc a=blocking1.9 2008-02-26 07:04:33 -08:00
mats.palmgren@bredband.net
9e192bb576 Make nsTypedSelection ctors initialize all members (fixes an UMR) and reorder members to save space. b=417895 r+sr=roc a=blocking1.9 2008-02-26 07:04:14 -08:00
reed@reedloden.com
70e372f1fb Bug 410114 - "Simplify nsTransform2D" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=roc a1.9=damons] 2008-02-26 01:42:36 -08:00
roc+@cs.cmu.edu
4d2c5dd483 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 2008-02-26 01:09:05 -08:00
dbaron@dbaron.org
722e419bf7 Fix handling of 'right'-derived static positions (mostly for RTL) when containing block has asymmetric border. b=419072 r+sr=roc a=damons 2008-02-25 13:16:21 -08:00
roc+@cs.cmu.edu
ac43fde6ea Bug 416752. Use the scrollbar min-height/min-width to establish the minimum scrollport size, not the pref-height/pref-width. r+sr=dbaron 2008-02-24 17:21:08 -08:00
dbaron@dbaron.org
36bfec9f1f Fix regression handling auto margins on absolutely positioned elements. b=419060 r+sr=roc a=blocking1.9+ 2008-02-24 10:28:57 -08:00
fantasai.cvs@inkedblade.net
adcaddd746 fixed positioned elements print only on first and last pages b=417676 r+sr=roc 2008-02-24 04:19:17 -08:00
reed@reedloden.com
b7eaeb04c9 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] 2008-02-23 23:35:08 -08:00
reed@reedloden.com
40b710e021 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] 2008-02-23 23:31:29 -08:00
uriber@gmail.com
8c675558f6 Add a comment and assertion to the fix for bug 370174. r+sr=roc on the original patch. blocking1.9=dbaron 2008-02-23 02:54:29 -08:00
roc+@cs.cmu.edu
ef81289627 Bug 407095. Reflow in more situations where horizontal scrollbar appears or disappears. May hurt Tp, let's watch. r+sr=dbaron,a=damon 2008-02-23 02:15:59 -08:00
uriber@gmail.com
a28af924f9 Don't crash on triple-clicking when there's an orphan content somewhere. bug=370174 r+sr=roc blocking1.9=dbaron 2008-02-22 13:21:15 -08:00
uriber@gmail.com
bbb4b3e1da 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 2008-02-22 05:44:07 -08:00
roc+@cs.cmu.edu
f19a84e63b Bug 157546. 'Delete' key should delete entire cluster. patch by Theppitak Karoonboonyanan, r+sr=roc,a=schrep 2008-02-21 18:24:04 -08:00
roc+@cs.cmu.edu
60288cf6b4 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 2008-02-21 17:02:52 -08:00
dholbert@cs.stanford.edu
66d57e1b12 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+ 2008-02-21 13:02:07 -08:00
reed@reedloden.com
89eddcaa54 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+] 2008-02-20 03:33:27 -08:00
reed@reedloden.com
8980f8d4ec Back out patch from Theppitak Karoonboonyanan in bug 157546 due to test failures. 2008-02-20 03:10:16 -08:00
reed@reedloden.com
a82ed7e493 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] 2008-02-20 02:19:31 -08:00
fantasai.cvs@inkedblade.net
d4dc37580f switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc 2008-02-19 23:08:55 -08:00
roc+@cs.cmu.edu
407f4669ea 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 2008-02-19 18:07:48 -08:00
mozilla@weilbacher.org
056b00f919 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 2008-02-19 11:41:56 -08:00
dbaron@dbaron.org
fb9e7d706d Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep 2008-02-19 10:47:34 -08:00
dbaron@dbaron.org
f4d4f9cc2b Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep 2008-02-19 10:46:21 -08:00
bzbarsky@mit.edu
19c072083b Make sure that <frame>s don't fall through to nsLeafFrame sizing, unlike <iframe>s. Bug 414322, r+sr=dbaron, a=schrep. 2008-02-19 09:53:46 -08:00
dbaron@dbaron.org
b4df875a18 Back out for now, until I have a chance to fix reftests depending on old behavior. 2008-02-19 09:28:00 -08:00
dbaron@dbaron.org
36854cf843 Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep 2008-02-19 08:48:09 -08:00
dbaron@dbaron.org
929891e58f Treat backgrounds on body the same in XHTML as for HTML. b=379461 r+sr=bzbarsky a=schrep 2008-02-19 08:46:29 -08:00
jag@tty.nl
2fbcb59ed7 Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
mats.palmgren@bredband.net
36bbfec789 Avoid divide by zero and make negative values for -moz-column-gap/width invalid. b=416088 r+sr=roc a=mtschrep 2008-02-16 20:45:58 -08:00
masayuki@d-toybox.com
cb5c20d581 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
reed@reedloden.com
017aad07f5 Back out Theppitak Karoonboonyanan's patch from bug 157546 due to a regression (bug 417745). 2008-02-15 12:20:55 -08:00
reed@reedloden.com
0aa97a6838 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=beltzner] 2008-02-14 21:30:34 -08:00
bzbarsky@mit.edu
eb22bd76fe Adding crashtest 2008-02-14 20:17:09 -08:00
bzbarsky@mit.edu
037abccdd6 Make sure to not set a negative computed width. Bug 403576, r+sr=dbaron, a=beltzner 2008-02-14 20:14:53 -08:00
roc+@cs.cmu.edu
643d92dcbe Bug 400813, check in the right version of the patch 2008-02-14 02:03:01 -08:00
roc+@cs.cmu.edu
b278a54a54 Bug 400813. Text with font-size:0 should not make a line be treated as empty. r+sr=dbaron 2008-02-14 01:08:33 -08:00
vladimir@pobox.com
24545f80da b=415285, win32 plugin printed is overprinted ; r=stuart 2008-02-13 22:27:51 -08:00
smontagu@smontagu.org
60180f6db8 Make Hebrew list numbering be ordered correctly. Bug 413928, r+sr=roc, blocking1.9=shrep 2008-02-13 00:21:59 -08:00
roc+@cs.cmu.edu
79bbde3785 backing out bug 400813 again due to reftest failure... 2008-02-11 18:48:17 -08:00
roc+@cs.cmu.edu
4251201001 Bug 400813. Lines with font-size:0 content should not be treated as empty. r+sr=dbaron 2008-02-11 17:42:14 -08:00