From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../web-platform/tests/layout-instability/META.yml | 4 + .../absolute-child-shift-with-parent-contain.html | 31 +++++++ ...-child-shift-with-parent-negative-overflow.html | 31 +++++++ .../absolute-child-shift-with-parent-overflow.html | 31 +++++++ ...solute-child-shift-with-parent-will-change.html | 31 +++++++ .../add-remove-position-fixed.html | 35 ++++++++ .../add-remove-position-sticky.html | 30 +++++++ .../layout-instability/body-display-change.html | 51 ++++++++++++ .../layout-instability/buffer-layout-shift.html | 45 ++++++++++ .../tests/layout-instability/buffered-flag.html | 41 +++++++++ .../child-shift-with-parent-overflow-hidden.html | 32 +++++++ .../child-shift-with-parent-overflow-x-clip.html | 30 +++++++ .../child-shift-with-parent.html | 30 +++++++ .../clip-negative-bottom-margin.html | 36 ++++++++ .../composited-element-movement.html | 52 ++++++++++++ .../contain-paint-fully-clipped.html | 26 ++++++ .../content-visibility-auto-offscreen.html | 47 +++++++++++ .../content-visibility-auto-onscreen.html | 27 ++++++ .../content-visibility-auto-resize.html | 31 +++++++ .../content-visibility-hidden.html | 27 ++++++ .../display-change-with-transform.html | 33 ++++++++ .../layout-instability/expand-above-viewport.html | 49 +++++++++++ .../layout-instability/fixed-position-move.html | 27 ++++++ .../fully-clipped-visual-rect.html | 32 +++++++ .../tests/layout-instability/idlharness.html | 50 +++++++++++ .../ignore-fixed-and-sticky.html | 54 ++++++++++++ .../inline-flow-shift-one-line.html | 41 +++++++++ .../inline-flow-shift-vertical-rl.html | 44 ++++++++++ .../layout-instability/inline-flow-shift.html | 42 ++++++++++ .../tests/layout-instability/input-timestamp.html | 72 ++++++++++++++++ .../local-shift-without-viewport-shift-2.html | 32 +++++++ .../local-shift-without-viewport-shift.html | 32 +++++++ .../tests/layout-instability/main-frame.html | 64 ++++++++++++++ .../layout-instability/mousemove-becomes-drag.html | 62 ++++++++++++++ .../layout-instability/move-distance-clamped.html | 48 +++++++++++ .../tests/layout-instability/move-transformed.html | 28 +++++++ .../layout-instability/multi-clip-visual-rect.html | 36 ++++++++ .../tests/layout-instability/multicol-000.html | 22 +++++ .../tests/layout-instability/multicol-001.html | 26 ++++++ .../opacity-nonzero-to-zero.html | 25 ++++++ .../opacity-zero-layout-and-visible.html | 31 +++++++ .../tests/layout-instability/opacity-zero.html | 31 +++++++ .../tests/layout-instability/outline.html | 21 +++++ .../partially-clipped-visual-rect.html | 32 +++++++ .../pointerdown-becomes-scroll.html | 62 ++++++++++++++ .../pointerdown-becomes-tap.html | 60 +++++++++++++ .../pointermove-becomes-drag.html | 69 +++++++++++++++ .../tests/layout-instability/recent-input.html | 61 ++++++++++++++ .../layout-instability/resources/slow-image.py | 6 ++ .../layout-instability/resources/test-adapter.js | 5 ++ .../tests/layout-instability/resources/util.js | 97 ++++++++++++++++++++++ .../tests/layout-instability/rtl-distance.html | 31 +++++++ ...-into-viewport-inline-direction-and-scroll.html | 29 +++++++ .../shift-into-viewport-inline-direction.html | 27 ++++++ .../layout-instability/shift-into-viewport.html | 36 ++++++++ .../tests/layout-instability/shift-invisible.html | 22 +++++ .../shift-outside-viewport-inline-direction.html | 27 ++++++ .../layout-instability/shift-outside-viewport.html | 34 ++++++++ .../shift-scroll-anchoring-natural-scroll.html | 65 +++++++++++++++ .../layout-instability/shift-while-scrolled.html | 37 +++++++++ .../shift-with-counter-scroll-and-transform.html | 62 ++++++++++++++ .../shift-with-counter-scroll-and-translate.html | 62 ++++++++++++++ .../shift-with-counterscroll-2.html | 59 +++++++++++++ .../shift-with-counterscroll.html | 54 ++++++++++++ .../shift-with-overflow-status-change.html | 33 ++++++++ .../layout-instability/simple-block-movement.html | 31 +++++++ .../layout-instability/sources-enclosure.html | 62 ++++++++++++++ .../layout-instability/sources-maximpact.html | 73 ++++++++++++++++ .../tests/layout-instability/sources.html | 38 +++++++++ .../layout-instability/sticky-descendant-move.html | 29 +++++++ .../sticky-layout-no-change.html | 26 ++++++ .../tests/layout-instability/sub-frame.html | 50 +++++++++++ .../layout-instability/supported-layout-type.html | 18 ++++ .../tests/layout-instability/toJSON.html | 48 +++++++++++ .../transform-above-filter-dynamic.html | 22 +++++ .../transform-above-perspective-dynamic.html | 24 ++++++ .../tests/layout-instability/transform-change.html | 33 ++++++++ .../transform-counter-layout-shift.html | 36 ++++++++ .../tests/layout-instability/transform.html | 37 +++++++++ .../tests/layout-instability/translate-change.html | 33 ++++++++ .../translate-counter-layout-shift.html | 36 ++++++++ .../tests/layout-instability/video.html | 32 +++++++ .../visibility-hidden-layout-and-visible.html | 33 ++++++++ .../layout-instability/visibility-hidden.html | 24 ++++++ .../layout-instability/visible-to-hidden.html | 25 ++++++ 85 files changed, 3250 insertions(+) create mode 100644 testing/web-platform/tests/layout-instability/META.yml create mode 100644 testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-contain.html create mode 100644 testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-negative-overflow.html create mode 100644 testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-overflow.html create mode 100644 testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-will-change.html create mode 100644 testing/web-platform/tests/layout-instability/add-remove-position-fixed.html create mode 100644 testing/web-platform/tests/layout-instability/add-remove-position-sticky.html create mode 100644 testing/web-platform/tests/layout-instability/body-display-change.html create mode 100644 testing/web-platform/tests/layout-instability/buffer-layout-shift.html create mode 100644 testing/web-platform/tests/layout-instability/buffered-flag.html create mode 100644 testing/web-platform/tests/layout-instability/child-shift-with-parent-overflow-hidden.html create mode 100644 testing/web-platform/tests/layout-instability/child-shift-with-parent-overflow-x-clip.html create mode 100644 testing/web-platform/tests/layout-instability/child-shift-with-parent.html create mode 100644 testing/web-platform/tests/layout-instability/clip-negative-bottom-margin.html create mode 100644 testing/web-platform/tests/layout-instability/composited-element-movement.html create mode 100644 testing/web-platform/tests/layout-instability/contain-paint-fully-clipped.html create mode 100644 testing/web-platform/tests/layout-instability/content-visibility-auto-offscreen.html create mode 100644 testing/web-platform/tests/layout-instability/content-visibility-auto-onscreen.html create mode 100644 testing/web-platform/tests/layout-instability/content-visibility-auto-resize.html create mode 100644 testing/web-platform/tests/layout-instability/content-visibility-hidden.html create mode 100644 testing/web-platform/tests/layout-instability/display-change-with-transform.html create mode 100644 testing/web-platform/tests/layout-instability/expand-above-viewport.html create mode 100644 testing/web-platform/tests/layout-instability/fixed-position-move.html create mode 100644 testing/web-platform/tests/layout-instability/fully-clipped-visual-rect.html create mode 100644 testing/web-platform/tests/layout-instability/idlharness.html create mode 100644 testing/web-platform/tests/layout-instability/ignore-fixed-and-sticky.html create mode 100644 testing/web-platform/tests/layout-instability/inline-flow-shift-one-line.html create mode 100644 testing/web-platform/tests/layout-instability/inline-flow-shift-vertical-rl.html create mode 100644 testing/web-platform/tests/layout-instability/inline-flow-shift.html create mode 100644 testing/web-platform/tests/layout-instability/input-timestamp.html create mode 100644 testing/web-platform/tests/layout-instability/local-shift-without-viewport-shift-2.html create mode 100644 testing/web-platform/tests/layout-instability/local-shift-without-viewport-shift.html create mode 100644 testing/web-platform/tests/layout-instability/main-frame.html create mode 100644 testing/web-platform/tests/layout-instability/mousemove-becomes-drag.html create mode 100644 testing/web-platform/tests/layout-instability/move-distance-clamped.html create mode 100644 testing/web-platform/tests/layout-instability/move-transformed.html create mode 100644 testing/web-platform/tests/layout-instability/multi-clip-visual-rect.html create mode 100644 testing/web-platform/tests/layout-instability/multicol-000.html create mode 100644 testing/web-platform/tests/layout-instability/multicol-001.html create mode 100644 testing/web-platform/tests/layout-instability/opacity-nonzero-to-zero.html create mode 100644 testing/web-platform/tests/layout-instability/opacity-zero-layout-and-visible.html create mode 100644 testing/web-platform/tests/layout-instability/opacity-zero.html create mode 100644 testing/web-platform/tests/layout-instability/outline.html create mode 100644 testing/web-platform/tests/layout-instability/partially-clipped-visual-rect.html create mode 100644 testing/web-platform/tests/layout-instability/pointerdown-becomes-scroll.html create mode 100644 testing/web-platform/tests/layout-instability/pointerdown-becomes-tap.html create mode 100644 testing/web-platform/tests/layout-instability/pointermove-becomes-drag.html create mode 100644 testing/web-platform/tests/layout-instability/recent-input.html create mode 100644 testing/web-platform/tests/layout-instability/resources/slow-image.py create mode 100644 testing/web-platform/tests/layout-instability/resources/test-adapter.js create mode 100644 testing/web-platform/tests/layout-instability/resources/util.js create mode 100644 testing/web-platform/tests/layout-instability/rtl-distance.html create mode 100644 testing/web-platform/tests/layout-instability/shift-into-viewport-inline-direction-and-scroll.html create mode 100644 testing/web-platform/tests/layout-instability/shift-into-viewport-inline-direction.html create mode 100644 testing/web-platform/tests/layout-instability/shift-into-viewport.html create mode 100644 testing/web-platform/tests/layout-instability/shift-invisible.html create mode 100644 testing/web-platform/tests/layout-instability/shift-outside-viewport-inline-direction.html create mode 100644 testing/web-platform/tests/layout-instability/shift-outside-viewport.html create mode 100644 testing/web-platform/tests/layout-instability/shift-scroll-anchoring-natural-scroll.html create mode 100644 testing/web-platform/tests/layout-instability/shift-while-scrolled.html create mode 100644 testing/web-platform/tests/layout-instability/shift-with-counter-scroll-and-transform.html create mode 100644 testing/web-platform/tests/layout-instability/shift-with-counter-scroll-and-translate.html create mode 100644 testing/web-platform/tests/layout-instability/shift-with-counterscroll-2.html create mode 100644 testing/web-platform/tests/layout-instability/shift-with-counterscroll.html create mode 100644 testing/web-platform/tests/layout-instability/shift-with-overflow-status-change.html create mode 100644 testing/web-platform/tests/layout-instability/simple-block-movement.html create mode 100644 testing/web-platform/tests/layout-instability/sources-enclosure.html create mode 100644 testing/web-platform/tests/layout-instability/sources-maximpact.html create mode 100644 testing/web-platform/tests/layout-instability/sources.html create mode 100644 testing/web-platform/tests/layout-instability/sticky-descendant-move.html create mode 100644 testing/web-platform/tests/layout-instability/sticky-layout-no-change.html create mode 100644 testing/web-platform/tests/layout-instability/sub-frame.html create mode 100644 testing/web-platform/tests/layout-instability/supported-layout-type.html create mode 100644 testing/web-platform/tests/layout-instability/toJSON.html create mode 100644 testing/web-platform/tests/layout-instability/transform-above-filter-dynamic.html create mode 100644 testing/web-platform/tests/layout-instability/transform-above-perspective-dynamic.html create mode 100644 testing/web-platform/tests/layout-instability/transform-change.html create mode 100644 testing/web-platform/tests/layout-instability/transform-counter-layout-shift.html create mode 100644 testing/web-platform/tests/layout-instability/transform.html create mode 100644 testing/web-platform/tests/layout-instability/translate-change.html create mode 100644 testing/web-platform/tests/layout-instability/translate-counter-layout-shift.html create mode 100644 testing/web-platform/tests/layout-instability/video.html create mode 100644 testing/web-platform/tests/layout-instability/visibility-hidden-layout-and-visible.html create mode 100644 testing/web-platform/tests/layout-instability/visibility-hidden.html create mode 100644 testing/web-platform/tests/layout-instability/visible-to-hidden.html (limited to 'testing/web-platform/tests/layout-instability') diff --git a/testing/web-platform/tests/layout-instability/META.yml b/testing/web-platform/tests/layout-instability/META.yml new file mode 100644 index 0000000000..10c6aa36ce --- /dev/null +++ b/testing/web-platform/tests/layout-instability/META.yml @@ -0,0 +1,4 @@ +spec: https://wicg.github.io/layout-instability/ +suggested_reviewers: + - skobes + - npm1 diff --git a/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-contain.html b/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-contain.html new file mode 100644 index 0000000000..749cfe172a --- /dev/null +++ b/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-contain.html @@ -0,0 +1,31 @@ + +Layout Instability: parent and contained absolute child moved together + + + + +
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-negative-overflow.html b/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-negative-overflow.html new file mode 100644 index 0000000000..21caa263c9 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-negative-overflow.html @@ -0,0 +1,31 @@ + +Layout Instability: parent and overflowing absolute child moved together + + + + +
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-overflow.html b/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-overflow.html new file mode 100644 index 0000000000..24dda875c7 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-overflow.html @@ -0,0 +1,31 @@ + +Layout Instability: parent and overflowing absolute child moved together + + + + +
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-will-change.html b/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-will-change.html new file mode 100644 index 0000000000..1597f10892 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/absolute-child-shift-with-parent-will-change.html @@ -0,0 +1,31 @@ + +Layout Instability: parent and overflowing absolute child moved together + + + + +
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/add-remove-position-fixed.html b/testing/web-platform/tests/layout-instability/add-remove-position-fixed.html new file mode 100644 index 0000000000..19a109e8d7 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/add-remove-position-fixed.html @@ -0,0 +1,35 @@ + +Layout Instability: no shift for adding/removing position:fixed + +
+
+ + + + + + diff --git a/testing/web-platform/tests/layout-instability/add-remove-position-sticky.html b/testing/web-platform/tests/layout-instability/add-remove-position-sticky.html new file mode 100644 index 0000000000..a269dd1569 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/add-remove-position-sticky.html @@ -0,0 +1,30 @@ + +Layout Instability: no shift for adding/removing position:sticky + +
+
+ + + + + + diff --git a/testing/web-platform/tests/layout-instability/body-display-change.html b/testing/web-platform/tests/layout-instability/body-display-change.html new file mode 100644 index 0000000000..0576bd6865 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/body-display-change.html @@ -0,0 +1,51 @@ + +Layout Instability: shift accompanied by body display change + + + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/buffer-layout-shift.html b/testing/web-platform/tests/layout-instability/buffer-layout-shift.html new file mode 100644 index 0000000000..1db0452497 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/buffer-layout-shift.html @@ -0,0 +1,45 @@ + + +Layout Instability entries are not available via the performance timeline + + +
+ + + + + + diff --git a/testing/web-platform/tests/layout-instability/buffered-flag.html b/testing/web-platform/tests/layout-instability/buffered-flag.html new file mode 100644 index 0000000000..a2e91797ce --- /dev/null +++ b/testing/web-platform/tests/layout-instability/buffered-flag.html @@ -0,0 +1,41 @@ + + +Layout Instability: PerformanceObserver sees entries with buffered flag + + +
+ + + + + diff --git a/testing/web-platform/tests/layout-instability/child-shift-with-parent-overflow-hidden.html b/testing/web-platform/tests/layout-instability/child-shift-with-parent-overflow-hidden.html new file mode 100644 index 0000000000..f7e9e022b9 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/child-shift-with-parent-overflow-hidden.html @@ -0,0 +1,32 @@ + +Layout Instability: parent (with overflow:hidden) and child moved together + + + + +
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/child-shift-with-parent-overflow-x-clip.html b/testing/web-platform/tests/layout-instability/child-shift-with-parent-overflow-x-clip.html new file mode 100644 index 0000000000..7a85d16668 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/child-shift-with-parent-overflow-x-clip.html @@ -0,0 +1,30 @@ + +Layout Instability: parent/child moved together with overflow-x: clip + + + + +
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/child-shift-with-parent.html b/testing/web-platform/tests/layout-instability/child-shift-with-parent.html new file mode 100644 index 0000000000..e23bfd0c94 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/child-shift-with-parent.html @@ -0,0 +1,30 @@ + +Layout Instability: parent/child moved together + + + + +
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/clip-negative-bottom-margin.html b/testing/web-platform/tests/layout-instability/clip-negative-bottom-margin.html new file mode 100644 index 0000000000..2c329d9fcd --- /dev/null +++ b/testing/web-platform/tests/layout-instability/clip-negative-bottom-margin.html @@ -0,0 +1,36 @@ + +Layout Instability: clip with negative bottom margin + + +
+
+
+
+ + + + + + diff --git a/testing/web-platform/tests/layout-instability/composited-element-movement.html b/testing/web-platform/tests/layout-instability/composited-element-movement.html new file mode 100644 index 0000000000..c990690335 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/composited-element-movement.html @@ -0,0 +1,52 @@ + +Layout Instability: element with compositing layer hint + + +
+
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/contain-paint-fully-clipped.html b/testing/web-platform/tests/layout-instability/contain-paint-fully-clipped.html new file mode 100644 index 0000000000..3c0ec726b2 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/contain-paint-fully-clipped.html @@ -0,0 +1,26 @@ + +Layout Instability: fully clipped by contain:paint + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/content-visibility-auto-offscreen.html b/testing/web-platform/tests/layout-instability/content-visibility-auto-offscreen.html new file mode 100644 index 0000000000..9e4361b38b --- /dev/null +++ b/testing/web-platform/tests/layout-instability/content-visibility-auto-offscreen.html @@ -0,0 +1,47 @@ + +Layout Instability: off-screen content-visibility:auto content + + + + + + +
+
+
+
+
+
\ No newline at end of file diff --git a/testing/web-platform/tests/layout-instability/content-visibility-auto-onscreen.html b/testing/web-platform/tests/layout-instability/content-visibility-auto-onscreen.html new file mode 100644 index 0000000000..a7fbd92995 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/content-visibility-auto-onscreen.html @@ -0,0 +1,27 @@ + +Layout Instability: on-screen content-visibility:auto content + + + + + + +
+
+
diff --git a/testing/web-platform/tests/layout-instability/content-visibility-auto-resize.html b/testing/web-platform/tests/layout-instability/content-visibility-auto-resize.html new file mode 100644 index 0000000000..bb2d2e5c71 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/content-visibility-auto-resize.html @@ -0,0 +1,31 @@ + +Layout Instability: resizing content-visibility:auto content + + + + + + +
+
diff --git a/testing/web-platform/tests/layout-instability/content-visibility-hidden.html b/testing/web-platform/tests/layout-instability/content-visibility-hidden.html new file mode 100644 index 0000000000..f84cc2543e --- /dev/null +++ b/testing/web-platform/tests/layout-instability/content-visibility-hidden.html @@ -0,0 +1,27 @@ + +Layout Instability: content-visibility:hidden content + + + + + + +
+
+
diff --git a/testing/web-platform/tests/layout-instability/display-change-with-transform.html b/testing/web-platform/tests/layout-instability/display-change-with-transform.html new file mode 100644 index 0000000000..75eb5c5870 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/display-change-with-transform.html @@ -0,0 +1,33 @@ + +Layout Instability: change display type with transform + + +
+
test
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/expand-above-viewport.html b/testing/web-platform/tests/layout-instability/expand-above-viewport.html new file mode 100644 index 0000000000..f1e3f704b7 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/expand-above-viewport.html @@ -0,0 +1,49 @@ + +Layout Instability: layout shift when content expanded above the viewport + + + + + + +
+
+ diff --git a/testing/web-platform/tests/layout-instability/fixed-position-move.html b/testing/web-platform/tests/layout-instability/fixed-position-move.html new file mode 100644 index 0000000000..877c2ba4b3 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/fixed-position-move.html @@ -0,0 +1,27 @@ + +Layout Instability: movement of fixed position + + + + +
+
+ diff --git a/testing/web-platform/tests/layout-instability/fully-clipped-visual-rect.html b/testing/web-platform/tests/layout-instability/fully-clipped-visual-rect.html new file mode 100644 index 0000000000..cf308f2634 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/fully-clipped-visual-rect.html @@ -0,0 +1,32 @@ + +Layout Instability: fully clipped visual rect + + +
+ + + + + + diff --git a/testing/web-platform/tests/layout-instability/idlharness.html b/testing/web-platform/tests/layout-instability/idlharness.html new file mode 100644 index 0000000000..ea6efb27f8 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/idlharness.html @@ -0,0 +1,50 @@ + +Layout Instability IDL tests + + + + + + + + + + diff --git a/testing/web-platform/tests/layout-instability/ignore-fixed-and-sticky.html b/testing/web-platform/tests/layout-instability/ignore-fixed-and-sticky.html new file mode 100644 index 0000000000..2023dafbe0 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/ignore-fixed-and-sticky.html @@ -0,0 +1,54 @@ + +Layout Instability: ignore fixed and sticky positioning + + +
fixed
+
fixed composited
+
sticky
+normal + + + + + diff --git a/testing/web-platform/tests/layout-instability/inline-flow-shift-one-line.html b/testing/web-platform/tests/layout-instability/inline-flow-shift-one-line.html new file mode 100644 index 0000000000..0c477e0e98 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/inline-flow-shift-one-line.html @@ -0,0 +1,41 @@ + +Layout Instability: inline/text movement is detected + + + + +
+ 1AAAAAAA
+ 2AAAAAAA
+ 3AAAAAAA
+
4AAAAAAA

