Set position to relative to make Safari to succeed top/bottom tests

This commit is contained in:
Ruben Stolk 2015-12-28 19:28:30 +01:00
parent f92f9ff38e
commit 94f505a721

View File

@ -248,6 +248,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<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);