WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 39989
37197
Crash with -webkit-user-select and contenteditables
https://bugs.webkit.org/show_bug.cgi?id=37197
Summary
Crash with -webkit-user-select and contenteditables
Kalle Vahlman
Reported
2010-04-07 03:10:34 PDT
Created
attachment 52721
[details]
A QtWebKit test program for the crash Using this snippet of CSS as the user CSS: * { -webkit-user-select: none !important; } *[contenteditable], *[contenteditable=true] { -webkit-user-select: text !important; } and the rich text tests of browserscope at
http://www.browserscope.org/richtext/test
makes WebKit crash with a backtrace like #0 0xb6d98c39 in WebCore::ApplyStyleCommand::splitTextElementAtEndIfNeeded(WebCore::Position const&, WebCore::Position const&) () from WebKitBuild/Release/lib/libQtWebKit.so.4 #1 0xb6da1aa8 in WebCore::ApplyStyleCommand::applyInlineStyle(WebCore::CSSMutableStyleDeclaration*) () from WebKitBuild/Release/lib/libQtWebKit.so.4 #2 0xb6da36c3 in WebCore::ApplyStyleCommand::doApply() () from WebKitBuild/Release/lib/libQtWebKit.so.4 #3 0xb6dba7e2 in WebCore::EditCommand::apply() () from WebKitBuild/Release/lib/libQtWebKit.so.4 #4 0xb6dbd2df in WebCore::Editor::applyStyle(WebCore::CSSStyleDeclaration*, WebCore::EditAction) () from WebKitBuild/Release/lib/libQtWebKit.so.4 #5 0xb6dc70d4 in WebCore::applyCommandToFrame(WebCore::Frame*, WebCore::EditorCommandSource, WebCore::EditAction, WebCore::CSSMutableStyleDeclaration*) () from WebKitBuild/Release/lib/libQtWebKit.so.4 #6 0xb6dc9735 in WebCore::executeApplyStyle(WebCore::Frame*, WebCore::EditorCommandSource, WebCore::EditAction, int, WebCore::String const&) () from WebKitBuild/Release/lib/libQtWebKit.so.4 #7 0xb6dc6fbe in WebCore::Editor::Command::execute(WebCore::String const&, WebCore::Event*) const () from WebKitBuild/Release/lib/libQtWebKit.so.4 #8 0xb6d2e7f9 in WebCore::Document::execCommand(WebCore::String const&, bool, WebCore::String const&) () from WebKitBuild/Release/lib/libQtWebKit.so.4 #9 0xb68c1a58 in WebCore::jsDocumentPrototypeFunctionExecCommand(JSC::ExecState*, JSC::JSObject*, JSC::JSValue, JSC::ArgList const&) ()
Attachments
A QtWebKit test program for the crash
(551 bytes, text/x-c++src)
2010-04-07 03:10 PDT
,
Kalle Vahlman
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2010-06-02 11:33:20 PDT
Can this be reproduced in a browser? See also:
bug 39989
.
Kalle Vahlman
Comment 2
2010-06-06 05:51:27 PDT
(In reply to
comment #1
)
> Can this be reproduced in a browser?
Yes, for example Google Chrome 6.0.414.0 (48010) on Ubuntu exhibits this crash after pasting the snippet to $profile/User StyleSheets/Custom.css
> See also:
bug 39989
.
Judging from the description and backtrace, these bugs are quite likely the same. Although this bug is older, I'll mark this as dupe of
bug 39989
since it has a better testcase. *** This bug has been marked as a duplicate of
bug 39989
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug