gecko-dev/layout/forms/crashtests
Daniel Holbert d6f406d8ba Bug 1873802: Make nsRangeFrame place the thumb at the minimum position if it happens to get reflowed before its element is done being created. r=emilio
Some context:
- Our HTML parser treats element creation, attribute-parsing, and
  "DoneCreatingElement"-calls as being separate operations, and it can yield
  between them.
- HTMLInputElement doesn't sanitize its values until DoneCreatingElement has
  been called, presumably sanitization itself depends on values (e.g. min/max)
  that might not have been parsed yet.
- So if the HTML parser yields at just the right point (before
  DoneCreatingElement), then we might generate and reflow a nsRangeFrame whose
  underlying values (on the element) haven't yet been sanitized.

This patch handles this situation by exposing a getter to tell us whether
DoneCreatingElement has been called.  If that getter returns false, we assume
that value-sanitization hasn't happened, and we disregard the element's
(presumed-to-be-unsanitized) numeric values when determining the
range's thumb-position.

Differential Revision: https://phabricator.services.mozilla.com/D198331
2024-01-16 17:38:30 +00:00
..
166750-1.html
200347-1.html
203041-1.html
213390-1.html
258101-1.html
266225-1.html
310426-1.xhtml
310520-1.xhtml
315752-1.xhtml
317502-1.xhtml
321894.html
343510-1.html
363696-1.xhtml
363696-2.html
363696-3.html
366205-1.html
366537-1.xhtml
367587-1.html
370703-1.html
370940-1.html
370967.html
378369.html
380116-1.xhtml
382610-1.html
383887-1.html
386554-1.html
388374-1.xhtml
388374-2.html
393656-1.xhtml
393656-2.xhtml
399262.html
402852-1.html
403148-1.html
404118-1.html
404123-1.html
407066.html
451316.html
455451-1.html
457537-1.html
457537-2.html
498698-1.html
513113-1.html
538062-1.xhtml
570624-1.html
578604-1.html
590302-1.xhtml
626014.xhtml
639733.xhtml
669767.html
682684-binding.xml
682684.xhtml
865602.html
893331.html
893332-1.html
944198.html
949891.xhtml
959311.html
960277-2.html
997709-1.html
1102791.html
1140216.html
1182414.html
1212688.html
1228670.xhtml
1279354.html
1388230-1.html
1388230-2.html
1405830.html
1418477.html
1432853.html
1460787-1.html
1464165-1.html
1471157.html
1488219.html
1600207.html
1600367.html
1617753.html
1679471.html
1690166-1.html
1690166-2.html
1873802-1.html Bug 1873802: Make nsRangeFrame place the thumb at the minimum position if it happens to get reflowed before its element is done being created. r=emilio 2024-01-16 17:38:30 +00:00
crashtests.list Bug 1873802: Make nsRangeFrame place the thumb at the minimum position if it happens to get reflowed before its element is done being created. r=emilio 2024-01-16 17:38:30 +00:00