-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 <style>'s disabled IDL attribute #7779
Conversation
I think this should be ready for another look spec-wise. I will confirm tomorrow whether or not the existing tests cover the case I outline in the example, and if not I will add one. |
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.
@emilio want to quickly double check this?
The case where we set |
I've uploaded https://crrev.com/c/3577899 to introduce a WPT that tests |
This is all the work required to land whatwg/html#7779 and close https://crbug.com/695984. R=masonf@chromium.org Bug: 695984 Change-Id: I43b56a50c3dc8bf00e2b0f7e030a5a1b5095b2c0
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.
Looks good, thanks!
This is all the work required to land whatwg/html#7779 and close https://crbug.com/695984. R=masonf@chromium.org Bug: 695984 Change-Id: I43b56a50c3dc8bf00e2b0f7e030a5a1b5095b2c0
This is all the work required to land whatwg/html#7779 and close https://crbug.com/695984. R=masonf@chromium.org Bug: 695984 Change-Id: I43b56a50c3dc8bf00e2b0f7e030a5a1b5095b2c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3577899 Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Dominic Farolino <dom@chromium.org> Cr-Commit-Position: refs/heads/main@{#990764}
This is all the work required to land whatwg/html#7779 and close https://crbug.com/695984. R=masonf@chromium.org Bug: 695984 Change-Id: I43b56a50c3dc8bf00e2b0f7e030a5a1b5095b2c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3577899 Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Dominic Farolino <dom@chromium.org> Cr-Commit-Position: refs/heads/main@{#990764}
This is all the work required to land whatwg/html#7779 and close https://crbug.com/695984. R=masonf@chromium.org Bug: 695984 Change-Id: I43b56a50c3dc8bf00e2b0f7e030a5a1b5095b2c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3577899 Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Dominic Farolino <dom@chromium.org> Cr-Commit-Position: refs/heads/main@{#990764}
The tests have been merged, and I uploaded w3c/svgwg#879 for SVGStyleElement. |
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.
Great retro-specification work; thanks for taking care of this years-old gap!
…bled setter, a=testonly Automatic update from web-platform-tests Blink: Add WPT for HTMLStyleElement#disabled setter This is all the work required to land whatwg/html#7779 and close https://crbug.com/695984. R=masonf@chromium.org Bug: 695984 Change-Id: I43b56a50c3dc8bf00e2b0f7e030a5a1b5095b2c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3577899 Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Dominic Farolino <dom@chromium.org> Cr-Commit-Position: refs/heads/main@{#990764} -- wpt-commits: 0d6ebf3f44c68879fe2459c8a313005fae078639 wpt-pr: 33569
…bled setter, a=testonly Automatic update from web-platform-tests Blink: Add WPT for HTMLStyleElement#disabled setter This is all the work required to land whatwg/html#7779 and close https://crbug.com/695984. R=masonf@chromium.org Bug: 695984 Change-Id: I43b56a50c3dc8bf00e2b0f7e030a5a1b5095b2c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3577899 Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Dominic Farolino <dom@chromium.org> Cr-Commit-Position: refs/heads/main@{#990764} -- wpt-commits: 0d6ebf3f44c68879fe2459c8a313005fae078639 wpt-pr: 33569
This is all the work required to land whatwg/html#7779 and close https://crbug.com/695984. R=masonf@chromium.org Bug: 695984 Change-Id: I43b56a50c3dc8bf00e2b0f7e030a5a1b5095b2c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3577899 Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Dominic Farolino <dom@chromium.org> Cr-Commit-Position: refs/heads/main@{#990764}
This is all the work required to land whatwg/html#7779 and close https://crbug.com/695984. R=masonf@chromium.org Bug: 695984 Change-Id: I43b56a50c3dc8bf00e2b0f7e030a5a1b5095b2c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3577899 Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Dominic Farolino <dom@chromium.org> Cr-Commit-Position: refs/heads/main@{#990764} NOKEYCHECK=True GitOrigin-RevId: 9be30b412651759d43b0e5dee12848a0d521dc06
This CL is a follow-up to whatwg/html#7779 which largely fixed crbug.com/695984 when we decided to standardize HTMLStyleElement#disabled. There is a lingering comment about removing the IDL attribute that this CL deletes. Bug: 695984 Change-Id: I0c63496063b4e71922d6fdc528d8e1f885a9b4b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4335038 Auto-Submit: Dominic Farolino <dom@chromium.org> Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/main@{#1116466}
This PR adds back the HTMLStyleElement's
disabled
IDL attribute. All browsers implement this, however unlike HTMLLinkElement, no browsers implement adisabled
content attribute.Note that this was originally tracked by #1081. That issue was closed #4519, though it did not spec anything
<style>
related./infrastructure.html ( diff )
/links.html ( diff )
/semantics.html ( diff )