Skip to content

Commit 217eaae

Browse files
committed
Update css test for Safari to work in more cases
1 parent 147c91f commit 217eaae

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

ts/output/chtml/Wrappers/TextNode.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,8 @@ CommonTextNodeMixin<CHTMLConstructor<any, any, any>>(CHTMLWrapper) {
6363
// WebKit-specific CSS to handle bug with clipped characters.
6464
// (test found at https://browserstrangeness.bitbucket.io/css_hacks.html#safari)
6565
//
66-
'@supports (-webkit-marquee-repetition:infinite) and (object-fit:fill)': {
67-
//
68-
// We don't really support nested CSS, so fake it byt putting the CSS
69-
// directly in the string, and commenting out the colon that is
70-
// inserted after the selector (that would normally be a CSS property name)
71-
// See issue #2435.
72-
//
73-
'mjx-c::before/*': '*/ {will-change: opacity}'
66+
'_::-webkit-full-page-media, _:future, :root mjx-container': {
67+
'will-change': 'opacity'
7468
}
7569
};
7670

0 commit comments

Comments
 (0)