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

1518 Коммитов

Автор SHA1 Сообщение Дата
hewitt%netscape.com 68c6307cb9 114535 - crash setting !important on a -moz-image-region property, 114132 - rounded multi-level borders use wrong radii, r=ben, sr=hyatt 2001-12-11 11:11:09 +00:00
shanjian%netscape.com 6d466ab1bb #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi
2001-12-11 04:12:34 +00:00
bzbarsky%mit.edu feff9ce486 Add an assertion to the CSS loader for cases when sheet decoding fails.
stopgap measure for bug 106843, r=pierre, sr=attinasi
2001-12-11 02:48:49 +00:00
dp%netscape.com 572e864ce7 bug 110555 Ignoring error when user css files not found. r=dveditz,
sr=hyatt
2001-12-09 16:14:02 +00:00
dbaron%fas.harvard.edu 82b598a25b Fix crash due to accessing destroyed data previously owned by a rule node but cached on a style context that inherited it by clearing style data from style contexts before reresolution due to an inline style change. b=105619 sr=hyatt r=shaver 2001-12-08 22:46:21 +00:00
jaggernaut%netscape.com c892a468bd BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst 2001-12-08 07:08:38 +00:00
attinasi%netscape.com 4f5ed5c4a9 Adding parent to StyleContext listing for help in debugging. b= 113518 r=dbaron sr=kin 2001-12-07 00:38:27 +00:00
bzbarsky%mit.edu c0a317d56d Re-enable inspector showing positioning values. Bug 113863, r=timeless,
sr=hewitt
2001-12-06 22:29:53 +00:00
bzbarsky%mit.edu abe51bd33f Fix computed positioning style for static elements and computed
z-index.  Bug 109523, r=glazou, sr=attinasi
2001-12-06 21:15:54 +00:00
seawood%netscape.com 321acda7e6 Move inlined function nsCSSMargin::EnsureBorderColors() before the functions that use it in order to appease Sun's Workshop/Forte 6 compiler.
Fixing tinderbox bustage.
2001-12-06 10:10:15 +00:00
hyatt%netscape.com fa785b7115 Fix smoketest blocker. 2001-12-05 19:46:43 +00:00
bzbarsky%mit.edu 5f31e0051e Set the |inherited| bool in all cases when we inherit. Bug 113533,
r=dbaron, sr=hyatt
2001-12-05 14:06:34 +00:00
hyatt%netscape.com 1704f7364f Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00
alecf%netscape.com a9418e11c9 fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter 2001-12-04 01:10:43 +00:00
alecf%netscape.com 3b010bd783 part of fix for bug 110531 - move CSS loader over to using nsIConverterStream instead of nsIUnicharInputStream
sr=darin, r=dougt
2001-12-03 23:03:18 +00:00
dbaron%fas.harvard.edu 3c4b8b75e4 Fix leak (and other) regression from previous checkin. b=111815 2001-12-02 04:07:17 +00:00
dbaron%fas.harvard.edu e3bc6fd309 Various cleanup and commenting in nsRuleNode and nsStyleContext. A few minor performance tweaks to nsRuleNode::WalkRuleTree. Fix correctness / crash errors that were caused by not setting the parent struct in the Compute*Data functions for inherited structs. b=111815 r=hewitt sr=hyatt 2001-12-02 00:44:45 +00:00
bzbarsky%mit.edu 313c7b7393 Fix typo in value returned by getComputedStyle. Bug 112866, sr=jst 2001-12-02 00:28:48 +00:00
jst%netscape.com d35ccb90ba Whitespace changes. 2001-11-29 09:59:31 +00:00
rods%netscape.com c906c1a450 Give checkbox and radio face color on active
Bug 56585 r=bryner sr=attinasi
2001-11-29 09:54:38 +00:00
jst%netscape.com d1ad5c4205 Fixing bug 112473. Eliminate unnecessary allocations in the CSS parser and speed up NS_NewHTMLReflowCommand() a bit. r=dbaron@fas.harvard.edu, rs=waterson@netscape.com 2001-11-29 08:48:53 +00:00
dbaron%fas.harvard.edu 00f9823b7d Fix HP bustage by moving GetStyleData function templates from nsStyleStruct.h to nsIFrame.h and nsIStyleContext.h b=111883 2001-11-28 06:50:13 +00:00
dbaron%fas.harvard.edu 98f72c28f2 Add typesafe functions (global |GetStyleData|) for accessing style data. b=111883 r=pierre sr=hyatt 2001-11-28 05:04:23 +00:00
dbaron%fas.harvard.edu 374cade4e8 Consider the result of |mStyleRuleSupplier->UseDocumentRules| in FileRules to prevent incorrect application of document rules to scrollbars and some form controls. Patch from <fantasai@escape.com>. r=dbaron sr=hyatt b=109808 2001-11-28 04:54:05 +00:00
dbaron%fas.harvard.edu bf7d3b0667 Fix crash and incorrect calculation of percentage line-height by computing relative to self's font-size rather than parent's font size. r=pierre sr=hyatt b=111405 2001-11-28 04:35:52 +00:00
alecf%netscape.com b54ba5fc69 first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake 2001-11-27 21:13:53 +00:00
timeless%mac.com 06fad455a8 Bugzilla Bug 111606�Want black combo box arrow
by neil@parkwaycc.co.uk r=rods sr=attinasi
2001-11-27 15:48:16 +00:00
bzbarsky%mit.edu 6629087552 Make sure the <input type="hidden"> never takes up space by setting it
to use display:none (now that it'll submit fine with that setting).
Bug 109847, r=jkeiser, sr=attinasi
2001-11-27 15:36:33 +00:00
dbaron%fas.harvard.edu 43129c454a Bug 109431: Speed up ID selector matching, mainly by using nsDependentString instead of nsAutoString. Patch by rjesup and me. Bug 110815: Avoid an unneeded QI from nsICSSStyleRule to nsIStyleRule, which it inherits. r=jag sr=hyatt 2001-11-21 03:30:44 +00:00
bzbarsky%mit.edu 875a2f3f41 Check the mimetype on the stylesheet channel and only
load the sheet if the type is text/css (strict mode change
only). bug 46225, r=dbaron, sr=attinasi
2001-11-19 20:30:29 +00:00
rbs%maths.uq.edu.au 46d52b2fe0 bug 110417 - no need to special-case the viewsource protocol anymore since security now knows about it. r=bzbasrky sr=jst 2001-11-17 02:36:05 +00:00
hyatt%netscape.com f583fd60ce MIssed a spot in 109261. same reviewers apply as for previous checkin of bug fix. 2001-11-15 07:31:13 +00:00
hyatt%netscape.com 94bb279ce6 Inline PeekStyleData for 109261. 2001-11-14 08:29:11 +00:00
hyatt%netscape.com b69ed06ca6 Perf and footprint opt. Make style re-resolution cheaper. r=glazou, sr=hewitt, bug 109261 2001-11-14 08:19:13 +00:00
dbaron%fas.harvard.edu d14aee7e18 Attempt to fix HP runtime bustage. b=83836 2001-11-11 20:46:42 +00:00
bzbarsky%mit.edu 4daefe1e95 Fixing bogus indentation that I missed (checked in old version of
patch). bug 84599 reprise, r=glazou, sr=attinasi (still).
2001-11-11 03:56:49 +00:00
dbaron%fas.harvard.edu 01600dfea3 Avoid applying all default rendering of HTML's table element to anonymous table objects. b=72358 r=hixie sr=attinasi 2001-11-11 01:35:25 +00:00
dbaron%fas.harvard.edu ee1bd92fab Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt 2001-11-10 23:51:45 +00:00
bzbarsky%mit.edu 6b7a004035 Fix getComputedStyle() position/size calculations. Bug 84599 and bug
94855, r=glazou, sr=attinasi
2001-11-10 17:29:04 +00:00
dbaron%fas.harvard.edu 34d1af779a Add omitted NS_INIT_ISUPPORTS. b=108750 a=blizzard 2001-11-08 02:17:43 +00:00
dbaron%fas.harvard.edu eb251b5691 Move nsDOMCSSAttributeDeclaration into its own file to progress towards moving all of the style system code back into the layout library. r=jst sr=hyatt b=108750 2001-11-07 07:06:31 +00:00
karnaze%netscape.com 2bf0542c5a bug 107857 - add -moz-show-background value to empty-cells and make that the quirk default. sr=attinasi, r=pierre. 2001-11-06 22:52:59 +00:00
rods%netscape.com 285b4b3292 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-06 12:18:51 +00:00
pierre%netscape.com afeb351c68 Checked in for fantasai@escape.com. Bug 43220 "author !important rules override user !important rules in user.css". Add User sheets. Rename Backstop sheets into UserAgent. Fix cascading order. r=pierre/sr=hyatt. 2001-11-06 10:04:05 +00:00
dbaron%fas.harvard.edu 0c5f5cd170 Fix inheritance of percentage values for 'line-height' by removing hacks to base percentage values for 'line-height' on the actual value rather than the computed value of 'font-size'. Fix various |const|-ness issues in nsRuleNode. b=97726 r=pierre sr=hyatt 2001-11-06 07:48:02 +00:00
karnaze%netscape.com b13d70de33 bug 107857 - show backgrounds on empty cells in quirks mode. sr=attinasi,r=alexsavulov,hixie 2001-11-05 15:32:25 +00:00
rods%netscape.com 760f64245a Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
jst%netscape.com 9055fdc206 Fixing bug 108321. Don't waste time using the component manager when creating an nsHTMLAttributes when setting attributes on an element, call NS_NewHTMLAttributes() directly in stead. Also doing some cleaning up in nsHTMLStyleSheet.cpp. r=dbaron@fas.harvard.edu, sr=hyatt@netscape.com 2001-11-03 08:13:48 +00:00
jst%netscape.com 5bf2cf4e7e Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com 2001-11-02 07:40:01 +00:00
kin%netscape.com 3b3a81d15b Backout glazman's fix for bug 107567, pending investigation
on why it causes the tinderbox Leak count to go up.

a=beard@netscape.com,jj@netscape.com
2001-10-31 19:03:46 +00:00
glazman%netscape.com d6b696191f Remove useless mSheetMap table from nsCSSLoader; b=107567, r=peterv,rjesup@wgate.com; sr=kin 2001-10-31 15:53:25 +00:00
dbaron%fas.harvard.edu 4d5cf31505 Additional cleanup after bug 56117: prevent :first-letter from leading to style resolution on text nodes and stop all style resolution for placeholder frames (formerly :placeholder-frame pseudo-element) and for text following a :first-line pseudo-element (formerly :-moz-letter-frame pseudo-element). b=107534 r=waterson, attinasi sr=hyatt 2001-10-31 02:53:47 +00:00
dbaron%fas.harvard.edu 10e3bbbb58 Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi 2001-10-30 06:02:05 +00:00
bernd.mielke%snafu.de b7608cb2b3 bug 97630 cut line-height inheritance for tables in quirks mode
r=hixie,karnaze sr=attinasi
2001-10-29 19:44:05 +00:00
jaggernaut%netscape.com 47f32d2efe Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 06:44:19 +00:00
alecf%netscape.com fae57cdd66 other changes for bug 100214, r=jag, sr=scc
include nsUnicharUtils.h for useful stuf
2001-10-26 02:38:29 +00:00
dbaron%fas.harvard.edu f56bfe4127 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
bzbarsky%mit.edu 7f9eeaa84b Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi
2001-10-25 00:34:20 +00:00
ducarroz%netscape.com 9f6f252663 Fix for bug 106560. Crash in StyleSetImp::ShutDown when mRuleTree is null. Need to check mRuleTree before using it. R=bienvenu, SR=hyatt 2001-10-25 00:19:21 +00:00
dbaron%fas.harvard.edu a9b07948e7 My guess at AIX and OS/2 bustage was wrong -- backing it out. Someone with access to a machine with one of those compilers will have to try various things here. 2001-10-24 09:03:46 +00:00
glazman%netscape.com 8ca86a0f51 STYLE attribute should not expand CSS shorthand property assignment to equivalent longhand assignments; b=18894, r=peterv, sr=attinasi 2001-10-24 08:08:30 +00:00
dbaron%fas.harvard.edu 561a2b848a Wild guess at fixing AIX and OS/2 bustage. 2001-10-24 06:53:39 +00:00
dbaron%fas.harvard.edu f9d32caae7 Moving nsRuleNode.cpp back to content/base/src from content/shared/src and inlining GetRule to fix linker errors on BeOS and probably also AIX, and since it doesn't need to be in content/shared and cvs won't like re-adding to content/html/style/src. b=104336 2001-10-24 06:25:08 +00:00
hyatt%netscape.com 0214ac3fdb Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
bryner%netscape.com bbbbd6f9e3 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
rods%netscape.com d71bbaadaa Make labels inline !important
Bug 100801 r=rods sr=attinasi
2001-10-22 10:39:35 +00:00
dougt%netscape.com af7957c9e9 Remove extra exports. patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com 2001-10-19 21:02:39 +00:00
dougt%netscape.com 1f40b94136 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527 2001-10-19 20:59:33 +00:00
bzbarsky%mit.edu 9c3b205483 Last checkin was r=pierre, sr=jst 2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu 94624dd288 Clean up handling of quirk doctypes and case-sensitivity in the CSSOM.
Mostly just uses the nodeinfo more and combines some redundant code into
helpers. Bug 95336, bug 10622, bug 102815
2001-10-19 13:50:30 +00:00
pierre%netscape.com 6f04306c31 91665 "Dump Style Contexts doesn't work anymore". Fixed nsStyleContext::List(). r=attinasi/sr=hyatt 2001-10-17 00:25:26 +00:00
pierre%netscape.com a2a06d0656 97052 "getComputedStyle returns default value for border width when there is no border". GetBorderWidthFor() now returns 0 if NS_STYLE_BORDER_STYLE_NONE. r=bzbarsky / sr=jst 2001-10-17 00:05:05 +00:00
dbaron%fas.harvard.edu 3dac3645cb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu 34fc404be7 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
rods%netscape.com 214ca7373c make it so the select's borders can't be changed by user's style
Bug 94387 r=kmcclusk sr=attinasi
2001-10-16 00:37:05 +00:00
alecf%netscape.com 511a787492 convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser 2001-10-13 00:16:32 +00:00
bzbarsky%mit.edu b6f9a38709 Make changes to clip property trigger a reflow change, not just a visual
change.  Bug 88653, r=pierre, sr=roc+moz
2001-10-10 00:21:02 +00:00
bzbarsky%mit.edu 657005872b Fix parsing of negative (illegal) values of border-spacing, padding, and
others.  Bug 102344, r=dbaron, sr=attinasi
2001-10-06 15:13:23 +00:00
attinasi%netscape.com 1f16fe0f3b Outline for links are now 'invert' instead of 'WindowText' color. b=73884 r=kmcclusk sr=kin 2001-10-03 00:10:00 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
glazman%netscape.com 925e600581 fixing erroneous DOM 2 name for bug 101925; rs=jst 2001-09-28 14:11:05 +00:00
glazman%netscape.com 2bbdd47a50 implements getComputedStyle() for float property + bad next-line argument indentation cleanup ; b=101925, r=bzbarsky, sr=jst 2001-09-28 07:39:41 +00:00
bzbarsky%mit.edu 64fb1452bf Make setting element.style.foo just parse the value instead of creating
a property:value pair and parsing that.  Speeds up setting of
element.style.top by about 5%.  Bug 99797, r=attinasi, sr=jst
2001-09-28 01:38:36 +00:00
rbs%maths.uq.edu.au 899f17f924 bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com 2001-09-27 18:33:58 +00:00
hewitt%netscape.com 8f078b94db 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 23:35:36 +00:00
hewitt%netscape.com e7ad287a94 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 22:17:00 +00:00
gerv%gerv.net 2b0c9d0438 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu bcf7e431e0 making the "Enabling quirk stylesheet" message only show up for some
people who care (even in debug builds).  bug 100983, r=dmose, sr=attinasi
2001-09-24 22:36:43 +00:00
rjesup%wgate.com b3f93c53a1 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.
2001-09-24 15:26:39 +00:00
rjesup%wgate.com 9c4abfe094 Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi 2001-09-24 07:35:04 +00:00
mkaply%us.ibm.com 082d76fc60 OS/2 bustage
PR_STATIC_CALLBACK is not needed here
2001-09-20 02:38:56 +00:00
bzbarsky%mit.edu 6978d3d311 Implement the parentRule property of CSS rules. Bug 37470, r=pierre,
sr=jst
2001-09-19 14:16:34 +00:00
dbaron%fas.harvard.edu 1c9cca516b Allow declarations in style attribute to be surrounded by braces in quirks mode. Rename ParseDeclarations to ParseStyleAttribute since that's what it does. b=99554 r=hixie,glazman sr=attinasi 2001-09-17 23:59:30 +00:00
dbaron%fas.harvard.edu 232b3ee364 Add all extension properties to nsIDOMNSCSS2Properties, rather than just a few. Clean up nsDOMCSSDeclaration implementation of nsIDOM{,NS}CSS2Properties and implement new attributes in nsIDOMNSCSS2Properties. r=hixie sr=jst b=98500 2001-09-17 00:57:46 +00:00
bzbarsky%mit.edu c35a5645c6 Make insertRule() calls on a media rule which initially had no children
not fail.  Bug 98931, r=sicking, sr=jst
2001-09-15 01:27:49 +00:00
waterson%netscape.com 885df97ac4 Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt 2001-09-12 20:19:41 +00:00
dbaron%fas.harvard.edu e5077ef0df Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag sr=alecf b=45797 2001-09-10 19:54:27 +00:00
dp%netscape.com 874b32a20a Fixing build bustage. 2001-09-08 22:01:22 +00:00
dp%netscape.com dac8082a10 bug# 98786 Eliminating url cloning r=gagan,sr=jst 2001-09-08 21:13:20 +00:00