Inconsistent default unit for computed value of -moz-image-region.

NEW
Unassigned

Status

()

Core
DOM: CSS Object Model
9 years ago
8 years ago

People

(Reporter: Biju, Unassigned)

Tracking

({testcase})

Trunk
x86
Windows XP
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

551 bytes, text/html
Details
(Reporter)

Description

9 years ago
Created attachment 371572 [details]
pt_px.html

Inconsistent default unit for computed value of -moz-image-region.

style="-moz-image-region: rect(0, 4, 4px, 0px);" is converted as 
style="-moz-image-region: rect(0pt, 4px, 4px, 0px);"

Steps:-
1. open attached pt_px.html
both box should show same content, 
ie first value in rect should be "0px" instead of "0pt"
The 0pt is irrelevant, when there's an actual value there it defaults to px.
QA Contact: general → style-system
You need to log in before you can comment on or make changes to this bug.