Commit Graph

367 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
8e1f46c3c3 Implement the proposed Web Apps 1.0 API for changing the selected style sheet
set, querying the available sets, etc.  Bug 200930, r=sicking, sr=dbaron
2007-01-11 19:32:31 +00:00
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky@mit.edu
2d94e79cdb Hold strong ref to the rule we're removing. Bug 355984, r+sr=dbaron 2006-10-10 01:05:16 +00:00
myk@mozilla.org
44e2b935dc fix crash when restarting for update [@ nsCSSStyleSheet::SetComplete]
Patch by Boris Zbarsky.
r+sr=dbaron
2006-08-17 08:16:41 +00:00
dbaron@dbaron.org
96634178f2 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
dbaron@dbaron.org
6b637a1320 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
bdeea6cda8 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
timeless@mozdev.org
9ced5b09ba Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
cbiesinger@web.de
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
cbiesinger@web.de
35eb4789cb Bug 309521
- add pseudo-classes for :-moz-type-unsupported and :-moz-has-handlerref (and a
  content state for the former)
  - make nsObjectLoadingContent return the right content state
- Add an XBL binding that gets instantiated for broken plugins
  - Make it themable
- Remove a lot of now-unused code in nsObjectFrame
- Fixes pluginfinder.
r+sr=bz, r=mconnor
2005-12-29 14:15:33 +00:00
cvshook@sicking.cc
ce947be9e9 Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
bzbarsky@mit.edu
5ab95f8a11 Don't bother calling SelectorMatches in Has*DependentStyle if the selector
won't affect our change bitfield.  Bug 319097, r+sr=dbaron
2005-12-05 18:59:54 +00:00
timeless@mozdev.org
71ed8bc863 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
dbaron@dbaron.org
6374a6f10b Change storage of :not() selectors so that there is one item in mNegations per :not(), and simplify various code accordingly. Simplify SelectorMatches a little more. b=315567 r+sr=bzbarsky 2005-11-09 04:17:26 +00:00
bzbarsky@mit.edu
4d02579678 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
cvshook@sicking.cc
77710748bc Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
doronr@us.ibm.com
3b3bc9f203 Bug 302188 - Support :read-only and :read-write pseudoclasses. patch by allan, r/sr=bz 2005-10-18 21:16:27 +00:00
bzbarsky@mit.edu
11ff0cc60b Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
bzbarsky@mit.edu
7a1f8ef6f0 Implement :-moz-empty-except-children-with-localname() pseudo-class. Bug
309067, r+sr=dbaron
2005-10-16 15:57:13 +00:00
bryner@brianryner.com
cf2eb512d9 Convert CSSGroupRule and CSSStyleSheet to use nsCOMArray. Bug 312491, r+sr=bzbarsky. 2005-10-15 20:21:20 +00:00
peterv@propagandism.org
51b0cd6709 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
bryner@brianryner.com
fec48bf35e 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
bzbarsky@mit.edu
3525d53a41 Backing out bug 288064 because of the Tp hit. 2005-10-01 01:35:56 +00:00
bzbarsky@mit.edu
201eb079fd Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron
2005-10-01 00:34:03 +00:00
bryner@brianryner.com
b52d69f0da Avoid nsIStyledContent QI in RuleProcessorData (bug 309927). r+sr=dbaron. 2005-09-25 06:09:27 +00:00
bzbarsky@mit.edu
7b00c997a1 Use AttrValueIs, not GetAttr, for [attr="foo"] comparisons. Bug 308093, r+sr=dbaron 2005-09-18 23:09:48 +00:00
bzbarsky@mit.edu
a6c8685ff9 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
bzbarsky@mit.edu
16d0db8fb3 Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
peterv@propagandism.org
9d1684be63 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
bzbarsky@mit.edu
661909af90 Add support for :valid, :invalid, :in-range, and :out-of-range pseudo-classes.
Bug 302462, patch by Allan Beaufour <allan@beaufour.dk>, r+sr=bzbarsky
2005-08-30 20:56:46 +00:00
bzbarsky@mit.edu
684588bce7 Implement :enabled and :disabled CSS pseudo-classes. Bug 84400, patch by Allan
Beaufour <allan@beaufour.dk>, r+sr=bzbarsky
2005-08-30 03:31:47 +00:00
bsmedberg@covad.net
432e9cc9a1 Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin 2005-08-15 18:29:55 +00:00
bsmedberg@covad.net
44a6531d52 Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:07:08 +00:00
bsmedberg@covad.net
0203b6eec5 Bug 299992, the part before the actual work: move pldhash and the templatized hashtables into the glue (and drop the minor dependencies on NSPR), and centralize our various in-tree nsINIParser classes into the glue (does not affect the ones used for the various installers) r=brendan/darin a=chase/cbeard 2005-08-11 20:40:53 +00:00
roc+@cs.cmu.edu
116c7af9d3 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there. 2005-08-10 20:21:44 +00:00
allan@beaufour.dk
5704919a83 Support :required and :optional pseudoclasses. Bug 302608, r+sr=bzbarsky, a=mkaply 2005-08-02 08:29:03 +00:00
peterv@propagandism.org
af5c8b9c83 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
bzbarsky@mit.edu
30db68e596 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
78973062e8 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
bzbarsky@mit.edu
ec8211b6e1 Clean up includes a bit in CSSLoader. Bug 290107, r+sr=dbaron, a=brendan 2005-04-14 15:27:16 +00:00
dbaron@dbaron.org
b1497c8162 Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky 2005-03-30 00:36:57 +00:00
bryner@brianryner.com
cf349ccb13 Rename nsNameSpaceMap to nsXMLNameSpaceMap to avoid symbol collision in static builds (bug 281728). r=dbaron. 2005-02-19 00:10:38 +00:00
bryner@brianryner.com
409fe8659a Simplifying this a bit to try to fix bustage. 2005-02-18 19:58:13 +00:00
bryner@brianryner.com
480cafec28 Remove nsINameSpace and replace with a simple array-based list of namespace mappings for CSS. Bug 281728, r+sr=bzbarsky. 2005-02-18 19:18:37 +00:00
bzbarsky@mit.edu
b33720bcd8 Fix HTML nodes to not claim to be in the XHTML namespace (unless they are, of
course).  Bug 103225, r+sr=jst
2005-01-12 02:41:36 +00:00
bryner@brianryner.com
827af9d405 Move nsIContent::GetClassAttributeName() onto nsIStyledContent (bug 274402). r+sr=jst. 2004-12-14 03:54:01 +00:00
bryner@brianryner.com
fe246a43b0 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
bzbarsky@mit.edu
287b67addc Fix comment. More bug 157395. 2004-12-03 04:48:32 +00:00
bzbarsky@mit.edu
b54194a524 :empty should not match nodes that have whitespace children. Introduce a
:-moz-only-whitespace pseudo-class to do what :empty used to do (so we can use
it in quirk.css and the like).  Bug 157395, patch by Justin Wood
<116057@bacon.qcc.mass.edu>, r+sr=bzbarsky
2004-12-03 04:25:21 +00:00
bzbarsky@mit.edu
6c92361b07 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