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

/external/webkit/WebCore/editing/
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 35 milliseconds