Added new style data accessors.
Added nsIMutableStyleContext interface. Made style rules work against nsIMutableStyleContext r=troy
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "nsHTMLAtoms.h"
|
||||
#include "nsHTMLIIDs.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIMutableStyleContext.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIHTMLAttributes.h"
|
||||
@@ -162,7 +163,7 @@ nsHTMLParagraphElement::AttributeToString(nsIAtom* aAttribute,
|
||||
|
||||
static void
|
||||
MapAttributesInto(const nsIHTMLMappedAttributes* aAttributes,
|
||||
nsIStyleContext* aContext,
|
||||
nsIMutableStyleContext* aContext,
|
||||
nsIPresContext* aPresContext)
|
||||
{
|
||||
if (nsnull != aAttributes) {
|
||||
|
||||
Reference in New Issue
Block a user