-
Notifications
You must be signed in to change notification settings - Fork 2.3k
FF144 CSSStyleProperties CSS2Properties #27975
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
base: main
Are you sure you want to change the base?
Conversation
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
"chrome_android": "mirror", | ||
"edge": "mirror", | ||
"firefox": { | ||
"version_added": false |
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.
Checking if this should be true in https://bugzilla.mozilla.org/show_bug.cgi?id=1989925#c4 - but assuming not.
"opera": "mirror", | ||
"opera_android": "mirror", | ||
"safari": { | ||
"version_added": "26" |
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.
This is an assumption - but it is a reasonable assumption.
FF144 added support for
CSSStyleProperties
in https://bugzilla.mozilla.org/show_bug.cgi?id=1919582 , as updated in #27902However as explained in https://bugzilla.mozilla.org/show_bug.cgi?id=1919582#c30 the
CSSStyleProperties
was renamed from a preexistingCSS2Properties
. This adds the alternative name to the feature for Firefox. Note that the developer indicates this was from version 2 (checked) but might have been version 1.FF145 added support for returning this from
.style
in elements (HTML, SVG, MathML) and also ingetComputedStyle()
in https://bugzilla.mozilla.org/show_bug.cgi?id=1989925. I have set these to have a subfeature indicating the new return type.It is not clear if FF returns it from
CSSStyleRule.style
- I am asking in https://bugzilla.mozilla.org/show_bug.cgi?id=1989925#c4Chrome hasn't added support for
CSSStyleProperties
as far as I can tell.Safari has been marked as supporting
CSSStyleProperties
in 26 already, but the return methods were not marked. I have set all of them to working in that version though I have not tested it (they should be).In addition, the spec changed to move the
cssFloat
attribute fromCSSStyleDeclaration
toCSSStyleProperties
. This won't affect FF which never implemented that, but it does affect Safari. So I've marked it as removed and also now non-standard and deprecated.Related docs work can be tracked in mdn/content#41133