Closed Bug 964529 Opened 7 years ago Closed 7 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)

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: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Keywords: dev-doc-needed
Duplicate of this bug: 968664
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
Depends on: 1249755
You need to log in before you can comment on or make changes to this bug.