New issue
Advanced search Search tips

Issue 682618 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Changing href of a link rel=stylesheet applies the old sheet while loading the new

Reported by r...@opera.com, Jan 19 2017

Issue description

See slowsheet.html and x.css attached.

When we have a fully loaded sheet through link rel=stylesheet which has been  applied, and then change the href to a different stylesheet, the old sheet will apply during the load. That is, unless we are doing other modifications which trigger an active stylesheet update.

We are skipping stylesheets from while collecting active stylesheets (see [1]). The reason the old sheet is applied during loading, is that we don't trigger an active stylesheet update when changing the href attribute.

This is different from what Firefox does. Firefox updates the applied (active) stylesheets once href is set.

I've reported a cssom issue on request from simonp@opera.com:

https://github.com/w3c/csswg-drafts/issues/954

 
x.css
31 bytes View Download
slowsheet.html
474 bytes View Download

Comment 1 by suzyh@chromium.org, Jan 24 2017

Labels: -Pri-3 Pri-2
Status: Available (was: Untriaged)
Components: -Blink>Loader
Labels: Update-Quarterly

Comment 3 by sim...@opera.com, Sep 14 2017

Cc: -sim...@opera.com zcorpan@gmail.com

Comment 4 by meade@chromium.org, Oct 31 2017

Labels: HardBug Code-Invalidation
Labels: -Update-Quarterly
Project Member

Comment 6 by sheriffbot@chromium.org, Dec 6

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment