Closed Bug 964529 Opened 10 years ago Closed 10 years ago

support scientific (exponential) notation in CSS properties

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: dbaron, Assigned: dbaron)

References

(Depends on 1 open bug, Regressed 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

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
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
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
Regressions: 1857395
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: