Commit Graph

1866 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
01c7e681e0 Make %-height kids of fieldsets do the right thing. Bug 191135, r=jkeiser,
sr=roc+moz, a=asa
2003-02-13 19:09:04 +00:00
bzbarsky%mit.edu
3d685b697d Dynamic changes to border-collapse should produce the right hint. Bug 191794,
r=bernd, sr=dbaron, a=asa
2003-02-13 19:06:18 +00:00
bzbarsky%mit.edu
5cefa814c3 Don't use quirky box-sizing for image inputs. Bug 191967, r+sr=dbaron, a=asa 2003-02-13 19:02:28 +00:00
bzbarsky%mit.edu
0240ed412b Make sure we drop native theming of form controls in various situations when we
need to.  Bug 184359 and its dependencies (171598, 181490, 184218, 185708,
188785, 189907, 190610).  Patch by tim@prismelite.com (Tim Hill), r=bryner,
sr=bzbarsky, a=asa
2003-01-31 10:21:52 +00:00
bzbarsky%mit.edu
98ad5a7317 Fix typo leading to infinite recursion crash. Bug 191229, r=timeless/caillon,
sr=jst, a=asa
2003-01-30 02:38:48 +00:00
caillon%returnzero.com
b58b743a90 Output 'background-position' values in the correct order (X before Y)
bug 189629, r+sr=dbaron
2003-01-19 03:44:52 +00:00
caillon%returnzero.com
0ab3beee78 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron
2003-01-19 02:36:04 +00:00
dbaron%dbaron.org
faa9a5b9f9 Reduce duplication of code between handling of top/right/bottom/left margin, border, and padding. b=189537 r+sr=bzbarsky 2003-01-18 15:58:49 +00:00
dbaron%dbaron.org
973f5e4a90 Fix inheritance of 'border-color' when the value inherited came from 'color' (the default). b=189402 r+sr=bzbarsky 2003-01-17 23:41:20 +00:00
cbiesinger%web.de
b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
caillon%returnzero.com
8d9098a65a Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
bzbarsky%mit.edu
074caec10b Make the string fu in nsStaticCaseInsensitiveNameTable a little smarter; use
that for nsCSSProps.  Bug 162243, r=dbaron, sr=dveditz.
2003-01-17 04:55:10 +00:00
bzbarsky%mit.edu
7f8f4fdbfc Don't cache chrome sheets in the CSSLoader. The XUL prototype cache does a
fine job of handling it, and this way the chrome registry only needs to clear
that one cache on skin switches.  Bug 185891, r=sicking, sr=roc+moz
2003-01-17 04:20:03 +00:00
dbaron%dbaron.org
5302be6eba Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore. 2003-01-16 19:21:23 +00:00
dbaron%dbaron.org
f91cb66f02 Apply the quirk that simple selectors of the form ':hover' apply only to links to those of the form '.class:hover' as well. b=169078 r+sr=bzbarsky 2003-01-14 21:50:27 +00:00
dbaron%dbaron.org
1e96329338 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky 2003-01-13 23:10:53 +00:00
bernd.mielke%snafu.de
96dc8af21b enable color for <hr> borders bug 38370 r=hixie sr=bzbarsky 2003-01-13 12:10:11 +00:00
bzbarsky%mit.edu
89a03780aa fix bustage.... 2003-01-13 08:02:17 +00:00
bzbarsky%mit.edu
4363ff97b9 Bug 60290 -- comments should not be treated as whitespace. r=glazou, sr=dbaron 2003-01-13 07:19:49 +00:00
caillon%returnzero.com
8884383f05 use nsCOMArray instead of nsISupportsArray. r+sr=bzbarsky b=188600 2003-01-11 10:28:37 +00:00
dbaron%dbaron.org
d8345512c5 Correctly report 'transparent' for -moz-border-*-colors. b=188465 r=caillon sr=bzbarsky 2003-01-10 19:49:24 +00:00
dbaron%dbaron.org
e91def8b7a Report 'transparent' border color correctly. b=188465 r=caillon sr=bzbarsky 2003-01-10 15:55:27 +00:00
bryner%netscape.com
7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
48544669f3 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
bzbarsky%mit.edu
4cf5754471 fix a crash that could happen if a child import met with an error (eg failed to
open a channel).  Bug 186606, r=sicking, sr=peterv
2003-01-07 01:13:07 +00:00
bzbarsky%mit.edu
0a01939a36 asserting that a PRUint32 is >= 0 is silly. Bug 187002, r=sicking, sr=peterv 2003-01-07 00:37:19 +00:00
sicking%bigfoot.com
c134137876 Bug 186835: Hold off notifying that the transformation is finished until all stylesheets are loaded.
r=peterv sr=bz
2003-01-06 14:55:13 +00:00
bzbarsky%mit.edu
8dcc730013 bug 187428 -- cursor should just inherit down to images within links instead of
being set explicitly.  r+sr=dbaron
2003-01-05 19:05:14 +00:00
bzbarsky%mit.edu
f83b00920f Re-landing fix for bug 182124 a bit at a time to narrow down the source of the
perf impact. r=rjc, sr=darin
2003-01-05 19:00:18 +00:00
bzbarsky%mit.edu
544046a358 Make more inputs use border-box sizing in standards mode, since that's what IE6
does in standards mode.  Keep quirks sizing as it was. Bug 184478, r=jkeiser,
sr=dbaron
2003-01-05 05:18:50 +00:00
dbaron%fas.harvard.edu
a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
bratell%lysator.liu.se
cd00e11297 Bug 185007 - reduce padding in style structs. r=roc+moz, sr=brendan 2002-12-21 07:27:44 +00:00
peterv%netscape.com
d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
3399eea621 And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
the problem?
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu
e81697ce7c relanding bug 182124 since it looks like comet was just noise and the other Ts
boxes that cycled with this show no problems...
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu
42d3fc3e74 Backing out bug 182124 because I think it caused Ts to go up... 2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu
f3c5ef51ac Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin
2002-12-11 03:29:27 +00:00
bzbarsky%mit.edu
f6f9e3cc70 Resolve possible problem in the unlikely event that we kick off an async load
for a sheet and then kick off a sync load for the same sheet before the async
load completes...  Bug 183299, r=sicking, sr=peterv
2002-12-11 00:28:47 +00:00
caillon%returnzero.com
342abe6814 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
dbaron%fas.harvard.edu
3f07edc1de Fix build bustage inside |#ifdef DEBUG_dbaron|. (Not part of build.) 2002-12-06 04:42:49 +00:00
bzbarsky%mit.edu
0bd1bf929d Fix crash in some icky document.write() cases.. We gotta stop blocking the
parser.  Bug 183784, r=sicking, sr=peterv, a=asa
2002-12-06 01:27:37 +00:00
bzbarsky%mit.edu
82b60aea48 I meant 8192 and typed 8092. r/sr/a=brendan 2002-12-05 06:36:18 +00:00
bzbarsky%mit.edu
1866641871 UTFInputStream does not do very good error-recovery, so always
use nsConverterInputStream instead.  Bug 183165, r=timeless, sr=sspitzer,
general approval=dbaron
2002-12-04 06:07:50 +00:00
caillon%returnzero.com
02dff0ba15 Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
r=bzbarsky sr=jst
2002-12-04 05:18:39 +00:00
bzbarsky%mit.edu
229d7e68c8 Take out the hack added in bug 47846 to deal with the fact that Equals() did
not work on mailnews urls.  It works fine now (see bug 98626).

Bug 182248, r=bienvenu. sr=darin
2002-12-03 20:19:18 +00:00
karnaze%netscape.com
c94e939d58 bug 161644 - don't allow a first letter to be a block unless it is floating. sr=bzbarsky, r=dbaron. 2002-12-03 15:48:26 +00:00
bzbarsky%mit.edu
13b5c15201 ugh. Forgot this one line... 2002-12-03 08:29:35 +00:00
bzbarsky%mit.edu
3e31b94167 Change nsICSSLoader to nsAString instead of nsString (build bustage). 2002-12-03 06:46:46 +00:00
bzbarsky%mit.edu
fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
peterv%netscape.com
2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
bzbarsky%mit.edu
ff14aa1c72 Fix crash if a site overrides one of our "magic" rules. Make some of the rules
!important, make nsViewportFrame a containing block no matter what the CSS
says. Bug 181692, r=karnaze, sr=dbaron
2002-11-25 23:40:58 +00:00
sicking%bigfoot.com
8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
bernd.mielke%snafu.de
c2ad0f7d79 Initialize text-indent at the table boundary, this cuts inheritance of text-indent inside tables. plus removal of a conflicting border specification bug 140682 r=hixie sr=bzbarsky 2002-11-23 17:56:44 +00:00
darin%netscape.com
d9541f875d fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2002-11-22 07:40:16 +00:00
caillon%returnzero.com
5a9f5e36a3 Fixing an NS_PRECONDITION to reference the correct variable. Followup to last night's checkin for bug 147189. r/sr=bzbarsky 2002-11-20 06:35:33 +00:00
glazman%netscape.com
d0dabfdef1 'larger' and 'smaller' CSS values for 'font-size' were not working outside of range xx-small to xx-large and that prevented users to use very big and very small fonts in both Composer and mail composition; b=63987, r=dbaron, sr=bzbarsky 2002-11-19 15:16:31 +00:00
bzbarsky%mit.edu
b2a01de54e Report the unknown namespace when we have an unknown namespace error.
Bug 180852, r=dbaron, rs=roc+moz
2002-11-19 15:12:02 +00:00
caillon%returnzero.com
5586aa4d4a Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189
2002-11-19 07:41:07 +00:00
bzbarsky%mit.edu
9b34083660 <button> should not have preformatted whitespace. Bug 55285, r=jkeiser, sr=dbaron 2002-11-19 03:34:49 +00:00
dbaron%fas.harvard.edu
f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
ed078e5c87 Fix regression in rendering buttons that people manually size to less
than desired size.  Bug 180085, r=jkeiser, sr=roc+moz
2002-11-16 19:32:49 +00:00
bzbarsky%mit.edu
86bf9601f7 Backing out alecf for now, since this change makes mailcompose crash
(and we don't want smoketest blockers, now do we?)
2002-11-16 12:07:13 +00:00
alecf%netscape.com
18bb1664d9 prep work for fixing bug 180379 - stop creating extra nsCSSSelectors - instead of creating them on the stack then copying them to the heap, start with them newly on the heap.
r=bzbarsky, sr=dbaron
2002-11-16 05:37:24 +00:00
caillon%returnzero.com
f4be2cfdb4 Bug 180185, nsStyleText::WhiteSpaceIsSignificant() should take -moz-pre-wrap into account too
r=dbaron sr=bzbarsky
2002-11-15 03:14:56 +00:00
bzbarsky%mit.edu
d33d3708fe Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
2002-11-12 19:17:51 +00:00
dbaron%fas.harvard.edu
dc83a84103 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin 2002-11-12 15:17:07 +00:00
bernd.mielke%snafu.de
4abbad8856 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin 2002-11-08 05:29:34 +00:00
bzbarsky%mit.edu
74a9b1ed3e Prioritize data-sniffing over extension-sniffing for ftp and http. Bug
177026, r=rpotts, sr=darin
2002-11-06 22:29:17 +00:00
bzbarsky%mit.edu
3f6afa4126 disabled selects should still take the colors the page sets. Bug
177569, r=jkeiser, sr=dbaron
2002-11-06 21:35:36 +00:00
glazman%netscape.com
dd816389e5 CSS properties set to system colors were returning inconsistent values; b=172199, r=caillon, sr=peterv 2002-11-06 08:31:19 +00:00
timeless%mozdev.org
5813d0cd92 Bug 133708 Simplify nsStyleList::CalcDifference
r=dbaron sr=brendan
2002-11-06 07:31:27 +00:00
bzbarsky%mit.edu
4ecdd4b649 line-height settings should not affect internal layout of form
controls.  Bug 82265, r=jkeiser, sr=dbaron
2002-11-06 02:12:18 +00:00
bzbarsky%mit.edu
fd71e8e971 fix regression in setting important property values in inline style via
DOM.  Bug 173767, r=caillon, sr=dbaron
2002-11-06 02:07:17 +00:00
bzbarsky%mit.edu
f83e342a15 CheckLoadURI should use document uri, not base uri. Bug 177237,
r=mstoltz, sr=jst, a=blizzard
2002-11-05 03:45:28 +00:00
dbaron%fas.harvard.edu
ee1ac12967 Back out patch for bug 161109 that implemented a pref for disabling marquee. b=161109 r=hixie a=asa 2002-10-30 14:31:32 +00:00
bzbarsky%mit.edu
cd39dd8995 Margin/padding computations need to flush the reflow queue. Bug 173354,
r=caillon, sr=heikki, a=asa.
2002-10-16 03:38:52 +00:00
dbaron%fas.harvard.edu
3ad435a24c OK, over from snprintf to PR_snprintf. b=173837 2002-10-15 00:29:58 +00:00
dbaron%fas.harvard.edu
17ce8bf5d5 Maybe an explicit include of stdio.h will fix the myotonic bustage. b=173837 2002-10-15 00:20:45 +00:00
dbaron%fas.harvard.edu
fc4297892b Add preference for whether to enable marquee, and set the default to disabled. b=161109 r=caillon sr=bzbarsky a=rjesup 2002-10-15 00:06:57 +00:00
dbaron%fas.harvard.edu
9c32fa806d Remove unused ability to optionally arena-allocate certain stylesheet objects. b=174256 r=kin sr=bzbarsky a=rjesup 2002-10-14 23:57:17 +00:00
dbaron%fas.harvard.edu
cac2947037 Change sprintf to snprintf to avoid potential for buffer overflow. Untabify surrounding code. b=173837 r=heikki sr=bzbarsky a=rjesup 2002-10-14 23:49:48 +00:00
bzbarsky%mit.edu
adfb8db44b Fix crash in nsStyleQuotes copy constructor. Bug 174178, r=caillon,
sr=dbaron, a=roc+moz
2002-10-13 18:55:12 +00:00
bzbarsky%mit.edu
7d2a30e560 Fix bug 168737 -- two-byte-encoded pages got no syntax highlighting.
r=caillon, sr=rbs, a=asa.
2002-10-11 23:46:11 +00:00
heikki%netscape.com
919aef29e4 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa. 2002-10-11 00:38:29 +00:00
bzbarsky%mit.edu
093137e9f2 Make GetImportantRule and GetISupportsValue return already_AddRefed.
Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:59:43 +00:00
bzbarsky%mit.edu
279ffda515 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
caillon%returnzero.com
5ba9439c07 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu
50be3cbecb Attempt to fix mach-o bustage. b=172207 2002-10-08 03:58:32 +00:00
caillon%returnzero.com
3afede1887 Attempting to fix Windows bustage 2002-10-08 03:03:56 +00:00
caillon%returnzero.com
d8d932cd3f More footprint work; Axing the large switch statement in GetPropertyCSSValue()
bug 172207 r=bzbarsky sr=alecf
2002-10-08 01:53:31 +00:00
caillon%returnzero.com
8e992f87ae Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
r=dbaron sr=alecf
2002-10-03 19:41:42 +00:00
dbaron%fas.harvard.edu
58e711b7d5 Use correct interface pointer to fix crash inserting rule into media rule. b=170699 r=glazman sr=roc+moz 2002-10-03 01:02:13 +00:00
dbaron%fas.harvard.edu
a384d0ce7d Don't prevent 'display: none' from working on generated content by being overzealous with CSS2 12.1 'display' fixups. At suggestion of Mats Palmgren, split code path between CSS2 9.7 fixups and CSS2 12.1 fixups since the former can't affect generated content and the latter apply only to generated content. r=bzbarsky and mats.palmgren sr=kin b=171749 2002-10-03 00:42:16 +00:00
caillon%returnzero.com
15ead48756 171785. Using new CSS_PROP_NOTIMPLEMENTED macro. This should have gone in with the patch to bug 117500 but somehow was left out.
r=dbaron sr=kin/jst
2002-10-01 00:13:55 +00:00
dbaron%fas.harvard.edu
12c92754b3 Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227 2002-09-30 14:46:56 +00:00
dbaron%fas.harvard.edu
29c30c5f3e Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf 2002-09-30 14:18:27 +00:00
roc+%cs.cmu.edu
88a7759322 Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
jkeiser%netscape.com
7de3925409 Back out bug 167236 due to regressions 171214 and 171465 2002-09-30 10:22:06 +00:00
jkeiser%netscape.com
c28e8257cb Make buttons line up correctly with textboxes again (bzbarsky's patch, bug 171214), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu 2002-09-29 02:55:24 +00:00
darin%netscape.com
71bb3b05de fixes bug 170789 "HTTP Accept: header should be tailored to context of the
request" r=dougt sr=bzbarsky
2002-09-27 04:22:13 +00:00