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

52 Коммитов

Автор SHA1 Сообщение Дата
Arpad Borsos c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Serge Gautherie 792daaea3b Bug 78388 - Fix uses of |new nsAutoString / nsCAutoString| in RuleProcessorData, r+sr=dbaron 2008-08-28 17:38:34 +02:00
L. David Baron 8cd01e114a Implement media queries, part 3: infrastructure for dynamic change handling at the rule processor and style set level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
Boris Zbarsky 7759eed086 Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
L. David Baron 07877d20da Implement :first-of-type, :last-of-type, and :only-of-type. b=128585 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
Daniel Glazman ext:(%20and%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) 0474b185bc Implement :nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
bzbarsky@mit.edu 4d53ccf996 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
benjamin@smedbergs.us baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
jwatt%jwatt.org bbb6339dc9 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc 2007-01-04 10:53:59 +00:00
dbaron%dbaron.org b9a3e06d7d Destroy chained RuleProcessorData interatively. b=323504 r+sr=bzbarsky 2006-04-27 00:35:05 +00:00
dbaron%dbaron.org 5dae0dcf6b Split the nsCSSRuleProcessor half of nsCSSStyleSheet.cpp into nsCSSRuleProcessor.cpp. b=332136 r+sr=bzbarsky 2006-04-03 23:52:17 +00:00
dbaron%dbaron.org 30f8db359a File comments that show up in LXR and provide a quick summary of what's in each file. 2006-03-25 05:47:31 +00:00
bsmedberg%covad.net 78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bryner%brianryner.com 1226dbed26 Convert CSSGroupRule and CSSStyleSheet to use nsCOMArray. Bug 312491, r+sr=bzbarsky. 2005-10-15 20:21:20 +00:00
bryner%brianryner.com 48082c9284 Speed up matching class rules by caching the class attribute, rather than looking it up for each rule. Remove HasClass now that it's no longer needed. Bug 310236, r+sr=dbaron. 2005-10-08 23:06:27 +00:00
dbaron%dbaron.org d3f2173911 Improve comments. r=bzbarsky a=comment changes only 2005-07-26 02:28:02 +00:00
bzbarsky%mit.edu 4b8823720e Add an nsIContent api for getting the intrinsic state of the content; this can
be used to implement more pseudo-classes (eg CSS3 UI ones for XForms).  Bug
296309, r+sr=dbaron, a=chofmann
2005-06-03 02:02:45 +00:00
bzbarsky%mit.edu 6b78bd4a5e deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
atom).  Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2004-11-23 17:21:37 +00:00
dbaron%dbaron.org d35f39cc02 Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky 2004-08-05 18:26:14 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
bryner%brianryner.com 0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
dbaron%dbaron.org f016bec80e Improve comments and function names related to attribute mapping and HasAttributeDependentStyle. b=235342 r+sr=jst 2004-02-25 21:04:50 +00:00
dbaron%dbaron.org d33950dfac Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky 2004-01-14 01:36:35 +00:00
bryner%brianryner.com e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
bzbarsky%mit.edu 93aa1eeb86 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst 2003-07-28 21:09:56 +00:00
timeless%mozdev.org 697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
dbaron%dbaron.org 4b4f8625f1 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
dbaron%fas.harvard.edu 768c965b07 Attempt to fix page load regression. b=35768 2002-08-14 14:01:39 +00:00
dbaron%fas.harvard.edu 79638e5f49 Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768 2002-08-14 12:34:39 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
dbaron%fas.harvard.edu 07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
bryner%netscape.com 653df3043e Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa. 2002-03-27 07:01:26 +00:00
bryner%netscape.com a34c68fa0b Changing XUL menus to use a :-moz-menuactive pseudoclass rather than a menuactive attribute for styling the active item. This will allow XBL select widgets to not modify the HTML DOM. Bug 128947, r=dbaron, sr=hyatt, a=asa. 2002-03-12 21:49:23 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
sfraser%netscape.com 24653793a6 Fix for bug 115151 -- shrink RuleProcessorData by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:07:43 +00:00
dbaron%fas.harvard.edu 88158430a4 Attempt to fix HP runtime bustage. b=83836 2001-11-11 20:46:42 +00:00
dbaron%fas.harvard.edu c25fe11d0f 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
hyatt%netscape.com 0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dougt%netscape.com 942988df26 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
dbaron%fas.harvard.edu 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
gerv%gerv.net 1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +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
hyatt%netscape.com 6d784c14e8 Fix for 67739. r=pierre,attinasi sr=ben 2001-02-15 21:24:47 +00:00
attinasi%netscape.com 1621b39d9e Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00