timeless%mozdev.org
af51e73d0e
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
cbiesinger%web.de
32c8a8358d
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
git-svn-id: svn://10.0.0.236/trunk@186703 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 14:15:33 +00:00
cvshook%sicking.cc
cf43ff4e7d
Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
bzbarsky%mit.edu
8435649943
Don't bother calling SelectorMatches in Has*DependentStyle if the selector
...
won't affect our change bitfield. Bug 319097, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185709 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-05 18:59:54 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
dbaron%dbaron.org
175a29a940
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
...
git-svn-id: svn://10.0.0.236/trunk@184337 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-09 04:17:26 +00:00
bzbarsky%mit.edu
d14d1f2475
Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
...
changes, sr=jst
git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
cvshook%sicking.cc
b26f9f52fb
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
doronr%us.ibm.com
5e4fa0d307
Bug 302188 - Support :read-only and :read-write pseudoclasses. patch by allan, r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@182490 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 21:16:27 +00:00
bzbarsky%mit.edu
1333cae14e
Try fixing bug 288064 again. r=biesi, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@182350 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:50:39 +00:00
bzbarsky%mit.edu
d56d5db506
Implement :-moz-empty-except-children-with-localname() pseudo-class. Bug
...
309067, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182333 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 15:57:13 +00:00
bryner%brianryner.com
604090c485
Convert CSSGroupRule and CSSStyleSheet to use nsCOMArray. Bug 312491, r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@182319 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 20:21:20 +00:00
peterv%propagandism.org
8c33ea74e1
Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
bryner%brianryner.com
391fc878cf
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.
...
git-svn-id: svn://10.0.0.236/trunk@181826 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 23:06:27 +00:00
bzbarsky%mit.edu
29198e38f2
Backing out bug 288064 because of the Tp hit.
...
git-svn-id: svn://10.0.0.236/trunk@181383 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
d81aa0e274
Implement a LOADING state, have a :-moz-loading selector to match on it, use it
...
for images. Bug 288064, r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181371 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 00:34:03 +00:00
bryner%brianryner.com
525bfb6c80
Avoid nsIStyledContent QI in RuleProcessorData (bug 309927). r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@180922 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-25 06:09:27 +00:00
bzbarsky%mit.edu
dc10298cc0
Use AttrValueIs, not GetAttr, for [attr="foo"] comparisons. Bug 308093, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@180529 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 23:09:48 +00:00
bzbarsky%mit.edu
26af641d58
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
git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
bzbarsky%mit.edu
dfe3e9b0bc
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
git-svn-id: svn://10.0.0.236/trunk@180035 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 18:41:15 +00:00
peterv%propagandism.org
b64b04886f
Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
bzbarsky%mit.edu
d3e53a63c2
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
git-svn-id: svn://10.0.0.236/trunk@179340 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 20:56:46 +00:00
bzbarsky%mit.edu
1812f65d2f
Implement :enabled and :disabled CSS pseudo-classes. Bug 84400, patch by Allan
...
Beaufour <allan@beaufour.dk>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179280 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 03:31:47 +00:00
bsmedberg%covad.net
f5a3c325b8
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
...
git-svn-id: svn://10.0.0.236/trunk@177766 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:29:55 +00:00
bsmedberg%covad.net
bb73805324
Backout bug 299992 - too much odd platform-specific bustage
...
git-svn-id: svn://10.0.0.236/trunk@177596 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 22:07:08 +00:00
bsmedberg%covad.net
b80f390773
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
...
git-svn-id: svn://10.0.0.236/trunk@177591 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 20:40:53 +00:00
roc+%cs.cmu.edu
a4e5443b20
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.
...
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
allan%beaufour.dk
8788b9ba70
Support :required and :optional pseudoclasses. Bug 302608, r+sr=bzbarsky, a=mkaply
...
git-svn-id: svn://10.0.0.236/trunk@176956 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 08:29:03 +00:00
peterv%propagandism.org
aac2b47f2a
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
bzbarsky%mit.edu
98338314d9
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
git-svn-id: svn://10.0.0.236/trunk@174103 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 02:02:45 +00:00
bzbarsky%mit.edu
62937cbc08
Create CSSLoaders when the document object is created and deCOMify the getter.
...
Bug 290068, r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
5fab1e95f2
Clean up includes a bit in CSSLoader. Bug 290107, r+sr=dbaron, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@172224 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 15:27:16 +00:00
dbaron%dbaron.org
be07cbe034
Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171350 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 00:36:57 +00:00
bryner%brianryner.com
5379a88c76
Rename nsNameSpaceMap to nsXMLNameSpaceMap to avoid symbol collision in static builds (bug 281728). r=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@169449 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 00:10:38 +00:00
bryner%brianryner.com
3f12a0209f
Simplifying this a bit to try to fix bustage.
...
git-svn-id: svn://10.0.0.236/trunk@169418 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 19:58:13 +00:00
bryner%brianryner.com
32c824e02b
Remove nsINameSpace and replace with a simple array-based list of namespace mappings for CSS. Bug 281728, r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@169414 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 19:18:37 +00:00
bzbarsky%mit.edu
be23b0ac1a
Fix HTML nodes to not claim to be in the XHTML namespace (unless they are, of
...
course). Bug 103225, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@167568 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 02:41:36 +00:00
bryner%brianryner.com
59e40f5696
Move nsIContent::GetClassAttributeName() onto nsIStyledContent (bug 274402). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@166698 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-14 03:54:01 +00:00
bryner%brianryner.com
b0242fa4f1
deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@166648 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-13 04:14:28 +00:00
bzbarsky%mit.edu
c65f37ac63
Fix comment. More bug 157395.
...
git-svn-id: svn://10.0.0.236/trunk@166190 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-03 04:48:32 +00:00
bzbarsky%mit.edu
11bb0e69eb
: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
git-svn-id: svn://10.0.0.236/trunk@166188 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-03 04:25:21 +00:00
bzbarsky%mit.edu
33d6cabf2c
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
git-svn-id: svn://10.0.0.236/trunk@165641 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:21:37 +00:00
bzbarsky%mit.edu
f5d6536bd1
Fix crash if insertRule() is called on an empty string. Bug 261798, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@163272 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 00:34:06 +00:00
dbaron%dbaron.org
0c2068f65a
Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162122 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 23:31:48 +00:00
dbaron%dbaron.org
a4ca9058c6
Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
tor%cs.brown.edu
da01ea4deb
Bug 216563 - implement <svg:switch>.
...
Patch by scootermorris@comcast.net , r=afri, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@161152 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-23 21:10:39 +00:00
dbaron%dbaron.org
3ea4fea687
Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160406 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 18:26:14 +00:00
dbaron%dbaron.org
03b3717bb3
Give nsCSSStyleSheet a header file and rename the class in preparation for deCOMtamination. b=239008 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160332 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:27:28 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00