349 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c0cd260b34 Bug 495798. Drop native theming for controls styled with transparent backgrounds, even if the user said to not use the page colors. r+sr=dbaron, a=ss
git-svn-id: svn://10.0.0.236/trunk@257515 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-17 00:36:23 +00:00
bzbarsky%mit.edu
5268fdbc62 Bug 437366. Make sure to not paint black-on-black in dark high-contrast themes
when 'Allow pages to use their own colors' is unchecked and the page tries
styling a form control. r+sr=dbaron, a=dveditz


git-svn-id: svn://10.0.0.236/trunk@255946 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-28 01:04:08 +00:00
smontagu%smontagu.org
ebbb7491d6 Bug 435856: LTR overwrite after printing a page. r+sr=roc, a=ss
git-svn-id: svn://10.0.0.236/trunk@253197 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-22 11:59:15 +00:00
vladimir%pobox.com
3698fa6f8e b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250808 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-25 23:12:47 +00:00
vladimir%pobox.com
a588066a49 backing out
git-svn-id: svn://10.0.0.236/trunk@250513 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-20 08:24:43 +00:00
vladimir%pobox.com
16ecf4feae b=427122, padding on select elements ignored, r=dbaron,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250510 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-20 06:42:05 +00:00
dbaron%dbaron.org
36069ceee7 Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@245250 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 19:53:59 +00:00
bzbarsky%mit.edu
dabaeedc2d 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


git-svn-id: svn://10.0.0.236/trunk@244281 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 04:10:59 +00:00
roc+%cs.cmu.edu
7caf8b7991 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
git-svn-id: svn://10.0.0.236/trunk@242716 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 09:38:32 +00:00
roc+%cs.cmu.edu
aee1f987f6 backing out bug 355548 due to test failures
git-svn-id: svn://10.0.0.236/trunk@242652 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 23:11:30 +00:00
roc+%cs.cmu.edu
fb0a2b5cae 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
git-svn-id: svn://10.0.0.236/trunk@242648 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 22:36:56 +00:00
mats.palmgren%bredband.net
9133c3fa60 Don't call GetViewManager() if 'mShell' is null. b=408216 r+sr=roc a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@241512 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-17 04:59:59 +00:00
roc+%cs.cmu.edu
e8829f7e3d Bug 403067. mVisibleArea may get stale so use GetWindowDimensions() when we're going to do a SetWindowDimensions() with new dimensions. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240894 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 02:27:00 +00:00
myk%mozilla.org
36365b7ebe 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
git-svn-id: svn://10.0.0.236/trunk@239964 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 04:54:30 +00:00
myk%mozilla.org
45246316d8 bug 385224: optimize performance of site-specific preferences; r=mconnor,roc
git-svn-id: svn://10.0.0.236/trunk@239920 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-26 08:35:23 +00:00
bzbarsky%mit.edu
107d1cc76a Don't allow presentational attributes to set colors if the "don't use document
colors" pref is set.  Bug 400452, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@239524 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 03:46:43 +00:00
reed%reedloden.com
3c0bf67b74 Bug 391868 - "Page Source very small with meta charset=windows-1258" [p=chris@pearce.org.nz (Chris Pearce) r+sr=dbaron a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@237624 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 22:54:18 +00:00
dbaron%dbaron.org
2183eba510 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
git-svn-id: svn://10.0.0.236/trunk@237429 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 23:11:02 +00:00
dbaron%dbaron.org
dc83743c9a 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
git-svn-id: svn://10.0.0.236/trunk@236951 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-30 19:23:48 +00:00
sharparrow1%yahoo.com
ecd53983ef Bug 391494: full page zoom causes scrollbars to be cut off. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233024 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 17:46:59 +00:00
mozilla%weilbacher.org
fa3f2e9691 Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232993 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 00:13:44 +00:00
dbaron%dbaron.org
9f31e99715 Add nsPresContext and nsEventStateManager to cycle collection. b=385376 r=Olli.Pettay sr=jst a=jst
git-svn-id: svn://10.0.0.236/trunk@231854 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 21:25:25 +00:00
sharparrow1%yahoo.com
a52b780012 Bug 389720: zooming frameset is poor. r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231605 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 20:38:35 +00:00
roc+%cs.cmu.edu
11a415bfd1 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231046 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 09:47:45 +00:00
sharparrow1%yahoo.com
46080bf88d Bug 4821: Implement page zoom (backend). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@231009 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 03:34:16 +00:00
sharparrow1%yahoo.com
cf85fbccb8 Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@230941 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 17:14:14 +00:00
dbaron%dbaron.org
d6e7785ed1 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
git-svn-id: svn://10.0.0.236/trunk@226544 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:10:32 +00:00
sayrer%gmail.com
5c7b4937f1 Bug 375434. cleanup constructor in nsPresContext.cpp. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224754 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-19 19:11:42 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
sharparrow1%yahoo.com
49d3da9757 Bug 371238 Fix uninitialized variable in nsPresContext::GetContainer. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220762 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 22:09:14 +00:00
sharparrow1%yahoo.com
2135fb9303 Bug 369698: fix dynamic changes to layout.css.dpi pref. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220172 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 09:04:25 +00:00
sharparrow1%yahoo.com
279cfa170d Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220085 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 22:36:59 +00:00
sharparrow1%yahoo.com
33cb7eb6cb Bug 369690: nsPresContext::mImageLoaders uses wrong key; r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219911 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 20:44:10 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
1ca9f3f372 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.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
25c459209d Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
roc+%cs.cmu.edu
6b01227e23 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
git-svn-id: svn://10.0.0.236/trunk@216116 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:09:13 +00:00
bzbarsky%mit.edu
0f73e11291 Coalesce native theme change notifications to deal with the dozens of them we
get when the GTK theme changes.  Bug 352096, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@209833 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 04:36:03 +00:00
timeless%mozdev.org
46444dd782 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
bzbarsky%mit.edu
75e1d26292 Handle the minimum font size being changed to 0 correctly. Bug 327054, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206836 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 16:43:20 +00:00
Olli.Pettay%helsinki.fi
2d2e3002a1 Bug 346119, update PresContext's document when PresShell is changed, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@205031 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 06:22:19 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
masayuki%d-toybox.com
bb38c2225d Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc
git-svn-id: svn://10.0.0.236/trunk@194136 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 16:37:58 +00:00
sharparrow1%yahoo.com
b1c51e04df Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
git-svn-id: svn://10.0.0.236/trunk@194085 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:48:48 +00:00
sharparrow1%yahoo.com
6de1b08e94 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.
git-svn-id: svn://10.0.0.236/trunk@193366 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 01:19:28 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
sharparrow1%yahoo.com
4faf77261e Bug 331415: some printing code cleanup. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
dbaron%dbaron.org
e92900026b 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
git-svn-id: svn://10.0.0.236/trunk@193001 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 00:48:03 +00:00
cvshook%sicking.cc
825f8563f9 Relanding patches that (hopefully) don't affect Tdhtml
git-svn-id: svn://10.0.0.236/trunk@192885 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 00:09:50 +00:00