Skip to content

infix form missing for || operator in Figures 26, 27 #287

Open

Description

@xworld21

Disclaimer: I might be misunderstanding the dictionary lookup!

The operator || (two ASCII characters) has infix, prefix, and postfix forms listed in Figure 29. However, the lookup algorithm in B1 remaps || to 0x0331, which only has prefix and postfix forms in Figures 26, 27.

Since the algorithm in 3.2.4.2 says you should try infix, postfix, prefix until you find a non-default answer, || never gets the infix spacing.

In fact, Google Chrome 135 seemingly adds no space around infix instances of ||.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions