Changeset 256764 in webkit
- Timestamp:
- Feb 17, 2020 1:13:03 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r256763 r256764 1 2020-02-17 Pinki Gyanchandani <pgyanchandani@apple.com> 2 3 Null Ptr Deref @ WebCore::Node::Treescope 4 https://bugs.webkit.org/show_bug.cgi?id=207748 5 6 Reviewed by Darin Adler. 7 8 Added a regression test provided by Ryosuke Niwa to verify the fix. 9 10 * editing/selection/ignore-selection-range-on-input-style-change-expected.txt: Added. 11 * editing/selection/ignore-selection-range-on-input-style-change.html: Added. 12 1 13 2020-02-17 Zalan Bujtas <zalan@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r256762 r256764 1 2020-02-17 Pinki Gyanchandani <pgyanchandani@apple.com> 2 3 Null Ptr Deref @ WebCore::Node::Treescope 4 https://bugs.webkit.org/show_bug.cgi?id=207748 5 6 Reviewed by Darin Adler. 7 8 Added a check for isTextField after updateLayoutIgnorePendingStylesheets as that could cause modification of input element type. 9 10 Test: editing/selection/ignore-selection-range-on-input-style-change.html 11 12 * html/HTMLTextFormControlElement.cpp: 13 (WebCore::HTMLTextFormControlElement::setSelectionRange): 14 1 15 2020-02-17 Youenn Fablet <youenn@apple.com> 2 16 -
trunk/Source/WebCore/html/HTMLTextFormControlElement.cpp
r256563 r256764 304 304 // FIXME: Removing this synchronous layout requires fixing setSelectionWithoutUpdatingAppearance not needing up-to-date style. 305 305 document().updateLayoutIgnorePendingStylesheets(); 306 307 if (!isTextField()) 308 return; 306 309 307 310 // Double-check the state of innerTextElement after the layout.
Note: See TracChangeset
for help on using the changeset viewer.