mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 936827a6527f1c53051d3bc5bc79304c88c0737f
This commit is contained in:
parent
c585f4fff5
commit
02a68a38f0
338 changed files with 14862 additions and 2933 deletions
|
@ -0,0 +1,18 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS values: max() between pixel and percentage values</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-values-4/#comp-func">
|
||||
<link rel="match" href="reference/200-200-green.html">
|
||||
<link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh@chromium.org">
|
||||
<style>
|
||||
html, body { margin: 0px; padding: 0px; }
|
||||
#parent { width: 400px; }
|
||||
#target {
|
||||
width: max(100px, 25% + 100px, 150px + 10%);
|
||||
height: 200px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<div id=parent>
|
||||
<div id=target></div>
|
||||
</div>
|
|
@ -0,0 +1,18 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS values: min() between pixel and percentage values</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-values-4/#comp-func">
|
||||
<link rel="match" href="reference/200-200-green.html">
|
||||
<link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh@chromium.org">
|
||||
<style>
|
||||
html, body { margin: 0px; padding: 0px; }
|
||||
#parent { width: 400px; }
|
||||
#target {
|
||||
width: min(300px, 25% + 100px, 50px + 50%);
|
||||
height: 200px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<div id=parent>
|
||||
<div id=target></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue