Skip to main content

Search and Top Navigation

#11053 closed feature (fixed)

Opened February 09, 2015 03:44PM UTC

Closed March 15, 2016 02:12PM UTC

Investigate performance of querying text direction per widget

Reported by: scottgonzalez Owned by:
Priority: minor Milestone: git
Component: [meta] ui.dev Version: 1.11.2
Keywords: Cc:
Blocked by: Blocking:
Description

We want to support RTL configuration per widget, so we should investigate the performance cost of determining the direction on creation. We should check the performance of using .closest( "[dir]" ) and manually walking up the DOM using parentNode and checking for a non-empty dir property.

Attachments (0)
Change History (2)

Changed September 08, 2015 01:14PM UTC by scottgonzalez comment:1

#14477 is a duplicate of this ticket.

Changed March 15, 2016 02:12PM UTC by scottgonzalez comment:2

milestone: nonegit
resolution: → fixed
status: newclosed

We don't need to query the DOM like this, we can just use .css( "direction" ).