Commit Graph

3794 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
5577133073 Remove GenericElementCollection; convert consumers to nsContentList for extra
lazy goodness.  Bug 76994, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@154850 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 04:26:00 +00:00
bzbarsky%mit.edu
c2c4cce304 Make sure to apply our styles to our anonymous content no matter what the
page's style language is.  Bug 234761, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@154840 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 02:05:52 +00:00
jst%mozilla.jstenback.com
0a001bb675 Fixing bug 240321. Making XHTML documents default to UTF8 in stead of trying to autodetect or what not. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@154832 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 22:28:16 +00:00
sicking%bigfoot.com
21d51f7bdf Bug 236479: Kill nsMappedAttributes::GetAttribute.
Patch by Wladimir Palant (trev@gtchat.de)

r=sicking sr=jst


git-svn-id: svn://10.0.0.236/trunk@154800 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 16:45:59 +00:00
jst%mozilla.jstenback.com
11e4581e68 Fixing bug 239953. Remove duplicated code in nsContentUtils. r=jonas@sicking.cc, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@154766 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:21:50 +00:00
jst%mozilla.jstenback.com
f39d004081 Fixing bug 240122. Making the document.body setter do the right thing, and be faster and less bloaty. Also deCOMtaminate accesskey code in nsGenericHTMLElement. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@154727 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 23:30:01 +00:00
sicking%bigfoot.com
e4632ed495 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
bzbarsky%mit.edu
5cdb46f69f Make <frame> elements own their own content viewer/docshell/dom like iframes
already do.  Refactors some code the two shared into a superclass.  Bug 170588,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@154722 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:47:24 +00:00
sicking%bigfoot.com
49a4f6901b Bug 236873: Let more elements share classes to save codesize.
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@154716 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:25:17 +00:00
dbaron%dbaron.org
a12a464f6d De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@154709 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:56:09 +00:00
dbaron%dbaron.org
ab7ff079ea Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@154708 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:54:45 +00:00
caillon%redhat.com
9a4301e0e0 Bug 219829
Allow mixing length and percentage values with keyword values for the background-position property, which is now allowed per section 14.2.1 of CSS 2.1
r+sr=dbaron
a=asa


git-svn-id: svn://10.0.0.236/trunk@154666 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-10 05:08:02 +00:00
bzbarsky%mit.edu
0614919e63 Fix handling of deleteRow(-1) by table sections (bring it in line with what
tables do).  Bug 239566, r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@154650 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-09 21:05:27 +00:00
bzbarsky%mit.edu
718d29fca7 Cloned script nodes should not reexecute the script. Bug 127016, r=sicking,
sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@154649 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-09 21:04:25 +00:00
bzbarsky%mit.edu
3f597c2555 Fix more bustage. Bug 239079. I wish gcc would at least warn on this or
something instead of merrily compiling it....


git-svn-id: svn://10.0.0.236/trunk@154494 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 19:01:38 +00:00
bzbarsky%mit.edu
f3dfc01adb Fixing debug build bustage. Bug 239079.
git-svn-id: svn://10.0.0.236/trunk@154490 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 17:47:26 +00:00
bzbarsky%mit.edu
668e1489b3 Fix ID selector parsing to check for a valid identifier. Bug 239079,
r+sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@154486 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 17:18:45 +00:00
darin%meer.net
b9dcb1f1b3 landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron
git-svn-id: svn://10.0.0.236/trunk@154430 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 19:44:17 +00:00
bzbarsky%mit.edu
5b4b900924 Make enter on file inputs submit form. Bug 111689, r+sr=jst, a=choffman
git-svn-id: svn://10.0.0.236/trunk@154422 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 00:56:58 +00:00
bzbarsky%mit.edu
5e5b20a522 Fix possible crash due to misuse of nsCOMPtr. Bug 238005, r=caillon,
sr=peterv, a=asa


