Closed Bug 1867128 Opened 10 months ago Closed 10 months ago

SVG don't parse correctly vh units

Categories

(Core :: SVG, defect)

Firefox 115
defect

Tracking

()

RESOLVED DUPLICATE of bug 1287054

People

(Reporter: yotha, Unassigned)

Details

Steps to reproduce:

Load the following web page
<!DOCTYPE html>
<svg width="100" height="100" y="100vh">
<rect x="5" y="5" width="50" height="50" fill="blue"/>
</svg>

Actual results:

Console logs:
"Unexpected value 100vh parsing y attribute"

Expected results:

vh units should be parsed by firefox, as they should be aligned with css length units.

The Bugbug bot thinks this bug should belong to the 'Core::SVG' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → SVG
Product: Firefox → Core

I don't see any warning. What version of Firefox are you using?

Flags: needinfo?(yotha)

vh units require Firefox 119.

Status: UNCONFIRMED → RESOLVED
Closed: 10 months ago
Duplicate of bug: 1287054
Flags: needinfo?(yotha)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.