Commit Graph

2246 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
7f1e54b18d Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
abcad1dc39 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
bzbarsky%mit.edu
ba3fb994fa Use a reflow (without forced repaint) hint for position struct changes. Bug
243882, r+sr=roc
2004-05-22 05:50:12 +00:00
bzbarsky%mit.edu
dd9db43d16 Fix permissions check for CSS background images, again. Bug 243948, patch by
mvl@exedo.nl, r+sr=bzbarsky
2004-05-19 04:22:05 +00:00
bzbarsky%mit.edu
4ebe94aa34 Fix serialization of selectors when namespaces are around to be smarter; fix
serialization of pseudo-elements to prepend '*' as needed.  Bug 173586,
r=glazou, sr=roc
2004-05-18 02:42:13 +00:00
bzbarsky%mit.edu
6440f76be7 Instead of setting inline style for every text input's anonymous div, have a
rule in forms.css to set the style.  Bug 243588, r+sr=dbaron
2004-05-15 05:09:37 +00:00
mvl%exedo.nl
7968f4a79b Didn't mean to check this in just yet 2004-05-13 20:09:10 +00:00
mvl%exedo.nl
fc48c463fc Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
bryner%brianryner.com
2683530f86 nsCSSValue::Reset does not seem to be inlined with -Os, so adding NS_HIDDEN here as well. 2004-05-13 17:09:20 +00:00
bryner%brianryner.com
13638907d1 Apply NS_HIDDEN to nsCSSValue, nsRuleNode, and nsStyleContext based on profiling data showing that these functions have very high call counts. Bug 227537, r+sr=dbaron. 2004-05-12 21:20:09 +00:00
bzbarsky%mit.edu
91ee37756f Remove 'text-align:-moz-initial;' from UA CSS. Bug 86462, patch by Anne van
Kesteren <bug@annevankesteren.nl>, r+sr=dbaron
2004-05-11 18:32:38 +00:00
bzbarsky%mit.edu
8a13d9b159 Let pages set explicit line-height on textarea if they want to. Bug 243100, r+sr=dbaron 2004-05-09 19:42:53 +00:00
jst%mozilla.jstenback.com
99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
caillon%redhat.com
2794a9ea25 We need to also copy over mAppearance in the nsCSSDisplay copy constructor
r+sr=bzbarsky via irc; no bug.
2004-05-07 20:41:38 +00:00
caillon%redhat.com
56b3fc7a8c Remove '-moz-resizer' from the style system.
Bug 242712. r+sr=dbaron
2004-05-05 21:37:32 +00:00
bzbarsky%mit.edu
d5673f0fd9 Add and use some convenience functions on nsCSSRect. Bug 208731, r+sr=dbaron 2004-05-05 00:43:50 +00:00
bzbarsky%mit.edu
32a4619a53 Move presentation attributes into the UA level in non-HTML documents and a
separate preshint level in HTML.  Bug 234861, r=dbaron, sr=jst
2004-05-05 00:30:57 +00:00
bzbarsky%mit.edu
044950f9e0 Blink changes need to reflow. Bug 236897, r+sr=dbaron 2004-05-02 04:51:08 +00:00
bzbarsky%mit.edu
d4e34b3a9b Don't allow text in a combobox to wrap. Bug 206937, r+sr=dbaron 2004-04-22 22:20:29 +00:00
bzbarsky%mit.edu
e127bbbcc5 Fix HasAttributeDependentStyle to not assume that class and ID attributes are
named "class" and "id".  Bug 240766, r+sr=dbaron
2004-04-20 19:48:20 +00:00
neil%parkwaycc.co.uk
c27485ffcc Bug 240562 Remove unused variable p=gautheri@noos.fr r=glazou sr=roc 2004-04-19 22:31:12 +00:00
bzbarsky%mit.edu
241afa342c Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
r+sr=dbaron
2004-04-18 20:10:09 +00:00
bmlk%gmx.de
05b675f299 remove table background quirk use standards painting instead bug 237078 patch by fantasai@escape.com r=bernd sr=dbaron
crash prevention when colframes return bogus colindices bug 240854 r/sr=bzbarsky
2004-04-18 18:17:00 +00:00
gerv%gerv.net
708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
gerv%gerv.net
f534a92d25 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 13:54:27 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
varga%nixcorp.com
2cd056deb1 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2004-04-17 05:53:38 +00:00
darin%meer.net
c083b41820 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
dbaron%dbaron.org
b4a859050c Give an initial value for the 'quotes' property in the UA stylesheet. b=24861 r+sr=bzbarsky 2004-04-14 20:13:44 +00:00
bryner%brianryner.com
0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
dbaron%dbaron.org
4d12ed012a De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner 2004-04-12 21:56:09 +00:00
dbaron%dbaron.org
90369f8699 Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky 2004-04-12 21:54:45 +00:00
dbaron%dbaron.org
fcaa82359f Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861 2004-04-12 21:53:22 +00:00
caillon%redhat.com
4253baf71c 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
2004-04-10 05:08:02 +00:00
dbaron%dbaron.org
4f07446903 Add -moz- prefix to :first-node and :last-node. b=141397 r+sr=bzbarsky a=chofmann 2004-04-07 23:25:06 +00:00
cbiesinger%web.de
62c0ebeb4a Bug 167224 Cleanup marquee
patch bv doron r=neil sr=bryner a=tor
2004-04-07 19:48:11 +00:00
bzbarsky%mit.edu
13dc070af1 Fix more bustage. Bug 239079. I wish gcc would at least warn on this or
something instead of merrily compiling it....
2004-04-03 19:01:38 +00:00
bzbarsky%mit.edu
83a86441a7 Fixing debug build bustage. Bug 239079. 2004-04-03 17:47:26 +00:00
bzbarsky%mit.edu
48dd7f1243 Fix ID selector parsing to check for a valid identifier. Bug 239079,
r+sr=dbaron, a=chofmann
2004-04-03 17:18:45 +00:00
darin%meer.net
6b03adea42 landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron 2004-04-01 19:44:17 +00:00
bzbarsky%mit.edu
809c099e33 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
2004-03-29 16:00:38 +00:00
bsmedberg%covad.net
3ceaebd710 Re-landing bug 237407 with crash-fix. r/sr=dbaron+brendan a=asa+mkaply 2004-03-23 18:26:43 +00:00
bsmedberg%covad.net
ac244f2a9c Backing out bug 237407 because of tbox orange that I can't easily diagnose. 2004-03-22 15:03:32 +00:00
bsmedberg%covad.net
4cee40678e Bug 237407 - classic theme scrollbars & buttons leak into modern, when starting with the profile manager - r+sr=dbaron a=asa for 1.7 2004-03-22 12:58:01 +00:00
dbaron%dbaron.org
d0283a6ab9 Use correct 'vertical-align' for XHTML tables without tbody. b=237860 r=bernd sr=roc a=chofmann 2004-03-19 01:34:47 +00:00
dbaron%dbaron.org
8461a47da2 Tweak nsRuleNode::GetStyleData and GetParentData and annotate with NS_LIKELY and NS_UNLIKELY. b=237042 r+sr=bzbarsky a=chofmann 2004-03-14 17:11:38 +00:00
alex.fritze%crocodile-clips.com
33a5da4fc1 debug build bustage fix (bug#237169). r/sr=peterv 2004-03-12 11:17:38 +00:00
dbaron%dbaron.org
41c16857c2 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
bzbarsky%mit.edu
655abf48ad Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron 2004-03-09 23:22:02 +00:00
bsmedberg%covad.net
255960bb10 Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz 2004-03-09 19:59:09 +00:00
bmlk%gmx.de
ea9e726b8b implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron 2004-03-09 06:48:35 +00:00
bzbarsky%mit.edu
26e1b4c6ec Fixing build bustage. 2004-03-09 04:28:14 +00:00
bzbarsky%mit.edu
134fed8856 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
2004-03-09 03:57:51 +00:00
dbaron%dbaron.org
7531bc934d Fix bogus assertion. r+sr=bryner 2004-03-09 00:52:54 +00:00
varga%nixcorp.com
491c58de08 Fix for bug 234740. <fieldset> default view is nicer under IE
r+sr=dbaron patch by aha
2004-03-08 20:57:31 +00:00
dbaron%dbaron.org
a609dc7c11 Fix badly delimited comment from previous patch. b=236202 2004-03-08 14:15:32 +00:00
hpradhan%hotpop.com
98daacd558 bug 236202 : caption should inherit all font properties in quirks mode r=bernd sr=dbaron 2004-03-08 07:57:16 +00:00
chanial%noos.fr
8b16e11d1f Bug 118296: implement NS_THEME_MENUBAR, NS_THEME_TOOLBAR, NS_THEME_MENUPOPUP and NS_THEME_MENUITEM (GTK2)
r=bryner, sr=roc
2004-03-04 04:55:31 +00:00
roc+%cs.cmu.edu
dd193ec2ee Bug 215567. Make 'auto' bottom/right in clip rects give the rect NS_MAXSIZE so we don't think a cliprect is empty when it isn't. 2004-03-03 03:34:03 +00:00
darin%meer.net
c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bryner%brianryner.com
ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bryner%brianryner.com
c3ab816242 Trivial change to not run the nsFont default ctor here. r+sr=dbaron. 2004-02-25 23:15:11 +00:00
dbaron%dbaron.org
f016bec80e Improve comments and function names related to attribute mapping and HasAttributeDependentStyle. b=235342 r+sr=jst 2004-02-25 21:04:50 +00:00
sicking%bigfoot.com
17ca2df349 Bug 232016: Kill SetHTMLAttribute and do minor cleanups in .foo -> set/getAttribute("foo") mapping code.
r=peterv sr=jst
2004-02-24 23:55:18 +00:00
mkaply%us.ibm.com
7a20037260 #234412
r=pedemont, sr=dbaron
Add divide by zero check to rulenode
2004-02-24 23:15:18 +00:00
dbaron%dbaron.org
7734c4c4c4 Attempt to fix Windows bustage. 2004-02-24 07:37:36 +00:00
dbaron%dbaron.org
eafdebc6f0 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 2004-02-24 06:48:25 +00:00
bryner%brianryner.com
5f7a8b383e Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
darin%meer.net
05c39fbe7d bustage fix r=dbaron 2004-02-19 21:01:29 +00:00
dbaron%dbaron.org
7ba1fa93f2 Fix up quirk.css for bidi as well. b=74880 r=fantasai sr=bzbarsky 2004-02-19 18:21:16 +00:00
dbaron%dbaron.org
d1078e6485 Replaced elements should not support generated content. b=169334 r+sr=bzbarsky 2004-02-19 18:04:15 +00:00
dbaron%dbaron.org
43ca4b48b9 Convert switch in nsCSSProps::LookupPropertyValue to use a table by adding to the CSS_PROP_* macros. b=208726 r+sr=bzbarsky 2004-02-19 18:02:20 +00:00
darin%meer.net
8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com
92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
dbaron%dbaron.org
952d32ee39 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
dbaron%dbaron.org
a52a065fe2 Fix one more out-of-bounds access to gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:43:50 +00:00
dbaron%dbaron.org
456b60e585 Fix another case of out-of-bounds access of gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:22:47 +00:00
dbaron%dbaron.org
49aa2c0ab9 Fix crashes caused by out-of-bounds access to gLexTable and some other bugs. b=233399 r+sr=bzbarsky 2004-02-08 07:29:42 +00:00
alex.fritze%crocodile-clips.com
5c676d4a47 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
dbaron%dbaron.org
7eed40eacb Improve serialization of new margin/padding properties (and fix CSS parsing errors). b=74880 r+sr=bzbarsky 2004-02-05 00:19:19 +00:00
dbaron%dbaron.org
8339f01ba5 Relanding changes for bug 74880. 2004-02-04 08:16:19 +00:00
dbaron%dbaron.org
9ecdb39d54 Backing out part of changes to see which part is causing performance problem. b=74880 2004-02-04 08:03:40 +00:00
dbaron%dbaron.org
474bdc807e 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 2004-02-04 06:10:56 +00:00
neil%parkwaycc.co.uk
fecf778c64 Bug 232545 fix marquee regression caused by xbl content sink change r=doron sr=bz 2004-02-03 16:46:20 +00:00
bryner%brianryner.com
4f69ec2c2e Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
bryner%brianryner.com
42adb9f1be 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 2004-02-01 10:09:07 +00:00
bryner%brianryner.com
08f53379c4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
jst%mozilla.jstenback.com
90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bryner%brianryner.com
bc74f0b352 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. 2004-01-28 00:18:22 +00:00
sicking%bigfoot.com
1152b3d656 More bug 195350 work: Make html use new nsAttrAndChildArray class.
r=caillon sr=jst
2004-01-26 19:22:05 +00:00
dbaron%dbaron.org
f3af1a7aef Fix two problems with display fixups. b=231787 r+sr=bzbarsky 2004-01-22 21:34:04 +00:00
bryner%brianryner.com
23ecb8ff4e DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron. 2004-01-21 23:05:10 +00:00
bryner%brianryner.com
ef5c330583 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2004-01-21 09:35:59 +00:00
peterv%propagandism.org
379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
caillon%returnzero.com
619d905d92 Bug 230976.
Use atoms for common default values in nsComputedDOMStyle to avoid string duplication.
r+sr=bzbarsky
2004-01-18 02:42:27 +00:00
dbaron%dbaron.org
aa4d378d63 Fix parsing of 'cursor' property and ignoring of uri() values, which we don't support. b=77974 r+sr=bzbarsky 2004-01-18 01:12:58 +00:00
bzbarsky%mit.edu
498627aad7 Handle two-':' forms of pseudo-elts. Bug 128482, r=caillon, sr=jst 2004-01-17 20:04:26 +00:00
caillon%returnzero.com
3b526b4352 Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron 2004-01-15 22:06:39 +00:00
dbaron%dbaron.org
b8ca5986ed Remove bogus assertion (decl should be null for elt.style, if there's no style attribute). r+sr=bzbarsky 2004-01-15 21:00:35 +00:00
bryner%brianryner.com
072b7160a8 Consolidate SetEnabled and SetDisabled; make sure both of them clear the rule cascade on the rule processors. Bug 230651, r+sr=bzbarsky. 2004-01-15 03:26:56 +00:00
dbaron%dbaron.org
9e6a8ccd41 Add support for -moz-image-region to getComputedStyle. b=220717 r=bzbarsky sr=ben 2004-01-15 02:25:08 +00:00
dbaron%dbaron.org
8c4b7fe415 Fix copy constructor so -moz-image-region inherits correctly. b=220717 r=bzbarsky sr=ben 2004-01-15 02:24:17 +00:00
dbaron%dbaron.org
7c0fd2338b Implement CSS3 indirect adjacent sibling combinator (~). Roughly identical patches independently written by Daniel Glazman <daniel@glazman.org>, Bradley Baetz <bbaetz@acm.org>, and me. r+sr=dbaron b=135141 2004-01-14 20:12:03 +00:00
dbaron%dbaron.org
d33950dfac Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky 2004-01-14 01:36:35 +00:00
bzbarsky%mit.edu
8093efd14c Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bzbarsky%mit.edu
15a648ab14 Make pretty-printing stylesheets force UTF-8 for themselves. Update charset
stuff in CSSLoader to look at the parent sheet charset and use NSPR logging.
Bug 230660, r=sicking, sr=peterv
2004-01-13 19:01:26 +00:00
bryner%brianryner.com
6996bca809 Don't create new rule processors when a style sheet is enabled or disabled, just clear the rule cascade on the existing processors. Bug 230651, r=dbaron, sr=bzbarsky. 2004-01-13 02:19:28 +00:00
bzbarsky%mit.edu
04b733ce1c Don't allow pseudos that are supposed to be functions to pass through as ident
tokens.  Bug 230704, r+sr=dbaron
2004-01-12 23:56:18 +00:00
bzbarsky%mit.edu
f2c4812c7e Argh. Forgot to remove a tab. 2004-01-12 23:55:30 +00:00
bzbarsky%mit.edu
34d04cee4a Don't apply document rules to anonymous content inside the marquee. Bug
159747, r+sr=dbaron
2004-01-12 23:44:51 +00:00
bzbarsky%mit.edu
bc704c519e Fix regression bug 230620. r+sr=dbaron 2004-01-11 22:03:41 +00:00
bzbarsky%mit.edu
1730b82b19 Don't use HTML rules to parse (redundantly) media strings in CSS @import
rules.  Bug 153755, r+sr=dbaron
2004-01-10 02:27:41 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu
3bfe589ac4 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu
e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
cbiesinger%web.de
e6c5b5084d bug 230343, support CSS2.1 cursor:progress
r+sr=dbaron
2004-01-08 21:27:56 +00:00
bryner%brianryner.com
16be23821e Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
bryner%brianryner.com
e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
bzbarsky%mit.edu
bba32c2126 Make AdjustComputedWidth/Height take a boolean that tells it whether to account
for box-sizing; sometimes we don't want to.  Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
dbaron%dbaron.org
0f9e71d4a6 Fix two case-sensitivity issues with attribute selectors. b=229172 Patch from Gilles Durys <mozbug@durys.net>. r+sr=dbaron 2003-12-30 17:58:17 +00:00
dbaron%dbaron.org
40deca4b2f Remove no-longer-needed hook for inspector. b=224164 2003-12-29 19:17:22 +00:00
dbaron%dbaron.org
44b9fdaacb Fix overuse of inlining in nsCSSValue. r=bryner b=224165 2003-12-29 19:07:53 +00:00
dbaron%dbaron.org
5bd21833b4 Add a correct comment. 2003-12-29 16:39:50 +00:00
bryner%brianryner.com
d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com
dfe3513814 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. 2003-12-21 05:36:36 +00:00
bmlk%gmx.de
a7b7022a68 remove old hack that breaks table abs. positioning, bug 145572 r/sr=dbaron 2003-12-19 19:19:52 +00:00
bzbarsky%mit.edu
567e341b75 Make sure to reframe when the "rules" attribute changes, since tables cache all
sorts of border-collapse stuff across reflows.  Bug 226593, r=bernd, sr=dbaron,
a=brendan
2003-12-04 06:26:15 +00:00
dbaron%dbaron.org
5803e6024c Fix problems when using generic font when the parent font is not generic but the closest ancestor with a generic font used the same generic. Miscellaneous cleanup. b=226871 r+sr=bzbarsky a=brendan 2003-12-02 22:24:32 +00:00
dbaron%dbaron.org
a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
jst%mozilla.jstenback.com
4183787fa9 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. 2003-11-19 01:20:56 +00:00
dbaron%dbaron.org
fa64c454c5 Scale fixed line-heights when the minimum font size pref kicks in. b=158868 r+sr=bzbarsky 2003-11-18 05:53:22 +00:00
dbaron%dbaron.org
0851395ebe Remove unneeded chromeOverride variable. b=225936 r+sr=bzbarsky 2003-11-17 04:10:55 +00:00
bzbarsky%mit.edu
a31bf95054 Fix serialization of inherit/initial nsCSSRect values. Bug 225841, r+sr=dbaron 2003-11-16 02:06:38 +00:00
bzbarsky%mit.edu
a491833633 -moz-initial, not initial. Use CSS keyword table to prevent this happening
again.  Bug 120903, r+sr=dbaron
2003-11-16 01:12:50 +00:00
bzbarsky%mit.edu
0345e33456 Set text-indent:0 on all form controls to keep it from inheriting down to the
anonymous blocks inside.  Bug 56253, r+sr=dbaron
2003-11-14 23:00:56 +00:00
bzbarsky%mit.edu
d45f5c0447 Don't reframe when "float: left" changes to "float: right"; just reflow. Bug
55967, r+sr=dbaron
2003-11-14 22:55:46 +00:00
dbaron%dbaron.org
748a5e9749 Make aErrorCode values nsresult, since that's what they are. Remove obsolete handling of -1 for EOF and now-obsolete TODO list. b=224254 r+sr=bzbarsky 2003-11-13 22:48:05 +00:00
bzbarsky%mit.edu
38703b7a11 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?
2003-11-09 07:40:09 +00:00
bzbarsky%mit.edu
f61bfe9a35 Fix parsing regression bug 224737. Patch by mats.palmgren@bredband.net (Mats
Palmgren), r+sr=bzbarsky
2003-11-05 04:51:17 +00:00
bzbarsky%mit.edu
35a384e555 Correctly ignore adjacent type selectors with no combinator. Bug 224188,
r+sr=dbaron
2003-11-04 03:16:10 +00:00
dbaron%dbaron.org
c25969ae98 Clamp -moz-opacity to the range [0.0,1.0]. b=224478 r+sr=roc 2003-11-02 22:40:43 +00:00
uid502
91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
peter%propagandism.org
f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502
d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
dbaron%dbaron.org
76a2fc58c8 Backing out previous checkin. 2003-10-30 05:11:21 +00:00
dbaron%dbaron.org
2da0107bd9 Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner 2003-10-30 04:34:01 +00:00
dbaron%dbaron.org
f9e4a941cf Attempt to fix Windows bustage. b=167262 2003-10-30 03:34:58 +00:00
caillon%returnzero.com
150adb2e29 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00