Commit Graph

3793 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
095f0fe791 Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
bzbarsky%mit.edu
9e94a3b521 Add methods to get screen coordinates of frames and views. Bug 268576,
r+sr=roc
2004-11-23 17:26:19 +00:00
jshin%mailaps.org
7f32280119 get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry) 2004-11-19 03:32:28 +00:00
jshin%mailaps.org
0bce7f2fcb bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc) 2004-11-19 03:21:12 +00:00
rbs%maths.uq.edu.au
2013840a25 Beautify ::first-letter by using MathML's GetBoundingMetrics, b=21616, r+sr=bzbarsky 2004-11-17 04:12:02 +00:00
rbs%maths.uq.edu.au
0fa5dc1b07 Crash due to buffer overrun on malformed URL with soft-hyphen characters, b=267669, r+sr=bz 2004-11-16 22:43:06 +00:00
timeless%mozdev.org
fa834e0b4c Bug 269922 /Users/timeless/mozilla/layout/html/base/src/nsObjectFrame.cpp:3931: warning: `void ConvertTwipsToPixels(nsPresContext&, nsRect&, nsRect&)' defined but not used
r=bz sr=bz
2004-11-15 18:12:35 +00:00
roc+%cs.cmu.edu
b7dfbedd1f Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in. 2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
fbb67978a5 Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp) 2004-11-14 20:22:58 +00:00
smontagu%smontagu.org
bf4ea89835 Make layout debugger show pseudo-styles. Bug 268235, r+sr=roc. 2004-11-11 17:48:09 +00:00
tor%cs.brown.edu
3b9813f31a Bug 240408 - allow SVG builds to handle SVG content in <html:embed> natively.
r=dbaron, sr=jst
2004-11-10 19:02:52 +00:00
timeless%mozdev.org
fb483e6b15 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
darin%meer.net
950a78482d fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
neil%parkwaycc.co.uk
2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
7fd8feb31d Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
82d2fed87b Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner 2004-11-03 02:52:16 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
60e2f8a8ed Assert if someone calls frame->SetNextSibling(frame), since that creates a
looped linked list.  Bug 266332, patch by timeless, r+sr=bzbarsky
2004-10-30 18:37:35 +00:00
bzbarsky%mit.edu
630c5022f7 Add loop-detection to the various methods that can change an nsFrameList. This
will assert if a loop is detected.  Bug 266332, r+sr=roc
2004-10-30 18:35:53 +00:00
bmlk%gmx.de
f57d797e4b improve MEW computation for scrollframes during incr. reflow bug=234593 r/sr=dbaron 2004-10-29 17:36:58 +00:00
bugzilla%arlen.demon.co.uk
e88339585d Bug 162081 Wrong letter is underlined as accesskey / mnemonic when widget direction is RTL
p=mozilla-bugzilla@future.shiny.co.il r/sr=bzbarsky
2004-10-29 12:28:19 +00:00
timeless%mozdev.org
5e730ee0bc Bug 265336 GetService klookandfeel instead of CreateInstance
r=biesi sr=dmose
2004-10-28 07:25:57 +00:00
aaronleventhal%moonset.net
99ef95d12f Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
dbaron%dbaron.org
12e3bc78bd Fix effect of horizontal padding/border on text-decorations on broken inlines. b=258126 r+sr=bzbarsky 2004-10-25 23:48:29 +00:00
bzbarsky%mit.edu
8c45dec978 Mask out temporary bits from the frame state to reduce regression test noise.
Bug 265552, r+sr=roc
2004-10-24 17:23:40 +00:00
dbaron%dbaron.org
fc211528b0 Revert part of the changes from bug 140611. Patch partly from Sander <svl_bmo@juima.org>. b=259683 r+sr=roc a=asa 2004-10-23 23:23:43 +00:00
dbaron%dbaron.org
c6f69590b6 Don't push lines when height is unconstrained, even if current height is bigger than NS_UNCONSTRAINEDSIZE. b=265027 r+sr=roc a=mkaply 2004-10-22 17:32:54 +00:00
daniel%glazman.org
458fe99083 fixes inconsistent selection schemes in HTML tables; b=261385, r=Neil, sr=roc 2004-10-20 15:24:11 +00:00
bzbarsky%mit.edu
e4430de4cc Fix nsPageFrame to not set string lengths to negative numbers, and fix string
code to not go into an infinite loop if someone tries it.  Bug 263365,
r+sr=darin
2004-10-19 21:46:45 +00:00
rbs%maths.uq.edu.au
919273859a Improves linebreak behavior at inter-tag boundaries, patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs 2004-10-19 07:12:55 +00:00
aaronleventhal%moonset.net
e9feb9853d Bug 262578. No click to focus css scrollable areas like overflow:scroll, but you can still click there and scroll -- just no focus outline. r=mats, sr=roc 2004-10-19 02:24:27 +00:00
dbaron%dbaron.org
76e0711fdd Treat 'visibility: collapse' the same as 'visibility: hidden'. b=264072 r+sr=roc 2004-10-13 15:12:14 +00:00
rbs%maths.uq.edu.au
24c89150ae Text Zoom leaves misaligned overlapping text, b=128405, r=roc, sr=bz 2004-10-12 03:04:47 +00:00
bzbarsky%mit.edu
8877cd7c2c Paint the placeholder and the first line of our alt text even if out box is not
big enough to fit them in their entirety.  Bug 263244, r+sr=dbaron
2004-10-11 21:52:36 +00:00
roc+%cs.cmu.edu
1bf88ed4df Bug 263586. Fix regression in incremental line reflow by being more conservative in detecting when a line has just been reflowed for the first time. r+sr=dbaron 2004-10-10 01:56:00 +00:00
bzbarsky%mit.edu
67e81a846a Fix ComparePoints() to be faster (helps with things like innerHTML). Bug
262764, r+sr=peterv
2004-10-09 21:02:16 +00:00
kyle.yuan%sun.com
eefa1edd1b Bug 256252 ctrl+right arrow sometimes skip a word
r/sr=roc, patch=ginn.chen@sun.com
2004-10-09 06:14:44 +00:00
roc+%cs.cmu.edu
c237520c89 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron 2004-10-08 12:17:10 +00:00
jshin%mailaps.org
c673007c50 bug 263411 : :first-letter pseudo-element doesn't include all punctuation marks in the Unicode (r/sr=dbaron) 2004-10-08 05:00:53 +00:00
bzbarsky%mit.edu
e2c56f9785 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
bzbarsky%mit.edu
e0dc15e288 Don't do unneeded work in nsImageFrame::AttributeChanged. Bug 261723, r+sr=roc 2004-09-30 19:23:40 +00:00
bryner%brianryner.com
aed8386f51 Fix nsBoxFrame::RelayoutChildAtOrdinal to not clobber the first child in the list. Remove no-op nsIFrame::SetNextBox(). Thanks to darin for help with the patch, and r+sr=roc. Bug 262054. 2004-09-30 00:18:49 +00:00
roc+%cs.cmu.edu
9cb0174df1 Bug 261040. Make sure that scrollframe borders are not included in GetActualScrollbarSizes. r+sr=dbaron 2004-09-29 02:19:06 +00:00
roc+%cs.cmu.edu
b2c88b56ed Bug 260896. When a floating first-letter frame reports FRAME_IS_NOT_COMPLETE after reflow, (then unlike blocks) that does NOT mean that it needs to continue on the next page! It just means it has an inline continuation. So correct its reflow status early in ReflowFloat so that we don't confuse the heck out of block reflow. r+sr=dbaron 2004-09-29 02:18:25 +00:00
roc+%cs.cmu.edu
b8a58f6aeb Bug 261040. Make sure that scrollframe borders are not included in GetActualScrollbarSizes. r+sr=dbaron 2004-09-29 02:08:51 +00:00
roc+%cs.cmu.edu
28838b0654 Bug 261128. Protect scrollframes from dying if the prescontext's container goes away (it's a weak ref). r+sr=dbaron 2004-09-29 01:46:55 +00:00
bryner%brianryner.com
dc62f4d4e5 Attempt to fix perf regression from bug 258513 by fixing users of obsolete nsIBoxToBlockAdaptor interface. Also, removing this interface like I intended to do. r=dbaron. 2004-09-29 00:28:13 +00:00
aaronleventhal%moonset.net
1186e2b8f0 bug 258937: form elements in Midas are focusable. r=glazou, sr=bryner 2004-09-28 18:40:50 +00:00
bryner%brianryner.com
f67d250152 Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc. 2004-09-28 18:37:50 +00:00
roc+%cs.cmu.edu
0f02f17c6c Bug 251586. Allow a scrollbar to appear whenever it fits, even if the resulting visible size is zero. r+sr=dbaron,a=asa 2004-09-27 19:21:41 +00:00
jst%mozilla.jstenback.com
85d55658d2 Fixing bug 181364. Fixing problem with drag events in windowless plugins by making the code work as it has always worked on Mac, i.e. prevent drag events on plugins from being eaten by the browser. r=bzbarsky@mit.edu, sr=brendan@mozilla.org, a=asa@mozilla.org 2004-09-27 18:56:07 +00:00
neil%parkwaycc.co.uk
a782b4dc30 Bug 76197 Unscrollable scrollbars should look disabled r=varga sr=roc 2004-09-22 06:33:36 +00:00
roc+%cs.cmu.edu
989647add6 Bug 260624. Handle case where scrollframe state is restored before its scrollbox has been created. r+sr=dbaron 2004-09-21 21:41:01 +00:00
roc+%cs.cmu.edu
ed606a4d5d Bug 258175. Always capture the mouse at the root of the document if we haven't captured it in any child. r+sr=bzbarsky 2004-09-21 13:58:22 +00:00
roc+%cs.cmu.edu
ca479a7c10 Bug 260515. Fix obviously broken code in CombineBreakType. r+sr=dbaron 2004-09-21 13:56:06 +00:00
dbaron%dbaron.org
feb3d9aee8 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc 2004-09-21 04:41:08 +00:00
kyle.yuan%sun.com
e81d588f47 Bug 237228 pref "layout.word_select.eat_space_to_next_word" can't be set by user in the profile's prefs.js
r=dbaron, sr=roc, patch=ginn.chen@sun.com
2004-09-21 04:25:08 +00:00
neil%parkwaycc.co.uk
6a4f37de6b Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc 2004-09-20 22:25:07 +00:00
pete.zha%sun.com
14fa008ab8 bug 234470
There is something wrong with plugin printing on linux or unix
r=leon.sha@sun.com
sr=roc
patch=roland
2004-09-20 06:46:16 +00:00
roc+%cs.cmu.edu
c9f4947a85 Bug 257612. Fix dynamic margin changes by 1) Propagate IsPreviousMarginDirty through empty lines 2) Reflow any line whose previous margin is dirty. 3) If a reflowed line could have been tested in a subsequent line's ShouldApplyTopMargin both before and after reflow, and might have been empty before or after reflow, then make the next line's previous margin dirty. 4) If reflowing a block changes its carried-out margin, then mark the next line's previous margin dirty. r+sr=dbaron 2004-09-18 14:39:07 +00:00
roc+%cs.cmu.edu
7918625217 Bug 248825. Correctly push overflowing float placeholders to the start of the overflow lines in the case where the first overflow line is a block. r+sr=dbaron 2004-09-17 00:02:56 +00:00
roc+%cs.cmu.edu
44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
roc+%cs.cmu.edu
656cdc98f5 Fixing bustage 2004-09-13 15:24:11 +00:00
roc+%cs.cmu.edu
3a3ac38479 Bug 257216. Fix sundry block issues for columns. In particular, remove overflowing floats from the space manager before we compute the space manager's XMost and YMost to include in the block size. r+sr=dbaron 2004-09-13 13:35:46 +00:00
dbaron%dbaron.org
02e5799687 The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc 2004-09-13 05:39:27 +00:00
roc+%cs.cmu.edu
beb5bd3a80 Bug 258118. Ensure that float breaks are eventually honoured even if the line with the break is not reflowed and the following line is empty. r+sr=dbaron(rubber-stamp) 2004-09-13 02:21:35 +00:00
roc+%cs.cmu.edu
2a8936b1a7 Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp) 2004-09-13 02:10:29 +00:00
jst%mozilla.jstenback.com
cef12da780 Landing fix for bug 258487, patch by Wladimir Palant <trev@gtchat.de>. Add code to check a pref for how to treat popups opened by a plugin. r+sr=jst@mozilla.org 2004-09-09 18:53:21 +00:00
roc+%cs.cmu.edu
6255acffd9 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
dbaron%dbaron.org
3827991ce7 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
cb5add0739 Land bug 72747 in pieces: Implement scrolling='yes' (and equivalents) on frames and iframes. b=72747 r+sr=roc 2004-09-04 23:03:04 +00:00
jst%mozilla.jstenback.com
51fd4d10d8 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com 2004-09-04 19:28:46 +00:00
dbaron%dbaron.org
ee55fda1f1 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
fff31dd733 Land bug 72747 in pieces: Add default constructor for ScrollbarStyles. b=72747 r+sr=roc 2004-09-04 07:35:12 +00:00
dbaron%dbaron.org
cc5c573459 Land bug 72747 in pieces: Change types on ScrollbarStyles from PRInt32 to PRUint8. b=72747 r+sr=roc 2004-09-04 07:02:46 +00:00
dbaron%dbaron.org
31bf95ea38 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc 2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
a8633dbceb Back out text input changes from bug 72747. 2004-09-04 03:49:25 +00:00
dbaron%dbaron.org
9a61205ad8 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron%dbaron.org
b6c0edfe8e Land bug 72747 in pieces: A little cleanup. b=72747 r+sr=roc 2004-09-03 23:57:42 +00:00
dbaron%dbaron.org
4013de8926 Land bug 72747 in pieces: Remove mNeverHas*Scrollbar variables which are unneeded since the m*ScrollbarBox null-checks handle their one remaining user. b=72747 r+sr=roc 2004-09-03 23:29:38 +00:00
dbaron%dbaron.org
1d4d3b735f Land bug 72747 in pieces: Remove mNeverHas*Scrollbar variables which are unneeded since the m*ScrollbarBox null-checks handle their one remaining user. b=72747 r+sr=roc 2004-09-03 23:28:26 +00:00
dbaron%dbaron.org
d2d8096ade Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc 2004-09-03 23:22:15 +00:00
dbaron%dbaron.org
076f00e7d4 Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc 2004-09-03 23:17:18 +00:00
dbaron%dbaron.org
7dc30e0f2f Land bug 72747 in pieces: remove nsIScrollableFrame::GetScrollPreference. b=72747 r+sr=roc 2004-09-03 22:28:34 +00:00
dbaron%dbaron.org
8b8587dcc0 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc 2004-09-03 21:58:39 +00:00
timeless%mozdev.org
913724936a Bug 257877 replacement content isn't rendered if gkplugin.dll isn't present
r=jst sr=bz
2004-09-03 21:49:13 +00:00
dbaron%dbaron.org
77d25b92c6 Land bug 72747 in pieces: remove nsIScrollableFrame::GetScrollPreference. b=72747 r+sr=roc 2004-09-03 00:46:43 +00:00
dbaron%dbaron.org
01f5e54ff0 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc 2004-09-02 23:27:23 +00:00
kyle.yuan%sun.com
435ec50dcf Bug 254997 Caret tracking by line (down arrow) skips over huge portions of the document. r=aaronl, sr=roc, patch=ginn.chen@sun.com 2004-09-02 05:02:53 +00:00
bryner%brianryner.com
dc76c57a2c deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
bryner%brianryner.com
e14abad4f9 Restoring previous failure code, follow-up to bug 257596 2004-09-01 18:02:04 +00:00
jst%mozilla.jstenback.com
bc321b52bc Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu 2004-09-01 16:50:12 +00:00
aaronleventhal%moonset.net
1f5edcb856 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
roc+%cs.cmu.edu
9fe7e8650d Bug 257430. nsImageFrame and nsTableRowFrame need to always include their frame bounds in their overflow area. r+sr=dbaron 2004-09-01 13:33:17 +00:00
bryner%brianryner.com
4c15468e7d Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bmlk%gmx.de
d5cfd51a13 bustage fix 2004-08-31 19:26:37 +00:00
bmlk%gmx.de
7884179497 frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc 2004-08-31 18:50:40 +00:00
bryner%brianryner.com
d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
bryner%brianryner.com
2f0f78bbcb Extend invalidated region by one source row in each direction so that we fully cover the rows in a scaled image which may be drawn using a given source row. This fixes the "white lines" problem with scaled images (bug 222901). r=pavlov, sr=tor. 2004-08-28 23:59:15 +00:00
dbaron%dbaron.org
c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00