| Index: Source/core/dom/Node.h
|
| diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
|
| index 51d1accf0e7b4c753adaceb83538ae051bd5fdb2..e8124911044aa7d0ab540e315d376cb95429ceb1 100644
|
| --- a/Source/core/dom/Node.h
|
| +++ b/Source/core/dom/Node.h
|
| @@ -378,6 +378,9 @@
|
|
|
| void setIsLink(bool f);
|
|
|
| + bool hasScopedHTMLStyleChild() const { return getFlag(HasScopedHTMLStyleChildFlag); }
|
| + void setHasScopedHTMLStyleChild(bool flag) { setFlag(flag, HasScopedHTMLStyleChildFlag); }
|
| +
|
| bool hasEventTargetData() const { return getFlag(HasEventTargetDataFlag); }
|
| void setHasEventTargetData(bool flag) { setFlag(flag, HasEventTargetDataFlag); }
|
|
|
| @@ -652,6 +655,10 @@
|
| void unregisterTransientMutationObserver(MutationObserverRegistration*);
|
| void notifyMutationObserversNodeWillDetach();
|
|
|
| + virtual void registerScopedHTMLStyleChild();
|
| + virtual void unregisterScopedHTMLStyleChild();
|
| + size_t numberOfScopedHTMLStyleChildren() const;
|
| +
|
| unsigned connectedSubframeCount() const;
|
| void incrementConnectedSubframeCount(unsigned amount = 1);
|
| void decrementConnectedSubframeCount(unsigned amount = 1);
|
| @@ -717,10 +724,13 @@
|
| // HTML dir=auto.
|
| SelfOrAncestorHasDirAutoFlag = 1 << 29,
|
|
|
| + // FIXME: Remove <style scoped> support.
|
| + HasScopedHTMLStyleChildFlag = 1 << 30,
|
| +
|
| DefaultNodeFlags = IsFinishedParsingChildrenFlag | ChildNeedsStyleRecalcFlag | NeedsReattachStyleChange
|
| };
|
|
|
| - // 2 bits remaining.
|
| + // 1 bits remaining.
|
|
|
| bool getFlag(NodeFlags mask) const { return m_nodeFlags & mask; }
|
| void setFlag(bool f, NodeFlags mask) const { m_nodeFlags = (m_nodeFlags & ~mask) | (-(int32_t)f & mask); }
|
|
|