bent.mozilla%gmail.com
8369be1fe9
Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
...
git-svn-id: svn://10.0.0.236/trunk@250079 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 17:29:11 +00:00
jonas%sicking.cc
1cbce53417
Backing out due to test failures
...
git-svn-id: svn://10.0.0.236/trunk@249885 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 03:20:42 +00:00
jonas%sicking.cc
44f2be870f
Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@249878 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 02:06:31 +00:00
bzbarsky%mit.edu
7ac70fe6c9
Fix bug 405818: need to copy the original sheet URI when cloning. r+sr=dbaron,
...
a=schrep.
git-svn-id: svn://10.0.0.236/trunk@243713 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-22 04:26:02 +00:00
bzbarsky%mit.edu
cc24d0fe78
Add an internal security-check-less method for adding rules to stylesheets to
...
fix bug 386939. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@243422 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-18 05:23:44 +00:00
bzbarsky%mit.edu
19f3323d77
Make the "href" property of stylesheets reflect the original URI that was
...
reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@238046 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 21:56:43 +00:00
jwalden%mit.edu
dda6ff3c99
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
bzbarsky%mit.edu
4e2bfe0308
Propagate the principal responsible an image load all the way to
...
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there. Bug 310165, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@229261 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 18:45:40 +00:00
bzbarsky%mit.edu
c6a333df55
Propagate a stylesheet's principal to the URI and Image CSSValues derived from
...
that sheet. Bug 377091, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225504 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 01:15:54 +00:00
bzbarsky%mit.edu
6e86d03b2e
Stylesheets should know what their principal is, and it should be based on the
...
URI the sheet was loaded from, its certificate (if any) and the loader
principal, not just on the page the sheet is being applied to. Propagate this
principal as the loading principal to @import loads from stylesheets. Change
sheet access checks to use this principal instead of the sheet URI. Bug
221428, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@225401 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 19:26:15 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
8c351facb0
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
git-svn-id: svn://10.0.0.236/trunk@218215 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 19:32:31 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
9c5cfa5148
Hold strong ref to the rule we're removing. Bug 355984, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@213384 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 01:05:16 +00:00
myk%mozilla.org
d4304c6d5a
fix crash when restarting for update [@ nsCSSStyleSheet::SetComplete]
...
Patch by Boris Zbarsky.
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@207713 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-17 08:16:41 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
dbaron%dbaron.org
96844bf90f
Split the nsCSSRuleProcessor half of nsCSSStyleSheet.cpp into nsCSSRuleProcessor.cpp. b=332136 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193459 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 23:52:17 +00:00
dbaron%dbaron.org
a02fd2d2f8
File comments that show up in LXR and provide a quick summary of what's in each file.
...
git-svn-id: svn://10.0.0.236/trunk@192979 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 05:47:31 +00:00
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