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

Css contain #10549

Merged
merged 10 commits into from Apr 25, 2018

[css-contain] size containment test

Corresponds to the spec changes from
w3c/csswg-drafts#2510
  • Loading branch information...
frivoal committed Apr 20, 2018
commit 69b5681ee7aa5a028eb694b2c93bfd48c1ef08e4
@@ -0,0 +1,17 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS-contain test: size containment on non-atomic inlines</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<meta name=flags content="">
<meta name=assert content="size containment does not apply to non atomic inlines">
<link rel="match" href="reference/contain-size-001-ref.html">
<link rel=help href="https://drafts.csswg.org/css-contain/#containment-size">
<style>
div { overflow: hidden; }
span { contain: size; }
</style>
<p>This test passes if you can see the word PASS below.
<div><span>PASS</span></div>
@@ -0,0 +1,8 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS-contain test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<p>This test passes if you can see the word PASS below.
<div>PASS</div>
ProTip! Use n and p to navigate between commits in a pull request.