This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
fast
/
dom
/
focus-style-resolution-expe...
3 lines
49 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
Avoid style resolution when clearing focused element. https://bugs.webkit.org/show_bug.cgi?id=176224 <rdar://problem/34206409> Reviewed by Zalan Bujtas. Source/WebCore: Test: fast/dom/focus-style-resolution.html * dom/Document.cpp: (WebCore::Document::setFocusedElement): Don't do synchronous style resolution with FocusRemovalEventsMode::DoNotDispatch. Style resolution may dispatch events. * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::didBlur): Move resolveStyleIfNeeded call to setFocusedElement. It is the only client for didBlur. LayoutTests: * fast/dom/focus-style-resolution-expected.txt: Added. * fast/dom/focus-style-resolution.html: Added. Canonical link: https://commits.webkit.org/193489@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-09-18 18:23:22 +00:00
This test passes if it doesn't assert or crash.
Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) https://bugs.webkit.org/show_bug.cgi?id=217016 Reviewed by Zalan Bujtas. Done with this command: find LayoutTests -name '*-expected.txt' | grep -v imported | xargs awk '/^CONSOLE MESSAGE:/ { next }; /^<\?xml/ { nextfile }; { print FILENAME; nextfile }' | xargs perl -i -pe 's/ +$//g' This affects many files, and it's not helpful to clog the change log with a list of them. Canonical link: https://commits.webkit.org/229803@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-27 02:15:19 +00:00