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

1541 Коммитов

Автор SHA1 Сообщение Дата
jaggernaut%netscape.com 0bbed2bc43 Bug 92623: ``Adjust the nsCSSParser quirks'', patch by Hixie, r=pierre@netscape.com, sr=attinasi 2001-08-10 22:46:53 +00:00
karnaze%netscape.com 6f68b87da4 bug 94041 - hixie's patch to give backgrounds to empty cells in quirks mode. sr=attinasi, r=alexsavulov 2001-08-09 03:31:31 +00:00
pierre%netscape.com b594646982 bug 94248: uninitialized variable in nsCSSUserInterface::mCursor. fix from rjesup@wgate.com, r=pierre 2001-08-08 04:21:53 +00:00
harishd%netscape.com fcbaffa391 83119 - Added support for visibility in GetComputedStyle(). r=heikki,sr=jst.
84000 - Preserve NOFRAMES content - patch submitted by scoda@alias.it. r=me, sr=jst.
65467 - DT is an inline element. r=heikki, sr=jst.
88992 - OBJECT should be able to close unclosed block level elements within it. r=heikki, sr=vidur
84491 - IFRAME should be treated similar to NOFRAMES. r=pollmann, sr=vidur
92530 - FORM should behave as a container if the parent is TD or TH. r=heikki,sr=vidur
88243 - For percentage attribute value do not assume that '%' will always be the last character. r=heikki,sr=vidur.
2001-08-07 19:05:21 +00:00
bzbarsky%mit.edu a353a4e9a0 Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst 2001-08-04 21:19:53 +00:00
dbaron%fas.harvard.edu 7ae28c26a1 Fix crash bug 93270 by ensuring that the nsHTMLStyleSheetImpl always has a non-null mDocumentColorRule and mTableTHRule. r=pierre sr=hyatt 2001-08-04 02:43:05 +00:00
glazman%netscape.com 145fd781e4 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi 2001-08-02 14:34:55 +00:00
hyatt%netscape.com e1abe2c919 Fix for 71471. r=blake, sr=hewitt 2001-08-02 00:09:27 +00:00
glazman%netscape.com 9355372000 backing out fix for 88681 due to merge conflicts 2001-08-01 14:53:15 +00:00
glazman%netscape.com 47a195eda3 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi 2001-08-01 14:38:30 +00:00
hyatt%netscape.com 83c6db5ccf Fix for table color quirk bug. r=dbaron, sr=attinasi 2001-08-01 07:51:27 +00:00
brendan%mozilla.org dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
hyatt%netscape.com 84f1ff48ed Fix for 90081, r=dbaron, sr=attinasi 2001-07-25 06:33:06 +00:00
waterson%netscape.com 810f67dd7a Bug 91478. Don't incorporate mFlags when computing difference between two fonts. r=attinasi, sr=hyatt. 2001-07-22 22:49:52 +00:00
hyatt%netscape.com cbfec5d9f3 Backing out 90081 fix until I understand why opt builds only crash. 2001-07-19 19:43:51 +00:00
hyatt%netscape.com 1f794f1074 Fix for 90081, r/sr=waterson,attinasi 2001-07-18 22:48:35 +00:00
bzbarsky%mit.edu 49bedf870c Make CSSParserImpl::ParseAndAppendDeclaration keep parsing even when it
encounters an error. Bug 88421, r=pierre, sr=attinasi
2001-07-18 19:43:39 +00:00
jst%netscape.com 88d48dc0c5 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +00:00
dbaron%fas.harvard.edu c14a4b7581 Replace the mMediumCascadeTable nsHashtable with a linked list of rule cascades since searching a linked list of at most two elements (and usually just one) is *much* faster than doing a hashtable lookup. r=waterson sr=attinasi b=90791 2001-07-16 20:59:28 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dbaron%fas.harvard.edu e80f5a5eef Changing vertical alignment of some form controls from 'bottom' to 'text-bottom', which is a good thing in itself but also fixes one of the many conditions needed to trigger bug 78066. b=87981 r=attinasi sr=waterson 2001-07-13 05:19:34 +00:00
bernd.mielke%snafu.de 5c6efb8c13 Inherit color into the table elements in quirks mode
bug 46480 patch by fantasai@escape.com r=bernd sr=attinasi
2001-07-06 14:17:08 +00:00
dbaron%fas.harvard.edu 5c00ae3d05 Add two Korean list styles (-moz-hangul and -moz-hangul-consonant) and rename existing list-style-type values that are our extensions to use -moz- prefix. Patch from Jungshik Shin <jshin@pantheon.yale.edu>. r=dbaron sr=attinasi b=63574 2001-07-04 02:05:59 +00:00
attinasi%netscape.com 08bae81b8c Added rule to indent nested DL elements. b=8749 r=liv@duke.edu sr=waterson 2001-07-02 21:04:45 +00:00
bernd.mielke%snafu.de f2f47a832e Paint table background also in quirks mode. bug 46268, patch by fantasai@escape.com
r=bernd sr=attinasi
2001-07-01 16:40:56 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
waterson%netscape.com c47e29468b Bug 87229. Replace giant switch statements with bit-ops and jump tables where appropriate. r=attinasi, sr=hyatt 2001-06-29 22:42:46 +00:00
dbaron%fas.harvard.edu f7dfb32406 Fix BiDi regression from style system landing by correcting implementation of 'unicode-bidi' to be a non-inherited property, correctly mapping attributes to it, splitting text frames with both strong RTL and LTR characters, and stripping BiDi control characters. Code by me and lkemmel@il.ibm.com r=simon@softel.co.il sr=hyatt b=83958 2001-06-29 03:15:58 +00:00
glazman%netscape.com 5fecca8a3f CSS parser drops negations if attached to universal selector and a pseudo-element; b=87999, r=peterv, sr=hyatt 2001-06-27 10:41:49 +00:00
attinasi%netscape.com 6c90a145e2 Make floated tables non-floated so they print correctly (temporary hack). b=74738, r=kmcclusk sr=waterson a=waterson
Follow-Up bug to remove temporary hack is bug 85768
2001-06-22 06:42:57 +00:00
dbaron%fas.harvard.edu 9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
waterson%netscape.com e90560f4d0 Bug 81776. Give the hr frame some inline margins to bamboozle the code that tries to avoid marking lines dirty in PrepareResizeReflow(). Lame, but localized. r=dbaron, sr=attinasi, a=asa. 2001-06-20 00:54:39 +00:00
dbaron%fas.harvard.edu d825ec0bc7 Correct matching of dashmatch (|=) according to recent CSS WG discussions and fix :not() bugs with class selectors, id selectors, and $= and ^= attribute selectors. r=hixie sr=attinasi a=asa b=83616 2001-06-19 22:46:08 +00:00
dbaron%fas.harvard.edu 1e471a5e40 Fix bustage from scc's checkin for bug 85271. 2001-06-17 07:38:01 +00:00
blakeross%telocity.com 117d6592b3 Textarea scrollbars have wrong cursor (65540). r=kerz sr=hewitt a=asa 2001-06-13 21:33:19 +00:00
karnaze%netscape.com a09256e383 bug 84378 - make whitespace:normal the default for tables (back the way it was before recent style changes), a=asa, sr=attinasi, r=alexsavulov 2001-06-13 02:32:26 +00:00
rods%netscape.com 7ebb9ec167 Backing change for Bug 82626, looks like round-off error in line height calculation 2001-06-11 19:29:14 +00:00
dbaron%fas.harvard.edu b659af71e9 Make implied universal selectors be equivalent to ns|* where ns is the default namespace, and make appropriate changes to our CSS files. This brings us into conformance with the CSS3 selectors draft and improves performance by reducing the number of universally hashed selectors. Most of this patch is by attinasi. (35847, 83482) Also make first-node/last-node rules in quirks.css non-universal to improve performance. (83839) r=rbs sr=waterson a=asa b=35847 2001-06-09 01:32:19 +00:00
rods%netscape.com 03abc1d1f3 setting line-height to 1em ! important, selects should not inherit the line height
nor should users be able to set it.
Bug 82626 r=kmcclusk sr=hyatt a=asa
2001-06-08 13:04:17 +00:00
attinasi%netscape.com 05d59e6b31 Disable Quirk ruels for XUL documents by setting the compatibility mode to Standard. b=83495 r=dbaron sr=hyatt a=blizzard 2001-06-06 23:34:17 +00:00
rods%netscape.com b935b2ac50 removed "! important" for input text so allows users to tailer border sizes
This reopens bug 25580, which I have marked won't fix
Fixes Bug 55336 r=kmcclusk sr=attinasi a=dbaron
2001-06-05 12:52:37 +00:00
dbaron%fas.harvard.edu d4918d0cb3 Miscellaneous performance fixes related to selector matching:
* cut in half the number of (expensive, universally hashed) selectors needed for many UA-stylesheet :link and :visited rules by implementing :-moz-any-link (bug 83484)
 * remove most of EnumerateTagRules since most of it does no useful work (bug 83506)
 * avoid refcounting of atoms for stack-based hash keys (bug 83511)
 * add logging (turned off, except for me) to evaluate effectiveness of RuleHash
 * add a namespace hash, which will be a big win once bug 35847 is fixed (bug 83497)
 * avoid repeated reallocation of mEnumList by setting the initial length to a minimum of 8
 * remove an unneeded variable in the beginning of SelectorMatches
 * fix one case in CSS error reporting (bug 65469), not part of default build
