Граф коммитов

2394 Коммитов

Автор SHA1 Сообщение Дата
mats.palmgren%bredband.net 3e2069ac91 Allow styling of SELECT border. b=244370 r+sr=bzbarsky 2004-09-15 21:17:37 +00:00
dbaron%dbaron.org 5f62984111 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky 2004-09-14 17:26:35 +00:00
dbaron%dbaron.org 6ea0c7fb7f Fix VC7 bustage. b=258793 2004-09-13 20:40:46 +00:00
dbaron%dbaron.org 02e5799687 The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc 2004-09-13 05:39:27 +00:00
mats.palmgren%bredband.net 8c869781e3 Make 'letter-spacing' take effect in file input control. b=252863 r=bzbarsky sr=dbaron 2004-09-12 22:46:56 +00:00
dbaron%dbaron.org 34f9012e66 Backing out bug 167001, which I should not have reviewed without more careful consideration. 2004-09-12 19:32:50 +00:00
mats.palmgren%bredband.net 14b5343acd Add CSS3 cursors, bug 163174, r=lordpixel@mac.com r=pinkerton@aol.net sr=dbaron@dbaron.org 2004-09-11 23:24:30 +00:00
bmlk%gmx.de 002c0c28fc changing the border-collapse mode needs to cause a reframe as we have two different types of cellframes depending on the mode, bug 254053 idea=bz, r/sr=dbaron 2004-09-11 06:13:47 +00:00
smontagu%smontagu.org c86afdf533 Bug 167001, Anything below the baseline goes out of input field. Patch by Masayuki Nakano, masayuki@d-toybox.com; r+sr=dbaron. 2004-09-11 05:44:33 +00:00
dbaron%dbaron.org 2afd699c4e Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky 2004-09-10 23:31:48 +00:00
dbaron%dbaron.org a095f39235 Fix DEBUG bustage. b=255538 2004-09-10 09:31:10 +00:00
dbaron%dbaron.org 96c0e36f4e Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu df42e726bc Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
bzbarsky%mit.edu 994c0e7ca2 Fix build bustage. 2004-09-10 03:52:48 +00:00
bzbarsky%mit.edu a8a6ecf161 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00
dbaron%dbaron.org 9e2cdf2204 Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky 2004-09-09 17:32:35 +00:00
dbaron%dbaron.org f8dbaa44ac Fix serialization of declaration blocks containing 'overflow' and the bugs that causes. b=258300 r+sr=bzbarsky 2004-09-08 05:42:03 +00:00
bryner%brianryner.com 5e7349dd5d Fixes for a number of native theme button problems on gtk2 (bug 255911). In order to more easily accomodate CSS fallbacks for when native theme rendering is not available, this adds GetWidgetPadding() to nsITheme, which allows the native theme impl to supply padding values which will override the css padding. This way, padding for the css fallback can be given without having it be added to the padding that's part of the native theme-rendered border. r=caillon, sr=roc. 2004-09-06 03:59:31 +00:00
dbaron%dbaron.org 3827991ce7 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org 9a61205ad8 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron%dbaron.org d2d8096ade Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc 2004-09-03 23:22:15 +00:00
dbaron%dbaron.org d8f8c8bde9 Land bug 72747 in pieces: add functions for common overflow tests to nsStyleDisplay. b=72747 r+sr=roc 2004-09-02 23:18:37 +00:00
bryner%brianryner.com d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org c1681a238f Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org 00a887382c Fix debug bustage. b=72747 2004-08-26 19:12:05 +00:00
dbaron%dbaron.org 5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu dba4f07f62 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
tor%cs.brown.edu 0c326e84e7 Bug 216563 - implement <svg:switch>.
Patch by scootermorris@comcast.net, r=afri, sr=dbaron
2004-08-23 21:10:39 +00:00
dbaron%dbaron.org 9816849d39 Make nsCSSValue constructors explicit and fix obscure regression from rule tree landing. b=256270 r+sr=bzbarsky 2004-08-20 20:55:17 +00:00
bryner%brianryner.com 180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
kyle.yuan%sun.com bb45fcc626 Backout the patch for 251492. Need a better solution for that. 2004-08-19 06:33:20 +00:00
kyle.yuan%sun.com 65b3fef078 Bug 251492 [gnome]selected item text wrong color in high-contrast themes
r=bryner, sr=roc, patch by ginn.chen@sun.com
2004-08-19 02:23:15 +00:00
timeless%mozdev.org d0e42efd8e Bug 253539 Report origin url for css mime warnings/errors
r=bz sr=bz a=asa
2004-08-18 02:32:25 +00:00
tor%cs.brown.edu 8b7a521e30 Bug 254771 - Remove AssertNoCSSRules(lastPresHintRN, lastAgentRN) from
nsStyleSet::FileRules.  Patch by jonathan.watt@strath.ac.uk, r=bz, sr=dbaron
2004-08-10 15:59:30 +00:00
bzbarsky%mit.edu 94990b951c 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
2004-08-10 03:24:41 +00:00
dbaron%dbaron.org 94bc9d26c8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
tor%cs.brown.edu 30b7993601 Bug 234789 - SVG text ignores font-size if no unit specified.
Patch by scootermorris@comcast.net, r=tor, sr=dbaron.
2004-08-10 00:02:47 +00:00
mats.palmgren%bredband.net 9f3cd71287 Added font-size:inherit to optgroup, so that the select font-size affects options. b=185098 r+sr=bzbarsky 2004-08-08 18:44:09 +00:00
darin%meer.net 7fad093c68 fixing win32 debug bustage 2004-08-06 19:48:04 +00:00
darin%meer.net be2edb1976 fixing win32 debug bustage; we really need a debug tinderbox!! 2004-08-06 19:42:47 +00:00
dbaron%dbaron.org e9896c1d58 Fix Windows bustage by making these virtual again, at least for now (the only cost of which should be bloating some vtables). b=238099 2004-08-05 19:10:16 +00:00
dbaron%dbaron.org 53d986e97b Attempt to fix Windows bustage. b=238099 2004-08-05 18:44:42 +00:00
dbaron%dbaron.org d35f39cc02 Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky 2004-08-05 18:26:14 +00:00
neil%parkwaycc.co.uk a33872e9fe Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
dbaron%dbaron.org d90e0e1222 Give nsCSSStyleSheet a header file and rename the class in preparation for deCOMtamination. b=239008 r+sr=bzbarsky 2004-08-04 03:27:28 +00:00
dbaron%dbaron.org e7216e4d86 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-08-04 03:23:37 +00:00
aaronleventhal%moonset.net 1cf362f6fe Bug 251614. Get rid of black squares on input type=submit buttons and return focus appearance to normal. r+sr=roc 2004-08-02 14:15:51 +00:00
bryner%brianryner.com 6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org 1236bd859f Back out 236889 due to 253755. 2004-07-31 07:42:12 +00:00
bzbarsky%mit.edu e628e82cc1 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
2004-07-30 06:04:57 +00:00
dbaron%dbaron.org ca843bb250 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-29 20:07:25 +00:00
bryner%brianryner.com 0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron%dbaron.org a9ea1ee54f Fix Windows bustage. b=252578 2004-07-28 07:52:03 +00:00
dbaron%dbaron.org 2faa2566a0 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 2004-07-28 07:08:41 +00:00
bzbarsky%mit.edu 02d0d94b73 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
2004-07-27 17:15:53 +00:00
aaronleventhal%moonset.net cc206bb650 Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst 2004-07-24 21:12:43 +00:00
dbaron%dbaron.org 7e59447e8d Don't allocate and leak selectors that we don't need. b=252510 r+sr=bzbarsky 2004-07-21 21:20:14 +00:00
dbaron%dbaron.org cdfbc24f0a Reduce headers brought in by nsRuleNode.h. Split nsRuleData into its own file. b=64023 r+sr=bzbarsky 2004-07-20 06:11:27 +00:00
roc+%cs.cmu.edu e0a7bb0095 Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron 2004-07-18 12:12:46 +00:00
dbaron%dbaron.org 45c8de80a6 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 2004-07-17 19:03:13 +00:00
dbaron%dbaron.org 0ee5ed9f79 When implementing the 'display' and 'float' fixups in CSS2.1 section 9.7 we can't cache data in the rule tree. b=245715, 237891 r+sr=bzbarsky 2004-07-17 18:57:04 +00:00
dbaron%dbaron.org 314bd956d2 Move root element fixups to nsStyleContext so they happen before CalcDifference calls in style reresolution and we reframe less. b=245327 r+sr=bzbarsky 2004-07-17 18:21:41 +00:00
dbaron%dbaron.org f2d5d6aac6 Back out again (except indentation fix). b=236889 2004-07-16 23:28:36 +00:00
dbaron%dbaron.org f1aa7d5490 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. 2004-07-16 22:55:42 +00:00
dbaron%dbaron.org 4da6a59fbe Backing out half of 236889. 2004-07-16 21:23:27 +00:00
dbaron%dbaron.org e4fd9c5b92 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. 2004-07-16 20:26:39 +00:00
aaronleventhal%moonset.net 910e44a7d5 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
bzbarsky%mit.edu 675a009d32 Remove some quirks that neither NS4 nor IE have (they remove bottom margin from
<p> in a table cell, but leave other blocks with bottom margins alone).  Bug
101084, patch by Martijn Wargers <m.wargers@hccnet.nl>, r=dbaron, sr=bzbarsky
2004-07-15 21:48:13 +00:00
bzbarsky%mit.edu 89005ed71c 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
2004-07-15 20:30:30 +00:00
aaronleventhal%moonset.net 692a414811 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
bzbarsky%mit.edu 91e6373bba Testing backout of bug 236889 to see effect on performance. a=#mozilla 2004-07-15 02:54:01 +00:00
dbaron%dbaron.org c01ff06f59 Pull nsStyleContent::AllocateContents out of line, to fix Windows bustage (since this file is included outside of layout and the compiler doesn't seem able to inline it. b=249809 2004-07-14 23:51:25 +00:00
dbaron%dbaron.org 678827b364 Make :active hierarchical. b=65917 r+sr=bzbarsky 2004-07-14 22:27:24 +00:00
dbaron%dbaron.org 3e623876f0 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 2004-07-14 22:21:07 +00:00
dbaron%dbaron.org 4847dc9d90 Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky 2004-07-14 22:19:22 +00:00
bryner%brianryner.com 23089547be 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. 2004-07-14 22:14:34 +00:00
dbaron%dbaron.org 8722abfd09 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-14 22:10:55 +00:00
aaronleventhal%moonset.net be1b821056 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
dbaron%dbaron.org a5d71df614 Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin 2004-07-14 21:56:23 +00:00
dbaron%dbaron.org 4075eaa0ad Send correct HTTP Referer header for CSS @import. b=249171 r+sr=bzbarsky 2004-07-14 21:52:19 +00:00
jst%mozilla.jstenback.com 35a7178529 Landing patch for aaronleventhal@moonset.net. Bug 250208. Fix regression that made dropdowns not work as expected on Linux. r=jst@mozilla.jstenback.com, sr=dbaron@dbaron.org, a=asa@mozilla.org 2004-07-09 22:33:35 +00:00
aaronleventhal%moonset.net 1f6e33dc7a Bug 171366. Support tabindex for all elements. r=bryner, sr=jst 2004-07-07 00:58:57 +00:00
dbaron%dbaron.org 92c9034866 Use string comparators more to simplify code. b=249172 r+sr=bryner 2004-07-06 23:29:31 +00:00
peterv%propagandism.org a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
bryner%brianryner.com e5632337c1 Lots of fixes for native themed checkbox and radio buttons on gtk2. Bug 247631, r=caillon, sr=blizzard. 2004-06-22 22:10:12 +00:00
smontagu%smontagu.org e1cc6b919a Bug 140611: When a block element is first in RTL <LI>, bullet moves left. patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=dbaron. 2004-06-20 09:51:10 +00:00
roc+%cs.cmu.edu 087ede0319 Bug 245297. Add basic style system support for columns. r+sr=dbaron 2004-06-17 11:57:37 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bsmedberg%covad.net a7deb4f150 Bug 239925 - fix static initializers in DOM/widget/libpr0n so that we can restart XPCOM safely r=jst sr=darin 2004-06-09 18:36:25 +00:00
bryner%brianryner.com 97a65f9548 Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron. 2004-06-08 23:53:59 +00:00
bzbarsky%mit.edu cbcd653320 Use property ids from the property list, as long as we're using preprocessing
to create all the Set/Get* functions for nsIDOMCSS2Properties.  Bug 243728, r+sr=dbaron
2004-06-08 01:32:29 +00:00
dbaron%dbaron.org 4ef5842ac2 When asked to remove a property that doesn't exist, don't try too hard (and crash). b=245572 r+sr=bryner 2004-06-07 19:30:54 +00:00
cbiesinger%web.de c3bc3380df bug 243966 getPropertyValue truncates values for computed system font value
patch by Karsten D��sterloh <mnyromyr@tprac.de> r=ere,timeless,mkaply,amardare sr=dbaron
2004-06-03 21:19:08 +00:00
kyle.yuan%sun.com ec596d682f Bug 237535 prelight text invisible in high-contrast inverse themes
r=bryner, sr=roc, patch by ginn.chen@sun.com
2004-06-01 01:58:10 +00:00
bzbarsky%mit.edu a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
mvl%exedo.nl 0c9bdf8d12 Add CSS3 pseudo-class selector :only-child
bug 237568, patch by Sander <mybugzilla@juima.org>, r=bzbarsky, sr=dbaron
2004-05-25 13:43:52 +00:00
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