[Webkit-unassigned] [Bug 129034] New: isContentEditable shouldn't trigger synchronous style recalc in most cases
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 19 01:13:35 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=129034
Summary: isContentEditable shouldn't trigger synchronous style
recalc in most cases
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: mjs at apple.com, darin at apple.com, sam at webkit.org,
koivisto at iki.fi, barraclough at apple.com
Blocks: 127832
Right now isContentEditable and related functions forces style recalc just to check
the computed value of -wekbit-user-modify but we shouldn't have to on most documents
as -webkit-user-modify CSS property is almost never used in practice.
On documents that don't use -webkit-user-modify, we should be able to simply traverse up
the DOM tree and find the first node with contenteditable content attribute.
We could even have some flag on Node if we wanted to make it super fast.
--
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