@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Work around rendering engine freeze in Chrome 77 affecting workboards

Summary:
Ref T13413. In Chrome 77, workboard cards with titles that must break in the middle of words cause the browser to completely lock up.

Work around the major known instance of this by overriding the "break-word" behavior. This gives us worse rendering for tasks with very long "words" in their titles (they are truncated instead of broken) but fixes the freezing.

Once Chrome is fixed, this can be reverted.

Test Plan:
- Created a task named "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM" on a workboard.
- Loaded the board in Chrome 77.
- Before: entire page locks up.
- After: smooth sailing, except the "MMMMMM..." is truncated.

Maniphest Tasks: T13413

Differential Revision: https://secure.phabricator.com/D20812

+6 -2
+2 -2
resources/celerity/map.php
··· 179 179 'rsrc/css/phui/phui-two-column-view.css' => '01e6991e', 180 180 'rsrc/css/phui/workboards/phui-workboard-color.css' => 'e86de308', 181 181 'rsrc/css/phui/workboards/phui-workboard.css' => '74fc9d98', 182 - 'rsrc/css/phui/workboards/phui-workcard.css' => '9e9eb0df', 182 + 'rsrc/css/phui/workboards/phui-workcard.css' => '913441b6', 183 183 'rsrc/css/phui/workboards/phui-workpanel.css' => '3ae89b20', 184 184 'rsrc/css/sprite-login.css' => '18b368a6', 185 185 'rsrc/css/sprite-tokens.css' => 'f1896dc5', ··· 876 876 'phui-two-column-view-css' => '01e6991e', 877 877 'phui-workboard-color-css' => 'e86de308', 878 878 'phui-workboard-view-css' => '74fc9d98', 879 - 'phui-workcard-view-css' => '9e9eb0df', 879 + 'phui-workcard-view-css' => '913441b6', 880 880 'phui-workpanel-view-css' => '3ae89b20', 881 881 'phuix-action-list-view' => 'c68f183f', 882 882 'phuix-action-view' => 'aaa08f3b',
+4
webroot/rsrc/css/phui/workboards/phui-workcard.css
··· 36 36 37 37 .phui-workcard .phui-oi-link { 38 38 white-space: normal; 39 + 40 + /* See T13413. This works around a Chrome 77 rendering engine freeze. */ 41 + word-wrap: normal; 42 + 39 43 font-weight: normal; 40 44 color: {$blacktext}; 41 45 margin-left: 2px;