roc+%cs.cmu.edu
39cdc612bb
Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@143164 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 04:38:53 +00:00
roc+%cs.cmu.edu
360ffeb90a
Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@143163 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 04:03:07 +00:00
dbaron%dbaron.org
ae3f13f00e
Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143158 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-01 20:18:53 +00:00
bmlk%gmx.de
fed872aa02
border collapse - lookup the correct border owner style, bug 196133, r=jkeiser sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@143142 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 14:49:18 +00:00
bmlk%gmx.de
938a5da77a
table layout regression tests NPOB
...
git-svn-id: svn://10.0.0.236/trunk@143141 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 14:22:56 +00:00
bmlk%gmx.de
05fac045c1
avoid marking columns that only have a desired width empty, what would exclude them from space redistribution, bug 194024, r=jkeiser sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@143140 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 14:15:56 +00:00
bmlk%gmx.de
b9f1fd315b
infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@143137 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 10:32:19 +00:00
bmlk%gmx.de
75b3fde735
layout regression test for table overflow handling NPOB
...
git-svn-id: svn://10.0.0.236/trunk@143136 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 10:18:57 +00:00
bmlk%gmx.de
9375cc5db4
adding testcase to the layout regression tests NPOB
...
git-svn-id: svn://10.0.0.236/trunk@143134 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 09:26:28 +00:00
bmlk%gmx.de
4ec8e5617c
anonymous table cell frames should not have a default padding, td and th padding defaults are set in html.css, bug 72359, patch proposed by hixie some time ago (2001-06-21) r=bernd sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@143133 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 09:16:23 +00:00
timeless%mozdev.org
cf3804def9
Bug 205017 Uninitialized variables in layout/html/base/src/nsPresShell.cpp
...
r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@143112 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 19:47:39 +00:00
cbiesinger%web.de
07b4fe97ca
address reviewer comments that I forgot when checking in patch for bug 204386. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@143110 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 19:47:08 +00:00
jaggernaut%netscape.com
fd04e5bb85
Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
...
git-svn-id: svn://10.0.0.236/trunk@143070 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 00:21:01 +00:00
smontagu%netscape.com
d9bd84f916
Fix rounding issue in DrawTile() and remove a bogus assertion. Bug 194791, Author=paper@animecity.nu, r=smontagu, sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@143065 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 23:29:37 +00:00
bryner%netscape.com
0c30ac4a1e
Bug 197136, <button> elements should be Aqua bevel buttons for Cocoa. Add a new -moz-appearance value, button-bevel. Also, fixed a problem that caused the button in a file input control to change size when it was focused. r=pinkerton, sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@143061 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 22:39:05 +00:00
bzbarsky%mit.edu
a8d5fd5b51
Make some static data const in layout. Bug 204073, patch by ataylor@its.to
...
(Andrew Taylor), r=bzbarsky, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@142937 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 03:52:33 +00:00
cbiesinger%web.de
965b435ac9
204386 r+sr=bz Allow setting Image.src to empty
...
git-svn-id: svn://10.0.0.236/trunk@142905 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-25 20:43:08 +00:00
timeless%mozdev.org
15c4af5c86
Bug 205366 ifdef WIN/MACOS(X) ConvertTwipsToPixels because it isn't used elsewhere
...
r=av sr=peterv
git-svn-id: svn://10.0.0.236/trunk@142854 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:14:21 +00:00
timeless%mozdev.org
dfb31d244f
Bug 205363 Remove SendStatusNotification/nsIPrintStatusCallback
...
r=dbaron sr=dmose
git-svn-id: svn://10.0.0.236/trunk@142851 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:10:13 +00:00
timeless%mozdev.org
8749f7951c
Bug 205262 warning nsSampleWordBreaker::Next was hidden by nsSemanticUnitScanner::Next
...
r=smontagu sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@142848 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:06:40 +00:00
dwitte%stanford.edu
dc7e857400
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
dougt%meer.net
c1d4a123b6
Fixing memory leaks. b=206655, r=bernd, sr=dbaron, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142769 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 22:12:09 +00:00
jkeiser%netscape.com
d214c656a8
Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142762 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 20:56:35 +00:00
roc+%cs.cmu.edu
dad14022d0
Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142738 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 01:46:13 +00:00
roc+%cs.cmu.edu
4685a42d27
Bug 206156. When we find a block inside an inline, reparent any views inside the new anonymous block and trailing inlines if the initial inline run had a view. r+sr=dbaron,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142737 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 01:40:16 +00:00
dbaron%dbaron.org
9aac1ef1b8
Make ContentInserted handle appending after an inline that was split because it contains a block. b=141019 Based on patch by kin@netscape.com. r+sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142662 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-20 20:49:27 +00:00
smontagu%netscape.com
630769075e
Backing out fix for bug 192088, which caused regressions for Persian and Indic scripts. r=gisburn, sr=roc+moz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@142656 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-20 18:19:09 +00:00
dougt%meer.net
999a1342b9
Fixes CantRenderReplacedElementEvent memory leak. b=203596, r+sr=dbaron, a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@142571 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-17 01:10:50 +00:00
dbaron%dbaron.org
69da9d4a19
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
d88c07597f
Oops, wrong tree. Backing out.
...
git-svn-id: svn://10.0.0.236/trunk@142487 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:36:05 +00:00
dbaron%dbaron.org
85e28181ee
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142486 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:32:08 +00:00
roc+%cs.cmu.edu
128348933b
Bug 204531. Remove bogus RTL listbox reflow hack. Fix border computation for desired size of combobox dropdowns.
...
git-svn-id: svn://10.0.0.236/trunk@142482 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 01:42:53 +00:00
dbaron%dbaron.org
14904b0f8b
Remove some code left over from old native form controls. b=205575 r+sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142464 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 22:36:33 +00:00
roc+%cs.cmu.edu
722a5b8f40
Bug 199897. Fix regression by being smarter about how we clip border painting to the dirty rect. r=bernd,sr=dbaron,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142402 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 00:44:38 +00:00
bryner%netscape.com
468d4be15c
Fixes for a number of focus problems:
...
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)
Summary of the changes:
- Don't require a frame to be present for focus events. This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent. We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().
r=jkeiser, sr=jst, a=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@142319 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-12 07:11:16 +00:00
jst%netscape.com
1a3fdb6d94
Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@142281 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 20:42:49 +00:00
smontagu%netscape.com
b6e3d92246
Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@142219 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 18:38:19 +00:00
bzbarsky%mit.edu
32f33c5a39
Fix scroll state restoration when going back to URL with anchor. Bug 204364,
...
r=jkeiser, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@142162 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-06 05:46:46 +00:00
roc+%cs.cmu.edu
58361a0999
Bug 201797. Do an extra reflow of the scrollframe if we adjusted the width or height after reflowing it the first time. Also, don't include border/padding when calculating the visible width in the unconstrained case
...
git-svn-id: svn://10.0.0.236/trunk@142108 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-04 19:00:21 +00:00
cbiesinger%web.de
183bf0a7b1
199045 r+sr=bz a=asa Animated image rotates although "Animate images should loop ... [X] never" is marked
...
git-svn-id: svn://10.0.0.236/trunk@142107 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-04 18:06:10 +00:00
bzbarsky%mit.edu
8dea548af1
When doing a placeholder, paint it and the alt text in the foreground layer,
...
not the background one. Bug 156987, r+sr=roc+moz, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142092 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-03 02:34:42 +00:00
neil%parkwaycc.co.uk
43ff870e5d
Bug 190281 Focus doesn't skip disabled inputs properly r=aaronl sr=jst a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142007 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-01 10:42:33 +00:00
mjudge%netscape.com
51c60875af
195080 fix regression. sr=sfrasier r=danm. fix logic for moving caret around 0 width frames
...
git-svn-id: svn://10.0.0.236/trunk@141980 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 21:37:05 +00:00
colin%theblakes.com
cadbf3a7e7
Remove bad ANSI alias. b=190733. r=bbaetz. sr=dbaron. a=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@141975 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 20:39:27 +00:00
bzbarsky%mit.edu
3f946372a6
Images with no alt attr in quirks mode should show a placeholder, even if they
...
were blocked. Bug 201288, r+sr=roc+moz, a=asa
git-svn-id: svn://10.0.0.236/trunk@141943 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-29 18:49:42 +00:00
bzbarsky%mit.edu
8a2051dddd
Fix sizing of disabled buttons to match enabled ones. Bug 147463,
...
r=jkeiser, sr=roc+moz, a=asa
git-svn-id: svn://10.0.0.236/trunk@141941 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-29 18:45:51 +00:00
bzbarsky%mit.edu
450b865962
Make sure to flush reflows before trying to scroll so that frame coordinates
...
will be up-to-date. Bug 186149, r=peterv, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@141839 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-26 01:13:28 +00:00
bzbarsky%mit.edu
d1f7fb48d5
Pass the content parent frame to ConstructTableFrame so the view that's created
...
goes in the right place in the z-ordering. Bug 203086, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@141838 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-26 01:08:35 +00:00
peterlubczynski%netscape.com
fa1fbae9a6
Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@141776 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 00:21:12 +00:00
bzbarsky%mit.edu
84f9273d91
Don't check for :before/:after on frames that have pseudo-style-contexts. Bug
...
202917, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@141646 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 00:43:03 +00:00