153 Commits

Author SHA1 Message Date
blakeross%telocity.com
694fbc6383 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
git-svn-id: svn://10.0.0.236/trunk@91473 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 19:53:13 +00:00
glazman%netscape.com
ea38e16949 Support for :last-child pseudoclass; checking in for Ian Hickson ; b=46916, r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90881 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 10:20:57 +00:00
glazman%netscape.com
4942f74de3 easy fix for 71647 ; that bug was hidden behind 72302, [s]r=attinasi
git-svn-id: svn://10.0.0.236/trunk@89998 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 09:40:41 +00:00
hyatt%netscape.com
0431ed8c18 Fix for 62985, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89993 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 08:10:20 +00:00
glazman%netscape.com
710439fbb7 adds support for :not() css3 pseudo-class; b=71647, r=pierre, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89901 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 11:49:20 +00:00
blakeross%telocity.com
84d0860013 Crash when reading past the end of a CSSRuleList. patch by Hixie (ian@hixie.ch). r=blake, glazman sr=jst
git-svn-id: svn://10.0.0.236/trunk@89816 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:12:12 +00:00
hyatt%netscape.com
7eeaba98a2 Fix for 70704 and 71261. r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89435 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:34:02 +00:00
attinasi%netscape.com
4df5564876 Backed out last night's changes due to regression that exposed a fatal flaw in the idea of the fix. r=71561
git-svn-id: svn://10.0.0.236/trunk@89273 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 07:54:00 +00:00
attinasi%netscape.com
3cea127bcd Prevent text nodes from being passed to SelectorMatches to improve style resolution performance and ensure correctness. b=56117 r=pierre sr=waterson
git-svn-id: svn://10.0.0.236/trunk@89228 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 06:14:52 +00:00
glazman%netscape.com
0c17ea7bbc enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88435 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:54:04 +00:00
waterson%netscape.com
072b4036bc Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@87623 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:01:34 +00:00
hyatt%netscape.com
3f460ba63e Fix for 67739. r=pierre,attinasi, sr=ben
git-svn-id: svn://10.0.0.236/trunk@87132 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:25:31 +00:00
glazman%netscape.com
d1b1be34d9 patch for #65448 : css parser refused multiple ID selectors in same sequence; r=dbaron,attinasi sr=attinasi (buster's delegation)
git-svn-id: svn://10.0.0.236/trunk@86915 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:06:29 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
dbaron%fas.harvard.edu
bfc35757e1 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
git-svn-id: svn://10.0.0.236/trunk@85638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:58:15 +00:00
attinasi%netscape.com
796ab90cd9 Performance fix: moves content-specific queries out of SelectorMatches to reduce number of times called in rule matching. b= 53620 r=dbaron sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85616 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 05:48:41 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
jst%netscape.com
7e0575bfee 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
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
warren%netscape.com
e5706a7236 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
dbaron%fas.harvard.edu
38b11b0554 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963
git-svn-id: svn://10.0.0.236/trunk@74961 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:17:53 +00:00
attinasi%netscape.com
8bfb7bdd72 Reversed the order of testing for link-elements so that the most common (anchors) are tested first. Update to earlier checkin.
git-svn-id: svn://10.0.0.236/trunk@72852 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:41:25 +00:00
attinasi%netscape.com
7eb58b89d3 Fixed bug 6306: AREA and LINK elements are now treated like links when it comes to matching selectors. Cleaned up SelectorMatches as well by moving link-logic into new method. r=kmcclusk@netscape.com b=6306
git-svn-id: svn://10.0.0.236/trunk@72842 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:48:21 +00:00
waterson%netscape.com
ffe15b5764 Use NS_LITERAL_STRING instead of an nsAutoString to avoid copy/inflate on platforms that support two-byte wchar_t. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@72637 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:45:07 +00:00
attinasi%netscape.com
d263a60d9c Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@71737 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:07:57 +00:00
mkaply%us.ibm.com
9d4a029884 # 37239
r = jst, a = waterson
OS/2 bringup - PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71532 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:15:32 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
attinasi%netscape.com
3da8003982 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:45:06 +00:00
waterson%netscape.com
aeed9836c3 Bug 29611. Use 'GetHref()' to retrieve anchor tag's href. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@71338 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 04:27:47 +00:00
shaver%mozilla.org
6e2756c80d properly handle updating of class or id, #39642, r=attinasi, a=waterson
git-svn-id: svn://10.0.0.236/trunk@71169 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:00:31 +00:00
mkaply%us.ibm.com
112434216b # 37239
r = rickg, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)


git-svn-id: svn://10.0.0.236/trunk@71166 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 14:09:34 +00:00
sfraser%netscape.com
f72dc9c694 Fix the static nsCOMPtr<nsIAtom> atom("type"), replacing it with nsHTMLAtoms::type, to fix an assertion on shutdown.
git-svn-id: svn://10.0.0.236/trunk@70245 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:23:59 +00:00
shaver%mozilla.org
f792546214 Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.


git-svn-id: svn://10.0.0.236/trunk@69948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:43:33 +00:00
attinasi%netscape.com
32ce610d53 Added support for simple xlinks: we now treat simple xlinks like links for styling. b=38026 r=dbaron
git-svn-id: svn://10.0.0.236/trunk@69891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:30:27 +00:00
jst%netscape.com
f37851bcbd In stead of throwing an exception when the user asks for the owner rule of style sheet we return null.
git-svn-id: svn://10.0.0.236/trunk@69568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:10:24 +00:00
mkaply%us.ibm.com
de7be3a9e5 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@67947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:07:11 +00:00
pierre%netscape.com
8be7e09c16 35261. Implement :last-node (P and Hx tags inside a cell do not collapse the cell). Change TD to collapse the bottom margin on the last-node.
git-svn-id: svn://10.0.0.236/trunk@67510 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:02:12 +00:00
scc%netscape.com
62b1c05b32 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67407 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:38:50 +00:00
dbaron%fas.harvard.edu
c266c49303 Fix bug 37082 - attribute selector matching for ~= and |= backwards. r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67335 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:07:12 +00:00
jst%netscape.com
3a55dd1f0f Initialize mRefCnt in the constructor, duh!
git-svn-id: svn://10.0.0.236/trunk@67318 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:24:30 +00:00
jst%netscape.com
e7caf2b7ff Landing DOM Level 2 CSS and Views interfaces and implementation.
git-svn-id: svn://10.0.0.236/trunk@67227 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 13:58:56 +00:00
attinasi%netscape.com
ce64bdd8ed Removed warnings: very basic changes
git-svn-id: svn://10.0.0.236/trunk@66933 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 19:06:37 +00:00
dbaron%fas.harvard.edu
a37963e5fe Prevent selector matching from incorrectly failing due to greedy matching. b=24031 r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66820 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:47:18 +00:00
waterson%netscape.com
9730aa1e21 Back out changes my changes to nsILinkHandler because of performance problems.
git-svn-id: svn://10.0.0.236/trunk@66246 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 04:34:20 +00:00
braddr%puremagic.com
2ecf22f141 eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan


git-svn-id: svn://10.0.0.236/trunk@66111 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 00:23:57 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
scc%netscape.com
8a7f53cc88 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
waterson%netscape.com
76b91f9af2 Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre
git-svn-id: svn://10.0.0.236/trunk@65837 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:55:47 +00:00
attinasi%netscape.com
9657bf7bed Implemented Style Size Dump. r=rickg b=26565
git-svn-id: svn://10.0.0.236/trunk@64709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:36 +00:00