mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests [layout] Don't reuse lines if we've aligned content. We had this issue pre block-button layout, (for align-content). Basically when we reuse lines we re-add line-items using their previous offset, which is post alignment. This results in the alignment getting applied twice for reused lines. Skip the reuse lines optimization for content which has been aligned. Bug: 353898969 Change-Id: Ic6dbe5222038d2ecb5e7df3e5e40db6f787d34fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5725767 Reviewed-by: Koji Ishii <[email protected]> Commit-Queue: Koji Ishii <[email protected]> Cr-Commit-Position: refs/heads/main@{#1330660} -- wpt-commits: 6c3f1688a83ae659d4c6d1b5008b51bba6093f27 wpt-pr: 47212
12 lines
368 B
HTML
12 lines
368 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://issues.chromium.org/issues/353898969">
|
|
<link rel="match" href="button-dynamic-content-ref.html">
|
|
<button style="width: 100px; height: 100px;">
|
|
text text text text text text text text
|
|
<span id="target"></span>
|
|
</button>
|
|
<script>
|
|
document.body.offsetTop;
|
|
document.getElementById('target').innerText = "text";
|
|
</script>
|