[Webkit-unassigned] [Bug 91912] Adding "all" to -webkit-user-select

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 17 15:02:22 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=91912





--- Comment #47 from Ryosuke Niwa <rniwa at webkit.org>  2012-08-17 15:02:54 PST ---
I must say I don't really like the output of assertSelectionAt. It's quite incomprehensible. I would add a new function that works & creates output like below if I were you:

code:
selectionShouldBe("[elementWithUserSelectAll.parentNode, elementWithUserSelectAll.nodeIndex, elementWithUserSelectAll.parentNode, elementWithUserSelectAll.nodeIndex + 1]");

output:
PASS selection was [elementWithUserSelectAll.parentNode, elementWithUserSelectAll.nodeIndex, elementWithUserSelectAll.parentNode, elementWithUserSelectAll.nodeIndex + 1]

You can then do things like:
selectionShouldBe("selectionAround(elementWithUserSelectAll)");

that outputs:
PASS selection was selectionAround(elementWithUserSelectAll)

-- 
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