L. David Baron
cc8a798d75
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
077a4b9126
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
932d8c0ff9
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
a0a228c295
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
c9debb95de
Pass the media feature to media feature value getters. (Bug 522149) r=bzbarsky
2009-10-15 17:23:18 -07:00
L. David Baron
c4d08418bf
Make nsMediaFeature::mKeywordTable an mData union. (Bug 522149) r=bzbarsky
2009-10-15 17:23:18 -07:00
Boris Zbarsky
66137331db
Bug 504032. Make sure to copy mIsEmpty when cloning media lists. r=dbaron
2009-07-17 23:47:38 -04:00
Boris Zbarsky
921c516873
Bug 495269. Fix our detection of @import rules when cloning sheets. r+sr=dbaron
2009-05-28 18:16:31 -04:00
Boris Zbarsky
5dfc3502d0
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
ba3c1f0135
b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
2009-05-19 10:13:12 +12:00
Boris Zbarsky
52fc9b7e38
Bug 480065. Make chrome registry not mess with inline stylesheets. r=bsmedberg, sr=dbaron
2009-03-10 09:52:23 -04:00
Neil Rashbrook
eafb22e989
VC7.1 bustage fix for bug 183348 r+sr=bz
2009-02-05 09:38:51 +00:00
Arpad Borsos
af5c52fa8a
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
L. David Baron
5dd5156e6b
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
ed227db0fc
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
d73de97719
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
ae9d0d9029
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
1b55360c07
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
ce4af6551f
Fixing orange. Bug 183348
2008-09-09 16:16:21 -04:00
Boris Zbarsky
16b9d15c51
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
6b03cfe768
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
f30e355ea8
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
bf26444ccb
Bug 452238. Remove unused imports collection code. r+sr=dbaron
2008-09-05 21:10:35 -04:00
L. David Baron
fc42f08dde
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
a13a81bdf9
Implement Media Queries. (Bug 156716) r+sr=bzbarsky
2008-07-26 09:14:48 -07:00
87036333c7
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
530901270a
Backing out due to test failures
2008-04-08 20:20:39 -07:00
230a81ffc6
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
2c340c1049
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
d9570b7c36
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
676f997747
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
98de634631
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
9a75c30b05
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
9e4b29a9ba
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
7c628ff3ec
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
e80f1dba4e
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
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