b=83482  r=attinasi@netscape.com  sr=waterson@netscape.com  a=asa@mozilla.org
2001-06-05 01:00:11 +00:00
hyatt%netscape.com 407949652d Fix for 83613. r=dbaron, sr=brendan, a=leaf 2001-06-01 21:04:23 +00:00
dbaron%fas.harvard.edu 478c463cd4 Adding newline to end of file to fix HP bustage. 2001-05-31 23:59:22 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
dbaron%fas.harvard.edu cfd9a7e6ca Fix build bustage within |#ifdef CSS_REPORT_PARSE_ERRORS| resulting from scc's string changes for bug 75220. Not part of default build. r=glazman a=tor 2001-05-23 14:18:38 +00:00
rods%netscape.com 2945ee5e62 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
dbaron%fas.harvard.edu 9d5bc0637c Work around crash by using nsSupportsArray::Clone instead of the buggy (82133) nsSupportsArray::AppendElements. Patch from glazman@netscape.com, r=dbaron, sr=attinasi, b=80057 2001-05-22 20:53:00 +00:00
peterv%netscape.com ce83a7c5ff Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst. 2001-05-21 13:01:41 +00:00
jst%netscape.com d31549f8ea Removing #include... 2001-05-21 03:14:39 +00:00
mkaply%us.ibm.com a817d2f3f3 #76020
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly
2001-05-20 22:44:05 +00:00
jst%netscape.com 77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
peterv%netscape.com d8dc78eb98 Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst. 2001-05-19 02:59:15 +00:00
dbaron%fas.harvard.edu 60b2f736c0 Simplify implementation of quirk for DD not in DL using :not() to improve performance (since we handle |content: ""| differently from the default). b=77954 r=hixie sr=waterson 2001-05-18 23:09:54 +00:00
ftang%netscape.com 5938ccae19 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
harishd%netscape.com 1a5a83dc13 75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.
2001-05-15 22:32:26 +00:00
jst%netscape.com 892417cdfb Checking in Boris Zbarsky's (bzbarsky@mit.edu) fix for bug 79818, making more CSSRules implement DOM interfaces. r=bryner, sr=jst 2001-05-15 08:26:13 +00:00
glazman%netscape.com 7939bfee97 nsDOMCSSDeclaration::GetCssText not implemented; b=79722, r=harishd, sr=jst 2001-05-15 08:25:03 +00:00
nhotta%netscape.com f023e39b47 Changed to make string as array so sizeof returns number of characters instead of a size of a pointer,
this fixes a wrong offset problem for parsing charset, bug 80114, r=attinasi, sr=blizzard.
2001-05-15 03:03:19 +00:00
glazman%netscape.com 73eec2d7f9 ViewCSS.getComputedStyle() returns empty list; b=62697, r=peterv, sr=jst 2001-05-14 11:23:53 +00:00
anthonyd%netscape.com 77d91686d8 rechecking in fix for 59005
r=rods
sr=kin
2001-05-11 02:33:50 +00:00
harishd%netscape.com 50404b6290 77746 - Remove style from the style stack on encountering the appropritate end tag.
78202 - Added text-decoration property for GetComputedStyle.
26347 - Anchor ( special element ) should be able to close phrasel elements
78140 - Putting back list-style-image support for getComputedStyle that got removed accidently.

r=heikki
sr=jst
2001-05-09 03:29:09 +00:00
jst%netscape.com f7460d0269 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 16:46:42 +00:00
mkaply%us.ibm.com bbb16707b2 #78728
r=pierre, sr=waterson
Change bool/true/false cases to PRBool/PR_TRUE/PR_FALSE
2001-05-08 14:19:01 +00:00
ftang%netscape.com 9501179328 fix #ifdef IBMBID bustage
change other.mUnicodeBidi to other->mUnicodeBidi
r=noone sr=onone
2001-05-08 08:13:12 +00:00
glazman%netscape.com 86e10e9db0 getComputedStyle was not implemented for text-align property; b=78709, r=harishd, sr=hyatt 2001-05-04 11:30:34 +00:00
pierre%netscape.com 74ffb14bf7 Fixed bloat metrics: added MOZ_COUNT_CTOR/MOZ_COUNT_DTOR to the style blobs. 2001-05-04 02:22:41 +00:00
jdunn%netscape.com 3866ca5116 Fixing tinderbox bustage
fixing per pierre's suggested patch on the n.p.m.b
r=pierre@netscape.com,jdunn@netscape.com
2001-05-03 20:37:06 +00:00
mkaply%us.ibm.com d55543cda7 OS/2 TB break - forgot a false 2001-05-03 18:05:27 +00:00
mkaply%us.ibm.com b4b92d9caf OS/2 TB break - need to change true to PR_TRUE and false to PR_FALSE 2001-05-03 16:09:42 +00:00
pierre%netscape.com 8c7ba4bba1 Changed 2 stray |bool|s to |PRBool| to make OS/2 happy. Thanks to dbaron. 2001-05-03 15:40:05 +00:00
pierre%netscape.com 08aac85e54 43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson. 2001-05-03 13:20:48 +00:00
pierre%netscape.com 45e5ab78ac 78541 Typos in nsCSSStyleRule.cpp. Fix by sfraser, r=valeski. 2001-05-03 07:39:57 +00:00
pierre%netscape.com 2ae03292f4 74773 UMR in AccumulateCRC(). r=attinasi 2001-05-02 10:55:08 +00:00
pierre%netscape.com e9070a9f0a 14448 'border' property not resetting 'border-color' to initial value. tested=dbaron/hixie 2001-05-02 10:31:31 +00:00
pierre%netscape.com 8585a14bb1 66190 External style sheet with unrecognized charset is ignored / 63502 Content-Style-Type don't ignore parameters. r=attinasi/glazman 2001-05-02 10:24:33 +00:00
rbs%maths.uq.edu.au bce1ab71b4 Restore default fixed-font that was inadvertently changed b=76531 2001-05-02 07:40:37 +00:00
rbs%maths.uq.edu.au 651dbbfef2 Fix bug 76567 (load viewsource.css on demand rather than at startup). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst 2001-05-02 04:53:38 +00:00
blakeross%telocity.com bcb010be4c View source uses background from prefs and hardcoded text color (62678, patch by bzbarsky@mit.edu). r=dbaron sr=attinasi 2001-05-01 03:19:46 +00:00
dbaron%fas.harvard.edu 60db9f50dc Fix OS/2 bustage. |nsISupportsArrayEnumFunc| should not have |PR_CALLBACK|. 2001-04-28 04:30:42 +00:00
dbaron%fas.harvard.edu 33fd6335e4 Fix unneeded construction of |nsAutoString|s in |SelectorMatches| by pulling one out of a loop and rewriting matching of ^= and $= CSS3 selectors to remove the other. b=77063 r=glazman@netscape.com sr=attinasi@netscape.com
Fix O(N^2) cascading by replacing insertion into one large |nsISupportsArray| with appending into a hashtable (hashed by weight) of |nsISupportsArray| and then combining those arrays into the larger array.  b=77066  r=attinasi@netscape.com  sr=waterson@netscape.com
Reduce construction of |SelectorMatchesData| by retaining (so they can be used for matching other selectors) any new ones constructed in |SelectorMatchesTree| until the one originally passed to |SelectorMatchesTree| is destroyed.  b=77090  r=attinasi@netscape.com  sr=waterson@netscape.com
2001-04-28 02:16:16 +00:00
heikki%netscape.com 4095a51dde Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur. 2001-04-26 19:33:12 +00:00
disttsc%bart.nl 2bf96c5488 Bug 76531: "view source uses hard-coded pixel font size", author=Boris Zbarsky <bzbarsky@mit.edu>, r=rbs@maths.uq.edu.au, sr=attinasi 2001-04-26 10:09:06 +00:00
harishd%netscape.com d4272380d9 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann
2001-04-21 22:22:15 +00:00
pierre%netscape.com 7e44a669bf #12386 "Matching of case sensitive attribute values should be case sensitive" sr=waterson 2001-04-18 04:36:52 +00:00
timeless%mac.com 074967ec72 fix Bugzilla Bug 75632 [FIX]Bad HTML <button> CSS causes jiggling when clicked
patch by bzbarsky@mit.edu r=rods, sr=attinasi
2001-04-18 02:56:12 +00:00
timeless%mac.com 0c2ccb5c7f fix Bugzilla Bug 62678 View source uses background from prefs and hardcoded text color
fix by bzbarsky@mit.edu r=timeless, sr=attinasi
2001-04-18 02:54:41 +00:00
mjudge%netscape.com 5b3dcdb1f8 needed PR_MIN and MAX bustage 2001-04-18 00:33:23 +00:00
pierre%netscape.com ebd847e390 #59933. When a |smaller| font size results in something smaller than the |xx-small| of the base font, we use the parent's font size. Same thing for |larger| and |xx-large|. r=attinasi 2001-04-17 23:23:09 +00:00
rbs%maths.uq.edu.au 67e1cb2bbb Improve the speed of viewsource - Patch of Boris Zbarsky <bzbarsky@mit.edu> b=74486 r=rbs r=attinasi 2001-04-17 07:23:04 +00:00
dbaron%fas.harvard.edu 9db9333e20 Fix form controls and Windows/Unix classic skin to use new system colors -moz-FieldText, -moz-Dialog, and -moz-DialogText where appropriate to allow accurate representation of system colors on GTK.
Fix various CSS errors in themes.
b=67448  r=hewitt@netscape.com  sr=blizzard@mozilla.org
2001-04-17 02:54:21 +00:00
dbaron%fas.harvard.edu 3edaff6670 Add 3 proposed CSS3 system colors as -moz-FieldText, -moz-Dialog, and -moz-DialogText, which are needed to accurately represent system colors on GTK.
Restore GTK system color for WindowText to the correct value (fg rather than text).
Add debugging code that can be enabled to debug use of system colors in themes.
r=pierre@netscape.com  sr=blizzard@mozilla.org  b=67448
2001-04-17 00:46:07 +00:00
attinasi%netscape.com 075cacae44 Fix for problem where a StyleContext changes its CRC and does not update the styel context cache. b=73553 r=karnaze sr=waterson 2001-04-14 14:06:27 +00:00
attinasi%netscape.com 91b83e404f Fix for regression: only restrict HTML content from event pseudo application. b=75823 sr=hyatt 2001-04-14 06:34:50 +00:00
erik%netscape.com b87478bd9c bug 75066; author=simon@softel.co.il; r=jst; sr=erik; this change addresses
a comment made during the review for 75066 (nsBidiOptions ->PRUint32)
2001-04-13 21:46:28 +00:00
pinkerton%netscape.com eed227f300 make combo-box dropdown stand out more from the page. especially needed since the mac WDEF no longer draws an outline for popups. r=rods/sr=sfraser 2001-04-13 03:53:40 +00:00
attinasi%netscape.com ba852bc4c0 'Fixes' major performance problem with universal dynamic pseudo selectors by restricting their application in Standard mode to the same elements we restrict them to in QuirksMode. b=68821 r=waterson sr=shaver 2001-04-11 23:47:34 +00:00
hyatt%netscape.com 558eaf3113 Fix for 75189. r=jag. sr=attinasi 2001-04-11 03:55:39 +00:00
blakeross%telocity.com 80bf68ccea Implement css3 :empty selector (75186). Patch by the evil QA-turned-engineer Ian Hickson <ian@hixie.ch> who insists on using me shamelessly for my cvs account. r=pierre sr=attinasi 2001-04-11 02:55:41 +00:00
glazman%netscape.com 63836c542e fix for :not() due to 72302; b=71647, r=pierre, sr=attinasi 2001-04-10 13:43:20 +00:00
glazman%netscape.com 2eb62ea2f4 CSS2+ identifiers should support underscores ; b=74845, r=pierre, sr=attinasi 2001-04-10 11:09:07 +00:00
dbaron%fas.harvard.edu 75907de5fe Fix typo (missing commas) that caused some nested lists to have vertical margins when they shouldn't have had vertical margins. b=75132 r=disttsc@bart.nl, ian@hixie.ch sr=attinasi@netscape.com 2001-04-09 23:05:43 +00:00
hyatt%netscape.com fa6e409fe0 Fix regression to :-moz-bound-element caused by the :not checkin. 2001-04-08 22:22:47 +00:00
attinasi%netscape.com e1128e740c Fixed performance problem caused by unused nsAutoString in SelectorMatches.
Patch by bratell@lysator.liu.se, r=glazman@netscape.com sr=attinasi@netscape.com b=74830
2001-04-05 23:14:00 +00:00
blakeross%telocity.com c9b9689e26 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt 2001-04-05 19:53:13 +00:00
darin%netscape.com aaa5e0e11a Fixes bug 73905 "CSS/JS documents are not cached" r=pierre, sr=waterson 2001-04-04 07:20:46 +00:00
dbaron%fas.harvard.edu 2045177b94 Fix bustage (if CSS_REPORT_PARSE_ERRORS is defined) from scc's string branch landing. nsLiteralChar was removed, so use nsLocalString instead. r=disttsc@bart.nl sr=scc@mozilla.org 2001-04-02 21:14:23 +00:00
glazman%netscape.com 2fd3ed5466 Support for :last-child pseudoclass; checking in for Ian Hickson ; b=46916, r=pierre, sr=attinasi 2001-03-30 10:20:57 +00:00
harishd%netscape.com dd6505f471 71942 - Intialize the ptr to fix the crash.
49942 - Should not include parent when absolutely positioned.
Added border color property.
r=heikki
sr=jst
2001-03-30 02:08:48 +00:00
hyatt%netscape.com 88ce9916be Fix for 73695. r=danm, sr=waterson 2001-03-29 01:30:03 +00:00
attinasi%netscape.com 06ff9d4459 Avoid checking for duplicates when adding a context to the cache (perf. reasons). b=72217, r=jag, sr=brendan 2001-03-28 19:58:51 +00:00
glazman%netscape.com 278a76a988 fix for Stylesheet Dump in viewer. b=71648, r=pierre, sr=attinasi 2001-03-28 08:02:20 +00:00
attinasi%netscape.com 6be77f2c5e CSS-only fix - Fixes invalid values for content property. b=72315 r=dbaron, hwaara 2001-03-24 06:25:33 +00:00
glazman%netscape.com 050041f52f easy fix for 71647 ; that bug was hidden behind 72302, [s]r=attinasi 2001-03-21 09:40:41 +00:00
hyatt%netscape.com 7eb8765948 Fix for 62985, r=dbaron, sr=attinasi 2001-03-21 08:10:20 +00:00
glazman%netscape.com 4fc3eb0ce3 adds support for :not() css3 pseudo-class; b=71647, r=pierre, sr=hyatt 2001-03-20 11:49:20 +00:00
rods%netscape.com 755cc117c9 Change box sizing atom back to correct non-xul name
Bug 72226 r=waterson sr=attinasi
2001-03-20 11:42:56 +00:00
blakeross%telocity.com 1dba7198b2 Crash when reading past the end of a CSSRuleList. patch by Hixie (ian@hixie.ch). r=blake, glazman sr=jst 2001-03-19 22:12:12 +00:00
alecf%netscape.com 9d7ce42388 fix for bug 71852 sr=hyatt
fix trees by adding -xul to css property, so that scrolled boxes inherit their attributes appropriately
2001-03-14 07:34:04 +00:00
rods%netscape.com ce03f517d1 set all buttons to vertial-align=bottom in quirks
Bug 58190 r=pierre sr=buster
2001-03-13 13:51:33 +00:00
hyatt%netscape.com a540a46a90 Fix for 70704 and 71261. r=pierre, sr=attinasi 2001-03-13 02:34:02 +00:00
attinasi%netscape.com c12bc73aae Fixes text-indent for DD in quirks mode. Patch provided by fantasai, b=5119, r=attinasi,hixie sr=shaver 2001-03-12 22:36:11 +00:00
harishd%netscape.com 4bc3faf1f7 Correcting indentation. 2001-03-11 21:07:33 +00:00
harishd%netscape.com c18b6bd3c6 Indendation got messed up...somehow! CORRECTING. 2001-03-11 21:03:08 +00:00
harishd%netscape.com f32dd60ff9 69826 - Flush conten model to access named items
Fixed an assertion.
Added a few more properties for getComputedStyle and did some clean up.
r=heikki, sr=jst
2001-03-11 20:47:06 +00:00
rods%netscape.com 189ef15b2a Fixing height of btns and btn in file input in strict mode
Bug 67207 r=kmcclusk a=attinasi
2001-03-11 13:26:55 +00:00
attinasi%netscape.com afea68eefb Backed out last night's changes due to regression that exposed a fatal flaw in the idea of the fix. r=71561 2001-03-11 07:54:00 +00:00
attinasi%netscape.com 32af6bd77f Prevent text nodes from being passed to SelectorMatches to improve style resolution performance and ensure correctness. b=56117 r=pierre sr=waterson 2001-03-10 06:14:52 +00:00
hyatt%netscape.com d741df52e2 Fix for 71262 and 71485, r=jag, srs=shaver on 71262 and hewitt on 71485 2001-03-10 01:43:09 +00:00
erik%netscape.com a6910ae277 bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:13:03 +00:00
glazman%netscape.com e0f5ee4898 Cleanup of ParseSelector() ; b=71100, r=peterl, sr=attinasi 2001-03-08 23:27:39 +00:00
dbaron%fas.harvard.edu fc78650581 Fix CSS_REPORT_PARSE_ERRORS build bustage resulting from string changes. 2001-03-08 14:25:11 +00:00
rods%netscape.com 2d404e35ef Explicitly setting the padding to zero
Bug 69130 r=kmcclusk sr=hyatt
2001-03-08 02:58:12 +00:00
heikki%netscape.com 2ced3d1826 Bug 69830, cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=jst, sr=waterson. 2001-03-08 02:41:16 +00:00
law%netscape.com a96fc9cbfa Part of bug 57576; adding support for getting list-style-image; r=harishd, sr=jst 2001-03-08 00:55:01 +00:00
glazman%netscape.com 0c9d22b2c9 mSourceString in SelectorList was allocated, filled with a
reconstructed copy of ALL selectors in chrome and document,
unused and then deallocated ! b=70995, r=hewitt, sr=attinasi
2001-03-06 23:07:33 +00:00
hyatt%netscape.com 6946f71e1b Fix for 70809. r=attinasi, sr=brendan 2001-03-06 02:30:30 +00:00
hyatt%netscape.com 4d01b576e2 Outliner files are not part of build.
The other files are a fix for bug #70809.  r=attinasi, sr=brendan
2001-03-06 02:27:50 +00:00
dbaron%fas.harvard.edu 1261245491 Work in progress on CSS error reporting: fix the known false positives and duplicate messages and improve the error messages. It's still a hack that I wouldn't really want to enable by default, but it should be useful for debugging chrome CSS. r=glazman@netscape.com sr=attinasi@netscape.com b=65469 2001-03-06 01:57:30 +00:00
hyatt%netscape.com 9e4f2b23f8 Fix for 70704, r=brendan, sr=attinasi 2001-03-03 21:57:56 +00:00
harishd%netscape.com 8680ff8c03 Correcting an error.
r=heikki
2001-03-03 00:54:53 +00:00
glazman%netscape.com 99f88218ba enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi 2001-03-03 00:54:04 +00:00
harishd%netscape.com 65d723afce Added more properties(font,background,padding,border,z-index..etc) for getComputedStyle().
r=heikki,sr=jst.
2001-03-03 00:44:19 +00:00
harishd%netscape.com 768c3fca30 Moving a couple of methods to nsCSSProps to be used by nsGetComputedStyle().
r=heikki, sr=jst
2001-03-03 00:43:12 +00:00
disttsc%bart.nl 277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
dr%netscape.com 5cb164a8de 70386 (warning fix), r=timeless 2001-03-01 02:44:24 +00:00
waterson%netscape.com 9fe59f23f0 Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
heikki%netscape.com 5c811dfbf3 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com 2001-02-19 21:50:04 +00:00
heikki%netscape.com 915749084a Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet. 2001-02-19 12:55:42 +00:00
heikki%netscape.com d59b45ca9f Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet. 2001-02-19 12:10:13 +00:00
hyatt%netscape.com e050817098 Fix for 67739. r=pierre,attinasi, sr=ben 2001-02-15 21:25:31 +00:00
hyatt%netscape.com 6d784c14e8 Fix for 67739. r=pierre,attinasi sr=ben 2001-02-15 21:24:47 +00:00
glazman%netscape.com 55715aa6e7 patch for #62607 : cssText field of CSSRule is incomplete, missing curly braces. r=brade, sr=attinasi 2001-02-13 14:10:38 +00:00
glazman%netscape.com 9968e71541 patch for #65448 : css parser refused multiple ID selectors in same sequence; r=dbaron,attinasi sr=attinasi (buster's delegation) 2001-02-13 14:06:29 +00:00
glazman%netscape.com 2156fd088a #52381 corrects pseudo-elmts handling in nsCSSSelector::ToString ; r=attinasi,saslawsky sr=vidur,waterson 2001-02-12 13:04:06 +00:00
harishd%netscape.com bc2996109d 68008 - After evaluating the external JS content make sure to that the parser is not blocked before resumeparsing.
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.
2001-02-09 22:36:23 +00:00
pierre%netscape.com 9af01acf22 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
blakeross%telocity.com a32619ddd8 HTML tabindex attribute doesn't work for <button> and <input type="button"> (36217). r=hixie a=ben 2001-02-07 00:39:29 +00:00
harishd%netscape.com a7c109086e Use resumeParsing instead of EnableParse().
r=jst
sr=vidur
2001-02-06 23:31:17 +00:00
pollmann%netscape.com cb9b8744e1 Bug 61605: Make <isindex> be a block element, r=jst@netscape.com sr=vidur@netscape.com 2001-02-06 00:49:32 +00:00
disttsc%bart.nl 8d5cb84a07 Replace iostream.h cerr << dependancy with NS_WARNING. bug=67536, r=jst, sr=blizzard 2001-02-03 09:09:24 +00:00
attinasi%netscape.com 26938418e4 Leave floated list-items as display:list-item. b=32200, r=buster sr=waterson 2001-02-02 21:16:00 +00:00
rods%netscape.com d1fc884b89 makes optgroups so they you can't click on them and it fixes the focus issue.
Bug 63006 r=kmcclusk sr=buster
2001-02-01 22:45:32 +00:00
dbaron%fas.harvard.edu 6a1cef6f9a Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
dbaron%fas.harvard.edu 1e046d05c0 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
attinasi%netscape.com 73fc7b1a0d Performance fix: moves content-specific queries out of SelectorMatches to reduce number of times called in rule matching. b= 53620 r=dbaron sr=waterson 2001-01-27 05:48:41 +00:00
mcafee%netscape.com 7ecf530933 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
hewitt%netscape.com b061c11ad1 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson 2001-01-22 04:03:48 +00:00
pierre%netscape.com bda1df7356 added brakets in switch() statements in a vain attempt to fix the unix build bustages 2001-01-20 23:33:29 +00:00
pierre%netscape.com 62bf433a35 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
buster%netscape.com 6a93e50850 bug 56432 ()
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson
2001-01-16 22:10:04 +00:00
blakeross%telocity.com c72ba88ee8 Fix 65025: scrollbars in Mac Classic are wrong color. patch by lordpixel. r=blake sr=blizzard 2001-01-16 01:27:20 +00:00
attinasi%netscape.com 5fc0219a0b Floated images now have a 3px margin in Quirks mode: b=58899 r=hixie, sr=buster 2001-01-12 20:11:32 +00:00
saari%netscape.com 9b46ffc535 Fix for 58957, plugins don't get key events on MacOS. r=bnesse, sr=hyatt 2001-01-11 08:17:36 +00:00
pierre%netscape.com 7d4f85337f Not part of the build. Momentarily check in the StyleContext metrics before doing deeper changes. 2001-01-08 00:24:41 +00:00
rods%netscape.com edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
attinasi%netscape.com e1c087f132 <input type=image> now shows focus. b=2504 r=rods sr=buster 2001-01-03 23:34:54 +00:00
karnaze%netscape.com 8820c32070 bug 63785 - removed the patch from bug 33784. 2001-01-02 23:42:23 +00:00
attinasi%netscape.com b2c258ed3c Fixed leak in StyleContextCache: destructor was not cleaning up hash table entries. r=dbaron sr=buster b=63627 2001-01-02 23:13:49 +00:00
blakeross%telocity.com 02afa00bbd Fix 38416: entire textarea should have edit cursor. patch proposed by neil@parkwaycc.co.uk. r=blake sr=sfraser 2000-12-24 09:03:31 +00:00
mkaply%us.ibm.com 6767d8308d OS/2 TB breakage
PR_CALLBACK
2000-12-22 02:39:03 +00:00
attinasi%netscape.com e3de75832c Turning the Style Context FastCache back on. a=hyatt@netscape, reviewed previously by pierre@netscape.com 2000-12-21 23:34:44 +00:00
karnaze%netscape.com 64cc04936b bug 33784 - added simple rule for "td div p", sr=buster, r=attinasi 2000-12-21 22:50:02 +00:00
attinasi%netscape.com 95bcfca9fc Turned on Style Context Data Sharing. b=39618, r=pierre, sr=hyatt 2000-12-15 06:09:50 +00:00
attinasi%netscape.com e81ef90d10 <abbr> and <acronym> elements with title attributes are now styled with dotted underlines and get a help cursor by default. b=56702 r=rods sr=buster 2000-12-14 18:34:05 +00:00
rods%netscape.com 9fe3465b7a The changes to the select are to bring it back inline with what the rules were before they were optimized
The checkbox changes are to give it margins in standard mode and themake the vertical-align bottom so it is positioned correctly on the line.
Bug 62445, Bug 62350 r=kmcclusk, sr=buster
2000-12-14 15:18:45 +00:00
attinasi%netscape.com d97aa7f2cb Changes to put style data into the layout regression data output. r=karnaze, a=waterson 2000-12-07 15:31:40 +00:00
blakeross%telocity.com 68cf67e019 Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard 2000-12-05 21:49:42 +00:00
dbaron%fas.harvard.edu 7ccca40aab Fix leak of atom and fix return value propagation from SetMedia. b=58697 r=pierre@netscape.com sr=waterson@netscape.com 2000-12-02 15:53:42 +00:00
hyatt%netscape.com 8ddf4e7881 breaking out forms style rules into their own style sheet. a=ben@netscape.com 2000-12-01 08:26:36 +00:00
pinkerton%netscape.com a3d4c053ef Refactor some of the window key handler and add drag and drop handlers to the window root. Also move the html bindings (and platform bindings) to res, removing the chome dependency. a=hyatt. 2000-11-29 06:01:33 +00:00
dbaron%fas.harvard.edu 638b1b16f4 Fix leak of an nsIURI (the URL of the quirk stylesheet). Patch from inaky.gonzalez@intel.com. r=attinasi@netscape.com sr=brendan@mozilla.org b=43656 2000-11-08 03:13:53 +00:00
hyatt%netscape.com 824a44fab8 Putting back 54150 on the trunk. ben,waterson. Finally found the reason it needs to be this way. 2000-11-04 09:10:48 +00:00
attinasi%netscape.com 9c8a885872 Fixed regression: I had accidentally put the link-underlining rules back into html.css, regression bug 20760. r=peterl@netscape.com, sr=buster@netscape.com 2000-11-02 23:46:22 +00:00
attinasi%netscape.com 286fc76baa Made rules for background on select buttons !important. b=57234 r=dbaron,rods a=buster 2000-10-30 22:25:49 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 02371534f1 Fixing printf problem with MOZ_TIMER_DEBUGLOG 2000-10-28 10:11:27 +00:00
warren%netscape.com d1ffc4bd94 Attempted to fix opt problem 2000-10-28 02:46:30 +00:00
warren%netscape.com 0c836a5683 more fixes for dbaron 2000-10-28 01:28:06 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
buster%netscape.com 03568a9420 bug 57054 (<MAP> should be display:inline; in quirks mode)
r=rickg
a=waterson
2000-10-27 13:56:33 +00:00
attinasi%netscape.com 99ce6eef2c Fix was already approved for checkin on the branch, now updating trunk as well. b=56194, r=karnaze a=buster (for RTM bug 40340) 2000-10-26 00:34:08 +00:00
hyatt%netscape.com b97a5ea3cf Fix for 56353. r=buster, r=waterson, a=brendan. Also reverting a style
change to a prop list for moz-binding to the state it was on the branch (just to
be compatible).
2000-10-18 08:03:24 +00:00
mstoltz%netscape.com f1137e89ec Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
blakeross%telocity.com 5367802c2b Fix 55832: css "width: 100%" rendering incorrectly for button elements. patch by djoham@criadvantage.com. r=ianh a=ben, rtm++ 2000-10-11 23:50:37 +00:00
attinasi%netscape.com f959a038e4 Implemented the backend for the following prefs: Override Document colors, Override document fonts, Link and Visited link colors, and Underline links. Provided the ability to disable the preferences as well, so Composer can show changed fonts and colors. These changes are stewing on the trunk for a day or so before making their debut on the branch. b=40340, r=karnaze,pierre a=buster 2000-10-11 08:33:01 +00:00
pierre%netscape.com c9409e6184 bug 47846: Crash opening mail message. r=attinasi+brendan, a=phil 2000-10-09 08:51:50 +00:00
attinasi%netscape.com e3dac79853 Fixed CSS cursor inheritance bug. b=51113, r=pierre@netscape.com, a=buster@netscape.com 2000-10-04 22:25:15 +00:00
rods%netscape.com 965ad980fb Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster
2000-10-04 13:39:07 +00:00
rods%netscape.com 2732c621e8 subtract off 2 point sizes for fonts for List and Button on Windows and make sure
it is zero or greater
Bug 53744, r=attinasi, sr=buster
2000-10-04 02:17:44 +00:00
bryner%uiuc.edu 320b10e024 Fix for bug 53723 (gray form control on Linux). r=pierre, ianh,
pavlov.  sr/a=ben.
2000-10-04 00:38:03 +00:00
hyatt%netscape.com bc40a1821f Fix for 53417. r=brendan, a=brendan 2000-09-27 20:23:49 +00:00
mozilla.BenB%bucksch.org df4e806ceb 51285: Move |EnsureBlockDisplay| to make it less agressive. Patch by attinasi, r=buster 2000-09-23 17:59:20 +00:00
rods%netscape.com 336e477482 The font size for selects and buttons needs to reduce the font size by 2 points
from the default font size set in prefs
b=53744 a=buster
2000-09-23 00:30:04 +00:00
attinasi%netscape.com 114655d1b7 Added viewsource.css: style rules for viewsource window, extracted from html.css. Not Part Of Build, Not currently used. a=ianh@netscape.com 2000-09-22 00:53:20 +00:00
pierre%netscape.com 3cfd5c30d9 fix related to the reconstruction of html.css (#6625) and to css system fonts (#1021): in quirks mode and on each platform, use the same fonts as Nav4 for edit fields, lists and buttons. r=rods a=buster 2000-09-21 10:21:23 +00:00
pierre%netscape.com 3b93ffe848 bug 6625 et al: reconstruction of html.css, ua.css and quirks.css. Checked in for Ian Hickson (ianh@netscape.com). r=pierre a=buster 2000-09-21 10:20:23 +00:00
jst%netscape.com 1a5288822d Fixing nsbeta3+ bug 52572. Renaming CSSValue::valueType to CSSValue::cssValueType to be up-to-date with the latest changes to the DOM Level 2 spec. r/a=vidur, r=pollmann 2000-09-19 05:37:23 +00:00
rayw%netscape.com 3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
dbaron%fas.harvard.edu 19bd466446 Change the names of behavior and opacity DOM properties to MozBinding and MozOpacity, and make them work again with new CSS property names. r=jst, except for case change (Moz not moz) agreed on mozilla-style b=3935 2000-09-14 14:18:24 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
kandrot%netscape.com 861c2cc6cb Fix for bug #51944. This change removes the stored selector text, and adds a method to the selector to generate the text, if needed.
r=vidur
2000-09-13 00:05:04 +00:00
pierre%netscape.com e275549edd 50804: nicer look for focus outlines. Fix sent by henris@clinet.fi, r=pierre. 2000-09-12 09:54:31 +00:00
buster%netscape.com 11241fb485 bug 14280
nsTextTransformer.cpp.
  I moved where we translate the nbsp to a (ascii 32 space character) until after the i18n routines are called, so they can properly account
  for the space as non-breaking and therefore part of the first word in the block.

bug  39901 and 38396
  nsHTMLImageLoader.*, nsImageFrame.cpp
  I backed out the bad fix for 38396, and put in a new fix where I store a little state in the image loader flags for cases where the image
  gets an unconstrained reflow and has %-based width.  This does not handle %-based min-width or max-width, that would be a separate
  bug that I'll file shortly.  But this fixes the vast majority of real cases out there.

bug  18754
  nsHRFrame.cpp, quirks.css, nsCSSFrameConstructor.cpp, last part of nsLineLayout.cpp
  in quirks mode, I changed HR from a block element to a replaced inline element that acts like a block, using generated content to get
  newlines before and after the HR.  This isn't ideal, but it gets us backwards compatibility, and ian and dbaron have blessed the approach.

bug  50257
  nsLineLayout.cpp
  Did a couple of things in here:
       * The actual fix is controlled by FIX_BUG_50257 #define symbol.  This basically says that an break (BR) will always fit on a line.
         A more general solution would probably be to round up to the nearest pixel, and if the thing is less than a pixel make it fit on a
         line.  This is a wimpier, safer solution.
       * I noticed that the way we got the compatibility mode was way out of date, very wasteful.  So I fixed that.
       * I noticed that there were a bunch of redundant SetFlag calls.  Since the flag variable is initialized to 0, setting a flag to 0 on a newly
         created object is a waste.

  nsBlockFrame.cpp  --  just added a comment to some odd looking code, to make sure no one comes along later and breaks it
2000-09-11 21:15:02 +00:00
rods%netscape.com fd9585e532 adding rules for show text in a disabled state in the button element
b=41252 r=attinasi
2000-09-09 22:21:15 +00:00
valeski%netscape.com a0ab5edcee 50188. ifdef debug'ing stderr output so we don't spew it in release builds. 2000-09-08 22:43:58 +00:00
dbaron%fas.harvard.edu c2cbfd2d6d Clean up reporting of CSS parser errors: Use |nsAReadableString|s and an additional macro to allow all the error reporting to be done by macros. Also clean up a few comments. Not part of the default build (you must define CSS_REPORT_PARSE_ERRORS).
Make namespace prefixes case insensitive within CSS by normalizing to lower-case.  b=35813

r=attinasi
2000-09-08 02:05:09 +00:00
rods%netscape.com b63d9a4a60 changed fonts to use CSS3 fonts so they can be overridden
Bug 44656 r=kmcclusk
2000-09-06 14:18:02 +00:00
rods%netscape.com d21753a7fc For NavQuirks we need to set the appropriate font for buttons/selects or for text and textarea
If these fonts are set in the html.css or quirk.css they cannot be overriden
We now use the CSS3 font names and for NavQuirks we adjust the fonts to match Nav 4.x
The change is to give field fonts monospace instead of sans-serif
Bug 44656 r=dcone
2000-09-06 14:02:44 +00:00
dbaron%fas.harvard.edu e0e16fb826 Fix misleading indentation. r=attinasi 2000-09-06 02:34:35 +00:00
dbaron%fas.harvard.edu c9392da530 Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi 2000-09-06 02:27:46 +00:00
dbaron%fas.harvard.edu cfceba7dca Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.
2000-09-06 02:17:26 +00:00
dbaron%fas.harvard.edu 8c105459ae Change the names of CSS properties that are not part of the CSS2 specification by adding a -moz- prefix. Change the names of those that are used internally to use -x-, just for documentation. b=3935 r=attinasi 2000-09-06 02:15:18 +00:00
dbaron%fas.harvard.edu c3bbbaf9c8 Fix build warning by renaming variable. r=disttsc@bart.nl 2000-09-05 02:08:41 +00:00
BlakeR1234%aol.com deb4283b37 Really fix nsbeta3+ 38506 (same reviewer as before) 2000-08-29 23:29:24 +00:00
BlakeR1234%aol.com 6d8155ed3d The rest of the fix for bug 38506, same r=/a= (nsbeta3+) 2000-08-28 22:38:25 +00:00
BlakeR1234%aol.com 7a4202df09 Fix bug 38506, the user shouldn't be able to select the text of buttons. r=mjudge, a=nsbeta3+/PDT must fix 2000-08-26 01:45:46 +00:00
rods%netscape.com 239bac387a changed mozoutline to -moz-outline
b=48973 r=ianh
2000-08-25 14:28:22 +00:00
rods%netscape.com 6029b91d97 changed outline to be mozoutline temporarily
b=48973 r=attinasi
2000-08-24 13:51:48 +00:00
rods%netscape.com 7f0dcda2ea Temporarily changed outline to be mozoutline, this will enable us to get links
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi
2000-08-24 13:45:48 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
rods%netscape.com 2838a98adc In NavQuirks mode it makes the default font for CSS3 fonts: button, field, caption sans-serif
b=33312 r=kmcclusk
2000-08-23 10:28:28 +00:00
jband%netscape.com 5b1229a9a8 Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi 2000-08-22 06:57:32 +00:00
warren%netscape.com a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
scc%mozilla.org eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
pierre%netscape.com a4a9237d47 43420 + CSS3 update: renamed "text-align:-moz-default" into "text-align:start" 2000-08-17 13:28:18 +00:00
dbaron%fas.harvard.edu 74fd1f046f Reduce the risk of parser leaks by releasing the parsers owned by CSSLoaders when no longer needed. r=attinasi 2000-08-16 23:04:42 +00:00
rods%netscape.com 97e073283f added textarea with -moz-fixed so it has the proper default font in quirks mode
b=44656 r=kmcclusk
2000-08-14 14:10:21 +00:00
mkaply%us.ibm.com 5004137c2d OS/2 and AIX Tinderbox break
I have no idea why we don't like having two semicolons in a row, but who the heck would put them there?
2000-08-12 20:26:33 +00:00