Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRemove force_relayout calls from HTMLInputElement attribute handler methods #3959
Comments
|
Hi, I will like to start with this one. Do I need to |
|
This use of force_relayout is actually needed to refresh the display of the text input. All of the other uses are redundant, as far as I can tell at least. |
|
If there's only one reference left after removing the other ones, then we can just inline it and remove the function. |
|
For what it's worth, I'm also using the method in PR #4133 so that input text boxes get updated after being reset or changed by javascript. |
|
Hi, |
|
@ienzam Still planning to work on this? |
|
I am extremely sorry for not following up. |
|
Hi jdm, created the patch again. |
Given that Element::after_set_attr and Element::before_remove_attr call Element::notify_content_changed, I believe that force_layout is extraneous and should be removed.