[Webkit-unassigned] [Bug 46382] New: queryCommandState returns true even when in the mixed state
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 23 11:57:51 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=46382
Summary: queryCommandState returns true even when in the mixed
state
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Keywords: EasyFix
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: darin at apple.com, tony at chromium.org,
jparent at google.com, ojan at chromium.org,
tonikitoo at webkit.org, enrica at apple.com
queryCommandState shouldn't return true when the state is in the mixed tri state to be consistent with other browsers.
In particular,
bool Document::queryCommandState(const String& commandName)
{
return command(this, commandName).state() != FalseTriState;
}
should be
bool Document::queryCommandState(const String& commandName)
{
return command(this, commandName).state() == TrueTriState;
}
instead.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list