Skip to content

Commit

Permalink
Set position to relative to make Safari to succeed top/bottom tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenstolk committed Dec 30, 2015
1 parent f92f9ff commit 94f505a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit/custom-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@
<template>
<style>
child-of-child-with-var {
/* in certain browsers (e.g. Safari) `top`, `bottom`, `left`, `right` don't compute
when no explicit position is defined (`relative` / `absolute` / `fixed`) */
position: relative;
--variable-own-line: "Varela font";
margin-top: var(--variable-property-own-line);
margin-bottom: var(--variable-property-preceded-property);
Expand Down

0 comments on commit 94f505a

Please sign in to comment.