Closed
Bug 622314
Opened 13 years ago
Closed 9 years ago
Hang with multiple <body link> elements
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
b2g-v2.5 | --- | fixed |
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: hang, testcase)
Attachments
(3 files)
No description provided.
Reporter | ||
Comment 1•13 years ago
|
||
Reporter | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Hmm. So the problem here is that resolving style for a <body> will map its attributes into style, and @link will trigger us to set the link color on the nsHTMLStyleSheet. Which will notice that the link color is changing, if it is, and post a restyle for the root element. Then we process that restyle, resolve style for the first body, then for the second... the effect is that we post another restyle for the root element. So we get stuck in an infinite loop processing restyles.
Comment 4•9 years ago
|
||
Testcase no longer hangs on trunk.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → WORKSFORME
Comment 6•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/81916370ced9
Comment 7•9 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/81916370ced9
status-b2g-v2.5:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•