Commit Graph

403 Commits

Author SHA1 Message Date
L. David Baron
305a488187 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
6eb5acc201 ClearRuleCascades when ensuring a stylesheet has a unique inner so that matched rules point back to the new rules. (Bug 536379) r=bzbarsky 2009-12-31 10:56:33 -05:00
L. David Baron
8c712015ad 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
2bfc0f34a2 Bug 520563. Shouldn't predefine xml and xmlns prefixes for CSS selectors. r=dbaron,sicking 2009-10-29 21:47:48 -04:00
L. David Baron
8365dc9f5c Pass the media feature to media feature value getters. (Bug 522149) r=bzbarsky 2009-10-15 17:23:18 -07:00
L. David Baron
f48aeb5191 Make nsMediaFeature::mKeywordTable an mData union. (Bug 522149) r=bzbarsky 2009-10-15 17:23:18 -07:00
Boris Zbarsky
3e8397c185 Bug 504032. Make sure to copy mIsEmpty when cloning media lists. r=dbaron 2009-07-17 23:47:38 -04:00
Boris Zbarsky
d2c3684946 Bug 495269. Fix our detection of @import rules when cloning sheets. r+sr=dbaron 2009-05-28 18:16:31 -04:00
Boris Zbarsky
7a86e57c99 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
Karl Tomlinson
3bbadcfb42 b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
Boris Zbarsky
35c251622a Bug 480065. Make chrome registry not mess with inline stylesheets. r=bsmedberg, sr=dbaron 2009-03-10 09:52:23 -04:00
Neil Rashbrook
e904b3d6e8 VC7.1 bustage fix for bug 183348 r+sr=bz 2009-02-05 09:38:51 +00:00
Arpad Borsos
c0f2dadc80 Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
L. David Baron
04005c945f Fix assertion about being too late to set quirks style sheet. (Bug 450191) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Boris Zbarsky
b031d1bb8c 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
Peter Van der Beken
579fe3ede9 Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz. 2008-10-22 16:31:14 +02:00
Boris Zbarsky
df41d1db20 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
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
Boris Zbarsky
e8ffa77fe0 Fixing orange. Bug 183348 2008-09-09 16:16:21 -04:00
Boris Zbarsky
e1f03a883b 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
L. David Baron
9ff382b51d Change evaluation of media queries like (width) where actual values are lengths; treat zero lengths as false in such cases, per http://lists.w3.org/Archives/Public/www-style/2008Aug/0190.html and spec clarification. (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
b4c73c1583 Update to new parsing rules for grid media query per http://lists.w3.org/Archives/Public/www-style/2008Aug/0191.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
Boris Zbarsky
97dd836327 Bug 452238. Remove unused imports collection code. r+sr=dbaron 2008-09-05 21:10:35 -04:00
L. David Baron
b8715023f7 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
L. David Baron
62b65d2845 Implement Media Queries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
bent.mozilla@gmail.com
c54db3bb3c Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
jonas@sicking.cc
f6bc46eb38 Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
aedea05d90 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 2008-04-08 19:06:27 -07:00
bzbarsky@mit.edu
8bc568cac8 Fix bug 405818: need to copy the original sheet URI when cloning. r+sr=dbaron, a=schrep. 2008-01-21 20:26:01 -08:00
bzbarsky@mit.edu
fcc16e97d6 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
26d7ccd742 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
jwalden@mit.edu
6d7584839a 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. 2007-07-08 00:08:04 -07:00
bzbarsky@mit.edu
31793a2838 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
51671d60c6 Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
bzbarsky@mit.edu
63aeadb19b 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
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
867068ef8a 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
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
acc5ac3ce5 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
57421e7c90 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
04b8c33eda 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
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
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
cbiesinger%web.de
1d04cb0110 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
79b8f5fc24 Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
bzbarsky%mit.edu
9dc7327649 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
1c34e68034 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
eac6a24015 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