Added new style data accessors.
Added nsIMutableStyleContext interface. Made style rules work against nsIMutableStyleContext r=troy
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "nsHTMLAtoms.h"
|
||||
#include "nsHTMLIIDs.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIMutableStyleContext.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIFormControl.h"
|
||||
@@ -388,7 +389,7 @@ nsHTMLOptionElement::AttributeToString(nsIAtom* aAttribute,
|
||||
|
||||
static void
|
||||
MapAttributesInto(const nsIHTMLMappedAttributes* aAttributes,
|
||||
nsIStyleContext* aContext,
|
||||
nsIMutableStyleContext* aContext,
|
||||
nsIPresContext* aPresContext)
|
||||
{
|
||||
nsGenericHTMLElement::MapCommonAttributesInto(aAttributes, aContext, aPresContext);
|
||||
|
||||
Reference in New Issue
Block a user