From 2e3f67fd4d144a3137fc1204efde529d3dc0440c Mon Sep 17 00:00:00 2001 From: Michael Aufreiter Date: Mon, 17 Nov 2025 21:44:12 +0100 Subject: [PATCH] Add repro for #512. Improve repro for #497. --- .gitignore | 1 + repros/497.html | 12 +++---- repros/512.html | 89 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 7 deletions(-) create mode 100644 repros/512.html diff --git a/.gitignore b/.gitignore index 95bb6f0..2d2355e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ data tests/historic/conformance/gecko-data tests/historic/conformance/webkit-data tests/historic/conformance/tmp-diff +.DS_Store diff --git a/repros/497.html b/repros/497.html index 54fa2c9..bef2bb7 100644 --- a/repros/497.html +++ b/repros/497.html @@ -21,15 +21,13 @@
When you open this in Safari on the Desktop (I used 26.1), and start a - composition inside the empty `` field.

+ composition inside the empty <a> field.

E.g. use the dead key ^ and then press a).

- Notice how the original editable-field `
` gets destroyed (the blue dashed - border disappears).

- Now change the `
` to a `
` and try again. Now it works. - as expected. - - In Chrome/Firefox, this problem does not occur.

+ Notice how the original editable-field <a> gets destroyed (the blue + dashed border disappears).

+ Now change the <a> to a <div> and try again. Now it works as + expected. In Chrome/Firefox, this problem does not occur.

diff --git a/repros/512.html b/repros/512.html new file mode 100644 index 0000000..61b8dce --- /dev/null +++ b/repros/512.html @@ -0,0 +1,89 @@ + + + + + + + + + + + +
Cursor navigation with up/down arrow keys works with static HTML:
+
+

+ +

+ +

+ +

+ +
+ +
+ However, when using a programmatic approach (see script in this web page), + cursor movement with up/down arrow keys break, even though the DOM has the + same structure. +
+
+ +