From 06e6ef83b801a3ca014af4629abad76ac2d35eef Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 27 Jan 2026 22:44:26 -0500 Subject: [PATCH] failing test (#12791) --- .../tests/hydration/samples/safari-borking-2/Child.svelte | 6 ++++++ .../tests/hydration/samples/safari-borking-2/_config.js | 5 +++++ .../tests/hydration/samples/safari-borking-2/_override.html | 1 + .../tests/hydration/samples/safari-borking-2/main.svelte | 6 ++++++ 4 files changed, 18 insertions(+) create mode 100644 packages/svelte/tests/hydration/samples/safari-borking-2/Child.svelte create mode 100644 packages/svelte/tests/hydration/samples/safari-borking-2/_config.js create mode 100644 packages/svelte/tests/hydration/samples/safari-borking-2/_override.html create mode 100644 packages/svelte/tests/hydration/samples/safari-borking-2/main.svelte diff --git a/packages/svelte/tests/hydration/samples/safari-borking-2/Child.svelte b/packages/svelte/tests/hydration/samples/safari-borking-2/Child.svelte new file mode 100644 index 0000000000..a62bd4ec90 --- /dev/null +++ b/packages/svelte/tests/hydration/samples/safari-borking-2/Child.svelte @@ -0,0 +1,6 @@ + + +
+{message} diff --git a/packages/svelte/tests/hydration/samples/safari-borking-2/_config.js b/packages/svelte/tests/hydration/samples/safari-borking-2/_config.js new file mode 100644 index 0000000000..cf22ff2c85 --- /dev/null +++ b/packages/svelte/tests/hydration/samples/safari-borking-2/_config.js @@ -0,0 +1,5 @@ +import { test } from '../../test'; + +export default test({ + expect_hydration_error: true +}); diff --git a/packages/svelte/tests/hydration/samples/safari-borking-2/_override.html b/packages/svelte/tests/hydration/samples/safari-borking-2/_override.html new file mode 100644 index 0000000000..17ec01970a --- /dev/null +++ b/packages/svelte/tests/hydration/samples/safari-borking-2/_override.html @@ -0,0 +1 @@ +
call +636-555-3226 now

42

diff --git a/packages/svelte/tests/hydration/samples/safari-borking-2/main.svelte b/packages/svelte/tests/hydration/samples/safari-borking-2/main.svelte new file mode 100644 index 0000000000..daa25067ec --- /dev/null +++ b/packages/svelte/tests/hydration/samples/safari-borking-2/main.svelte @@ -0,0 +1,6 @@ + + + +

{40 + 2}