Closed Bug 1355368 Opened 7 years ago Closed 7 years ago

stylo: font-weight descriptor in @font-face rule should preserve keyword values

Categories

(Core :: CSS Parsing and Computation, enhancement, P2)

53 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: xidorn, Assigned: ferjm)

References

Details

Both Gecko and Blink has the behavior that the following code shows "normal" rather than "400":
<!DOCTYPE HTML>
<style>
@font-face { font-weight: normal; }
</style>
<script>
alert(document.styleSheets[0].cssRules[0].style.getPropertyValue('font-weight'));
</script>

Stylo should do the same.
Priority: -- → P2
Assignee: nobody → ferjmoreno
Pushed by kwierso@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/86c6f3f99f48
Update stylo expectation data a=bustage
https://hg.mozilla.org/mozilla-central/rev/86c6f3f99f48
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.