mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Previously, we always cast to a HTMLInputElement when getting the value of an auto directionality form associated element. This caused undefined behavior when determining the directionality of an element that wasn't a HTMLInputElement.
31 lines
916 B
Plaintext
31 lines
916 B
Plaintext
Testing input element with type=text
|
|
Input matches :dir(ltr): true
|
|
Input matches :dir(rtl): false
|
|
Input matches :dir(ltr): true
|
|
Input matches :dir(rtl): false
|
|
Input matches :dir(ltr): false
|
|
Input matches :dir(rtl): true
|
|
Input matches :dir(ltr): true
|
|
Input matches :dir(rtl): false
|
|
Input matches :dir(ltr): false
|
|
Input matches :dir(rtl): true
|
|
Input matches :dir(ltr): true
|
|
Input matches :dir(rtl): false
|
|
Input matches :dir(ltr): true
|
|
Input matches :dir(rtl): false
|
|
Testing textarea element
|
|
Input matches :dir(ltr): true
|
|
Input matches :dir(rtl): false
|
|
Input matches :dir(ltr): true
|
|
Input matches :dir(rtl): false
|
|
Input matches :dir(ltr): false
|
|
Input matches :dir(rtl): true
|
|
Input matches :dir(ltr): true
|
|
Input matches :dir(rtl): false
|
|
Input matches :dir(ltr): false
|
|
Input matches :dir(rtl): true
|
|
Input matches :dir(ltr): true
|
|
Input matches :dir(rtl): false
|
|
Input matches :dir(ltr): true
|
|
Input matches :dir(rtl): false
|