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

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
P2
normal
2 months ago
2 months ago

People

(Reporter: xidorn, Unassigned)

Tracking

(Blocks: 2 bugs)

53 Branch
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 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
You need to log in before you can comment on or make changes to this bug.