mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02: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
|