Commit Graph

1042 Commits

Author SHA1 Message Date
00aa454d3f Speed up page zoom by skipping the unnecessary resize reflow when we tell the viewmanager about its new size, since we plan to go ahead and do a full dirty reflow right after that. Bug 403660, patch by Daniel Brooks <db48x@yahoo.com>, r=bzbarsky, sr=roc 2008-01-28 20:10:59 -08:00
36e749a35a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
fd3e382209 backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
c325f84c55 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
e440c6b7cd Don't call GetViewManager() if 'mShell' is null. b=408216 r+sr=roc a=blocking1.9 2007-12-16 20:59:59 -08:00
f45eacc2c4 Bug 403067. mVisibleArea may get stale so use GetWindowDimensions() when we're going to do a SetWindowDimensions() with new dimensions. r+sr=dbaron 2007-12-11 18:27:00 -08:00
a34224c160 bug 405483: explicitly sync devicecontext scale to prescontext scale upon prescontext initialization, fixing bug where web pages would either be too small (with scrollbars in the middle of the viewport) or too big (with scrollbars offscreen) when loaded if the previous page loaded in that tab had a non-default full zoom value; r+sr=roc 2007-11-26 20:54:30 -08:00
5d1b5e99fa bug 385224: optimize performance of site-specific preferences; r=mconnor,roc 2007-11-26 00:35:22 -08:00
3285a45527 Don't allow presentational attributes to set colors if the "don't use document colors" pref is set. Bug 400452, r+sr=dbaron 2007-11-15 19:46:42 -08:00
e6ee96dec0 Bug 391868 - "Page Source very small with meta charset=windows-1258" [p=chris@pearce.org.nz (Chris Pearce) r+sr=dbaron a=blocking1.9+] 2007-10-11 15:54:18 -07:00
3b6b080a64 Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc 2007-10-08 16:11:01 -07:00
f7a4cb68b3 Destroy the old rule tree *after* processing the change list, in case the change list has frame reconstructs in it. Patch from Eli Friedman <sharparrow1@yahoo.com>. r+sr+a1.9=dbaron b=389744 2007-09-30 12:23:48 -07:00
83ba61a27a Bug 391494: full page zoom causes scrollbars to be cut off. r+sr+a=roc 2007-08-24 10:46:59 -07:00
f981239ebb Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron 2007-08-23 17:13:43 -07:00
b988110129 Add nsPresContext and nsEventStateManager to cycle collection. b=385376 r=Olli.Pettay sr=jst a=jst 2007-08-10 14:25:24 -07:00
160d4f6fae Bug 389720: zooming frameset is poor. r+sr=roc, a=dbaron 2007-08-07 13:38:35 -07:00
6323a1270c Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
001a34122c Bug 4821: Implement page zoom (backend). r+sr=roc. 2007-07-25 20:34:16 -07:00
babae45ed6 Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz 2007-07-25 10:14:13 -07:00
a3fc44a409 Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky 2007-05-16 14:10:31 -07:00
c1a5cc02f1 Bug 375434. cleanup constructor in nsPresContext.cpp. r+sr=roc 2007-04-19 12:11:42 -07:00
e0f90db412 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
sharparrow1@yahoo.com
995b25e237 Bug 371238 Fix uninitialized variable in nsPresContext::GetContainer. r+sr=roc 2007-02-22 22:09:14 +00:00
sharparrow1@yahoo.com
d2a9399c47 Bug 369698: fix dynamic changes to layout.css.dpi pref. r+sr=roc. 2007-02-15 09:04:25 +00:00
sharparrow1@yahoo.com
4541ca4130 Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc. 2007-02-13 22:36:59 +00:00
sharparrow1@yahoo.com
d7af0c8aef Bug 369690: nsPresContext::mImageLoaders uses wrong key; r+sr=bzbarsky 2007-02-09 20:44:10 +00:00
sharparrow1@yahoo.com
2da748b9c2 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron@dbaron.org
d21cb374bd Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
bzbarsky@mit.edu
127703028d Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst 2006-12-05 15:46:18 +00:00
roc+@cs.cmu.edu
b45b65ca24 Bug 324963. Keep a list of active popups to help us dispatch mouse events to them ... moving handling of 'always on top' popups towards a view-less world. r+sr=bzbarsky 2006-11-29 23:09:13 +00:00
bzbarsky@mit.edu
b17843a977 Coalesce native theme change notifications to deal with the dozens of them we
get when the GTK theme changes.  Bug 352096, r+sr=roc
2006-09-12 04:36:03 +00:00
timeless@mozdev.org
6623f2131b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
bzbarsky@mit.edu
730729728d Handle the minimum font size being changed to 0 correctly. Bug 327054, r+sr=roc 2006-08-08 16:43:20 +00:00
Olli.Pettay@helsinki.fi
ffc00a8150 Bug 346119, update PresContext's document when PresShell is changed, r+sr=bz 2006-07-28 06:22:19 +00:00
Olli.Pettay@helsinki.fi
9f6d9cd053 Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc 2006-05-19 10:26:44 +00:00
masayuki@d-toybox.com
77467687ce Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc 2006-04-11 16:37:58 +00:00
sharparrow1@yahoo.com
de3ed105fb Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups) 2006-04-11 01:48:48 +00:00
sharparrow1@yahoo.com
211a227cd0 Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Tr�mon, r+sr=roc. 2006-04-01 01:19:28 +00:00
dbaron@dbaron.org
2441f6a36b One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
sharparrow1@yahoo.com
9df767b1c4 Bug 331415: some printing code cleanup. r+sr=roc. 2006-03-30 00:27:42 +00:00
dbaron@dbaron.org
3a21e465de Always use the UI direction for the scrollbar side, which is what we used to do in the most common case, but make it a pref. b=330863 r=smontagu sr=roc 2006-03-26 00:48:03 +00:00
cvshook@sicking.cc
83eb67b55a Relanding patches that (hopefully) don't affect Tdhtml 2006-03-24 00:09:50 +00:00
cvshook@sicking.cc
ac518c64e4 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364. 2006-03-23 08:21:21 +00:00
pavlov@pavlov.net
49f1b5eace draw image selection using thebes in cairo builds instead of tiling an image. bug 328390. r=vlad sr=roc 2006-03-16 21:42:50 +00:00
cvshook@sicking.cc
3febe7aa1f Bug 325426: Only use baseURI to resolve relative uris. r=bz sr=jst 2006-03-08 05:01:16 +00:00
cbiesinger@web.de
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
roc+@cs.cmu.edu
a1b6a30f14 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
bmlk@gmx.de
a7d6e892ef use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc 2006-01-21 09:31:45 +00:00
neil@parkwaycc.co.uk
b7851999ff Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst 2005-12-02 12:02:44 +00:00