script: Clarify htmllinkelement's comment about pending_loads.

This commit is contained in:
Emilio Cobos Álvarez 2016-12-16 15:20:28 +01:00
parent d4d4af9cf7
commit 072db0279a
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -45,7 +45,7 @@ pub struct HTMLLinkElement {
/// https://html.spec.whatwg.org/multipage/#a-style-sheet-that-is-blocking-scripts /// https://html.spec.whatwg.org/multipage/#a-style-sheet-that-is-blocking-scripts
parser_inserted: Cell<bool>, parser_inserted: Cell<bool>,
/// The number of loads that this link element has triggered (could be more /// The number of loads that this link element has triggered (could be more
/// than one because of imports), and how many of them have finished. /// than one because of imports) and have not yet finished.
pending_loads: Cell<u32>, pending_loads: Cell<u32>,
/// Whether any of the loads have failed. /// Whether any of the loads have failed.
any_failed_load: Cell<bool>, any_failed_load: Cell<bool>,