[Webkit-unassigned] [Bug 182560] Web Inspector: Styles: text caret disappears after pressing arrow down for certain numeric values
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 7 15:36:14 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=182560
--- Comment #2 from Nikita Vasilyev <nvasilyev at apple.com> ---
Removing these lines fixes the bug:
// This check is for the situation when the cursor is in the space between the
// opening quote of the attribute and the first character. In that spot, the
// commonAncestorContainer is actually the entire attribute node since `="` is
// added as a simple text node. Since the opening quote is immediately before
// the attribute, the node for that attribute must be the next sibling and the
// text of the attribute's value must be the first child of that sibling.
if (container.parentNode.classList.contains("editing") && container.nextSibling) {
container = container.nextSibling.firstChild;
startOffset = 0;
}
However, these lines were added in 2015 to fix Bug 149257 - Web Inspector: Option-Up doesn't increment certain attribute values.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180207/b7bf1c4f/attachment.html>
More information about the webkit-unassigned
mailing list