+
5AAAAAAA
+ 6AAAAAAA
+ 7AAAAAAA
+
+ diff --git a/testing/web-platform/tests/layout-instability/inline-flow-shift-vertical-rl.html b/testing/web-platform/tests/layout-instability/inline-flow-shift-vertical-rl.html new file mode 100644 index 0000000000..848883755c --- /dev/null +++ b/testing/web-platform/tests/layout-instability/inline-flow-shift-vertical-rl.html @@ -0,0 +1,44 @@ + +Layout Instability: vertical-rl inline/text movement is detected + + + + + +
+ 1AAAAAAA
+ 2AAAAAAA
+ 3AAAAAAA
+
4AAAAAAA

+ 5AAAAAAA
+ 6AAAAAAA
+ 7AAAAAAA
+
+ + diff --git a/testing/web-platform/tests/layout-instability/inline-flow-shift.html b/testing/web-platform/tests/layout-instability/inline-flow-shift.html new file mode 100644 index 0000000000..0385f29c2f --- /dev/null +++ b/testing/web-platform/tests/layout-instability/inline-flow-shift.html @@ -0,0 +1,42 @@ + +Layout Instability: inline/text movement is detected + + + + +
+ 1AAAAAAA
+ 2AAAAAAA
+ 3AAAAAAA
+
4AAAAAAA

