support scientific (exponential) notation in CSS properties

RESOLVED FIXED in mozilla29

Status

()

defect
RESOLVED FIXED
5 years ago
3 years ago

People

(Reporter: dbaron, Assigned: dbaron)

Tracking

(Depends on 1 bug, {dev-doc-complete})

Trunk
mozilla29
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

The CSS Working Group agreed to support scientific notation in CSS properties (not just SVG attributes).
Comment on attachment 8366324 [details] [diff] [review]
Support scientific (exponential) notation for CSS <number> values, including percentages and dimensions (but not <integer> values).

Review of attachment 8366324 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me.
Attachment #8366324 - Flags: review?(cam) → review+
fantasai thinks I should keep the value lists for widows and orphans the same, and also have tests for e notation on things with a .
https://hg.mozilla.org/mozilla-central/rev/56aaeebb639f
https://hg.mozilla.org/mozilla-central/rev/ce3bd1ad8565
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Duplicate of this bug: 968664

Updated

5 years ago
Flags: in-testsuite?
Flags: in-testsuite? → in-testsuite+
Doc up-to-date:
https://developer.mozilla.org/en-US/Firefox/Releases/29#CSS
and
https://developer.mozilla.org/en-US/docs/Web/CSS/number
(All other valid cases says that it is a <number> followed by a given unit.

Also I added an example about the scientific notation not being valid in 
https://developer.mozilla.org/en-US/docs/Web/CSS/integer
You need to log in before you can comment on or make changes to this bug.