Skip to content

RichTextBlock port: verify the remaining unverified review findings #24347

Open

Description

@MartinZikmund

What would you like to be added? 💡

The RichTextBlock port validation left a set of minor findings that were reported by a single reviewer and not put through the adversarial verification pass. They are recorded in §5 of specs/richtextblock-winui-port/port-validation-winui-2.4.0.md. Each needs confirming (or refuting) before it is worth acting on:

  • U1 TextRunProperties.EqualsForShaping omits the InheritedProperties/Typography comparison
  • U3 SkiaTextLine.Draw always throws (currently unreachable — paragraph rendering goes through ParsedText.Draw)
  • U4 IsCloseReal uses a fixed absolute epsilon instead of WinUI's magnitude-relative one
  • U5 TraverseTextElementTreeForFormat always reports no format boundary
  • U6 Hyperlink children never surfaced via UIA GetChildren / RangeIsInLink
  • U8 TextBlock's UIA Text pattern bypasses the ported TextAdapter entirely
  • U10 Non-Run TextElements never inherit FlowDirection into resolved formatting
  • U12 Ported CTextElementCollection::MarkDirty dispatch is dead code
  • U14 GetTextPointer returns null instead of throwing for a detached TextElement
  • U15 OnHolding/OnRightTapped substitute the wrong flyout-state predicate
  • U16 CJK/Thai/Korean word-break segmentation falls back to space-delimited logic

Why is this needed? 🤔

Tracking them in one place keeps them from being lost, without filing eleven speculative issues. Any that survive verification should be split out with a reproduction.

Renderer 🎨

  • Skia
  • Native

For which platforms 📱💻🖥️

All platforms 🌍

Anything else we need to know? 💬

The other §5 entries are already resolved: U2 (trimming), U7 (UIA master arm) and U11 (MUX header commit) were fixed during the port, and U9 is the TextSchema item tracked separately.

Follow-up from the RichTextBlock deep-core port.

Activity

  1. added
    kind/enhancement
    triage/untriaged
    project/text 🔤
    on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/skia/text ✏️kind/enhancementproject/text 🔤triage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions