3934 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
a4e3a2f2d4 Fix crash regression from style reresolution landing. Bug 255153, r+sr=dbaron,
a=asa


git-svn-id: svn://10.0.0.236/trunk@160704 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-12 05:05:05 +00:00
peterv%propagandism.org
0e7c4437e6 Backout part of the fix for bug 27382 to try to undo Tp regression.
git-svn-id: svn://10.0.0.236/trunk@160611 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 16:16:58 +00:00
peterv%propagandism.org
ca3bbc8275 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
bzbarsky%mit.edu
bc3dc7ebe0 Do style reresolves and restyles due to attribute changes asynchronously so
that pages that modify two or more style properties of the same object in a row
work faster.  Bug 230170, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@160587 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 03:24:41 +00:00
dbaron%dbaron.org
dda1e6cda9 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
tor%cs.brown.edu
20578e63ca Bug 234789 - SVG text ignores font-size if no unit specified.
Patch by scootermorris@comcast.net, r=tor, sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@160579 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 00:02:47 +00:00
bzbarsky%mit.edu
3cc4b48f61 Make nsHTMLSelectElement::GetOptionIndex be faster and less COM-happy. Bug
254373, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@160479 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-07 18:05:05 +00:00
darin%meer.net
af6e1f6a92 fixing win32 debug bustage
git-svn-id: svn://10.0.0.236/trunk@160457 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-06 19:48:04 +00:00
darin%meer.net
8c48fd6972 fixing win32 debug bustage; we really need a debug tinderbox!!
git-svn-id: svn://10.0.0.236/trunk@160456 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-06 19:42:47 +00:00
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