Page MenuHomePhorge

Remove vendor-prefixed background-clip CSS syntax
ClosedPublic

Authored by aklapper on Thu, Apr 24, 16:57.
Tags
None
Referenced Files
F3776888: D25970.1745864054.diff
Sun, Apr 27, 18:14
F3769550: D25970.1745852329.diff
Sun, Apr 27, 14:58
F3766684: D25970.1745846442.diff
Sun, Apr 27, 13:20
F3754720: D25970.1745823471.diff
Sun, Apr 27, 06:57
F3748775: D25970.1745782966.diff
Sat, Apr 26, 19:42
F3733754: D25970.1745750630.diff
Sat, Apr 26, 10:43
F3733695: D25970.1745749189.diff
Sat, Apr 26, 10:19
F3729278: D25970.1745729094.diff
Sat, Apr 26, 04:44

Details

Summary

-moz-background-clip: padding syntax was only supported until Firefox 3.6 according to https://web.archive.org/web/20130827100732/https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip. Firefox 4.0 released 03/2011 supports standard background-clip: padding-box.

The same docs also imply that -webkit-background-clip: padding-box currently used by Phorge was never supported by browsers. Per https://caniuse.com/mdn-css_properties_background-clip_padding-box, Chrome 4 released 10/2010 supports standard background-clip: padding-box.

Compare current webroot/rsrc/css/phui/phui-image-mask.css which does not have this old vendor-prefixed syntax.

Test Plan
  • Open the Conpherence top bar dropdown, select "Persistent Chat", see that its .jx-scrollbar-handle based scrollbar still works as expected.
  • Read CSS docs. Probably install ancient browser versions if you don't trust documentation. Try https://jigsaw.w3.org/css-validator/ and don't spot issues.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable