-
Notifications
You must be signed in to change notification settings - Fork 142
Update @viewport docs to say it's going away #3404
Comments
To start with, I've had a play with putting the deprecated notice on top of https://wiki.developer.mozilla.org/en-US/docs/Web/CSS/@viewport, plus a note to point to the standards track removal discussion. I'll put this into the next sprint, where I'll finalise that work, and update the BCD accordingly. |
This statement is not completely true. Blink has a kind of support for it as they use it in their own default css, but I'm not sure this is accessible to web developers.
https://bugs.chromium.org/p/chromium/issues/detail?id=1101182 Probably a test would help understand if it's still active in Chrome or not. |
I've been looking into this and there is now a note on the Chrome bug referenced above:
Do we need the big BCD table for all the different descriptors? Or would dropping this down to one line for viewport be reasonable at this point. What else needs doing on the MDN page when something is being removed @chrisdavidmills ? It does still appear to exist in the Editors Draft of the spec, so presumably that update hasn't been made yet. |
@rachelandrew This is a good question. The page already has a deprecated notice up top, and I'd support you replacing the BCD with a single line — the different rows are all pretty similar anyway. I think that would be sufficient, once the removals are actually done. |
@chrisdavidmills BCD for this is now merged. |
@rachelandrew cool, in that case it should appear soon enough on the page. I'll close this one. |
As per w3c/csswg-drafts#4766, the @viewport at-rule isn't supported in any major browsers at the moment, and is due to be removed from the spec. We should update our docs accordingly.
See also mdn/browser-compat-data#6213.
The text was updated successfully, but these errors were encountered: