### Bug description

When `output-location` is not specified for an R chunk, the resulting figure fills up the available space and is resized automatically.

When `output-location: fragment`, the figure is not resized, potentially extending beyond the slide.

I would expect the figure sizes to be the same for these two situations since `fragment` is supposed to just delay the figure display.

An example of this can be found in the embedded slide deck at https://mine-cetinkaya-rundel.github.io/quarto-tip-a-day/posts/05-output-location/.

- Quarto: I'm using dev quarto: 99.9.9
- RStudio: RStudio 2022.07.0-preview+544 "Spotted Wakerobin" Preview (3a56d20250c52c4b1690d909a00f17e4b4627e54, 2022-06-27) for macOS Mozilla/5.0 (Macintosh; Intel Mac OS X 12_4_0) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.10 Chrome/69.0.3497.128 Safari/537.36
- OS: macOS 12.4

### Checklist

- [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read?
- [X] included a minimal, self-contained, and reproducible example?
- [X] documented the quarto version you're running, by providing the output produced by `quarto check` in a terminal in your issue?
- [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well.
- [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
2022-07-02T22:23:13Z
mine-cetinkaya-rundel
bug
Future
open
Figure sizing is inconsistent between default and fragment output location in revealjs
https://github.com/quarto-dev/quarto-cli/issues/1279