Craig Topper
28bd394604
Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky
2011-04-07 18:23:46 -07:00
L. David Baron
7131773be8
Clean up handling of CSSOM modifications to rules that are non-child descendants of a sheet. (Bug 435442, patch 3) r=bzbarsky
...
This fixes handling of a number of cases:
1. Modifications to a style rule inside a group rule now trigger
GetRuleCascades.
2. A sheet that has been (potentially) modified is reliably marked as
such, and thus never cloned.
2011-04-11 23:18:43 -07:00
Craig Topper
ba94c59f46
Bug 577974 - Part 2: Remove nsICSSGroupRule, r=bzbarsky
...
--HG--
rename : layout/style/nsICSSGroupRule.h => layout/style/GroupRule.h
2010-08-07 22:28:33 -07:00
Craig Topper
435a97bcbe
Bug 577002 Part 2: Remove nsICSSImportRule. r=bzbarsky
...
--HG--
rename : layout/style/nsICSSImportRule.h => layout/style/ImportRule.h
2011-03-17 13:41:52 -04:00
Mihai Sucan
5676e1f24c
Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 3; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0
2010-12-20 12:21:59 -04:00
Chris Jones
900d7c9e15
Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
...
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Craig Topper
6b0e2eb7a2
Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron
2010-05-17 21:00:40 -07:00
Craig Topper
85b19a5b75
Change some nsIStyleSheet methods from returning AddRef-ed to un-AddRef-ed pointers, and some other cleanup. (Bug 239008) r=dbaron
2010-05-17 21:00:39 -07:00
Craig Topper
62b64f76e9
Rename nsIStyleSheet::GetApplicable to IsApplicable and GetComplete to IsComplete. (Bug 239008) r=dbaron
2010-05-14 12:05:14 -07:00
Craig Topper
792e4e14a8
DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron
2010-05-12 13:18:47 -07:00
L. David Baron
68540fb5cd
Restore comments and formatting from nsICSSStyleSheet.h that was lost in 5329c2d9c968. (Bug 239008)
2010-05-11 13:59:25 -07:00
Craig Topper
487b2524c3
Make most of the methods in nsCSSStyleSheet non-virtual. (Bug 239008) r=dbaron
2010-05-11 13:41:48 -07:00
Craig Topper
1b8cc6e897
Inline a few methods in nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Craig Topper
705e44723e
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Craig Topper
056fccc892
DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Craig Topper
dcddb98106
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Zack Weinberg
f090f9fe6b
Eliminate NS_HIDDEN and NS_HIDDEN_ from layout/style/. Search-and-replace plus formatting fixes. rs=bzbarsky, no bug.
2010-04-06 14:52:17 -07:00
L. David Baron
68668e3e8a
Make members of nsCSSStyleSheetInner private. (Bug 239008) r=bzbarsky
2010-01-07 08:51:16 -05:00
L. David Baron
722841395c
Add method to nsStyleSet to call EnsureUniqueInner on all CSS sheets. (Bug 536379) r=bzbarsky
2009-12-31 10:56:33 -05:00
L. David Baron
c8fcc52c1c
Make EnsureUniqueInner return a tri-state result that says whether it needed to do any cloning. (Bug 536379) r=bzbarsky
2009-12-31 10:56:33 -05:00
Boris Zbarsky
741996558e
Bug 493968. Correctly keep track of all the kids of a cloned sheet, not just the last one. r=roc, r+sr=dbaron pending.
2009-05-26 15:40:49 -04:00
Arpad Borsos
182558a8ba
Bug 492531 - Optimize some CSS and Reflow classes for memory usage; r+sr=dbaron
2009-05-13 10:26:48 +02:00
Boris Zbarsky
0b4c5e88e9
Bug 480065. Make chrome registry not mess with inline stylesheets. r=bsmedberg, sr=dbaron
2009-03-10 09:52:23 -04:00
Arpad Borsos
6db605f5b3
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
Boris Zbarsky
9cd26aa818
Bug 454578. Load the quirk stylesheet separately from the general UA stylesheet, so it can be sensibly enabled/disabled in style sets. r+sr=dbaron
2008-11-02 21:29:51 -05:00
Boris Zbarsky
cfe665b12c
No need to have virtual methods on nsCSSStyleSheetInner. There's only one such class. r+sr=dbaron
2008-10-15 16:24:45 -04:00
Boris Zbarsky
04378f3529
Bug 458381. The empty string should represent the null namespace even for the default @namespace rule (no prefix case). r+sr=dbaron
2008-10-15 16:23:21 -04:00
L. David Baron
a7149d1f7e
Fix warnings about CascadeSheetRulesInto being declared but not defined. (Bug 458813) r+sr=bzbarsky
2008-10-07 15:10:19 -07:00
Boris Zbarsky
16bf1131ab
Bug 183348 followup: rename the args in the header too.
2008-09-09 14:32:27 -04:00
Boris Zbarsky
4a06cffaf6
Bug 183348. Fix cloning of sheets with @import rules. Also fixes bug 290018, bug 436261, bug 444723, bug 445415. r+sr=dbaron
2008-09-09 14:08:11 -04:00
Boris Zbarsky
50cc3ee0fe
Bug 452238. Remove unused imports collection code. r+sr=dbaron
2008-09-05 21:10:35 -04:00
L. David Baron
1c6338b137
Implement Media Queries, part 2: infrastructure for dynamic change handling at the rule cascade and style sheet level. (Bug 156716) r+sr=bzbarsky
2008-07-26 09:14:48 -07:00
bzbarsky@mit.edu
20e1033c9d
Add an internal security-check-less method for adding rules to stylesheets to fix bug 386939. r+sr=dbaron
2008-01-17 21:23:44 -08:00
bzbarsky@mit.edu
a892964caa
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
2007-10-23 14:56:41 -07:00
bzbarsky@mit.edu
c805e6c7ac
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
2007-07-03 11:45:39 -07:00
bzbarsky@mit.edu
d1aea320f7
Stylesheets should know what their principal is, and it should be based on theURI the sheet was loaded from, its certificate (if any) and the loaderprincipal, not just on the page the sheet is being applied to. Propagate thisprincipal as the loading principal to @import loads from stylesheets. Changesheet access checks to use this principal instead of the sheet URI. Bug221428, r+sr=peterv
2007-05-01 12:26:15 -07:00
roc+@cs.cmu.edu
0054412272
Bug 374866. Reftests for text-transform. r=dbaron
2007-03-22 16:01:14 -07:00
bzbarsky%mit.edu
af5fd59293
Add an internal security-check-less method for adding rules to stylesheets to
...
fix bug 386939. r+sr=dbaron
2008-01-18 05:23:44 +00:00
bzbarsky%mit.edu
71b276e4b9
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
2007-10-23 21:56:43 +00:00
bzbarsky%mit.edu
5d835b4b58
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
2007-07-03 18:45:40 +00:00
bzbarsky%mit.edu
d979f584e1
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
2007-05-01 19:26:15 +00:00
dbaron%dbaron.org
668f9730a4
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
bryner%brianryner.com
13ca8dd24e
Convert CSSGroupRule and CSSStyleSheet to use nsCOMArray. Bug 312491, r+sr=bzbarsky.
2005-10-15 20:21:20 +00:00
bzbarsky%mit.edu
025c02e44e
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
dbaron%dbaron.org
70322f91af
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
8e64d7cfb4
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
da55bc0cf2
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
dbaron%dbaron.org
4c36660044
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
2004-09-10 06:45:59 +00:00
dbaron%dbaron.org
6f95c06071
Give nsCSSStyleSheet a header file and rename the class in preparation for deCOMtamination. b=239008 r+sr=bzbarsky
2004-08-04 03:27:28 +00:00