Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7101] MobileWeb: CSS rule manager

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-05-01T22:25:43.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelslinvalid
ReporterChris Barber
AssigneeChris Barber
Created2012-01-11T12:09:38.000+0000
Updated2018-04-04T23:20:40.000+0000

Description

Setting styles on many DOM nodes can be a huge performance issue and cause multiple reflows. The browser is capable of optimizing the number of style changes per reflow by applying a CSS rule that contains several style settings. A CSS rule manager would create multiple rules and apply them based on common style changes. For example, if ever DOM node is set to a specific font and color, it is more efficient for a CSS rule manager to create a rule, then add the rule to each node. We may need to break up rules into categories (background, font, size, pointer events, transitions, etc). Since the style properties will vary, perhaps a hash of the properties and their values can be used to speed up creation and applying of rules.

Comments

  1. Lee Morris 2017-05-01

    Closing ticket as "Won't Fix" as MobileWeb is no longer supported.
  2. Eric Merriman 2018-04-04

    Closing as will not fix.

JSON Source