L. David Baron
d5e8ce767f
Add assertions to EndReconstruct that all style contexts have been reresolved. (Bug 473871) r+sr=bzbarsky
2009-01-16 13:32:09 -08:00
L. David Baron
072a78fa56
Replace mechanism for restricting the properties that apply to :first-line and :first-letter. (Bug 469227) r+sr=bzbarsky
2008-12-12 10:59:03 -08:00
John Daggett
7615338769
Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron
2008-11-27 12:50:16 +09:00
L. David Baron
e9dd8061a0
Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+
2008-11-25 15:22:38 -08:00
L. David Baron
3c80bfb76d
Back out 91690545debc0d3537fcb0598ebd6ac7e21f2072 due to mac startup failures.
2008-11-25 15:09:02 -08:00
L. David Baron
c4710e88e5
Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+
2008-11-25 13:27:54 -08: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
L. David Baron
cac6dfb960
Assert when we set the quirk style sheet after building rule cascades. (Bug 448281) r+sr=bzbarsky
2008-08-06 10:42:56 -07:00
L. David Baron
716f1c8e71
Handle effects of medium feature changes on XBL style sheets. (Bug 156716) r+sr=bzbarsky
2008-07-26 09:14:49 -07:00
L. David Baron
e84914bac8
Implement media queries, part 3: infrastructure for dynamic change handling at the rule processor and style set level. (Bug 156716) r+sr=bzbarsky
2008-07-26 09:14:48 -07:00
L. David Baron
38b456c23c
Remove pointless null checks that are extremely unlikely to fail. (Bug 156716) r+sr=bzbarsky
2008-07-26 09:14:48 -07:00
L. David Baron
fc7f9379c0
Avoid stack overflow by not using recursion to add the important rules. (Bug 439184.) r=fantasai sr=bzbarsky
2008-07-13 13:57:38 -07:00
5d2e3e420d
Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking
2008-02-26 04:40:18 -08:00
5e854a167c
We can destroy style contexts during ruletree reconstruct. Bug 403454, r+sr=dbaron
2007-11-14 22:13:48 -08:00
2eb354e17c
Fix bug 345609. r+sr+a=roc
2007-10-12 11:37:51 -07:00
e7aaf35d8f
Backing out bug 275196, xml:id, to fix tp regression
2007-07-26 07:16:19 -07:00
2156f3dd89
Bug 275196, xml:id, r=sicking, sr=dbaron
2007-07-26 05:22:01 -07:00
76e8944bb3
b=339553, drawString enhancement for canvas, r=me; patch from robarnold
2007-07-25 11:21:34 -07:00
babae45ed6
Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz
2007-07-25 10:14:13 -07:00
da6d55cdc6
Make attribute changes that also cause a state change properly reresolve style
...
when a selector uses both the state and the attribute. Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -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
e670005a61
Don't apply user stylesheets to descendants of native anonymous subtrees. Bug
...
285140, r+sr=dbaron
2007-06-15 22:09:51 -07:00
5a7345afe2
Make rule nodes know their level in the cascade. b=374907 r+sr=bzbarsky
2007-05-16 14:08:51 -07:00
63cea0065e
Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron
2007-05-04 23:47:09 -07:00
jonas@sicking.cc
7a41bbf68d
Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
2007-02-16 23:02:08 +00:00
bzbarsky@mit.edu
cc939265b5
Make the assertions saner. Bug 342923, r+sr=dbaron
2006-11-11 06:30:40 +00:00
cvshook@sicking.cc
5df20de104
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
2006-05-05 06:52:21 +00:00
dbaron@dbaron.org
1400f4e554
Move assertion up to where we have a chance of actually seeing it.
2006-04-27 18:23:30 +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
dbaron@dbaron.org
649b99302f
Weaken assertions I added yesterday to fix orange on balsa. b=307939
2005-09-12 15:37:30 +00:00
dbaron@dbaron.org
83983beac5
Document pseudo-element code a little better and add some assertions. b=307939 r+sr=bzbarsky
2005-09-11 23:17:28 +00:00
dbaron@dbaron.org
ec2c5d9887
Fix typo in comment. b=305901.
2005-08-25 14:34:36 +00:00
bzbarsky@mit.edu
5e5a7f4f98
Fix crashes when computed style is used on a dead presentation. Bug 291183,
...
r+sr=dbaron, a=chofmann
2005-06-03 01:51:15 +00:00
bzbarsky@mit.edu
4cba341ce3
Combine WalkRules and UseDocumentRules into one function. Bug 244252,
...
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
tor@cs.brown.edu
cb8465d8ae
Bug 254771 - Remove AssertNoCSSRules(lastPresHintRN, lastAgentRN) from
...
nsStyleSet::FileRules. Patch by jonathan.watt@strath.ac.uk , r=bz, sr=dbaron
2004-08-10 15:59:30 +00:00
dbaron@dbaron.org
cbf836f0d2
Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky
2004-08-05 18:26:14 +00:00
neil@parkwaycc.co.uk
1e77310f88
Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
2004-08-05 11:38:42 +00:00
bryner@brianryner.com
6cde4639f0
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
dbaron@dbaron.org
08d6baff75
Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
2004-07-28 07:08:41 +00:00
bzbarsky@mit.edu
e5aa843e23
Fix preshints in anonymous content some more (by moving all document sheet
...
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels). Bug 234861,
r+sr=dbaron
2004-07-15 20:30:30 +00:00
bzbarsky@mit.edu
100cbaa8f5
Move presentation attributes into the UA level in non-HTML documents and a
...
separate preshint level in HTML. Bug 234861, r=dbaron, sr=jst
2004-05-05 00:30:57 +00:00
gerv@gerv.net
cf0b0c064a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bryner@brianryner.com
662d805035
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +00:00
dbaron@dbaron.org
50a661cc7a
Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky
2004-01-14 01:36:35 +00:00
bryner@brianryner.com
3eed1ae792
Don't create new rule processors when a style sheet is enabled or disabled, just clear the rule cascade on the existing processors. Bug 230651, r=dbaron, sr=bzbarsky.
2004-01-13 02:19:28 +00:00
bzbarsky@mit.edu
e05284ab89
Fix regression bug 230620. r+sr=dbaron
2004-01-11 22:03:41 +00:00
bryner@brianryner.com
123bf6406c
Additional cleanup related to bug 64116. r=bzbarsky.
2004-01-08 19:23:12 +00:00
bryner@brianryner.com
a90ec6ff21
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
bryner@brianryner.com
640685cbe9
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00