Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1799216] Keep clip chain id in sync when switching items that affect clip positioning. #36837

Merged
merged 1 commit into from
Nov 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions css/css-transforms/transform-clip-001-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!doctype html>
<title>CSS test reference</title>
<style>
body { margin: 0 }
</style>
<div style="width: 200px; height: 10px; background-color: blue; margin: 10px"></div>
16 changes: 16 additions & 0 deletions css/css-transforms/transform-clip-001.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS transforms and clipping</title>
<link rel=author href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel=author href="https://mozilla.org" title="Mozilla">
<link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=1799216">
<link rel=help href="https://drafts.csswg.org/css-transforms/">
<link rel=match href="transform-clip-001-ref.html">
<style>
body { margin: 0 }
</style>
<div style="overflow: clip; width: 200px; height: 200px; transform: translate(10px, 10px)">
<div style="overflow: clip; pointer-events: none; width: 200px; height: 200px; transform: translate(0px, -190px)">
<div style="background: blue; width: 200px; height: 200px; transform: translate(0px, 190px);"></div>
</div>
</div>