Re: [css-houdini-drafts] [typed-om] Trim CSSResourceValue and subclasses to opaque objects for this level, punt rest to level 2

CSSURLValue details:

* *will* expose a `.url` attribute.  

* This URL will *always* be either absolute, or a bare hash.  If absolute, it will be absolutized according to standard CSS rules (using the base URL of the stylesheet/document).  The underlying value might or might not be absolutized at this point (the timing is currently undefined in CSS), but Typed OM will always present an absolutized URL.  This avoids the current undefined behavior in CSS, and gives more author-friendly behavior when moving values between contexts with different base URLs.

* will have a constructor that takes a URL; again, it will either be absolutized immediately or left as a bare hash, using the "current setting object's API base url" (per @domenic)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/716#issuecomment-368659261 using your GitHub account

Received on Monday, 26 February 2018 21:36:57 UTC