W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

[csswg-drafts] [css-values] Get the URL of the current document (#6546)

From: Theresa O'Connor via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Aug 2021 18:38:55 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-979516957-1629916733-sysbot+gh@w3.org>
hober has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values] Get the URL of the current document ==
One of the use cases for #6544 is to provide a QR code that, when scanned, would be the URL of the current document. But apparently there's no way to get the URL of the current document from CSS.

```
[18:33] <hober> Ooooh, very simple CSS question that I apparently don't         
                know the answer to: How can I, from CSS, get a URL to           
                the current document? Not the current stylesheet, the           
                current document. What to pass to url()?                        
[18:36] <cbiesinger> I didn't think that was possible                           
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6546 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 25 August 2021 18:38:57 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:42 UTC