On Tue Oct 11 21:18:58 2022 +0000, Jacek Caban wrote:
This looks suspicious and quick testing doesn't confirm your theory. If I add name attribute to `<div>` from your test, it still passes on Windows, but not with your patches, see https://testbot.winehq.org/JobDetails.pl?Key=124900
So, this appears it depends on the tag. The patch is correct for `embed`, `form`, `iframe`, and `img` tags, where they need to have `name` to expose their `id` as a prop. `applet` and `object` always expose the `id` as a prop, regardless of if they have a `name` or not.
All the other tags never expose a prop for either id or name, including `div` (which is what I used to test).