pdf.js/test/integration
Calixte Denizet 6f4d037a8e [JS] Correctly format field with numbers (bug 1811694, bug 1811510)
In PR #15757, a value is automatically converted into a number when it's possible
but the case of numbers like "000123" has been overlooked and their format must
be preserved.
When a script is doing something like "foo.value + bar.value" and the values are
numbers then "foo.value" must return a number but the displayed value must be what
the user entered or what a script set, so this patch is just adding a a field
_orginalValue in order to track the value has it has defined.
Some people are used to use a comma as decimal separator, hence it must be considered
when a value is parsed into a number.
This patch is fixing a regression introduced by #15757.
2023-01-26 14:57:02 +01:00
..
accessibility_spec.js The annotation layer dimensions must be set before adding some elements (follow-up of #15770) 2022-12-13 14:54:45 +01:00
annotation_spec.js [Annotation] Replace use of id by data-element-id to have the correct id 2022-10-19 23:36:28 +02:00
find_spec.js XFA - Support text search in XFA documents. 2021-08-23 08:44:20 -07:00
freetext_editor_spec.js Take all the viewBox into account when computing the coordinates of an annotation in the page (fixes #15789) 2022-12-08 15:02:20 +01:00
ink_editor_spec.js [Editor] Avoid to slightly move ink editor when undoing/redoing 2022-07-29 16:53:03 +02:00
scripting_spec.js [JS] Correctly format field with numbers (bug 1811694, bug 1811510) 2023-01-26 14:57:02 +01:00
test_utils.js [Editor] Add a very basic and incomplete workaround for issue #15780 2022-12-06 16:22:24 +01:00