Bug 180931 - [WPE][GTK] Issues with selection direction "none"
Summary: [WPE][GTK] Issues with selection direction "none"
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-18 08:39 PST by Ms2ger (he/him; ⌚ UTC+1/+2)
Modified: 2017-12-18 08:39 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ms2ger (he/him; ⌚ UTC+1/+2) 2017-12-18 08:39:48 PST
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#selection-direction

GTK/WPE don't support the "none" value due to the following code in Source/WebCore/editing/EditingBehavior.h:

    bool shouldConsiderSelectionAsDirectional() const { return m_type != EditingMacBehavior && m_type != EditingIOSBehavior; }

However, it still claims that the direction is "none" in a variety of cases, such as when it's not being rendered.

This seems odd. (And it causes test failures.)