Re: [csswg-drafts] [css-text-3] The web de-facto requires NULL U+0000 to not be visible (#6983)

Blink renders all characters in the DOM since [crbug.com/530342](https://crbug.com/530342). This change even included default ignorable code points that we have [crbug.com/550275](https://crbug.com/550275).

Blink doesn't do anything special to U+0000 either, but also doesn't do anything special to make sure it's visible when calling the underlying HarfBuzz or platform APIs, so it's possible that the behavior is platform and/or API dependent; i.e., if the platform API requires C-style string, it may disappear.

From a quick test, DOM and canvas `measureText` render U+0000 on Win10, but `don't render on mac.
https://output.jsbin.com/nuqate


-- 
GitHub Notification of comment by kojiishi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/6983#issuecomment-1049946694 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 24 February 2022 14:59:55 UTC