mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
LibWeb+LibGfx: Apply editorial punctuation/whitespace/markup fixes
Corresponds tod426109ea1andfd08f81d06
This commit is contained in:
committed by
Shannon Booth
parent
a35d14eab3
commit
423cdd447d
Notes:
github-actions[bot]
2025-06-24 15:13:34 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/423cdd447d3 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5194 Reviewed-by: https://github.com/shannonbooth ✅
@@ -110,10 +110,10 @@ i32 HTMLTextAreaElement::default_tab_index_value() const
|
||||
// https://html.spec.whatwg.org/multipage/form-elements.html#the-textarea-element:concept-form-reset-control
|
||||
void HTMLTextAreaElement::reset_algorithm()
|
||||
{
|
||||
// The reset algorithm for textarea elements is to set the user validity to false, dirty value flag back to false,
|
||||
// The reset algorithm for textarea elements is to set the user validity to false, the dirty value flag back to false,
|
||||
m_user_validity = false;
|
||||
m_dirty_value = false;
|
||||
// and set the raw value of element to its child text content.
|
||||
// and the raw value to its child text content.
|
||||
set_raw_value(child_text_content());
|
||||
|
||||
if (m_text_node) {
|
||||
|
||||
Reference in New Issue
Block a user