mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Set position to relative to make Safari to succeed top/bottom tests
This commit is contained in:
parent
f92f9ff38e
commit
94f505a721
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user