+ 5AAAAAAA
+ 6AAAAAAA
+ 7AAAAAAA
+
+ diff --git a/testing/web-platform/tests/layout-instability/input-timestamp.html b/testing/web-platform/tests/layout-instability/input-timestamp.html new file mode 100644 index 0000000000..ba31d47866 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/input-timestamp.html @@ -0,0 +1,72 @@ + + +Layout Instability: observe timestamp after user input + + + +
+ + + + + + + + + + diff --git a/testing/web-platform/tests/layout-instability/local-shift-without-viewport-shift-2.html b/testing/web-platform/tests/layout-instability/local-shift-without-viewport-shift-2.html new file mode 100644 index 0000000000..7074bca7ba --- /dev/null +++ b/testing/web-platform/tests/layout-instability/local-shift-without-viewport-shift-2.html @@ -0,0 +1,32 @@ + +Layout Instability: local shift without viewport shift + + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/local-shift-without-viewport-shift.html b/testing/web-platform/tests/layout-instability/local-shift-without-viewport-shift.html new file mode 100644 index 0000000000..d635ed5056 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/local-shift-without-viewport-shift.html @@ -0,0 +1,32 @@ + +Layout Instability: local shift without viewport shift + + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/main-frame.html b/testing/web-platform/tests/layout-instability/main-frame.html new file mode 100644 index 0000000000..0d0bf84ddc --- /dev/null +++ b/testing/web-platform/tests/layout-instability/main-frame.html @@ -0,0 +1,64 @@ + + + +Layout Instability: subframe layout shift score + + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/layout-instability/mousemove-becomes-drag.html b/testing/web-platform/tests/layout-instability/mousemove-becomes-drag.html new file mode 100644 index 0000000000..df4a416c81 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/mousemove-becomes-drag.html @@ -0,0 +1,62 @@ + +Layout Instability: no shift in mouse moves with a button pressed + + +
+ + + + + + + diff --git a/testing/web-platform/tests/layout-instability/move-distance-clamped.html b/testing/web-platform/tests/layout-instability/move-distance-clamped.html new file mode 100644 index 0000000000..5854fe08d1 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/move-distance-clamped.html @@ -0,0 +1,48 @@ + +Layout Instability: distance fraction not more than 1.0 + + + + + + +
+ diff --git a/testing/web-platform/tests/layout-instability/move-transformed.html b/testing/web-platform/tests/layout-instability/move-transformed.html new file mode 100644 index 0000000000..2a7d048396 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/move-transformed.html @@ -0,0 +1,28 @@ + +Layout Instability: shift of a transformed container + + +
+ + + + diff --git a/testing/web-platform/tests/layout-instability/multi-clip-visual-rect.html b/testing/web-platform/tests/layout-instability/multi-clip-visual-rect.html new file mode 100644 index 0000000000..9237ad833e --- /dev/null +++ b/testing/web-platform/tests/layout-instability/multi-clip-visual-rect.html @@ -0,0 +1,36 @@ + +Layout Instability: multi clip visual rect + + +
+ + + + diff --git a/testing/web-platform/tests/layout-instability/multicol-000.html b/testing/web-platform/tests/layout-instability/multicol-000.html new file mode 100644 index 0000000000..c06cddd663 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/multicol-000.html @@ -0,0 +1,22 @@ + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/multicol-001.html b/testing/web-platform/tests/layout-instability/multicol-001.html new file mode 100644 index 0000000000..a47d5f0488 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/multicol-001.html @@ -0,0 +1,26 @@ + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/opacity-nonzero-to-zero.html b/testing/web-platform/tests/layout-instability/opacity-nonzero-to-zero.html new file mode 100644 index 0000000000..9ce0f2be9a --- /dev/null +++ b/testing/web-platform/tests/layout-instability/opacity-nonzero-to-zero.html @@ -0,0 +1,25 @@ + +Layout Instability: opacity:0 + +
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/opacity-zero-layout-and-visible.html b/testing/web-platform/tests/layout-instability/opacity-zero-layout-and-visible.html new file mode 100644 index 0000000000..0172983cea --- /dev/null +++ b/testing/web-platform/tests/layout-instability/opacity-zero-layout-and-visible.html @@ -0,0 +1,31 @@ + +Layout Instability: opacity:0 + +
+ + + + diff --git a/testing/web-platform/tests/layout-instability/opacity-zero.html b/testing/web-platform/tests/layout-instability/opacity-zero.html new file mode 100644 index 0000000000..edd90800a9 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/opacity-zero.html @@ -0,0 +1,31 @@ + +Layout Instability: opacity:0 + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/outline.html b/testing/web-platform/tests/layout-instability/outline.html new file mode 100644 index 0000000000..2b3704fd87 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/outline.html @@ -0,0 +1,21 @@ + +Layout Instability: outline doesn't contribute to layout shift + + + + +
+ diff --git a/testing/web-platform/tests/layout-instability/partially-clipped-visual-rect.html b/testing/web-platform/tests/layout-instability/partially-clipped-visual-rect.html new file mode 100644 index 0000000000..d8be37c8bf --- /dev/null +++ b/testing/web-platform/tests/layout-instability/partially-clipped-visual-rect.html @@ -0,0 +1,32 @@ + +Layout Instability: partially clipped visual rect + + +
+ + + + diff --git a/testing/web-platform/tests/layout-instability/pointerdown-becomes-scroll.html b/testing/web-platform/tests/layout-instability/pointerdown-becomes-scroll.html new file mode 100644 index 0000000000..4fe5c6b7e7 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/pointerdown-becomes-scroll.html @@ -0,0 +1,62 @@ + +Layout Instability: shift in pointerdown becoming scroll + + +
+ + + + + + + diff --git a/testing/web-platform/tests/layout-instability/pointerdown-becomes-tap.html b/testing/web-platform/tests/layout-instability/pointerdown-becomes-tap.html new file mode 100644 index 0000000000..e2e7a911dc --- /dev/null +++ b/testing/web-platform/tests/layout-instability/pointerdown-becomes-tap.html @@ -0,0 +1,60 @@ + +Layout Instability: shift in pointerdown becoming tap + + +
+ + + + + + + diff --git a/testing/web-platform/tests/layout-instability/pointermove-becomes-drag.html b/testing/web-platform/tests/layout-instability/pointermove-becomes-drag.html new file mode 100644 index 0000000000..4bccf70423 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/pointermove-becomes-drag.html @@ -0,0 +1,69 @@ + +Layout Instability: no shift in pointerdown becoming dragging + + +
+ + + + + + + diff --git a/testing/web-platform/tests/layout-instability/recent-input.html b/testing/web-platform/tests/layout-instability/recent-input.html new file mode 100644 index 0000000000..2779d4ffe0 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/recent-input.html @@ -0,0 +1,61 @@ + + +Layout Instability: observe after user input + + +
+ + + + + + + + + + diff --git a/testing/web-platform/tests/layout-instability/resources/slow-image.py b/testing/web-platform/tests/layout-instability/resources/slow-image.py new file mode 100644 index 0000000000..d9f09b8bca --- /dev/null +++ b/testing/web-platform/tests/layout-instability/resources/slow-image.py @@ -0,0 +1,6 @@ +import time + +def main(request, response): + # Sleep for 3s to delay onload. + time.sleep(3) + return [], b"" diff --git a/testing/web-platform/tests/layout-instability/resources/test-adapter.js b/testing/web-platform/tests/layout-instability/resources/test-adapter.js new file mode 100644 index 0000000000..3272790f7a --- /dev/null +++ b/testing/web-platform/tests/layout-instability/resources/test-adapter.js @@ -0,0 +1,5 @@ +// Abstracts expectations for reuse in different test frameworks. + +cls_expect = (watcher, expectation) => { + watcher.checkExpectation(expectation); +}; diff --git a/testing/web-platform/tests/layout-instability/resources/util.js b/testing/web-platform/tests/layout-instability/resources/util.js new file mode 100644 index 0000000000..597e2d7d84 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/resources/util.js @@ -0,0 +1,97 @@ +// Utilities for Layout Instability tests. + +// Returns a promise that is resolved when the specified number of animation +// frames has occurred. +waitForAnimationFrames = frameCount => { + return new Promise(resolve => { + const handleFrame = () => { + if (--frameCount <= 0) + resolve(); + else + requestAnimationFrame(handleFrame); + }; + requestAnimationFrame(handleFrame); + }); +}; + +// Returns a promise that is resolved when the next animation frame occurs. +waitForAnimationFrame = () => waitForAnimationFrames(1); + +// Helper to compute an expected layout shift score based on an expected impact +// region and max move distance for a particular animation frame. +computeExpectedScore = (impactRegionArea, moveDistance) => { + const docElement = document.documentElement; + + const viewWidth = docElement.clientWidth; + const viewHeight = docElement.clientHeight; + + const viewArea = viewWidth * viewHeight; + const viewMaxDim = Math.max(viewWidth, viewHeight); + + const impactFraction = impactRegionArea / viewArea; + const distanceFraction = moveDistance / viewMaxDim; + + return impactFraction * distanceFraction; +}; + +// An list to record all the entries with startTime and score. +let watcher_entry_record = []; + +// An object that tracks the document cumulative layout shift score. +// Usage: +// +// const watcher = new ScoreWatcher; +// ... +// assert_equals(watcher.score, expectedScore); +// +// The score reflects only layout shifts that occur after the ScoreWatcher is +// constructed. +ScoreWatcher = function() { + if (PerformanceObserver.supportedEntryTypes.indexOf("layout-shift") == -1) + throw new Error("Layout Instability API not supported"); + this.score = 0; + this.scoreWithInputExclusion = 0; + const resetPromise = () => { + this.promise = new Promise(resolve => { + this.resolve = () => { + resetPromise(); + resolve(); + } + }); + }; + resetPromise(); + const observer = new PerformanceObserver(list => { + list.getEntries().forEach(entry => { + this.lastEntry = entry; + this.score += entry.value; + watcher_entry_record.push({startTime: entry.startTime, score: entry.value, hadRecentInput : entry.hadRecentInput}); + if (!entry.hadRecentInput) + this.scoreWithInputExclusion += entry.value; + this.resolve(); + }); + }); + observer.observe({entryTypes: ['layout-shift']}); +}; + +ScoreWatcher.prototype.checkExpectation = function(expectation) { + if (expectation.score != undefined) + assert_equals(this.score, expectation.score); + if (expectation.sources) + check_sources(expectation.sources, this.lastEntry.sources); +}; + +ScoreWatcher.prototype.get_entry_record = function() { + return watcher_entry_record; +}; + +check_sources = (expect_sources, actual_sources) => { + assert_equals(expect_sources.length, actual_sources.length); + let rect_match = (e, a) => + e[0] == a.x && e[1] == a.y && e[2] == a.width && e[3] == a.height; + let match = e => a => + e.node === a.node && + rect_match(e.previousRect, a.previousRect) && + rect_match(e.currentRect, a.currentRect); + for (let e of expect_sources) + assert_true(actual_sources.some(match(e)), e.node + " not found"); +}; diff --git a/testing/web-platform/tests/layout-instability/rtl-distance.html b/testing/web-platform/tests/layout-instability/rtl-distance.html new file mode 100644 index 0000000000..6635438a5e --- /dev/null +++ b/testing/web-platform/tests/layout-instability/rtl-distance.html @@ -0,0 +1,31 @@ + +Layout Instability: movement distance uses starting corner + + +
+ + + + diff --git a/testing/web-platform/tests/layout-instability/shift-into-viewport-inline-direction-and-scroll.html b/testing/web-platform/tests/layout-instability/shift-into-viewport-inline-direction-and-scroll.html new file mode 100644 index 0000000000..241fdfc57f --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-into-viewport-inline-direction-and-scroll.html @@ -0,0 +1,29 @@ + +Layout Instability: shift into viewport in inline direction with scroll + + +
+
+ + + + + diff --git a/testing/web-platform/tests/layout-instability/shift-into-viewport-inline-direction.html b/testing/web-platform/tests/layout-instability/shift-into-viewport-inline-direction.html new file mode 100644 index 0000000000..8847e9058b --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-into-viewport-inline-direction.html @@ -0,0 +1,27 @@ + +Layout Instability: shift into viewport in inline direction + + +
+ + + + + diff --git a/testing/web-platform/tests/layout-instability/shift-into-viewport.html b/testing/web-platform/tests/layout-instability/shift-into-viewport.html new file mode 100644 index 0000000000..455abd807f --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-into-viewport.html @@ -0,0 +1,36 @@ + +Layout Instability: shift into viewport + + +
+ + + + + diff --git a/testing/web-platform/tests/layout-instability/shift-invisible.html b/testing/web-platform/tests/layout-instability/shift-invisible.html new file mode 100644 index 0000000000..3c404a9438 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-invisible.html @@ -0,0 +1,22 @@ + +Layout Instability: shift of invisible element not counted + +
+ + + + diff --git a/testing/web-platform/tests/layout-instability/shift-outside-viewport-inline-direction.html b/testing/web-platform/tests/layout-instability/shift-outside-viewport-inline-direction.html new file mode 100644 index 0000000000..57a19bceec --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-outside-viewport-inline-direction.html @@ -0,0 +1,27 @@ + +Layout Instability: shift out of viewport in inline direction + + +
+ + + + + diff --git a/testing/web-platform/tests/layout-instability/shift-outside-viewport.html b/testing/web-platform/tests/layout-instability/shift-outside-viewport.html new file mode 100644 index 0000000000..534d56be4b --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-outside-viewport.html @@ -0,0 +1,34 @@ + +Layout Instability: shift outside viewport + + +
+ + + + + + diff --git a/testing/web-platform/tests/layout-instability/shift-scroll-anchoring-natural-scroll.html b/testing/web-platform/tests/layout-instability/shift-scroll-anchoring-natural-scroll.html new file mode 100644 index 0000000000..1b146b05d7 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-scroll-anchoring-natural-scroll.html @@ -0,0 +1,65 @@ + +Layout Instability: shift offscreen with scroll anchoring and natural scroll + + +
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/shift-while-scrolled.html b/testing/web-platform/tests/layout-instability/shift-while-scrolled.html new file mode 100644 index 0000000000..822aa94cff --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-while-scrolled.html @@ -0,0 +1,37 @@ + +Layout Instability: shift while scrolled + + +
+ + + + diff --git a/testing/web-platform/tests/layout-instability/shift-with-counter-scroll-and-transform.html b/testing/web-platform/tests/layout-instability/shift-with-counter-scroll-and-transform.html new file mode 100644 index 0000000000..b4e4a99c1c --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-with-counter-scroll-and-transform.html @@ -0,0 +1,62 @@ + +Layout Instability: shift with counter scroll and transform not counted + + +
+
+
+
+
+
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/shift-with-counter-scroll-and-translate.html b/testing/web-platform/tests/layout-instability/shift-with-counter-scroll-and-translate.html new file mode 100644 index 0000000000..a51920fc98 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-with-counter-scroll-and-translate.html @@ -0,0 +1,62 @@ + +Layout Instability: shift with counter scroll and translate not counted + + +
+
+
+
+
+
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/shift-with-counterscroll-2.html b/testing/web-platform/tests/layout-instability/shift-with-counterscroll-2.html new file mode 100644 index 0000000000..d99723010e --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-with-counterscroll-2.html @@ -0,0 +1,59 @@ + +Layout Instability: shift with counterscroll not counted, with 2 scrollers + + +
+
+
+
+
+
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/shift-with-counterscroll.html b/testing/web-platform/tests/layout-instability/shift-with-counterscroll.html new file mode 100644 index 0000000000..85a8ed9336 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-with-counterscroll.html @@ -0,0 +1,54 @@ + +Layout Instability: shift with counterscroll not counted + + +
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/shift-with-overflow-status-change.html b/testing/web-platform/tests/layout-instability/shift-with-overflow-status-change.html new file mode 100644 index 0000000000..33eea3080b --- /dev/null +++ b/testing/web-platform/tests/layout-instability/shift-with-overflow-status-change.html @@ -0,0 +1,33 @@ + +Layout Instability: change under overflow clipping container causing shift and overflow status change at the same time + + + + +
+
+
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/simple-block-movement.html b/testing/web-platform/tests/layout-instability/simple-block-movement.html new file mode 100644 index 0000000000..10261f7d81 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/simple-block-movement.html @@ -0,0 +1,31 @@ + +Layout Instability: simple block movement is detected + + + + + + +
+ diff --git a/testing/web-platform/tests/layout-instability/sources-enclosure.html b/testing/web-platform/tests/layout-instability/sources-enclosure.html new file mode 100644 index 0000000000..8d1596ad49 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/sources-enclosure.html @@ -0,0 +1,62 @@ + +Layout Instability: source attribution with redundant enclosure + + + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/sources-maximpact.html b/testing/web-platform/tests/layout-instability/sources-maximpact.html new file mode 100644 index 0000000000..497932b065 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/sources-maximpact.html @@ -0,0 +1,73 @@ + +Layout Instability: source attribution prioritization + + + + + + +
+
+ diff --git a/testing/web-platform/tests/layout-instability/sources.html b/testing/web-platform/tests/layout-instability/sources.html new file mode 100644 index 0000000000..5bf3abfcc8 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/sources.html @@ -0,0 +1,38 @@ + +Layout Instability: sources attribute + + +
+ + + + diff --git a/testing/web-platform/tests/layout-instability/sticky-descendant-move.html b/testing/web-platform/tests/layout-instability/sticky-descendant-move.html new file mode 100644 index 0000000000..afab89592d --- /dev/null +++ b/testing/web-platform/tests/layout-instability/sticky-descendant-move.html @@ -0,0 +1,29 @@ + +Layout Instability: movement of descendant of sticky positioned + + + + +
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/sticky-layout-no-change.html b/testing/web-platform/tests/layout-instability/sticky-layout-no-change.html new file mode 100644 index 0000000000..8f3b2cf373 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/sticky-layout-no-change.html @@ -0,0 +1,26 @@ + +Layout Instability: sticky positioned layout no change + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/layout-instability/sub-frame.html b/testing/web-platform/tests/layout-instability/sub-frame.html new file mode 100644 index 0000000000..d7cb40002e --- /dev/null +++ b/testing/web-platform/tests/layout-instability/sub-frame.html @@ -0,0 +1,50 @@ + + + + + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/layout-instability/supported-layout-type.html b/testing/web-platform/tests/layout-instability/supported-layout-type.html new file mode 100644 index 0000000000..3ba209f50a --- /dev/null +++ b/testing/web-platform/tests/layout-instability/supported-layout-type.html @@ -0,0 +1,18 @@ + + +PerformanceObserver.supportedEntryTypes contains "layout-shift" + + + + + + + diff --git a/testing/web-platform/tests/layout-instability/toJSON.html b/testing/web-platform/tests/layout-instability/toJSON.html new file mode 100644 index 0000000000..83ee9c968e --- /dev/null +++ b/testing/web-platform/tests/layout-instability/toJSON.html @@ -0,0 +1,48 @@ + + +Layout Instability: toJSON + + +
+ + + + + diff --git a/testing/web-platform/tests/layout-instability/transform-above-filter-dynamic.html b/testing/web-platform/tests/layout-instability/transform-above-filter-dynamic.html new file mode 100644 index 0000000000..1d7ed51a91 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/transform-above-filter-dynamic.html @@ -0,0 +1,22 @@ + +Layout Instability: addition of scale transform above filter + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/transform-above-perspective-dynamic.html b/testing/web-platform/tests/layout-instability/transform-above-perspective-dynamic.html new file mode 100644 index 0000000000..fea65ca56a --- /dev/null +++ b/testing/web-platform/tests/layout-instability/transform-above-perspective-dynamic.html @@ -0,0 +1,24 @@ + +Layout Instability: addition of transform above perspective + +
+
+
Test
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/transform-change.html b/testing/web-platform/tests/layout-instability/transform-change.html new file mode 100644 index 0000000000..ea1f10ac8a --- /dev/null +++ b/testing/web-platform/tests/layout-instability/transform-change.html @@ -0,0 +1,33 @@ + +Layout Instability: no layout shift for transform change + + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/transform-counter-layout-shift.html b/testing/web-platform/tests/layout-instability/transform-counter-layout-shift.html new file mode 100644 index 0000000000..476e25a532 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/transform-counter-layout-shift.html @@ -0,0 +1,36 @@ + +Layout Instability: no layout shift if transform change counters location change + + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/transform.html b/testing/web-platform/tests/layout-instability/transform.html new file mode 100644 index 0000000000..98f94f53cc --- /dev/null +++ b/testing/web-platform/tests/layout-instability/transform.html @@ -0,0 +1,37 @@ + +Layout Instability: shift inside a transformed container + + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/translate-change.html b/testing/web-platform/tests/layout-instability/translate-change.html new file mode 100644 index 0000000000..ddfc041700 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/translate-change.html @@ -0,0 +1,33 @@ + +Layout Instability: no layout shift for change of individual transform property + + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/translate-counter-layout-shift.html b/testing/web-platform/tests/layout-instability/translate-counter-layout-shift.html new file mode 100644 index 0000000000..18e03ad7f2 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/translate-counter-layout-shift.html @@ -0,0 +1,36 @@ + +Layout Instability: no layout shift if translate change counters location change + + +
+
+
+ + + + diff --git a/testing/web-platform/tests/layout-instability/video.html b/testing/web-platform/tests/layout-instability/video.html new file mode 100644 index 0000000000..d699ba0ae3 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/video.html @@ -0,0 +1,32 @@ + +Layout Instability: no shifts from advancing video track + + + + + + + diff --git a/testing/web-platform/tests/layout-instability/visibility-hidden-layout-and-visible.html b/testing/web-platform/tests/layout-instability/visibility-hidden-layout-and-visible.html new file mode 100644 index 0000000000..35ee0d9ed8 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/visibility-hidden-layout-and-visible.html @@ -0,0 +1,33 @@ + +Layout Instability: visibility:hidden change with layout + + + + + + diff --git a/testing/web-platform/tests/layout-instability/visibility-hidden.html b/testing/web-platform/tests/layout-instability/visibility-hidden.html new file mode 100644 index 0000000000..583be10cd2 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/visibility-hidden.html @@ -0,0 +1,24 @@ + +Layout Instability: visibility:hidden + + + + + + diff --git a/testing/web-platform/tests/layout-instability/visible-to-hidden.html b/testing/web-platform/tests/layout-instability/visible-to-hidden.html new file mode 100644 index 0000000000..d6ac75a144 --- /dev/null +++ b/testing/web-platform/tests/layout-instability/visible-to-hidden.html @@ -0,0 +1,25 @@ + +Layout Instability: visibility:hidden + +
+ + + + -- cgit v1.2.3