Re: [csswg-drafts] [css-cascade] Cascade layers vs. VTT STYLE blocks (#6735)

I think this is really a question for the WebVTT spec, but if they meant for STYLE blocks to have the highest possible precedence (over all other rules in the author style sheet) then yes, they should be mapped to the style attr category in the cascade.

Note the wording there was careful to avoid constraining styles to attributes specifically, and talks about “declarations that are attached directly to an element (such as the contents of a style attribute)”, so it's not unreasonable to interpret them that way.

Either way, I think WebVTT needs to do the clarifying here.

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


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

Received on Friday, 15 October 2021 21:16:11 UTC