2710 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
8daad17357 Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@162730 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-23 23:39:16 +00:00
bsmedberg%covad.net
87947a0979 Merge bug 246014 from the aviary branch, splitting nsIXULChromeRegistry into a separate piece for seamonkey-only methods. Original Firefox patch r=bryner sr=ben seamonkey merge r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@162619 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 20:19:48 +00:00
dbaron%dbaron.org
cdd43406c9 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162578 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:41:08 +00:00
db48x%yahoo.com
948566d097 fixes bug 260293: TreeWalker root (currentNode) with no visible descendants goes astray
patch by Alex "WeirdAl" Vincent <ajvincent@gmail.com>, r=sicking, sr=bz


git-svn-id: svn://10.0.0.236/trunk@162575 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:13:52 +00:00
neil%parkwaycc.co.uk
7903ea1651 Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
neil%parkwaycc.co.uk
9d9fcf50d9 Fix regression from previous checkin, CloneContent needs to be virtual so that nsTextNode can override it r+sr=jst over irc, no bug
git-svn-id: svn://10.0.0.236/trunk@162478 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 21:45:38 +00:00
jst%mozilla.jstenback.com
312e5f0fee Fixing bug 259206. Force local documents to always be loaded as XML to fix problem with XML prettyprinting not working if the system incorrectly sets bogus mimetypes for .xsl files (as Fedora Core 2 happens to do). r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@162472 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 19:18:51 +00:00
cbiesinger%web.de
579d7b5004 forgot to check this in as part of Bug 258411
git-svn-id: svn://10.0.0.236/trunk@162453 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 14:20:54 +00:00
cbiesinger%web.de
49a0c9fc4b Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@162450 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 13:02:54 +00:00
peterv%propagandism.org
01e29b99dc Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162447 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 12:39:49 +00:00
dbaron%dbaron.org
7d40175fee Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162387 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 19:16:43 +00:00
dbaron%dbaron.org
e8bca4edc1 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162314 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 17:26:35 +00:00
bzbarsky%mit.edu
0931032595 Make sure to addref out param. Bugs 258121 and 247712, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@162304 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 15:06:56 +00:00
bryner%brianryner.com
e7b6822e4e Support properties on documents (bug 253888). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162276 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 04:21:29 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
mats.palmgren%bredband.net
41089e08bd Use the ID attribute (and not NAME) for FRAME/IFRAME/OBJECT in XHTML. b=183683 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162186 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 23:34:00 +00:00
bmlk%gmx.de
ad152997a3 changing the border-collapse mode needs to cause a reframe as we have two different types of cellframes depending on the mode, bug 254053 idea=bz, r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162133 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 06:13:47 +00:00
dbaron%dbaron.org
268e2367ef Use sheet URI instead of base URI. b=258708 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162095 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 19:01:04 +00:00
dbaron%dbaron.org
a4ca9058c6 Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu
b74edc231a Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162054 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 04:57:30 +00:00
bzbarsky%mit.edu
f3fd99f0a7 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162049 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 03:26:58 +00:00
dbaron%dbaron.org
d116431504 Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@161992 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 17:32:35 +00:00
bryner%brianryner.com
4a29000bdf Bustage fix for HPUX (bug 239465) - |explicit| may only be used for converting constructors. r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161788 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 19:13:25 +00:00
dbaron%dbaron.org
d078282226 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
371342cda8 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161766 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:51:21 +00:00
cbiesinger%web.de
0be99300a4 Bug 250342 Views should not inherit from nsISupports
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@161754 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 15:49:20 +00:00
dbaron%dbaron.org
e53ac83c0a Back out previous round of bug 72747 changes due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161749 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
b8499fbfc0 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
git-svn-id: svn://10.0.0.236/trunk@161744 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
f8361bf5d6 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161727 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 21:58:39 +00:00
bryner%brianryner.com
ae9e02402a 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.
git-svn-id: svn://10.0.0.236/trunk@161637 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 03:08:51 +00:00
bryner%brianryner.com
192e1124fa Restoring previous failure code, follow-up to bug 257596
git-svn-id: svn://10.0.0.236/trunk@161595 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 18:02:04 +00:00
mvl%exedo.nl
20ec46a0f7 fix third-party checks for images loaded as source of an iframe, by making sure there is a requestingLocation
bug 254510, r=jst, sr=bz


git-svn-id: svn://10.0.0.236/trunk@161588 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 17:12:18 +00:00
jst%mozilla.jstenback.com
57e55d8a58 Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@161580 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 16:50:12 +00:00
neil%parkwaycc.co.uk
7e9ec00592 Bug 135928 Range.surroundContents doesn't work on a single text node p=kin r=jfrancis sr=jst extracted from the otherwise bitrotted patch in bug 58974
git-svn-id: svn://10.0.0.236/trunk@161579 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 16:18:31 +00:00
aaronleventhal%moonset.net
ef3f8b9010 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc
git-svn-id: svn://10.0.0.236/trunk@161578 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 14:58:34 +00:00
bryner%brianryner.com
ffa6c10070 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc).
git-svn-id: svn://10.0.0.236/trunk@161569 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 05:16:00 +00:00
bryner%brianryner.com
43628f9edf 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.


git-svn-id: svn://10.0.0.236/trunk@161442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
565357f6d2 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161357 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
e8966a3d7f Fix debug bustage. b=72747
git-svn-id: svn://10.0.0.236/trunk@161343 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 19:12:05 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
peterv%propagandism.org
5ef4cd4c2d Fix for bug 256514 (Links don't work in documents created via XSLT). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@161230 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 14:17:40 +00:00
bryner%brianryner.com
70d375bd3c Trying to fix AIX bustage by making nsIDocument dtor non-virtual. r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161201 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 00:30:47 +00:00
bryner%brianryner.com
ff2bc0b69e Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
tor%cs.brown.edu
da01ea4deb Bug 216563 - implement <svg:switch>.
Patch by scootermorris@comcast.net, r=afri, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@161152 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-23 21:10:39 +00:00
bryner%brianryner.com
2ac3245dec Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
0501b2872a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
03c6a8279c Backing out bug 253888 until I can figure out how to fix the crash
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
e49f4fa38e Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 05:09:50 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00