Skip to content

Commit 170d5c0

Browse files
andruudchromium-wpt-export-bot
authored andcommitted
Exclude anchor() and anchor-size() functions from MISU
These functions can become invalid at computed value time, even though they are not substitution functions. MISU [1] is not able handle this, so we just exclude those values. [1] CL:3412160 Fixed: 436621815 Change-Id: Ifa8b57cf339911fbb8cdb9aba1a61f451a810a7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6830645 Commit-Queue: Anders Hartvoll Ruud <[email protected]> Reviewed-by: Steinar H Gunderson <[email protected]> Cr-Commit-Position: refs/heads/main@{#1499331}
1 parent c5ffc0f commit 170d5c0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!DOCTYPE html>
2+
<title>Crash test</title>
3+
<div id="target" style="top:0">
4+
PASS if no crash
5+
</div>
6+
<script>
7+
document.body.offsetTop;
8+
target.style.top = 'calc(anchor(top) + 10px)';
9+
</script>

0 commit comments

Comments
 (0)