Searched refs:allowedDirection (Results 1 - 2 of 2) sorted by relevance

/external/webkit/WebCore/editing/
H A DApplyStyleCommand.h99 HTMLElement* splitAncestorsWithUnicodeBidi(Node*, bool before, RefPtr<CSSPrimitiveValue> allowedDirection);
H A DApplyStyleCommand.cpp791 HTMLElement* ApplyStyleCommand::splitAncestorsWithUnicodeBidi(Node* node, bool before, RefPtr<CSSPrimitiveValue> allowedDirection) argument
793 // We are allowed to leave the highest ancestor with unicode-bidi unsplit if it is unicode-bidi: embed and direction: allowedDirection.
819 if (allowedDirection && highestAncestorUnicodeBidi->getIdent() != CSSValueBidiOverride) {
822 if (static_cast<CSSPrimitiveValue*>(highestAncestorDirection.get())->getIdent() == allowedDirection->getIdent() && highestAncestorWithUnicodeBidi->isHTMLElement()) {
926 RefPtr<CSSPrimitiveValue> allowedDirection; local
932 allowedDirection = static_cast<CSSPrimitiveValue*>(direction.get());
934 startUnsplitAncestor = splitAncestorsWithUnicodeBidi(start.node(), true, allowedDirection);
935 endUnsplitAncestor = splitAncestorsWithUnicodeBidi(end.node(), false, allowedDirection);

Completed in 114 milliseconds