Skip to content
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

[renderblocking] Don't cancel implicit render-blocking when blocking attribute is removed #33798

Merged
merged 1 commit into from
May 2, 2022

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Apr 26, 2022

  1. This patch adds tests for Don't unblock rendering for implicitly render-blocking elements on blocking attribute changes whatwg/html#7857.
    When blocking=render is removed, if the element is implicitly
    render-blocking, we shouldn't unblock rendering for it.

  2. This patch fixes how <link> element respond to blocking attribute
    changes. Previously, the element simply reprocesses (cancel and then
    restart) on every blocking attribute change, causing unnecessary
    work and also some bugs on stylesheets. This patch changes that into
    unblock rendering if needed to match the spec.

Bug: 1271296
Change-Id: I54a2f33dc1ed9971eaeceeb677a165d598d5d4d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3608747
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#998568}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-3608747 branch 3 times, most recently from ccb8ffa to 2ccb413 Compare April 28, 2022 20:18
…attribute is removed

1. This patch adds tests for whatwg/html#7857.
   When `blocking=render` is removed, if the element is implicitly
   render-blocking, we shouldn't unblock rendering for it.

2. This patch fixes how <link> element respond to `blocking` attribute
   changes. Previously, the element simply reprocesses (cancel and then
   restart) on every `blocking` attribute change, causing unnecessary
   work and also some bugs on stylesheets. This patch changes that into
   unblock rendering if needed to match the spec.

Bug: 1271296
Change-Id: I54a2f33dc1ed9971eaeceeb677a165d598d5d4d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3608747
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#998568}
@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 4de4be2 into master May 2, 2022
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-3608747 branch May 2, 2022 21:46
foolip added a commit that referenced this pull request Nov 14, 2023
These tests were added in these PRs:
#32553
#32669
#32703
#32809
#33291
#33798

These were developed against HTML PRs which are now merged:
whatwg/html#7474
whatwg/html#7603
whatwg/html#7857
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Nov 22, 2023
…r tentative, a=testonly

Automatic update from web-platform-tests
Mark most render-blocking tests no longer tentative (#43113)

These tests were added in these PRs:
web-platform-tests/wpt#32553
web-platform-tests/wpt#32669
web-platform-tests/wpt#32703
web-platform-tests/wpt#32809
web-platform-tests/wpt#33291
web-platform-tests/wpt#33798

These were developed against HTML PRs which are now merged:
whatwg/html#7474
whatwg/html#7603
whatwg/html#7857
--

wpt-commits: aa6bdcbb00f30914b87794cf82b015fc02d4cc5b
wpt-pr: 43113
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Nov 22, 2023
…r tentative, a=testonly

Automatic update from web-platform-tests
Mark most render-blocking tests no longer tentative (#43113)

These tests were added in these PRs:
web-platform-tests/wpt#32553
web-platform-tests/wpt#32669
web-platform-tests/wpt#32703
web-platform-tests/wpt#32809
web-platform-tests/wpt#33291
web-platform-tests/wpt#33798

These were developed against HTML PRs which are now merged:
whatwg/html#7474
whatwg/html#7603
whatwg/html#7857
--

wpt-commits: aa6bdcbb00f30914b87794cf82b015fc02d4cc5b
wpt-pr: 43113
vinnydiehl pushed a commit to vinnydiehl/mozilla-unified that referenced this pull request Nov 24, 2023
…r tentative, a=testonly

Automatic update from web-platform-tests
Mark most render-blocking tests no longer tentative (#43113)

These tests were added in these PRs:
web-platform-tests/wpt#32553
web-platform-tests/wpt#32669
web-platform-tests/wpt#32703
web-platform-tests/wpt#32809
web-platform-tests/wpt#33291
web-platform-tests/wpt#33798

These were developed against HTML PRs which are now merged:
whatwg/html#7474
whatwg/html#7603
whatwg/html#7857
--

wpt-commits: aa6bdcbb00f30914b87794cf82b015fc02d4cc5b
wpt-pr: 43113
vinnydiehl pushed a commit to vinnydiehl/mozilla-unified that referenced this pull request Nov 24, 2023
…r tentative, a=testonly

Automatic update from web-platform-tests
Mark most render-blocking tests no longer tentative (#43113)

These tests were added in these PRs:
web-platform-tests/wpt#32553
web-platform-tests/wpt#32669
web-platform-tests/wpt#32703
web-platform-tests/wpt#32809
web-platform-tests/wpt#33291
web-platform-tests/wpt#33798

These were developed against HTML PRs which are now merged:
whatwg/html#7474
whatwg/html#7603
whatwg/html#7857
--

wpt-commits: aa6bdcbb00f30914b87794cf82b015fc02d4cc5b
wpt-pr: 43113
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Nov 30, 2023
…r tentative, a=testonly

Automatic update from web-platform-tests
Mark most render-blocking tests no longer tentative (#43113)

These tests were added in these PRs:
web-platform-tests/wpt#32553
web-platform-tests/wpt#32669
web-platform-tests/wpt#32703
web-platform-tests/wpt#32809
web-platform-tests/wpt#33291
web-platform-tests/wpt#33798

These were developed against HTML PRs which are now merged:
whatwg/html#7474
whatwg/html#7603
whatwg/html#7857
--

wpt-commits: aa6bdcbb00f30914b87794cf82b015fc02d4cc5b
wpt-pr: 43113

UltraBlame original commit: 58cb91eda01d9227e0e02791aa6562da04967a42
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Nov 30, 2023
…r tentative, a=testonly

Automatic update from web-platform-tests
Mark most render-blocking tests no longer tentative (#43113)

These tests were added in these PRs:
web-platform-tests/wpt#32553
web-platform-tests/wpt#32669
web-platform-tests/wpt#32703
web-platform-tests/wpt#32809
web-platform-tests/wpt#33291
web-platform-tests/wpt#33798

These were developed against HTML PRs which are now merged:
whatwg/html#7474
whatwg/html#7603
whatwg/html#7857
--

wpt-commits: aa6bdcbb00f30914b87794cf82b015fc02d4cc5b
wpt-pr: 43113

UltraBlame original commit: 58cb91eda01d9227e0e02791aa6562da04967a42
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Nov 30, 2023
…r tentative, a=testonly

Automatic update from web-platform-tests
Mark most render-blocking tests no longer tentative (#43113)

These tests were added in these PRs:
web-platform-tests/wpt#32553
web-platform-tests/wpt#32669
web-platform-tests/wpt#32703
web-platform-tests/wpt#32809
web-platform-tests/wpt#33291
web-platform-tests/wpt#33798

These were developed against HTML PRs which are now merged:
whatwg/html#7474
whatwg/html#7603
whatwg/html#7857
--

wpt-commits: aa6bdcbb00f30914b87794cf82b015fc02d4cc5b
wpt-pr: 43113

UltraBlame original commit: 58cb91eda01d9227e0e02791aa6562da04967a42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants