Open
Bug 1034974
Opened 10 years ago
Updated 2 years ago
Page won’t be drawn until CSS finishes loading
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: nagisa, Unassigned)
Details
(Whiteboard: DUPEME)
Attachments
(1 file)
951 bytes,
text/x-python
|
Details |
If the HTML loads fine, but linked CSS does not, the page will not be drawn until linked CSS finishes (or fails) loading. I noticed this issue on gmane a few days ago where the page itself loaded very quickly, but loads for CSS were blackholed and I had to for wait TCP connection timeout (i.e. for stylesheet load to fail) to view contents of the page. I attached a simple HTTP server written in python to which pointing firefox will easily reproduce the issue.
Reporter | ||
Comment 1•10 years ago
|
||
After launching the server, point your firefox at http://localhost:8080/ or equivalent.
Comment 2•10 years ago
|
||
I think that could be a result of a recent networking change (bug 237623) ?
Component: General → Networking: HTTP
Flags: needinfo?(bzbarsky)
Product: Firefox → Core
Comment 3•10 years ago
|
||
(In reply to Matthias Versen [:Matti] from comment #2) > I think that could be a result of a recent networking change (bug 237623) ? I don't think it sounds like that. The code changes done for Bug 237623 only trigger once the connection is closed, so it won't affect slow or stalled transfers. If however the connection that delivers the CSS ends prematurely, that would result in an error and would cause the CSS to not be used.
Comment 4•10 years ago
|
||
> I think that could be a result of a recent networking change (bug 237623) ?
Do you think that because this is a regression or something?
Because this bug as reported sounds like a duplicate of a very old bug that I can't locate right now about timing out the wait on stylesheets and starting layout anyway even if we have pending stylesheet loads. We normally wait on CSS to load before starting layout to avoid flashes of unstyled content.
Flags: needinfo?(bzbarsky) → needinfo?(bugzilla)
Comment 5•10 years ago
|
||
>Do you think that because this is a regression or something?
Yes, i thought that this sounds like a recent regression but i could be wrong - sorry in that case.
Flags: needinfo?(bugzilla)
Updated•10 years ago
|
Component: Networking: HTTP → DOM
Whiteboard: DUPEME
Reporter | ||
Comment 6•10 years ago
|
||
I could reproduce in Firefox 4, Firefox 2, Chrome, IE 11 and IE 8, so this smells like expected behaviour… even if not user-friendly one.
Comment 7•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•