Open Bug 576159 Opened 14 years ago Updated 8 months ago

Consider flagging prescontexts that have media queries that depend on parent document

Categories

(Core :: CSS Parsing and Computation, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

We convert style flushes on a document into layout flushes on the parent, just in case the document has media queries that depend on the viewport size.  But most documents don't, right?  Is it worth flagging the prescontext (during media query matching) if the media query depends on the viewport size, and then conditioning the promotion to Flush_Layout on that flag?
Blocks: domperf
Keywords: perf
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.