Re: [csswg-drafts] [css-view-transitions-1] Limiting the feature to HTML (#9357)

Any document type that can be loaded into a browsing context can also be navigated. An SVG doc can also have CSS styles even without using any HTML elements, and can have links that can cause navigation. I don't know if view transitions work for SVG elements, but you can also have HTML (or MathML) elements in SVG.

Also, if it's limited to "HTML documents", then that excludes XHTML, which seems unnecessary/bad.

HTML's rendering section already says how to handle "unstyled XML", where the UA stylesheet doesn't apply at all: https://html.spec.whatwg.org/multipage/rendering.html#unstyled-xml-documents

So I think having any-namespace rules in the UA stylesheet is fine. There's also precedent for that with fullscreen: https://fullscreen.spec.whatwg.org/#user-agent-level-style-sheet-defaults

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9357#issuecomment-1720284960 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 14 September 2023 23:33:49 UTC