mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-17 00:23:00 +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.
30 lines
916 B
Text
30 lines
916 B
Text
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
|