git-svn-id: svn://10.0.0.236/trunk@154406 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-31 15:15:59 +00:00
bzbarsky%mit.edu
4681cee324 Fix bug 236921. This makes the root node's style context have no parent, makes
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root.  r=caillon, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@154362 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-29 16:00:38 +00:00
brade%comcast.net
bd35822cb0 fix for bug 237103; implement QueryCommandIndeterm; patch by Alexandre Trémon; r=brade, sr=jst; a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154106 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-19 14:17:51 +00:00
dbaron%dbaron.org
cd79e33eb4 Prevent a label's for content from being another label (or itself), which can lead to crashes. b=237357 Patch from Rene Pronk <r.pronk@its.tudelft.nl>. sr=dbaron r=jst a=chofmann
git-svn-id: svn://10.0.0.236/trunk@153992 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 22:28:41 +00:00
bzbarsky%mit.edu
cbdfbe8977 Make sure that the document -> node -> imgRequest -> channel -> listener ->
document cycle is always broken OnStopRequest.  Bug 237153, r+sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@153962 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-14 18:20:38 +00:00
alex.fritze%crocodile-clips.com
a5d4669641 debug build bustage fix (bug#237169). r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@153907 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 11:17:38 +00:00
dbaron%dbaron.org
1a94650e48 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
git-svn-id: svn://10.0.0.236/trunk@153898 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 04:40:17 +00:00
sicking%bigfoot.com
287fa86b0f Bug 237071: Make height-attribute on tr-elements work again.
r/sr=jst a=dbaron


git-svn-id: svn://10.0.0.236/trunk@153886 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 23:38:58 +00:00
bzbarsky%mit.edu
ad8c243c1e Fix leak when a window holding an image document is closed before the image
finishes loading.  Bug 237153, r+sr=jst, a=race between dbaron and brendan.


git-svn-id: svn://10.0.0.236/trunk@153874 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 20:47:51 +00:00
sicking%bigfoot.com
828fb76b7d Bug 237071: Make start-attribute on ol-elements work again.
r/sr=jst a=tor


git-svn-id: svn://10.0.0.236/trunk@153873 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 20:13:25 +00:00
bzbarsky%mit.edu
8de1fe9d5a Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153777 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 23:22:02 +00:00
bzbarsky%mit.edu
7061c8bb4a Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@153728 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 04:28:14 +00:00
bzbarsky%mit.edu
e7ad4f7000 Load background images from style instead of from painting. This makes us
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time.  Bug
57607, r=pavlov, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
dbaron%dbaron.org
2a3ff63e99 Fix bogus assertion. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@153713 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 00:52:54 +00:00
sicking%bigfoot.com
611753ba16 Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@153597 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 00:22:03 +00:00
sicking%bigfoot.com
600f8acfd4 Bug 236612: Kill nsGenericContainerElement.
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@153595 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-05 23:13:50 +00:00
sicking%bigfoot.com
df5c4550c7 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@153529 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 18:30:53 +00:00
sicking%bigfoot.com
f05e9b4f7b Bug 236472: Fix 3 warnings.
r/sr=tor


git-svn-id: svn://10.0.0.236/trunk@153528 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 18:04:29 +00:00
sicking%bigfoot.com
e6ebd57853 Bustage fix from previous patch.
git-svn-id: svn://10.0.0.236/trunk@153514 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 03:26:38 +00:00
sicking%bigfoot.com
916d4d2248 Bug 75659: Make charoff support percent values in DOM. (charoff isn't supported yet by layout).
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@153511 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 02:18:44 +00:00
sicking%bigfoot.com
d706565d96 Bug 232706: Make nsAttrValue able to directly store all needed datatypes without using nsHTMLValue. Move parsing of various types from nsHTMLValue to nsAttrValue. Rename StringToAttribute to ParseAttribute and make it return a PRBool, as well as make a couple of minor fixes in the ParseAttribute code.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@153510 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 02:06:28 +00:00
bzbarsky%mit.edu
ee0a2e7a8a Move CreateCDATASection, CreateProcessingInstruction, and CreateEntityReference
up to nsDocument so they're available in XHTML documents.  Bug 69840, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@153443 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 22:39:46 +00:00
sicking%bigfoot.com
ea7221b591 Remove unused file.
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@153430 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 16:49:17 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
bryner%brianryner.com
62dee43850 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu
c56966d7bb Make Click() work on image inputs. Bug 96595, patch by basic@mozillanews.org,
r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@153305 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-26 23:01:45 +00:00
dbaron%dbaron.org
12c3f84553 Improve comments and function names related to attribute mapping and HasAttributeDependentStyle. b=235342 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153235 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 21:04:50 +00:00
sicking%bigfoot.com
d0464befea Bug 232016: Kill SetHTMLAttribute and do minor cleanups in .foo -> set/getAttribute("foo") mapping code.
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@153183 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 23:55:18 +00:00
dbaron%dbaron.org
dafe525b26 Change -moz-opacity to opacity. Create a mechanism for creating a second name for a CSS property and continue to support -moz-opacity. b=93156 r=bzbarsky sr=roc
git-svn-id: svn://10.0.0.236/trunk@153148 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 06:48:25 +00:00
bzbarsky%mit.edu
02b018ef84 Don't error out of sending empty file inputs on MacOS. Bug 199053, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153132 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 02:54:12 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00