Skip to content

Commit

Permalink
Update css test for Safari to work in more cases
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Jun 10, 2021
1 parent 147c91f commit 217eaae
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions ts/output/chtml/Wrappers/TextNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,8 @@ CommonTextNodeMixin<CHTMLConstructor<any, any, any>>(CHTMLWrapper) {
// WebKit-specific CSS to handle bug with clipped characters.
// (test found at https://browserstrangeness.bitbucket.io/css_hacks.html#safari)
//
'@supports (-webkit-marquee-repetition:infinite) and (object-fit:fill)': {
//
// We don't really support nested CSS, so fake it byt putting the CSS
// directly in the string, and commenting out the colon that is
// inserted after the selector (that would normally be a CSS property name)
// See issue #2435.
//
'mjx-c::before/*': '*/ {will-change: opacity}'
'_::-webkit-full-page-media, _:future, :root mjx-container': {
'will-change': 'opacity'
}
};

Expand Down

0 comments on commit 217eaae

Please sign in to comment.