dbaron%dbaron.org
e51e8e70e0
Fix Windows bustage by making these virtual again, at least for now (the only cost of which should be bloating some vtables). b=238099
...
git-svn-id: svn://10.0.0.236/trunk@160409 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 19:10:16 +00:00
dbaron%dbaron.org
e29b7fd0e4
Attempt to fix Windows bustage. b=238099
...
git-svn-id: svn://10.0.0.236/trunk@160407 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 18:44:42 +00:00
dbaron%dbaron.org
3ea4fea687
Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160406 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 18:26:14 +00:00
neil%parkwaycc.co.uk
0bbab9b402
Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@160395 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 11:38:42 +00:00
bzbarsky%mit.edu
02a889bb77
Enter on button of file input should not submit form. Bug 252526 wallpaper,
...
r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@160375 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 21:23:59 +00:00
dbaron%dbaron.org
03b3717bb3
Give nsCSSStyleSheet a header file and rename the class in preparation for deCOMtamination. b=239008 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160332 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:27:28 +00:00
dbaron%dbaron.org
f5d5060a41
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160331 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:23:37 +00:00
bzbarsky%mit.edu
48b2ead6fc
When changing selected radio button with arrow keys, prevent the default action
...
for the key event. Bug 253299, r=aaronl, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@160329 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 02:52:50 +00:00
bryner%brianryner.com
736c955c54
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
d1c1168c09
Back out 236889 due to 253755.
...
git-svn-id: svn://10.0.0.236/trunk@160168 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 07:42:12 +00:00
aaronleventhal%moonset.net
c066131207
Bug 250858. Focus outline appearing on image when image map area clicked. r=bryner, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@160134 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 13:02:31 +00:00
aaronleventhal%moonset.net
96b12f64e9
Bug 253391. Any element with tabindex explicity specified can be focused via .focus(). r=bryner, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@160133 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 13:00:36 +00:00
bzbarsky%mit.edu
8ea9ce4fb8
Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
...
shared code into utility methods in nsContentUtils. Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs. Bug 251775 and bug 244859, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@160120 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 06:04:57 +00:00
dbaron%dbaron.org
8c1a22db88
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160070 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 20:07:25 +00:00
bryner%brianryner.com
b17b3249f7
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net
19176053ba
Bug 252984. Remove focus and tab navigation code that's no longer necessary which is actually breaking some form controls. r=bryner, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@160060 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 18:06:55 +00:00
dbaron%dbaron.org
798a279e07
Fix Windows bustage. b=252578
...
git-svn-id: svn://10.0.0.236/trunk@159967 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:52:03 +00:00
dbaron%dbaron.org
59572fab24
Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
jst%mozilla.jstenback.com
b0e8514552
Forgot to rev these IIDs in my last checkin.
...
git-svn-id: svn://10.0.0.236/trunk@159956 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 05:15:17 +00:00
jst%mozilla.jstenback.com
7eadd82b04
Fixing bug 253121. Make wyciwyg channels and documents carry the source channels security info. r=darin@meer.net, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@159942 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 00:26:58 +00:00
bzbarsky%mit.edu
50d5ce0bc2
Switch context back to being nsISupports, but make it clear that it's expected
...
to be an nsIDOMNode or nsIDOMWindow. Bug 252027, r=mvl, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@159916 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 17:15:53 +00:00
aaronleventhal%moonset.net
7461104ae0
Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@159798 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-24 21:12:43 +00:00
peterv%propagandism.org
542c31e213
Remove redundant nsDocument::CreateElement function. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@159656 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 14:54:49 +00:00
dbaron%dbaron.org
de732e9488
Don't allocate and leak selectors that we don't need. b=252510 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159614 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 21:20:14 +00:00
dbaron%dbaron.org
5eab03ef1e
Reduce headers brought in by nsRuleNode.h. Split nsRuleData into its own file. b=64023 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159531 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 06:11:27 +00:00
bzbarsky%mit.edu
5e2eec8247
Fix offsetWidth,clientWidth and scrollWidth for empty block elements. Bug
...
186516, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@159444 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 20:40:52 +00:00
bzbarsky%mit.edu
176f587eef
Fix image blocking for iframes. Bug 200433, r=mvl, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@159439 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 19:40:44 +00:00
roc+%cs.cmu.edu
9479fac3b5
Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159419 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:12:46 +00:00
dbaron%dbaron.org
e901e41ba4
Clean up string usage in nsFont::EnumerateFamilies and nsCSSStyleSheet.cpp's ValueIncludes, although not all the other places to which this pattern was copied. b=235755 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@159401 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-17 19:03:13 +00:00
dbaron%dbaron.org
c5cdb39b9a
Back out again (except indentation fix). b=236889
...
git-svn-id: svn://10.0.0.236/trunk@159373 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 23:28:36 +00:00
dbaron%dbaron.org
3cc5d169b4
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland quarter of patch to test effect on pageload.
...
git-svn-id: svn://10.0.0.236/trunk@159372 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 22:55:42 +00:00
dbaron%dbaron.org
483db44bb1
Backing out half of 236889.
...
git-svn-id: svn://10.0.0.236/trunk@159367 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 21:23:27 +00:00
dbaron%dbaron.org
95176bd66a
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland half of page to test effect on pageload.
...
git-svn-id: svn://10.0.0.236/trunk@159363 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 20:26:39 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4
Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +00:00
dbaron%dbaron.org
2ffe6397c4
Trim unneeded includes to speed up compilation. b=64023 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@159321 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 06:32:16 +00:00
bzbarsky%mit.edu
1b04542f5d
Fix preshints in anonymous content some more (by moving all document sheet
...
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels). Bug 234861,
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159283 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 20:30:30 +00:00
jst%mozilla.jstenback.com
fd939e414e
Checking in fix for 164482 (Patch by smaug@welho.com). Adding support for XML Events. r=bryner@brianryner.com, sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@159235 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 05:24:40 +00:00
bzbarsky%mit.edu
a569b89925
Testing backout of bug 236889 to see effect on performance. a=#mozilla
...
git-svn-id: svn://10.0.0.236/trunk@159232 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 02:54:01 +00:00
dbaron%dbaron.org
8314527ee5
Make :active hierarchical. b=65917 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159204 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:27:24 +00:00
dbaron%dbaron.org
7d1892d30f
Ensure chrome: URLs stay that way so theme switching code doesn't get confused, even though most chrome: stylesheet loads don't come through this codepath. b=226791 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159203 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:21:07 +00:00
dbaron%dbaron.org
27b14921d7
Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159201 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:19:22 +00:00
bryner%brianryner.com
e372b2e9a3
Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@159199 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:14:34 +00:00
dbaron%dbaron.org
ca93e21901
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159197 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:10:55 +00:00
dbaron%dbaron.org
fe80e9ca1c
Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@159195 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:56:23 +00:00
dbaron%dbaron.org
876fe15a8a
Send correct HTTP Referer header for CSS @import. b=249171 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159194 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:52:19 +00:00
aaronleventhal%moonset.net
b04f5bde4c
Bug 250692. Can't select in textarea with tabindex. r=bryner, sr=jst, a=mkaply
...
git-svn-id: svn://10.0.0.236/trunk@159099 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-12 20:59:40 +00:00
cbiesinger%web.de
28d67c5422
bug 250230 call base class's HandleEvent even if aPresContext is NULL
...
r=aaronl sr=jst a=sspitzer,dveditz
git-svn-id: svn://10.0.0.236/trunk@158919 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-08 18:41:54 +00:00
aaronleventhal%moonset.net
bea55d6728
Fix big regression with mouse events in content caused by checkin to bug 171366. Just changes NS_OK back to NS_OK as we had in original sr='d patch.
...
git-svn-id: svn://10.0.0.236/trunk@158822 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 03:35:46 +00:00
aaronleventhal%moonset.net
526c59be60
Bug 171366. Support tabindex for all elements. r=bryner, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@158815 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 00:58:57 +00:00