Closed
Bug 840317
Opened 13 years ago
Closed 13 years ago
media queries in scoped style sheets not re-evaluated
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: heycam, Assigned: heycam)
Details
Attachments
(2 files)
|
505 bytes,
text/html
|
Details | |
|
4.09 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
@media rules in scoped style sheets don't seem to be re-evaluated properly. Open the attached test, resize the window and see how the background colour does not change.
probably need to fix nsStyleSet::MediumFeaturesChanged
| Assignee | ||
Comment 2•13 years ago
|
||
Looks like it. (I see I need to update SizeOfIncludingThis too.)
| Assignee | ||
Comment 3•13 years ago
|
||
Comment on attachment 712690 [details] [diff] [review]
patch
May as well also toss in nsTArray::SizeOfExcludingThis to include the size of the array's buffer too.
r=dbaron
Attachment #712690 -
Flags: review?(dbaron) → review+
| Assignee | ||
Comment 5•13 years ago
|
||
Flags: in-testsuite+
Comment 6•13 years ago
|
||
This needed a followup to fix a build warning (treated as error), for a signed loop variable being compared to an unsigned value (Length()):
https://hg.mozilla.org/integration/mozilla-inbound/rev/6d92250d9e52
| Assignee | ||
Comment 7•13 years ago
|
||
Thanks Daniel.
Comment 8•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b8c19a26a1d2
https://hg.mozilla.org/mozilla-central/rev/6d92250d9e52
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•