mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
style: Fix ex computation with more than one operand.
This commit is contained in:
parent
826352ab4c
commit
90ee40f43f
4 changed files with 56 additions and 1 deletions
|
@ -0,0 +1,11 @@
|
|||
<!doctype html>
|
||||
<title>CSS Test Reference</title>
|
||||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
|
||||
<style>
|
||||
div {
|
||||
width: 2ex;
|
||||
height: 2ex;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<div></div>
|
|
@ -0,0 +1,19 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: Calc expression using multiple ex operands</title>
|
||||
<link rel="match" href="ex-calc-expression-001-ref.html">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-values/#funcdef-calc">
|
||||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
|
||||
<style>
|
||||
/*
|
||||
This is a regression test for:
|
||||
https://github.com/servo/servo/pull/18807
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=1407092
|
||||
*/
|
||||
div {
|
||||
width: calc(1ex + 1ex);
|
||||
height: calc(1ex + 1ex);
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<div></div>
|
Loading…
Add table
Add a link
Reference in a new issue