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

RESOLVED FIXED in Firefox 56

Status

()

Core
CSS Parsing and Computation
P2
normal
RESOLVED FIXED
4 months ago
a month ago

People

(Reporter: xidorn, Assigned: ferjm)

Tracking

(Blocks: 2 bugs)

53 Branch
mozilla56
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox56 fixed)

Details

(Reporter)

Description

4 months ago
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)

Updated

2 months ago
Assignee: nobody → ferjmoreno
(Assignee)

Comment 1

a month ago
https://github.com/servo/servo/pull/17343

Comment 2

a month ago
Pushed by kwierso@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/86c6f3f99f48
Update stylo expectation data a=bustage

Comment 3

a month ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/86c6f3f99f48
Status: NEW → RESOLVED
Last Resolved: a month ago
status-firefox56: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.