Open Bug 631547 Opened 13 years ago Updated 2 years ago

Block layout on non-parser-inserted stylesheets too

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

See bug 629366 comment 5.  We should really block layout start (but not script execution, imo) on non-parser-inserted stylesheets.

Objections?

Taking, but if someone (sicking?) wants to steal, please do!
Blocks: 629366
On a related note, I noticed that setting innerHTML = "<link rel=stylesheet ...>" adds execute blockers to the script loader. Is that intentional? Looks like a bug to me.
Yeah, that's a bug.  Did that use to happen with the pre-html5 parser?
(In reply to comment #2)
> Yeah, that's a bug.  Did that use to happen with the pre-html5 parser?

I believe so (at least for XML; didn't thoroughly verify for text/html yet).
Boris: Still working on this?
Flags: needinfo?(bzbarsky)
Not actively.

Emilio has been looking into some related issues, I think...
Assignee: bzbarsky → nobody
Flags: needinfo?(bzbarsky)
Priority: P2 → --
I can take a look at this when I have the time I guess, thanks for CCing Boris :)
Flags: needinfo?(emilio)
See Also: → 1473495
Component: DOM → DOM: Core & HTML
Attached file test-case

I haven't seen this come up in practice lately at least. Other browsers don't seem to do this either, but here's a test-case anyways.

Flags: needinfo?(emilio)

I haven't seen this come up in practice at least lately, and other browsers don't seem to do this. Here's a test-case

Severity: normal → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: