RFR: JDK-8266779: Use <wbr> instead of ZERO_WIDTH_SPACE [v3]
Hannes Wallnöfer
hannesw at openjdk.java.net
Mon May 10 20:30:33 UTC 2021
> This replaces usages of the zero-width space character (ZWSP, entity ``) with the HTML5 `<wbr>` element. `<wbr>` acts as a word break opportunity without adding characters to the text content like ZWSP does. It is supported in all modern browsers, the only browser I know of which doesn't support is are old versions of Internet Explorer.
>
> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
> https://caniuse.com/wbr-element
>
> I have tested the output (both layout and copy-paste behaviour) on Firefox, Safari, and Chrome on Mac OS X.
Hannes Wallnöfer has updated the pull request incrementally with one additional commit since the last revision:
JDK-8266779: Update comment and copyright years
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3946/files
- new: https://git.openjdk.java.net/jdk/pull/3946/files/a5508d09..3433a4ec
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3946&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3946&range=01-02
Stats: 6 lines in 6 files changed: 0 ins; 0 del; 6 mod
Patch: https://git.openjdk.java.net/jdk/pull/3946.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3946/head:pull/3946
PR: https://git.openjdk.java.net/jdk/pull/3946
More information about the javadoc-dev
mailing list