Commit Graph

1413 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
268f16e017 Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar.  So ParseRule() has to return an array of
rules, not just a rule.  r=dbaron, sr=jst
2001-09-06 13:14:35 +00:00
glazman%netscape.com
7d3af61e67 getComputedStyle answered for background-color #ffffff instead of transparent; b=97771, r=pierre, sr=hyatt 2001-09-06 08:20:50 +00:00
attinasi%netscape.com
09b3ca9383 Two QuirkMode only fixes: 1) prevent bullets from getting resized with LI and 2) collapse margins for empty elements in BODY and table cells. b=97351 r=pierre sr=waterson b=97361 r=pierre sr=hyatt 2001-09-06 01:22:55 +00:00
rbs%maths.uq.edu.au
675465a9c2 Back-end to allow viewsource to toggle wrapping of long lines. b=22022 r=bzbarsky sr=jst 2001-09-05 01:02:58 +00:00
bzbarsky%mit.edu
a0c586aa4f Fix the nsIDOMMediaList interface to have the right properties. Make
media rules implement nsIDOMCSSMediaRule.  Fix insertRule() to be able
to insert into the middle of a rule list.  Fix issues with stylesheets
not getting dirtied when media lists are modified.  bug 93977,
r=pierre, sr=jst
2001-09-05 00:00:18 +00:00
rods%netscape.com
42ad4852f4 the dropdown will have a top border now.
Bug 88399 r=dcone sr=attinasi a=dbaron
2001-08-28 19:40:02 +00:00
rods%netscape.com
401d90d28c Having it always size in Quirks mode, changing the sizing from clamping down to Nav 4.x size
to now obey border and padding.
Bug 96630, Bug 97139 r=dcone sr=attinasi a=dbaron
2001-08-27 23:28:24 +00:00
dbaron%fas.harvard.edu
210b9f6437 Correct fix for 96414: the 'font' shorthand requires both size and face. r=rods sr=attinasi a=chofmann
Forgotten half of fix for 47149: make LABEL a normal inline element.  r=rods  sr=attinasi  a=asa
2001-08-27 20:56:12 +00:00
rods%netscape.com
bf292d021e Refixing style for buttons for fix Bug 96630 2001-08-27 13:59:37 +00:00
rods%netscape.com
32ac2b3bc5 Using -moz-fixed for textareas, the size is not "hooked" to the browser's default fixed size now
but will be when fixed to -moz-fixed get put in for 0.9.5
Bug 96414 r=rbs sr=hyatt a=asa
2001-08-27 12:22:48 +00:00
rods%netscape.com
8d41999309 Having it always size in Quirks mode, changing the sizing from clamping down to Nav 4.x size
to now obey border and padding.
Bug 96630 r=dcone sr=attinasi a=dbaron
2001-08-27 11:44:28 +00:00
rjesup%wgate.com
6f3e4115eb Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
hyatt%netscape.com
62d3de24fd Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
dcone%netscape.com
61c42e0de0 b=73884 r=peterl sr=attinasi invert mode support added 2001-08-21 22:37:17 +00:00
rods%netscape.com
70eac9d60f Oops, left in a rule I used for testing.
It's removed.
2001-08-21 15:12:45 +00:00
rods%netscape.com
b8f1b52da9 Disabling Quirks sizing for form controls, it can be put back in via a pref
and uncommenting a line in quirk.css
Bug 91602 r=dcone sr=attinasi
2001-08-21 14:01:55 +00:00
dbaron%fas.harvard.edu
113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
bryner%netscape.com
422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
cathleen%netscape.com
be72d98064 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
ian%hixie.ch
1796ba6b2b Treat classes case-insensitively in quirks mode. Bug 93371; r=pierre sr=attinasi 2001-08-16 07:42:15 +00:00
cls%seawood.org
a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
dbaron%fas.harvard.edu
8441ffb1a9 Fix errors in my patch for bug 90791 that were causing a crash. b=93106 r=waterson, brendan, pierre sr=hyatt 2001-08-14 02:54:35 +00:00
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