1602 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
44185c6657 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bmlk%gmx.de
bc6dd3a017 implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
git-svn-id: svn://10.0.0.236/trunk@153736 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 06:48:35 +00:00
varga%nixcorp.com
d7c38982c0 Fix for bug 234740. <fieldset> default view is nicer under IE
r+sr=dbaron patch by aha


git-svn-id: svn://10.0.0.236/trunk@153700 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 20:57:31 +00:00
dbaron%dbaron.org
4a13b518b3 Fix badly delimited comment from previous patch. b=236202
git-svn-id: svn://10.0.0.236/trunk@153686 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 14:15:32 +00:00
hpradhan%hotpop.com
316b0a826c bug 236202 : caption should inherit all font properties in quirks mode r=bernd sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153671 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 07:57:16 +00:00
pinkerton%aol.net
a0e4ce1cf3 force selects to ltr so they display correctly, as mac widgets aren't set up
to draw rtl like gecko expects. (bug 154632, r=bryner). not part of build.


git-svn-id: svn://10.0.0.236/trunk@153588 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-05 21:14:59 +00:00
bryner%brianryner.com
4b70febae6 inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +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
pinkerton%aol.net
8d3b312ac0 selects should be transparent since the OS draws a nice gradient over them
and we don't want mozilla filling the rect itself (not part of build)


git-svn-id: svn://10.0.0.236/trunk@152965 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 21:43:07 +00:00
dbaron%dbaron.org
20ee8e596f Fix up quirk.css for bidi as well. b=74880 r=fantasai sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152947 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:21:16 +00:00
dbaron%dbaron.org
6dd1e040bf Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152945 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:04:15 +00:00
pinkerton%aol.net
e87c93ac3b don't make textfield or select bg's transparent so that when pages want to
style the text widget themselves, we don't pick up the bg color and end
up with unreadable text.
text


git-svn-id: svn://10.0.0.236/trunk@152833 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-17 01:50:06 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
sicking%bigfoot.com
26c9ab7b2b Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@152623 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 00:38:12 +00:00
dbaron%dbaron.org
6b800e75e5 Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152274 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 06:10:56 +00:00
neil%parkwaycc.co.uk
06f91367a1 Bug 232545 fix marquee regression caused by xbl content sink change r=doron sr=bz
git-svn-id: svn://10.0.0.236/trunk@152223 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 16:46:20 +00:00
pinkerton%aol.net
add356d46e fix up a bunch of issues with disabled items, borders and minwidth on buttons
(bug 228499, not part of build)


git-svn-id: svn://10.0.0.236/trunk@152194 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 02:17:36 +00:00
bryner%brianryner.com
018aeefc0d More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
bsmedberg%covad.net
824286124d Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
git-svn-id: svn://10.0.0.236/trunk@151994 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:45:17 +00:00
bryner%brianryner.com
e46f7c8143 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +00:00
pinkerton%aol.net
3158dc0d6b fix up margins and min sizes so small buttons don't look so bad (bug 228499, notpart of seamonkey build)
git-svn-id: svn://10.0.0.236/trunk@151707 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 21:04:34 +00:00
bzbarsky%mit.edu
f8e33bbd0d Argh. Forgot to remove a tab.
git-svn-id: svn://10.0.0.236/trunk@151229 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 23:55:30 +00:00
bzbarsky%mit.edu
e3246b8549 Don't apply document rules to anonymous content inside the marquee. Bug
159747, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@151227 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 23:44:51 +00:00
roc+%cs.cmu.edu
986d8acdaa Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151139 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 05:36:32 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
bmlk%gmx.de
c804864925 remove old hack that breaks table abs. positioning, bug 145572 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@150523 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 19:19:52 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
bzbarsky%mit.edu
4c0aeaa73b Set text-indent:0 on all form controls to keep it from inheriting down to the
anonymous blocks inside.  Bug 56253, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@149323 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 23:00:56 +00:00
bzbarsky%mit.edu
0c68306303 Fix bug 101320 -- padding on small border-box sizing things with non-auto
widths is not a good idea.  Very old patch by rods, r=bzbarsky (now),
sr=attinasi (then).  Did I mention this patch is old?


git-svn-id: svn://10.0.0.236/trunk@149061 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 07:40:09 +00:00
tor%cs.brown.edu
2655f63ca9 Bug 224628 - backout part of 212366 so that scrolling=no works. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@148834 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 15:50:09 +00:00
uid502
d31f6d57f4 Bug 212366. Make nsFrameInnerFrame be a moz-anonymous-box pseudoelement. This stops style on an IFRAME from being applied to both the outerframe and the innerframe. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148674 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 01:34:06 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
uid502
f97b0819f2 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148055 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 02:38:37 +00:00
bzbarsky%mit.edu
3e2e83624b Create a mozAutoDocUpdate class to handle automatically calling
BeginUpdate/EndUpdate on documents.  Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns.  Bug 131775, also fixes
bug 211022, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@148033 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 18:14:25 +00:00
bzbarsky%mit.edu
d43d8c0e1e Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.


git-svn-id: svn://10.0.0.236/trunk@147979 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 01:56:12 +00:00
uid502
6b34cca104 Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147868 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 12:00:05 +00:00
bsmedberg%covad.net
2fb097b78d Further cleanup from bug 179834 r=dougt sr=darin. This shouldn't affect anything, because neither OS/2 nor Mac are using a GRE yet.
git-svn-id: svn://10.0.0.236/trunk@147619 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 12:17:26 +00:00
bzbarsky%mit.edu
62c2420626 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@147516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 21:29:40 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
0f24116727 Make <select size="0"> act like <select size="1">, and some tweaks to make
<select size="1" multiple> work better.  Bug 182681, patch idea from
the_great_spam_bin@yahoo.com (Ari), r=bryner, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147287 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 05:44:51 +00:00
dbaron%dbaron.org
7f83c6facc Fix regression of scrolling attribute and overflow property on frame and iframe elements. Make the two interact correctly according to CSS cascading rules. b=220195 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147278 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 03:55:04 +00:00
uid502
e9d6a45b46 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
dbaron%dbaron.org
9fad2f3af5 Allow list numbering to work on elements with 'overflow'. b=219716 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147122 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-22 22:07:48 +00:00
dbaron%dbaron.org
c997dd0ad0 Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@146973 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 22:09:18 +00:00
caillon%returnzero.com
c62a2e966e Bug 215042 - frame source is not shown
Patch from bzbarsky@mit.edu
r+sr=roc@ocallahan.org


git-svn-id: svn://10.0.0.236/trunk@146847 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 19:42:43 +00:00
bsmedberg%covad.net
1b71e7ac3e Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
git-svn-id: svn://10.0.0.236/trunk@146844 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:55:56 +00:00
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
caillon%returnzero.com
c8612ff038 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
82c14d79dd DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00