-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add features and keys from CSSOM View Module spec #2363
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggestions, but nothing blocking. Looks good to me!
Co-authored-by: James Stuckey Weber <[email protected]>
Co-authored-by: James Stuckey Weber <[email protected]>
Co-authored-by: James Stuckey Weber <[email protected]>
Co-authored-by: James Stuckey Weber <[email protected]>
Lots of stuff in here, so getting a 3rd pair of eyes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple minor things here, but this is quite close.
Co-authored-by: Daniel D. Beck <[email protected]>
Co-authored-by: Daniel D. Beck <[email protected]>
Co-authored-by: Daniel D. Beck <[email protected]>
Co-authored-by: Patrick Brosset <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, one last nit in a line comment, then we're ready to merge. Thank you!
Co-authored-by: Daniel D. Beck <[email protected]>
Epic bucket of stuff. This PR parcels out almost everything in the CSSOM View spec across a number of features.
While it looks big, there's ultimately not a lot of controversial stuff in here. Many of the keys seemed to have a straightforward home already in existing features.
New features split out so far are Caniuse features:
New features split out, but not based on Caniuse features:
The only keys remaining from that spec now are:
getBoxQuads
keys, which are behind a flag on Firefox since ~2014Something that feels ok but not ideal is putting all the size/positional bits of
Element
andWindow
intoDOM
andWindow
features, respectively. They are certainly properties of those, and it didn't move any baselines, but they are a different set of use-cases. But this option is likely better than a new feature for this, as I didn't find any great evidence showing developer POV around CSSOM View as a whole thing on its own.