LTR 2887 Source/core/css/CSSPrimitiveValueMappings.h case LTR: LTR 2901 Source/core/css/CSSPrimitiveValueMappings.h return LTR; LTR 2909 Source/core/css/CSSPrimitiveValueMappings.h return LTR; LTR 60 Source/core/css/CSSProperty.cpp if (direction == LTR) { LTR 559 Source/core/css/resolver/StyleResolver.cpp collector.matchedResult().addMatchedProperties(textDirection == LTR ? leftToRightDeclaration() : rightToLeftDeclaration()); LTR 1306 Source/core/dom/Position.cpp TextDirection primaryDirection = LTR; LTR 526 Source/core/editing/FrameSelection.cpp if (directionOfSelection() == LTR) LTR 535 Source/core/editing/FrameSelection.cpp if (directionOfSelection() == LTR) LTR 614 Source/core/editing/FrameSelection.cpp if (directionOfEnclosingBlock() == LTR) LTR 620 Source/core/editing/FrameSelection.cpp if (directionOfEnclosingBlock() == LTR) LTR 626 Source/core/editing/FrameSelection.cpp if (directionOfEnclosingBlock() == LTR) LTR 641 Source/core/editing/FrameSelection.cpp adjustPositionForUserSelectAll(pos, directionOfEnclosingBlock() == LTR); LTR 681 Source/core/editing/FrameSelection.cpp adjustPositionForUserSelectAll(pos, directionOfEnclosingBlock() == LTR); LTR 691 Source/core/editing/FrameSelection.cpp if (directionOfSelection() == LTR) LTR 778 Source/core/editing/FrameSelection.cpp if (directionOfEnclosingBlock() == LTR) LTR 784 Source/core/editing/FrameSelection.cpp if (directionOfEnclosingBlock() == LTR) LTR 790 Source/core/editing/FrameSelection.cpp if (directionOfEnclosingBlock() == LTR) LTR 804 Source/core/editing/FrameSelection.cpp adjustPositionForUserSelectAll(pos, !(directionOfEnclosingBlock() == LTR)); LTR 849 Source/core/editing/FrameSelection.cpp adjustPositionForUserSelectAll(pos, !(directionOfEnclosingBlock() == LTR)); LTR 859 Source/core/editing/FrameSelection.cpp if (directionOfSelection() == LTR) LTR 1016 Source/core/editing/FrameSelection.cpp if (direction == DirectionForward || (textDirection == LTR && direction == DirectionRight) || (textDirection == RTL && direction == DirectionLeft)) LTR 136 Source/core/editing/VisiblePosition.cpp return primaryDirection == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyDistinctCandidate(m_deepPosition); LTR 147 Source/core/editing/VisiblePosition.cpp return primaryDirection == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyDistinctCandidate(m_deepPosition); LTR 165 Source/core/editing/VisiblePosition.cpp Position positionOnLeft = primaryDirection == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyDistinctCandidate(m_deepPosition); LTR 192 Source/core/editing/VisiblePosition.cpp if (primaryDirection == LTR ? box->root().getLogicalStartBoxWithNode(logicalStart) : box->root().getLogicalEndBoxWithNode(logicalStart)) { LTR 195 Source/core/editing/VisiblePosition.cpp offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); LTR 256 Source/core/editing/VisiblePosition.cpp offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset(); LTR 301 Source/core/editing/VisiblePosition.cpp return primaryDirection == LTR ? nextVisuallyDistinctCandidate(m_deepPosition) : previousVisuallyDistinctCandidate(m_deepPosition); LTR 312 Source/core/editing/VisiblePosition.cpp return primaryDirection == LTR ? nextVisuallyDistinctCandidate(m_deepPosition) : previousVisuallyDistinctCandidate(m_deepPosition); LTR 330 Source/core/editing/VisiblePosition.cpp Position positionOnRight = primaryDirection == LTR ? nextVisuallyDistinctCandidate(m_deepPosition) : previousVisuallyDistinctCandidate(m_deepPosition); LTR 357 Source/core/editing/VisiblePosition.cpp if (primaryDirection == LTR ? box->root().getLogicalEndBoxWithNode(logicalEnd) : box->root().getLogicalStartBoxWithNode(logicalEnd)) { LTR 360 Source/core/editing/VisiblePosition.cpp offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); LTR 424 Source/core/editing/VisiblePosition.cpp offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset(); LTR 401 Source/core/editing/VisibleUnits.cpp bool movingBackward = (direction == MoveLeft && box->direction() == LTR) || (direction == MoveRight && box->direction() == RTL); LTR 427 Source/core/editing/VisibleUnits.cpp leftWordBreak = blockDirection == LTR ? startOfEditableContent(visiblePosition) : endOfEditableContent(visiblePosition); LTR 440 Source/core/editing/VisibleUnits.cpp rightWordBreak = blockDirection == LTR ? endOfEditableContent(visiblePosition) : startOfEditableContent(visiblePosition); LTR 1387 Source/core/editing/VisibleUnits.cpp return direction == LTR ? logicalStartOfLine(c) : logicalEndOfLine(c); LTR 1392 Source/core/editing/VisibleUnits.cpp return direction == LTR ? logicalEndOfLine(c) : logicalStartOfLine(c); LTR 337 Source/core/editing/htmlediting.cpp return LTR; LTR 339 Source/core/editing/htmlediting.cpp return renderer ? renderer->style()->direction() : LTR; LTR 681 Source/core/html/HTMLElement.cpp return LTR; LTR 730 Source/core/html/HTMLElement.cpp return LTR; LTR 2220 Source/core/html/canvas/CanvasRenderingContext2D.cpp TextDirection direction = computedStyle ? computedStyle->direction() : LTR; LTR 317 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp TextDirection contentDirection = element().locale().isRTL() ? RTL : LTR; LTR 149 Source/core/html/shadow/SliderThumbElement.cpp style()->setDirection(LTR); LTR 91 Source/core/html/shadow/TextControlInnerElements.cpp style->setDirection(LTR); LTR 522 Source/core/html/track/vtt/VTTCue.cpp bidiResolver.setStatus(BidiStatus(LTR, false)); LTR 536 Source/core/html/track/vtt/VTTCue.cpp TextDirection textDirection = LTR; LTR 315 Source/core/page/Chrome.cpp toolTipDirection = LTR; LTR 204 Source/core/rendering/HitTestResult.cpp dir = LTR; LTR 221 Source/core/rendering/HitTestResult.cpp dir = LTR; LTR 250 Source/core/rendering/InlineBox.h TextDirection direction() const { return bidiLevel() % 2 ? RTL : LTR; } LTR 251 Source/core/rendering/InlineBox.h bool isLeftToRightDirection() const { return direction() == LTR; } LTR 1194 Source/core/rendering/InlineFlowBox.cpp if (renderer().style()->direction() == LTR) { LTR 498 Source/core/rendering/InlineIterator.h if (direction == LTR) LTR 307 Source/core/rendering/InlineTextBox.cpp float widthOfVisibleText = toRenderText(renderer()).width(m_start, offset, textPos(), flowIsLTR ? LTR : RTL, isFirstLineStyle()); LTR 506 Source/core/rendering/InlineTextBox.cpp LayoutUnit widthOfVisibleText = toRenderText(renderer()).width(m_start, m_truncation, textPos(), isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); LTR 1107 Source/core/rendering/InlineTextBox.cpp width = toRenderText(renderer()).width(m_start, m_truncation, textPos(), isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); LTR 1368 Source/core/rendering/InlineTextBox.cpp start = toRenderText(renderer()).width(m_start, paintStart - m_start, textPos(), isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); LTR 1379 Source/core/rendering/InlineTextBox.cpp width = toRenderText(renderer()).width(paintStart, paintEnd - paintStart, textPos() + start, isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); LTR 2769 Source/core/rendering/RenderBlockFlow.cpp ? constructTextRunInternal(context, font, text->characters8() + offset, length, style, LTR, expansion) LTR 2770 Source/core/rendering/RenderBlockFlow.cpp : constructTextRunInternal(context, font, text->characters16() + offset, length, style, LTR, expansion); LTR 576 Source/core/rendering/RenderBlockLineLayout.cpp if (direction == LTR) LTR 582 Source/core/rendering/RenderBlockLineLayout.cpp if (direction == LTR) LTR 738 Source/core/rendering/RenderBlockLineLayout.cpp WTF::Unicode::Direction direction = textDirection == LTR ? LeftToRight : RightToLeft; LTR 739 Source/core/rendering/RenderBlockLineLayout.cpp RefPtr<BidiContext> context = BidiContext::create(textDirection == LTR ? 0 : 1, direction, isOverride, FromStyleOrDOM); LTR 1007 Source/core/rendering/RenderBlockLineLayout.cpp VisualDirectionOverride override = (styleToUse->rtlOrdering() == VisualOrder ? (styleToUse->direction() == LTR ? VisualLeftToRightOverride : VisualRightToLeftOverride) : NoVisualOverride); LTR 1343 Source/core/rendering/RenderBlockLineLayout.cpp float spaceWidth = font.width(RenderBlockFlow::constructTextRun(t, font, &space, 1, t->style(), LTR)); LTR 2104 Source/core/rendering/RenderBlockLineLayout.cpp TextDirection ellipsisDirection = LTR; LTR 3055 Source/core/rendering/RenderBox.cpp if (child->parent()->style()->direction() == LTR) { LTR 3284 Source/core/rendering/RenderBox.cpp if (containerDirection == LTR) { LTR 3758 Source/core/rendering/RenderBox.cpp if (containerDirection == LTR) { LTR 925 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp if (style()->direction() != LTR) LTR 496 Source/core/rendering/RenderFlowThread.cpp LayoutRect regionRect(style()->direction() == LTR ? LayoutUnit() : logicalWidth() - regionLogicalWidth, logicalHeight, regionLogicalWidth, regionLogicalHeight); LTR 100 Source/core/rendering/RenderMarquee.cpp result = (dir == LTR) ? MRIGHT : MLEFT; LTR 102 Source/core/rendering/RenderMarquee.cpp result = (dir == LTR) ? MLEFT : MRIGHT; LTR 945 Source/core/rendering/RenderText.cpp BidiStatus status(LTR, false); LTR 413 Source/core/rendering/RenderThemeChromiumSkia.cpp const int barType = style->direction() == LTR ? RightPadding : LeftPadding; LTR 519 Source/core/rendering/line/BreakingContextInlineHeaders.h || direction == WTF::Unicode::RightToLeftArabic ? RTL : LTR; LTR 593 Source/core/rendering/style/RenderStyle.h bool isLeftToRightDirection() const { return direction() == LTR; } LTR 1524 Source/core/rendering/style/RenderStyle.h static TextDirection initialDirection() { return LTR; } LTR 139 Source/modules/notifications/Notification.cpp return dir() == "rtl" ? RTL : LTR; LTR 278 Source/platform/fonts/Character.cpp if (direction == LTR) { LTR 304 Source/platform/fonts/Character.cpp if (direction == LTR) { LTR 62 Source/platform/fonts/WidthIterator.cpp unsigned expansionOpportunityCount = m_run.is8Bit() ? Character::expansionOpportunityCount(m_run.characters8(), m_run.length(), m_run.ltr() ? LTR : RTL, isAfterExpansion) : Character::expansionOpportunityCount(m_run.characters16(), m_run.length(), m_run.ltr() ? LTR : RTL, isAfterExpansion); LTR 86 Source/platform/fonts/mac/ComplexTextController.cpp expansionOpportunityCount = Character::expansionOpportunityCount(m_run.characters8(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion); LTR 88 Source/platform/fonts/mac/ComplexTextController.cpp expansionOpportunityCount = Character::expansionOpportunityCount(m_run.characters16(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion); LTR 997 Source/platform/graphics/GraphicsContext.cpp subrun.setDirection(isRTL ? RTL : LTR); LTR 64 Source/platform/text/BidiCharacterRun.h TextDirection direction() const { return reversed(false) ? RTL : LTR; } LTR 141 Source/platform/text/BidiResolver.h WTF::Unicode::Direction direction = textDirection == LTR ? WTF::Unicode::LeftToRight : WTF::Unicode::RightToLeft; LTR 143 Source/platform/text/BidiResolver.h context = BidiContext::create(textDirection == LTR ? 0 : 1, direction, isOverride); LTR 233 Source/platform/text/BidiResolver.h m_paragraphDirectionality = s.context->dir() == WTF::Unicode::LeftToRight ? LTR : RTL; LTR 470 Source/platform/text/BidiResolver.h bool shouldReorder = trailingSpaceRun != (m_paragraphDirectionality == LTR ? m_runs.lastRun() : m_runs.firstRun()); LTR 486 Source/platform/text/BidiResolver.h if (m_paragraphDirectionality == LTR) { LTR 649 Source/platform/text/BidiResolver.h return LTR; LTR 660 Source/platform/text/BidiResolver.h return LTR; LTR 55 Source/platform/text/BidiResolverTest.cpp EXPECT_EQ(LTR, direction); LTR 61 Source/platform/text/BidiResolverTest.cpp resolver.setStatus(BidiStatus(LTR, false)); LTR 90 Source/platform/text/BidiResolverTest.cpp { { 0xD834, 0xDD5F }, 2, LTR, true }, LTR 93 Source/platform/text/BidiResolverTest.cpp { { 0xD802, ' ' }, 2, LTR, false }, LTR 102 Source/platform/text/BidiResolverTest.cpp { { 0xD802, 0xDC58 }, 1, LTR, false }, LTR 105 Source/platform/text/BidiResolverTest.cpp { { 0xDC58, 0xD802 }, 2, LTR, false } LTR 184 Source/platform/text/BidiResolverTest.cpp textRun.setDirection(LTR); LTR 33 Source/platform/text/TextDirection.h inline bool isLeftToRightDirection(TextDirection direction) { return direction == LTR; } LTR 65 Source/platform/text/TextRun.h TextRun(const LChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, RoundingHacks roundingHacks = RunRounding | WordRounding) LTR 85 Source/platform/text/TextRun.h TextRun(const UChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, RoundingHacks roundingHacks = RunRounding | WordRounding) LTR 105 Source/platform/text/TextRun.h TextRun(const String& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, RoundingHacks roundingHacks = RunRounding | WordRounding) LTR 133 Source/platform/text/TextRun.h TextRun(const StringView& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, RoundingHacks roundingHacks = RunRounding | WordRounding) LTR 205 Source/platform/text/TextRun.h bool ltr() const { return m_direction == LTR; } LTR 42 Source/web/WebTextRun.cpp return TextRun(text, 0, 0, TextRun::AllowTrailingExpansion, rtl ? RTL : LTR, directionalOverride);