stylo: The applicable declarations cache is (also) busted.

RESOLVED WORKSFORME

Status

()

Core
CSS Parsing and Computation
RESOLVED WORKSFORME
2 years ago
a year ago

People

(Reporter: emilio, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
Today in "Servo styling system caches are busted", the applicable declarations!

So, basically, we cache styles that depend on relative units from the parent.

The following test case fails on Servo (with the sequential layout flag turned on, `-y 1`):

<!doctype html>
<style>
  div {
    padding: 100px;
    background: red;
    font-size: 100px;
  }

  .foo {
    padding: 200px;
    font-size: 0;
  }

  p {
    background: blue;
    padding: 1em;
  }
</style>
<div>
  <p>fewafewa</p>
</div>
<div class="foo">
  <p>fewafewa</p>
</div>
This is gone now that we have the rule tree.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.