W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css-sizing-4] Should aspect-ratio be used for abspos `top: 0; bottom: 0;`? (#5151)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Wed, 03 Jun 2020 18:38:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-638385995-1591209495-sysbot+gh@w3.org>
Note that this produces a 500x500 box (not 100x100) in both Firefox and Chromium:

```html
<div style="width: 500px; height: 100px; position: relative;">
  <svg viewBox="0 0 1 1" style="background: green; position: absolute; left: 0; top: 0; bottom: 0;"></svg>
```

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5151#issuecomment-638385995 using your GitHub account
Received on Wednesday, 3 June 2020 18:38:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:27 UTC